@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.
Files changed (172) hide show
  1. package/fesm2022/edm-sdui-sdui.mjs +2324 -0
  2. package/fesm2022/edm-sdui-sdui.mjs.map +1 -0
  3. package/index.d.ts +5 -0
  4. package/lib/components/navigation-controls/navigation-controls.component.d.ts +11 -0
  5. package/lib/components/uicomponent/button/button.component.d.ts +16 -0
  6. package/lib/components/uicomponent/column/column.component.d.ts +10 -0
  7. package/lib/components/uicomponent/image/image.component.d.ts +14 -0
  8. package/lib/components/uicomponent/label/label.component.d.ts +14 -0
  9. package/lib/components/uicomponent/row/row.component.d.ts +10 -0
  10. package/lib/components/uicomponent/row-divisor/row-divisor.component.d.ts +10 -0
  11. package/lib/components/uicomponent/search-bar/search-bar.component.d.ts +16 -0
  12. package/lib/components/uicomponent/space/space.component.d.ts +10 -0
  13. package/lib/components/uicomponent/tag/tag.component.d.ts +16 -0
  14. package/lib/components/uicomponent/uicomponent.component.d.ts +16 -0
  15. package/lib/components/uicomponent/zstack/zstack.component.d.ts +10 -0
  16. package/lib/components/uilayout/centered-content-layout/centered-content-layout.component.d.ts +9 -0
  17. package/lib/components/uilayout/single-column-layout/single-column-layout.component.d.ts +9 -0
  18. package/lib/components/uilayout/uinavigation/uinavigation.component.d.ts +7 -0
  19. package/lib/components/uiscreen/uiscreen.component.d.ts +10 -0
  20. package/lib/core/services/ui-action.service.d.ts +10 -0
  21. package/lib/core/services/uiscreen.service.d.ts +23 -0
  22. package/lib/core/tokens/sdui-config.token.d.ts +2 -0
  23. package/lib/core/uicomposition/enums/uicomponent-type.d.ts +19 -0
  24. package/lib/core/uicomposition/enums/uiplatform-type.d.ts +4 -0
  25. package/lib/core/uicomposition/enums/uiscene.d.ts +3 -0
  26. package/lib/core/uicomposition/enums/uiscreen-identifier.d.ts +4 -0
  27. package/lib/core/uicomposition/mapping/component-mapping.d.ts +3 -0
  28. package/{src/lib/core/uicomposition/models/uicentered-content-layout.ts → lib/core/uicomposition/models/uicentered-content-layout.d.ts} +5 -6
  29. package/{src/lib/core/uicomposition/models/uicomponent.ts → lib/core/uicomposition/models/uicomponent.d.ts} +4 -5
  30. package/lib/core/uicomposition/models/uielement.d.ts +24 -0
  31. package/lib/core/uicomposition/models/uilayout.d.ts +3 -0
  32. package/{src/lib/core/uicomposition/models/uinavigation.ts → lib/core/uicomposition/models/uinavigation.d.ts} +2 -3
  33. package/{src/lib/core/uicomposition/models/uiscreen.ts → lib/core/uicomposition/models/uiscreen.d.ts} +5 -6
  34. package/{src/lib/core/uicomposition/models/uisingle-column-layout.ts → lib/core/uicomposition/models/uisingle-column-layout.d.ts} +4 -5
  35. package/{src/lib/core/uicomposition/models/uiview.ts → lib/core/uicomposition/models/uiview.d.ts} +7 -9
  36. package/lib/core/uitheme/enums/uiaction-type.d.ts +9 -0
  37. package/lib/core/uitheme/enums/uialignment-type.d.ts +5 -0
  38. package/lib/core/uitheme/enums/uiaspect-type.d.ts +4 -0
  39. package/lib/core/uitheme/enums/uiasset.d.ts +353 -0
  40. package/lib/core/uitheme/enums/uicolor.d.ts +129 -0
  41. package/lib/core/uitheme/enums/uicontent-type.d.ts +8 -0
  42. package/lib/core/uitheme/enums/uipadding-level.d.ts +10 -0
  43. package/lib/core/uitheme/enums/uipresentation-style.d.ts +5 -0
  44. package/lib/core/uitheme/enums/uiradius-level.d.ts +8 -0
  45. package/lib/core/uitheme/enums/uishadow-blur-radius.d.ts +3 -0
  46. package/lib/core/uitheme/enums/uishadow-offset.d.ts +3 -0
  47. package/lib/core/uitheme/enums/uisize.d.ts +11 -0
  48. package/lib/core/uitheme/enums/uispacing-level.d.ts +6 -0
  49. package/lib/core/uitheme/enums/uitext-style.d.ts +13 -0
  50. package/lib/core/uitheme/mapping/alignment-mapping.d.ts +2 -0
  51. package/lib/core/uitheme/mapping/asset-mapping.d.ts +2 -0
  52. package/lib/core/uitheme/mapping/color-mapping.d.ts +2 -0
  53. package/lib/core/uitheme/mapping/pad-mapping.d.ts +2 -0
  54. package/lib/core/uitheme/mapping/radius-mapping.d.ts +2 -0
  55. package/lib/core/uitheme/mapping/size-mapping.d.ts +3 -0
  56. package/lib/core/uitheme/mapping/space-mapping.d.ts +2 -0
  57. package/lib/core/uitheme/mapping/text-style-mapping.d.ts +2 -0
  58. package/lib/core/uitheme/models/uiaction.d.ts +9 -0
  59. package/{src/lib/core/uitheme/models/uialignment.ts → lib/core/uitheme/models/uialignment.d.ts} +1 -2
  60. package/{src/lib/core/uitheme/models/uibackground.ts → lib/core/uitheme/models/uibackground.d.ts} +1 -2
  61. package/lib/core/uitheme/models/uipadding.d.ts +7 -0
  62. package/lib/core/uitheme/models/uiradius.d.ts +7 -0
  63. package/{src/lib/core/uitheme/models/uishadow.ts → lib/core/uitheme/models/uishadow.d.ts} +5 -6
  64. package/{src/lib/core/uitheme/models/uispacing.ts → lib/core/uitheme/models/uispacing.d.ts} +1 -2
  65. package/lib/core/utils/url-parser.util.d.ts +2 -0
  66. package/lib/core/view-models/uiscreen.viewmodel.d.ts +39 -0
  67. package/lib/directives/uiview.directive.d.ts +28 -0
  68. package/lib/sdui-routing.module.d.ts +9 -0
  69. package/lib/sdui.component.d.ts +16 -0
  70. package/lib/sdui.module.d.ts +34 -0
  71. package/package.json +16 -14
  72. package/public-api.d.ts +4 -0
  73. package/ng-package.json +0 -9
  74. package/src/index.ts +0 -1
  75. package/src/lib/components/navigation-controls/navigation-controls.component.html +0 -9
  76. package/src/lib/components/navigation-controls/navigation-controls.component.scss +0 -35
  77. package/src/lib/components/navigation-controls/navigation-controls.component.ts +0 -27
  78. package/src/lib/components/uicomponent/button/button.component.html +0 -4
  79. package/src/lib/components/uicomponent/button/button.component.scss +0 -11
  80. package/src/lib/components/uicomponent/button/button.component.ts +0 -64
  81. package/src/lib/components/uicomponent/column/column.component.html +0 -7
  82. package/src/lib/components/uicomponent/column/column.component.scss +0 -9
  83. package/src/lib/components/uicomponent/column/column.component.ts +0 -16
  84. package/src/lib/components/uicomponent/image/image.component.html +0 -1
  85. package/src/lib/components/uicomponent/image/image.component.scss +0 -3
  86. package/src/lib/components/uicomponent/image/image.component.ts +0 -69
  87. package/src/lib/components/uicomponent/label/label.component.html +0 -3
  88. package/src/lib/components/uicomponent/label/label.component.scss +0 -3
  89. package/src/lib/components/uicomponent/label/label.component.ts +0 -66
  90. package/src/lib/components/uicomponent/row/row.component.html +0 -7
  91. package/src/lib/components/uicomponent/row/row.component.scss +0 -8
  92. package/src/lib/components/uicomponent/row/row.component.ts +0 -16
  93. package/src/lib/components/uicomponent/row-divisor/row-divisor.component.html +0 -5
  94. package/src/lib/components/uicomponent/row-divisor/row-divisor.component.scss +0 -8
  95. package/src/lib/components/uicomponent/row-divisor/row-divisor.component.ts +0 -16
  96. package/src/lib/components/uicomponent/search-bar/search-bar.component.html +0 -7
  97. package/src/lib/components/uicomponent/search-bar/search-bar.component.scss +0 -7
  98. package/src/lib/components/uicomponent/search-bar/search-bar.component.ts +0 -129
  99. package/src/lib/components/uicomponent/space/space.component.html +0 -1
  100. package/src/lib/components/uicomponent/space/space.component.scss +0 -10
  101. package/src/lib/components/uicomponent/space/space.component.ts +0 -16
  102. package/src/lib/components/uicomponent/tag/tag.component.html +0 -3
  103. package/src/lib/components/uicomponent/tag/tag.component.scss +0 -7
  104. package/src/lib/components/uicomponent/tag/tag.component.ts +0 -54
  105. package/src/lib/components/uicomponent/uicomponent.component.html +0 -5
  106. package/src/lib/components/uicomponent/uicomponent.component.scss +0 -3
  107. package/src/lib/components/uicomponent/uicomponent.component.ts +0 -53
  108. package/src/lib/components/uicomponent/zstack/zstack.component.html +0 -6
  109. package/src/lib/components/uicomponent/zstack/zstack.component.scss +0 -12
  110. package/src/lib/components/uicomponent/zstack/zstack.component.ts +0 -16
  111. package/src/lib/components/uilayout/centered-content-layout/centered-content-layout.component.html +0 -20
  112. package/src/lib/components/uilayout/centered-content-layout/centered-content-layout.component.scss +0 -36
  113. package/src/lib/components/uilayout/centered-content-layout/centered-content-layout.component.ts +0 -21
  114. package/src/lib/components/uilayout/single-column-layout/single-column-layout.component.html +0 -22
  115. package/src/lib/components/uilayout/single-column-layout/single-column-layout.component.scss +0 -37
  116. package/src/lib/components/uilayout/single-column-layout/single-column-layout.component.ts +0 -27
  117. package/src/lib/components/uilayout/uinavigation/uinavigation.component.html +0 -8
  118. package/src/lib/components/uilayout/uinavigation/uinavigation.component.scss +0 -4
  119. package/src/lib/components/uilayout/uinavigation/uinavigation.component.ts +0 -12
  120. package/src/lib/components/uiscreen/uiscreen.component.html +0 -29
  121. package/src/lib/components/uiscreen/uiscreen.component.scss +0 -12
  122. package/src/lib/components/uiscreen/uiscreen.component.ts +0 -15
  123. package/src/lib/core/interfaces/sdui-config.interface.ts +0 -3
  124. package/src/lib/core/services/navigation.service.ts +0 -25
  125. package/src/lib/core/services/sdui-config.service.ts +0 -19
  126. package/src/lib/core/services/ui-action.service.ts +0 -36
  127. package/src/lib/core/services/uiscreen.service.ts +0 -185
  128. package/src/lib/core/tokens/sdui-config.token.ts +0 -3
  129. package/src/lib/core/uicomposition/enums/uicomponent-type.ts +0 -32
  130. package/src/lib/core/uicomposition/enums/uiplatform-type.ts +0 -4
  131. package/src/lib/core/uicomposition/enums/uiscene.ts +0 -3
  132. package/src/lib/core/uicomposition/enums/uiscreen-identifier.ts +0 -4
  133. package/src/lib/core/uicomposition/mapping/component-mapping.ts +0 -90
  134. package/src/lib/core/uicomposition/models/uielement.ts +0 -25
  135. package/src/lib/core/uicomposition/models/uilayout.ts +0 -4
  136. package/src/lib/core/uitheme/enums/uiaction-type.ts +0 -14
  137. package/src/lib/core/uitheme/enums/uialignment-type.ts +0 -5
  138. package/src/lib/core/uitheme/enums/uiaspect-type.ts +0 -4
  139. package/src/lib/core/uitheme/enums/uiasset.ts +0 -361
  140. package/src/lib/core/uitheme/enums/uicolor.ts +0 -129
  141. package/src/lib/core/uitheme/enums/uicontent-type.ts +0 -8
  142. package/src/lib/core/uitheme/enums/uipadding-level.ts +0 -10
  143. package/src/lib/core/uitheme/enums/uipresentation-style.ts +0 -5
  144. package/src/lib/core/uitheme/enums/uiradius-level.ts +0 -8
  145. package/src/lib/core/uitheme/enums/uishadow-blur-radius.ts +0 -3
  146. package/src/lib/core/uitheme/enums/uishadow-offset.ts +0 -3
  147. package/src/lib/core/uitheme/enums/uisize.ts +0 -12
  148. package/src/lib/core/uitheme/enums/uispacing-level.ts +0 -6
  149. package/src/lib/core/uitheme/enums/uitext-style.ts +0 -13
  150. package/src/lib/core/uitheme/mapping/alignment-mapping.ts +0 -7
  151. package/src/lib/core/uitheme/mapping/asset-mapping.ts +0 -363
  152. package/src/lib/core/uitheme/mapping/color-mapping.ts +0 -131
  153. package/src/lib/core/uitheme/mapping/pad-mapping.ts +0 -12
  154. package/src/lib/core/uitheme/mapping/radius-mapping.ts +0 -10
  155. package/src/lib/core/uitheme/mapping/size-mapping.ts +0 -25
  156. package/src/lib/core/uitheme/mapping/space-mapping.ts +0 -8
  157. package/src/lib/core/uitheme/mapping/text-style-mapping.ts +0 -15
  158. package/src/lib/core/uitheme/models/uiaction.ts +0 -10
  159. package/src/lib/core/uitheme/models/uipadding.ts +0 -8
  160. package/src/lib/core/uitheme/models/uiradius.ts +0 -8
  161. package/src/lib/core/uitheme/models/uiview.ts +0 -0
  162. package/src/lib/core/utils/url-parser.util.ts +0 -24
  163. package/src/lib/core/view-models/uiscreen.viewmodel.ts +0 -115
  164. package/src/lib/directives/uiview.directive.ts +0 -207
  165. package/src/lib/sdui-routing.module.ts +0 -22
  166. package/src/lib/sdui.component.html +0 -3
  167. package/src/lib/sdui.component.scss +0 -11
  168. package/src/lib/sdui.component.ts +0 -65
  169. package/src/lib/sdui.module.ts +0 -84
  170. package/src/public-api.ts +0 -16
  171. package/tsconfig.lib.json +0 -16
  172. 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
