@smartsoft001/angular 1.2.85 → 1.2.88
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/esm2022/lib/components/date-range/date-range.component.mjs +11 -21
- package/esm2022/lib/pipes/list-cell/list-cell.pipe.mjs +2 -2
- package/fesm2022/smartsoft001-angular.mjs +11 -21
- package/fesm2022/smartsoft001-angular.mjs.map +1 -1
- package/lib/components/date-range/date-range.component.d.ts +1 -1
- package/lib/components/detail/detail.component.d.ts +1 -2
- package/lib/components/input/array/array.component.d.ts +2 -2
- package/lib/components/input/input.component.d.ts +2 -2
- package/lib/components/list/base/base.component.d.ts +1 -2
- package/lib/pipes/list-cell/list-cell.pipe.d.ts +2 -2
- package/package.json +2 -2
|
@@ -27,7 +27,7 @@ export declare class DateRangeComponent implements ControlValueAccessor {
|
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeComponent, never>;
|
|
28
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeComponent, "smart-date-range", never, { "ngModel": { "alias": "ngModel"; "required": false; }; }, { "ngModelChange": "ngModelChange"; }, never, never, false, never>;
|
|
29
29
|
}
|
|
30
|
-
export declare enum FilterBtnConstants {
|
|
30
|
+
export declare const enum FilterBtnConstants {
|
|
31
31
|
empthyString = "",
|
|
32
32
|
today = "Today",
|
|
33
33
|
yesterday = "Yesterday",
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { IDetailOptions } from "../../models/interfaces";
|
|
3
|
-
import { FieldType } from "@smartsoft001/models";
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class DetailComponent<T> implements OnInit {
|
|
6
|
-
FieldType: typeof
|
|
5
|
+
FieldType: typeof import("@smartsoft001/models").FieldTypeDef;
|
|
7
6
|
options: IDetailOptions<T>;
|
|
8
7
|
type: any;
|
|
9
8
|
constructor();
|
|
@@ -3,7 +3,7 @@ import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
|
3
3
|
import { InputBaseComponent } from "../base/base.component";
|
|
4
4
|
import { IButtonOptions, IFormOptions } from "../../../models";
|
|
5
5
|
import { FormFactory } from "../../../factories/form/form.factory";
|
|
6
|
-
import {
|
|
6
|
+
import { IFieldOptions, IModelOptions } from "@smartsoft001/models";
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class InputArrayComponent<T, TChild> extends InputBaseComponent<T> implements OnInit {
|
|
9
9
|
private factory;
|
|
@@ -14,7 +14,7 @@ export declare class InputArrayComponent<T, TChild> extends InputBaseComponent<T
|
|
|
14
14
|
modelOptions: IModelOptions;
|
|
15
15
|
}>;
|
|
16
16
|
addButtonOptions: IButtonOptions;
|
|
17
|
-
FieldType: typeof
|
|
17
|
+
FieldType: typeof import("@smartsoft001/models").FieldTypeDef;
|
|
18
18
|
constructor(cd: ChangeDetectorRef, factory: FormFactory, formComponent: any);
|
|
19
19
|
protected afterSetOptionsHandler(): void;
|
|
20
20
|
onRemove(index: number): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentFactoryResolver, Injector, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { InputOptions } from "../../models/interfaces";
|
|
3
|
-
import {
|
|
3
|
+
import { IFieldOptions } from "@smartsoft001/models";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class InputComponent<T> implements OnInit {
|
|
6
6
|
private componentFactoryResolver;
|
|
@@ -8,7 +8,7 @@ export declare class InputComponent<T> implements OnInit {
|
|
|
8
8
|
private _options;
|
|
9
9
|
status: any;
|
|
10
10
|
fieldOptions: IFieldOptions;
|
|
11
|
-
FieldType: typeof
|
|
11
|
+
FieldType: typeof import("@smartsoft001/models").FieldTypeDef;
|
|
12
12
|
componentRef: ViewContainerRef;
|
|
13
13
|
set options(val: InputOptions<T>);
|
|
14
14
|
get options(): InputOptions<T>;
|
|
@@ -2,7 +2,6 @@ import { ChangeDetectorRef, OnInit, Type, ViewContainerRef } from '@angular/core
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
4
|
import { Router } from "@angular/router";
|
|
5
|
-
import { FieldType } from '@smartsoft001/models';
|
|
6
5
|
import { IEntity } from '@smartsoft001/domain-core';
|
|
7
6
|
import { IDetailsOptions, IListProvider, IButtonOptions, ICellPipe, DynamicComponentType, PaginationMode, IListInternalOptions } from '../../../models/interfaces';
|
|
8
7
|
import { AlertService } from '../../../services/alert/alert.service';
|
|
@@ -36,7 +35,7 @@ export declare abstract class ListBaseComponent<T extends IEntity<string>> imple
|
|
|
36
35
|
loading$: Observable<boolean>;
|
|
37
36
|
page$: Observable<number>;
|
|
38
37
|
totalPages$: Observable<number>;
|
|
39
|
-
FieldType: typeof
|
|
38
|
+
FieldType: typeof import("@smartsoft001/models").FieldTypeDef;
|
|
40
39
|
PaginationMode: typeof PaginationMode;
|
|
41
40
|
type: Type<T>;
|
|
42
41
|
sort: boolean | {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PipeTransform, Type } from "@angular/core";
|
|
2
2
|
import { TranslateService } from "@ngx-translate/core";
|
|
3
|
-
import {
|
|
3
|
+
import { FieldTypeDef } from "@smartsoft001/models";
|
|
4
4
|
import { ICellPipe } from "../../models/interfaces";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class ListCellPipe<T> implements PipeTransform {
|
|
@@ -8,7 +8,7 @@ export declare class ListCellPipe<T> implements PipeTransform {
|
|
|
8
8
|
constructor(translateService: TranslateService);
|
|
9
9
|
transform(obj: T, key: string, pipe: ICellPipe<T>, type?: Type<T>): {
|
|
10
10
|
value?: any;
|
|
11
|
-
type?:
|
|
11
|
+
type?: FieldTypeDef;
|
|
12
12
|
};
|
|
13
13
|
private getFieldType;
|
|
14
14
|
private getValue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartsoft001/angular",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.88",
|
|
4
4
|
"sideEffects": true,
|
|
5
5
|
"module": "fesm2022/smartsoft001-angular.mjs",
|
|
6
6
|
"typings": "index.d.ts",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@angular/material-moment-adapter": "16.1.3",
|
|
37
37
|
"ng-dynamic-component": "10.7.0",
|
|
38
38
|
"moment": "2.29.4",
|
|
39
|
-
"@smartsoft001/domain-core": "1.1.
|
|
39
|
+
"@smartsoft001/domain-core": "1.1.88",
|
|
40
40
|
"@ngrx/router-store": "16.0.1",
|
|
41
41
|
"lodash-decorators": "6.0.1",
|
|
42
42
|
"@angular/platform-browser": "16.1.3",
|