barsa-tiles 1.0.456 → 2.0.2

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.
Files changed (172) hide show
  1. package/{esm2020 → esm2022}/barsa-tiles.mjs +4 -4
  2. package/esm2022/lib/action-item/action-item.component.mjs +17 -0
  3. package/{esm2020 → esm2022}/lib/action-links.pipe.mjs +16 -16
  4. package/esm2022/lib/actions-link/actions-link.component.mjs +41 -0
  5. package/esm2022/lib/app-finder/app-finder.component.mjs +52 -0
  6. package/esm2022/lib/app-finder-app-list/app-finder-app-list.component.mjs +39 -0
  7. package/esm2022/lib/app-finder-group/app-finder-group.component.mjs +41 -0
  8. package/esm2022/lib/app-finder.service.mjs +121 -0
  9. package/esm2022/lib/barsa-shellbar/barsa-shellbar.component.mjs +183 -0
  10. package/esm2022/lib/barsa-tiles.module.mjs +225 -0
  11. package/esm2022/lib/change-app-tile/change-app-tile.component.mjs +46 -0
  12. package/esm2022/lib/create-app-group/create-app-group.component.mjs +43 -0
  13. package/esm2022/lib/directives/emptylist.directive.mjs +36 -0
  14. package/esm2022/lib/feed-tile/feed-tile.component.mjs +31 -0
  15. package/{esm2020 → esm2022}/lib/footer-edit-tile/footer-edit-tile.component.mjs +13 -13
  16. package/esm2022/lib/footer-tile/footer-tile.component.mjs +27 -0
  17. package/esm2022/lib/form-app-finder/form-app-finder.component.mjs +95 -0
  18. package/esm2022/lib/form-tile/form-tile.component.mjs +34 -0
  19. package/esm2022/lib/logo-tile/logo-tile.component.mjs +23 -0
  20. package/{esm2020 → esm2022}/lib/micro-tile-chart-area/micro-tile-chart-area.component.mjs +40 -40
  21. package/{esm2020 → esm2022}/lib/micro-tile-chart-bar/micro-tile-chart-bar.component.mjs +29 -29
  22. package/esm2022/lib/micro-tile-chart-bullet/micro-tile-chart-bullet.component.mjs +26 -0
  23. package/{esm2020 → esm2022}/lib/micro-tile-chart-circular/micro-tile-chart-circular.component.mjs +20 -20
  24. package/{esm2020 → esm2022}/lib/micro-tile-chart-comparison/micro-tile-chart-comparison.component.mjs +31 -31
  25. package/{esm2020 → esm2022}/lib/micro-tile-chart-line/micro-tile-chart-line.component.mjs +32 -32
  26. package/{esm2020 → esm2022}/lib/micro-tile-chart-stackbar/micro-tile-chart-stackbar.component.mjs +27 -27
  27. package/{esm2020 → esm2022}/lib/models/app-tile-footer-section.mjs +1 -1
  28. package/{esm2020 → esm2022}/lib/models/app-tile-footer.mjs +1 -1
  29. package/{esm2020 → esm2022}/lib/models/app-tile-group-pin.mjs +1 -1
  30. package/esm2022/lib/models/base-bt-tile-component.mjs +26 -0
  31. package/{esm2020 → esm2022}/lib/models/base-tile-component.mjs +58 -58
  32. package/{esm2020 → esm2022}/lib/models/base-tile-setting.mjs +1 -1
  33. package/{esm2020 → esm2022}/lib/models/feed-tile-setting.mjs +1 -1
  34. package/{esm2020 → esm2022}/lib/models/index.mjs +13 -13
  35. package/{esm2020 → esm2022}/lib/models/logo-tile-setting.mjs +1 -1
  36. package/{esm2020 → esm2022}/lib/models/micro-tile-chart-bullet-setting.mjs +1 -1
  37. package/{esm2020 → esm2022}/lib/models/news-tile-setting.mjs +1 -1
  38. package/{esm2020 → esm2022}/lib/models/numeric-tile-setting.mjs +1 -1
  39. package/{esm2020 → esm2022}/lib/models/profile-tile-setting.mjs +1 -1
  40. package/esm2022/lib/models/tile-setting.mjs +2 -0
  41. package/{esm2020 → esm2022}/lib/models/user-portal-settings.mjs +1 -1
  42. package/esm2022/lib/news-tile/news-tile.component.mjs +53 -0
  43. package/esm2022/lib/notification-group/notification-group.component.mjs +116 -0
  44. package/esm2022/lib/notification-group-header/notification-group-header.component.mjs +38 -0
  45. package/esm2022/lib/numeric-tile/numeric-tile.component.mjs +64 -0
  46. package/esm2022/lib/pin-tile/pin-tile.component.mjs +110 -0
  47. package/esm2022/lib/pipes/group-tiles.pipe.mjs +31 -0
  48. package/{esm2020 → esm2022}/lib/pipes/home-group.pipe.mjs +17 -17
  49. package/esm2022/lib/pipes/tile-home-filter.pipe.mjs +28 -0
  50. package/esm2022/lib/pipes/tile-prop.pipe.mjs +32 -0
  51. package/esm2022/lib/popover-app-finder/filter-apps-grouped.pipe.mjs +36 -0
  52. package/esm2022/lib/popover-app-finder/popover-app-finder.component.mjs +112 -0
  53. package/esm2022/lib/profile-tile/profile-tile.component.mjs +25 -0
  54. package/esm2022/lib/shellbar/shellbar.component.mjs +201 -0
  55. package/esm2022/lib/simple-tile/simple-tile.component.mjs +22 -0
  56. package/esm2022/lib/tile/tile.component.mjs +70 -0
  57. package/esm2022/lib/tile-renderer.directive.mjs +70 -0
  58. package/esm2022/lib/tile-style.directive.mjs +29 -0
  59. package/esm2022/lib/tiles-viewer/tiles-viewer.component.mjs +167 -0
  60. package/esm2022/lib/tiles-viewer-container/tiles-viewer-container.component.mjs +164 -0
  61. package/esm2022/lib/tiles-viewer-group/tiles-viewer-group.component.mjs +88 -0
  62. package/esm2022/lib/tiles-viewer.service.mjs +130 -0
  63. package/esm2022/lib/tiles.service.mjs +589 -0
  64. package/{esm2020 → esm2022}/public-api.mjs +46 -45
  65. package/fesm2022/barsa-tiles.mjs +3179 -0
  66. package/fesm2022/barsa-tiles.mjs.map +1 -0
  67. package/index.d.ts +5 -5
  68. package/lib/action-item/action-item.component.d.ts +6 -6
  69. package/lib/action-links.pipe.d.ts +7 -7
  70. package/lib/actions-link/actions-link.component.d.ts +17 -17
  71. package/lib/app-finder/app-finder.component.d.ts +24 -24
  72. package/lib/app-finder-app-list/app-finder-app-list.component.d.ts +20 -20
  73. package/lib/app-finder-group/app-finder-group.component.d.ts +14 -14
  74. package/lib/app-finder.service.d.ts +33 -33
  75. package/lib/barsa-shellbar/barsa-shellbar.component.d.ts +104 -97
  76. package/lib/barsa-tiles.module.d.ts +91 -86
  77. package/lib/change-app-tile/change-app-tile.component.d.ts +20 -20
  78. package/lib/create-app-group/create-app-group.component.d.ts +19 -19
  79. package/lib/directives/emptylist.directive.d.ts +14 -14
  80. package/lib/feed-tile/feed-tile.component.d.ts +11 -11
  81. package/lib/footer-edit-tile/footer-edit-tile.component.d.ts +6 -6
  82. package/lib/footer-tile/footer-tile.component.d.ts +11 -11
  83. package/lib/form-app-finder/form-app-finder.component.d.ts +38 -38
  84. package/lib/form-tile/form-tile.component.d.ts +24 -24
  85. package/lib/logo-tile/logo-tile.component.d.ts +7 -7
  86. package/lib/micro-tile-chart-area/micro-tile-chart-area.component.d.ts +8 -8
  87. package/lib/micro-tile-chart-bar/micro-tile-chart-bar.component.d.ts +12 -12
  88. package/lib/micro-tile-chart-bullet/micro-tile-chart-bullet.component.d.ts +16 -16
  89. package/lib/micro-tile-chart-circular/micro-tile-chart-circular.component.d.ts +7 -7
  90. package/lib/micro-tile-chart-comparison/micro-tile-chart-comparison.component.d.ts +8 -8
  91. package/lib/micro-tile-chart-line/micro-tile-chart-line.component.d.ts +8 -8
  92. package/lib/micro-tile-chart-stackbar/micro-tile-chart-stackbar.component.d.ts +8 -8
  93. package/lib/models/app-tile-footer-section.d.ts +6 -6
  94. package/lib/models/app-tile-footer.d.ts +8 -8
  95. package/lib/models/app-tile-group-pin.d.ts +5 -5
  96. package/lib/models/base-bt-tile-component.d.ts +9 -9
  97. package/lib/models/base-tile-component.d.ts +26 -26
  98. package/lib/models/base-tile-setting.d.ts +5 -5
  99. package/lib/models/feed-tile-setting.d.ts +7 -7
  100. package/lib/models/index.d.ts +13 -13
  101. package/lib/models/logo-tile-setting.d.ts +6 -6
  102. package/lib/models/micro-tile-chart-bullet-setting.d.ts +10 -10
  103. package/lib/models/news-tile-setting.d.ts +4 -4
  104. package/lib/models/numeric-tile-setting.d.ts +9 -9
  105. package/lib/models/profile-tile-setting.d.ts +7 -7
  106. package/lib/models/tile-setting.d.ts +10 -10
  107. package/lib/models/user-portal-settings.d.ts +9 -9
  108. package/lib/news-tile/news-tile.component.d.ts +19 -19
  109. package/lib/notification-group/notification-group.component.d.ts +54 -55
  110. package/lib/notification-group-header/notification-group-header.component.d.ts +15 -15
  111. package/lib/numeric-tile/numeric-tile.component.d.ts +16 -12
  112. package/lib/pin-tile/pin-tile.component.d.ts +30 -30
  113. package/lib/pipes/group-tiles.pipe.d.ts +14 -14
  114. package/lib/pipes/home-group.pipe.d.ts +9 -9
  115. package/lib/pipes/tile-home-filter.pipe.d.ts +8 -8
  116. package/lib/pipes/tile-prop.pipe.d.ts +8 -8
  117. package/lib/popover-app-finder/filter-apps-grouped.pipe.d.ts +13 -0
  118. package/lib/popover-app-finder/popover-app-finder.component.d.ts +39 -0
  119. package/lib/profile-tile/profile-tile.component.d.ts +7 -7
  120. package/lib/shellbar/shellbar.component.d.ts +94 -94
  121. package/lib/simple-tile/simple-tile.component.d.ts +10 -10
  122. package/lib/tile/tile.component.d.ts +22 -20
  123. package/lib/tile-renderer.directive.d.ts +28 -28
  124. package/lib/tile-style.directive.d.ts +12 -0
  125. package/lib/tiles-viewer/tiles-viewer.component.d.ts +65 -63
  126. package/lib/tiles-viewer-container/tiles-viewer-container.component.d.ts +59 -57
  127. package/lib/tiles-viewer-group/tiles-viewer-group.component.d.ts +39 -39
  128. package/lib/tiles-viewer.service.d.ts +42 -42
  129. package/lib/tiles.service.d.ts +75 -75
  130. package/package.json +7 -13
  131. package/public-api.d.ts +42 -41
  132. package/esm2020/lib/action-item/action-item.component.mjs +0 -18
  133. package/esm2020/lib/actions-link/actions-link.component.mjs +0 -42
  134. package/esm2020/lib/app-finder/app-finder.component.mjs +0 -53
  135. package/esm2020/lib/app-finder-app-list/app-finder-app-list.component.mjs +0 -40
  136. package/esm2020/lib/app-finder-group/app-finder-group.component.mjs +0 -42
  137. package/esm2020/lib/app-finder.service.mjs +0 -121
  138. package/esm2020/lib/barsa-shellbar/barsa-shellbar.component.mjs +0 -166
  139. package/esm2020/lib/barsa-tiles.module.mjs +0 -206
  140. package/esm2020/lib/change-app-tile/change-app-tile.component.mjs +0 -47
  141. package/esm2020/lib/create-app-group/create-app-group.component.mjs +0 -44
  142. package/esm2020/lib/directives/emptylist.directive.mjs +0 -36
  143. package/esm2020/lib/feed-tile/feed-tile.component.mjs +0 -32
  144. package/esm2020/lib/footer-tile/footer-tile.component.mjs +0 -28
  145. package/esm2020/lib/form-app-finder/form-app-finder.component.mjs +0 -95
  146. package/esm2020/lib/form-tile/form-tile.component.mjs +0 -35
  147. package/esm2020/lib/logo-tile/logo-tile.component.mjs +0 -23
  148. package/esm2020/lib/micro-tile-chart-bullet/micro-tile-chart-bullet.component.mjs +0 -27
  149. package/esm2020/lib/models/base-bt-tile-component.mjs +0 -30
  150. package/esm2020/lib/models/tile-setting.mjs +0 -2
  151. package/esm2020/lib/news-tile/news-tile.component.mjs +0 -54
  152. package/esm2020/lib/notification-group/notification-group.component.mjs +0 -116
  153. package/esm2020/lib/notification-group-header/notification-group-header.component.mjs +0 -39
  154. package/esm2020/lib/numeric-tile/numeric-tile.component.mjs +0 -34
  155. package/esm2020/lib/pin-tile/pin-tile.component.mjs +0 -111
  156. package/esm2020/lib/pipes/group-tiles.pipe.mjs +0 -31
  157. package/esm2020/lib/pipes/tile-home-filter.pipe.mjs +0 -28
  158. package/esm2020/lib/pipes/tile-prop.pipe.mjs +0 -32
  159. package/esm2020/lib/profile-tile/profile-tile.component.mjs +0 -26
  160. package/esm2020/lib/shellbar/shellbar.component.mjs +0 -200
  161. package/esm2020/lib/simple-tile/simple-tile.component.mjs +0 -23
  162. package/esm2020/lib/tile/tile.component.mjs +0 -61
  163. package/esm2020/lib/tile-renderer.directive.mjs +0 -70
  164. package/esm2020/lib/tiles-viewer/tiles-viewer.component.mjs +0 -157
  165. package/esm2020/lib/tiles-viewer-container/tiles-viewer-container.component.mjs +0 -158
  166. package/esm2020/lib/tiles-viewer-group/tiles-viewer-group.component.mjs +0 -88
  167. package/esm2020/lib/tiles-viewer.service.mjs +0 -130
  168. package/esm2020/lib/tiles.service.mjs +0 -589
  169. package/fesm2015/barsa-tiles.mjs +0 -2977
  170. package/fesm2015/barsa-tiles.mjs.map +0 -1
  171. package/fesm2020/barsa-tiles.mjs +0 -2941
  172. package/fesm2020/barsa-tiles.mjs.map +0 -1