+ }
@@ -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,2 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const SDUI_BASE_URL: InjectionToken<string>;
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum UIPlatformType {
2
+ iOS = "iOS",
3
+ Android = "Android"
4
+ }
@@ -0,0 +1,3 @@
1
+ export declare enum UIScene {
2
+ ACTIVITY_LIST = "ACTIVITY_LIST"
3
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum UIScreenIdentifier {
2
+ SINGLE_COLUMN = "SINGLE_COLUMN",
3
+ CENTERED_CONTENT = "CENTERED_CONTENT"
4
+ }
@@ -0,0 +1,3 @@
1
+ import { Type } from '@angular/core';
2
+ import { UIComponentType } from '../enums/uicomponent-type';
3
+ export declare const componentMapping: Record<UIComponentType, () => Promise<Type<any>>>;
@@ -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
- nav?: UINavigation | null;
7
- backgroundComponent?: UIComponent | null;
8
- header?: UIComponent | null;
9
- centered?: UIComponent | null;
10
- footer?: UIComponent | null;
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
- type: UIComponentType;
7
- components?: UIComponent[] | null;
8
- element?: UIElement | null;
9
- excludedPlatforms?: UIPlatformType[] | null;
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
+ }
@@ -0,0 +1,3 @@
1
+ import { UIView } from './uiview';
2
+ export interface UILayout extends UIView {
3
+ }
@@ -1,6 +1,5 @@
1
1
  import { UIComponent } from './uicomponent';
