barsa-tiles 3.0.11 → 3.0.13
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 +126 -80
- package/fesm2022/barsa-tiles.mjs.map +1 -1
- package/package.json +1 -1
- package/types/barsa-tiles.d.ts +20 -2
package/package.json
CHANGED
package/types/barsa-tiles.d.ts
CHANGED
|
@@ -113,12 +113,14 @@ interface AppTile extends MetaobjectDataModel {
|
|
|
113
113
|
AppTileGroup: MetaobjectDataModel;
|
|
114
114
|
A_App_Component: EjrayOlgo;
|
|
115
115
|
A_App_DynamicCommand: MetaobjectDataModel;
|
|
116
|
+
A_App_DisableDynamicCommand?: boolean;
|
|
116
117
|
A_App_AppKey: string;
|
|
117
118
|
Predefined: boolean;
|
|
118
119
|
Predefined$Caption: string;
|
|
119
120
|
App: MetaobjectDataModel;
|
|
120
121
|
Component: EjrayOlgo;
|
|
121
122
|
DynamicCommand: MetaobjectDataModel;
|
|
123
|
+
DisableDynamicCommand?: boolean;
|
|
122
124
|
TileTitle: any;
|
|
123
125
|
Subtitle: any;
|
|
124
126
|
ColSpan2XL: string;
|
|
@@ -367,6 +369,7 @@ interface FormTileSetting extends BaseTileSetting {
|
|
|
367
369
|
declare class FormTileComponent extends BaseBtTileComponent<FormTileSetting> implements OnInit {
|
|
368
370
|
newId: string;
|
|
369
371
|
params: {
|
|
372
|
+
isSimple: boolean;
|
|
370
373
|
moId: string;
|
|
371
374
|
typeDefId: string;
|
|
372
375
|
viewId: string;
|
|
@@ -592,6 +595,8 @@ declare class TilesViewerContainerComponent extends ViewBase<TilesViewerContaine
|
|
|
592
595
|
get stackContent$(): Observable<boolean>;
|
|
593
596
|
get rtl$(): Observable<boolean>;
|
|
594
597
|
get selectedAppGroupId(): string;
|
|
598
|
+
/** DisplayMode caption is stored with Arabic yeh (U+064A, 'تب بندي'); normalize it to Persian yeh before comparing. */
|
|
599
|
+
get isTabMode(): boolean;
|
|
595
600
|
ngOnInit(): void;
|
|
596
601
|
showError(message: string, code: number): void;
|
|
597
602
|
ngOnDestroy(): void;
|
|
@@ -1137,6 +1142,8 @@ declare class TilePropPipe implements PipeTransform {
|
|
|
1137
1142
|
static ɵpipe: i0.ɵɵPipeDeclaration<TilePropPipe, "tileProp", false>;
|
|
1138
1143
|
}
|
|
1139
1144
|
|
|
1145
|
+
/** کلید گروههای chip فیلتر نتایج جستجو (بهجز «همه»). */
|
|
1146
|
+
type SuggestionGroupFilter = 'subsystem' | 'navgroup' | 'report' | 'command';
|
|
1140
1147
|
interface ShellbarSetting extends MetaobjectDataModel {
|
|
1141
1148
|
subtitle: string;
|
|
1142
1149
|
calcSubtitle: string;
|
|
@@ -1145,6 +1152,7 @@ interface ShellbarSetting extends MetaobjectDataModel {
|
|
|
1145
1152
|
ProductMenuItems: MoForReportModel;
|
|
1146
1153
|
UserMenuItems: MoForReportModel;
|
|
1147
1154
|
ActionItems: MoForReportModel;
|
|
1155
|
+
NotificationGroupByDateOnly?: boolean;
|
|
1148
1156
|
}
|
|
1149
1157
|
declare class BarsaShellbarComponent extends BaseComponent implements OnInit {
|
|
1150
1158
|
searchDialogContent: TemplateRef<any>;
|
|
@@ -1229,7 +1237,8 @@ declare class BarsaShellbarComponent extends BaseComponent implements OnInit {
|
|
|
1229
1237
|
comboboxComponent: ComboboxComponent;
|
|
1230
1238
|
popoverComponent: PopoverComponent;
|
|
1231
1239
|
_notificationsDialog: TemplateRef<any>;
|
|
1232
|
-
|
|
1240
|
+
/** گروه فعال فیلتر نتایج جستجو؛ `null` یعنی «همه». signal است تا view داخل dialog (OnPush) رفرش شود. */
|
|
1241
|
+
selectedSuggestionFilter: i0.WritableSignal<SuggestionGroupFilter | null>;
|
|
1233
1242
|
isOpenNotificatoin: boolean;
|
|
1234
1243
|
expanded: boolean;
|
|
1235
1244
|
searchTerms: string[];
|
|
@@ -1263,6 +1272,11 @@ declare class BarsaShellbarComponent extends BaseComponent implements OnInit {
|
|
|
1263
1272
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1264
1273
|
ngOnDestroy(): void;
|
|
1265
1274
|
onSearchSubmit(e: SearchInput): void;
|
|
1275
|
+
/**
|
|
1276
|
+
* کلیک روی chip گروه: `'all'` فیلتر را پاک میکند، کلیک دوباره روی گروه فعال هم همینطور،
|
|
1277
|
+
* و گروه دیگر جای گروه فعلی را میگیرد (تکانتخابی).
|
|
1278
|
+
*/
|
|
1279
|
+
onSuggestionFilterClick(filter: SuggestionGroupFilter | 'all'): void;
|
|
1266
1280
|
onOpenSearchDialog(): void;
|
|
1267
1281
|
onSearchItemClick(e: SuggestionItem): void;
|
|
1268
1282
|
onSearchInputChange(e: any): void;
|
|
@@ -1678,6 +1692,8 @@ declare class NotificationGroupComponent extends BaseComponent implements OnInit
|
|
|
1678
1692
|
all: number;
|
|
1679
1693
|
};
|
|
1680
1694
|
notificationReport: MetaobjectDataModel;
|
|
1695
|
+
/** از تنظیمات شلبار سرور؛ وقتی true است فقط تب «By Date» نمایش داده میشود */
|
|
1696
|
+
dateGroupOnly: boolean;
|
|
1681
1697
|
_deviceSize: string;
|
|
1682
1698
|
viewed: EventEmitter<NotificationItem>;
|
|
1683
1699
|
remove: EventEmitter<{
|
|
@@ -1696,6 +1712,7 @@ declare class NotificationGroupComponent extends BaseComponent implements OnInit
|
|
|
1696
1712
|
loadMore: EventEmitter<void>;
|
|
1697
1713
|
expanded: Record<string, boolean>;
|
|
1698
1714
|
tabList: any[];
|
|
1715
|
+
visibleTabs: any[];
|
|
1699
1716
|
viewedNotifications: NotificationItem[];
|
|
1700
1717
|
reportSetting: WritableSignal<ContainerReportSetting>;
|
|
1701
1718
|
private _groupByServcie;
|
|
@@ -1708,8 +1725,9 @@ declare class NotificationGroupComponent extends BaseComponent implements OnInit
|
|
|
1708
1725
|
onWorkflowExecuteChoiceStatusChanged(e: WorkflowExecuteChoiceStatus, mo: NotificationItem): void;
|
|
1709
1726
|
_setGroupBy(): void;
|
|
1710
1727
|
_trackByTitle(_index: number, _: string): number | string;
|
|
1728
|
+
private _updateVisibleTabs;
|
|
1711
1729
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationGroupComponent, never>;
|
|
1712
|
-
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; }; "notificationReport": { "alias": "notificationReport"; "required": false; }; }, { "viewed": "viewed"; "remove": "remove"; "actionClick": "actionClick"; "showEvent": "showEvent"; "loadMore": "loadMore"; }, never, never, false, never>;
|
|
1730
|
+
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; }; "notificationReport": { "alias": "notificationReport"; "required": false; }; "dateGroupOnly": { "alias": "dateGroupOnly"; "required": false; }; }, { "viewed": "viewed"; "remove": "remove"; "actionClick": "actionClick"; "showEvent": "showEvent"; "loadMore": "loadMore"; }, never, never, false, never>;
|
|
1713
1731
|
}
|
|
1714
1732
|
|
|
1715
1733
|
declare class NotificationGroupHeaderComponent extends BaseComponent implements OnInit, OnChanges {
|