barsa-tiles 2.3.143 → 2.3.144
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 +862 -482
- package/fesm2022/barsa-tiles.mjs.map +1 -1
- package/index.d.ts +333 -136
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit, Renderer2, ChangeDetectorRef, ElementRef, SimpleChanges, EventEmitter, OnChanges, OnDestroy,
|
|
2
|
+
import { Signal, OnInit, Renderer2, ChangeDetectorRef, ElementRef, SimpleChanges, EventEmitter, OnChanges, OnDestroy, Injector, WritableSignal, TemplateRef, PipeTransform, DestroyRef, ViewContainerRef, InputSignal, EmbeddedViewRef, ComponentFactoryResolver } from '@angular/core';
|
|
3
3
|
import * as barsa_novin_ray_core from 'barsa-novin-ray-core';
|
|
4
|
-
import { MetaobjectDataModel,
|
|
4
|
+
import { MetaobjectDataModel, FilePictureInfoModel, EjrayOlgo, MoForReportModelBase, MoForReportModel, TilePropsComponent, BaseComponent, AbbrevationDeviceSize, BaseController, IViewBase, ViewBase, ContainerReportSetting, SaveScrollPositionService, ShellbarSetting as ShellbarSetting$1, ApplicationCtrlrService, NotificationItem, NotificationAction, SearchInput, BreadCrumbInfo, SortDirection, LogService, LocalStorageService, BreadcrumbService, PortalService, EmptyPageComponent, RoutingService, CardMediaSize, BaseDirective, DynamicRootVariableDirective, BaseDynamicComponent, WorkflowExecuteChoiceStatus, BaseModule, DynamicComponentService } from 'barsa-novin-ray-core';
|
|
5
5
|
import * as rxjs from 'rxjs';
|
|
6
|
-
import { Observable
|
|
7
|
-
import * as
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import * as i60 from '@angular/cdk/drag-drop';
|
|
8
8
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i62 from '@fundamental-ngx/core';
|
|
10
10
|
import { ContentDensity, CarouselComponent, CarouselItemComponent, DialogRef, NumericContentState, Nullable, ComboboxComponent, PopoverComponent, ShellbarUser, ShellbarMenuItem, ProductSwitchItem, ObjectStatus, ShellbarComponent as ShellbarComponent$1 } from '@fundamental-ngx/core';
|
|
11
|
-
import * as
|
|
12
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
13
|
-
import * as i62 from '@fundamental-ngx/platform';
|
|
11
|
+
import * as i63 from '@fundamental-ngx/platform';
|
|
14
12
|
import { IconTabBarTabComponent, IconTabBarComponent, TabType, SemanticColor, IconTabBarItem, SuggestionItem } from '@fundamental-ngx/platform';
|
|
15
|
-
import * as
|
|
13
|
+
import * as i70 from 'barsa-echarts';
|
|
16
14
|
import { ComparisonItem, StackbarItem, LineItem, AreaChart } from 'barsa-echarts';
|
|
17
|
-
import * as
|
|
15
|
+
import * as i58 from '@angular/forms';
|
|
18
16
|
import { UntypedFormGroup } from '@angular/forms';
|
|
19
17
|
import { SafeResourceUrl } from '@angular/platform-browser';
|
|
20
|
-
import * as
|
|
18
|
+
import * as i68 from 'barsa-sap-ui';
|
|
21
19
|
import { BarsaTreeItemComponent, MegaMenuGroup } from 'barsa-sap-ui';
|
|
22
|
-
import * as
|
|
23
|
-
import
|
|
24
|
-
import * as
|
|
25
|
-
import * as
|
|
20
|
+
import * as i1 from '@angular/router';
|
|
21
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
22
|
+
import * as i57 from '@angular/common';
|
|
23
|
+
import * as i61 from '@angular/cdk/table';
|
|
24
|
+
import * as i65 from '@fundamental-ngx/btp/splitter';
|
|
25
|
+
import * as i66 from '@fundamental-ngx/core/user-menu';
|
|
26
26
|
|
|
27
27
|
interface AppTileFooterSection extends MetaobjectDataModel {
|
|
28
28
|
Icon: string;
|
|
@@ -53,6 +53,72 @@ interface ChartTileSetting extends MetaobjectDataModel {
|
|
|
53
53
|
TileSetting: TileSetting;
|
|
54
54
|
ChartInstance: MetaobjectDataModel;
|
|
55
55
|
}
|
|
56
|
+
interface AppTileGroup extends MetaobjectDataModel {
|
|
57
|
+
Title: string;
|
|
58
|
+
Visible: boolean;
|
|
59
|
+
Visible$Caption: string;
|
|
60
|
+
Locked: boolean;
|
|
61
|
+
Locked$Caption: string;
|
|
62
|
+
OrderNumber: string;
|
|
63
|
+
OrderNumber$Caption: string;
|
|
64
|
+
Predefined: boolean;
|
|
65
|
+
Predefined$Caption: string;
|
|
66
|
+
TileGroupType: string;
|
|
67
|
+
TileGroupType$Caption: string;
|
|
68
|
+
CssStyles: string;
|
|
69
|
+
ItemCount2XL: string;
|
|
70
|
+
ItemCount2XL$Caption: string;
|
|
71
|
+
ItemCountXL: string;
|
|
72
|
+
ItemCountXL$Caption: string;
|
|
73
|
+
ItemCountL: string;
|
|
74
|
+
ItemCountL$Caption: string;
|
|
75
|
+
ItemCountMD: string;
|
|
76
|
+
ItemCountMD$Caption: string;
|
|
77
|
+
ItemCountSM: string;
|
|
78
|
+
ItemCountSM$Caption: string;
|
|
79
|
+
HideHeader: boolean;
|
|
80
|
+
HideHeader$Caption: string;
|
|
81
|
+
BackgroundColor: string;
|
|
82
|
+
IconFont: string;
|
|
83
|
+
IconFontName: any;
|
|
84
|
+
Icon: string;
|
|
85
|
+
IconImage: FilePictureInfoModel;
|
|
86
|
+
RoutePath: string;
|
|
87
|
+
$TypeDefCaption: string;
|
|
88
|
+
$HasChildren: boolean;
|
|
89
|
+
Parent?: AppTileGroup;
|
|
90
|
+
$Children: AppTileGroup[];
|
|
91
|
+
$TileSettingChanged: boolean;
|
|
92
|
+
$Disabledpin: boolean;
|
|
93
|
+
navigatorTitle: string;
|
|
94
|
+
navigatorVisible: boolean;
|
|
95
|
+
navigatorTiles: AppTile[];
|
|
96
|
+
navigatorActionLinks: any[];
|
|
97
|
+
$TilesLoaded: boolean;
|
|
98
|
+
AppTiles: MoForReportModelBase<AppTile>;
|
|
99
|
+
}
|
|
100
|
+
interface AppTile extends MetaobjectDataModel {
|
|
101
|
+
Visible: boolean;
|
|
102
|
+
Visible$Caption: string;
|
|
103
|
+
Locked: boolean;
|
|
104
|
+
TileSetting: TileSetting;
|
|
105
|
+
Locked$Caption: string;
|
|
106
|
+
OrderNumber: string;
|
|
107
|
+
OrderNumber$Caption: string;
|
|
108
|
+
IsActionLink: boolean;
|
|
109
|
+
IsActionLink$Caption: string;
|
|
110
|
+
AppTileGroup: MetaobjectDataModel;
|
|
111
|
+
A_App_Component: EjrayOlgo;
|
|
112
|
+
A_App_DynamicCommand: MetaobjectDataModel;
|
|
113
|
+
A_App_AppKey: string;
|
|
114
|
+
Predefined: boolean;
|
|
115
|
+
Predefined$Caption: string;
|
|
116
|
+
App: MetaobjectDataModel;
|
|
117
|
+
Component: EjrayOlgo;
|
|
118
|
+
DynamicCommand: MetaobjectDataModel;
|
|
119
|
+
TileTitle: any;
|
|
120
|
+
Subtitle: any;
|
|
121
|
+
}
|
|
56
122
|
|
|
57
123
|
declare class TilesService {
|
|
58
124
|
readonly deviceSize$: Observable<'s' | 'm' | 'l' | 'xl'>;
|
|
@@ -64,8 +130,6 @@ declare class TilesService {
|
|
|
64
130
|
readonly edit$: Observable<boolean>;
|
|
65
131
|
readonly userInfo$: Observable<UserInfo | null>;
|
|
66
132
|
readonly componentSettings$: Observable<MetaobjectDataModel>;
|
|
67
|
-
/** New Angular model: signal-based state. */
|
|
68
|
-
readonly appTileGroupsSig: i0.WritableSignal<MoForReportModelBase<AppTileGroup> | null>;
|
|
69
133
|
readonly homeAppTileGroupsSig: i0.WritableSignal<AppTileGroup[]>;
|
|
70
134
|
readonly userInfoSig: i0.WritableSignal<UserInfo | null>;
|
|
71
135
|
readonly editHomeSig: i0.WritableSignal<boolean>;
|
|
@@ -74,11 +138,14 @@ declare class TilesService {
|
|
|
74
138
|
private readonly _destroyRef;
|
|
75
139
|
private readonly _pinTilesSource;
|
|
76
140
|
private readonly _store;
|
|
141
|
+
private readonly _tilesApi;
|
|
77
142
|
private _themingService;
|
|
78
143
|
private _portalService;
|
|
79
144
|
private _rtlService;
|
|
80
145
|
private _bbbTranslatePipe;
|
|
81
146
|
private _appTileGroupLoaded;
|
|
147
|
+
/** Same signal reference as {@link TilesStore#appTileGroups} (read-only for consumers). */
|
|
148
|
+
get appTileGroupsSig(): Signal<MoForReportModelBase<AppTileGroup> | null>;
|
|
82
149
|
/** Inserted by Angular inject() migration for backwards compatibility */
|
|
83
150
|
constructor();
|
|
84
151
|
get isDark$(): Observable<boolean | null>;
|
|
@@ -87,28 +154,37 @@ declare class TilesService {
|
|
|
87
154
|
loadAllAppTileGroups(): void;
|
|
88
155
|
loadUserProfileImage(repIdProfileImage: string): void;
|
|
89
156
|
loadAppTileGroups(appTileGroup: MetaobjectDataModel): void;
|
|
157
|
+
/** True if tiles for this group were already loaded (canonical tree or in-flight flag). */
|
|
158
|
+
isAppTileGroupTilesLoaded(groupId: string): boolean;
|
|
90
159
|
loadAppTileGroupsById(appTileGroupId: string): void;
|
|
91
160
|
saveTilesStackContent(tilesStackContent: boolean): Promise<void>;
|
|
92
161
|
loadUserPortalSettings(): Observable<any>;
|
|
93
162
|
refreshTile(appTile: MetaobjectDataModel): Promise<MetaobjectDataModel>;
|
|
94
163
|
loadFromServerUserPortalSetting(): Observable<MetaobjectDataModel>;
|
|
95
|
-
toggleAppGroupSettingVisible(appGroup:
|
|
96
|
-
resetAppGroupSetting(appGroup:
|
|
97
|
-
deleteAppGroup(appGroup:
|
|
164
|
+
toggleAppGroupSettingVisible(appGroup: AppTileGroup): Observable<MetaobjectDataModel>;
|
|
165
|
+
resetAppGroupSetting(appGroup: AppTileGroup): Observable<MetaobjectDataModel>;
|
|
166
|
+
deleteAppGroup(appGroup: AppTileGroup): Observable<string>;
|
|
98
167
|
changeAppTileSetting(appTile: MetaobjectDataModel): Observable<MetaobjectDataModel | null>;
|
|
99
168
|
saveAppGroupOrders(appGroups: MetaobjectDataModel[]): Observable<void>;
|
|
100
169
|
createAppGroup(title: string, parentId?: string | null): Observable<MetaobjectDataModel>;
|
|
101
170
|
saveOrderAppTiles(appGroup: MetaobjectDataModel, appTiles: number[], isActionLink?: boolean, appTileIdTransferedId?: string): void;
|
|
102
171
|
updateAppTile(allApps: MoForReportModel | null, appTile: MetaobjectDataModel): void;
|
|
103
172
|
updataAppTileSetting(selectedGroup: MetaobjectDataModel, appGroupSetting: MetaobjectDataModel): void;
|
|
104
|
-
addAppGroup(mo:
|
|
105
|
-
singlePinTileChanged(appTile:
|
|
173
|
+
addAppGroup(mo: AppTileGroup): void;
|
|
174
|
+
singlePinTileChanged(appTile: AppTile, callback: any): void;
|
|
106
175
|
pinTileChanged(appTileGroupsPin: AppTileGroupPin[], app: MetaobjectDataModel, callback: any): void;
|
|
107
176
|
_tilePinChange(appTileGroupsPin: any, allApps: any): void;
|
|
108
177
|
loadShellbar(): void;
|
|
109
178
|
_setTileInfo(appTile: any): void;
|
|
110
179
|
getTileGroups(): MoForReportModel | null;
|
|
111
180
|
setEditHome(edit: boolean): void;
|
|
181
|
+
/**
|
|
182
|
+
* After {@link TilesStore#replaceAllAppTileGroups} from another entry point (e.g. {@link TilesViewerService}),
|
|
183
|
+
* refresh derived home list (store already holds app groups).
|
|
184
|
+
*/
|
|
185
|
+
syncExternalAppTileGroups(): void;
|
|
186
|
+
/** Call when the canonical tree is replaced from outside {@link TilesService} (e.g. viewer API). */
|
|
187
|
+
resetAppTileGroupLoadCache(): void;
|
|
112
188
|
protected _loadAllAppTileGroupsByReportId(id: string): void;
|
|
113
189
|
protected _loadAllAppTileGroups(): void;
|
|
114
190
|
protected _onApplication_GlobalRefreshTile(_sender: any, appTilesTitle: string[]): void;
|
|
@@ -118,6 +194,20 @@ declare class TilesService {
|
|
|
118
194
|
private _loadAppTilesByAppTileGroup;
|
|
119
195
|
private _updateAppTilesOfAppTileGroup;
|
|
120
196
|
private _loadAppTilesByAppTileGroupSetting;
|
|
197
|
+
/** Report/API load: full tree + {@link prepareNavigator} on all roots (via store). */
|
|
198
|
+
private _applyLoadedAppTileGroups;
|
|
199
|
+
private _findCanonicalAppTileGroup;
|
|
200
|
+
private _findAppTileGroupInTree;
|
|
201
|
+
/** Removes a group by id from root {@link MoForReportModelBase#MoDataList} or any nested {@link AppTileGroup#$Children}. */
|
|
202
|
+
private _removeAppTileGroupFromTree;
|
|
203
|
+
private _removeAppTileGroupFromChildren;
|
|
204
|
+
private _isAppTileGroupTilesLoaded;
|
|
205
|
+
/** Replaces the node with the same {@link AppTileGroup#Id} anywhere under {@link $Children}. */
|
|
206
|
+
private _replaceAppTileGroupInTreeList;
|
|
207
|
+
/**
|
|
208
|
+
* Local tree changed: merge optional root replacement, then snapshot store without re-running
|
|
209
|
+
* {@link prepareNavigator} on every root (caller must have prepared touched groups).
|
|
210
|
+
*/
|
|
121
211
|
private _nextAllAppTileGroups;
|
|
122
212
|
private _setHomeAppTileGroups;
|
|
123
213
|
private _saveUserPortalSettings;
|
|
@@ -131,7 +221,7 @@ declare class TilesService {
|
|
|
131
221
|
static ɵprov: i0.ɵɵInjectableDeclaration<TilesService>;
|
|
132
222
|
}
|
|
133
223
|
interface PinTileInfo {
|
|
134
|
-
groups:
|
|
224
|
+
groups: AppTileGroup[];
|
|
135
225
|
visible: boolean[];
|
|
136
226
|
tileId: string;
|
|
137
227
|
}
|
|
@@ -190,6 +280,14 @@ interface NumericTileSetting extends BaseTileSetting {
|
|
|
190
280
|
ScaleArrowIcon: string;
|
|
191
281
|
}
|
|
192
282
|
|
|
283
|
+
interface UserPortalSettings extends MetaobjectDataModel {
|
|
284
|
+
TilesStackConent?: boolean;
|
|
285
|
+
Theme?: number;
|
|
286
|
+
Theme$Caption?: string;
|
|
287
|
+
ContentDensity?: number;
|
|
288
|
+
ContentDensity$Caption?: ContentDensity;
|
|
289
|
+
}
|
|
290
|
+
|
|
193
291
|
interface NewsTileSetting extends BaseTileSetting {
|
|
194
292
|
Report: any;
|
|
195
293
|
}
|
|
@@ -199,6 +297,34 @@ interface AppTileGroupPin {
|
|
|
199
297
|
visible: boolean;
|
|
200
298
|
}
|
|
201
299
|
|
|
300
|
+
interface ShellbarCommandAction {
|
|
301
|
+
key: string;
|
|
302
|
+
label: string;
|
|
303
|
+
glyph?: string;
|
|
304
|
+
useImageGlyph?: boolean;
|
|
305
|
+
priority?: number;
|
|
306
|
+
callback?: () => void;
|
|
307
|
+
children: ShellbarCommandAction[];
|
|
308
|
+
}
|
|
309
|
+
interface ShellbarGroupedCommandMenu {
|
|
310
|
+
Caption: string;
|
|
311
|
+
Commands: ShellbarCommandAction[];
|
|
312
|
+
}
|
|
313
|
+
interface ShellbarWorkflowMenuItem {
|
|
314
|
+
key: string;
|
|
315
|
+
label: string;
|
|
316
|
+
callback?: () => void;
|
|
317
|
+
}
|
|
318
|
+
interface ShellbarCommandNode {
|
|
319
|
+
key: string;
|
|
320
|
+
label: string;
|
|
321
|
+
glyph?: string;
|
|
322
|
+
useImageGlyph?: boolean;
|
|
323
|
+
priority?: number;
|
|
324
|
+
callback?: () => void;
|
|
325
|
+
children: ShellbarCommandNode[];
|
|
326
|
+
}
|
|
327
|
+
|
|
202
328
|
type UserMenuType = {
|
|
203
329
|
fdType: string;
|
|
204
330
|
icon: string;
|
|
@@ -233,42 +359,46 @@ declare class FormTileComponent extends BaseBtTileComponent<FormTileSetting> imp
|
|
|
233
359
|
|
|
234
360
|
declare abstract class TileGroupBaseComponent<T extends MetaobjectDataModel> extends BaseComponent {
|
|
235
361
|
parameters: T;
|
|
236
|
-
appTileGroup:
|
|
362
|
+
appTileGroup: AppTileGroup;
|
|
363
|
+
childrenAppTileGroup: AppTileGroup[];
|
|
237
364
|
stackContent: boolean;
|
|
238
365
|
cssStyles: string;
|
|
239
366
|
edit: boolean;
|
|
367
|
+
visible: boolean;
|
|
240
368
|
rtl: boolean;
|
|
241
369
|
isAppTileSubGroup: boolean | undefined;
|
|
242
370
|
deviceSize: AbbrevationDeviceSize;
|
|
243
371
|
isLast: boolean;
|
|
244
372
|
tilesDropped: EventEmitter<{
|
|
245
|
-
appTileGroup:
|
|
373
|
+
appTileGroup: AppTileGroup;
|
|
246
374
|
event: CdkDragDrop<{
|
|
247
375
|
isTile: boolean;
|
|
248
|
-
items:
|
|
376
|
+
items: AppTile[];
|
|
249
377
|
}>;
|
|
250
378
|
}>;
|
|
251
|
-
hideAppTileClick: EventEmitter<
|
|
252
|
-
renameAppTileClick: EventEmitter<
|
|
253
|
-
changeGroupAppTileClick: EventEmitter<
|
|
254
|
-
toggleGroup: EventEmitter<
|
|
255
|
-
resetGroup: EventEmitter<
|
|
256
|
-
deleteGroup: EventEmitter<
|
|
379
|
+
hideAppTileClick: EventEmitter<AppTile>;
|
|
380
|
+
renameAppTileClick: EventEmitter<AppTile>;
|
|
381
|
+
changeGroupAppTileClick: EventEmitter<AppTile>;
|
|
382
|
+
toggleGroup: EventEmitter<AppTileGroup>;
|
|
383
|
+
resetGroup: EventEmitter<AppTileGroup>;
|
|
384
|
+
deleteGroup: EventEmitter<AppTileGroup>;
|
|
385
|
+
isJustifyStart: i0.WritableSignal<boolean>;
|
|
257
386
|
private _cdr;
|
|
258
387
|
ngOnChanges(changes: SimpleChanges): void;
|
|
259
|
-
onDrop(appTileGroup:
|
|
388
|
+
onDrop(appTileGroup: AppTileGroup, event: CdkDragDrop<{
|
|
260
389
|
isTile: boolean;
|
|
261
|
-
items:
|
|
390
|
+
items: AppTile[];
|
|
262
391
|
}>): void;
|
|
263
|
-
onAppTileHideClick(appTile:
|
|
264
|
-
onAppTileRenameClick(appTile:
|
|
265
|
-
onAppTileChangeGroupClick(appTile:
|
|
266
|
-
onDelete(appTileGroup:
|
|
267
|
-
onToggleShowHide(appTileGroup:
|
|
268
|
-
onReset(appTileGroup:
|
|
392
|
+
onAppTileHideClick(appTile: AppTile): void;
|
|
393
|
+
onAppTileRenameClick(appTile: AppTile): void;
|
|
394
|
+
onAppTileChangeGroupClick(appTile: AppTile): void;
|
|
395
|
+
onDelete(appTileGroup: AppTileGroup): void;
|
|
396
|
+
onToggleShowHide(appTileGroup: AppTileGroup): void;
|
|
397
|
+
onReset(appTileGroup: AppTileGroup): void;
|
|
269
398
|
private detectChanges;
|
|
399
|
+
private _setIsJustifyStart;
|
|
270
400
|
static ɵfac: i0.ɵɵFactoryDeclaration<TileGroupBaseComponent<any>, never>;
|
|
271
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TileGroupBaseComponent<any>, "bt-tile-group-base", never, { "parameters": { "alias": "parameters"; "required": false; }; "appTileGroup": { "alias": "appTileGroup"; "required": false; }; "stackContent": { "alias": "stackContent"; "required": false; }; "cssStyles": { "alias": "cssStyles"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "rtl": { "alias": "rtl"; "required": false; }; "isAppTileSubGroup": { "alias": "isAppTileSubGroup"; "required": false; }; "deviceSize": { "alias": "deviceSize"; "required": false; }; "isLast": { "alias": "isLast"; "required": false; }; }, { "tilesDropped": "tilesDropped"; "hideAppTileClick": "hideAppTileClick"; "renameAppTileClick": "renameAppTileClick"; "changeGroupAppTileClick": "changeGroupAppTileClick"; "toggleGroup": "toggleGroup"; "resetGroup": "resetGroup"; "deleteGroup": "deleteGroup"; }, never, never, false, never>;
|
|
401
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TileGroupBaseComponent<any>, "bt-tile-group-base", never, { "parameters": { "alias": "parameters"; "required": false; }; "appTileGroup": { "alias": "appTileGroup"; "required": false; }; "childrenAppTileGroup": { "alias": "childrenAppTileGroup"; "required": false; }; "stackContent": { "alias": "stackContent"; "required": false; }; "cssStyles": { "alias": "cssStyles"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "rtl": { "alias": "rtl"; "required": false; }; "isAppTileSubGroup": { "alias": "isAppTileSubGroup"; "required": false; }; "deviceSize": { "alias": "deviceSize"; "required": false; }; "isLast": { "alias": "isLast"; "required": false; }; }, { "tilesDropped": "tilesDropped"; "hideAppTileClick": "hideAppTileClick"; "renameAppTileClick": "renameAppTileClick"; "changeGroupAppTileClick": "changeGroupAppTileClick"; "toggleGroup": "toggleGroup"; "resetGroup": "resetGroup"; "deleteGroup": "deleteGroup"; }, never, never, false, never>;
|
|
272
402
|
}
|
|
273
403
|
|
|
274
404
|
declare class TilesViewerGroupComponent extends TileGroupBaseComponent<MetaobjectDataModel> {
|
|
@@ -328,14 +458,28 @@ declare class AppFinderComponent extends BaseComponent {
|
|
|
328
458
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppFinderComponent, "bt-app-finder", never, { "appGroups": { "alias": "appGroups"; "required": false; }; "deviceSize": { "alias": "deviceSize"; "required": false; }; "sideContentSize": { "alias": "sideContentSize"; "required": false; }; "selectedAppGroup": { "alias": "selectedAppGroup"; "required": false; }; "selectedAppGroupId": { "alias": "selectedAppGroupId"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "contentDensity": { "alias": "contentDensity"; "required": false; }; "contentHeight": { "alias": "contentHeight"; "required": false; }; "pinnedAppInAppTileGroups": { "alias": "pinnedAppInAppTileGroups"; "required": false; }; }, { "pinClick": "pinClick"; "selectedAppGroupIdChange": "selectedAppGroupIdChange"; }, never, never, false, never>;
|
|
329
459
|
}
|
|
330
460
|
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
461
|
+
interface TileViewerContainerSettings extends MetaobjectDataModel {
|
|
462
|
+
HideTabs: boolean;
|
|
463
|
+
CenterContent?: boolean;
|
|
464
|
+
BoxShadow?: boolean;
|
|
465
|
+
TabsBackColor?: string;
|
|
466
|
+
DisplayMode$Caption?: string;
|
|
467
|
+
MetaReportTiles?: MetaobjectDataModel;
|
|
468
|
+
}
|
|
469
|
+
interface ITilesViewerContainer extends IViewBase {
|
|
470
|
+
settings: TileViewerContainerSettings;
|
|
471
|
+
onDestroy$: Observable<void>;
|
|
472
|
+
}
|
|
473
|
+
declare class TilesViewerContainerController extends BaseController<ITilesViewerContainer> {
|
|
474
|
+
readonly edit$: Observable<boolean>;
|
|
475
|
+
readonly appTileGroups$: Observable<AppTileGroup[]>;
|
|
476
|
+
readonly rtl$: Observable<boolean>;
|
|
477
|
+
readonly deviceSize$: Observable<barsa_novin_ray_core.AbbrevationDeviceSize>;
|
|
478
|
+
readonly stackContent$: Observable<boolean>;
|
|
479
|
+
changedOrder: boolean;
|
|
480
|
+
userStackContent: boolean;
|
|
481
|
+
initialStackContentValue: boolean;
|
|
482
|
+
stackContent: boolean;
|
|
339
483
|
private _hideTileSource;
|
|
340
484
|
private _updateAppTileSettingSource;
|
|
341
485
|
private _deleteGroupSource;
|
|
@@ -347,94 +491,102 @@ declare class TilesViewerService implements OnDestroy {
|
|
|
347
491
|
private _hideAppGroupSource;
|
|
348
492
|
private hideAppGroup$;
|
|
349
493
|
private _viewLoadingSource;
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
494
|
+
/**
|
|
495
|
+
*
|
|
496
|
+
*/
|
|
497
|
+
private readonly _hideTile$;
|
|
498
|
+
get updateAppTileSetting$(): Observable<MetaobjectDataModel>;
|
|
499
|
+
get deleteAppGroup$(): Observable<AppTileGroup>;
|
|
500
|
+
/** UI/state exposed to view */
|
|
501
|
+
get viewLoading$(): Observable<boolean>;
|
|
353
502
|
get selectedAppGroupId(): string;
|
|
354
503
|
set selectedAppGroupId(groupId: string);
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
saveAppGroupOrders(appGroups: MetaobjectDataModel[]): void;
|
|
365
|
-
setLoaded(): void;
|
|
366
|
-
setLoading(): void;
|
|
367
|
-
private _loadPinnedAppInTileGroups;
|
|
368
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TilesViewerService, never>;
|
|
369
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TilesViewerService>;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
declare class TilesViewerContainerComponent extends BaseComponent implements OnInit, OnDestroy {
|
|
373
|
-
settings: TileViewerContainerSettings;
|
|
374
|
-
appTileGroups$: Observable<MetaobjectDataModel[]>;
|
|
375
|
-
viewLoading$: Observable<boolean>;
|
|
376
|
-
deviceSize$: Observable<AbbrevationDeviceSize>;
|
|
377
|
-
edit$: Observable<boolean>;
|
|
378
|
-
changedOrder: boolean;
|
|
379
|
-
userStackContent: boolean;
|
|
380
|
-
initialStackContentValue: boolean;
|
|
381
|
-
userPortalSettings: MetaobjectDataModel;
|
|
382
|
-
stackContent$: Observable<boolean>;
|
|
383
|
-
firstSelected: boolean;
|
|
384
|
-
rtl$: Observable<boolean>;
|
|
385
|
-
selectedAppGroupId: string;
|
|
386
|
-
stackContent: boolean;
|
|
387
|
-
protected _activatedRoute: ActivatedRoute;
|
|
388
|
-
protected _router: Router;
|
|
389
|
-
protected _portalService: PortalService;
|
|
390
|
-
protected _tilesService: TilesService;
|
|
391
|
-
protected _tilesViewerService: TilesViewerService;
|
|
392
|
-
constructor();
|
|
393
|
-
ngOnInit(): void;
|
|
394
|
-
ngOnDestroy(): void;
|
|
504
|
+
private get _portalService();
|
|
505
|
+
private get _tilesService();
|
|
506
|
+
private get _tilesViewerService();
|
|
507
|
+
private get _tilesStore();
|
|
508
|
+
private get _dialogService();
|
|
509
|
+
/** Call from component constructor */
|
|
510
|
+
connectLifecycle(): void;
|
|
511
|
+
init(settings?: TileViewerContainerSettings): void;
|
|
512
|
+
destroy(): void;
|
|
395
513
|
onSelectedTabChange(e: {
|
|
396
514
|
firstSelected: boolean;
|
|
397
515
|
selectedTabTitle: string;
|
|
398
516
|
tabPanels: IconTabBarTabComponent[];
|
|
399
|
-
appTileGroups:
|
|
517
|
+
appTileGroups: AppTileGroup[];
|
|
400
518
|
tabbarComponent: IconTabBarComponent;
|
|
401
519
|
}): void;
|
|
402
|
-
onLoadAppTileGroup(appTileGroup:
|
|
520
|
+
onLoadAppTileGroup(appTileGroup: AppTileGroup): void;
|
|
403
521
|
onDropGroup(e: {
|
|
404
|
-
appTileGroups:
|
|
405
|
-
event: CdkDragDrop<
|
|
522
|
+
appTileGroups: AppTileGroup[];
|
|
523
|
+
event: CdkDragDrop<AppTileGroup[]>;
|
|
406
524
|
}): void;
|
|
407
525
|
onDrop(e: {
|
|
408
|
-
appTileGroup:
|
|
526
|
+
appTileGroup: AppTileGroup;
|
|
409
527
|
event: CdkDragDrop<{
|
|
410
528
|
isTile: boolean;
|
|
411
529
|
items: MetaobjectDataModel[];
|
|
412
530
|
}>;
|
|
413
531
|
}): void;
|
|
414
|
-
onStackContentChanged(checked:
|
|
415
|
-
onExitEditHome(appTileGroups:
|
|
532
|
+
onStackContentChanged(checked: boolean): void;
|
|
533
|
+
onExitEditHome(appTileGroups: AppTileGroup[]): void;
|
|
416
534
|
onCloseEditHome(): void;
|
|
417
|
-
onDelete(appTileGroup:
|
|
418
|
-
onToggleShowHide(appTileGroup:
|
|
419
|
-
onReset(appTileGroup:
|
|
420
|
-
onHideAppTile(appTile:
|
|
421
|
-
onRenameAppTile(appTile:
|
|
422
|
-
onChangeGroupAppTile(appTile:
|
|
423
|
-
|
|
424
|
-
|
|
535
|
+
onDelete(appTileGroup: AppTileGroup): void;
|
|
536
|
+
onToggleShowHide(appTileGroup: AppTileGroup): void;
|
|
537
|
+
onReset(appTileGroup: AppTileGroup): void;
|
|
538
|
+
onHideAppTile(appTile: AppTile): void;
|
|
539
|
+
onRenameAppTile(appTile: AppTile): void;
|
|
540
|
+
onChangeGroupAppTile(appTile: AppTile): void;
|
|
541
|
+
updateAppTileSetting(appTile: AppTile): void;
|
|
542
|
+
resetAppGroup(appGroup: AppTileGroup): void;
|
|
543
|
+
toggleAppGroupSettingVisible(appGroup: AppTileGroup): void;
|
|
544
|
+
deleteAppGroup(appGroup: AppTileGroup): void;
|
|
545
|
+
hideTile(appTile: AppTile): void;
|
|
546
|
+
saveAppGroupOrders(appGroups: AppTileGroup[]): void;
|
|
547
|
+
setLoaded(): void;
|
|
548
|
+
setLoading(): void;
|
|
549
|
+
setSelectedTab(group: MetaobjectDataModel): void;
|
|
550
|
+
loadAppTileGroup(appTileGroup: AppTileGroup): void;
|
|
551
|
+
private _loadPinnedAppInTileGroups;
|
|
425
552
|
private _saveOrderAppTiles;
|
|
426
553
|
private _saveOrderActionLinks;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
declare class TilesViewerContainerComponent extends ViewBase<TilesViewerContainerController> implements ITilesViewerContainer, OnDestroy {
|
|
557
|
+
injector: Injector;
|
|
558
|
+
errorMessage: WritableSignal<string>;
|
|
559
|
+
errorCode: WritableSignal<number>;
|
|
560
|
+
settings: TileViewerContainerSettings;
|
|
561
|
+
get onDestroy$(): Observable<void>;
|
|
562
|
+
controller: TilesViewerContainerController;
|
|
563
|
+
private readonly _onDestroyLocal$;
|
|
564
|
+
get appTileGroups$(): Observable<AppTileGroup[]>;
|
|
565
|
+
get viewLoading$(): Observable<boolean>;
|
|
566
|
+
get deviceSize$(): Observable<AbbrevationDeviceSize>;
|
|
567
|
+
get edit$(): Observable<boolean>;
|
|
568
|
+
get stackContent$(): Observable<boolean>;
|
|
569
|
+
get rtl$(): Observable<boolean>;
|
|
570
|
+
get selectedAppGroupId(): string;
|
|
571
|
+
ngOnInit(): void;
|
|
572
|
+
showError(message: string, code: number): void;
|
|
573
|
+
ngOnDestroy(): void;
|
|
574
|
+
onSelectedTabChange(e: any): void;
|
|
575
|
+
onLoadAppTileGroup(appTileGroup: AppTileGroup): void;
|
|
576
|
+
onDropGroup(e: any): void;
|
|
577
|
+
onDrop(e: any): void;
|
|
578
|
+
onStackContentChanged(checked: boolean): void;
|
|
579
|
+
onExitEditHome(appTileGroups: AppTileGroup[]): void;
|
|
580
|
+
onCloseEditHome(): void;
|
|
581
|
+
onDelete(appTileGroup: AppTileGroup): void;
|
|
582
|
+
onToggleShowHide(appTileGroup: AppTileGroup): void;
|
|
583
|
+
onReset(appTileGroup: AppTileGroup): void;
|
|
584
|
+
onHideAppTile(appTile: AppTile): void;
|
|
585
|
+
onRenameAppTile(appTile: AppTile): void;
|
|
586
|
+
onChangeGroupAppTile(appTile: AppTile): void;
|
|
427
587
|
static ɵfac: i0.ɵɵFactoryDeclaration<TilesViewerContainerComponent, never>;
|
|
428
588
|
static ɵcmp: i0.ɵɵComponentDeclaration<TilesViewerContainerComponent, "bt-tiles-viewer-container", never, {}, {}, never, never, false, never>;
|
|
429
589
|
}
|
|
430
|
-
interface TileViewerContainerSettings extends MetaobjectDataModel {
|
|
431
|
-
HideTabs: boolean;
|
|
432
|
-
CenterContent?: boolean;
|
|
433
|
-
BoxShadow?: boolean;
|
|
434
|
-
TabsBackColor?: string;
|
|
435
|
-
DisplayMode$Caption?: string;
|
|
436
|
-
MetaReportTiles?: MetaobjectDataModel;
|
|
437
|
-
}
|
|
438
590
|
|
|
439
591
|
interface MicroTileChartBulletSetting extends BaseTileSetting {
|
|
440
592
|
Target: number;
|
|
@@ -585,7 +737,7 @@ declare class CreateAppGroupComponent extends BaseComponent implements OnInit {
|
|
|
585
737
|
|
|
586
738
|
declare class PinTileComponent extends BaseComponent implements OnInit {
|
|
587
739
|
app: MetaobjectDataModel;
|
|
588
|
-
appTileGroups:
|
|
740
|
+
appTileGroups: AppTileGroup[];
|
|
589
741
|
mobile: boolean;
|
|
590
742
|
pin: boolean;
|
|
591
743
|
newGroupDialogRef: DialogRef;
|
|
@@ -593,6 +745,7 @@ declare class PinTileComponent extends BaseComponent implements OnInit {
|
|
|
593
745
|
pinnedAppInTileGroups: {
|
|
594
746
|
[key: string]: string[];
|
|
595
747
|
};
|
|
748
|
+
loading: i0.WritableSignal<boolean>;
|
|
596
749
|
private _dialogService;
|
|
597
750
|
private _dialogRef;
|
|
598
751
|
private _bbbTranslate;
|
|
@@ -602,10 +755,10 @@ declare class PinTileComponent extends BaseComponent implements OnInit {
|
|
|
602
755
|
onAccept(): void;
|
|
603
756
|
onClose(): void;
|
|
604
757
|
onNewGroup(): void;
|
|
605
|
-
onDeleteGroup(appTileGroup:
|
|
758
|
+
onDeleteGroup(appTileGroup: AppTileGroup): void;
|
|
606
759
|
_setLoading(loading: any): void;
|
|
607
|
-
_setDefaultPinTile(appTileGroup:
|
|
608
|
-
_getChangedPinTileGroups(appTileGroup:
|
|
760
|
+
_setDefaultPinTile(appTileGroup: AppTileGroup, tileGroupsId: string[]): void;
|
|
761
|
+
_getChangedPinTileGroups(appTileGroup: AppTileGroup, appTileGroupsPin: AppTileGroupPin[]): void;
|
|
609
762
|
_close(result?: any): void;
|
|
610
763
|
static ɵfac: i0.ɵɵFactoryDeclaration<PinTileComponent, never>;
|
|
611
764
|
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>;
|
|
@@ -729,7 +882,7 @@ declare class TilesViewerComponent extends BaseComponent implements OnInit {
|
|
|
729
882
|
tabListComponent: IconTabBarComponent;
|
|
730
883
|
pageContentClass: boolean;
|
|
731
884
|
_cls: boolean;
|
|
732
|
-
appTileGroups: Array<
|
|
885
|
+
appTileGroups: Array<AppTileGroup>;
|
|
733
886
|
loading: boolean;
|
|
734
887
|
edit: boolean;
|
|
735
888
|
rtl: boolean;
|
|
@@ -754,17 +907,17 @@ declare class TilesViewerComponent extends BaseComponent implements OnInit {
|
|
|
754
907
|
appTileGroups: MetaobjectDataModel[];
|
|
755
908
|
tabbarComponent: IconTabBarComponent;
|
|
756
909
|
}>;
|
|
757
|
-
toggleGroup: EventEmitter<
|
|
758
|
-
resetGroup: EventEmitter<
|
|
759
|
-
deleteGroup: EventEmitter<
|
|
760
|
-
hideAppTileClick: EventEmitter<
|
|
761
|
-
renameAppTileClick: EventEmitter<
|
|
762
|
-
changeGroupAppTileClick: EventEmitter<
|
|
910
|
+
toggleGroup: EventEmitter<AppTileGroup>;
|
|
911
|
+
resetGroup: EventEmitter<AppTileGroup>;
|
|
912
|
+
deleteGroup: EventEmitter<AppTileGroup>;
|
|
913
|
+
hideAppTileClick: EventEmitter<AppTile>;
|
|
914
|
+
renameAppTileClick: EventEmitter<AppTile>;
|
|
915
|
+
changeGroupAppTileClick: EventEmitter<AppTile>;
|
|
763
916
|
tilesDropped: EventEmitter<{
|
|
764
|
-
appTileGroup:
|
|
917
|
+
appTileGroup: AppTileGroup;
|
|
765
918
|
event: CdkDragDrop<{
|
|
766
919
|
isTile: boolean;
|
|
767
|
-
items:
|
|
920
|
+
items: AppTile[];
|
|
768
921
|
}>;
|
|
769
922
|
}>;
|
|
770
923
|
_rtl: any;
|
|
@@ -785,13 +938,13 @@ declare class TilesViewerComponent extends BaseComponent implements OnInit {
|
|
|
785
938
|
protected _saveScrollPosition: SaveScrollPositionService;
|
|
786
939
|
protected _firstSelected: boolean;
|
|
787
940
|
ngAfterViewInit(): void;
|
|
788
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
789
941
|
onSelectedTabChange(selectedTab: IconTabBarItem): void;
|
|
790
942
|
onDropGroup(appTileGroups: MetaobjectDataModel[], event: CdkDragDrop<MetaobjectDataModel[]>): void;
|
|
791
943
|
onDrop($event: any): void;
|
|
792
944
|
onStackContentChanged(checked: any): void;
|
|
793
945
|
onExitEditHome(appGroups: MetaobjectDataModel[]): void;
|
|
794
946
|
onCloseEditHome(): void;
|
|
947
|
+
onHideAppTileClick(appTile: AppTile): void;
|
|
795
948
|
_trackById(index: any, item: any): string | number;
|
|
796
949
|
protected _selectTab(tabId: string): void;
|
|
797
950
|
static ɵfac: i0.ɵɵFactoryDeclaration<TilesViewerComponent, never>;
|
|
@@ -806,7 +959,6 @@ declare class ShellbarComponent extends BaseComponent implements OnInit {
|
|
|
806
959
|
appVersion: string;
|
|
807
960
|
settings: MetaobjectDataModel;
|
|
808
961
|
deviceSize$: Observable<AbbrevationDeviceSize>;
|
|
809
|
-
productMenuControl: string;
|
|
810
962
|
user: ShellbarUser;
|
|
811
963
|
suggestions: never[];
|
|
812
964
|
productMenuItems1: ShellbarMenuItem[];
|
|
@@ -897,6 +1049,17 @@ declare class GroupTilesPipe implements PipeTransform {
|
|
|
897
1049
|
static ɵpipe: i0.ɵɵPipeDeclaration<GroupTilesPipe, "groupTiles", false>;
|
|
898
1050
|
}
|
|
899
1051
|
|
|
1052
|
+
declare class TilesViewerService {
|
|
1053
|
+
protected readonly _destroyRef: DestroyRef;
|
|
1054
|
+
private readonly tilesApi;
|
|
1055
|
+
private readonly tilesStore;
|
|
1056
|
+
private readonly tilesService;
|
|
1057
|
+
loadAllAppTileGroupsByReportId(id: string): void;
|
|
1058
|
+
loadAllAppTileGroups(): void;
|
|
1059
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TilesViewerService, never>;
|
|
1060
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TilesViewerService>;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
900
1063
|
declare class TilePropPipe implements PipeTransform {
|
|
901
1064
|
transform(data: any, prop: string, parameters?: MetaobjectDataModel): string | any;
|
|
902
1065
|
static ɵfac: i0.ɵɵFactoryDeclaration<TilePropPipe, never>;
|
|
@@ -920,6 +1083,9 @@ declare class BarsaShellbarComponent extends BaseComponent implements OnInit {
|
|
|
920
1083
|
userLoggedIn: boolean;
|
|
921
1084
|
settings: MetaobjectDataModel;
|
|
922
1085
|
productMenuControl: string;
|
|
1086
|
+
dastoratSarasari: ShellbarCommandAction[];
|
|
1087
|
+
workflowMenuItems: ShellbarWorkflowMenuItem[];
|
|
1088
|
+
groupedCommandMenus: ShellbarGroupedCommandMenu[];
|
|
923
1089
|
deviceSize: AbbrevationDeviceSize;
|
|
924
1090
|
cultures: Record<string, any>;
|
|
925
1091
|
shellbarData: ShellbarSetting;
|
|
@@ -1012,7 +1178,7 @@ declare class BarsaShellbarComponent extends BaseComponent implements OnInit {
|
|
|
1012
1178
|
private _closeSideMenu;
|
|
1013
1179
|
private _changeCulture;
|
|
1014
1180
|
static ɵfac: i0.ɵɵFactoryDeclaration<BarsaShellbarComponent, never>;
|
|
1015
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BarsaShellbarComponent, "bt-barsa-shellbar", never, { "showSidebar": { "alias": "showSidebar"; "required": false; }; "multiLanguages": { "alias": "multiLanguages"; "required": false; }; "userLoggedIn": { "alias": "userLoggedIn"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; "productMenuControl": { "alias": "productMenuControl"; "required": false; }; "deviceSize": { "alias": "deviceSize"; "required": false; }; "cultures": { "alias": "cultures"; "required": false; }; "shellbarData": { "alias": "shellbarData"; "required": false; }; "notificationsUnreadCount": { "alias": "notificationsUnreadCount"; "required": false; }; "productMenuItems1": { "alias": "productMenuItems1"; "required": false; }; "bodyClick": { "alias": "bodyClick"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "userMenu": { "alias": "userMenu"; "required": false; }; "footerButtons": { "alias": "footerButtons"; "required": false; }; "productSwitcher": { "alias": "productSwitcher"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "isMobile": { "alias": "isMobile"; "required": false; }; "hideShellbarActions": { "alias": "hideShellbarActions"; "required": false; }; "flatButtons": { "alias": "flatButtons"; "required": false; }; "isTablet": { "alias": "isTablet"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; "isDesktop": { "alias": "isDesktop"; "required": false; }; "informativeText": { "alias": "informativeText"; "required": false; }; "informativeStatus": { "alias": "informativeStatus"; "required": false; }; "hideProductMenu": { "alias": "hideProductMenu"; "required": false; }; "enableSearch": { "alias": "enableSearch"; "required": false; }; "hideNotifications": { "alias": "hideNotifications"; "required": false; }; "isServiceDesk": { "alias": "isServiceDesk"; "required": false; }; "isOpenQuickAccess": { "alias": "isOpenQuickAccess"; "required": false; }; "sideMenuTemplate": { "alias": "sideMenuTemplate"; "required": false; }; "notificationReport": { "alias": "notificationReport"; "required": false; }; "profileDynamicCommand": { "alias": "profileDynamicCommand"; "required": false; }; "profileDynamicCommandText": { "alias": "profileDynamicCommandText"; "required": false; }; "profileDynamicCommandIcon": { "alias": "profileDynamicCommandIcon"; "required": false; }; "displayName": { "alias": "displayName"; "required": false; }; "hideBranding": { "alias": "hideBranding"; "required": false; }; "showSearchInSystem": { "alias": "showSearchInSystem"; "required": false; }; "rtl": { "alias": "rtl"; "required": false; }; "suggestions": { "alias": "suggestions"; "required": false; }; }, { "appTileGroupChange": "appTileGroupChange"; "searchItemClick": "searchItemClick"; "searchInput": "searchInput"; "isOpenQuickAccessChanged": "isOpenQuickAccessChanged"; "openNotificationPanel": "openNotificationPanel"; "openQuickAccessPanel": "openQuickAccessPanel"; "cultureChanged": "cultureChanged"; "notifiationActionClick": "notifiationActionClick"; }, never, never, false, never>;
|
|
1181
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BarsaShellbarComponent, "bt-barsa-shellbar", never, { "showSidebar": { "alias": "showSidebar"; "required": false; }; "multiLanguages": { "alias": "multiLanguages"; "required": false; }; "userLoggedIn": { "alias": "userLoggedIn"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; "productMenuControl": { "alias": "productMenuControl"; "required": false; }; "dastoratSarasari": { "alias": "dastoratSarasari"; "required": false; }; "workflowMenuItems": { "alias": "workflowMenuItems"; "required": false; }; "groupedCommandMenus": { "alias": "groupedCommandMenus"; "required": false; }; "deviceSize": { "alias": "deviceSize"; "required": false; }; "cultures": { "alias": "cultures"; "required": false; }; "shellbarData": { "alias": "shellbarData"; "required": false; }; "notificationsUnreadCount": { "alias": "notificationsUnreadCount"; "required": false; }; "productMenuItems1": { "alias": "productMenuItems1"; "required": false; }; "bodyClick": { "alias": "bodyClick"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "userMenu": { "alias": "userMenu"; "required": false; }; "footerButtons": { "alias": "footerButtons"; "required": false; }; "productSwitcher": { "alias": "productSwitcher"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "isMobile": { "alias": "isMobile"; "required": false; }; "hideShellbarActions": { "alias": "hideShellbarActions"; "required": false; }; "flatButtons": { "alias": "flatButtons"; "required": false; }; "isTablet": { "alias": "isTablet"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; "isDesktop": { "alias": "isDesktop"; "required": false; }; "informativeText": { "alias": "informativeText"; "required": false; }; "informativeStatus": { "alias": "informativeStatus"; "required": false; }; "hideProductMenu": { "alias": "hideProductMenu"; "required": false; }; "enableSearch": { "alias": "enableSearch"; "required": false; }; "hideNotifications": { "alias": "hideNotifications"; "required": false; }; "isServiceDesk": { "alias": "isServiceDesk"; "required": false; }; "isOpenQuickAccess": { "alias": "isOpenQuickAccess"; "required": false; }; "sideMenuTemplate": { "alias": "sideMenuTemplate"; "required": false; }; "notificationReport": { "alias": "notificationReport"; "required": false; }; "profileDynamicCommand": { "alias": "profileDynamicCommand"; "required": false; }; "profileDynamicCommandText": { "alias": "profileDynamicCommandText"; "required": false; }; "profileDynamicCommandIcon": { "alias": "profileDynamicCommandIcon"; "required": false; }; "displayName": { "alias": "displayName"; "required": false; }; "hideBranding": { "alias": "hideBranding"; "required": false; }; "showSearchInSystem": { "alias": "showSearchInSystem"; "required": false; }; "rtl": { "alias": "rtl"; "required": false; }; "suggestions": { "alias": "suggestions"; "required": false; }; }, { "appTileGroupChange": "appTileGroupChange"; "searchItemClick": "searchItemClick"; "searchInput": "searchInput"; "isOpenQuickAccessChanged": "isOpenQuickAccessChanged"; "openNotificationPanel": "openNotificationPanel"; "openQuickAccessPanel": "openQuickAccessPanel"; "cultureChanged": "cultureChanged"; "notifiationActionClick": "notifiationActionClick"; }, never, never, false, never>;
|
|
1016
1182
|
}
|
|
1017
1183
|
|
|
1018
1184
|
declare class PopoverAppFinderComponent extends BaseComponent implements OnInit {
|
|
@@ -1174,14 +1340,14 @@ declare class SuggestionsCountFilterPipe implements PipeTransform {
|
|
|
1174
1340
|
declare class TilesViewerMegamenuComponent extends BaseComponent implements OnInit {
|
|
1175
1341
|
_cssRootVariable: DynamicRootVariableDirective;
|
|
1176
1342
|
_cls: boolean;
|
|
1177
|
-
appTileGroups: Array<
|
|
1343
|
+
appTileGroups: Array<AppTileGroup>;
|
|
1178
1344
|
loading: boolean;
|
|
1179
1345
|
rtl: boolean;
|
|
1180
1346
|
deviceSize: AbbrevationDeviceSize;
|
|
1181
1347
|
selectedAppGroupId: string;
|
|
1182
1348
|
DynamicComponents: any;
|
|
1183
1349
|
_rtl: any;
|
|
1184
|
-
loadAppTileGroup: EventEmitter<
|
|
1350
|
+
loadAppTileGroup: EventEmitter<AppTileGroup>;
|
|
1185
1351
|
color: SemanticColor;
|
|
1186
1352
|
id: string;
|
|
1187
1353
|
openMenu: number | null;
|
|
@@ -1210,6 +1376,36 @@ declare class TilesViewerMegamenuComponent extends BaseComponent implements OnIn
|
|
|
1210
1376
|
static ɵcmp: i0.ɵɵComponentDeclaration<TilesViewerMegamenuComponent, "bt-tiles-viewer-megamenu", never, { "appTileGroups": { "alias": "appTileGroups"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "rtl": { "alias": "rtl"; "required": false; }; "deviceSize": { "alias": "deviceSize"; "required": false; }; "selectedAppGroupId": { "alias": "selectedAppGroupId"; "required": false; }; "DynamicComponents": { "alias": "DynamicComponents"; "required": false; }; }, { "loadAppTileGroup": "loadAppTileGroup"; }, never, never, false, never>;
|
|
1211
1377
|
}
|
|
1212
1378
|
|
|
1379
|
+
declare class DynamicTileGroupComponent extends BaseDynamicComponent {
|
|
1380
|
+
appTileGroup: AppTileGroup;
|
|
1381
|
+
tabRef: any;
|
|
1382
|
+
stackContent: boolean;
|
|
1383
|
+
cssStyles: string;
|
|
1384
|
+
edit: boolean;
|
|
1385
|
+
visible: boolean;
|
|
1386
|
+
rtl: boolean;
|
|
1387
|
+
childrenAppTileGroup: AppTileGroup[];
|
|
1388
|
+
isAppTileSubGroup: boolean | undefined;
|
|
1389
|
+
deviceSize: AbbrevationDeviceSize;
|
|
1390
|
+
isLast: boolean;
|
|
1391
|
+
tilesDropped: EventEmitter<{
|
|
1392
|
+
appTileGroup: AppTileGroup;
|
|
1393
|
+
event: CdkDragDrop<{
|
|
1394
|
+
isTile: boolean;
|
|
1395
|
+
items: AppTile[];
|
|
1396
|
+
}>;
|
|
1397
|
+
}>;
|
|
1398
|
+
hideAppTileClick: EventEmitter<AppTile>;
|
|
1399
|
+
renameAppTileClick: EventEmitter<AppTile>;
|
|
1400
|
+
changeGroupAppTileClick: EventEmitter<AppTile>;
|
|
1401
|
+
toggleGroup: EventEmitter<AppTileGroup>;
|
|
1402
|
+
resetGroup: EventEmitter<AppTileGroup>;
|
|
1403
|
+
deleteGroup: EventEmitter<AppTileGroup>;
|
|
1404
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1405
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTileGroupComponent, never>;
|
|
1406
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTileGroupComponent, "bt-dynamic-tile-group,[dynamictilegroup]", never, { "appTileGroup": { "alias": "appTileGroup"; "required": false; }; "tabRef": { "alias": "tabRef"; "required": false; }; "stackContent": { "alias": "stackContent"; "required": false; }; "cssStyles": { "alias": "cssStyles"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "rtl": { "alias": "rtl"; "required": false; }; "childrenAppTileGroup": { "alias": "childrenAppTileGroup"; "required": false; }; "isAppTileSubGroup": { "alias": "isAppTileSubGroup"; "required": false; }; "deviceSize": { "alias": "deviceSize"; "required": false; }; "isLast": { "alias": "isLast"; "required": false; }; }, { "tilesDropped": "tilesDropped"; "hideAppTileClick": "hideAppTileClick"; "renameAppTileClick": "renameAppTileClick"; "changeGroupAppTileClick": "changeGroupAppTileClick"; "toggleGroup": "toggleGroup"; "resetGroup": "resetGroup"; "deleteGroup": "deleteGroup"; }, never, never, false, never>;
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1213
1409
|
declare class HomeGroupPipe implements PipeTransform {
|
|
1214
1410
|
constructor();
|
|
1215
1411
|
transform(appGroups: MetaobjectDataModel[]): MetaobjectDataModel[];
|
|
@@ -1243,7 +1439,7 @@ declare class TileRendererDirective extends BaseDirective implements OnInit, OnC
|
|
|
1243
1439
|
Name: string;
|
|
1244
1440
|
Selector: string;
|
|
1245
1441
|
};
|
|
1246
|
-
data: BaseTileSetting;
|
|
1442
|
+
data: BaseTileSetting | AppTile;
|
|
1247
1443
|
groupType: string;
|
|
1248
1444
|
edit: boolean;
|
|
1249
1445
|
deviceSize: AbbrevationDeviceSize;
|
|
@@ -1378,8 +1574,9 @@ declare class BarsaTilesModule extends BaseModule {
|
|
|
1378
1574
|
/** Inserted by Angular inject() migration for backwards compatibility */
|
|
1379
1575
|
constructor();
|
|
1380
1576
|
static ɵfac: i0.ɵɵFactoryDeclaration<BarsaTilesModule, never>;
|
|
1381
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BarsaTilesModule, [typeof ShellbarComponent, typeof SimpleTileComponent, typeof TilesViewerComponent, typeof ProfileTileComponent, typeof FeedTileComponent, typeof FooterTileComponent, typeof TileComponent, typeof LogoTileComponent, typeof NumericTileComponent, typeof FooterEditTileComponent, typeof FormAppFinderComponent, typeof PinTileComponent, typeof ChangeAppTileComponent, typeof CreateAppGroupComponent, typeof MicroTileChartAreaComponent, typeof MicroTileChartCircularComponent, typeof MicroTileChartLineComponent, typeof MicroTileChartStackbarComponent, typeof MicroTileChartComparisonComponent, typeof MicroTileChartBarComponent, typeof MicroTileChartBulletComponent, typeof TilesViewerContainerComponent, typeof NewsTileComponent, typeof ActionsLinkComponent, typeof ActionItemComponent, typeof AppFinderComponent, typeof AppFinderGroupComponent, typeof AppFinderAppListComponent, typeof TilesViewerGroupComponent, typeof FormTileComponent, typeof BarsaShellbarComponent, typeof PopoverAppFinderComponent, typeof BarsaPinAppComponent, typeof BarsaTileGroupPageComponent, typeof BarsaTileSidebarPageComponent, typeof ReportTileComponent, typeof CardTileComponent, typeof TilesViewerMegamenuComponent, typeof GroupTilesPipe, typeof TileHomeFilterPipe, typeof HomeGroupPipe, typeof ActionLinksPipe, typeof TilePropPipe, typeof SemantiToButtonColorPipe, typeof MegamenuPipe, typeof SuggestionsFilterPipe, typeof SuggestionsCountFilterPipe, typeof EmptyListDirective, typeof TileRendererDirective, typeof TileStyleDirective, typeof TileSizeDirective, typeof TileDynamicCommandDirective, typeof TileClassDirective, typeof NotificationGroupComponent, typeof NotificationGroupHeaderComponent], [typeof
|
|
1577
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BarsaTilesModule, [typeof ShellbarComponent, typeof SimpleTileComponent, typeof TilesViewerComponent, typeof ProfileTileComponent, typeof FeedTileComponent, typeof FooterTileComponent, typeof TileComponent, typeof LogoTileComponent, typeof NumericTileComponent, typeof FooterEditTileComponent, typeof FormAppFinderComponent, typeof PinTileComponent, typeof ChangeAppTileComponent, typeof CreateAppGroupComponent, typeof MicroTileChartAreaComponent, typeof MicroTileChartCircularComponent, typeof MicroTileChartLineComponent, typeof MicroTileChartStackbarComponent, typeof MicroTileChartComparisonComponent, typeof MicroTileChartBarComponent, typeof MicroTileChartBulletComponent, typeof TilesViewerContainerComponent, typeof NewsTileComponent, typeof ActionsLinkComponent, typeof ActionItemComponent, typeof AppFinderComponent, typeof AppFinderGroupComponent, typeof AppFinderAppListComponent, typeof TilesViewerGroupComponent, typeof FormTileComponent, typeof BarsaShellbarComponent, typeof PopoverAppFinderComponent, typeof BarsaPinAppComponent, typeof BarsaTileGroupPageComponent, typeof BarsaTileSidebarPageComponent, typeof ReportTileComponent, typeof CardTileComponent, typeof TilesViewerMegamenuComponent, typeof GroupTilesPipe, typeof TileHomeFilterPipe, typeof HomeGroupPipe, typeof ActionLinksPipe, typeof TilePropPipe, typeof SemantiToButtonColorPipe, typeof MegamenuPipe, typeof SuggestionsFilterPipe, typeof SuggestionsCountFilterPipe, typeof EmptyListDirective, typeof TileRendererDirective, typeof TileStyleDirective, typeof TileSizeDirective, typeof TileDynamicCommandDirective, typeof TileClassDirective, typeof NotificationGroupComponent, typeof NotificationGroupHeaderComponent, typeof DynamicTileGroupComponent], [typeof i57.CommonModule, typeof i58.FormsModule, typeof i1.RouterModule, typeof i58.ReactiveFormsModule, typeof i60.DragDropModule, typeof i61.CdkTableModule, typeof i62.FundamentalNgxCoreModule, typeof i62.GridListModule, typeof i63.IconTabBarComponent, typeof i63.IconTabBarTabComponent, typeof i63.IconTabBarTabContentDirective, typeof FilterAppsGroupedPipe, typeof FilterAppsPipe, typeof i65.SplitterModule, typeof i63.SearchFieldComponent, typeof i62.ShellbarUserMenuComponent, typeof i66.UserMenuComponent, typeof i66.UserMenuControlComponent, typeof i66.UserMenuBodyComponent, typeof i66.UserMenuListComponent, typeof i66.UserMenuFooterComponent, typeof i66.UserMenuHeaderDirective, typeof i66.UserMenuSublineDirective, typeof i66.UserMenuUserNameDirective, typeof i66.UserMenuSublineDirective, typeof i66.UserMenuHeaderContainerDirective, typeof i66.UserMenuListItemComponent, typeof i66.UserMenuListComponent, typeof barsa_novin_ray_core.BarsaNovinRayCoreModule, typeof i68.BarsaSapUiModule, typeof BarsaTilesRoutingModule, typeof i70.BarsaEchartsModule], [typeof ShellbarComponent, typeof SimpleTileComponent, typeof TilesViewerComponent, typeof ProfileTileComponent, typeof FeedTileComponent, typeof FooterTileComponent, typeof TileComponent, typeof LogoTileComponent, typeof NumericTileComponent, typeof FooterEditTileComponent, typeof FormAppFinderComponent, typeof PinTileComponent, typeof ChangeAppTileComponent, typeof CreateAppGroupComponent, typeof MicroTileChartAreaComponent, typeof MicroTileChartCircularComponent, typeof MicroTileChartLineComponent, typeof MicroTileChartStackbarComponent, typeof MicroTileChartComparisonComponent, typeof MicroTileChartBarComponent, typeof MicroTileChartBulletComponent, typeof TilesViewerContainerComponent, typeof NewsTileComponent, typeof ActionsLinkComponent, typeof ActionItemComponent, typeof AppFinderComponent, typeof AppFinderGroupComponent, typeof AppFinderAppListComponent, typeof TilesViewerGroupComponent, typeof FormTileComponent, typeof BarsaShellbarComponent, typeof PopoverAppFinderComponent, typeof BarsaPinAppComponent, typeof BarsaTileGroupPageComponent, typeof BarsaTileSidebarPageComponent, typeof ReportTileComponent, typeof CardTileComponent, typeof TilesViewerMegamenuComponent]>;
|
|
1382
1578
|
static ɵinj: i0.ɵɵInjectorDeclaration<BarsaTilesModule>;
|
|
1383
1579
|
}
|
|
1384
1580
|
|
|
1385
|
-
export { ActionItemComponent, ActionsLinkComponent, AppFinderAppListComponent, AppFinderComponent, AppFinderGroupComponent, BarsaPinAppComponent, BarsaShellbarComponent, BarsaTileGroupPageComponent, BarsaTileSidebarPageComponent, BarsaTilesModule, CardTileComponent, ChangeAppTileComponent, CreateAppGroupComponent, FeedTileComponent, FooterEditTileComponent, FooterTileComponent, FormAppFinderComponent, FormTileComponent, GroupTilesPipe, LogoTileComponent, MegamenuPipe, MicroTileChartAreaComponent, MicroTileChartBarComponent, MicroTileChartBulletComponent, MicroTileChartCircularComponent, MicroTileChartComparisonComponent, MicroTileChartLineComponent, MicroTileChartStackbarComponent, NewsTileComponent, NumericTileComponent, PinTileComponent, PopoverAppFinderComponent, ProfileTileComponent, ReportTileComponent, SemantiToButtonColorPipe, ShellbarComponent, SimpleTileComponent, SuggestionsCountFilterPipe, SuggestionsFilterPipe, TileClassDirective, TileComponent, TileHomeFilterPipe, TilePropPipe, TilesService, TilesViewerComponent, TilesViewerContainerComponent, TilesViewerGroupComponent, TilesViewerMegamenuComponent, TilesViewerService, addTilesPageSidebar };
|
|
1581
|
+
export { ActionItemComponent, ActionsLinkComponent, AppFinderAppListComponent, AppFinderComponent, AppFinderGroupComponent, BarsaPinAppComponent, BarsaShellbarComponent, BarsaTileGroupPageComponent, BarsaTileSidebarPageComponent, BarsaTilesModule, BaseBtTileComponent, BaseTileComponent, CardTileComponent, ChangeAppTileComponent, CreateAppGroupComponent, DynamicTileGroupComponent, FeedTileComponent, FooterEditTileComponent, FooterTileComponent, FormAppFinderComponent, FormTileComponent, GroupTilesPipe, LogoTileComponent, MegamenuPipe, MicroTileChartAreaComponent, MicroTileChartBarComponent, MicroTileChartBulletComponent, MicroTileChartCircularComponent, MicroTileChartComparisonComponent, MicroTileChartLineComponent, MicroTileChartStackbarComponent, NewsTileComponent, NumericTileComponent, PinTileComponent, PopoverAppFinderComponent, ProfileTileComponent, ReportTileComponent, SemantiToButtonColorPipe, ShellbarComponent, SimpleTileComponent, SuggestionsCountFilterPipe, SuggestionsFilterPipe, TileClassDirective, TileComponent, TileHomeFilterPipe, TilePropPipe, TilesService, TilesViewerComponent, TilesViewerContainerComponent, TilesViewerGroupComponent, TilesViewerMegamenuComponent, TilesViewerService, addTilesPageSidebar };
|
|
1582
|
+
export type { AppTile, AppTileFooter, AppTileFooterSection, AppTileGroup, AppTileGroupPin, BaseTileSetting, ChartTileSetting, FeedTileSetting, LogoTileSetting, NewsTileSetting, NumericTileSetting, ProfileTileSetting, ShellbarCommandAction, ShellbarCommandNode, ShellbarGroupedCommandMenu, ShellbarWorkflowMenuItem, TileSetting, UserInfo, UserMenuType, UserPortalSettings };
|