barsa-tiles 1.0.338 → 1.0.340

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,6 +1,7 @@
1
1
  import { ComponentFactoryResolver } from '@angular/core';
2
2
  import { BaseModule, DynamicComponentService } from 'barsa-novin-ray-core';
3
3
  import { ShellbarComponent } from './shellbar/shellbar.component';
4
+ import { TilesViewerComponent } from './tiles-viewer/tiles-viewer.component';
4
5
  import { ProfileTileComponent } from './profile-tile/profile-tile.component';
5
6
  import { SimpleTileComponent } from './simple-tile/simple-tile.component';
6
7
  import { FeedTileComponent } from './feed-tile/feed-tile.component';
@@ -74,7 +75,7 @@ import * as i48 from "barsa-echarts";
74
75
  export declare class BarsaTilesModule extends BaseModule {
75
76
  protected dcm: DynamicComponentService;
76
77
  protected componentFactoryResolver: ComponentFactoryResolver;
77
- protected dynamicComponents: (typeof FormTileComponent | typeof ChangeAppTileComponent | typeof TilesViewerContainerComponent | typeof MicroTileChartBulletComponent | typeof TileComponent | 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 ShellbarComponent)[];
78
+ protected dynamicComponents: (typeof FormTileComponent | typeof ChangeAppTileComponent | typeof TilesViewerContainerComponent | typeof MicroTileChartBulletComponent | typeof TileComponent | 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)[];
78
79
  constructor(dcm: DynamicComponentService, componentFactoryResolver: ComponentFactoryResolver);
79
80
  static ɵfac: i0.ɵɵFactoryDeclaration<BarsaTilesModule, never>;
80
81
  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.GroupTilesPipe, typeof i32.TileHomeFilterPipe, typeof i33.HomeGroupPipe, typeof i34.ActionLinksPipe, typeof i35.TilePropPipe, typeof i36.EmptyListDirective, typeof i37.TileRendererDirective, typeof i38.NotificationGroupComponent, typeof i39.NotificationGroupHeaderComponent], [typeof i40.CommonModule, typeof i41.FormsModule, typeof i42.DragDropModule, typeof i43.CdkTableModule, typeof i44.FundamentalNgxCoreModule, typeof i44.GridListModule, typeof i45.FundamentalNgxPlatformModule, typeof i41.ReactiveFormsModule, typeof i46.BarsaNovinRayCoreModule, typeof i47.BarsaSapUiModule, typeof i48.BarsaEchartsModule], [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]>;
@@ -1,10 +1,13 @@
1
1
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
2
- import { EventEmitter } from '@angular/core';
3
- import { BaseComponent, MetaobjectDataModel, AbbrevationDeviceSize } from 'barsa-novin-ray-core';
2
+ import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
3
+ import { BaseComponent, MetaobjectDataModel, AbbrevationDeviceSize, SaveScrollPositionService, IntersectionStatus } from 'barsa-novin-ray-core';
4
4
  import { Nullable, TabListComponent, TabPanelComponent } from '@fundamental-ngx/core';
5
5
  import * as i0 from "@angular/core";
6
- export declare class TilesViewerComponent extends BaseComponent {
6
+ export declare class TilesViewerComponent extends BaseComponent implements OnInit {
7
+ protected _cdr: ChangeDetectorRef;
8
+ protected _saveScrollPosition: SaveScrollPositionService;
7
9
  tabListComponent: TabListComponent;
10
+ contentPageRef: ElementRef<any>;
8
11
  pageContentClass: boolean;
9
12
  appTileGroups: Array<MetaobjectDataModel>;
10
13
  loading: boolean;
@@ -42,6 +45,11 @@ export declare class TilesViewerComponent extends BaseComponent {
42
45
  _rtl: any;
43
46
  selectedTabTitle: Nullable<string>;
44
47
  selectedTabId: string;
48
+ _tilesIntersection: any;
49
+ formVisibilityStatus: IntersectionStatus;
50
+ constructor(_cdr: ChangeDetectorRef, _saveScrollPosition: SaveScrollPositionService);
51
+ id: string;
52
+ ngOnInit(): void;
45
53
  onSelectedTabChange(selectedTab: TabPanelComponent, appTileGroups: MetaobjectDataModel[]): void;
46
54
  onDropGroup(appTileGroups: MetaobjectDataModel[], event: CdkDragDrop<MetaobjectDataModel[]>): void;
47
55
  onDrop($event: any): void;
@@ -49,6 +57,7 @@ export declare class TilesViewerComponent extends BaseComponent {
49
57
  onExitEditHome(appGroups: MetaobjectDataModel[]): void;
50
58
  onCloseEditHome(): void;
51
59
  _trackById(item: any, index: any): string | number;
60
+ protected _onInView(e: any): void;
52
61
  static ɵfac: i0.ɵɵFactoryDeclaration<TilesViewerComponent, never>;
53
62
  static ɵcmp: i0.ɵɵComponentDeclaration<TilesViewerComponent, "bt-tiles-viewer", never, { "appTileGroups": "appTileGroups"; "loading": "loading"; "edit": "edit"; "rtl": "rtl"; "stackContent": "stackContent"; "deviceSize": "deviceSize"; "selectedAppGroupId": "selectedAppGroupId"; "DynamicComponents": "DynamicComponents"; }, { "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>;
54
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barsa-tiles",
3
- "version": "1.0.338",
3
+ "version": "1.0.340",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^14.2.7",
6
6
  "@angular/common": "^14.2.7"