barsa-tiles 3.0.11 → 3.0.12
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 +48 -10
- package/fesm2022/barsa-tiles.mjs.map +1 -1
- package/package.json +1 -1
- package/types/barsa-tiles.d.ts +15 -2
package/package.json
CHANGED
package/types/barsa-tiles.d.ts
CHANGED
|
@@ -1137,6 +1137,8 @@ declare class TilePropPipe implements PipeTransform {
|
|
|
1137
1137
|
static ɵpipe: i0.ɵɵPipeDeclaration<TilePropPipe, "tileProp", false>;
|
|
1138
1138
|
}
|
|
1139
1139
|
|
|
1140
|
+
/** کلید گروههای chip فیلتر نتایج جستجو (بهجز «همه»). */
|
|
1141
|
+
type SuggestionGroupFilter = 'subsystem' | 'navgroup' | 'report' | 'command';
|
|
1140
1142
|
interface ShellbarSetting extends MetaobjectDataModel {
|
|
1141
1143
|
subtitle: string;
|
|
1142
1144
|
calcSubtitle: string;
|
|
@@ -1145,6 +1147,7 @@ interface ShellbarSetting extends MetaobjectDataModel {
|
|
|
1145
1147
|
ProductMenuItems: MoForReportModel;
|
|
1146
1148
|
UserMenuItems: MoForReportModel;
|
|
1147
1149
|
ActionItems: MoForReportModel;
|
|
1150
|
+
NotificationGroupByDateOnly?: boolean;
|
|
1148
1151
|
}
|
|
1149
1152
|
declare class BarsaShellbarComponent extends BaseComponent implements OnInit {
|
|
1150
1153
|
searchDialogContent: TemplateRef<any>;
|
|
@@ -1229,7 +1232,8 @@ declare class BarsaShellbarComponent extends BaseComponent implements OnInit {
|
|
|
1229
1232
|
comboboxComponent: ComboboxComponent;
|
|
1230
1233
|
popoverComponent: PopoverComponent;
|
|
1231
1234
|
_notificationsDialog: TemplateRef<any>;
|
|
1232
|
-
|
|
1235
|
+
/** گروه فعال فیلتر نتایج جستجو؛ `null` یعنی «همه». signal است تا view داخل dialog (OnPush) رفرش شود. */
|
|
1236
|
+
selectedSuggestionFilter: i0.WritableSignal<SuggestionGroupFilter | null>;
|
|
1233
1237
|
isOpenNotificatoin: boolean;
|
|
1234
1238
|
expanded: boolean;
|
|
1235
1239
|
searchTerms: string[];
|
|
@@ -1263,6 +1267,11 @@ declare class BarsaShellbarComponent extends BaseComponent implements OnInit {
|
|
|
1263
1267
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1264
1268
|
ngOnDestroy(): void;
|
|
1265
1269
|
onSearchSubmit(e: SearchInput): void;
|
|
1270
|
+
/**
|
|
1271
|
+
* کلیک روی chip گروه: `'all'` فیلتر را پاک میکند، کلیک دوباره روی گروه فعال هم همینطور،
|
|
1272
|
+
* و گروه دیگر جای گروه فعلی را میگیرد (تکانتخابی).
|
|
1273
|
+
*/
|
|
1274
|
+
onSuggestionFilterClick(filter: SuggestionGroupFilter | 'all'): void;
|
|
1266
1275
|
onOpenSearchDialog(): void;
|
|
1267
1276
|
onSearchItemClick(e: SuggestionItem): void;
|
|
1268
1277
|
onSearchInputChange(e: any): void;
|
|
@@ -1678,6 +1687,8 @@ declare class NotificationGroupComponent extends BaseComponent implements OnInit
|
|
|
1678
1687
|
all: number;
|
|
1679
1688
|
};
|
|
1680
1689
|
notificationReport: MetaobjectDataModel;
|
|
1690
|
+
/** از تنظیمات شلبار سرور؛ وقتی true است فقط تب «By Date» نمایش داده میشود */
|
|
1691
|
+
dateGroupOnly: boolean;
|
|
1681
1692
|
_deviceSize: string;
|
|
1682
1693
|
viewed: EventEmitter<NotificationItem>;
|
|
1683
1694
|
remove: EventEmitter<{
|
|
@@ -1696,6 +1707,7 @@ declare class NotificationGroupComponent extends BaseComponent implements OnInit
|
|
|
1696
1707
|
loadMore: EventEmitter<void>;
|
|
1697
1708
|
expanded: Record<string, boolean>;
|
|
1698
1709
|
tabList: any[];
|
|
1710
|
+
visibleTabs: any[];
|
|
1699
1711
|
viewedNotifications: NotificationItem[];
|
|
1700
1712
|
reportSetting: WritableSignal<ContainerReportSetting>;
|
|
1701
1713
|
private _groupByServcie;
|
|
@@ -1708,8 +1720,9 @@ declare class NotificationGroupComponent extends BaseComponent implements OnInit
|
|
|
1708
1720
|
onWorkflowExecuteChoiceStatusChanged(e: WorkflowExecuteChoiceStatus, mo: NotificationItem): void;
|
|
1709
1721
|
_setGroupBy(): void;
|
|
1710
1722
|
_trackByTitle(_index: number, _: string): number | string;
|
|
1723
|
+
private _updateVisibleTabs;
|
|
1711
1724
|
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>;
|
|
1725
|
+
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
1726
|
}
|
|
1714
1727
|
|
|
1715
1728
|
declare class NotificationGroupHeaderComponent extends BaseComponent implements OnInit, OnChanges {
|