2
-
3
2
  export interface UINavigation {
4
- title?: string | null;
5
- titleComponent?: UIComponent | null;
3
+ title?: string | null;
4
+ titleComponent?: UIComponent | null;
6
5
  }
@@ -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
- identifier: UIScreenIdentifier;
10
- content: UILayout;
11
- scene?: UIScene | null;
12
- padding?: UIPadding | null;
13
- background?: UIBackground | null;
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
- nav?: UINavigation | null;
7
- header?: UIComponent | null;
8
- main?: UIComponent | null;
9
- footer?: UIComponent | null;
5
+ nav?: UINavigation | null;
6
+ header?: UIComponent | null;
7
+ main?: UIComponent | null;
8
+ footer?: UIComponent | null;
10
9
  }
@@ -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
- padding?: UIPadding | null;
12
- background?: UIBackground | null;
13
- action?: UIAction | null;
14
- alignment?: UIAlignment | null;
15
- shadow?: UIShadow | null;
16
- radius?: UIRadius | null;
17
- spacing?: UISpacing | null;
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
  }
@@ -0,0 +1,9 @@
1
+ export declare enum UIActionType {
2
+ INTERNAL_URL = "INTERNAL_URL",
3
+ RELOAD_INTERNAL_URL = "RELOAD_INTERNAL_URL",
4
+ DISMISS_TO_SCENE = "DISMISS_TO_SCENE",
5
+ PAYWALL = "PAYWALL",
6
+ REGISTER = "REGISTER",
7
+ HTML = "HTML",
8
+ FILE = "FILE"
9
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum UIAlignmentType {
2
+ START = "start",
3
+ CENTER = "center",
4
+ END = "end"
5
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum UIAspectType {
2
+ FILL = "fill",
3
+ FIT = "fit"
4
+ }