barsa-tiles 3.0.10 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barsa-tiles",
3
- "version": "3.0.10",
3
+ "version": "3.0.12",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^22.0.8",
6
6
  "@angular/common": "^22.0.8",
@@ -1062,6 +1062,7 @@ declare class ShellbarComponent extends BaseComponent implements OnInit {
1062
1062
  private _domSanitizer;
1063
1063
  private _notificationService;
1064
1064
  private _shellbarHeightServcie;
1065
+ private _isDark;
1065
1066
  get repIdProfileImage(): string;
1066
1067
  get notificationReport(): MetaobjectDataModel;
1067
1068
  get subtitle(): string;
@@ -1136,6 +1137,8 @@ declare class TilePropPipe implements PipeTransform {
1136
1137
  static ɵpipe: i0.ɵɵPipeDeclaration<TilePropPipe, "tileProp", false>;
1137
1138
  }
1138
1139
 
1140
+ /** کلید گروه‌های chip فیلتر نتایج جستجو (به‌جز «همه»). */
1141
+ type SuggestionGroupFilter = 'subsystem' | 'navgroup' | 'report' | 'command';
1139
1142
  interface ShellbarSetting extends MetaobjectDataModel {
1140
1143
  subtitle: string;
1141
1144
  calcSubtitle: string;
@@ -1144,6 +1147,7 @@ interface ShellbarSetting extends MetaobjectDataModel {
1144
1147
  ProductMenuItems: MoForReportModel;
1145
1148
  UserMenuItems: MoForReportModel;
1146
1149
  ActionItems: MoForReportModel;
1150
+ NotificationGroupByDateOnly?: boolean;
1147
1151
  }
1148
1152
  declare class BarsaShellbarComponent extends BaseComponent implements OnInit {
1149
1153
  searchDialogContent: TemplateRef<any>;
@@ -1228,7 +1232,8 @@ declare class BarsaShellbarComponent extends BaseComponent implements OnInit {
1228
1232
  comboboxComponent: ComboboxComponent;
1229
1233
  popoverComponent: PopoverComponent;
1230
1234
  _notificationsDialog: TemplateRef<any>;
1231
- selectedSuggestionFiltertype: 'subsystem' | 'navgroup' | 'report' | 'command' | 'all';
1235
+ /** گروه فعال فیلتر نتایج جستجو؛ `null` یعنی «همه». signal است تا view داخل dialog (OnPush) رفرش شود. */
1236
+ selectedSuggestionFilter: i0.WritableSignal<SuggestionGroupFilter | null>;
1232
1237
  isOpenNotificatoin: boolean;
1233
1238
  expanded: boolean;
1234
1239
  searchTerms: string[];
@@ -1242,6 +1247,7 @@ declare class BarsaShellbarComponent extends BaseComponent implements OnInit {
1242
1247
  brandingTitleHidden: boolean;
1243
1248
  private _bbbTranslate;
1244
1249
  private _portalService;
1250
+ private _favoriteItems;
1245
1251
  private _dialogService;
1246
1252
  private _document;
1247
1253
  private _cdr;
@@ -1261,9 +1267,15 @@ declare class BarsaShellbarComponent extends BaseComponent implements OnInit {
1261
1267
  ngOnChanges(changes: SimpleChanges): void;
1262
1268
  ngOnDestroy(): void;
1263
1269
  onSearchSubmit(e: SearchInput): void;
1270
+ /**
1271
+ * کلیک روی chip گروه: `'all'` فیلتر را پاک می‌کند، کلیک دوباره روی گروه فعال هم همین‌طور،
1272
+ * و گروه دیگر جای گروه فعلی را می‌گیرد (تک‌انتخابی).
1273
+ */
1274
+ onSuggestionFilterClick(filter: SuggestionGroupFilter | 'all'): void;
1264
1275
  onOpenSearchDialog(): void;
1265
1276
  onSearchItemClick(e: SuggestionItem): void;
1266
1277
  onSearchInputChange(e: any): void;
1278
+ isFavorite(item: SuggestionItem): boolean;
1267
1279
  oFavoriteLink(item: SuggestionItem, e: any): void;
1268
1280
  onSearchOpen(e: boolean): void;
1269
1281
  onSearchLink(item: SuggestionItem, e: any): void;
@@ -1675,6 +1687,8 @@ declare class NotificationGroupComponent extends BaseComponent implements OnInit
1675
1687
  all: number;
1676
1688
  };
1677
1689
  notificationReport: MetaobjectDataModel;
1690
+ /** از تنظیمات شل‌بار سرور؛ وقتی true است فقط تب «By Date» نمایش داده می‌شود */
1691
+ dateGroupOnly: boolean;
1678
1692
  _deviceSize: string;
1679
1693
  viewed: EventEmitter<NotificationItem>;
1680
1694
  remove: EventEmitter<{
@@ -1693,6 +1707,7 @@ declare class NotificationGroupComponent extends BaseComponent implements OnInit
1693
1707
  loadMore: EventEmitter<void>;
1694
1708
  expanded: Record<string, boolean>;
1695
1709
  tabList: any[];
1710
+ visibleTabs: any[];
1696
1711
  viewedNotifications: NotificationItem[];
1697
1712
  reportSetting: WritableSignal<ContainerReportSetting>;
1698
1713
  private _groupByServcie;
@@ -1705,8 +1720,9 @@ declare class NotificationGroupComponent extends BaseComponent implements OnInit
1705
1720
  onWorkflowExecuteChoiceStatusChanged(e: WorkflowExecuteChoiceStatus, mo: NotificationItem): void;
1706
1721
  _setGroupBy(): void;
1707
1722
  _trackByTitle(_index: number, _: string): number | string;
1723
+ private _updateVisibleTabs;
1708
1724
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationGroupComponent, never>;
1709
- 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>;
1710
1726
  }
1711
1727
 
1712
1728
  declare class NotificationGroupHeaderComponent extends BaseComponent implements OnInit, OnChanges {