barsa-navigator 2.3.32

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 ADDED
@@ -0,0 +1,63 @@
1
+ # BarsaNavigator
2
+
3
+ This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 20.0.0.
4
+
5
+ ## Code scaffolding
6
+
7
+ Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
8
+
9
+ ```bash
10
+ ng generate component component-name
11
+ ```
12
+
13
+ For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
14
+
15
+ ```bash
16
+ ng generate --help
17
+ ```
18
+
19
+ ## Building
20
+
21
+ To build the library, run:
22
+
23
+ ```bash
24
+ ng build BarsaNavigator
25
+ ```
26
+
27
+ This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
28
+
29
+ ### Publishing the Library
30
+
31
+ Once the project is built, you can publish your library by following these steps:
32
+
33
+ 1. Navigate to the `dist` directory:
34
+ ```bash
35
+ cd dist/barsa-navigator
36
+ ```
37
+
38
+ 2. Run the `npm publish` command to publish your library to the npm registry:
39
+ ```bash
40
+ npm publish
41
+ ```
42
+
43
+ ## Running unit tests
44
+
45
+ To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
46
+
47
+ ```bash
48
+ ng test
49
+ ```
50
+
51
+ ## Running end-to-end tests
52
+
53
+ For end-to-end (e2e) testing, run:
54
+
55
+ ```bash
56
+ ng e2e
57
+ ```
58
+
59
+ Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
60
+
61
+ ## Additional Resources
62
+
63
+ For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
@@ -0,0 +1,135 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Input, Component, inject, ComponentFactoryResolver, NO_ERRORS_SCHEMA, NgModule } from '@angular/core';
3
+ import * as i1 from 'barsa-novin-ray-core';
4
+ import { BaseComponent, ApplicationCtrlrService, BaseModule, DynamicComponentService, BarsaNovinRayCoreModule } from 'barsa-novin-ray-core';
5
+ import * as i2 from '@fundamental-ngx/core/list';
6
+ import * as i3 from '@angular/common';
7
+ import { CommonModule } from '@angular/common';
8
+ import { FundamentalNgxCoreModule } from '@fundamental-ngx/core';
9
+ import { FormsModule } from '@angular/forms';
10
+ import { DragDropModule } from '@angular/cdk/drag-drop';
11
+ import { PlatformMenuModule } from '@fundamental-ngx/platform';
12
+ import { NestedItemComponent, NestedLinkComponent, NestedListButtonDirective, NestedListComponent, NestedListContentDirective, NestedListExpandIconComponent, NestedListHeaderDirective, NestedListIconComponent, NestedListPopoverComponent, NestedListTitleDirective, PreparedNestedListComponent } from '@fundamental-ngx/cx/nested-list';
13
+ import { SideNavigationButtonDirective, SideNavigationComponent, SideNavigationMainComponent, SideNavigationUtilityDirective } from '@fundamental-ngx/cx/side-navigation';
14
+
15
+ class ApplicationMenuBodyUiComponent extends BaseComponent {
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ApplicationMenuBodyUiComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
17
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: ApplicationMenuBodyUiComponent, isStandalone: false, selector: "bn-application-menu-body-ui", inputs: { items: "items" }, usesInheritance: true, ngImport: i0, template: "<div\r\n fillEmptySpace\r\n class=\"list-system fixed tw-top-0 tw-left-0 tw-w-24 tw-text-white tw-p-2 tw-overflow-y-auto tw-overflow-x-hidden\"\r\n [attrRtl]=\"true\"\r\n>\r\n <ul fd-list [noBorder]=\"true\">\r\n @for(system of items;track system.id){\r\n <li\r\n fd-list-item\r\n class=\"!tw-h-12 tw-flex tw-justify-center tw-item-center\"\r\n [class.is-selected]=\"system.selected\"\r\n [interactive]=\"true\"\r\n >\r\n <!-- <span fd-list-title-text> {{ system.value.Name }}</span> -->\r\n <i fd-list-icon [glyph]=\"system.icon || 'product'\"></i>\r\n </li>\r\n }\r\n </ul>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";:host{background-color:transparent;display:block;--fdList_Item_Background_Color: transparent;--sapList_Hover_Background: var(--sapList_SelectionBackgroundColor);direction:ltr}.list-system{background-color:transparent;border-right:var(--sapList_BorderWidth) solid var(--fdList_Item_Border_Color);border-left:0}.list-system ul>li{display:flex;justify-content:center;align-items:center;min-width:5rem;min-height:3rem;color:var(--navigator-icon-color);cursor:pointer;margin-bottom:.5rem}.list-system ul>li>i{margin:0;font-size:1.5rem;padding:.75rem}.list-system ul>li>i:hover{color:var(--primary-color);background-color:var(--primary-color-bg-subtle);border-radius:.75rem}.list-system ul>li>i.active{color:#fff;background-color:var(--primary-color);border-radius:.75rem}.list-system ul>li.is-selected{border:var(--sapList_BorderWidth) solid var(--sapList_SelectionBorderColor)}.list-system::-webkit-scrollbar{width:6px;opacity:0;transition:opacity .3s ease-in-out}.list-system:hover::-webkit-scrollbar{opacity:1}.list-system::-webkit-scrollbar-thumb{background-color:#0000004d;border-radius:3px}.list-system::-webkit-scrollbar-track{background-color:transparent}.list-system[rtl=true]{border-left:var(--sapList_BorderWidth) solid var(--fdList_Item_Border_Color);border-right:0}\n"], dependencies: [{ kind: "directive", type: i1.AttrRtlDirective, selector: "[attrRtl]", inputs: ["attrRtl"] }, { kind: "directive", type: i1.FillEmptySpaceDirective, selector: "[fillEmptySpace]", inputs: ["containerDom", "decrement", "disable", "height", "dontUseTopBound", "setMinHeight"], outputs: ["heightChanged"], exportAs: ["fillEmptySpace"] }, { kind: "component", type: i2.ListComponent, selector: "[fd-list], [fdList]", inputs: ["dropdownMode", "multiInputMode", "mobileMode", "hasMessage", "noBorder", "navigationIndicator", "selection", "keyboardSupport", "byline", "subline", "unreadIndicator", "role", "settingsList", "settingsListFooter"], outputs: ["focusEscapeList"] }, { kind: "component", type: i2.ListItemComponent, selector: "[fdListItem] ,[fd-list-item]", inputs: ["selected", "noData", "action", "interactive", "growing", "counter", "active", "unread", "byline", "ariaRole", "id", "preventClick", "settingsListTpl"], outputs: ["keyDown"] }, { kind: "directive", type: i2.ListIconDirective, selector: "[fdListIcon], [fd-list-icon]", inputs: ["glyph", "glyphFont", "class", "role", "ariaHidden"] }] }); }
18
+ }
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ApplicationMenuBodyUiComponent, decorators: [{
20
+ type: Component,
21
+ args: [{ selector: 'bn-application-menu-body-ui', standalone: false, template: "<div\r\n fillEmptySpace\r\n class=\"list-system fixed tw-top-0 tw-left-0 tw-w-24 tw-text-white tw-p-2 tw-overflow-y-auto tw-overflow-x-hidden\"\r\n [attrRtl]=\"true\"\r\n>\r\n <ul fd-list [noBorder]=\"true\">\r\n @for(system of items;track system.id){\r\n <li\r\n fd-list-item\r\n class=\"!tw-h-12 tw-flex tw-justify-center tw-item-center\"\r\n [class.is-selected]=\"system.selected\"\r\n [interactive]=\"true\"\r\n >\r\n <!-- <span fd-list-title-text> {{ system.value.Name }}</span> -->\r\n <i fd-list-icon [glyph]=\"system.icon || 'product'\"></i>\r\n </li>\r\n }\r\n </ul>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";:host{background-color:transparent;display:block;--fdList_Item_Background_Color: transparent;--sapList_Hover_Background: var(--sapList_SelectionBackgroundColor);direction:ltr}.list-system{background-color:transparent;border-right:var(--sapList_BorderWidth) solid var(--fdList_Item_Border_Color);border-left:0}.list-system ul>li{display:flex;justify-content:center;align-items:center;min-width:5rem;min-height:3rem;color:var(--navigator-icon-color);cursor:pointer;margin-bottom:.5rem}.list-system ul>li>i{margin:0;font-size:1.5rem;padding:.75rem}.list-system ul>li>i:hover{color:var(--primary-color);background-color:var(--primary-color-bg-subtle);border-radius:.75rem}.list-system ul>li>i.active{color:#fff;background-color:var(--primary-color);border-radius:.75rem}.list-system ul>li.is-selected{border:var(--sapList_BorderWidth) solid var(--sapList_SelectionBorderColor)}.list-system::-webkit-scrollbar{width:6px;opacity:0;transition:opacity .3s ease-in-out}.list-system:hover::-webkit-scrollbar{opacity:1}.list-system::-webkit-scrollbar-thumb{background-color:#0000004d;border-radius:3px}.list-system::-webkit-scrollbar-track{background-color:transparent}.list-system[rtl=true]{border-left:var(--sapList_BorderWidth) solid var(--fdList_Item_Border_Color);border-right:0}\n"] }]
22
+ }], propDecorators: { items: [{
23
+ type: Input
24
+ }] } });
25
+
26
+ class ApplicationUiComponent extends BaseComponent {
27
+ constructor() {
28
+ super(...arguments);
29
+ this._applicationCtrlrService = inject(ApplicationCtrlrService);
30
+ }
31
+ ngOnInit() {
32
+ super.ngOnInit();
33
+ this.appMenuItems$ = this._applicationCtrlrService.appMenuItems$;
34
+ }
35
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ApplicationUiComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
36
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: ApplicationUiComponent, isStandalone: false, selector: "bn-application-ui", usesInheritance: true, ngImport: i0, template: "<bn-application-menu-body-ui [items]=\"(appMenuItems$ | async)!!\"></bn-application-menu-body-ui>\r\n<div class=\"main-wrapper\" fillEmptySpace>\r\n <div>\r\n </div>\r\n <div> \r\n <div class=\"\"></div>\r\n </div>\r\n</div>\r\n", styles: [":host{--primary-color: var(--sapBrandColor);--primary-color-bg-subtle: #dddbff;--background-color: #f4f7fb;--navigator-icon-color: var(--sapTextColor);--border-color: #e0e6eb;--body-color: #98a4ae;--background-color: var(--sapNeutralBackground);--text-color: var(--sapTextColor);--secondary-color: #16cdc7;--border-radius: 12px;display:flex;background-color:var(--sapShellColor)}:host>div{flex:1;background-color:var(--sapBackgroundColor);border-radius:1.5rem;border-bottom-left-radius:0;border-bottom-right-radius:0}\n"], dependencies: [{ kind: "directive", type: i1.FillEmptySpaceDirective, selector: "[fillEmptySpace]", inputs: ["containerDom", "decrement", "disable", "height", "dontUseTopBound", "setMinHeight"], outputs: ["heightChanged"], exportAs: ["fillEmptySpace"] }, { kind: "component", type: ApplicationMenuBodyUiComponent, selector: "bn-application-menu-body-ui", inputs: ["items"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }] }); }
37
+ }
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ApplicationUiComponent, decorators: [{
39
+ type: Component,
40
+ args: [{ selector: 'bn-application-ui', standalone: false, template: "<bn-application-menu-body-ui [items]=\"(appMenuItems$ | async)!!\"></bn-application-menu-body-ui>\r\n<div class=\"main-wrapper\" fillEmptySpace>\r\n <div>\r\n </div>\r\n <div> \r\n <div class=\"\"></div>\r\n </div>\r\n</div>\r\n", styles: [":host{--primary-color: var(--sapBrandColor);--primary-color-bg-subtle: #dddbff;--background-color: #f4f7fb;--navigator-icon-color: var(--sapTextColor);--border-color: #e0e6eb;--body-color: #98a4ae;--background-color: var(--sapNeutralBackground);--text-color: var(--sapTextColor);--secondary-color: #16cdc7;--border-radius: 12px;display:flex;background-color:var(--sapShellColor)}:host>div{flex:1;background-color:var(--sapBackgroundColor);border-radius:1.5rem;border-bottom-left-radius:0;border-bottom-right-radius:0}\n"] }]
41
+ }] });
42
+
43
+ const components = [ApplicationUiComponent, ApplicationMenuBodyUiComponent];
44
+ class BarsaNavigatorModule extends BaseModule {
45
+ /** Inserted by Angular inject() migration for backwards compatibility */
46
+ constructor() {
47
+ const dcm = inject(DynamicComponentService);
48
+ const componentFactoryResolver = inject(ComponentFactoryResolver);
49
+ super(dcm, componentFactoryResolver, 'BarsaNavigatorModule');
50
+ this.dynamicComponents = [...components];
51
+ this.dcm = dcm;
52
+ this.componentFactoryResolver = componentFactoryResolver;
53
+ }
54
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: BarsaNavigatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
55
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: BarsaNavigatorModule, declarations: [ApplicationUiComponent, ApplicationMenuBodyUiComponent], imports: [CommonModule,
56
+ BarsaNovinRayCoreModule,
57
+ FundamentalNgxCoreModule,
58
+ PlatformMenuModule,
59
+ FormsModule,
60
+ DragDropModule,
61
+ //
62
+ SideNavigationButtonDirective,
63
+ SideNavigationComponent,
64
+ SideNavigationMainComponent,
65
+ SideNavigationUtilityDirective,
66
+ NestedItemComponent,
67
+ NestedLinkComponent,
68
+ NestedListButtonDirective,
69
+ NestedListComponent,
70
+ NestedListContentDirective,
71
+ NestedListExpandIconComponent,
72
+ NestedListHeaderDirective,
73
+ NestedListIconComponent,
74
+ NestedListPopoverComponent,
75
+ NestedListTitleDirective,
76
+ PreparedNestedListComponent], exports: [ApplicationUiComponent, ApplicationMenuBodyUiComponent] }); }
77
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: BarsaNavigatorModule, imports: [CommonModule,
78
+ BarsaNovinRayCoreModule,
79
+ FundamentalNgxCoreModule,
80
+ PlatformMenuModule,
81
+ FormsModule,
82
+ DragDropModule,
83
+ SideNavigationComponent,
84
+ SideNavigationMainComponent,
85
+ NestedItemComponent,
86
+ NestedLinkComponent,
87
+ NestedListComponent,
88
+ NestedListExpandIconComponent,
89
+ NestedListIconComponent,
90
+ NestedListPopoverComponent,
91
+ PreparedNestedListComponent] }); }
92
+ }
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: BarsaNavigatorModule, decorators: [{
94
+ type: NgModule,
95
+ args: [{
96
+ declarations: [...components],
97
+ schemas: [NO_ERRORS_SCHEMA],
98
+ imports: [
99
+ CommonModule,
100
+ BarsaNovinRayCoreModule,
101
+ FundamentalNgxCoreModule,
102
+ PlatformMenuModule,
103
+ FormsModule,
104
+ DragDropModule,
105
+ //
106
+ SideNavigationButtonDirective,
107
+ SideNavigationComponent,
108
+ SideNavigationMainComponent,
109
+ SideNavigationUtilityDirective,
110
+ NestedItemComponent,
111
+ NestedLinkComponent,
112
+ NestedListButtonDirective,
113
+ NestedListComponent,
114
+ NestedListContentDirective,
115
+ NestedListExpandIconComponent,
116
+ NestedListHeaderDirective,
117
+ NestedListIconComponent,
118
+ NestedListPopoverComponent,
119
+ NestedListTitleDirective,
120
+ PreparedNestedListComponent
121
+ ],
122
+ exports: [...components]
123
+ }]
124
+ }], ctorParameters: () => [] });
125
+
126
+ /*
127
+ * Public API Surface of barsa-navigator
128
+ */
129
+
130
+ /**
131
+ * Generated bundle index. Do not edit.
132
+ */
133
+
134
+ export { ApplicationMenuBodyUiComponent, ApplicationUiComponent, BarsaNavigatorModule };
135
+ //# sourceMappingURL=barsa-navigator.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"barsa-navigator.mjs","sources":["../../../projects/barsa-navigator/src/lib/application-menu-body-ui/application-menu-body-ui.component.ts","../../../projects/barsa-navigator/src/lib/application-menu-body-ui/application-menu-body-ui.component.html","../../../projects/barsa-navigator/src/lib/application-ui/application-ui.component.ts","../../../projects/barsa-navigator/src/lib/application-ui/application-ui.component.html","../../../projects/barsa-navigator/src/lib/barsa-navigator.module.ts","../../../projects/barsa-navigator/src/public-api.ts","../../../projects/barsa-navigator/src/barsa-navigator.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\r\nimport { AppMenu, BaseComponent } from 'barsa-novin-ray-core';\r\n\r\n@Component({\r\n selector: 'bn-application-menu-body-ui',\r\n templateUrl: './application-menu-body-ui.component.html',\r\n styleUrl: './application-menu-body-ui.component.scss',\r\n standalone: false\r\n})\r\nexport class ApplicationMenuBodyUiComponent extends BaseComponent {\r\n @Input() items: AppMenu[];\r\n}\r\n","<div\r\n fillEmptySpace\r\n class=\"list-system fixed tw-top-0 tw-left-0 tw-w-24 tw-text-white tw-p-2 tw-overflow-y-auto tw-overflow-x-hidden\"\r\n [attrRtl]=\"true\"\r\n>\r\n <ul fd-list [noBorder]=\"true\">\r\n @for(system of items;track system.id){\r\n <li\r\n fd-list-item\r\n class=\"!tw-h-12 tw-flex tw-justify-center tw-item-center\"\r\n [class.is-selected]=\"system.selected\"\r\n [interactive]=\"true\"\r\n >\r\n <!-- <span fd-list-title-text> {{ system.value.Name }}</span> -->\r\n <i fd-list-icon [glyph]=\"system.icon || 'product'\"></i>\r\n </li>\r\n }\r\n </ul>\r\n</div>\r\n","import { Component, WritableSignal, signal, inject } from '@angular/core';\r\nimport { BaseComponent, BarsaApi, ApplicationCtrlrService, AppMenu } from 'barsa-novin-ray-core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'bn-application-ui',\r\n templateUrl: './application-ui.component.html',\r\n styleUrl: './application-ui.component.scss',\r\n standalone: false\r\n})\r\nexport class ApplicationUiComponent extends BaseComponent {\r\n appMenuItems$: Observable<AppMenu[]>;\r\n private _applicationCtrlrService = inject(ApplicationCtrlrService);\r\n ngOnInit(): void {\r\n super.ngOnInit();\r\n this.appMenuItems$ = this._applicationCtrlrService.appMenuItems$;\r\n }\r\n}","<bn-application-menu-body-ui [items]=\"(appMenuItems$ | async)!!\"></bn-application-menu-body-ui>\r\n<div class=\"main-wrapper\" fillEmptySpace>\r\n <div>\r\n </div>\r\n <div> \r\n <div class=\"\"></div>\r\n </div>\r\n</div>\r\n","import { ComponentFactoryResolver, NgModule, NO_ERRORS_SCHEMA, inject, ModuleWithProviders } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { BarsaNovinRayCoreModule, BaseModule, DynamicComponentService } from 'barsa-novin-ray-core';\r\nimport { FundamentalNgxCoreModule } from '@fundamental-ngx/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { PlatformMenuModule } from '@fundamental-ngx/platform';\r\n\r\nimport {\r\n NestedItemComponent,\r\n NestedLinkComponent,\r\n NestedListButtonDirective,\r\n NestedListComponent,\r\n NestedListContentDirective,\r\n NestedListExpandIconComponent,\r\n NestedListHeaderDirective,\r\n NestedListIconComponent,\r\n NestedListPopoverComponent,\r\n NestedListTitleDirective,\r\n PreparedNestedListComponent\r\n} from '@fundamental-ngx/cx/nested-list';\r\nimport {\r\n SideNavigationButtonDirective,\r\n SideNavigationComponent,\r\n SideNavigationMainComponent,\r\n SideNavigationUtilityDirective\r\n} from '@fundamental-ngx/cx/side-navigation';\r\n\r\nimport { ApplicationMenuBodyUiComponent, ApplicationUiComponent } from './index';\r\n\r\nconst components = [ApplicationUiComponent, ApplicationMenuBodyUiComponent];\r\n@NgModule({\r\n declarations: [...components],\r\n schemas: [NO_ERRORS_SCHEMA],\r\n\r\n imports: [\r\n CommonModule,\r\n BarsaNovinRayCoreModule,\r\n FundamentalNgxCoreModule,\r\n PlatformMenuModule,\r\n FormsModule,\r\n DragDropModule,\r\n //\r\n SideNavigationButtonDirective,\r\n SideNavigationComponent,\r\n SideNavigationMainComponent,\r\n SideNavigationUtilityDirective,\r\n NestedItemComponent,\r\n NestedLinkComponent,\r\n NestedListButtonDirective,\r\n NestedListComponent,\r\n NestedListContentDirective,\r\n NestedListExpandIconComponent,\r\n NestedListHeaderDirective,\r\n NestedListIconComponent,\r\n NestedListPopoverComponent,\r\n NestedListTitleDirective,\r\n PreparedNestedListComponent\r\n ],\r\n exports: [...components]\r\n})\r\nexport class BarsaNavigatorModule extends BaseModule {\r\n protected dcm: DynamicComponentService;\r\n protected componentFactoryResolver: ComponentFactoryResolver;\r\n\r\n protected dynamicComponents = [...components];\r\n\r\n /** Inserted by Angular inject() migration for backwards compatibility */\r\n\r\n constructor() {\r\n const dcm = inject(DynamicComponentService);\r\n const componentFactoryResolver = inject(ComponentFactoryResolver);\r\n\r\n super(dcm, componentFactoryResolver, 'BarsaNavigatorModule');\r\n\r\n this.dcm = dcm;\r\n this.componentFactoryResolver = componentFactoryResolver;\r\n }\r\n}\r\n","/*\r\n * Public API Surface of barsa-navigator\r\n */\r\n\r\nexport * from './lib/index';\r\nexport * from './lib/barsa-navigator.module';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i2.ApplicationMenuBodyUiComponent"],"mappings":";;;;;;;;;;;;;;AASM,MAAO,8BAA+B,SAAQ,aAAa,CAAA;8GAApD,8BAA8B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA9B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,8BAA8B,2ICT3C,msBAmBA,EAAA,MAAA,EAAA,CAAA,gxCAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,uBAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,cAAA,EAAA,WAAA,EAAA,SAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,cAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,aAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,MAAA,EAAA,CAAA,cAAA,EAAA,gBAAA,EAAA,YAAA,EAAA,YAAA,EAAA,UAAA,EAAA,qBAAA,EAAA,WAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,SAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,cAAA,EAAA,oBAAA,CAAA,EAAA,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9BhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;oBAC7B,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAE3B,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,uBAAuB;wBACvB,wBAAwB;wBACxB,kBAAkB;wBAClB,WAAW;wBACX,cAAc;;wBAEd,6BAA6B;wBAC7B,uBAAuB;wBACvB,2BAA2B;wBAC3B,8BAA8B;wBAC9B,mBAAmB;wBACnB,mBAAmB;wBACnB,yBAAyB;wBACzB,mBAAmB;wBACnB,0BAA0B;wBAC1B,6BAA6B;wBAC7B,yBAAyB;wBACzB,uBAAuB;wBACvB,0BAA0B;wBAC1B,wBAAwB;wBACxB;AACH,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU;AAC1B,iBAAA;;;AC5DD;;AAEG;;ACFH;;AAEG;;;;"}
package/index.d.ts ADDED
@@ -0,0 +1,39 @@
1
+ import * as i4 from 'barsa-novin-ray-core';
2
+ import { BaseComponent, AppMenu, BaseModule, DynamicComponentService } from 'barsa-novin-ray-core';
3
+ import { Observable } from 'rxjs';
4
+ import * as i0 from '@angular/core';
5
+ import { ComponentFactoryResolver } from '@angular/core';
6
+ import * as i3 from '@angular/common';
7
+ import * as i5 from '@fundamental-ngx/core';
8
+ import * as i6 from '@fundamental-ngx/platform';
9
+ import * as i7 from '@angular/forms';
10
+ import * as i8 from '@angular/cdk/drag-drop';
11
+ import * as i9 from '@fundamental-ngx/cx/side-navigation';
12
+ import * as i10 from '@fundamental-ngx/cx/nested-list';
13
+
14
+ declare class ApplicationUiComponent extends BaseComponent {
15
+ appMenuItems$: Observable<AppMenu[]>;
16
+ private _applicationCtrlrService;
17
+ ngOnInit(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationUiComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<ApplicationUiComponent, "bn-application-ui", never, {}, {}, never, never, false, never>;
20
+ }
21
+
22
+ declare class ApplicationMenuBodyUiComponent extends BaseComponent {
23
+ items: AppMenu[];
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationMenuBodyUiComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<ApplicationMenuBodyUiComponent, "bn-application-menu-body-ui", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
26
+ }
27
+
28
+ declare class BarsaNavigatorModule extends BaseModule {
29
+ protected dcm: DynamicComponentService;
30
+ protected componentFactoryResolver: ComponentFactoryResolver;
31
+ protected dynamicComponents: (typeof ApplicationUiComponent | typeof ApplicationMenuBodyUiComponent)[];
32
+ /** Inserted by Angular inject() migration for backwards compatibility */
33
+ constructor();
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<BarsaNavigatorModule, never>;
35
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BarsaNavigatorModule, [typeof ApplicationUiComponent, typeof ApplicationMenuBodyUiComponent], [typeof i3.CommonModule, typeof i4.BarsaNovinRayCoreModule, typeof i5.FundamentalNgxCoreModule, typeof i6.PlatformMenuModule, typeof i7.FormsModule, typeof i8.DragDropModule, typeof i9.SideNavigationButtonDirective, typeof i9.SideNavigationComponent, typeof i9.SideNavigationMainComponent, typeof i9.SideNavigationUtilityDirective, typeof i10.NestedItemComponent, typeof i10.NestedLinkComponent, typeof i10.NestedListButtonDirective, typeof i10.NestedListComponent, typeof i10.NestedListContentDirective, typeof i10.NestedListExpandIconComponent, typeof i10.NestedListHeaderDirective, typeof i10.NestedListIconComponent, typeof i10.NestedListPopoverComponent, typeof i10.NestedListTitleDirective, typeof i10.PreparedNestedListComponent], [typeof ApplicationUiComponent, typeof ApplicationMenuBodyUiComponent]>;
36
+ static ɵinj: i0.ɵɵInjectorDeclaration<BarsaNavigatorModule>;
37
+ }
38
+
39
+ export { ApplicationMenuBodyUiComponent, ApplicationUiComponent, BarsaNavigatorModule };
package/package.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "barsa-navigator",
3
+ "version": "2.3.32",
4
+ "peerDependencies": {
5
+ "@angular/core": "^20.0.6",
6
+ "@angular/common": "^20.0.6"
7
+ },
8
+ "dependencies": {
9
+ "tslib": "^2.3.0"
10
+ },
11
+ "sideEffects": false,
12
+ "module": "fesm2022/barsa-navigator.mjs",
13
+ "typings": "index.d.ts",
14
+ "exports": {
15
+ "./package.json": {
16
+ "default": "./package.json"
17
+ },
18
+ ".": {
19
+ "types": "./index.d.ts",
20
+ "default": "./fesm2022/barsa-navigator.mjs"
21
+ }
22
+ }
23
+ }