@smartbit4all/ng-client 4.2.16 → 4.2.18
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/smart-component-layout/api/model/componentWidgetType.mjs +2 -1
- package/esm2022/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.mjs +1 -1
- package/esm2022/lib/smart-component-layout/smart-component-layout.component.mjs +30 -3
- package/esm2022/lib/smart-component-layout/smart-component-layout.module.mjs +7 -3
- package/esm2022/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +3 -3
- package/esm2022/lib/smart-map/smart-map.component.mjs +1 -1
- package/esm2022/src/lib/smart-chart/smart-chart/smart-chart.component.mjs +17 -5
- package/fesm2022/smartbit4all-ng-client-src-lib-smart-chart.mjs +16 -4
- package/fesm2022/smartbit4all-ng-client-src-lib-smart-chart.mjs.map +1 -1
- package/fesm2022/smartbit4all-ng-client.mjs +2710 -2680
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-component-layout/api/model/componentWidgetType.d.ts +2 -1
- package/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.d.ts +4 -0
- package/lib/smart-component-layout/smart-component-layout.component.d.ts +5 -1
- package/lib/smart-component-layout/smart-component-layout.module.d.ts +2 -1
- package/lib/smart-map/smart-map.component.d.ts +1 -2
- package/package.json +1 -1
- package/smartbit4all-ng-client-4.2.18.tgz +0 -0
- package/src/lib/smart-chart/smart-chart/smart-chart.component.d.ts +5 -0
- package/smartbit4all-ng-client-4.2.16.tgz +0 -0
|
@@ -15,6 +15,10 @@ import { SmartComponentWidgetDefinition } from './smartComponentWidgetDefinition
|
|
|
15
15
|
import { Style } from '../../../view-context/api/model/style';
|
|
16
16
|
import { SmartWidgetDefinition } from '../../../smart-form/api/model/smartWidgetDefinition';
|
|
17
17
|
export interface SmartComponentLayoutDefinition {
|
|
18
|
+
/**
|
|
19
|
+
* An optional identifier to find this element in a layout hierarchy.
|
|
20
|
+
*/
|
|
21
|
+
identifier?: string;
|
|
18
22
|
type: ComponentType;
|
|
19
23
|
expandable?: boolean;
|
|
20
24
|
expandableSectionLabel?: string;
|
|
@@ -7,7 +7,7 @@ import { SmarttreeGenericService } from '../smart-tree/projects';
|
|
|
7
7
|
import { ExpandableSection, ExpandableSectionComponent } from '../smart-expandable-section/projects';
|
|
8
8
|
import { Subject } from 'rxjs';
|
|
9
9
|
import { UiActionToolbarComponent } from '../view-context/projects';
|
|
10
|
-
import { SmartMapComponent } from
|
|
10
|
+
import { SmartMapComponent } from '../smart-map/smart-map.component';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare class SmartComponentLayoutComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
13
13
|
private layoutService;
|
|
@@ -28,6 +28,7 @@ export declare class SmartComponentLayoutComponent implements AfterViewInit, OnD
|
|
|
28
28
|
smartGrid?: SmartGrid;
|
|
29
29
|
smartMapList: QueryList<SmartMapComponent>;
|
|
30
30
|
smartMapComponent?: SmartMapComponent;
|
|
31
|
+
mapId?: string;
|
|
31
32
|
smartFilterList: QueryList<SmartFilterComponent>;
|
|
32
33
|
smartFilterComponent?: SmartFilterComponent;
|
|
33
34
|
smartFilter?: SmartFilter;
|
|
@@ -53,6 +54,9 @@ export declare class SmartComponentLayoutComponent implements AfterViewInit, OnD
|
|
|
53
54
|
constructGrid(): void;
|
|
54
55
|
setGridComponent(comp: SmartGridComponent): void;
|
|
55
56
|
bindGrid(): void;
|
|
57
|
+
constructMap(): void;
|
|
58
|
+
setMapComponent(comp: SmartMapComponent): void;
|
|
59
|
+
bindMap(): void;
|
|
56
60
|
setToolbarComponent(comp: UiActionToolbarComponent): void;
|
|
57
61
|
bindFilter(): void;
|
|
58
62
|
constructTree(): void;
|
|
@@ -6,8 +6,9 @@ import * as i4 from "../smart-grid/smart-grid.module";
|
|
|
6
6
|
import * as i5 from "../smart-expandable-section/smart-expandable-section.module";
|
|
7
7
|
import * as i6 from "../smart-tree/smarttree.module";
|
|
8
8
|
import * as i7 from "../view-context/smart-view-context.module";
|
|
9
|
+
import * as i8 from "../smart-map/smart-map.module";
|
|
9
10
|
export declare class SmartComponentLayoutModule {
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponentLayoutModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartComponentLayoutModule, [typeof i1.SmartComponentLayoutComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.SmartGridModule, typeof i5.SmartExpandableSectionModule, typeof i6.SmarttreeModule, typeof i7.SmartViewContextModule], [typeof i1.SmartComponentLayoutComponent]>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartComponentLayoutModule, [typeof i1.SmartComponentLayoutComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.SmartGridModule, typeof i5.SmartExpandableSectionModule, typeof i6.SmarttreeModule, typeof i7.SmartViewContextModule, typeof i8.SmartMapModule], [typeof i1.SmartComponentLayoutComponent]>;
|
|
12
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<SmartComponentLayoutModule>;
|
|
13
14
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AfterViewInit, InjectionToken, OnInit, Signal, WritableSignal } from '@angular/core';
|
|
2
|
-
import { SmartComponent } from '../smart-client/smart.component';
|
|
3
2
|
import { GeoMapItem, GeoMapModel, GeoMapService, GeoMapViewport, GeoMapViewState, GPSPosition } from './api';
|
|
4
3
|
import { SmartViewContextService } from '../view-context/smart-view-context.service';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
@@ -14,7 +13,7 @@ export declare class SmartMapComponent implements OnInit, AfterViewInit {
|
|
|
14
13
|
MapEngine: typeof MapEngine;
|
|
15
14
|
uuid: string;
|
|
16
15
|
identifier: string;
|
|
17
|
-
parent?:
|
|
16
|
+
parent?: any;
|
|
18
17
|
readonly model: WritableSignal<GeoMapModel | undefined>;
|
|
19
18
|
readonly items: Signal<Array<GeoMapItem>>;
|
|
20
19
|
readonly selection: Signal<Set<string>>;
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -2,9 +2,11 @@ import { EventEmitter } from "@angular/core";
|
|
|
2
2
|
import { DefaultChartOptionsProvider } from "./default-chart-options.provider";
|
|
3
3
|
import { DiagramUiModel } from "./api";
|
|
4
4
|
import { ComponentLibrary } from "../view-context/utility/componentLibrary";
|
|
5
|
+
import { UIChart } from "primeng/chart";
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class SmartChartComponent {
|
|
7
8
|
private chartOptionProvider;
|
|
9
|
+
chart?: UIChart;
|
|
8
10
|
diagramUiModel: DiagramUiModel;
|
|
9
11
|
options?: any;
|
|
10
12
|
dataSelect: EventEmitter<any>;
|
|
@@ -21,6 +23,9 @@ export declare class SmartChartComponent {
|
|
|
21
23
|
onDataSelect(event: any): void;
|
|
22
24
|
handleChartClick(event: any): void;
|
|
23
25
|
handleOnDataClicked(event: any): void;
|
|
26
|
+
getBase64Image(): any;
|
|
27
|
+
refresh(): void | undefined;
|
|
28
|
+
getChart(): any;
|
|
24
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartChartComponent, [null, { optional: true; }]>;
|
|
25
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartChartComponent, "smart-chart", never, { "diagramUiModel": { "alias": "diagramUiModel"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "dataSelect": "dataSelect"; "chartClick": "chartClick"; "onDataClicked": "onDataClicked"; }, never, never, false, never>;
|
|
26
31
|
}
|
|
Binary file
|