@smartbit4all/ng-client 3.3.136 → 3.3.138
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/smart-client/smart-component-api-client.mjs +2 -23
- package/esm2020/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.mjs +1 -1
- package/esm2020/lib/smart-component-layout/smart-component-layout-utility.mjs +21 -1
- package/esm2020/lib/smart-component-layout/smart-component-layout.component.mjs +8 -4
- package/esm2020/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +3 -3
- package/fesm2015/smartbit4all-ng-client.mjs +104 -103
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +102 -100
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-client/smart-component-api-client.d.ts +0 -1
- package/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.d.ts +2 -0
- package/lib/smart-component-layout/smart-component-layout-utility.d.ts +3 -1
- package/lib/smart-component-layout/smart-component-layout.component.d.ts +4 -2
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.138.tgz +0 -0
- package/smartbit4all-ng-client-3.3.136.tgz +0 -0
|
@@ -58,7 +58,6 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
|
|
|
58
58
|
protected abstract getSmartComponentLayoutsQL(): QueryList<SmartComponentLayoutComponent> | undefined;
|
|
59
59
|
protected getWidgets(): Map<string, SmartGridComponent | SmarttreeGenericService | SmartFilterEditorService | undefined>;
|
|
60
60
|
initComponentByModel(): void;
|
|
61
|
-
protected initStyle(): void;
|
|
62
61
|
protected getAllSmartFormComponents(): SmartformComponent[];
|
|
63
62
|
protected getAllSmartGridComponents(): SmartGridComponent[];
|
|
64
63
|
protected getAllSmartTreeComponents(): SmarttreeGenericService[];
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { ComponentType } from './componentType';
|
|
13
13
|
import { LayoutDirection } from './layoutDirection';
|
|
14
14
|
import { SmartComponentWidgetDefinition } from './smartComponentWidgetDefinition';
|
|
15
|
+
import { Style } from '../../../view-context/api/model/style';
|
|
15
16
|
import { SmartWidgetDefinition } from '../../../smart-form/api/model/smartWidgetDefinition';
|
|
16
17
|
export interface SmartComponentLayoutDefinition {
|
|
17
18
|
type: ComponentType;
|
|
@@ -21,4 +22,5 @@ export interface SmartComponentLayoutDefinition {
|
|
|
21
22
|
components?: Array<SmartComponentLayoutDefinition>;
|
|
22
23
|
widget?: SmartComponentWidgetDefinition;
|
|
23
24
|
form?: Array<SmartWidgetDefinition>;
|
|
25
|
+
style?: Style;
|
|
24
26
|
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { SmartformComponent } from '../smart-form/projects';
|
|
2
2
|
import { SmartGridComponent } from '../smart-grid/projects';
|
|
3
3
|
import { SmarttreeGenericService } from '../smart-tree/projects';
|
|
4
|
-
import { UiActionToolbarComponent } from '../view-context/projects';
|
|
4
|
+
import { Style, UiActionToolbarComponent } from '../view-context/projects';
|
|
5
5
|
import { SmartComponentLayoutComponent } from './smart-component-layout.component';
|
|
6
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
6
7
|
export declare class SmartComponentLayoutUtility {
|
|
7
8
|
static getForms(comp: SmartComponentLayoutComponent): SmartformComponent[];
|
|
8
9
|
static getGrids(comp: SmartComponentLayoutComponent): SmartGridComponent[];
|
|
9
10
|
static getTrees(comp: SmartComponentLayoutComponent): SmarttreeGenericService[];
|
|
10
11
|
static getToolbars(comp: SmartComponentLayoutComponent): UiActionToolbarComponent[];
|
|
11
12
|
static getExpandableComponent(comp: SmartComponentLayoutComponent): SmartComponentLayoutComponent;
|
|
13
|
+
static applyStyle(style: Style | undefined, elementRef?: ElementRef, renderer?: Renderer2): void;
|
|
12
14
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, OnChanges, OnDestroy, QueryList, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ElementRef, OnChanges, OnDestroy, QueryList, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ComponentType, SmartComponentLayoutDefinition } from './api';
|
|
3
3
|
import { SmartForm, SmartFormWidgetDirection, SmartformComponent, SmartformLayoutDefinitionService } from '../smart-form/projects';
|
|
4
4
|
import { SmartGrid, SmartGridComponent } from '../smart-grid/projects';
|
|
@@ -10,6 +10,8 @@ import { UiActionToolbarComponent } from '../view-context/projects';
|
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class SmartComponentLayoutComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
12
12
|
private layoutService;
|
|
13
|
+
private element?;
|
|
14
|
+
private renderer?;
|
|
13
15
|
protected _destroy$: Subject<void>;
|
|
14
16
|
smartComponentLayout?: SmartComponentLayoutDefinition;
|
|
15
17
|
parentLayoutComponent?: SmartComponentLayoutComponent;
|
|
@@ -32,7 +34,7 @@ export declare class SmartComponentLayoutComponent implements AfterViewInit, OnD
|
|
|
32
34
|
expandableSection?: ExpandableSection<SmartComponentLayoutDefinition>;
|
|
33
35
|
expandableComponents: QueryList<ExpandableSectionComponent>;
|
|
34
36
|
components: QueryList<SmartComponentLayoutComponent>;
|
|
35
|
-
constructor(layoutService: SmartformLayoutDefinitionService);
|
|
37
|
+
constructor(layoutService: SmartformLayoutDefinitionService, element?: ElementRef<any> | undefined, renderer?: Renderer2 | undefined);
|
|
36
38
|
ngAfterViewInit(): void;
|
|
37
39
|
ngOnDestroy(): void;
|
|
38
40
|
ngOnChanges(changes: SimpleChanges): void;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|