@smartsoft001/angular 1.2.61 → 1.2.63

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.
@@ -182,7 +182,7 @@ export declare const INFO_COMPONENTS: (typeof InfoComponent | typeof InfoModalCo
182
182
  export declare const DATE_RANGE_COMPONENTS: (typeof DateRangeComponent | typeof DateRangeModalComponent)[];
183
183
  export declare const DATE_EDIT_COMPONENTS: (typeof DateEditComponent)[];
184
184
  export declare const DYNAMIC_COMPONENTS: (typeof DynamicComponent)[];
185
- export declare const COMPONENTS: (typeof AccordionBodyComponent | typeof AppSplitPanelComponent | typeof ButtonComponent | typeof DetailEmailComponent | typeof DetailsComponent | typeof DetailsStandardComponent | typeof FormComponent | typeof FormStandardComponent | typeof InputComponent | typeof InputDateComponent | typeof InputErrorComponent | typeof InputRadioComponent | typeof ListComponent | typeof ListDesktopComponent | typeof ListMobileComponent | typeof LoaderComponent | typeof PageComponent | typeof PageStandardComponent | typeof TabComponent | typeof TabsComponent | typeof InputStringsComponent | typeof InputLongTextComponent | typeof InputObjectComponent | typeof DetailObjectComponent | typeof InputCheckComponent | typeof DynamicComponent | typeof InputIntsComponent | typeof PasswordStrengthComponent | typeof InfoComponent | typeof InfoModalComponent | typeof ExportComponent | typeof ImportComponent | typeof ErrorContextComponent | typeof InputArrayComponent | typeof DetailArrayComponent | typeof InputPdfComponent | typeof DetailPdfComponent | typeof DetailVideoComponent | typeof DetailAttachmentComponent | typeof InputDateRangeComponent | typeof DateRangeComponent | typeof DateRangeModalComponent | typeof DetailImageComponent | typeof ListMasonryGridComponent | typeof FormStepperComponent | typeof DateEditComponent | typeof ButtonStandardComponent | typeof PagingComponent)[];
185
+ export declare const COMPONENTS: (typeof AccordionBodyComponent | typeof AppSplitPanelComponent | typeof ButtonComponent | typeof DetailEmailComponent | typeof DetailsComponent | typeof DetailsStandardComponent | typeof FormComponent | typeof FormStandardComponent | typeof InputComponent | typeof InputDateComponent | typeof InputErrorComponent | typeof InputRadioComponent | typeof ListComponent | typeof LoaderComponent | typeof PageComponent | typeof PageStandardComponent | typeof TabComponent | typeof TabsComponent | typeof InputStringsComponent | typeof InputLongTextComponent | typeof InputObjectComponent | typeof DetailObjectComponent | typeof InputCheckComponent | typeof DynamicComponent | typeof InputIntsComponent | typeof PasswordStrengthComponent | typeof InfoComponent | typeof InfoModalComponent | typeof ExportComponent | typeof ImportComponent | typeof ErrorContextComponent | typeof InputArrayComponent | typeof DetailArrayComponent | typeof InputPdfComponent | typeof DetailPdfComponent | typeof DetailVideoComponent | typeof DetailAttachmentComponent | typeof InputDateRangeComponent | typeof DateRangeComponent | typeof DateRangeModalComponent | typeof DetailImageComponent | typeof FormStepperComponent | typeof DateEditComponent | typeof ButtonStandardComponent | typeof PagingComponent)[];
186
186
  export declare const IMPORTS: (typeof SharedDirectivesModule | typeof RouterModule)[];
187
187
  export declare class SharedComponentsModule {
188
188
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedComponentsModule, never>;
@@ -1,23 +1,23 @@
1
- import { ChangeDetectorRef, OnInit, Type, ViewContainerRef } from "@angular/core";
2
- import { Observable } from "rxjs";
1
+ import { ChangeDetectorRef, OnInit, Type, ViewContainerRef } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import { TranslateService } from '@ngx-translate/core';
3
4
  import { Router } from "@angular/router";
4
- import { TranslateService } from "@ngx-translate/core";
5
- import { FieldType } from "@smartsoft001/models";
6
- import { IEntity } from "@smartsoft001/domain-core";
7
- import { IDetailsOptions, IListProvider, IButtonOptions, ICellPipe, DynamicComponentType, PaginationMode, IListInternalOptions } from "../../../models/interfaces";
8
- import { AlertService } from "../../../services/alert/alert.service";
9
- import { AuthService } from "../../../services/auth/auth.service";
5
+ import { FieldType } from '@smartsoft001/models';
6
+ import { IEntity } from '@smartsoft001/domain-core';
7
+ import { IDetailsOptions, IListProvider, IButtonOptions, ICellPipe, DynamicComponentType, PaginationMode, IListInternalOptions } from '../../../models/interfaces';
8
+ import { AlertService } from '../../../services/alert/alert.service';
9
+ import { AuthService } from '../../../services/auth/auth.service';
10
10
  import * as i0 from "@angular/core";
11
11
  export declare abstract class ListBaseComponent<T extends IEntity<string>> implements OnInit {
12
+ static smartType: DynamicComponentType;
13
+ private _fields;
14
+ private _internalOptions;
15
+ protected provider: IListProvider<T>;
12
16
  protected authService: AuthService;
13
17
  protected router: Router;
14
18
  protected alertService: AlertService;
15
19
  protected cd: ChangeDetectorRef;
16
20
  protected translateService: TranslateService;
17
- static smartType: DynamicComponentType;
18
- protected provider: IListProvider<T>;
19
- private _fields;
20
- private _internalOptions;
21
21
  detailsComponent: any;
22
22
  selectMode?: 'multi';
23
23
  detailsComponentProps: IDetailsOptions<T>;
@@ -46,7 +46,7 @@ export declare abstract class ListBaseComponent<T extends IEntity<string>> imple
46
46
  set options(val: IListInternalOptions<T>);
47
47
  get options(): IListInternalOptions<T>;
48
48
  contentTpl: ViewContainerRef;
49
- constructor(authService: AuthService, router: Router, alertService: AlertService, cd: ChangeDetectorRef, translateService: TranslateService);
49
+ constructor();
50
50
  protected initKeys(data?: Array<T>): void;
51
51
  protected initList(val: IListInternalOptions<T>): void;
52
52
  protected initLoading(): void;
@@ -1,23 +1,16 @@
1
- import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit, ViewContainerRef } from "@angular/core";
2
- import { Router } from "@angular/router";
3
- import { TranslateService } from "@ngx-translate/core";
1
+ import { AfterViewInit, OnDestroy, OnInit, ViewContainerRef } from "@angular/core";
4
2
  import { MatSort } from "@angular/material/sort";
5
- import { ScrollDispatcher } from "@angular/cdk/overlay";
6
3
  import { IEntity } from "@smartsoft001/domain-core";
7
4
  import { ListBaseComponent } from "../base/base.component";
8
- import { AlertService } from "../../../services/alert/alert.service";
9
5
  import { IListComponentFactories, IListInternalOptions } from "../../../models/interfaces";
10
- import { AuthService } from "../../../services/auth/auth.service";
11
6
  import * as i0 from "@angular/core";
12
7
  export declare class ListDesktopComponent<T extends IEntity<string>> extends ListBaseComponent<T> implements OnInit, OnDestroy, AfterViewInit {
13
- private scrollDispatcher;
14
8
  private _subscriptions;
15
9
  private _multiSelected;
16
10
  componentFactories: IListComponentFactories<T>;
17
11
  get desktopKeys(): Array<string>;
18
12
  sortObj: MatSort;
19
13
  topTpl: ViewContainerRef;
20
- constructor(authService: AuthService, router: Router, alertService: AlertService, cd: ChangeDetectorRef, translateService: TranslateService, scrollDispatcher: ScrollDispatcher);
21
14
  protected initList(val: IListInternalOptions<T>): void;
22
15
  onChangeMultiselect(checked: boolean, element: T, list: T[]): void;
23
16
  myTrackById(val: any): any;
@@ -1,12 +1,8 @@
1
- import { ChangeDetectorRef, OnInit, ViewContainerRef, AfterViewInit } from "@angular/core";
2
- import { Router } from "@angular/router";
3
- import { TranslateService } from "@ngx-translate/core";
4
- import { Observable } from "rxjs";
5
- import { IEntity } from "@smartsoft001/domain-core";
6
- import { ListBaseComponent } from "../base/base.component";
7
- import { AlertService } from "../../../services/alert/alert.service";
8
- import { AuthService } from "../../../services/auth/auth.service";
9
- import { IListComponentFactories, IListInternalOptions } from "../../../models";
1
+ import { OnInit, ViewContainerRef, AfterViewInit } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import { IEntity } from '@smartsoft001/domain-core';
4
+ import { ListBaseComponent } from '../base/base.component';
5
+ import { IListComponentFactories, IListInternalOptions } from '../../../models';
10
6
  import * as i0 from "@angular/core";
11
7
  export declare class ListMasonryGridComponent<T extends IEntity<string>> extends ListBaseComponent<T> implements OnInit, AfterViewInit {
12
8
  componentFactories: IListComponentFactories<T>;
@@ -15,7 +11,6 @@ export declare class ListMasonryGridComponent<T extends IEntity<string>> extends
15
11
  image: any;
16
12
  }[]>;
17
13
  topTpl: ViewContainerRef;
18
- constructor(authService: AuthService, router: Router, alertService: AlertService, cd: ChangeDetectorRef, translateService: TranslateService);
19
14
  ngOnInit(): void;
20
15
  ngAfterViewInit(): void;
21
16
  protected afterInitOptions(): void;
@@ -1,16 +1,11 @@
1
- import { AfterViewInit, ChangeDetectorRef, ViewContainerRef } from "@angular/core";
2
- import { Router } from "@angular/router";
3
- import { TranslateService } from "@ngx-translate/core";
1
+ import { AfterViewInit, ViewContainerRef } from "@angular/core";
4
2
  import { IEntity } from "@smartsoft001/domain-core";
5
3
  import { ListBaseComponent } from "../base/base.component";
6
- import { AlertService } from "../../../services/alert/alert.service";
7
- import { AuthService } from "../../../services/auth/auth.service";
8
4
  import { IListComponentFactories, IListInternalOptions } from "../../../models";
9
5
  import * as i0 from "@angular/core";
10
6
  export declare class ListMobileComponent<T extends IEntity<string>> extends ListBaseComponent<T> implements AfterViewInit {
11
7
  componentFactories: IListComponentFactories<T>;
12
8
  topTpl: ViewContainerRef;
13
- constructor(authService: AuthService, router: Router, alertService: AlertService, cd: ChangeDetectorRef, translateService: TranslateService);
14
9
  protected initList(val: IListInternalOptions<T>): void;
15
10
  ngAfterViewInit(): void;
16
11
  private generateDynamicComponents;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartsoft001/angular",
3
- "version": "1.2.61",
3
+ "version": "1.2.63",
4
4
  "sideEffects": true,
5
5
  "module": "fesm2015/smartsoft001-angular.mjs",
6
6
  "es2020": "fesm2020/smartsoft001-angular.mjs",
@@ -42,7 +42,7 @@
42
42
  "@angular/material-moment-adapter": "15.1.1",
43
43
  "ng-dynamic-component": "10.5.1",
44
44
  "moment": "2.29.4",
45
- "@smartsoft001/domain-core": "1.1.61",
45
+ "@smartsoft001/domain-core": "1.1.63",
46
46
  "@ngrx/router-store": "15.3.0",
47
47
  "lodash-decorators": "6.0.1",
48
48
  "@angular/platform-browser": "15.1.1",