barsa-tiles 1.0.455 → 1.0.457
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/fesm2022/barsa-tiles.mjs +3609 -0
- package/fesm2022/barsa-tiles.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/action-item/action-item.component.d.ts +6 -6
- package/lib/action-links.pipe.d.ts +7 -7
- package/lib/actions-link/actions-link.component.d.ts +20 -17
- package/lib/app-finder/app-finder.component.d.ts +24 -24
- package/lib/app-finder-app-list/app-finder-app-list.component.d.ts +20 -20
- package/lib/app-finder-group/app-finder-group.component.d.ts +14 -14
- package/lib/app-finder.service.d.ts +33 -33
- package/lib/barsa-pin-app/barsa-pin-app.component.d.ts +14 -0
- package/lib/barsa-shellbar/barsa-shellbar.component.d.ts +117 -97
- package/lib/barsa-tile-group-page/barsa-tile-group-page.component.d.ts +40 -0
- package/lib/barsa-tile-sidebar-page/barsa-tile-sidebar-page.component.d.ts +20 -0
- package/lib/barsa-tiles-routing.module.d.ts +45 -0
- package/lib/barsa-tiles.module.d.ts +102 -86
- package/lib/change-app-tile/change-app-tile.component.d.ts +20 -20
- package/lib/create-app-group/create-app-group.component.d.ts +19 -19
- package/lib/directives/emptylist.directive.d.ts +14 -14
- package/lib/feed-tile/feed-tile.component.d.ts +11 -11
- package/lib/footer-edit-tile/footer-edit-tile.component.d.ts +6 -6
- package/lib/footer-tile/footer-tile.component.d.ts +10 -11
- package/lib/form-app-finder/form-app-finder.component.d.ts +38 -38
- package/lib/form-tile/form-tile.component.d.ts +24 -24
- package/lib/logo-tile/logo-tile.component.d.ts +7 -7
- package/lib/micro-tile-chart-area/micro-tile-chart-area.component.d.ts +8 -8
- package/lib/micro-tile-chart-bar/micro-tile-chart-bar.component.d.ts +6 -12
- package/lib/micro-tile-chart-bullet/micro-tile-chart-bullet.component.d.ts +16 -16
- package/lib/micro-tile-chart-circular/micro-tile-chart-circular.component.d.ts +7 -7
- package/lib/micro-tile-chart-comparison/micro-tile-chart-comparison.component.d.ts +8 -8
- package/lib/micro-tile-chart-line/micro-tile-chart-line.component.d.ts +8 -8
- package/lib/micro-tile-chart-stackbar/micro-tile-chart-stackbar.component.d.ts +8 -8
- package/lib/models/app-tile-footer-section.d.ts +6 -6
- package/lib/models/app-tile-footer.d.ts +8 -8
- package/lib/models/app-tile-group-pin.d.ts +5 -5
- package/lib/models/base-bt-tile-component.d.ts +9 -9
- package/lib/models/base-tile-component.d.ts +26 -26
- package/lib/models/base-tile-setting.d.ts +9 -5
- package/lib/models/feed-tile-setting.d.ts +7 -7
- package/lib/models/index.d.ts +13 -13
- package/lib/models/logo-tile-setting.d.ts +6 -6
- package/lib/models/micro-tile-chart-bullet-setting.d.ts +10 -10
- package/lib/models/news-tile-setting.d.ts +4 -4
- package/lib/models/numeric-tile-setting.d.ts +9 -9
- package/lib/models/profile-tile-setting.d.ts +7 -7
- package/lib/models/tile-setting.d.ts +10 -10
- package/lib/models/user-portal-settings.d.ts +9 -9
- package/lib/news-tile/news-tile.component.d.ts +19 -19
- package/lib/notification-group/notification-group.component.d.ts +54 -55
- package/lib/notification-group-header/notification-group-header.component.d.ts +15 -15
- package/lib/numeric-tile/numeric-tile.component.d.ts +16 -12
- package/lib/pin-tile/pin-tile.component.d.ts +30 -30
- package/lib/pipes/group-tiles.pipe.d.ts +14 -14
- package/lib/pipes/home-group.pipe.d.ts +9 -9
- package/lib/pipes/tile-home-filter.pipe.d.ts +8 -8
- package/lib/pipes/tile-prop.pipe.d.ts +8 -8
- package/lib/popover-app-finder/filter-apps-grouped.pipe.d.ts +13 -0
- package/lib/popover-app-finder/popover-app-finder.component.d.ts +39 -0
- package/lib/profile-tile/profile-tile.component.d.ts +15 -7
- package/lib/shellbar/shellbar.component.d.ts +108 -94
- package/lib/simple-tile/simple-tile.component.d.ts +13 -10
- package/lib/tile/tile.component.d.ts +30 -20
- package/lib/tile-renderer.directive.d.ts +33 -28
- package/lib/tile-size.directive.d.ts +12 -0
- package/lib/tile-style.directive.d.ts +12 -0
- package/lib/tiles-viewer/tiles-viewer.component.d.ts +70 -63
- package/lib/tiles-viewer-container/tiles-viewer-container.component.d.ts +68 -57
- package/lib/tiles-viewer-group/tiles-viewer-group.component.d.ts +39 -39
- package/lib/tiles-viewer.service.d.ts +42 -42
- package/lib/tiles.service.d.ts +78 -75
- package/package.json +5 -13
- package/public-api.d.ts +45 -41
- package/esm2020/barsa-tiles.mjs +0 -5
- package/esm2020/lib/action-item/action-item.component.mjs +0 -18
- package/esm2020/lib/action-links.pipe.mjs +0 -16
- package/esm2020/lib/actions-link/actions-link.component.mjs +0 -42
- package/esm2020/lib/app-finder/app-finder.component.mjs +0 -53
- package/esm2020/lib/app-finder-app-list/app-finder-app-list.component.mjs +0 -40
- package/esm2020/lib/app-finder-group/app-finder-group.component.mjs +0 -42
- package/esm2020/lib/app-finder.service.mjs +0 -121
- package/esm2020/lib/barsa-shellbar/barsa-shellbar.component.mjs +0 -166
- package/esm2020/lib/barsa-tiles.module.mjs +0 -206
- package/esm2020/lib/change-app-tile/change-app-tile.component.mjs +0 -47
- package/esm2020/lib/create-app-group/create-app-group.component.mjs +0 -44
- package/esm2020/lib/directives/emptylist.directive.mjs +0 -36
- package/esm2020/lib/feed-tile/feed-tile.component.mjs +0 -32
- package/esm2020/lib/footer-edit-tile/footer-edit-tile.component.mjs +0 -13
- package/esm2020/lib/footer-tile/footer-tile.component.mjs +0 -28
- package/esm2020/lib/form-app-finder/form-app-finder.component.mjs +0 -95
- package/esm2020/lib/form-tile/form-tile.component.mjs +0 -35
- package/esm2020/lib/logo-tile/logo-tile.component.mjs +0 -23
- package/esm2020/lib/micro-tile-chart-area/micro-tile-chart-area.component.mjs +0 -40
- package/esm2020/lib/micro-tile-chart-bar/micro-tile-chart-bar.component.mjs +0 -29
- package/esm2020/lib/micro-tile-chart-bullet/micro-tile-chart-bullet.component.mjs +0 -27
- package/esm2020/lib/micro-tile-chart-circular/micro-tile-chart-circular.component.mjs +0 -20
- package/esm2020/lib/micro-tile-chart-comparison/micro-tile-chart-comparison.component.mjs +0 -31
- package/esm2020/lib/micro-tile-chart-line/micro-tile-chart-line.component.mjs +0 -32
- package/esm2020/lib/micro-tile-chart-stackbar/micro-tile-chart-stackbar.component.mjs +0 -27
- package/esm2020/lib/models/app-tile-footer-section.mjs +0 -2
- package/esm2020/lib/models/app-tile-footer.mjs +0 -2
- package/esm2020/lib/models/app-tile-group-pin.mjs +0 -2
- package/esm2020/lib/models/base-bt-tile-component.mjs +0 -30
- package/esm2020/lib/models/base-tile-component.mjs +0 -58
- package/esm2020/lib/models/base-tile-setting.mjs +0 -2
- package/esm2020/lib/models/feed-tile-setting.mjs +0 -2
- package/esm2020/lib/models/index.mjs +0 -14
- package/esm2020/lib/models/logo-tile-setting.mjs +0 -2
- package/esm2020/lib/models/micro-tile-chart-bullet-setting.mjs +0 -2
- package/esm2020/lib/models/news-tile-setting.mjs +0 -2
- package/esm2020/lib/models/numeric-tile-setting.mjs +0 -2
- package/esm2020/lib/models/profile-tile-setting.mjs +0 -2
- package/esm2020/lib/models/tile-setting.mjs +0 -2
- package/esm2020/lib/models/user-portal-settings.mjs +0 -2
- package/esm2020/lib/news-tile/news-tile.component.mjs +0 -54
- package/esm2020/lib/notification-group/notification-group.component.mjs +0 -116
- package/esm2020/lib/notification-group-header/notification-group-header.component.mjs +0 -39
- package/esm2020/lib/numeric-tile/numeric-tile.component.mjs +0 -34
- package/esm2020/lib/pin-tile/pin-tile.component.mjs +0 -111
- package/esm2020/lib/pipes/group-tiles.pipe.mjs +0 -31
- package/esm2020/lib/pipes/home-group.pipe.mjs +0 -17
- package/esm2020/lib/pipes/tile-home-filter.pipe.mjs +0 -28
- package/esm2020/lib/pipes/tile-prop.pipe.mjs +0 -32
- package/esm2020/lib/profile-tile/profile-tile.component.mjs +0 -26
- package/esm2020/lib/shellbar/shellbar.component.mjs +0 -200
- package/esm2020/lib/simple-tile/simple-tile.component.mjs +0 -23
- package/esm2020/lib/tile/tile.component.mjs +0 -61
- package/esm2020/lib/tile-renderer.directive.mjs +0 -70
- package/esm2020/lib/tiles-viewer/tiles-viewer.component.mjs +0 -157
- package/esm2020/lib/tiles-viewer-container/tiles-viewer-container.component.mjs +0 -158
- package/esm2020/lib/tiles-viewer-group/tiles-viewer-group.component.mjs +0 -88
- package/esm2020/lib/tiles-viewer.service.mjs +0 -130
- package/esm2020/lib/tiles.service.mjs +0 -589
- package/esm2020/public-api.mjs +0 -45
- package/fesm2015/barsa-tiles.mjs +0 -2977
- package/fesm2015/barsa-tiles.mjs.map +0 -1
- package/fesm2020/barsa-tiles.mjs +0 -2941
- package/fesm2020/barsa-tiles.mjs.map +0 -1
|
@@ -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
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { MetaobjectDataModel } from 'barsa-novin-ray-core';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
interface AppTileModel extends MetaobjectDataModel {
|
|
6
|
-
Component: MetaobjectDataModel;
|
|
7
|
-
Selector: string;
|
|
8
|
-
}
|
|
9
|
-
export declare class GroupTilesPipe implements PipeTransform {
|
|
10
|
-
transform(appGroup: MetaobjectDataModel): Observable<AppTileModel[]>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GroupTilesPipe, never>;
|
|
12
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GroupTilesPipe, "groupTiles", false>;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { MetaobjectDataModel } from 'barsa-novin-ray-core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
interface AppTileModel extends MetaobjectDataModel {
|
|
6
|
+
Component: MetaobjectDataModel;
|
|
7
|
+
Selector: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class GroupTilesPipe implements PipeTransform {
|
|
10
|
+
transform(appGroup: MetaobjectDataModel): Observable<AppTileModel[]>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GroupTilesPipe, never>;
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GroupTilesPipe, "groupTiles", false>;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { MetaobjectDataModel } from 'barsa-novin-ray-core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class HomeGroupPipe implements PipeTransform {
|
|
5
|
-
constructor();
|
|
6
|
-
transform(appGroups: MetaobjectDataModel[]): MetaobjectDataModel[];
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HomeGroupPipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<HomeGroupPipe, "homeGroup", false>;
|
|
9
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { MetaobjectDataModel } from 'barsa-novin-ray-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class HomeGroupPipe implements PipeTransform {
|
|
5
|
+
constructor();
|
|
6
|
+
transform(appGroups: MetaobjectDataModel[]): MetaobjectDataModel[];
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HomeGroupPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<HomeGroupPipe, "homeGroup", false>;
|
|
9
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TileHomeFilterPipe implements PipeTransform {
|
|
4
|
-
transform(collection: any[]): any[];
|
|
5
|
-
matchFilter(value: any): boolean;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TileHomeFilterPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TileHomeFilterPipe, "tileHomeFilter", false>;
|
|
8
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TileHomeFilterPipe implements PipeTransform {
|
|
4
|
+
transform(collection: any[]): any[];
|
|
5
|
+
matchFilter(value: any): boolean;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TileHomeFilterPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TileHomeFilterPipe, "tileHomeFilter", false>;
|
|
8
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { MetaobjectDataModel } from 'barsa-novin-ray-core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TilePropPipe implements PipeTransform {
|
|
5
|
-
transform(data: any, prop: string, parameters?: MetaobjectDataModel): string | any;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TilePropPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TilePropPipe, "tileProp", false>;
|
|
8
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { MetaobjectDataModel } from 'barsa-novin-ray-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TilePropPipe implements PipeTransform {
|
|
5
|
+
transform(data: any, prop: string, parameters?: MetaobjectDataModel): string | any;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TilePropPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TilePropPipe, "tileProp", false>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { MetaobjectDataModel } from 'barsa-novin-ray-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FilterAppsGroupedPipe implements PipeTransform {
|
|
5
|
+
transform(value: MetaobjectDataModel[] | undefined | null, term: string): MetaobjectDataModel[] | undefined | null;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterAppsGroupedPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FilterAppsGroupedPipe, "filterAppsGrouped", true>;
|
|
8
|
+
}
|
|
9
|
+
export declare class FilterAppsPipe implements PipeTransform {
|
|
10
|
+
transform(value: MetaobjectDataModel[] | undefined | null, term: string): MetaobjectDataModel[] | undefined | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterAppsPipe, never>;
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FilterAppsPipe, "filterApps", true>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ContentDensity, ContentDensityService, DialogService } from '@fundamental-ngx/core';
|
|
4
|
+
import { BaseComponent, MetaobjectDataModel, AbbrevationDeviceSize } from 'barsa-novin-ray-core';
|
|
5
|
+
import { AppFinderService } from '../app-finder.service';
|
|
6
|
+
import { AppTileGroupPin } from '../models';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class PopoverAppFinderComponent extends BaseComponent implements OnInit {
|
|
9
|
+
private _cdr;
|
|
10
|
+
private _dialogService;
|
|
11
|
+
private _appFinderService;
|
|
12
|
+
private _el;
|
|
13
|
+
closeMenu: EventEmitter<void>;
|
|
14
|
+
selectedGroups: MetaobjectDataModel[];
|
|
15
|
+
isAllSelected: boolean;
|
|
16
|
+
appGroups$: Observable<MetaobjectDataModel[] | undefined>;
|
|
17
|
+
appTileGroups$: Observable<MetaobjectDataModel[]>;
|
|
18
|
+
searchTerm: string;
|
|
19
|
+
deviceSize$: Observable<AbbrevationDeviceSize>;
|
|
20
|
+
sideContentSize$: Observable<string>;
|
|
21
|
+
contentDensity$: Observable<ContentDensity>;
|
|
22
|
+
selectedAppGroup$: Observable<MetaobjectDataModel | undefined>;
|
|
23
|
+
selectedAppGroupId$: Observable<string>;
|
|
24
|
+
mobile$: Observable<boolean>;
|
|
25
|
+
contentHeight: string;
|
|
26
|
+
pinnedAppInAppTileGroups$: Observable<Record<string, string[]>>;
|
|
27
|
+
constructor(_cdr: ChangeDetectorRef, _dialogService: DialogService, _appFinderService: AppFinderService, _el: ElementRef, _contentDensityService: ContentDensityService);
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
onSelectedAppGroupChange(appGroupId: string): void;
|
|
30
|
+
onPinClick(app: MetaobjectDataModel): void;
|
|
31
|
+
onRefresh(): void;
|
|
32
|
+
_appTileGroupsPinChange(result: {
|
|
33
|
+
appTileGroupsPin: AppTileGroupPin[];
|
|
34
|
+
app: MetaobjectDataModel;
|
|
35
|
+
}): Promise<void>;
|
|
36
|
+
private _changeGroup;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverAppFinderComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PopoverAppFinderComponent, "bt-popover-app-finder", never, {}, { "closeMenu": "closeMenu"; }, never, never, false, never>;
|
|
39
|
+
}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
import { BaseBtTileComponent, ProfileTileSetting } from '../models';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { BaseBtTileComponent, ProfileTileSetting } from '../models';
|
|
2
|
+
import { FilePictureInfoModel } from 'barsa-novin-ray-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ProfileTileComponent extends BaseBtTileComponent<ProfileTileSetting> {
|
|
5
|
+
icon: string;
|
|
6
|
+
iconCalc: string;
|
|
7
|
+
iconColor: string;
|
|
8
|
+
calcImage: string;
|
|
9
|
+
image: FilePictureInfoModel;
|
|
10
|
+
fileId2: string;
|
|
11
|
+
get fileId(): string;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileTileComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileTileComponent, "bt-profile-tile", never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -1,94 +1,108 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { Observable, Subject } from 'rxjs';
|
|
3
|
-
import { ComboboxComponent, PopoverComponent, ProductSwitchItem, ShellbarMenuItem, ShellbarUser } from '@fundamental-ngx/core';
|
|
4
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
5
|
-
import { BaseComponent, MetaobjectDataModel, FilePictureInfoModel, MoForReportModel, PortalService, BreadcrumbService, NotificationService, NotificationItem, NotificationAction, BbbTranslatePipe } from 'barsa-novin-ray-core';
|
|
6
|
-
import { TilesService } from '../tiles.service';
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
subtitle: string;
|
|
11
|
-
calcSubtitle: string;
|
|
12
|
-
logo: FilePictureInfoModel;
|
|
13
|
-
ProductSwitchItems: MoForReportModel;
|
|
14
|
-
ProductMenuItems: MoForReportModel;
|
|
15
|
-
UserMenuItems: MoForReportModel;
|
|
16
|
-
ActionItems: MoForReportModel;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
private
|
|
22
|
-
private
|
|
23
|
-
private
|
|
24
|
-
private
|
|
25
|
-
private
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
get
|
|
63
|
-
get
|
|
64
|
-
get
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
1
|
+
import { ChangeDetectorRef, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { Observable, Subject } from 'rxjs';
|
|
3
|
+
import { ComboboxComponent, PopoverComponent, ProductSwitchItem, ShellbarMenuItem, ShellbarUser } from '@fundamental-ngx/core';
|
|
4
|
+
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
5
|
+
import { BaseComponent, MetaobjectDataModel, FilePictureInfoModel, MoForReportModel, PortalService, BreadcrumbService, NotificationService, NotificationItem, NotificationAction, BbbTranslatePipe, AbbrevationDeviceSize } from 'barsa-novin-ray-core';
|
|
6
|
+
import { TilesService } from '../tiles.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
interface ShellbarSetting extends MetaobjectDataModel {
|
|
9
|
+
CssStyles: string;
|
|
10
|
+
subtitle: string;
|
|
11
|
+
calcSubtitle: string;
|
|
12
|
+
logo: FilePictureInfoModel;
|
|
13
|
+
ProductSwitchItems: MoForReportModel;
|
|
14
|
+
ProductMenuItems: MoForReportModel;
|
|
15
|
+
UserMenuItems: MoForReportModel;
|
|
16
|
+
ActionItems: MoForReportModel;
|
|
17
|
+
SidebarReport: MetaobjectDataModel;
|
|
18
|
+
ProfileImageReport: MetaobjectDataModel;
|
|
19
|
+
}
|
|
20
|
+
export declare class ShellbarComponent extends BaseComponent implements OnInit {
|
|
21
|
+
private _bbbTranslatePipe;
|
|
22
|
+
private _portalService;
|
|
23
|
+
private _breadCrumbService;
|
|
24
|
+
private _tilesService;
|
|
25
|
+
private _cdr;
|
|
26
|
+
private _domSanitizer;
|
|
27
|
+
private _notificationService;
|
|
28
|
+
appVersion: string;
|
|
29
|
+
comboboxComponent: ComboboxComponent;
|
|
30
|
+
popoverComponent: PopoverComponent;
|
|
31
|
+
_notificationsDialog: TemplateRef<any>;
|
|
32
|
+
shellbarData: ShellbarSetting;
|
|
33
|
+
settings: MetaobjectDataModel;
|
|
34
|
+
isOpenNotificatoin: boolean;
|
|
35
|
+
deviceSize$: Observable<AbbrevationDeviceSize>;
|
|
36
|
+
productMenuControl: string;
|
|
37
|
+
user: ShellbarUser;
|
|
38
|
+
productMenuItems1: ShellbarMenuItem[];
|
|
39
|
+
userLoggedIn$: Observable<boolean>;
|
|
40
|
+
cssUrl$: Observable<SafeResourceUrl | null>;
|
|
41
|
+
cssVariableUrl$: Observable<SafeResourceUrl | null>;
|
|
42
|
+
cssCustomUrl$: Observable<SafeResourceUrl | null>;
|
|
43
|
+
cultures: Record<string, any>;
|
|
44
|
+
notificationsCount$: Observable<{
|
|
45
|
+
unread: number;
|
|
46
|
+
all: number;
|
|
47
|
+
}>;
|
|
48
|
+
notifications$: Observable<NotificationItem[]>;
|
|
49
|
+
notificationLoading$: Observable<boolean>;
|
|
50
|
+
notifcationLoaded: boolean;
|
|
51
|
+
notifiationCountLoaded$: Observable<boolean>;
|
|
52
|
+
_viewedNotifications$: Subject<NotificationItem>;
|
|
53
|
+
_viewedNotifications: NotificationItem[];
|
|
54
|
+
bodyClick: string;
|
|
55
|
+
isMobile: boolean;
|
|
56
|
+
isDesktop: boolean;
|
|
57
|
+
isTablet: boolean;
|
|
58
|
+
loginRouterLink$: Observable<string>;
|
|
59
|
+
isServiceDesk: boolean;
|
|
60
|
+
isOpenQuickAccess: boolean;
|
|
61
|
+
userProfileImageUrl$: Observable<string | null>;
|
|
62
|
+
get repIdProfileImage(): string;
|
|
63
|
+
get subtitle(): string;
|
|
64
|
+
get logo(): {
|
|
65
|
+
FileId: string;
|
|
66
|
+
};
|
|
67
|
+
get cssStyles(): string;
|
|
68
|
+
get actions(): Array<MetaobjectDataModel>;
|
|
69
|
+
get sidebarSettings(): null | any;
|
|
70
|
+
get userMenu(): {
|
|
71
|
+
text: string;
|
|
72
|
+
callback: () => void;
|
|
73
|
+
}[];
|
|
74
|
+
get productSwitcher(): ProductSwitchItem[];
|
|
75
|
+
get multiLanguages(): boolean;
|
|
76
|
+
get productMenuItems(): ShellbarMenuItem[];
|
|
77
|
+
get IsUserLoggedIn(): boolean;
|
|
78
|
+
get IsUserAnonymous(): boolean;
|
|
79
|
+
constructor(_bbbTranslatePipe: BbbTranslatePipe, _portalService: PortalService, _breadCrumbService: BreadcrumbService, _tilesService: TilesService, _cdr: ChangeDetectorRef, _domSanitizer: DomSanitizer, _notificationService: NotificationService, appVersion: string);
|
|
80
|
+
ngOnInit(): void;
|
|
81
|
+
onCultureChange(culture: any): void;
|
|
82
|
+
onShowNotification(e: {
|
|
83
|
+
tag: string;
|
|
84
|
+
mo: MetaobjectDataModel;
|
|
85
|
+
nama: string;
|
|
86
|
+
}): void;
|
|
87
|
+
onNotificationItemViewed(viewedMo: NotificationItem): void;
|
|
88
|
+
onRemoveNotifications(e: {
|
|
89
|
+
items: MetaobjectDataModel[];
|
|
90
|
+
silent: boolean;
|
|
91
|
+
}): void;
|
|
92
|
+
onOpenNotification: () => void;
|
|
93
|
+
onNotificationAction(e: {
|
|
94
|
+
item: NotificationItem;
|
|
95
|
+
btn: NotificationAction;
|
|
96
|
+
}): void;
|
|
97
|
+
onCultureChanged: (culture: string) => void;
|
|
98
|
+
onNotificationLoadMore(): void;
|
|
99
|
+
onNotificationWorkflowChoiceSuccess(result: any): void;
|
|
100
|
+
onNotificationWorkflowChoiceFailed(err: any): void;
|
|
101
|
+
onHandleOpenNotificationPanel(): void;
|
|
102
|
+
private _handleOpenNotificationPanel;
|
|
103
|
+
private _mapNotifications;
|
|
104
|
+
private _changeCulture;
|
|
105
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShellbarComponent, never>;
|
|
106
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellbarComponent, "bt-shellbar", never, {}, {}, never, never, false, never>;
|
|
107
|
+
}
|
|
108
|
+
export {};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { BaseBtTileComponent, BaseTileSetting } from '../models';
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BaseBtTileComponent, BaseTileSetting } from '../models';
|
|
3
|
+
import { FilePictureInfoModel } from 'barsa-novin-ray-core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SimpleTileComponent extends BaseBtTileComponent<BaseTileSetting> implements OnInit {
|
|
6
|
+
icon: string;
|
|
7
|
+
iconCalc: string;
|
|
8
|
+
iconColor: string;
|
|
9
|
+
pictureIcon: FilePictureInfoModel;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTileComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleTileComponent, "bt-simple-tile", never, {}, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -1,20 +1,30 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { TilePropsComponent } from 'barsa-novin-ray-core';
|
|
3
|
-
import { AppTileFooter } from '../models';
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { TilePropsComponent, LocalStorageService } from 'barsa-novin-ray-core';
|
|
3
|
+
import { AppTileFooter } from '../models';
|
|
4
|
+
import { Router } from '@angular/router';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TileComponent extends TilePropsComponent {
|
|
7
|
+
type: 'feed' | 'launch' | 'kpi';
|
|
8
|
+
footerTemplate: TemplateRef<any>;
|
|
9
|
+
footer: AppTileFooter;
|
|
10
|
+
disableClick: boolean;
|
|
11
|
+
title: string;
|
|
12
|
+
icon: string;
|
|
13
|
+
subtitle: string;
|
|
14
|
+
isDouble: boolean;
|
|
15
|
+
edit: boolean;
|
|
16
|
+
backColor: string;
|
|
17
|
+
dynamicCommand: any;
|
|
18
|
+
hideHeader: boolean;
|
|
19
|
+
setToStorage: boolean;
|
|
20
|
+
listMode: boolean;
|
|
21
|
+
navigateBackOnClick: boolean;
|
|
22
|
+
_localStorage: LocalStorageService;
|
|
23
|
+
_router: Router;
|
|
24
|
+
runningCommand: boolean;
|
|
25
|
+
onClick(ev: any): boolean;
|
|
26
|
+
private executeCommand;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TileComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TileComponent, "bt-tile", never, { "type": { "alias": "type"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "disableClick": { "alias": "disableClick"; "required": false; }; "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "isDouble": { "alias": "isDouble"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "backColor": { "alias": "backColor"; "required": false; }; "dynamicCommand": { "alias": "dynamicCommand"; "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>;
|
|
30
|
+
}
|
|
@@ -1,28 +1,33 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { BaseDirective, PortalService } from 'barsa-novin-ray-core';
|
|
3
|
-
import { BaseTileSetting } from './models';
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
private
|
|
8
|
-
private
|
|
9
|
-
private
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { BaseDirective, PortalService } from 'barsa-novin-ray-core';
|
|
3
|
+
import { BaseTileSetting } from './models';
|
|
4
|
+
import { AbbrevationDeviceSize } from 'barsa-novin-ray-core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TileRendererDirective extends BaseDirective implements OnInit, OnChanges, OnDestroy {
|
|
7
|
+
private _cdr;
|
|
8
|
+
private _portalService;
|
|
9
|
+
private _vcr;
|
|
10
|
+
private _injector;
|
|
11
|
+
protected _el: ElementRef;
|
|
12
|
+
component: {
|
|
13
|
+
Module: string;
|
|
14
|
+
ModuleFileName: string;
|
|
15
|
+
Name: string;
|
|
16
|
+
Selector: string;
|
|
17
|
+
};
|
|
18
|
+
data: BaseTileSetting;
|
|
19
|
+
edit: boolean;
|
|
20
|
+
deviceSize: AbbrevationDeviceSize;
|
|
21
|
+
setToStorage: boolean;
|
|
22
|
+
listMode: boolean;
|
|
23
|
+
navigateBackOnClick: boolean;
|
|
24
|
+
hideClick: EventEmitter<any>;
|
|
25
|
+
renameClick: EventEmitter<any>;
|
|
26
|
+
private _tileRef;
|
|
27
|
+
constructor(_cdr: ChangeDetectorRef, _portalService: PortalService, _vcr: ViewContainerRef, _injector: Injector, _el: ElementRef);
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
30
|
+
ngOnDestroy(): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TileRendererDirective, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TileRendererDirective, "[tileRenderer]", never, { "component": { "alias": "component"; "required": false; }; "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "deviceSize": { "alias": "deviceSize"; "required": false; }; "setToStorage": { "alias": "setToStorage"; "required": false; }; "listMode": { "alias": "listMode"; "required": false; }; "navigateBackOnClick": { "alias": "navigateBackOnClick"; "required": false; }; }, { "hideClick": "hideClick"; "renameClick": "renameClick"; }, never, never, false, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ElementRef, OnChanges, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { BaseDirective, PortalService } from 'barsa-novin-ray-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TileSizeDirective extends BaseDirective implements OnInit, OnChanges, OnDestroy {
|
|
5
|
+
private _renderer2;
|
|
6
|
+
protected _el: ElementRef;
|
|
7
|
+
private _portalService;
|
|
8
|
+
constructor(_renderer2: Renderer2, _el: ElementRef, _portalService: PortalService);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TileSizeDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TileSizeDirective, "[tileSize]", never, {}, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ElementRef, OnChanges, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { BaseDirective } from 'barsa-novin-ray-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TileStyleDirective extends BaseDirective implements OnInit, OnChanges, OnDestroy {
|
|
5
|
+
private _renderer2;
|
|
6
|
+
protected _el: ElementRef;
|
|
7
|
+
backColor: string;
|
|
8
|
+
constructor(_renderer2: Renderer2, _el: ElementRef);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TileStyleDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TileStyleDirective, "[tileStyle]", never, { "backColor": { "alias": "backColor"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
|
+
}
|