barsa-tiles 2.0.52 → 2.0.53

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.
@@ -1,10 +1,11 @@
1
- import { ChangeDetectorRef, OnChanges, SimpleChanges } from '@angular/core';
1
+ import { ChangeDetectorRef, OnChanges, SimpleChanges, ViewContainerRef } from '@angular/core';
2
2
  import { ActivatedRoute, Router } from '@angular/router';
3
3
  import { BaseComponent, LogService, LocalStorageService, MetaobjectDataModel, BreadcrumbService, BreadCrumbInfo } from 'barsa-novin-ray-core';
4
4
  import { BaseTileSetting } from '../models';
5
5
  import { Observable } from 'rxjs';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class BarsaTileGroupPageComponent extends BaseComponent implements OnChanges {
8
+ _containerRef: ViewContainerRef;
8
9
  _position: string;
9
10
  moList: import("@angular/core").WritableSignal<BaseTileSetting[]>;
10
11
  isMobile: boolean;
@@ -22,6 +23,8 @@ export declare class BarsaTileGroupPageComponent extends BaseComponent implement
22
23
  isSimple: boolean;
23
24
  listMode: boolean;
24
25
  breadcrumbs$: Observable<BreadCrumbInfo[]>;
26
+ reportId: string;
27
+ loading: import("@angular/core").WritableSignal<boolean>;
25
28
  ngOnInit(): void;
26
29
  ngOnChanges(changes: SimpleChanges): void;
27
30
  onClose(): void;
@@ -0,0 +1,20 @@
1
+ import { OnChanges } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { LocalStorageService, BreadcrumbService, BreadCrumbInfo, RoutingService, EmptyPageComponent } from 'barsa-novin-ray-core';
4
+ import { Observable } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class BarsaTileSidebarPageComponent extends EmptyPageComponent implements OnChanges {
7
+ isMobile: boolean;
8
+ rtl: any;
9
+ protected _router: Router;
10
+ protected _localStorage: LocalStorageService;
11
+ protected _breadCrumbService: BreadcrumbService;
12
+ protected _routingService: RoutingService;
13
+ breadcrumbs$: Observable<BreadCrumbInfo[]>;
14
+ title: string | null;
15
+ firstReportLoaded: import("@angular/core").WritableSignal<boolean>;
16
+ ngOnInit(): void;
17
+ onClose(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<BarsaTileSidebarPageComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<BarsaTileSidebarPageComponent, "bt-barsa-tile-sidebar-page", never, {}, {}, never, never, false, never>;
20
+ }
@@ -0,0 +1,45 @@
1
+ import { AuthGuard, PortalPageResolver, TileGroupBreadcrumResolver } from 'barsa-novin-ray-core';
2
+ import { BarsaTileSidebarPageComponent } from './barsa-tile-sidebar-page/barsa-tile-sidebar-page.component';
3
+ import { ReportNavigatorComponent } from 'barsa-sap-ui';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/router";
6
+ export declare const extendHomeRouter: {
7
+ path: string;
8
+ component: typeof BarsaTileSidebarPageComponent;
9
+ canActivate: (typeof AuthGuard)[];
10
+ data: {
11
+ pageData: {
12
+ Module: string;
13
+ HasAuthorize: boolean;
14
+ Route: string;
15
+ };
16
+ };
17
+ resolve: {
18
+ pageData: typeof PortalPageResolver;
19
+ breadcrumb: typeof TileGroupBreadcrumResolver;
20
+ };
21
+ children: ({
22
+ path: string;
23
+ outlet: string;
24
+ component: typeof ReportNavigatorComponent;
25
+ data: {
26
+ pageData: {
27
+ HasAuthorize: boolean;
28
+ Route: string;
29
+ Module: string;
30
+ };
31
+ };
32
+ loadChildren?: undefined;
33
+ } | {
34
+ path: string;
35
+ loadChildren: () => Promise<typeof import("barsa-novin-ray-core").BarsaSapUiFormPageModule>;
36
+ outlet?: undefined;
37
+ component?: undefined;
38
+ data?: undefined;
39
+ })[];
40
+ }[];
41
+ export declare class BarsaTilesRoutingModule {
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<BarsaTilesRoutingModule, never>;
43
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BarsaTilesRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
44
+ static ɵinj: i0.ɵɵInjectorDeclaration<BarsaTilesRoutingModule>;
45
+ }
@@ -28,6 +28,8 @@ import { FormTileComponent } from './form-tile/form-tile.component';
28
28
  import { BarsaShellbarComponent } from './barsa-shellbar/barsa-shellbar.component';
29
29
  import { PopoverAppFinderComponent } from './popover-app-finder/popover-app-finder.component';
30
30
  import { BarsaPinAppComponent } from './barsa-pin-app/barsa-pin-app.component';
31
+ import { Router } from '@angular/router';
32
+ import { BarsaTileSidebarPageComponent } from './barsa-tile-sidebar-page/barsa-tile-sidebar-page.component';
31
33
  import * as i0 from "@angular/core";
32
34
  import * as i1 from "./shellbar/shellbar.component";
33
35
  import * as i2 from "./simple-tile/simple-tile.component";
@@ -63,34 +65,38 @@ import * as i31 from "./barsa-shellbar/barsa-shellbar.component";
63
65
  import * as i32 from "./popover-app-finder/popover-app-finder.component";
64
66
  import * as i33 from "./barsa-pin-app/barsa-pin-app.component";
65
67
  import * as i34 from "./barsa-tile-group-page/barsa-tile-group-page.component";
66
- import * as i35 from "./pipes/group-tiles.pipe";
67
- import * as i36 from "./pipes/tile-home-filter.pipe";
68
- import * as i37 from "./pipes/home-group.pipe";
69
- import * as i38 from "./action-links.pipe";
70
- import * as i39 from "./pipes/tile-prop.pipe";
71
- import * as i40 from "./directives/emptylist.directive";
72
- import * as i41 from "./tile-renderer.directive";
73
- import * as i42 from "./tile-style.directive";
74
- import * as i43 from "./tile-size.directive";
75
- import * as i44 from "./notification-group/notification-group.component";
76
- import * as i45 from "./notification-group-header/notification-group-header.component";
77
- import * as i46 from "@angular/common";
78
- import * as i47 from "@angular/forms";
79
- import * as i48 from "@angular/router";
80
- import * as i49 from "@angular/cdk/drag-drop";
81
- import * as i50 from "@angular/cdk/table";
82
- import * as i51 from "@fundamental-ngx/core";
83
- import * as i52 from "barsa-novin-ray-core";
84
- import * as i53 from "barsa-sap-ui";
85
- import * as i54 from "barsa-echarts";
86
- import * as i55 from "@fundamental-ngx/platform";
87
- import * as i56 from "./popover-app-finder/filter-apps-grouped.pipe";
68
+ import * as i35 from "./barsa-tile-sidebar-page/barsa-tile-sidebar-page.component";
69
+ import * as i36 from "./pipes/group-tiles.pipe";
70
+ import * as i37 from "./pipes/tile-home-filter.pipe";
71
+ import * as i38 from "./pipes/home-group.pipe";
72
+ import * as i39 from "./action-links.pipe";
73
+ import * as i40 from "./pipes/tile-prop.pipe";
74
+ import * as i41 from "./directives/emptylist.directive";
75
+ import * as i42 from "./tile-renderer.directive";
76
+ import * as i43 from "./tile-style.directive";
77
+ import * as i44 from "./tile-size.directive";
78
+ import * as i45 from "./notification-group/notification-group.component";
79
+ import * as i46 from "./notification-group-header/notification-group-header.component";
80
+ import * as i47 from "@angular/common";
81
+ import * as i48 from "@angular/forms";
82
+ import * as i49 from "@angular/router";
83
+ import * as i50 from "@angular/cdk/drag-drop";
84
+ import * as i51 from "@angular/cdk/table";
85
+ import * as i52 from "@fundamental-ngx/core";
86
+ import * as i53 from "barsa-novin-ray-core";
87
+ import * as i54 from "barsa-sap-ui";
88
+ import * as i55 from "./barsa-tiles-routing.module";
89
+ import * as i56 from "barsa-echarts";
90
+ import * as i57 from "@fundamental-ngx/platform";
91
+ import * as i58 from "./popover-app-finder/filter-apps-grouped.pipe";
92
+ import * as i59 from "@fundamental-ngx/btp/splitter";
93
+ export declare function addTilesPageSidebar(_router: Router): void;
88
94
  export declare class BarsaTilesModule extends BaseModule {
89
95
  protected dcm: DynamicComponentService;
90
96
  protected componentFactoryResolver: ComponentFactoryResolver;
91
- protected dynamicComponents: (typeof FormTileComponent | typeof TilesViewerGroupComponent | typeof ChangeAppTileComponent | typeof TilesViewerContainerComponent | typeof MicroTileChartBulletComponent | typeof TileComponent | typeof ActionsLinkComponent | typeof NewsTileComponent | typeof MicroTileChartComparisonComponent | typeof MicroTileChartStackbarComponent | typeof MicroTileChartLineComponent | typeof MicroTileChartCircularComponent | typeof MicroTileChartAreaComponent | typeof MicroTileChartBarComponent | typeof CreateAppGroupComponent | typeof PinTileComponent | typeof FormAppFinderComponent | typeof FooterEditTileComponent | typeof NumericTileComponent | typeof LogoTileComponent | typeof FeedTileComponent | typeof SimpleTileComponent | typeof ProfileTileComponent | typeof TilesViewerComponent | typeof ShellbarComponent | typeof BarsaShellbarComponent | typeof PopoverAppFinderComponent | typeof BarsaPinAppComponent)[];
97
+ protected dynamicComponents: (typeof FormTileComponent | typeof TilesViewerGroupComponent | typeof ChangeAppTileComponent | typeof TilesViewerContainerComponent | typeof MicroTileChartBulletComponent | typeof TileComponent | typeof ActionsLinkComponent | typeof NewsTileComponent | typeof MicroTileChartComparisonComponent | typeof MicroTileChartStackbarComponent | typeof MicroTileChartLineComponent | typeof MicroTileChartCircularComponent | typeof MicroTileChartAreaComponent | typeof MicroTileChartBarComponent | typeof CreateAppGroupComponent | typeof PinTileComponent | typeof FormAppFinderComponent | typeof FooterEditTileComponent | typeof NumericTileComponent | typeof LogoTileComponent | typeof FeedTileComponent | typeof SimpleTileComponent | typeof ProfileTileComponent | typeof TilesViewerComponent | typeof ShellbarComponent | typeof BarsaShellbarComponent | typeof PopoverAppFinderComponent | typeof BarsaPinAppComponent | typeof BarsaTileSidebarPageComponent)[];
92
98
  constructor(dcm: DynamicComponentService, componentFactoryResolver: ComponentFactoryResolver);
93
99
  static ɵfac: i0.ɵɵFactoryDeclaration<BarsaTilesModule, never>;
94
- static ɵmod: i0.ɵɵNgModuleDeclaration<BarsaTilesModule, [typeof i1.ShellbarComponent, typeof i2.SimpleTileComponent, typeof i3.TilesViewerComponent, typeof i4.ProfileTileComponent, typeof i5.FeedTileComponent, typeof i6.FooterTileComponent, typeof i7.TileComponent, typeof i8.LogoTileComponent, typeof i9.NumericTileComponent, typeof i10.FooterEditTileComponent, typeof i11.FormAppFinderComponent, typeof i12.PinTileComponent, typeof i13.ChangeAppTileComponent, typeof i14.CreateAppGroupComponent, typeof i15.MicroTileChartAreaComponent, typeof i16.MicroTileChartCircularComponent, typeof i17.MicroTileChartLineComponent, typeof i18.MicroTileChartStackbarComponent, typeof i19.MicroTileChartComparisonComponent, typeof i20.MicroTileChartBarComponent, typeof i21.MicroTileChartBulletComponent, typeof i22.TilesViewerContainerComponent, typeof i23.NewsTileComponent, typeof i24.ActionsLinkComponent, typeof i25.ActionItemComponent, typeof i26.AppFinderComponent, typeof i27.AppFinderGroupComponent, typeof i28.AppFinderAppListComponent, typeof i29.TilesViewerGroupComponent, typeof i30.FormTileComponent, typeof i31.BarsaShellbarComponent, typeof i32.PopoverAppFinderComponent, typeof i33.BarsaPinAppComponent, typeof i34.BarsaTileGroupPageComponent, typeof i35.GroupTilesPipe, typeof i36.TileHomeFilterPipe, typeof i37.HomeGroupPipe, typeof i38.ActionLinksPipe, typeof i39.TilePropPipe, typeof i40.EmptyListDirective, typeof i41.TileRendererDirective, typeof i42.TileStyleDirective, typeof i43.TileSizeDirective, typeof i44.NotificationGroupComponent, typeof i45.NotificationGroupHeaderComponent], [typeof i46.CommonModule, typeof i47.FormsModule, typeof i48.RouterModule, typeof i49.DragDropModule, typeof i50.CdkTableModule, typeof i51.FundamentalNgxCoreModule, typeof i51.GridListModule, typeof i47.ReactiveFormsModule, typeof i52.BarsaNovinRayCoreModule, typeof i53.BarsaSapUiModule, typeof i54.BarsaEchartsModule, typeof i55.IconTabBarComponent, typeof i55.IconTabBarTabComponent, typeof i55.IconTabBarTabContentDirective, typeof i56.FilterAppsGroupedPipe, typeof i56.FilterAppsPipe], [typeof i1.ShellbarComponent, typeof i2.SimpleTileComponent, typeof i3.TilesViewerComponent, typeof i4.ProfileTileComponent, typeof i5.FeedTileComponent, typeof i6.FooterTileComponent, typeof i7.TileComponent, typeof i8.LogoTileComponent, typeof i9.NumericTileComponent, typeof i10.FooterEditTileComponent, typeof i11.FormAppFinderComponent, typeof i12.PinTileComponent, typeof i13.ChangeAppTileComponent, typeof i14.CreateAppGroupComponent, typeof i15.MicroTileChartAreaComponent, typeof i16.MicroTileChartCircularComponent, typeof i17.MicroTileChartLineComponent, typeof i18.MicroTileChartStackbarComponent, typeof i19.MicroTileChartComparisonComponent, typeof i20.MicroTileChartBarComponent, typeof i21.MicroTileChartBulletComponent, typeof i22.TilesViewerContainerComponent, typeof i23.NewsTileComponent, typeof i24.ActionsLinkComponent, typeof i25.ActionItemComponent, typeof i26.AppFinderComponent, typeof i27.AppFinderGroupComponent, typeof i28.AppFinderAppListComponent, typeof i29.TilesViewerGroupComponent, typeof i30.FormTileComponent, typeof i31.BarsaShellbarComponent, typeof i32.PopoverAppFinderComponent, typeof i33.BarsaPinAppComponent, typeof i34.BarsaTileGroupPageComponent]>;
100
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BarsaTilesModule, [typeof i1.ShellbarComponent, typeof i2.SimpleTileComponent, typeof i3.TilesViewerComponent, typeof i4.ProfileTileComponent, typeof i5.FeedTileComponent, typeof i6.FooterTileComponent, typeof i7.TileComponent, typeof i8.LogoTileComponent, typeof i9.NumericTileComponent, typeof i10.FooterEditTileComponent, typeof i11.FormAppFinderComponent, typeof i12.PinTileComponent, typeof i13.ChangeAppTileComponent, typeof i14.CreateAppGroupComponent, typeof i15.MicroTileChartAreaComponent, typeof i16.MicroTileChartCircularComponent, typeof i17.MicroTileChartLineComponent, typeof i18.MicroTileChartStackbarComponent, typeof i19.MicroTileChartComparisonComponent, typeof i20.MicroTileChartBarComponent, typeof i21.MicroTileChartBulletComponent, typeof i22.TilesViewerContainerComponent, typeof i23.NewsTileComponent, typeof i24.ActionsLinkComponent, typeof i25.ActionItemComponent, typeof i26.AppFinderComponent, typeof i27.AppFinderGroupComponent, typeof i28.AppFinderAppListComponent, typeof i29.TilesViewerGroupComponent, typeof i30.FormTileComponent, typeof i31.BarsaShellbarComponent, typeof i32.PopoverAppFinderComponent, typeof i33.BarsaPinAppComponent, typeof i34.BarsaTileGroupPageComponent, typeof i35.BarsaTileSidebarPageComponent, typeof i36.GroupTilesPipe, typeof i37.TileHomeFilterPipe, typeof i38.HomeGroupPipe, typeof i39.ActionLinksPipe, typeof i40.TilePropPipe, typeof i41.EmptyListDirective, typeof i42.TileRendererDirective, typeof i43.TileStyleDirective, typeof i44.TileSizeDirective, typeof i45.NotificationGroupComponent, typeof i46.NotificationGroupHeaderComponent], [typeof i47.CommonModule, typeof i48.FormsModule, typeof i49.RouterModule, typeof i50.DragDropModule, typeof i51.CdkTableModule, typeof i52.FundamentalNgxCoreModule, typeof i52.GridListModule, typeof i48.ReactiveFormsModule, typeof i53.BarsaNovinRayCoreModule, typeof i54.BarsaSapUiModule, typeof i55.BarsaTilesRoutingModule, typeof i56.BarsaEchartsModule, typeof i57.IconTabBarComponent, typeof i57.IconTabBarTabComponent, typeof i57.IconTabBarTabContentDirective, typeof i58.FilterAppsGroupedPipe, typeof i58.FilterAppsPipe, typeof i59.SplitterModule], [typeof i1.ShellbarComponent, typeof i2.SimpleTileComponent, typeof i3.TilesViewerComponent, typeof i4.ProfileTileComponent, typeof i5.FeedTileComponent, typeof i6.FooterTileComponent, typeof i7.TileComponent, typeof i8.LogoTileComponent, typeof i9.NumericTileComponent, typeof i10.FooterEditTileComponent, typeof i11.FormAppFinderComponent, typeof i12.PinTileComponent, typeof i13.ChangeAppTileComponent, typeof i14.CreateAppGroupComponent, typeof i15.MicroTileChartAreaComponent, typeof i16.MicroTileChartCircularComponent, typeof i17.MicroTileChartLineComponent, typeof i18.MicroTileChartStackbarComponent, typeof i19.MicroTileChartComparisonComponent, typeof i20.MicroTileChartBarComponent, typeof i21.MicroTileChartBulletComponent, typeof i22.TilesViewerContainerComponent, typeof i23.NewsTileComponent, typeof i24.ActionsLinkComponent, typeof i25.ActionItemComponent, typeof i26.AppFinderComponent, typeof i27.AppFinderGroupComponent, typeof i28.AppFinderAppListComponent, typeof i29.TilesViewerGroupComponent, typeof i30.FormTileComponent, typeof i31.BarsaShellbarComponent, typeof i32.PopoverAppFinderComponent, typeof i33.BarsaPinAppComponent, typeof i34.BarsaTileGroupPageComponent, typeof i35.BarsaTileSidebarPageComponent]>;
95
101
  static ɵinj: i0.ɵɵInjectorDeclaration<BarsaTilesModule>;
96
102
  }
@@ -31,6 +31,7 @@ export declare class TilesViewerComponent extends BaseComponent implements OnIni
31
31
  selectedTabTitle: string;
32
32
  tabPanels: IconTabBarTabComponent[];
33
33
  appTileGroups: MetaobjectDataModel[];
34
+ tabbarComponent: IconTabBarComponent;
34
35
  }>;
35
36
  toggleGroup: EventEmitter<MetaobjectDataModel>;
36
37
  resetGroup: EventEmitter<MetaobjectDataModel>;
@@ -60,6 +61,7 @@ export declare class TilesViewerComponent extends BaseComponent implements OnIni
60
61
  onExitEditHome(appGroups: MetaobjectDataModel[]): void;
61
62
  onCloseEditHome(): void;
62
63
  _trackById(index: any, item: any): string | number;
64
+ protected _selectTab(tabId: string): void;
63
65
  protected _onInView(e: any): void;
64
66
  static ɵfac: i0.ɵɵFactoryDeclaration<TilesViewerComponent, never>;
65
67
  static ɵcmp: i0.ɵɵComponentDeclaration<TilesViewerComponent, "bt-tiles-viewer", never, { "appTileGroups": { "alias": "appTileGroups"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "rtl": { "alias": "rtl"; "required": false; }; "defaultTab": { "alias": "defaultTab"; "required": false; }; "stackContent": { "alias": "stackContent"; "required": false; }; "deviceSize": { "alias": "deviceSize"; "required": false; }; "selectedAppGroupId": { "alias": "selectedAppGroupId"; "required": false; }; "DynamicComponents": { "alias": "DynamicComponents"; "required": false; }; }, { "stackContentChange": "stackContentChange"; "closeEditHome": "closeEditHome"; "save": "save"; "listDropped": "listDropped"; "tabChanged": "tabChanged"; "toggleGroup": "toggleGroup"; "resetGroup": "resetGroup"; "deleteGroup": "deleteGroup"; "hideAppTileClick": "hideAppTileClick"; "renameAppTileClick": "renameAppTileClick"; "tilesDropped": "tilesDropped"; }, never, never, false, never>;
@@ -5,7 +5,7 @@ import { BaseComponent, MetaobjectDataModel, PortalService, AbbrevationDeviceSiz
5
5
  import { TilesService } from '../tiles.service';
6
6
  import { TilesViewerService } from '../tiles-viewer.service';
7
7
  import { ActivatedRoute, Router } from '@angular/router';
8
- import { IconTabBarTabComponent } from '@fundamental-ngx/platform';
8
+ import { IconTabBarComponent, IconTabBarTabComponent } from '@fundamental-ngx/platform';
9
9
  import * as i0 from "@angular/core";
10
10
  export declare class TilesViewerContainerComponent extends BaseComponent implements OnInit, OnDestroy {
11
11
  protected _portalService: PortalService;
@@ -34,6 +34,7 @@ export declare class TilesViewerContainerComponent extends BaseComponent impleme
34
34
  selectedTabTitle: string;
35
35
  tabPanels: IconTabBarTabComponent[];
36
36
  appTileGroups: MetaobjectDataModel[];
37
+ tabbarComponent: IconTabBarComponent;
37
38
  }): void;
38
39
  onDropGroup(e: {
39
40
  appTileGroups: MetaobjectDataModel[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barsa-tiles",
3
- "version": "2.0.52",
3
+ "version": "2.0.53",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^17.3.5",
6
6
  "@angular/common": "^17.3.5"
package/public-api.d.ts CHANGED
@@ -41,4 +41,5 @@ export * from './lib/barsa-shellbar/barsa-shellbar.component';
41
41
  export * from './lib/popover-app-finder/popover-app-finder.component';
42
42
  export * from './lib/barsa-pin-app/barsa-pin-app.component';
43
43
  export * from './lib/barsa-tile-group-page/barsa-tile-group-page.component';
44
+ export * from './lib/barsa-tile-sidebar-page/barsa-tile-sidebar-page.component';
44
45
  export * from './lib/barsa-tiles.module';