ontimize-web-ngx 15.3.0 → 15.3.2
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/input/radio/o-radio.component.mjs +34 -5
- package/esm2020/lib/components/table/o-table.component.mjs +2 -2
- package/esm2020/lib/layouts/form-layout/tabgroup/o-form-layout-tabgroup.component.mjs +17 -34
- package/esm2020/lib/services/state/o-table-component-state.service.mjs +13 -5
- package/fesm2015/ontimize-web-ngx.mjs +59 -40
- package/fesm2015/ontimize-web-ngx.mjs.map +1 -1
- package/fesm2020/ontimize-web-ngx.mjs +58 -40
- package/fesm2020/ontimize-web-ngx.mjs.map +1 -1
- package/lib/components/input/radio/o-radio.component.d.ts +10 -3
- package/lib/layouts/form-layout/tabgroup/o-form-layout-tabgroup.component.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,20 +1,27 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, Injector } from '@angular/core';
|
|
2
|
-
import { MatRadioChange } from '@angular/material/radio';
|
|
1
|
+
import { AfterViewInit, ElementRef, Injector, OnDestroy } from '@angular/core';
|
|
2
|
+
import { MatRadioChange, MatRadioGroup } from '@angular/material/radio';
|
|
3
|
+
import { OFormLayoutManagerComponent } from '../../../layouts/form-layout/o-form-layout-manager.component';
|
|
3
4
|
import { OFormValue } from '../../form/o-form-value';
|
|
4
5
|
import { OFormComponent } from '../../form/o-form.component';
|
|
5
6
|
import { OFormServiceComponent } from '../o-form-service-component.class';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare const DEFAULT_INPUTS_O_RADIO: string[];
|
|
8
|
-
export declare class ORadioComponent extends OFormServiceComponent implements AfterViewInit {
|
|
9
|
+
export declare class ORadioComponent extends OFormServiceComponent implements AfterViewInit, OnDestroy {
|
|
9
10
|
layout: 'row' | 'column';
|
|
10
11
|
labelPosition: 'before' | 'after';
|
|
11
12
|
labelGap: string;
|
|
12
13
|
value: OFormValue;
|
|
14
|
+
formLayoutManager: OFormLayoutManagerComponent;
|
|
15
|
+
tabsSubscriptions: any;
|
|
16
|
+
mrg: MatRadioGroup;
|
|
17
|
+
formLayoutManagerTabIndex: number;
|
|
13
18
|
constructor(form: OFormComponent, elRef: ElementRef, injector: Injector);
|
|
14
19
|
ngAfterViewInit(): void;
|
|
20
|
+
updateFormLayoutManagerState(): void;
|
|
15
21
|
onMatRadioGroupChange(e: MatRadioChange): void;
|
|
16
22
|
getValueColumn(item: any): any;
|
|
17
23
|
getDescriptionValue(): string;
|
|
24
|
+
ngOnDestroy(): void;
|
|
18
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ORadioComponent, [{ optional: true; }, null, null]>;
|
|
19
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<ORadioComponent, "o-radio", never, { "layout": "layout"; "labelPosition": "label-position"; "labelGap": "label-gap"; }, {}, never, never, false, never>;
|
|
20
27
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, Injector, OnDestroy, QueryList, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { MatTabChangeEvent, MatTabGroup } from '@angular/material/tabs';
|
|
3
|
-
import { Router } from '@angular/router';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
4
|
import { BehaviorSubject, Subject, Subscription } from 'rxjs';
|
|
5
5
|
import { ILayoutManagerComponent } from '../../../interfaces/layout-manager-component.interface';
|
|
6
6
|
import { OFormLayoutManagerMode } from '../../../interfaces/o-form-layout-manager-mode.interface';
|
|
@@ -33,6 +33,7 @@ export declare class OFormLayoutTabGroupComponent implements OFormLayoutManagerM
|
|
|
33
33
|
protected previousSelectedIndex: number;
|
|
34
34
|
updateTabComponentsState: Subject<any>;
|
|
35
35
|
tabsModificationsCache: any[];
|
|
36
|
+
actRoute: ActivatedRoute;
|
|
36
37
|
constructor(injector: Injector, location: ViewContainerRef, elementRef: ElementRef, formLayoutManager: OFormLayoutManagerBase);
|
|
37
38
|
get state(): OFormLayoutManagerComponentStateClass;
|
|
38
39
|
ngAfterViewInit(): void;
|
|
@@ -58,7 +59,6 @@ export declare class OFormLayoutTabGroupComponent implements OFormLayoutManagerM
|
|
|
58
59
|
updateActiveData(data: any): void;
|
|
59
60
|
getDataToStore(): any;
|
|
60
61
|
initializeComponentState(): void;
|
|
61
|
-
protected createTabsFromState(): void;
|
|
62
62
|
protected createDetailComponent(component: any, paramsObj: any): FormLayoutDetailComponentData;
|
|
63
63
|
getParams(): any;
|
|
64
64
|
isMainComponent(comp: ILayoutManagerComponent): boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ontimize-web-ngx",
|
|
3
3
|
"homepage": "https://github.com/OntimizeWeb/ontimize-web-ngx#readme",
|
|
4
|
-
"version": "15.3.
|
|
4
|
+
"version": "15.3.2",
|
|
5
5
|
"description": "Ontimize Web framework using Angular 15",
|
|
6
6
|
"bugs": "https://github.com/OntimizeWeb/ontimize-web-ngx/issues",
|
|
7
7
|
"author": "Imatia S.L.",
|