@@ -1,8 +1,8 @@
1
- import { ComparisonItem } from 'barsa-echarts';
2
- import { BaseBtTileComponent, BaseTileSetting } from '../models';
3
- import * as i0 from "@angular/core";
4
- export declare class MicroTileChartComparisonComponent extends BaseBtTileComponent<BaseTileSetting> {
5
- chartData: ComparisonItem;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<MicroTileChartComparisonComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<MicroTileChartComparisonComponent, "bt-micro-tile-chart-comparison", never, {}, {}, never, never, false>;
8
- }
1
+ import { ComparisonItem } from 'barsa-echarts';
2
+ import { BaseBtTileComponent, BaseTileSetting } from '../models';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MicroTileChartComparisonComponent extends BaseBtTileComponent<BaseTileSetting> {
5
+ chartData: ComparisonItem;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<MicroTileChartComparisonComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<MicroTileChartComparisonComponent, "bt-micro-tile-chart-comparison", never, {}, {}, never, never, false, never>;
8
+ }
@@ -1,8 +1,8 @@
1
- import { LineItem } from 'barsa-echarts';
2
- import { BaseBtTileComponent, BaseTileSetting } from '../models';
3
- import * as i0 from "@angular/core";
4
- export declare class MicroTileChartLineComponent extends BaseBtTileComponent<BaseTileSetting> {
5
- chartData: LineItem;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<MicroTileChartLineComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<MicroTileChartLineComponent, "bt-micro-tile-chart-line", never, {}, {}, never, never, false>;
8
- }
1
+ import { LineItem } from 'barsa-echarts';
2
+ import { BaseBtTileComponent, BaseTileSetting } from '../models';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MicroTileChartLineComponent extends BaseBtTileComponent<BaseTileSetting> {
5
+ chartData: LineItem;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<MicroTileChartLineComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<MicroTileChartLineComponent, "bt-micro-tile-chart-line", never, {}, {}, never, never, false, never>;
8
+ }
@@ -1,8 +1,8 @@
1
- import { StackbarItem } from 'barsa-echarts';
2
- import { BaseBtTileComponent, BaseTileSetting } from '../models';
3
- import * as i0 from "@angular/core";
4
- export declare class MicroTileChartStackbarComponent extends BaseBtTileComponent<BaseTileSetting> {
5
- charData: StackbarItem;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<MicroTileChartStackbarComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<MicroTileChartStackbarComponent, "bt-micro-tile-chart-stackbar", never, {}, {}, never, never, false>;
8
- }
1
+ import { StackbarItem } from 'barsa-echarts';
2
+ import { BaseBtTileComponent, BaseTileSetting } from '../models';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MicroTileChartStackbarComponent extends BaseBtTileComponent<BaseTileSetting> {
5
+ charData: StackbarItem;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<MicroTileChartStackbarComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<MicroTileChartStackbarComponent, "bt-micro-tile-chart-stackbar", never, {}, {}, never, never, false, never>;
8
+ }
@@ -1,6 +1,6 @@
1
- import { MetaobjectDataModel } from 'barsa-novin-ray-core';
2
- export interface AppTileFooterSection extends MetaobjectDataModel {
3
- Icon: string;
4
- Text: string;
5
- DynamicCommand: MetaobjectDataModel;
6
- }
1
+ import { MetaobjectDataModel } from 'barsa-novin-ray-core';
2
+ export interface AppTileFooterSection extends MetaobjectDataModel {
3
+ Icon: string;
4
+ Text: string;
5
+ DynamicCommand: MetaobjectDataModel;
6
+ }
@@ -1,8 +1,8 @@
1
- import { MetaobjectDataModel } from 'barsa-novin-ray-core';
2
- import { AppTileFooterSection } from './app-tile-footer-section';
3
- export interface AppTileFooter extends MetaobjectDataModel {
4
- EditMode: boolean;
5
- TwoColumn: boolean;
6
- FirstSection: AppTileFooterSection;
7
- SecondSection: AppTileFooterSection;
8
- }
1
+ import { MetaobjectDataModel } from 'barsa-novin-ray-core';
2
+ import { AppTileFooterSection } from './app-tile-footer-section';
3
+ export interface AppTileFooter extends MetaobjectDataModel {
4
+ EditMode: boolean;
5
+ TwoColumn: boolean;
6
+ FirstSection: AppTileFooterSection;
7
+ SecondSection: AppTileFooterSection;
8
+ }
@@ -1,5 +1,5 @@
1
- import { MetaobjectDataModel } from 'barsa-novin-ray-core';
2
- export interface AppTileGroupPin {
3
- appTileGroup: MetaobjectDataModel;
4
- visible: boolean;
5
- }
1
+ import { MetaobjectDataModel } from 'barsa-novin-ray-core';
2
+ export interface AppTileGroupPin {
3
+ appTileGroup: MetaobjectDataModel;
4
+ visible: boolean;
5
+ }
@@ -1,9 +1,9 @@
1
- import { OnInit } from '@angular/core';
2
- import { BaseTileComponent } from './base-tile-component';
3
- import { BaseTileSetting } from './base-tile-setting';
4
- import * as i0 from "@angular/core";
5
- export declare abstract class BaseBtTileComponent<T extends BaseTileSetting> extends BaseTileComponent<T> implements OnInit {
6
- ngOnInit(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseBtTileComponent<any>, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<BaseBtTileComponent<any>, "bt-base-bt-tile", never, {}, {}, never, never, false>;
9
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { BaseTileComponent } from './base-tile-component';
3
+ import { BaseTileSetting } from './base-tile-setting';
4
+ import * as i0 from "@angular/core";
5
+ export declare abstract class BaseBtTileComponent<T extends BaseTileSetting> extends BaseTileComponent<T> implements OnInit {
6
+ ngOnInit(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseBtTileComponent<any>, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseBtTileComponent<any>, "bt-base-bt-tile", never, {}, {}, never, never, false, never>;
9
+ }
@@ -1,26 +1,26 @@
1
- import { ChangeDetectorRef, ElementRef, OnInit, Renderer2 } from '@angular/core';
2
- import { AppTileFooter } from './app-tile-footer';
3
- import { BaseTileSetting } from './base-tile-setting';
4
- import { TileSetting } from './tile-setting';
5
- import { TilePropsComponent } from 'barsa-novin-ray-core';
6
- import { TilesService } from '../tiles.service';
7
- import * as i0 from "@angular/core";
8
- export declare abstract class BaseTileComponent<T extends BaseTileSetting> extends TilePropsComponent implements OnInit {
9
- el: ElementRef;
10
- protected _renderer2: Renderer2;
11
- protected _cdr: ChangeDetectorRef;
12
- protected _tilesService: TilesService;
13
- constructor(el: ElementRef, _renderer2: Renderer2, _cdr: ChangeDetectorRef, _tilesService: TilesService);
14
- get settings(): T;
15
- get backColor(): string;
16
- get title(): string;
17
- get subtitle(): string;
18
- get double(): boolean;
19
- get badge(): string;
20
- get footer(): AppTileFooter;
21
- get tileSetting(): TileSetting;
22
- setEditHome(val: boolean): void;
23
- onTileClick(): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseTileComponent<any>, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<BaseTileComponent<any>, "bt-base-tile", never, {}, {}, never, never, false>;
26
- }
1
+ import { ChangeDetectorRef, ElementRef, OnInit, Renderer2 } from '@angular/core';
2
+ import { AppTileFooter } from './app-tile-footer';
3
+ import { BaseTileSetting } from './base-tile-setting';
4
+ import { TileSetting } from './tile-setting';
5
+ import { TilePropsComponent } from 'barsa-novin-ray-core';
6
+ import { TilesService } from '../tiles.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare abstract class BaseTileComponent<T extends BaseTileSetting> extends TilePropsComponent implements OnInit {
9
+ el: ElementRef;
10
+ protected _renderer2: Renderer2;
11
+ protected _cdr: ChangeDetectorRef;
12
+ protected _tilesService: TilesService;
13
+ constructor(el: ElementRef, _renderer2: Renderer2, _cdr: ChangeDetectorRef, _tilesService: TilesService);
14
+ get settings(): T;
15
+ get backColor(): string;
16
+ get title(): string;
17
+ get subtitle(): string;
18
+ get double(): boolean;
19
+ get badge(): string;
20
+ get footer(): AppTileFooter;
21
+ get tileSetting(): TileSetting;
22
+ setEditHome(val: boolean): void;
23
+ onTileClick(): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseTileComponent<any>, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseTileComponent<any>, "bt-base-tile", never, {}, {}, never, never, false, never>;
26
+ }
@@ -1,5 +1,5 @@
1
- import { MetaobjectDataModel } from 'barsa-novin-ray-core';
2
- import { TileSetting } from './tile-setting';
3
- export interface BaseTileSetting extends MetaobjectDataModel {
4
- TileSetting: TileSetting;
5
- }
1
+ import { MetaobjectDataModel } from 'barsa-novin-ray-core';
2
+ import { TileSetting } from './tile-setting';
3
+ export interface BaseTileSetting extends MetaobjectDataModel {
4
+ TileSetting: TileSetting;
5
+ }
@@ -1,7 +1,7 @@
1
- import { BaseTileSetting } from './base-tile-setting';
2
- export interface FeedTileSetting extends BaseTileSetting {
3
- TwoColumn: boolean;
4
- ContentText: string;
5
- ContentByLine: string;
6
- ContentKpi: string;
7
- }
1
+ import { BaseTileSetting } from './base-tile-setting';
2
+ export interface FeedTileSetting extends BaseTileSetting {
3
+ TwoColumn: boolean;
4
+ ContentText: string;
5
+ ContentByLine: string;
6
+ ContentKpi: string;
7
+ }
@@ -1,13 +1,13 @@
1
- export * from './app-tile-footer';
2
- export * from './app-tile-footer-section';
3
- export * from './tile-setting';
4
- export * from './base-tile-setting';
5
- export * from './base-tile-component';
6
- export * from './base-bt-tile-component';
7
- export * from './feed-tile-setting';
8
- export * from './profile-tile-setting';
9
- export * from './logo-tile-setting';
10
- export * from './numeric-tile-setting';
11
- export * from './user-portal-settings';
12
- export * from './news-tile-setting';
13
- export * from './app-tile-group-pin';
1
+ export * from './app-tile-footer';
2
+ export * from './app-tile-footer-section';
3
+ export * from './tile-setting';
4
+ export * from './base-tile-setting';
5
+ export * from './base-tile-component';
6
+ export * from './base-bt-tile-component';
7
+ export * from './feed-tile-setting';
8
+ export * from './profile-tile-setting';
9
+ export * from './logo-tile-setting';
10
+ export * from './numeric-tile-setting';
11
+ export * from './user-portal-settings';
12
+ export * from './news-tile-setting';
13
+ export * from './app-tile-group-pin';
@@ -1,6 +1,6 @@
1
- import { FilePictureInfoModel } from 'barsa-novin-ray-core';
2
- import { BaseTileSetting } from './base-tile-setting';
3
- export interface LogoTileSetting extends BaseTileSetting {
4
- Logo: FilePictureInfoModel;
5
- CalcLogo: FilePictureInfoModel;
6
- }
1
+ import { FilePictureInfoModel } from 'barsa-novin-ray-core';
2
+ import { BaseTileSetting } from './base-tile-setting';
3
+ export interface LogoTileSetting extends BaseTileSetting {
4
+ Logo: FilePictureInfoModel;
5
+ CalcLogo: FilePictureInfoModel;
6
+ }
@@ -1,10 +1,10 @@
1
- import { BaseTileSetting } from './base-tile-setting';
2
- export interface MicroTileChartBulletSetting extends BaseTileSetting {
3
- Target: number;
4
- Value: number;
5
- Range: number;
6
- Forecast: number;
7
- Suffix: string;
8
- SeparatorLines: number;
9
- IsDelta: boolean;
10
- }
1
+ import { BaseTileSetting } from './base-tile-setting';
2
+ export interface MicroTileChartBulletSetting extends BaseTileSetting {
3
+ Target: number;
4
+ Value: number;
5
+ Range: number;
6
+ Forecast: number;
7
+ Suffix: string;
8
+ SeparatorLines: number;
9
+ IsDelta: boolean;
10
+ }
@@ -1,4 +1,4 @@
1
- import { BaseTileSetting } from './base-tile-setting';
2
- export interface NewsTileSetting extends BaseTileSetting {
3
- Report: any;
4
- }
1
+ import { BaseTileSetting } from './base-tile-setting';
2
+ export interface NewsTileSetting extends BaseTileSetting {
3
+ Report: any;
4
+ }
@@ -1,9 +1,9 @@
1
- import { BaseTileSetting } from './base-tile-setting';
2
- export interface NumericTileSetting extends BaseTileSetting {
3
- LaunchIcon: string;
4
- ContentKpi: string;
5
- ContentKpiState: 'positive' | 'negative';
6
- ScaleState: 'positive' | 'negative';
7
- ScaleText: string;
8
- ScaleArrowIcon: string;
9
- }
1
+ import { BaseTileSetting } from './base-tile-setting';
2
+ export interface NumericTileSetting extends BaseTileSetting {
3
+ LaunchIcon: string;
4
+ ContentKpi: string;
5
+ ContentKpiState: 'positive' | 'negative';
6
+ ScaleState: 'positive' | 'negative';
7
+ ScaleText: string;
8
+ ScaleArrowIcon: string;
9
+ }
@@ -1,7 +1,7 @@
1
- import { FilePictureInfoModel } from 'barsa-novin-ray-core';
2
- import { BaseTileSetting } from './base-tile-setting';
3
- export interface ProfileTileSetting extends BaseTileSetting {
4
- Icon: string;
5
- Image: FilePictureInfoModel;
6
- CalcImage: string;
7
- }
1
+ import { FilePictureInfoModel } from 'barsa-novin-ray-core';
2
+ import { BaseTileSetting } from './base-tile-setting';
3
+ export interface ProfileTileSetting extends BaseTileSetting {
4
+ Icon: string;
5
+ Image: FilePictureInfoModel;
6
+ CalcImage: string;
7
+ }
@@ -1,10 +1,10 @@
1
- import { MetaobjectDataModel } from 'barsa-novin-ray-core';
2
- import { AppTileFooter } from './app-tile-footer';
3
- export interface TileSetting extends MetaobjectDataModel {
4
- Title: string;
5
- Subtitle: string;
6
- IsDouble: boolean;
7
- Badge: string;
8
- BackColor: string;
9
- Footer: AppTileFooter;
10
- }
1
+ import { MetaobjectDataModel } from 'barsa-novin-ray-core';
2
+ import { AppTileFooter } from './app-tile-footer';
3
+ export interface TileSetting extends MetaobjectDataModel {
4
+ Title: string;
5
+ Subtitle: string;
6
+ IsDouble: boolean;
7
+ Badge: string;
8
+ BackColor: string;
9
+ Footer: AppTileFooter;
10
+ }
@@ -1,9 +1,9 @@
1
- import { ContentDensity } from '@fundamental-ngx/core';
2
- import { MetaobjectDataModel } from 'barsa-novin-ray-core';
3
- export interface UserPortalSettings extends MetaobjectDataModel {
4
- TilesStackConent?: boolean;
5
- Theme?: number;
6
- Theme$Caption?: string;
7
- ContentDensity?: number;
8
- ContentDensity$Caption?: ContentDensity;
9
- }
1
+ import { ContentDensity } from '@fundamental-ngx/core';
2
+ import { MetaobjectDataModel } from 'barsa-novin-ray-core';
3
+ export interface UserPortalSettings extends MetaobjectDataModel {
4
+ TilesStackConent?: boolean;
5
+ Theme?: number;
6
+ Theme$Caption?: string;
7
+ ContentDensity?: number;
8
+ ContentDensity$Caption?: ContentDensity;
9
+ }
@@ -1,19 +1,19 @@
1
- import { OnInit } from '@angular/core';
2
- import { CarouselComponent, CarouselItemComponent } from '@fundamental-ngx/core';
3
- import { MetaobjectDataModel } from 'barsa-novin-ray-core';
4
- import { BaseBtTileComponent, NewsTileSetting } from '../models';
5
- import * as i0 from "@angular/core";
6
- export declare class NewsTileComponent extends BaseBtTileComponent<NewsTileSetting> implements OnInit {
7
- carouselComponent: CarouselComponent;
8
- slides: MetaobjectDataModel[];
9
- activeNews: MetaobjectDataModel;
10
- isStop: boolean;
11
- get twoColumn(): boolean;
12
- ngOnInit(): void;
13
- slideChange(activeSlide: {
14
- activeItems: CarouselItemComponent[];
15
- }): void;
16
- private _updateTile;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<NewsTileComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<NewsTileComponent, "bt-news-tile", never, {}, {}, never, never, false>;
19
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { CarouselComponent, CarouselItemComponent } from '@fundamental-ngx/core';
3
+ import { MetaobjectDataModel } from 'barsa-novin-ray-core';
4
+ import { BaseBtTileComponent, NewsTileSetting } from '../models';
5
+ import * as i0 from "@angular/core";
6
+ export declare class NewsTileComponent extends BaseBtTileComponent<NewsTileSetting> implements OnInit {
7
+ carouselComponent: CarouselComponent;
8
+ slides: MetaobjectDataModel[];
9
+ activeNews: MetaobjectDataModel;
10
+ isStop: boolean;
11
+ get twoColumn(): boolean;
12
+ ngOnInit(): void;
13
+ slideChange(activeSlide: {
14
+ activeItems: CarouselItemComponent[];
15
+ }): void;
16
+ private _updateTile;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<NewsTileComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<NewsTileComponent, "bt-news-tile", never, {}, {}, never, never, false, never>;
19
+ }
@@ -1,55 +1,54 @@
1
- import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { BaseComponent, GroupByItem, GroupByPipe, IntersectionStatus, MetaobjectDataModel, WorkflowExecuteChoiceStatus, NotificationItem, NotificationAction } from 'barsa-novin-ray-core';
3
- import { AbbrevationDeviceSize } from 'barsa-novin-ray-core';
4
- import * as i0 from "@angular/core";
5
- export declare class NotificationGroupComponent extends BaseComponent implements OnInit, OnChanges {
6
- private _groupByPipe;
7
- private _cdr;
8
- notifications: NotificationItem[] | null;
9
- loading: boolean;
10
- deviceSize: AbbrevationDeviceSize;
11
- notificationCount: {
12
- unread: number;
13
- all: number;
14
- };
15
- _deviceSize: string;
16
- viewed: EventEmitter<NotificationItem>;
17
- remove: EventEmitter<{
18
- items: NotificationItem[];
19
- silent: boolean;
20
- }>;
21
- actionClick: EventEmitter<{
22
- item: NotificationItem;
23
- btn: NotificationAction;
24
- }>;
25
- show: EventEmitter<{
26
- tag: string;
27
- mo: MetaobjectDataModel;
28
- nama: string;
29
- }>;
30
- loadMore: EventEmitter<void>;
31
- expanded: Record<string, boolean>;
32
- tabList: {
33
- title: string;
34
- groupByItems: GroupByItem[];
35
- }[];
36
- viewedNotifications: NotificationItem[];
37
- constructor(_groupByPipe: GroupByPipe, _cdr: ChangeDetectorRef);
38
- ngOnInit(): void;
39
- ngOnChanges(changes: SimpleChanges): void;
40
- applyGroupByItems(notifications: NotificationItem[] | null): void;
41
- _trackByTitle(_index: number, _: {
42
- title: string;
43
- groupByItems: GroupByItem[];
44
- }): number | string;
45
- _trackByKey(_index: number, item: {
46
- id: string;
47
- key: string;
48
- value: any;
49
- }): number | string;
50
- _trackMoById(_index: number, mo: MetaobjectDataModel): number | string;
51
- onVisibilityChange(e: IntersectionStatus, mo: NotificationItem, isLast: boolean): void;
52
- onWorkflowExecuteChoiceStatusChanged(e: WorkflowExecuteChoiceStatus, mo: NotificationItem): void;
53
- static ɵfac: i0.ɵɵFactoryDeclaration<NotificationGroupComponent, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<NotificationGroupComponent, "bt-notification-group", never, { "notifications": "notifications"; "loading": "loading"; "deviceSize": "deviceSize"; "notificationCount": "notificationCount"; }, { "viewed": "viewed"; "remove": "remove"; "actionClick": "actionClick"; "show": "show"; "loadMore": "loadMore"; }, never, never, false>;
55
- }
1
+ import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { BaseComponent, GroupByItem, GroupByPipe, IntersectionStatus, MetaobjectDataModel, WorkflowExecuteChoiceStatus, NotificationItem, NotificationAction, AbbrevationDeviceSize } from 'barsa-novin-ray-core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NotificationGroupComponent extends BaseComponent implements OnInit, OnChanges {
5
+ private _groupByPipe;
6
+ private _cdr;
7
+ notifications: NotificationItem[] | null;
8
+ loading: boolean;
9
+ deviceSize: AbbrevationDeviceSize;
10
+ notificationCount: {
11
+ unread: number;
12
+ all: number;
13
+ };
14
+ _deviceSize: string;
15
+ viewed: EventEmitter<NotificationItem>;
16
+ remove: EventEmitter<{
17
+ items: NotificationItem[];
18
+ silent: boolean;
19
+ }>;
20
+ actionClick: EventEmitter<{
21
+ item: NotificationItem;
22
+ btn: NotificationAction;
23
+ }>;
24
+ showEvent: EventEmitter<{
25
+ tag: string;
26
+ mo: MetaobjectDataModel;
27
+ nama: string;
28
+ }>;
29
+ loadMore: EventEmitter<void>;
30
+ expanded: Record<string, boolean>;
31
+ tabList: {
32
+ title: string;
33
+ groupByItems: GroupByItem[];
34
+ }[];
35
+ viewedNotifications: NotificationItem[];
36
+ constructor(_groupByPipe: GroupByPipe, _cdr: ChangeDetectorRef);
37
+ ngOnInit(): void;
38
+ ngOnChanges(changes: SimpleChanges): void;
39
+ applyGroupByItems(notifications: NotificationItem[] | null): void;
40
+ _trackByTitle(_index: number, _: {
41
+ title: string;
42
+ groupByItems: GroupByItem[];
43
+ }): number | string;
44
+ _trackByKey(_index: number, item: {
45
+ id: string;
46
+ key: string;
47
+ value: any;
48
+ }): number | string;
49
+ _trackMoById(_index: number, mo: MetaobjectDataModel): number | string;
50
+ onVisibilityChange(e: IntersectionStatus, mo: NotificationItem, isLast: boolean): void;
51
+ onWorkflowExecuteChoiceStatusChanged(e: WorkflowExecuteChoiceStatus, mo: NotificationItem): void;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationGroupComponent, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationGroupComponent, "bt-notification-group", never, { "notifications": { "alias": "notifications"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "deviceSize": { "alias": "deviceSize"; "required": false; }; "notificationCount": { "alias": "notificationCount"; "required": false; }; }, { "viewed": "viewed"; "remove": "remove"; "actionClick": "actionClick"; "showEvent": "showEvent"; "loadMore": "loadMore"; }, never, never, false, never>;
54
+ }
@@ -1,15 +1,15 @@
1
- import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { BaseComponent, NotificationItem } from 'barsa-novin-ray-core';
3
- import * as i0 from "@angular/core";
4
- export declare class NotificationGroupHeaderComponent extends BaseComponent implements OnInit, OnChanges {
5
- private _cdr;
6
- notifications: NotificationItem[];
7
- title: string;
8
- unreadCount: number;
9
- constructor(_cdr: ChangeDetectorRef);
10
- ngOnInit(): void;
11
- ngOnChanges(changes: SimpleChanges): void;
12
- private setUnreadCount;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<NotificationGroupHeaderComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<NotificationGroupHeaderComponent, "bt-notification-group-header", never, { "notifications": "notifications"; "title": "title"; }, {}, never, never, false>;
15
- }
1
+ import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { BaseComponent, NotificationItem } from 'barsa-novin-ray-core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NotificationGroupHeaderComponent extends BaseComponent implements OnInit, OnChanges {
5
+ private _cdr;
6
+ notifications: NotificationItem[];
7
+ title: string;
8
+ unreadCount: number;
9
+ constructor(_cdr: ChangeDetectorRef);
10
+ ngOnInit(): void;
11
+ ngOnChanges(changes: SimpleChanges): void;
12
+ private setUnreadCount;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationGroupHeaderComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationGroupHeaderComponent, "bt-notification-group-header", never, { "notifications": { "alias": "notifications"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, never, false, never>;
15
+ }
@@ -1,12 +1,16 @@
1
- import { BaseBtTileComponent, NumericTileSetting } from '../models';
2
- import * as i0 from "@angular/core";
3
- export declare class NumericTileComponent extends BaseBtTileComponent<NumericTileSetting> {
4
- get launchIcon(): string;
5
- get kpiState(): 'positive' | 'negative';
6
- get kpi(): string;
7
- get scaleState(): 'positive' | 'negative';
8
- get scaleText(): string;
9
- get scaleArrowIcon(): string;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<NumericTileComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<NumericTileComponent, "bt-numeric-tile", never, {}, {}, never, never, false>;
12
- }
1
+ import { BaseBtTileComponent, NumericTileSetting } from '../models';
2
+ import { NumericContentState } from '@fundamental-ngx/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NumericTileComponent extends BaseBtTileComponent<NumericTileSetting> {
5
+ kpiStateIsColor: boolean;
6
+ scalseStateIsColor: boolean;
7
+ ngOnInit(): void;
8
+ get launchIcon(): string;
9
+ get kpiState(): NumericContentState;
10
+ get kpi(): string;
11
+ get scaleState(): NumericContentState;
12
+ get scaleText(): string;
13
+ get scaleArrowIcon(): string;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumericTileComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<NumericTileComponent, "bt-numeric-tile", never, {}, {}, never, never, false, never>;
16
+ }
@@ -1,30 +1,30 @@
1
- import { OnInit } from '@angular/core';
2
- import { DialogRef, DialogService } from '@fundamental-ngx/core';
3
- import { BaseComponent, MetaobjectDataModel, BbbTranslatePipe } from 'barsa-novin-ray-core';
4
- import { AppTileGroupPin } from '../models';
5
- import * as i0 from "@angular/core";
6
- export declare class PinTileComponent extends BaseComponent implements OnInit {
7
- _dialogService: DialogService;
8
- _dialogRef: DialogRef;
9
- private bbbPipe;
10
- app: MetaobjectDataModel;
11
- appTileGroups: MetaobjectDataModel[];
12
- mobile: boolean;
13
- pin: boolean;
14
- newGroupDialogRef: DialogRef;
15
- newGroupText: string;
16
- pinnedAppInTileGroups: {
17
- [key: string]: string[];
18
- };
19
- constructor(_dialogService: DialogService, _dialogRef: DialogRef, bbbPipe: BbbTranslatePipe);
20
- ngOnInit(): void;
21
- onAccept(): void;
22
- onClose(): void;
23
- onNewGroup(): void;
24
- _setLoading(loading: any): void;
25
- _setDefaultPinTile(appTileGroup: MetaobjectDataModel, tileGroupsId: string[]): void;
26
- _getChangedPinTileGroups(appTileGroup: MetaobjectDataModel, appTileGroupsPin: AppTileGroupPin[]): void;
27
- _close(result?: any): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<PinTileComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<PinTileComponent, "bt-pin-tile", never, { "app": "app"; "appTileGroups": "appTileGroups"; "mobile": "mobile"; "pin": "pin"; }, {}, never, never, false>;
30
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { DialogRef, DialogService } from '@fundamental-ngx/core';
3
+ import { BaseComponent, MetaobjectDataModel, BbbTranslatePipe } from 'barsa-novin-ray-core';
4
+ import { AppTileGroupPin } from '../models';
5
+ import * as i0 from "@angular/core";
6
+ export declare class PinTileComponent extends BaseComponent implements OnInit {
7
+ _dialogService: DialogService;
8
+ _dialogRef: DialogRef;
9
+ private bbbPipe;
10
+ app: MetaobjectDataModel;
11
+ appTileGroups: MetaobjectDataModel[];
12
+ mobile: boolean;
13
+ pin: boolean;
14
+ newGroupDialogRef: DialogRef;
15
+ newGroupText: string;
16
+ pinnedAppInTileGroups: {
17
+ [key: string]: string[];
18
+ };
19
+ constructor(_dialogService: DialogService, _dialogRef: DialogRef, bbbPipe: BbbTranslatePipe);
20
+ ngOnInit(): void;
21
+ onAccept(): void;
22
+ onClose(): void;
23
+ onNewGroup(): void;
24
+ _setLoading(loading: any): void;
25
+ _setDefaultPinTile(appTileGroup: MetaobjectDataModel, tileGroupsId: string[]): void;
26
+ _getChangedPinTileGroups(appTileGroup: MetaobjectDataModel, appTileGroupsPin: AppTileGroupPin[]): void;
27
+ _close(result?: any): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<PinTileComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<PinTileComponent, "bt-pin-tile", never, { "app": { "alias": "app"; "required": false; }; "appTileGroups": { "alias": "appTileGroups"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "pin": { "alias": "pin"; "required": false; }; }, {}, never, never, false, never>;
30
+ }