@ojiepermana/angular 21.1.2 → 21.1.4
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/{brand/etos → etos}/README.md +2 -2
- package/etos/styles/layout.css +11 -0
- package/fesm2022/ojiepermana-angular-etos.mjs +273 -2
- package/fesm2022/ojiepermana-angular-etos.mjs.map +1 -1
- package/fesm2022/ojiepermana-angular-layout.mjs +2 -2
- package/fesm2022/ojiepermana-angular-layout.mjs.map +1 -1
- package/package.json +1 -7
- package/theme/styles/etos.css +1 -1
- package/types/ojiepermana-angular-etos.d.ts +73 -1
- package/brand/etos/package.json +0 -4
- package/brand/etos/styles/color.css +0 -21
- package/brand/etos/styles/index.css +0 -15
- package/brand/etos/styles/layout.css +0 -175
- package/brand/etos/styles/style.css +0 -51
- package/fesm2022/ojiepermana-angular-brand-etos.mjs +0 -285
- package/fesm2022/ojiepermana-angular-brand-etos.mjs.map +0 -1
- package/types/ojiepermana-angular-brand-etos.d.ts +0 -73
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ojiepermana-angular-brand-etos.mjs","sources":["../../../projects/angular/brand/etos/core/etos-brand.config.ts","../../../projects/angular/brand/etos/core/etos-brand.provider.ts","../../../projects/angular/brand/etos/layouts/etos-empty-layout.component.ts","../../../projects/angular/brand/etos/layouts/etos-horizontal-layout.component.ts","../../../projects/angular/brand/etos/layouts/etos-vertical-layout.component.ts","../../../projects/angular/brand/etos/layouts/etos-layout.component.ts","../../../projects/angular/brand/etos/public-api.ts","../../../projects/angular/brand/etos/ojiepermana-angular-brand-etos.ts"],"sourcesContent":["import type { MaterialLayoutConfig } from '@ojiepermana/angular/layout';\nimport type { MaterialThemeConfig } from '@ojiepermana/angular/theme';\n\nexport const ETOS_BRAND_NAME = 'etos';\n\nexport const ETOS_THEME_CONFIG = {\n mode: 'light',\n brand: ETOS_BRAND_NAME,\n} satisfies MaterialThemeConfig;\n\nexport const ETOS_LAYOUT_CONFIG = {\n mode: 'vertical',\n width: 'fixed',\n} satisfies MaterialLayoutConfig;\n","import {\n type EnvironmentProviders,\n type Provider,\n inject,\n makeEnvironmentProviders,\n provideEnvironmentInitializer,\n} from '@angular/core';\nimport { type MaterialLayoutConfig, provideMaterialLayout } from '@ojiepermana/angular/layout';\nimport { DEFAULT_NAVIGATION_ID, NavigationService, type NavigationItem } from '@ojiepermana/angular/navigation';\nimport {\n type MaterialThemeConfig,\n type MaterialThemeFeature,\n provideMaterialTheme,\n withMaterialDefaults,\n} from '@ojiepermana/angular/theme';\nimport { ETOS_BRAND_NAME, ETOS_LAYOUT_CONFIG, ETOS_THEME_CONFIG } from './etos-brand.config';\n\nexport interface EtosBrandOptions {\n readonly theme?: MaterialThemeConfig;\n readonly layout?: MaterialLayoutConfig;\n readonly navigation?: NavigationItem[];\n readonly navigationId?: string;\n readonly materialDefaults?: boolean;\n}\n\nexport function provideEtosTheme(\n config: MaterialThemeConfig = {},\n ...features: MaterialThemeFeature[]\n): EnvironmentProviders {\n return provideMaterialTheme(\n {\n ...ETOS_THEME_CONFIG,\n ...config,\n brand: ETOS_BRAND_NAME,\n 'theme-brand': ETOS_BRAND_NAME,\n },\n ...features,\n );\n}\n\nexport function provideEtosLayout(config: MaterialLayoutConfig = {}): EnvironmentProviders {\n return provideMaterialLayout({\n ...ETOS_LAYOUT_CONFIG,\n ...config,\n });\n}\n\nexport function provideEtosBrand(options: EtosBrandOptions = {}): EnvironmentProviders {\n const providers: Array<EnvironmentProviders | Provider> = [\n provideEtosTheme(options.theme, ...(options.materialDefaults === false ? [] : [withMaterialDefaults()])),\n provideEtosLayout(options.layout),\n ];\n\n const navigation = options.navigation;\n if (navigation) {\n providers.push(\n provideEnvironmentInitializer(() => {\n inject(NavigationService).registerItems(options.navigationId ?? DEFAULT_NAVIGATION_ID, navigation);\n }),\n );\n }\n\n return makeEnvironmentProviders(providers);\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\n\n@Component({\n selector: 'etos-empty-layout',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [RouterOutlet],\n host: {\n class: 'etos-layout-empty-host',\n 'data-brand-layout': 'etos-empty',\n },\n template: `\n <main class=\"etos-layout-empty-main\">\n <router-outlet />\n </main>\n `,\n})\nexport class EtosEmptyLayoutComponent {}\n","import { ChangeDetectionStrategy, Component, computed, inject, input } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\nimport { LayoutService } from '@ojiepermana/angular/layout';\nimport { TopbarComponent, type TopbarAppearance } from '@ojiepermana/angular/navigation';\n\n@Component({\n selector: 'etos-horizontal-layout',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [RouterOutlet, TopbarComponent],\n host: {\n '[class]': 'hostClasses()',\n '[attr.data-brand-layout]': 'brandLayout',\n '[attr.data-layout-width]': 'layoutWidth()',\n },\n template: `\n <div [class]=\"frameClasses()\">\n <ui-topbar\n class=\"etos-layout-topbar\"\n [appearance]=\"topbarAppearance()\"\n [ariaLabel]=\"ariaLabel()\"\n [style.border-bottom-width]=\"dividerBorderWidth()\">\n <div ui-topbar-start class=\"etos-layout-topbar-slot etos-layout-topbar-slot--start\">\n <ng-content select=\"[ui-layout-brand],[ui-topbar-start]\" />\n </div>\n <div ui-topbar-end class=\"etos-layout-topbar-slot etos-layout-topbar-slot--end\">\n <ng-content select=\"[ui-layout-profile],[ui-topbar-end]\" />\n </div>\n </ui-topbar>\n <main [class]=\"mainClasses()\">\n <router-outlet />\n </main>\n </div>\n `,\n})\nexport class EtosHorizontalLayoutComponent {\n private readonly layout = inject(LayoutService);\n\n readonly topbarAppearance = input<TopbarAppearance>('default');\n readonly ariaLabel = input<string>('Primary');\n\n protected readonly brandLayout = 'etos-horizontal';\n protected readonly layoutWidth = this.layout.width;\n protected readonly dividerBorderWidth = computed(() => 'var(--border-width)');\n\n protected readonly hostClasses = computed(() => {\n const classes = ['etos-layout-host', 'etos-layout-host--horizontal'];\n if (this.layoutWidth() === 'fixed') {\n classes.push('etos-layout-host--fixed');\n }\n return classes.join(' ');\n });\n\n protected readonly frameClasses = computed(() => {\n const classes = ['etos-layout-frame', 'etos-layout-frame--horizontal'];\n if (this.layoutWidth() === 'fixed') {\n classes.push('etos-layout-frame--fixed');\n }\n return classes.join(' ');\n });\n\n protected readonly mainClasses = computed(() => {\n const classes = ['etos-layout-main'];\n if (this.layoutWidth() === 'fixed') {\n classes.push('etos-layout-main--fixed');\n }\n return classes.join(' ');\n });\n}\n","import { ChangeDetectionStrategy, Component, computed, inject, input } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\nimport { LayoutService } from '@ojiepermana/angular/layout';\nimport { SidebarComponent, type SidebarAppearance, type SidebarPosition } from '@ojiepermana/angular/navigation';\n\n@Component({\n selector: 'etos-vertical-layout',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [RouterOutlet, SidebarComponent],\n host: {\n '[class]': 'hostClasses()',\n '[attr.data-brand-layout]': 'brandLayout',\n '[attr.data-layout-width]': 'layoutWidth()',\n },\n template: `\n <div [class]=\"frameClasses()\">\n <ui-sidebar\n class=\"etos-layout-sidebar\"\n [appearance]=\"sidebarAppearance()\"\n [position]=\"sidebarPosition()\"\n [ariaLabel]=\"ariaLabel()\"\n [style.border-left-width]=\"dividerBorderWidth()\"\n [style.border-right-width]=\"dividerBorderWidth()\" />\n <main [class]=\"mainClasses()\">\n <router-outlet />\n </main>\n </div>\n `,\n})\nexport class EtosVerticalLayoutComponent {\n private readonly layout = inject(LayoutService);\n\n readonly sidebarAppearance = input<SidebarAppearance>('default');\n readonly sidebarPosition = input<SidebarPosition>('left');\n readonly ariaLabel = input<string>('Primary');\n\n protected readonly brandLayout = 'etos-vertical';\n protected readonly layoutWidth = this.layout.width;\n protected readonly dividerBorderWidth = computed(() => 'var(--border-width)');\n\n protected readonly hostClasses = computed(() => {\n const classes = ['etos-layout-host', 'etos-layout-host--vertical'];\n if (this.layoutWidth() === 'fixed') {\n classes.push('etos-layout-host--fixed');\n }\n return classes.join(' ');\n });\n\n protected readonly frameClasses = computed(() => {\n const classes = ['etos-layout-frame', 'etos-layout-frame--vertical'];\n if (this.layoutWidth() === 'fixed') {\n classes.push('etos-layout-frame--fixed');\n }\n return classes.join(' ');\n });\n\n protected readonly mainClasses = computed(() => {\n const classes = ['etos-layout-main'];\n if (this.layoutWidth() === 'fixed') {\n classes.push('etos-layout-main--fixed');\n }\n return classes.join(' ');\n });\n}\n","import { ChangeDetectionStrategy, Component, inject, input } from '@angular/core';\nimport { LayoutService } from '@ojiepermana/angular/layout';\nimport { EtosHorizontalLayoutComponent } from './etos-horizontal-layout.component';\nimport { EtosVerticalLayoutComponent } from './etos-vertical-layout.component';\n\n@Component({\n selector: 'etos-layout',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [EtosHorizontalLayoutComponent, EtosVerticalLayoutComponent],\n host: {\n class: 'contents',\n },\n template: `\n @switch (layoutMode()) {\n @case ('horizontal') {\n <etos-horizontal-layout [ariaLabel]=\"ariaLabel()\">\n <ng-content select=\"[ui-layout-brand],[ui-topbar-start]\" />\n <ng-content select=\"[ui-layout-profile],[ui-topbar-end]\" />\n </etos-horizontal-layout>\n }\n @default {\n <etos-vertical-layout [ariaLabel]=\"ariaLabel()\" />\n }\n }\n `,\n})\nexport class EtosLayoutComponent {\n private readonly layout = inject(LayoutService);\n\n readonly ariaLabel = input<string>('Primary');\n\n protected readonly layoutMode = this.layout.mode;\n}\n","/*\n * Implementation surface for @ojiepermana/angular/etos\n *\n * Etos is a brand umbrella entrypoint. Etos-specific layout, theme,\n * navigation composition, and brand defaults live here while shared\n * primitives remain in @ojiepermana/angular/theme, /layout, and /navigation.\n */\n\nexport * from './core/etos-brand.config';\nexport * from './core/etos-brand.provider';\nexport * from './layouts/etos-empty-layout.component';\nexport * from './layouts/etos-horizontal-layout.component';\nexport * from './layouts/etos-layout.component';\nexport * from './layouts/etos-vertical-layout.component';\n\nexport const ETOS_BRAND_VERSION = '0.0.1';\n","/**\n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AA,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,UAAA,EAAA,WAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,UAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAdpB;;;;;;;;;;;;GAYT,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAhBS,6BAA6B,8GAAE,2BAA2B,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,CAAA,mBAAA,EAAA,iBAAA,EAAA,WAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAkBzD,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBArB/B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,aAAa;oBACvB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,6BAA6B,EAAE,2BAA2B,CAAC;AACrE,oBAAA,IAAI,EAAE;AACJ,wBAAA,KAAK,EAAE,UAAU;AAClB,qBAAA;AACD,oBAAA,QAAQ,EAAE;;;;;;;;;;;;AAYT,EAAA,CAAA;AACF,iBAAA;;;ACzBD;;;;;;AAMG;AASI,MAAM,kBAAkB,GAAG;;ACflC;;AAEG;;;;"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { EnvironmentProviders } from '@angular/core';
|
|
3
|
-
import { MaterialLayoutConfig } from '@ojiepermana/angular/layout';
|
|
4
|
-
import { NavigationItem, TopbarAppearance, SidebarAppearance, SidebarPosition } from '@ojiepermana/angular/navigation';
|
|
5
|
-
import { MaterialThemeConfig, MaterialThemeFeature } from '@ojiepermana/angular/theme';
|
|
6
|
-
|
|
7
|
-
declare const ETOS_BRAND_NAME = "etos";
|
|
8
|
-
declare const ETOS_THEME_CONFIG: {
|
|
9
|
-
mode: "light";
|
|
10
|
-
brand: "etos";
|
|
11
|
-
};
|
|
12
|
-
declare const ETOS_LAYOUT_CONFIG: {
|
|
13
|
-
mode: "vertical";
|
|
14
|
-
width: "fixed";
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
interface EtosBrandOptions {
|
|
18
|
-
readonly theme?: MaterialThemeConfig;
|
|
19
|
-
readonly layout?: MaterialLayoutConfig;
|
|
20
|
-
readonly navigation?: NavigationItem[];
|
|
21
|
-
readonly navigationId?: string;
|
|
22
|
-
readonly materialDefaults?: boolean;
|
|
23
|
-
}
|
|
24
|
-
declare function provideEtosTheme(config?: MaterialThemeConfig, ...features: MaterialThemeFeature[]): EnvironmentProviders;
|
|
25
|
-
declare function provideEtosLayout(config?: MaterialLayoutConfig): EnvironmentProviders;
|
|
26
|
-
declare function provideEtosBrand(options?: EtosBrandOptions): EnvironmentProviders;
|
|
27
|
-
|
|
28
|
-
declare class EtosEmptyLayoutComponent {
|
|
29
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EtosEmptyLayoutComponent, never>;
|
|
30
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EtosEmptyLayoutComponent, "etos-empty-layout", never, {}, {}, never, never, true, never>;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
declare class EtosHorizontalLayoutComponent {
|
|
34
|
-
private readonly layout;
|
|
35
|
-
readonly topbarAppearance: _angular_core.InputSignal<TopbarAppearance>;
|
|
36
|
-
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
37
|
-
protected readonly brandLayout = "etos-horizontal";
|
|
38
|
-
protected readonly layoutWidth: _angular_core.Signal<"fixed" | "full">;
|
|
39
|
-
protected readonly dividerBorderWidth: _angular_core.Signal<string>;
|
|
40
|
-
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
41
|
-
protected readonly frameClasses: _angular_core.Signal<string>;
|
|
42
|
-
protected readonly mainClasses: _angular_core.Signal<string>;
|
|
43
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EtosHorizontalLayoutComponent, never>;
|
|
44
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EtosHorizontalLayoutComponent, "etos-horizontal-layout", never, { "topbarAppearance": { "alias": "topbarAppearance"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["[ui-layout-brand],[ui-topbar-start]", "[ui-layout-profile],[ui-topbar-end]"], true, never>;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
declare class EtosLayoutComponent {
|
|
48
|
-
private readonly layout;
|
|
49
|
-
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
50
|
-
protected readonly layoutMode: _angular_core.Signal<"vertical" | "horizontal">;
|
|
51
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EtosLayoutComponent, never>;
|
|
52
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EtosLayoutComponent, "etos-layout", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["[ui-layout-brand],[ui-topbar-start]", "[ui-layout-profile],[ui-topbar-end]"], true, never>;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
declare class EtosVerticalLayoutComponent {
|
|
56
|
-
private readonly layout;
|
|
57
|
-
readonly sidebarAppearance: _angular_core.InputSignal<SidebarAppearance>;
|
|
58
|
-
readonly sidebarPosition: _angular_core.InputSignal<SidebarPosition>;
|
|
59
|
-
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
60
|
-
protected readonly brandLayout = "etos-vertical";
|
|
61
|
-
protected readonly layoutWidth: _angular_core.Signal<"fixed" | "full">;
|
|
62
|
-
protected readonly dividerBorderWidth: _angular_core.Signal<string>;
|
|
63
|
-
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
64
|
-
protected readonly frameClasses: _angular_core.Signal<string>;
|
|
65
|
-
protected readonly mainClasses: _angular_core.Signal<string>;
|
|
66
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EtosVerticalLayoutComponent, never>;
|
|
67
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EtosVerticalLayoutComponent, "etos-vertical-layout", never, { "sidebarAppearance": { "alias": "sidebarAppearance"; "required": false; "isSignal": true; }; "sidebarPosition": { "alias": "sidebarPosition"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
declare const ETOS_BRAND_VERSION = "0.0.1";
|
|
71
|
-
|
|
72
|
-
export { ETOS_BRAND_NAME, ETOS_BRAND_VERSION, ETOS_LAYOUT_CONFIG, ETOS_THEME_CONFIG, EtosEmptyLayoutComponent, EtosHorizontalLayoutComponent, EtosLayoutComponent, EtosVerticalLayoutComponent, provideEtosBrand, provideEtosLayout, provideEtosTheme };
|
|
73
|
-
export type { EtosBrandOptions };
|