fas-admin 0.0.94 → 0.0.96

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.
Files changed (27) hide show
  1. package/api/api-services/operator-support-platform-settings.service.d.ts +15 -0
  2. package/api/operator-support-platform-settings-vm.model.d.ts +5 -0
  3. package/esm2022/api/api-services/operator-support-platform-settings.service.mjs +36 -0
  4. package/esm2022/api/operator-support-platform-settings-vm.model.mjs +2 -0
  5. package/esm2022/lib/components/views/faq/faq.component.mjs +3 -3
  6. package/esm2022/lib/components/views/messages/messages.component.mjs +9 -10
  7. package/esm2022/lib/components/views/notifications/notifications.component.mjs +3 -3
  8. package/esm2022/lib/components/views/operators/operators-list/operators-list.component.mjs +3 -3
  9. package/esm2022/lib/components/views/operators/operators.component.mjs +3 -3
  10. package/esm2022/lib/components/views/ratings/ratings.component.mjs +3 -3
  11. package/esm2022/lib/components/views/statistics/statistic-list/statistic-list.component.mjs +3 -3
  12. package/esm2022/lib/components/views/statistics/statistics.component.mjs +3 -3
  13. package/esm2022/lib/components/views/subscriptions/subscriptions.component.mjs +3 -3
  14. package/esm2022/lib/components/views/support-settings/support-settings.component.mjs +87 -0
  15. package/esm2022/lib/components/views/support-settings/support-settings.module.mjs +39 -0
  16. package/esm2022/lib/components/views/users/users-list/users-list.component.mjs +3 -3
  17. package/esm2022/lib/components/views/users/users.component.mjs +3 -3
  18. package/esm2022/lib/fas-admin.module.mjs +5 -1
  19. package/esm2022/lib/shared/const/fas-default-settings.const.mjs +7 -1
  20. package/esm2022/lib/shared/models/fas-admin-models.mjs +1 -1
  21. package/fesm2022/fas-admin.mjs +169 -22
  22. package/fesm2022/fas-admin.mjs.map +1 -1
  23. package/lib/components/views/support-settings/support-settings.component.d.ts +18 -0
  24. package/lib/components/views/support-settings/support-settings.module.d.ts +13 -0
  25. package/lib/fas-admin.module.d.ts +3 -2
  26. package/lib/shared/models/fas-admin-models.d.ts +1 -1
  27. package/package.json +1 -1
@@ -0,0 +1,18 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SupportSettingsComponent implements OnInit {
5
+ private _settingsService;
6
+ private _messageService;
7
+ private _fb;
8
+ form: FormGroup;
9
+ loading: boolean;
10
+ saving: boolean;
11
+ private originalValues;
12
+ ngOnInit(): void;
13
+ loadSettings(): void;
14
+ cancel(): void;
15
+ save(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<SupportSettingsComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<SupportSettingsComponent, "lib-support-settings", never, {}, {}, never, never, false, never>;
18
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./support-settings.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "primeng/button";
6
+ import * as i5 from "primeng/inputtext";
7
+ import * as i6 from "primeng/inputswitch";
8
+ import * as i7 from "primeng/progressspinner";
9
+ export declare class SupportSettingsModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<SupportSettingsModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SupportSettingsModule, [typeof i1.SupportSettingsComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.ButtonModule, typeof i5.InputTextModule, typeof i6.InputSwitchModule, typeof i7.ProgressSpinnerModule], never>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<SupportSettingsModule>;
13
+ }
@@ -16,13 +16,14 @@ import * as i12 from "primeng/divider";
16
16
  import * as i13 from "./components/views/ratings/ratings.module";
17
17
  import * as i14 from "./components/views/users/users.module";
18
18
  import * as i15 from "./components/views/faq/faq.module";
19
- import * as i16 from "primeng/toast";
19
+ import * as i16 from "./components/views/support-settings/support-settings.module";
20
+ import * as i17 from "primeng/toast";
20
21
  export declare class FASAdminModule {
21
22
  private configData;
22
23
  private fasAdminService;
23
24
  constructor(configData: IFASAdminConfigInitializer, fasAdminService: FASAdminService);
24
25
  private generateRoutes;
25
26
  static ɵfac: i0.ɵɵFactoryDeclaration<FASAdminModule, never>;
26
- static ɵmod: i0.ɵɵNgModuleDeclaration<FASAdminModule, [typeof i1.FASAdminComponent, typeof i2.TopBarComponent, typeof i3.SideBarComponent], [typeof i4.CommonModule, typeof i5.RouterModule, typeof i6.SubscriptionsModule, typeof i7.NotificationsModule, typeof i8.OverlayPanelModule, typeof i9.OperatorsModule, typeof i10.StatisticModule, typeof i11.MessagesModule, typeof i12.DividerModule, typeof i13.RatingsModule, typeof i14.UsersModule, typeof i15.FaqModule, typeof i16.ToastModule], never>;
27
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FASAdminModule, [typeof i1.FASAdminComponent, typeof i2.TopBarComponent, typeof i3.SideBarComponent], [typeof i4.CommonModule, typeof i5.RouterModule, typeof i6.SubscriptionsModule, typeof i7.NotificationsModule, typeof i8.OverlayPanelModule, typeof i9.OperatorsModule, typeof i10.StatisticModule, typeof i11.MessagesModule, typeof i12.DividerModule, typeof i13.RatingsModule, typeof i14.UsersModule, typeof i15.FaqModule, typeof i16.SupportSettingsModule, typeof i17.ToastModule], never>;
27
28
  static ɵinj: i0.ɵɵInjectorDeclaration<FASAdminModule>;
28
29
  }
@@ -5,7 +5,7 @@ export interface IFASButtonList {
5
5
  label: string;
6
6
  icon: string;
7
7
  }
8
- export type IFASDefaultRoutePath = 'dashboard' | 'statistic' | 'subscriptions' | 'messages' | 'operators' | 'users' | 'ratings' | 'notifications' | 'faq';
8
+ export type IFASDefaultRoutePath = 'dashboard' | 'statistic' | 'subscriptions' | 'messages' | 'operators' | 'users' | 'ratings' | 'notifications' | 'faq' | 'support-settings';
9
9
  export type IFASUserRole = 'PlatformOperator' | 'Osk';
10
10
  export interface IFASDefaultPath {
11
11
  path: IFASDefaultRoutePath;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fas-admin",
3
- "version": "0.0.94",
3
+ "version": "0.0.96",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",