tin-spa 2.6.6 → 2.6.7
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/classes/Classes.mjs +1 -1
- package/esm2020/lib/components/form/form.component.mjs +16 -1
- package/esm2020/lib/components/select/select.component.mjs +4 -4
- package/esm2020/lib/components/select-common/select-common.component.mjs +27 -2
- package/esm2020/lib/components/select-internal/select-internal.component.mjs +4 -4
- package/esm2020/lib/components/select-lite/select-lite.component.mjs +3 -3
- package/esm2020/lib/components/table/detailsDialog.component.mjs +3 -3
- package/esm2020/lib/components/table-internal/detailsDialog-internal.component.mjs +3 -3
- package/esm2020/lib/components/table-lite/detailsDialog-lite.component.mjs +3 -3
- package/fesm2015/tin-spa.mjs +60 -18
- package/fesm2015/tin-spa.mjs.map +1 -1
- package/fesm2020/tin-spa.mjs +53 -15
- package/fesm2020/tin-spa.mjs.map +1 -1
- package/lib/classes/Classes.d.ts +2 -0
- package/lib/components/select-common/select-common.component.d.ts +7 -4
- package/package.json +1 -1
package/lib/classes/Classes.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BehaviorSubject } from "rxjs";
|
|
1
2
|
export declare class ApiResponse {
|
|
2
3
|
success: boolean;
|
|
3
4
|
message: string;
|
|
@@ -144,6 +145,7 @@ export interface Field {
|
|
|
144
145
|
infoMessage?: string;
|
|
145
146
|
suffix?: string;
|
|
146
147
|
subfields?: Field[];
|
|
148
|
+
optionsSubject?: BehaviorSubject<any[]>;
|
|
147
149
|
}
|
|
148
150
|
export interface ChildField {
|
|
149
151
|
childField?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MessageService } from '../../services/message.service';
|
|
3
|
-
import { Action } from '../../classes/Classes';
|
|
3
|
+
import { Action, Field } from '../../classes/Classes';
|
|
4
4
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class SelectCommonComponent implements OnInit {
|
|
6
|
+
export declare class SelectCommonComponent implements OnInit, OnDestroy {
|
|
7
7
|
protected messageService: MessageService;
|
|
8
8
|
protected dataService: DataServiceLib;
|
|
9
9
|
constructor(messageService: MessageService, dataService: DataServiceLib);
|
|
@@ -11,6 +11,7 @@ export declare class SelectCommonComponent implements OnInit {
|
|
|
11
11
|
ngOnChanges(): void;
|
|
12
12
|
displayValue: any;
|
|
13
13
|
isHovered: boolean;
|
|
14
|
+
private subscription;
|
|
14
15
|
width: string;
|
|
15
16
|
readonly: boolean;
|
|
16
17
|
required: boolean;
|
|
@@ -31,6 +32,7 @@ export declare class SelectCommonComponent implements OnInit {
|
|
|
31
32
|
infoMessage: string;
|
|
32
33
|
copyContent: boolean;
|
|
33
34
|
loadAction: Action;
|
|
35
|
+
field: Field;
|
|
34
36
|
valueChange: EventEmitter<any>;
|
|
35
37
|
hoverChange: EventEmitter<boolean>;
|
|
36
38
|
changed(): void;
|
|
@@ -38,6 +40,7 @@ export declare class SelectCommonComponent implements OnInit {
|
|
|
38
40
|
onMouseLeave(): void;
|
|
39
41
|
refresh(event: MouseEvent): void;
|
|
40
42
|
getData(loadAction: Action): void;
|
|
43
|
+
ngOnDestroy(): void;
|
|
41
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectCommonComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectCommonComponent, "spa-select-common", never, { "width": "width"; "readonly": "readonly"; "required": "required"; "defaultFirstValue": "defaultFirstValue"; "readonlyMode": "readonlyMode"; "hint": "hint"; "placeholder": "placeholder"; "multiple": "multiple"; "display": "display"; "value": "value"; "options": "options"; "masterOptions": "masterOptions"; "masterField": "masterField"; "optionValue": "optionValue"; "optionDisplay": "optionDisplay"; "optionDisplayExtra": "optionDisplayExtra"; "nullable": "nullable"; "infoMessage": "infoMessage"; "copyContent": "copyContent"; "loadAction": "loadAction"; }, { "valueChange": "valueChange"; "hoverChange": "hoverChange"; }, never, ["[additionalButtons]"], false>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectCommonComponent, "spa-select-common", never, { "width": "width"; "readonly": "readonly"; "required": "required"; "defaultFirstValue": "defaultFirstValue"; "readonlyMode": "readonlyMode"; "hint": "hint"; "placeholder": "placeholder"; "multiple": "multiple"; "display": "display"; "value": "value"; "options": "options"; "masterOptions": "masterOptions"; "masterField": "masterField"; "optionValue": "optionValue"; "optionDisplay": "optionDisplay"; "optionDisplayExtra": "optionDisplayExtra"; "nullable": "nullable"; "infoMessage": "infoMessage"; "copyContent": "copyContent"; "loadAction": "loadAction"; "field": "field"; }, { "valueChange": "valueChange"; "hoverChange": "hoverChange"; }, never, ["[additionalButtons]"], false>;
|
|
43
46
|
}
|