@edm-sdui/sdui 1.0.1 → 1.0.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/fesm2022/edm-sdui-sdui.mjs +2324 -0
- package/fesm2022/edm-sdui-sdui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/navigation-controls/navigation-controls.component.d.ts +11 -0
- package/lib/components/uicomponent/button/button.component.d.ts +16 -0
- package/lib/components/uicomponent/column/column.component.d.ts +10 -0
- package/lib/components/uicomponent/image/image.component.d.ts +14 -0
- package/lib/components/uicomponent/label/label.component.d.ts +14 -0
- package/lib/components/uicomponent/row/row.component.d.ts +10 -0
- package/lib/components/uicomponent/row-divisor/row-divisor.component.d.ts +10 -0
- package/lib/components/uicomponent/search-bar/search-bar.component.d.ts +16 -0
- package/lib/components/uicomponent/space/space.component.d.ts +10 -0
- package/lib/components/uicomponent/tag/tag.component.d.ts +16 -0
- package/lib/components/uicomponent/uicomponent.component.d.ts +16 -0
- package/lib/components/uicomponent/zstack/zstack.component.d.ts +10 -0
- package/lib/components/uilayout/centered-content-layout/centered-content-layout.component.d.ts +9 -0
- package/lib/components/uilayout/single-column-layout/single-column-layout.component.d.ts +9 -0
- package/lib/components/uilayout/uinavigation/uinavigation.component.d.ts +7 -0
- package/lib/components/uiscreen/uiscreen.component.d.ts +10 -0
- package/lib/core/services/ui-action.service.d.ts +10 -0
- package/lib/core/services/uiscreen.service.d.ts +23 -0
- package/lib/core/tokens/sdui-config.token.d.ts +2 -0
- package/lib/core/uicomposition/enums/uicomponent-type.d.ts +19 -0
- package/lib/core/uicomposition/enums/uiplatform-type.d.ts +4 -0
- package/lib/core/uicomposition/enums/uiscene.d.ts +3 -0
- package/lib/core/uicomposition/enums/uiscreen-identifier.d.ts +4 -0
- package/lib/core/uicomposition/mapping/component-mapping.d.ts +3 -0
- package/{src/lib/core/uicomposition/models/uicentered-content-layout.ts → lib/core/uicomposition/models/uicentered-content-layout.d.ts} +5 -6
- package/{src/lib/core/uicomposition/models/uicomponent.ts → lib/core/uicomposition/models/uicomponent.d.ts} +4 -5
- package/lib/core/uicomposition/models/uielement.d.ts +24 -0
- package/lib/core/uicomposition/models/uilayout.d.ts +3 -0
- package/{src/lib/core/uicomposition/models/uinavigation.ts → lib/core/uicomposition/models/uinavigation.d.ts} +2 -3
- package/{src/lib/core/uicomposition/models/uiscreen.ts → lib/core/uicomposition/models/uiscreen.d.ts} +5 -6
- package/{src/lib/core/uicomposition/models/uisingle-column-layout.ts → lib/core/uicomposition/models/uisingle-column-layout.d.ts} +4 -5
- package/{src/lib/core/uicomposition/models/uiview.ts → lib/core/uicomposition/models/uiview.d.ts} +7 -9
- package/lib/core/uitheme/enums/uiaction-type.d.ts +9 -0
- package/lib/core/uitheme/enums/uialignment-type.d.ts +5 -0
- package/lib/core/uitheme/enums/uiaspect-type.d.ts +4 -0
- package/lib/core/uitheme/enums/uiasset.d.ts +353 -0
- package/lib/core/uitheme/enums/uicolor.d.ts +129 -0
- package/lib/core/uitheme/enums/uicontent-type.d.ts +8 -0
- package/lib/core/uitheme/enums/uipadding-level.d.ts +10 -0
- package/lib/core/uitheme/enums/uipresentation-style.d.ts +5 -0
- package/lib/core/uitheme/enums/uiradius-level.d.ts +8 -0
- package/lib/core/uitheme/enums/uishadow-blur-radius.d.ts +3 -0
- package/lib/core/uitheme/enums/uishadow-offset.d.ts +3 -0
- package/lib/core/uitheme/enums/uisize.d.ts +11 -0
- package/lib/core/uitheme/enums/uispacing-level.d.ts +6 -0
- package/lib/core/uitheme/enums/uitext-style.d.ts +13 -0
- package/lib/core/uitheme/mapping/alignment-mapping.d.ts +2 -0
- package/lib/core/uitheme/mapping/asset-mapping.d.ts +2 -0
- package/lib/core/uitheme/mapping/color-mapping.d.ts +2 -0
- package/lib/core/uitheme/mapping/pad-mapping.d.ts +2 -0
- package/lib/core/uitheme/mapping/radius-mapping.d.ts +2 -0
- package/lib/core/uitheme/mapping/size-mapping.d.ts +3 -0
- package/lib/core/uitheme/mapping/space-mapping.d.ts +2 -0
- package/lib/core/uitheme/mapping/text-style-mapping.d.ts +2 -0
- package/lib/core/uitheme/models/uiaction.d.ts +9 -0
- package/{src/lib/core/uitheme/models/uialignment.ts → lib/core/uitheme/models/uialignment.d.ts} +1 -2
- package/{src/lib/core/uitheme/models/uibackground.ts → lib/core/uitheme/models/uibackground.d.ts} +1 -2
- package/lib/core/uitheme/models/uipadding.d.ts +7 -0
- package/lib/core/uitheme/models/uiradius.d.ts +7 -0
- package/{src/lib/core/uitheme/models/uishadow.ts → lib/core/uitheme/models/uishadow.d.ts} +5 -6
- package/{src/lib/core/uitheme/models/uispacing.ts → lib/core/uitheme/models/uispacing.d.ts} +1 -2
- package/lib/core/utils/url-parser.util.d.ts +2 -0
- package/lib/core/view-models/uiscreen.viewmodel.d.ts +39 -0
- package/lib/directives/uiview.directive.d.ts +28 -0
- package/lib/sdui-routing.module.d.ts +9 -0
- package/lib/sdui.component.d.ts +16 -0
- package/lib/sdui.module.d.ts +34 -0
- package/package.json +16 -14
- package/public-api.d.ts +4 -0
- package/ng-package.json +0 -9
- package/src/index.ts +0 -1
- package/src/lib/components/navigation-controls/navigation-controls.component.html +0 -9
- package/src/lib/components/navigation-controls/navigation-controls.component.scss +0 -35
- package/src/lib/components/navigation-controls/navigation-controls.component.ts +0 -27
- package/src/lib/components/uicomponent/button/button.component.html +0 -4
- package/src/lib/components/uicomponent/button/button.component.scss +0 -11
- package/src/lib/components/uicomponent/button/button.component.ts +0 -64
- package/src/lib/components/uicomponent/column/column.component.html +0 -7
- package/src/lib/components/uicomponent/column/column.component.scss +0 -9
- package/src/lib/components/uicomponent/column/column.component.ts +0 -16
- package/src/lib/components/uicomponent/image/image.component.html +0 -1
- package/src/lib/components/uicomponent/image/image.component.scss +0 -3
- package/src/lib/components/uicomponent/image/image.component.ts +0 -69
- package/src/lib/components/uicomponent/label/label.component.html +0 -3
- package/src/lib/components/uicomponent/label/label.component.scss +0 -3
- package/src/lib/components/uicomponent/label/label.component.ts +0 -66
- package/src/lib/components/uicomponent/row/row.component.html +0 -7
- package/src/lib/components/uicomponent/row/row.component.scss +0 -8
- package/src/lib/components/uicomponent/row/row.component.ts +0 -16
- package/src/lib/components/uicomponent/row-divisor/row-divisor.component.html +0 -5
- package/src/lib/components/uicomponent/row-divisor/row-divisor.component.scss +0 -8
- package/src/lib/components/uicomponent/row-divisor/row-divisor.component.ts +0 -16
- package/src/lib/components/uicomponent/search-bar/search-bar.component.html +0 -7
- package/src/lib/components/uicomponent/search-bar/search-bar.component.scss +0 -7
- package/src/lib/components/uicomponent/search-bar/search-bar.component.ts +0 -129
- package/src/lib/components/uicomponent/space/space.component.html +0 -1
- package/src/lib/components/uicomponent/space/space.component.scss +0 -10
- package/src/lib/components/uicomponent/space/space.component.ts +0 -16
- package/src/lib/components/uicomponent/tag/tag.component.html +0 -3
- package/src/lib/components/uicomponent/tag/tag.component.scss +0 -7
- package/src/lib/components/uicomponent/tag/tag.component.ts +0 -54
- package/src/lib/components/uicomponent/uicomponent.component.html +0 -5
- package/src/lib/components/uicomponent/uicomponent.component.scss +0 -3
- package/src/lib/components/uicomponent/uicomponent.component.ts +0 -53
- package/src/lib/components/uicomponent/zstack/zstack.component.html +0 -6
- package/src/lib/components/uicomponent/zstack/zstack.component.scss +0 -12
- package/src/lib/components/uicomponent/zstack/zstack.component.ts +0 -16
- package/src/lib/components/uilayout/centered-content-layout/centered-content-layout.component.html +0 -20
- package/src/lib/components/uilayout/centered-content-layout/centered-content-layout.component.scss +0 -36
- package/src/lib/components/uilayout/centered-content-layout/centered-content-layout.component.ts +0 -21
- package/src/lib/components/uilayout/single-column-layout/single-column-layout.component.html +0 -22
- package/src/lib/components/uilayout/single-column-layout/single-column-layout.component.scss +0 -37
- package/src/lib/components/uilayout/single-column-layout/single-column-layout.component.ts +0 -27
- package/src/lib/components/uilayout/uinavigation/uinavigation.component.html +0 -8
- package/src/lib/components/uilayout/uinavigation/uinavigation.component.scss +0 -4
- package/src/lib/components/uilayout/uinavigation/uinavigation.component.ts +0 -12
- package/src/lib/components/uiscreen/uiscreen.component.html +0 -29
- package/src/lib/components/uiscreen/uiscreen.component.scss +0 -12
- package/src/lib/components/uiscreen/uiscreen.component.ts +0 -15
- package/src/lib/core/interfaces/sdui-config.interface.ts +0 -3
- package/src/lib/core/services/navigation.service.ts +0 -25
- package/src/lib/core/services/sdui-config.service.ts +0 -19
- package/src/lib/core/services/ui-action.service.ts +0 -36
- package/src/lib/core/services/uiscreen.service.ts +0 -185
- package/src/lib/core/tokens/sdui-config.token.ts +0 -3
- package/src/lib/core/uicomposition/enums/uicomponent-type.ts +0 -32
- package/src/lib/core/uicomposition/enums/uiplatform-type.ts +0 -4
- package/src/lib/core/uicomposition/enums/uiscene.ts +0 -3
- package/src/lib/core/uicomposition/enums/uiscreen-identifier.ts +0 -4
- package/src/lib/core/uicomposition/mapping/component-mapping.ts +0 -90
- package/src/lib/core/uicomposition/models/uielement.ts +0 -25
- package/src/lib/core/uicomposition/models/uilayout.ts +0 -4
- package/src/lib/core/uitheme/enums/uiaction-type.ts +0 -14
- package/src/lib/core/uitheme/enums/uialignment-type.ts +0 -5
- package/src/lib/core/uitheme/enums/uiaspect-type.ts +0 -4
- package/src/lib/core/uitheme/enums/uiasset.ts +0 -361
- package/src/lib/core/uitheme/enums/uicolor.ts +0 -129
- package/src/lib/core/uitheme/enums/uicontent-type.ts +0 -8
- package/src/lib/core/uitheme/enums/uipadding-level.ts +0 -10
- package/src/lib/core/uitheme/enums/uipresentation-style.ts +0 -5
- package/src/lib/core/uitheme/enums/uiradius-level.ts +0 -8
- package/src/lib/core/uitheme/enums/uishadow-blur-radius.ts +0 -3
- package/src/lib/core/uitheme/enums/uishadow-offset.ts +0 -3
- package/src/lib/core/uitheme/enums/uisize.ts +0 -12
- package/src/lib/core/uitheme/enums/uispacing-level.ts +0 -6
- package/src/lib/core/uitheme/enums/uitext-style.ts +0 -13
- package/src/lib/core/uitheme/mapping/alignment-mapping.ts +0 -7
- package/src/lib/core/uitheme/mapping/asset-mapping.ts +0 -363
- package/src/lib/core/uitheme/mapping/color-mapping.ts +0 -131
- package/src/lib/core/uitheme/mapping/pad-mapping.ts +0 -12
- package/src/lib/core/uitheme/mapping/radius-mapping.ts +0 -10
- package/src/lib/core/uitheme/mapping/size-mapping.ts +0 -25
- package/src/lib/core/uitheme/mapping/space-mapping.ts +0 -8
- package/src/lib/core/uitheme/mapping/text-style-mapping.ts +0 -15
- package/src/lib/core/uitheme/models/uiaction.ts +0 -10
- package/src/lib/core/uitheme/models/uipadding.ts +0 -8
- package/src/lib/core/uitheme/models/uiradius.ts +0 -8
- package/src/lib/core/uitheme/models/uiview.ts +0 -0
- package/src/lib/core/utils/url-parser.util.ts +0 -24
- package/src/lib/core/view-models/uiscreen.viewmodel.ts +0 -115
- package/src/lib/directives/uiview.directive.ts +0 -207
- package/src/lib/sdui-routing.module.ts +0 -22
- package/src/lib/sdui.component.html +0 -3
- package/src/lib/sdui.component.scss +0 -11
- package/src/lib/sdui.component.ts +0 -65
- package/src/lib/sdui.module.ts +0 -84
- package/src/public-api.ts +0 -16
- package/tsconfig.lib.json +0 -16
- package/tsconfig.spec.json +0 -12
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { UIComponent } from '../../../core/uicomposition/models/uicomponent';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RowComponent implements OnInit {
|
|
5
|
+
uiComponent: UIComponent;
|
|
6
|
+
constructor(uiComponent: UIComponent);
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RowComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RowComponent, "edm-sdui-row", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { UIComponent } from '../../../core/uicomposition/models/uicomponent';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RowDivisorComponent implements OnInit {
|
|
5
|
+
uiComponent: UIComponent;
|
|
6
|
+
constructor(uiComponent: UIComponent);
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RowDivisorComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RowDivisorComponent, "edm-sdui-row-divisor", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { UIComponent } from '../../../core/uicomposition/models/uicomponent';
|
|
3
|
+
import { UIActionService } from '../../../core/services/ui-action.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SearchBarComponent implements OnInit, AfterViewInit {
|
|
6
|
+
private actionService;
|
|
7
|
+
uiComponent: UIComponent;
|
|
8
|
+
private renderer;
|
|
9
|
+
inputElementRef: ElementRef<HTMLInputElement>;
|
|
10
|
+
constructor(actionService: UIActionService, uiComponent: UIComponent, renderer: Renderer2);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngAfterViewInit(): void;
|
|
13
|
+
private applyElement;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchBarComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchBarComponent, "edm-sdui-search-bar", never, {}, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { UIComponent } from '../../../core/uicomposition/models/uicomponent';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SpaceComponent implements OnInit {
|
|
5
|
+
uiComponent: UIComponent;
|
|
6
|
+
constructor(uiComponent: UIComponent);
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpaceComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpaceComponent, "edm-sdui-space", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnInit, Renderer2 } from "@angular/core";
|
|
2
|
+
import { UIComponent } from "../../../core/uicomposition/models/uicomponent";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TagComponent implements OnInit, AfterViewInit {
|
|
5
|
+
uiComponent: UIComponent;
|
|
6
|
+
private renderer;
|
|
7
|
+
tagElementRef: ElementRef<HTMLImageElement>;
|
|
8
|
+
tagNameElementRef: ElementRef<HTMLImageElement>;
|
|
9
|
+
constructor(uiComponent: UIComponent, renderer: Renderer2);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
ngAfterViewInit(): void;
|
|
12
|
+
private applyElement;
|
|
13
|
+
private applyLabelElement;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ChangeDetectorRef, Injector, OnChanges, OnInit, SimpleChanges, Type } from '@angular/core';
|
|
2
|
+
import { UIComponent } from '../../core/uicomposition/models/uicomponent';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class UIComponentComponent implements OnInit, OnChanges {
|
|
5
|
+
private injector;
|
|
6
|
+
private cdr;
|
|
7
|
+
uiComponent?: UIComponent;
|
|
8
|
+
componentToRender?: Type<any>;
|
|
9
|
+
componentInjector: Injector;
|
|
10
|
+
constructor(injector: Injector, cdr: ChangeDetectorRef);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
13
|
+
private initializeComponent;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UIComponentComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UIComponentComponent, "edm-sdui-component", never, { "uiComponent": { "alias": "uiComponent"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { UIComponent } from '../../../core/uicomposition/models/uicomponent';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ZStackComponent implements OnInit {
|
|
5
|
+
uiComponent: UIComponent;
|
|
6
|
+
constructor(uiComponent: UIComponent);
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ZStackComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZStackComponent, "edm-sdui-zstack", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
package/lib/components/uilayout/centered-content-layout/centered-content-layout.component.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { UICenteredContentLayout } from '../../../core/uicomposition/models/uicentered-content-layout';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CenteredContentLayoutComponent implements OnChanges {
|
|
5
|
+
uiLayout?: UICenteredContentLayout;
|
|
6
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CenteredContentLayoutComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CenteredContentLayoutComponent, "edm-sdui-centered-content-layout", never, { "uiLayout": { "alias": "uiLayout"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { UISingleColumnLayout } from '../../../core/uicomposition/models/uisingle-column-layout';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SingleColumnLayoutComponent implements OnChanges {
|
|
5
|
+
uiLayout?: UISingleColumnLayout;
|
|
6
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SingleColumnLayoutComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SingleColumnLayoutComponent, "edm-sdui-single-column-layout", never, { "uiLayout": { "alias": "uiLayout"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UINavigation } from '../../../core/uicomposition/models/uinavigation';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UINavigationComponent {
|
|
4
|
+
uiNavigation?: UINavigation;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UINavigationComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UINavigationComponent, "edm-sdui-navigation", never, { "uiNavigation": { "alias": "uiNavigation"; "required": false; }; }, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UIScreenViewModel } from '../../core/view-models/uiscreen.viewmodel';
|
|
2
|
+
import { UIScreenIdentifier } from '../../core/uicomposition/enums/uiscreen-identifier';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class UIScreenComponent {
|
|
5
|
+
viewModel: UIScreenViewModel;
|
|
6
|
+
readonly UIScreenIdentifier: typeof UIScreenIdentifier;
|
|
7
|
+
constructor(viewModel: UIScreenViewModel);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UIScreenComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UIScreenComponent, "edm-sdui-uiscreen", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import { UIAction } from '../uitheme/models/uiaction';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class UIActionService {
|
|
5
|
+
private router;
|
|
6
|
+
constructor(router: Router);
|
|
7
|
+
execute(action: UIAction): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UIActionService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UIActionService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { UIScreen } from '../uicomposition/models/uiscreen';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class UIScreenService {
|
|
6
|
+
private http;
|
|
7
|
+
private baseUrl;
|
|
8
|
+
constructor(http: HttpClient, baseUrl?: string);
|
|
9
|
+
getUIScreen(url: string): Observable<UIScreen>;
|
|
10
|
+
private mapToUIScreen;
|
|
11
|
+
private getLayout;
|
|
12
|
+
private mapToSingleColumnLayout;
|
|
13
|
+
private mapToCenteredContentLayout;
|
|
14
|
+
private mapToUINavigation;
|
|
15
|
+
private mapToUIComponent;
|
|
16
|
+
private mapToUIElement;
|
|
17
|
+
private mapToUIView;
|
|
18
|
+
private mapBackground;
|
|
19
|
+
private mapAction;
|
|
20
|
+
private mapRadius;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UIScreenService, [null, { optional: true; }]>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UIScreenService>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare enum UIComponentType {
|
|
2
|
+
ROW = "ROW",
|
|
3
|
+
ROW_DIVISOR = "ROW_DIVISOR",
|
|
4
|
+
COLUMN = "COLUMN",
|
|
5
|
+
Z_STACK = "Z_STACK",
|
|
6
|
+
BUTTON = "BUTTON",
|
|
7
|
+
LABEL = "LABEL",
|
|
8
|
+
IMAGE = "IMAGE",
|
|
9
|
+
SPACE = "SPACE",
|
|
10
|
+
VIDEO_PLAYER_HLS = "VIDEO_PLAYER_HLS",
|
|
11
|
+
VIDEO_PLAYER_WEB = "VIDEO_PLAYER_WEB",
|
|
12
|
+
MEDIA_TYPE = "MEDIA_TYPE",
|
|
13
|
+
MEDIA_CONTENT = "MEDIA_CONTENT",
|
|
14
|
+
SEARCH_BAR = "SEARCH_BAR",
|
|
15
|
+
SEARCH_BAR_DISMISS = "SEARCH_BAR_DISMISS",
|
|
16
|
+
PICKER = "PICKER",
|
|
17
|
+
PICKER_ITEM = "PICKER_ITEM",
|
|
18
|
+
TAG = "TAG"
|
|
19
|
+
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { UIComponent } from './uicomponent';
|
|
2
2
|
import { UILayout } from './uilayout';
|
|
3
3
|
import { UINavigation } from './uinavigation';
|
|
4
|
-
|
|
5
4
|
export interface UICenteredContentLayout extends UILayout {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
nav?: UINavigation | null;
|
|
6
|
+
backgroundComponent?: UIComponent | null;
|
|
7
|
+
header?: UIComponent | null;
|
|
8
|
+
centered?: UIComponent | null;
|
|
9
|
+
footer?: UIComponent | null;
|
|
11
10
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { UIComponentType } from '../enums/uicomponent-type';
|
|
2
2
|
import { UIPlatformType } from '../enums/uiplatform-type';
|
|
3
3
|
import { UIElement } from './uielement';
|
|
4
|
-
|
|
5
4
|
export interface UIComponent {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
type: UIComponentType;
|
|
6
|
+
components?: UIComponent[] | null;
|
|
7
|
+
element?: UIElement | null;
|
|
8
|
+
excludedPlatforms?: UIPlatformType[] | null;
|
|
10
9
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UIAspectType } from '../../uitheme/enums/uiaspect-type';
|
|
2
|
+
import { UIAsset } from '../../uitheme/enums/uiasset';
|
|
3
|
+
import { UIColor } from '../../uitheme/enums/uicolor';
|
|
4
|
+
import { UIContentType } from '../../uitheme/enums/uicontent-type';
|
|
5
|
+
import { UISize } from '../../uitheme/enums/uisize';
|
|
6
|
+
import { UITextStyle } from '../../uitheme/enums/uitext-style';
|
|
7
|
+
import { UIView } from './uiview';
|
|
8
|
+
export interface UIElement extends UIView {
|
|
9
|
+
label?: string | null;
|
|
10
|
+
textColor?: UIColor | null;
|
|
11
|
+
textStyle?: UITextStyle | null;
|
|
12
|
+
maxLines?: number | null;
|
|
13
|
+
asset?: UIAsset | null;
|
|
14
|
+
url?: string | null;
|
|
15
|
+
enabled?: boolean | null;
|
|
16
|
+
size?: UISize | null;
|
|
17
|
+
opacity?: number | null;
|
|
18
|
+
contentType?: UIContentType | null;
|
|
19
|
+
aspect?: UIAspectType | null;
|
|
20
|
+
grow?: number | null;
|
|
21
|
+
placeholder?: string | null;
|
|
22
|
+
placeholderTextColor?: UIColor | null;
|
|
23
|
+
placeholderTextStyle?: UITextStyle | null;
|
|
24
|
+
}
|
|
@@ -4,11 +4,10 @@ import { UIScene } from '../enums/uiscene';
|
|
|
4
4
|
import { UIScreenIdentifier } from '../enums/uiscreen-identifier';
|
|
5
5
|
import { UILayout } from './uilayout';
|
|
6
6
|
import { UIView } from './uiview';
|
|
7
|
-
|
|
8
7
|
export interface UIScreen extends UIView {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
identifier: UIScreenIdentifier;
|
|
9
|
+
content: UILayout;
|
|
10
|
+
scene?: UIScene | null;
|
|
11
|
+
padding?: UIPadding | null;
|
|
12
|
+
background?: UIBackground | null;
|
|
14
13
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { UIComponent } from './uicomponent';
|
|
2
2
|
import { UILayout } from './uilayout';
|
|
3
3
|
import { UINavigation } from './uinavigation';
|
|
4
|
-
|
|
5
4
|
export interface UISingleColumnLayout extends UILayout {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
nav?: UINavigation | null;
|
|
6
|
+
header?: UIComponent | null;
|
|
7
|
+
main?: UIComponent | null;
|
|
8
|
+
footer?: UIComponent | null;
|
|
10
9
|
}
|
package/{src/lib/core/uicomposition/models/uiview.ts → lib/core/uicomposition/models/uiview.d.ts}
RENAMED
|
@@ -5,14 +5,12 @@ import { UIPadding } from '../../uitheme/models/uipadding';
|
|
|
5
5
|
import { UIRadius } from '../../uitheme/models/uiradius';
|
|
6
6
|
import { UIShadow } from '../../uitheme/models/uishadow';
|
|
7
7
|
import { UISpacing } from '../../uitheme/models/uispacing';
|
|
8
|
-
|
|
9
|
-
// interface ABSTRATA - não deve existir objetos dela!
|
|
10
8
|
export interface UIView {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
padding?: UIPadding | null;
|
|
10
|
+
background?: UIBackground | null;
|
|
11
|
+
action?: UIAction | null;
|
|
12
|
+
alignment?: UIAlignment | null;
|
|
13
|
+
shadow?: UIShadow | null;
|
|
14
|
+
radius?: UIRadius | null;
|
|
15
|
+
spacing?: UISpacing | null;
|
|
18
16
|
}
|