barsa-tiles 2.2.92 → 2.3.1

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.
@@ -3,6 +3,7 @@ import { BaseTileComponent } from './base-tile-component';
3
3
  import { BaseTileSetting } from './base-tile-setting';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare abstract class BaseBtTileComponent<T extends BaseTileSetting> extends BaseTileComponent<T> implements OnInit {
6
+ isDark$: import("rxjs").Observable<boolean | null>;
6
7
  ngOnInit(): void;
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseBtTileComponent<any>, never>;
8
9
  static ɵcmp: i0.ɵɵComponentDeclaration<BaseBtTileComponent<any>, "bt-base-bt-tile", never, {}, {}, never, never, false, never>;
@@ -5,8 +5,8 @@ import * as i0 from "@angular/core";
5
5
  export declare class SimpleTileComponent extends BaseBtTileComponent<BaseTileSetting> implements OnInit {
6
6
  icon: string;
7
7
  iconCalc: string;
8
- iconColor: string;
9
8
  isCircle: boolean;
9
+ iconColor: string;
10
10
  pictureIcon: FilePictureInfoModel;
11
11
  ngOnInit(): void;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTileComponent, never>;
@@ -10,6 +10,7 @@ export declare class TileComponent extends TilePropsComponent {
10
10
  icon: string;
11
11
  subtitle: string;
12
12
  isDouble: boolean;
13
+ darkMode: boolean;
13
14
  disableClick: boolean;
14
15
  edit: boolean;
15
16
  dynamicCommand: any;
@@ -19,5 +20,5 @@ export declare class TileComponent extends TilePropsComponent {
19
20
  listMode: boolean;
20
21
  navigateBackOnClick: boolean;
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<TileComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<TileComponent, "bt-tile", never, { "type": { "alias": "type"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "isDouble": { "alias": "isDouble"; "required": false; }; "disableClick": { "alias": "disableClick"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "dynamicCommand": { "alias": "dynamicCommand"; "required": false; }; "backColor": { "alias": "backColor"; "required": false; }; "hideHeader": { "alias": "hideHeader"; "required": false; }; "setToStorage": { "alias": "setToStorage"; "required": false; }; "listMode": { "alias": "listMode"; "required": false; }; "navigateBackOnClick": { "alias": "navigateBackOnClick"; "required": false; }; }, {}, never, ["*"], false, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<TileComponent, "bt-tile", never, { "type": { "alias": "type"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "isDouble": { "alias": "isDouble"; "required": false; }; "darkMode": { "alias": "darkMode"; "required": false; }; "disableClick": { "alias": "disableClick"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "dynamicCommand": { "alias": "dynamicCommand"; "required": false; }; "backColor": { "alias": "backColor"; "required": false; }; "hideHeader": { "alias": "hideHeader"; "required": false; }; "setToStorage": { "alias": "setToStorage"; "required": false; }; "listMode": { "alias": "listMode"; "required": false; }; "navigateBackOnClick": { "alias": "navigateBackOnClick"; "required": false; }; }, {}, never, ["*"], false, never>;
23
24
  }
@@ -1,12 +1,11 @@
1
- import { ElementRef, OnChanges, OnDestroy, OnInit, Renderer2 } from '@angular/core';
1
+ import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { BaseDirective } from 'barsa-novin-ray-core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TileStyleDirective extends BaseDirective implements OnInit, OnChanges, OnDestroy {
5
- private _renderer2;
6
- protected _el: ElementRef;
7
5
  backColor: string;
8
- constructor(_renderer2: Renderer2, _el: ElementRef);
9
- ngOnInit(): void;
6
+ private _renderer2;
7
+ ngOnChanges(changes: SimpleChanges): void;
8
+ private _addBackcolor;
10
9
  static ɵfac: i0.ɵɵFactoryDeclaration<TileStyleDirective, never>;
11
10
  static ɵdir: i0.ɵɵDirectiveDeclaration<TileStyleDirective, "[tileStyle]", never, { "backColor": { "alias": "backColor"; "required": false; }; }, {}, never, never, false, never>;
12
11
  }
@@ -23,8 +23,10 @@ export declare class TilesService implements OnDestroy {
23
23
  private _userProfileImageUrl$;
24
24
  private _edithomeSource;
25
25
  private _componentSettings$;
26
+ private _themingService;
26
27
  constructor(_portalService: PortalService, _rtlService: RtlService, _bbbTranslatePipe: BbbTranslatePipe);
27
28
  get componentSettings$(): Observable<MetaobjectDataModel>;
29
+ get isDark$(): Observable<boolean | null>;
28
30
  get appTileGroups(): MoForReportModel | null;
29
31
  ngOnDestroy(): void;
30
32
  protected _onApplication_GlobalRefreshTile(_sender: any, appTilesTitle: string[]): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barsa-tiles",
3
- "version": "2.2.92",
3
+ "version": "2.3.1",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^19.2.10",
6
6
  "@angular/common": "^19.2.10"