@smartsoft001/angular 1.2.60 → 1.2.62
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/esm2020/lib/components/app/split-panel/split-panel.component.mjs +1 -1
- package/esm2020/lib/components/date-edit/date-edit.component.mjs +1 -1
- package/esm2020/lib/components/detail/flag/flag.component.mjs +1 -1
- package/esm2020/lib/components/input/address/address.component.mjs +1 -1
- package/esm2020/lib/components/input/check/check.component.mjs +1 -1
- package/esm2020/lib/components/input/currency/currency.component.mjs +1 -1
- package/esm2020/lib/components/input/date/date.component.mjs +1 -1
- package/esm2020/lib/components/input/email/email.component.mjs +1 -1
- package/esm2020/lib/components/input/enum/enum.component.mjs +1 -1
- package/esm2020/lib/components/input/flag/flag.component.mjs +1 -1
- package/esm2020/lib/components/input/float/float.component.mjs +1 -1
- package/esm2020/lib/components/input/int/int.component.mjs +1 -1
- package/esm2020/lib/components/input/ints/ints.component.mjs +1 -1
- package/esm2020/lib/components/input/nip/nip.component.mjs +1 -1
- package/esm2020/lib/components/input/password/password.component.mjs +1 -1
- package/esm2020/lib/components/input/pesel/pesel.component.mjs +1 -1
- package/esm2020/lib/components/input/phone-number/phone-number.component.mjs +1 -1
- package/esm2020/lib/components/input/phone-number-pl/phone-number-pl.component.mjs +1 -1
- package/esm2020/lib/components/input/radio/radio.component.mjs +1 -1
- package/esm2020/lib/components/input/strings/strings.component.mjs +1 -1
- package/esm2020/lib/components/input/text/text.component.mjs +1 -1
- package/esm2020/lib/components/list/base/base.component.mjs +56 -53
- package/esm2020/lib/components/list/desktop/desktop.component.mjs +19 -29
- package/esm2020/lib/components/list/masonry-grid/masonry-grid.component.mjs +19 -30
- package/esm2020/lib/components/list/mobile/mobile.component.mjs +12 -22
- package/fesm2015/smartsoft001-angular.mjs +167 -168
- package/fesm2015/smartsoft001-angular.mjs.map +1 -1
- package/fesm2020/smartsoft001-angular.mjs +166 -167
- package/fesm2020/smartsoft001-angular.mjs.map +1 -1
- package/lib/components/components.module.d.ts +1 -1
- package/lib/components/list/base/base.component.d.ts +15 -15
- package/lib/components/list/desktop/desktop.component.d.ts +1 -8
- package/lib/components/list/masonry-grid/masonry-grid.component.d.ts +5 -10
- package/lib/components/list/mobile/mobile.component.d.ts +1 -6
- package/package.json +8 -8
|
@@ -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
|
|
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
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { TranslateService } from
|
|
5
|
-
import { FieldType } from
|
|
6
|
-
import { IEntity } from
|
|
7
|
-
import { IDetailsOptions, IListProvider, IButtonOptions, ICellPipe, DynamicComponentType, PaginationMode, IListInternalOptions } from
|
|
8
|
-
import { AlertService } from
|
|
9
|
-
import { AuthService } from
|
|
1
|
+
import { ChangeDetectorRef, OnInit, Type, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { NavController } from '@ionic/angular';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
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';
|
|
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
|
-
protected
|
|
17
|
+
protected navCtrl: NavController;
|
|
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(
|
|
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,
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
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,
|
|
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.
|
|
3
|
+
"version": "1.2.62",
|
|
4
4
|
"sideEffects": true,
|
|
5
5
|
"module": "fesm2015/smartsoft001-angular.mjs",
|
|
6
6
|
"es2020": "fesm2020/smartsoft001-angular.mjs",
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"tslib": "^2.3.0",
|
|
26
26
|
"@angular/core": "15.1.1",
|
|
27
|
-
"@ngrx/effects": "15.
|
|
28
|
-
"rxjs": "7.
|
|
29
|
-
"@ngrx/store": "15.
|
|
27
|
+
"@ngrx/effects": "15.3.0",
|
|
28
|
+
"rxjs": "7.8.1",
|
|
29
|
+
"@ngrx/store": "15.3.0",
|
|
30
30
|
"@angular/common": "15.1.1",
|
|
31
31
|
"@angular/router": "15.1.1",
|
|
32
32
|
"chart.js": "2.9.4",
|
|
33
33
|
"ng2-charts": "2.4.2",
|
|
34
|
-
"@ionic/angular": "
|
|
34
|
+
"@ionic/angular": "7.0.5",
|
|
35
35
|
"@angular/forms": "15.1.1",
|
|
36
36
|
"@ngx-translate/core": "13.0.0",
|
|
37
37
|
"@angular/material": "15.1.1",
|
|
@@ -42,15 +42,15 @@
|
|
|
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.
|
|
46
|
-
"@ngrx/router-store": "15.
|
|
45
|
+
"@smartsoft001/domain-core": "1.1.62",
|
|
46
|
+
"@ngrx/router-store": "15.3.0",
|
|
47
47
|
"lodash-decorators": "6.0.1",
|
|
48
48
|
"@angular/platform-browser": "15.1.1",
|
|
49
49
|
"ng-table-virtual-scroll": "1.4.1",
|
|
50
50
|
"jwt-decode": "3.1.1",
|
|
51
51
|
"@capacitor/core": "2.5.0",
|
|
52
52
|
"@ionic-native/fingerprint-aio": "5.36.0",
|
|
53
|
-
"@ionic/core": "
|
|
53
|
+
"@ionic/core": "7.0.5",
|
|
54
54
|
"ngx-cookie": "5.0.2",
|
|
55
55
|
"@ionic/storage": "2.3.1"
|
|
56
56
|
},
|