@edm-sdui/sdui 1.0.1 → 1.0.3

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 (312) hide show
  1. package/edm-sdui-sdui.d.ts.map +1 -0
  2. package/esm2022/edm-sdui-sdui.mjs +5 -0
  3. package/esm2022/lib/components/navigation-controls/navigation-controls.component.mjs +27 -0
  4. package/esm2022/lib/components/uicomponent/button/button.component.mjs +47 -0
  5. package/esm2022/lib/components/uicomponent/column/column.component.mjs +23 -0
  6. package/esm2022/lib/components/uicomponent/image/image.component.mjs +48 -0
  7. package/esm2022/lib/components/uicomponent/label/label.component.mjs +49 -0
  8. package/esm2022/lib/components/uicomponent/row/row.component.mjs +23 -0
  9. package/esm2022/lib/components/uicomponent/row-divisor/row-divisor.component.mjs +22 -0
  10. package/esm2022/lib/components/uicomponent/search-bar/search-bar.component.mjs +99 -0
  11. package/esm2022/lib/components/uicomponent/space/space.component.mjs +20 -0
  12. package/esm2022/lib/components/uicomponent/tag/tag.component.mjs +50 -0
  13. package/esm2022/lib/components/uicomponent/uicomponent.component.mjs +41 -0
  14. package/esm2022/lib/components/uicomponent/zstack/zstack.component.mjs +23 -0
  15. package/esm2022/lib/components/uilayout/centered-content-layout/centered-content-layout.component.mjs +21 -0
  16. package/esm2022/lib/components/uilayout/single-column-layout/single-column-layout.component.mjs +21 -0
  17. package/esm2022/lib/components/uilayout/uinavigation/uinavigation.component.mjs +15 -0
  18. package/esm2022/lib/components/uiscreen/uiscreen.component.mjs +23 -0
  19. package/esm2022/lib/core/services/ui-action.service.mjs +42 -0
  20. package/esm2022/lib/core/services/uiscreen.service.mjs +150 -0
  21. package/esm2022/lib/core/tokens/sdui-config.token.mjs +3 -0
  22. package/esm2022/lib/core/uicomposition/enums/uicomponent-type.mjs +28 -0
  23. package/esm2022/lib/core/uicomposition/enums/uiplatform-type.mjs +6 -0
  24. package/esm2022/lib/core/uicomposition/enums/uiscene.mjs +5 -0
  25. package/esm2022/lib/core/uicomposition/enums/uiscreen-identifier.mjs +6 -0
  26. package/esm2022/lib/core/uicomposition/mapping/component-mapping.mjs +28 -0
  27. package/esm2022/lib/core/uicomposition/models/uicentered-content-layout.mjs +2 -0
  28. package/esm2022/lib/core/uicomposition/models/uicomponent.mjs +2 -0
  29. package/esm2022/lib/core/uicomposition/models/uielement.mjs +2 -0
  30. package/esm2022/lib/core/uicomposition/models/uilayout.mjs +2 -0
  31. package/esm2022/lib/core/uicomposition/models/uinavigation.mjs +2 -0
  32. package/esm2022/lib/core/uicomposition/models/uiscreen.mjs +2 -0
  33. package/esm2022/lib/core/uicomposition/models/uisingle-column-layout.mjs +2 -0
  34. package/esm2022/lib/core/uicomposition/models/uiview.mjs +2 -0
  35. package/esm2022/lib/core/uitheme/enums/uiaction-type.mjs +14 -0
  36. package/esm2022/lib/core/uitheme/enums/uialignment-type.mjs +7 -0
  37. package/esm2022/lib/core/uitheme/enums/uiaspect-type.mjs +6 -0
  38. package/esm2022/lib/core/uitheme/enums/uiasset.mjs +355 -0
  39. package/esm2022/lib/core/uitheme/enums/uicolor.mjs +131 -0
  40. package/esm2022/lib/core/uitheme/enums/uicontent-type.mjs +10 -0
  41. package/esm2022/lib/core/uitheme/enums/uipadding-level.mjs +12 -0
  42. package/esm2022/lib/core/uitheme/enums/uipresentation-style.mjs +7 -0
  43. package/esm2022/lib/core/uitheme/enums/uiradius-level.mjs +10 -0
  44. package/esm2022/lib/core/uitheme/enums/uishadow-blur-radius.mjs +5 -0
  45. package/esm2022/lib/core/uitheme/enums/uishadow-offset.mjs +5 -0
  46. package/esm2022/lib/core/uitheme/enums/uisize.mjs +13 -0
  47. package/esm2022/lib/core/uitheme/enums/uispacing-level.mjs +8 -0
  48. package/esm2022/lib/core/uitheme/enums/uitext-style.mjs +15 -0
  49. package/esm2022/lib/core/uitheme/mapping/alignment-mapping.mjs +7 -0
  50. package/esm2022/lib/core/uitheme/mapping/asset-mapping.mjs +355 -0
  51. package/esm2022/lib/core/uitheme/mapping/color-mapping.mjs +131 -0
  52. package/esm2022/lib/core/uitheme/mapping/pad-mapping.mjs +12 -0
  53. package/esm2022/lib/core/uitheme/mapping/radius-mapping.mjs +10 -0
  54. package/esm2022/lib/core/uitheme/mapping/size-mapping.mjs +24 -0
  55. package/esm2022/lib/core/uitheme/mapping/space-mapping.mjs +8 -0
  56. package/esm2022/lib/core/uitheme/mapping/text-style-mapping.mjs +15 -0
  57. package/esm2022/lib/core/uitheme/models/uiaction.mjs +2 -0
  58. package/esm2022/lib/core/uitheme/models/uialignment.mjs +2 -0
  59. package/esm2022/lib/core/uitheme/models/uibackground.mjs +2 -0
  60. package/esm2022/lib/core/uitheme/models/uipadding.mjs +2 -0
  61. package/esm2022/lib/core/uitheme/models/uiradius.mjs +2 -0
  62. package/esm2022/lib/core/uitheme/models/uishadow.mjs +2 -0
  63. package/esm2022/lib/core/uitheme/models/uispacing.mjs +2 -0
  64. package/esm2022/lib/core/utils/url-parser.util.mjs +19 -0
  65. package/esm2022/lib/core/view-models/uiscreen.viewmodel.mjs +101 -0
  66. package/esm2022/lib/directives/uiview.directive.mjs +140 -0
  67. package/esm2022/lib/sdui-routing.module.mjs +28 -0
  68. package/esm2022/lib/sdui.component.mjs +51 -0
  69. package/esm2022/lib/sdui.module.mjs +102 -0
  70. package/esm2022/public-api.mjs +12 -0
  71. package/fesm2022/edm-sdui-sdui.mjs +2279 -0
  72. package/fesm2022/edm-sdui-sdui.mjs.map +1 -0
  73. package/index.d.ts +6 -0
  74. package/lib/components/navigation-controls/navigation-controls.component.d.ts +12 -0
  75. package/lib/components/navigation-controls/navigation-controls.component.d.ts.map +1 -0
  76. package/lib/components/uicomponent/button/button.component.d.ts +17 -0
  77. package/lib/components/uicomponent/button/button.component.d.ts.map +1 -0
  78. package/lib/components/uicomponent/column/column.component.d.ts +11 -0
  79. package/lib/components/uicomponent/column/column.component.d.ts.map +1 -0
  80. package/lib/components/uicomponent/image/image.component.d.ts +15 -0
  81. package/lib/components/uicomponent/image/image.component.d.ts.map +1 -0
  82. package/lib/components/uicomponent/label/label.component.d.ts +15 -0
  83. package/lib/components/uicomponent/label/label.component.d.ts.map +1 -0
  84. package/lib/components/uicomponent/row/row.component.d.ts +11 -0
  85. package/lib/components/uicomponent/row/row.component.d.ts.map +1 -0
  86. package/lib/components/uicomponent/row-divisor/row-divisor.component.d.ts +11 -0
  87. package/lib/components/uicomponent/row-divisor/row-divisor.component.d.ts.map +1 -0
  88. package/lib/components/uicomponent/search-bar/search-bar.component.d.ts +17 -0
  89. package/lib/components/uicomponent/search-bar/search-bar.component.d.ts.map +1 -0
  90. package/lib/components/uicomponent/space/space.component.d.ts +11 -0
  91. package/lib/components/uicomponent/space/space.component.d.ts.map +1 -0
  92. package/lib/components/uicomponent/tag/tag.component.d.ts +17 -0
  93. package/lib/components/uicomponent/tag/tag.component.d.ts.map +1 -0
  94. package/lib/components/uicomponent/uicomponent.component.d.ts +17 -0
  95. package/lib/components/uicomponent/uicomponent.component.d.ts.map +1 -0
  96. package/lib/components/uicomponent/zstack/zstack.component.d.ts +11 -0
  97. package/lib/components/uicomponent/zstack/zstack.component.d.ts.map +1 -0
  98. package/lib/components/uilayout/centered-content-layout/centered-content-layout.component.d.ts +10 -0
  99. package/lib/components/uilayout/centered-content-layout/centered-content-layout.component.d.ts.map +1 -0
  100. package/lib/components/uilayout/single-column-layout/single-column-layout.component.d.ts +10 -0
  101. package/lib/components/uilayout/single-column-layout/single-column-layout.component.d.ts.map +1 -0
  102. package/lib/components/uilayout/uinavigation/uinavigation.component.d.ts +8 -0
  103. package/lib/components/uilayout/uinavigation/uinavigation.component.d.ts.map +1 -0
  104. package/lib/components/uiscreen/uiscreen.component.d.ts +11 -0
  105. package/lib/components/uiscreen/uiscreen.component.d.ts.map +1 -0
  106. package/lib/core/services/ui-action.service.d.ts +11 -0
  107. package/lib/core/services/ui-action.service.d.ts.map +1 -0
  108. package/lib/core/services/uiscreen.service.d.ts +24 -0
  109. package/lib/core/services/uiscreen.service.d.ts.map +1 -0
  110. package/lib/core/tokens/sdui-config.token.d.ts +3 -0
  111. package/lib/core/tokens/sdui-config.token.d.ts.map +1 -0
  112. package/lib/core/uicomposition/enums/uicomponent-type.d.ts +20 -0
  113. package/lib/core/uicomposition/enums/uicomponent-type.d.ts.map +1 -0
  114. package/lib/core/uicomposition/enums/uiplatform-type.d.ts +5 -0
  115. package/lib/core/uicomposition/enums/uiplatform-type.d.ts.map +1 -0
  116. package/lib/core/uicomposition/enums/uiscene.d.ts +4 -0
  117. package/lib/core/uicomposition/enums/uiscene.d.ts.map +1 -0
  118. package/lib/core/uicomposition/enums/uiscreen-identifier.d.ts +5 -0
  119. package/lib/core/uicomposition/enums/uiscreen-identifier.d.ts.map +1 -0
  120. package/lib/core/uicomposition/mapping/component-mapping.d.ts +4 -0
  121. package/lib/core/uicomposition/mapping/component-mapping.d.ts.map +1 -0
  122. package/lib/core/uicomposition/models/uicentered-content-layout.d.ts +11 -0
  123. package/lib/core/uicomposition/models/uicentered-content-layout.d.ts.map +1 -0
  124. package/{src/lib/core/uicomposition/models/uicomponent.ts → lib/core/uicomposition/models/uicomponent.d.ts} +5 -5
  125. package/lib/core/uicomposition/models/uicomponent.d.ts.map +1 -0
  126. package/lib/core/uicomposition/models/uielement.d.ts +25 -0
  127. package/lib/core/uicomposition/models/uielement.d.ts.map +1 -0
  128. package/lib/core/uicomposition/models/uilayout.d.ts +4 -0
  129. package/lib/core/uicomposition/models/uilayout.d.ts.map +1 -0
  130. package/lib/core/uicomposition/models/uinavigation.d.ts +6 -0
  131. package/lib/core/uicomposition/models/uinavigation.d.ts.map +1 -0
  132. package/{src/lib/core/uicomposition/models/uiscreen.ts → lib/core/uicomposition/models/uiscreen.d.ts} +6 -6
  133. package/lib/core/uicomposition/models/uiscreen.d.ts.map +1 -0
  134. package/{src/lib/core/uicomposition/models/uisingle-column-layout.ts → lib/core/uicomposition/models/uisingle-column-layout.d.ts} +5 -5
  135. package/lib/core/uicomposition/models/uisingle-column-layout.d.ts.map +1 -0
  136. package/{src/lib/core/uicomposition/models/uiview.ts → lib/core/uicomposition/models/uiview.d.ts} +8 -9
  137. package/lib/core/uicomposition/models/uiview.d.ts.map +1 -0
  138. package/lib/core/uitheme/enums/uiaction-type.d.ts +10 -0
  139. package/lib/core/uitheme/enums/uiaction-type.d.ts.map +1 -0
  140. package/lib/core/uitheme/enums/uialignment-type.d.ts +6 -0
  141. package/lib/core/uitheme/enums/uialignment-type.d.ts.map +1 -0
  142. package/lib/core/uitheme/enums/uiaspect-type.d.ts +5 -0
  143. package/lib/core/uitheme/enums/uiaspect-type.d.ts.map +1 -0
  144. package/lib/core/uitheme/enums/uiasset.d.ts +354 -0
  145. package/lib/core/uitheme/enums/uiasset.d.ts.map +1 -0
  146. package/lib/core/uitheme/enums/uicolor.d.ts +130 -0
  147. package/lib/core/uitheme/enums/uicolor.d.ts.map +1 -0
  148. package/lib/core/uitheme/enums/uicontent-type.d.ts +9 -0
  149. package/lib/core/uitheme/enums/uicontent-type.d.ts.map +1 -0
  150. package/lib/core/uitheme/enums/uipadding-level.d.ts +11 -0
  151. package/lib/core/uitheme/enums/uipadding-level.d.ts.map +1 -0
  152. package/lib/core/uitheme/enums/uipresentation-style.d.ts +6 -0
  153. package/lib/core/uitheme/enums/uipresentation-style.d.ts.map +1 -0
  154. package/lib/core/uitheme/enums/uiradius-level.d.ts +9 -0
  155. package/lib/core/uitheme/enums/uiradius-level.d.ts.map +1 -0
  156. package/lib/core/uitheme/enums/uishadow-blur-radius.d.ts +4 -0
  157. package/lib/core/uitheme/enums/uishadow-blur-radius.d.ts.map +1 -0
  158. package/lib/core/uitheme/enums/uishadow-offset.d.ts +4 -0
  159. package/lib/core/uitheme/enums/uishadow-offset.d.ts.map +1 -0
  160. package/lib/core/uitheme/enums/uisize.d.ts +12 -0
  161. package/lib/core/uitheme/enums/uisize.d.ts.map +1 -0
  162. package/lib/core/uitheme/enums/uispacing-level.d.ts +7 -0
  163. package/lib/core/uitheme/enums/uispacing-level.d.ts.map +1 -0
  164. package/lib/core/uitheme/enums/uitext-style.d.ts +14 -0
  165. package/lib/core/uitheme/enums/uitext-style.d.ts.map +1 -0
  166. package/lib/core/uitheme/mapping/alignment-mapping.d.ts +3 -0
  167. package/lib/core/uitheme/mapping/alignment-mapping.d.ts.map +1 -0
  168. package/lib/core/uitheme/mapping/asset-mapping.d.ts +3 -0
  169. package/lib/core/uitheme/mapping/asset-mapping.d.ts.map +1 -0
  170. package/lib/core/uitheme/mapping/color-mapping.d.ts +3 -0
  171. package/lib/core/uitheme/mapping/color-mapping.d.ts.map +1 -0
  172. package/lib/core/uitheme/mapping/pad-mapping.d.ts +3 -0
  173. package/lib/core/uitheme/mapping/pad-mapping.d.ts.map +1 -0
  174. package/lib/core/uitheme/mapping/radius-mapping.d.ts +3 -0
  175. package/lib/core/uitheme/mapping/radius-mapping.d.ts.map +1 -0
  176. package/lib/core/uitheme/mapping/size-mapping.d.ts +4 -0
  177. package/lib/core/uitheme/mapping/size-mapping.d.ts.map +1 -0
  178. package/lib/core/uitheme/mapping/space-mapping.d.ts +3 -0
  179. package/lib/core/uitheme/mapping/space-mapping.d.ts.map +1 -0
  180. package/lib/core/uitheme/mapping/text-style-mapping.d.ts +3 -0
  181. package/lib/core/uitheme/mapping/text-style-mapping.d.ts.map +1 -0
  182. package/lib/core/uitheme/models/uiaction.d.ts +10 -0
  183. package/lib/core/uitheme/models/uiaction.d.ts.map +1 -0
  184. package/{src/lib/core/uitheme/models/uialignment.ts → lib/core/uitheme/models/uialignment.d.ts} +2 -2
  185. package/lib/core/uitheme/models/uialignment.d.ts.map +1 -0
  186. package/{src/lib/core/uitheme/models/uibackground.ts → lib/core/uitheme/models/uibackground.d.ts} +2 -2
  187. package/lib/core/uitheme/models/uibackground.d.ts.map +1 -0
  188. package/lib/core/uitheme/models/uipadding.d.ts +8 -0
  189. package/lib/core/uitheme/models/uipadding.d.ts.map +1 -0
  190. package/lib/core/uitheme/models/uiradius.d.ts +8 -0
  191. package/lib/core/uitheme/models/uiradius.d.ts.map +1 -0
  192. package/{src/lib/core/uitheme/models/uishadow.ts → lib/core/uitheme/models/uishadow.d.ts} +6 -6
  193. package/lib/core/uitheme/models/uishadow.d.ts.map +1 -0
  194. package/{src/lib/core/uitheme/models/uispacing.ts → lib/core/uitheme/models/uispacing.d.ts} +2 -2
  195. package/lib/core/uitheme/models/uispacing.d.ts.map +1 -0
  196. package/lib/core/utils/url-parser.util.d.ts +3 -0
  197. package/lib/core/utils/url-parser.util.d.ts.map +1 -0
  198. package/lib/core/view-models/uiscreen.viewmodel.d.ts +40 -0
  199. package/lib/core/view-models/uiscreen.viewmodel.d.ts.map +1 -0
  200. package/lib/directives/uiview.directive.d.ts +29 -0
  201. package/lib/directives/uiview.directive.d.ts.map +1 -0
  202. package/lib/sdui-routing.module.d.ts +10 -0
  203. package/lib/sdui-routing.module.d.ts.map +1 -0
  204. package/lib/sdui.component.d.ts +17 -0
  205. package/lib/sdui.component.d.ts.map +1 -0
  206. package/lib/sdui.module.d.ts +35 -0
  207. package/lib/sdui.module.d.ts.map +1 -0
  208. package/package.json +20 -16
  209. package/public-api.d.ts +5 -0
  210. package/public-api.d.ts.map +1 -0
  211. package/ng-package.json +0 -9
  212. package/src/index.ts +0 -1
  213. package/src/lib/components/navigation-controls/navigation-controls.component.html +0 -9
  214. package/src/lib/components/navigation-controls/navigation-controls.component.scss +0 -35
  215. package/src/lib/components/navigation-controls/navigation-controls.component.ts +0 -27
  216. package/src/lib/components/uicomponent/button/button.component.html +0 -4
  217. package/src/lib/components/uicomponent/button/button.component.scss +0 -11
  218. package/src/lib/components/uicomponent/button/button.component.ts +0 -64
  219. package/src/lib/components/uicomponent/column/column.component.html +0 -7
  220. package/src/lib/components/uicomponent/column/column.component.scss +0 -9
  221. package/src/lib/components/uicomponent/column/column.component.ts +0 -16
  222. package/src/lib/components/uicomponent/image/image.component.html +0 -1
  223. package/src/lib/components/uicomponent/image/image.component.scss +0 -3
  224. package/src/lib/components/uicomponent/image/image.component.ts +0 -69
  225. package/src/lib/components/uicomponent/label/label.component.html +0 -3
  226. package/src/lib/components/uicomponent/label/label.component.scss +0 -3
  227. package/src/lib/components/uicomponent/label/label.component.ts +0 -66
  228. package/src/lib/components/uicomponent/row/row.component.html +0 -7
  229. package/src/lib/components/uicomponent/row/row.component.scss +0 -8
  230. package/src/lib/components/uicomponent/row/row.component.ts +0 -16
  231. package/src/lib/components/uicomponent/row-divisor/row-divisor.component.html +0 -5
  232. package/src/lib/components/uicomponent/row-divisor/row-divisor.component.scss +0 -8
  233. package/src/lib/components/uicomponent/row-divisor/row-divisor.component.ts +0 -16
  234. package/src/lib/components/uicomponent/search-bar/search-bar.component.html +0 -7
  235. package/src/lib/components/uicomponent/search-bar/search-bar.component.scss +0 -7
  236. package/src/lib/components/uicomponent/search-bar/search-bar.component.ts +0 -129
  237. package/src/lib/components/uicomponent/space/space.component.html +0 -1
  238. package/src/lib/components/uicomponent/space/space.component.scss +0 -10
  239. package/src/lib/components/uicomponent/space/space.component.ts +0 -16
  240. package/src/lib/components/uicomponent/tag/tag.component.html +0 -3
  241. package/src/lib/components/uicomponent/tag/tag.component.scss +0 -7
  242. package/src/lib/components/uicomponent/tag/tag.component.ts +0 -54
  243. package/src/lib/components/uicomponent/uicomponent.component.html +0 -5
  244. package/src/lib/components/uicomponent/uicomponent.component.scss +0 -3
  245. package/src/lib/components/uicomponent/uicomponent.component.ts +0 -53
  246. package/src/lib/components/uicomponent/zstack/zstack.component.html +0 -6
  247. package/src/lib/components/uicomponent/zstack/zstack.component.scss +0 -12
  248. package/src/lib/components/uicomponent/zstack/zstack.component.ts +0 -16
  249. package/src/lib/components/uilayout/centered-content-layout/centered-content-layout.component.html +0 -20
  250. package/src/lib/components/uilayout/centered-content-layout/centered-content-layout.component.scss +0 -36
  251. package/src/lib/components/uilayout/centered-content-layout/centered-content-layout.component.ts +0 -21
  252. package/src/lib/components/uilayout/single-column-layout/single-column-layout.component.html +0 -22
  253. package/src/lib/components/uilayout/single-column-layout/single-column-layout.component.scss +0 -37
  254. package/src/lib/components/uilayout/single-column-layout/single-column-layout.component.ts +0 -27
  255. package/src/lib/components/uilayout/uinavigation/uinavigation.component.html +0 -8
  256. package/src/lib/components/uilayout/uinavigation/uinavigation.component.scss +0 -4
  257. package/src/lib/components/uilayout/uinavigation/uinavigation.component.ts +0 -12
  258. package/src/lib/components/uiscreen/uiscreen.component.html +0 -29
  259. package/src/lib/components/uiscreen/uiscreen.component.scss +0 -12
  260. package/src/lib/components/uiscreen/uiscreen.component.ts +0 -15
  261. package/src/lib/core/interfaces/sdui-config.interface.ts +0 -3
  262. package/src/lib/core/services/navigation.service.ts +0 -25
  263. package/src/lib/core/services/sdui-config.service.ts +0 -19
  264. package/src/lib/core/services/ui-action.service.ts +0 -36
  265. package/src/lib/core/services/uiscreen.service.ts +0 -185
  266. package/src/lib/core/tokens/sdui-config.token.ts +0 -3
  267. package/src/lib/core/uicomposition/enums/uicomponent-type.ts +0 -32
  268. package/src/lib/core/uicomposition/enums/uiplatform-type.ts +0 -4
  269. package/src/lib/core/uicomposition/enums/uiscene.ts +0 -3
  270. package/src/lib/core/uicomposition/enums/uiscreen-identifier.ts +0 -4
  271. package/src/lib/core/uicomposition/mapping/component-mapping.ts +0 -90
  272. package/src/lib/core/uicomposition/models/uicentered-content-layout.ts +0 -11
  273. package/src/lib/core/uicomposition/models/uielement.ts +0 -25
  274. package/src/lib/core/uicomposition/models/uilayout.ts +0 -4
  275. package/src/lib/core/uicomposition/models/uinavigation.ts +0 -6
  276. package/src/lib/core/uitheme/enums/uiaction-type.ts +0 -14
  277. package/src/lib/core/uitheme/enums/uialignment-type.ts +0 -5
  278. package/src/lib/core/uitheme/enums/uiaspect-type.ts +0 -4
  279. package/src/lib/core/uitheme/enums/uiasset.ts +0 -361
  280. package/src/lib/core/uitheme/enums/uicolor.ts +0 -129
  281. package/src/lib/core/uitheme/enums/uicontent-type.ts +0 -8
  282. package/src/lib/core/uitheme/enums/uipadding-level.ts +0 -10
  283. package/src/lib/core/uitheme/enums/uipresentation-style.ts +0 -5
  284. package/src/lib/core/uitheme/enums/uiradius-level.ts +0 -8
  285. package/src/lib/core/uitheme/enums/uishadow-blur-radius.ts +0 -3
  286. package/src/lib/core/uitheme/enums/uishadow-offset.ts +0 -3
  287. package/src/lib/core/uitheme/enums/uisize.ts +0 -12
  288. package/src/lib/core/uitheme/enums/uispacing-level.ts +0 -6
  289. package/src/lib/core/uitheme/enums/uitext-style.ts +0 -13
  290. package/src/lib/core/uitheme/mapping/alignment-mapping.ts +0 -7
  291. package/src/lib/core/uitheme/mapping/asset-mapping.ts +0 -363
  292. package/src/lib/core/uitheme/mapping/color-mapping.ts +0 -131
  293. package/src/lib/core/uitheme/mapping/pad-mapping.ts +0 -12
  294. package/src/lib/core/uitheme/mapping/radius-mapping.ts +0 -10
  295. package/src/lib/core/uitheme/mapping/size-mapping.ts +0 -25
  296. package/src/lib/core/uitheme/mapping/space-mapping.ts +0 -8
  297. package/src/lib/core/uitheme/mapping/text-style-mapping.ts +0 -15
  298. package/src/lib/core/uitheme/models/uiaction.ts +0 -10
  299. package/src/lib/core/uitheme/models/uipadding.ts +0 -8
  300. package/src/lib/core/uitheme/models/uiradius.ts +0 -8
  301. package/src/lib/core/uitheme/models/uiview.ts +0 -0
  302. package/src/lib/core/utils/url-parser.util.ts +0 -24
  303. package/src/lib/core/view-models/uiscreen.viewmodel.ts +0 -115
  304. package/src/lib/directives/uiview.directive.ts +0 -207
  305. package/src/lib/sdui-routing.module.ts +0 -22
  306. package/src/lib/sdui.component.html +0 -3
  307. package/src/lib/sdui.component.scss +0 -11
  308. package/src/lib/sdui.component.ts +0 -65
  309. package/src/lib/sdui.module.ts +0 -84
  310. package/src/public-api.ts +0 -16
  311. package/tsconfig.lib.json +0 -16
  312. package/tsconfig.spec.json +0 -12
@@ -1,37 +0,0 @@
1
- :host {
2
- display: contents;
3
- }
4
-
5
- .single-column-layout {
6
- display: flex;
7
- flex-direction: column;
8
- width: 100vw;
9
- min-height: 100vh;
10
- position: relative;
11
-
12
- .header {
13
- position: fixed;
14
- top: 0;
15
- left: 0;
16
- width: 100%;
17
- z-index: 100;
18
- }
19
- .scrollview {
20
- .main {
21
- flex: 1;
22
- display: flex;
23
- align-items: center;
24
- justify-content: center;
25
- margin-top: var(--header-height, 64px);
26
- margin-bottom: var(--footer-height, 64px);
27
- }
28
- }
29
-
30
- .footer {
31
- position: fixed;
32
- bottom: 0;
33
- left: 0;
34
- width: 100%;
35
- z-index: 100;
36
- }
37
- }
@@ -1,27 +0,0 @@
1
- import {
2
- ChangeDetectionStrategy,
3
- Component,
4
- Input,
5
- OnChanges,
6
- SimpleChanges,
7
- } from '@angular/core';
8
- import { UISingleColumnLayout } from '../../../core/uicomposition/models/uisingle-column-layout';
9
-
10
- @Component({
11
- selector: 'edm-sdui-single-column-layout',
12
- templateUrl: './single-column-layout.component.html',
13
- styleUrl: './single-column-layout.component.scss',
14
- standalone: false,
15
- })
16
- export class SingleColumnLayoutComponent implements OnChanges {
17
- @Input() uiLayout?: UISingleColumnLayout;
18
-
19
- ngOnChanges(changes: SimpleChanges): void {
20
- if (changes['uiLayout']) {
21
- console.debug(
22
- '[SingleColumnLayout] Novo layout recebido:',
23
- changes['uiLayout'].currentValue
24
- );
25
- }
26
- }
27
- }
@@ -1,8 +0,0 @@
1
- <div class="nav" *ngIf="uiNavigation">
2
- <h1 *ngIf="uiNavigation.title">{{ uiNavigation.title }}</h1>
3
-
4
- <edm-sdui-component
5
- [uiComponent]="uiNavigation.titleComponent"
6
- *ngIf="uiNavigation.titleComponent"
7
- ></edm-sdui-component>
8
- </div>
@@ -1,4 +0,0 @@
1
- :host {
2
- display: contents;
3
- }
4
-
@@ -1,12 +0,0 @@
1
- import { AfterViewInit, Component, Input } from '@angular/core';
2
- import { UINavigation } from '../../../core/uicomposition/models/uinavigation';
3
-
4
- @Component({
5
- selector: 'edm-sdui-navigation',
6
- styleUrl: './uinavigation.component.scss',
7
- templateUrl: './uinavigation.component.html',
8
- standalone: false,
9
- })
10
- export class UINavigationComponent {
11
- @Input() uiNavigation?: UINavigation;
12
- }
@@ -1,29 +0,0 @@
1
- <div *ngIf="viewModel.isLoading$ | async"><p>Carregando...</p></div>
2
-
3
- <div *ngIf="viewModel.error$ | async as errorMessage">
4
- <p class="error-label">Erro: {{ errorMessage }}</p>
5
- </div>
6
-
7
- <div
8
- class="ui-screen"
9
- *ngIf="viewModel.uiScreen$ | async as uiScreen"
10
- [edmSduiView]="uiScreen"
11
- >
12
- <edm-sdui-navigation-controls
13
- [edmSduiView]="uiScreen"
14
- ></edm-sdui-navigation-controls>
15
-
16
- <ng-container [ngSwitch]="uiScreen.identifier">
17
- <edm-sdui-single-column-layout
18
- *ngSwitchCase="UIScreenIdentifier.SINGLE_COLUMN"
19
- [uiLayout]="uiScreen.content"
20
- >
21
- </edm-sdui-single-column-layout>
22
-
23
- <edm-sdui-centered-content-layout
24
- *ngSwitchCase="UIScreenIdentifier.CENTERED_CONTENT"
25
- [uiLayout]="uiScreen.content"
26
- >
27
- </edm-sdui-centered-content-layout>
28
- </ng-container>
29
- </div>
@@ -1,12 +0,0 @@
1
- :host {
2
- display: contents;
3
- }
4
-
5
- .ui-screen {
6
- width: 100vw;
7
- min-height: 100vh;
8
- }
9
-
10
- .error-label {
11
- color: var(--input-error);
12
- }
@@ -1,15 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import { UIScreenViewModel } from '../../core/view-models/uiscreen.viewmodel';
3
- import { UIScreenIdentifier } from '../../core/uicomposition/enums/uiscreen-identifier';
4
-
5
- @Component({
6
- selector: 'edm-sdui-uiscreen',
7
- templateUrl: './uiscreen.component.html',
8
- styleUrl: './uiscreen.component.scss',
9
- standalone: false,
10
- })
11
- export class UIScreenComponent {
12
- readonly UIScreenIdentifier = UIScreenIdentifier;
13
-
14
- constructor(public viewModel: UIScreenViewModel) {}
15
- }
@@ -1,3 +0,0 @@
1
- export interface SduiConfig {
2
- baseUrl: string;
3
- }
@@ -1,25 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
-
3
- @Injectable({
4
- providedIn: 'root',
5
- })
6
- export class SduiNavigationService {
7
- private navigationHistory: string[] = [];
8
-
9
- forward(url: string): void {
10
- this.navigationHistory.push(url);
11
- }
12
-
13
- back(): string | null | undefined {
14
- if (this.canGoBack()) {
15
- this.navigationHistory.pop();
16
- return this.navigationHistory[this.navigationHistory.length - 1];
17
- }
18
-
19
- return null;
20
- }
21
-
22
- canGoBack(): boolean {
23
- return this.navigationHistory.length > 1;
24
- }
25
- }
@@ -1,19 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import { SduiConfig } from '../interfaces/sdui-config.interface';
3
-
4
- @Injectable({
5
- providedIn: 'root',
6
- })
7
- export class SduiConfigService {
8
- private config: SduiConfig = {
9
- baseUrl: '',
10
- };
11
-
12
- setConfig(config: SduiConfig): void {
13
- this.config = { ...this.config, ...config };
14
- }
15
-
16
- getBaseUrl(): string {
17
- return this.config.baseUrl;
18
- }
19
- }
@@ -1,36 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { UIActionType } from '../uitheme/enums/uiaction-type';
4
- import { UIAction } from '../uitheme/models/uiaction';
5
- import { resolveSduiUrl, isSduiUrl } from '../utils/url-parser.util';
6
- import { SDUI_URL_PARAM } from '../view-models/uiscreen.viewmodel';
7
-
8
- @Injectable({ providedIn: 'root' })
9
- export class UIActionService {
10
- constructor(private router: Router) {}
11
-
12
- execute(action: UIAction): void {
13
- if (!action || !action.type) return;
14
-
15
- switch (action.type) {
16
- case UIActionType.INTERNAL_URL:
17
- case UIActionType.RELOAD_INTERNAL_URL:
18
- if (action.url) {
19
- console.debug('[UIActionService] Navigating to:', action.url);
20
-
21
- if (isSduiUrl(action.url)) {
22
- const resolved = resolveSduiUrl(action.url);
23
- this.router.navigate([], {
24
- queryParams: { [SDUI_URL_PARAM]: resolved },
25
- queryParamsHandling: 'merge',
26
- });
27
- } else {
28
- this.router.navigateByUrl(action.url, { replaceUrl: false });
29
- }
30
- }
31
- break;
32
-
33
- // Outros tipos de ação podem ser adicionados aqui
34
- }
35
- }
36
- }
@@ -1,185 +0,0 @@
1
- import { Injectable, Inject, Optional } from '@angular/core';
2
- import { Observable, map } from 'rxjs';
3
- import { HttpClient } from '@angular/common/http';
4
- import { UIScreen } from '../uicomposition/models/uiscreen';
5
- import { UILayout } from '../uicomposition/models/uilayout';
6
- import { UIScreenIdentifier } from '../uicomposition/enums/uiscreen-identifier';
7
- import { UISingleColumnLayout } from '../uicomposition/models/uisingle-column-layout';
8
- import { UINavigation } from '../uicomposition/models/uinavigation';
9
- import { UIComponent } from '../uicomposition/models/uicomponent';
10
- import { UIComponentType } from '../uicomposition/enums/uicomponent-type';
11
- import { UIElement } from '../uicomposition/models/uielement';
12
- import { UIView } from '../uicomposition/models/uiview';
13
- import { UIPadding } from '../uitheme/models/uipadding';
14
- import { UIBackground } from '../uitheme/models/uibackground';
15
- import { UIAction } from '../uitheme/models/uiaction';
16
- import { UIShadow } from '../uitheme/models/uishadow';
17
- import { UIRadius } from '../uitheme/models/uiradius';
18
- import { UIActionType } from '../uitheme/enums/uiaction-type';
19
- import { UIColor } from '../uitheme/enums/uicolor';
20
- import { UITextStyle } from '../uitheme/enums/uitext-style';
21
- import { UIAsset } from '../uitheme/enums/uiasset';
22
- import { UIAlignmentType } from '../uitheme/enums/uialignment-type';
23
- import { UISpacingLevel } from '../uitheme/enums/uispacing-level';
24
- import { SDUI_BASE_URL } from '../tokens/sdui-config.token';
25
- import { resolveSduiUrl } from '../utils/url-parser.util';
26
- import { UICenteredContentLayout } from '../uicomposition/models/uicentered-content-layout';
27
- import { UIRadiusLevel } from '../uitheme/enums/uiradius-level';
28
- import { UIContentType } from '../uitheme/enums/uicontent-type';
29
- import { UIAspectType } from '../uitheme/enums/uiaspect-type';
30
-
31
- @Injectable({
32
- providedIn: 'root',
33
- })
34
- export class UIScreenService {
35
- constructor(
36
- private http: HttpClient,
37
- @Optional() @Inject(SDUI_BASE_URL) private baseUrl: string = ''
38
- ) {}
39
-
40
- getUIScreen(url: string): Observable<UIScreen> {
41
- let finalUrl = resolveSduiUrl(url, this.baseUrl);
42
-
43
- return this.http
44
- .get<any>(finalUrl)
45
- .pipe(map((json) => this.mapToUIScreen(json)));
46
- }
47
-
48
- private mapToUIScreen(json: Partial<UIScreen>): UIScreen {
49
- const { identifier, content } = json;
50
-
51
- if (!identifier) {
52
- throw new Error(`Identificador da tela ausente no JSON recebido.`);
53
- }
54
-
55
- const layout = this.getLayout(identifier as UIScreenIdentifier, content);
56
-
57
- return {
58
- identifier: identifier as UIScreenIdentifier,
59
- content: layout,
60
- ...this.mapToUIView(json),
61
- };
62
- }
63
-
64
- private getLayout(
65
- identifier: UIScreenIdentifier,
66
- content: UILayout | undefined
67
- ): UILayout {
68
- switch (identifier) {
69
- case UIScreenIdentifier.SINGLE_COLUMN:
70
- return this.mapToSingleColumnLayout(content ?? {});
71
-
72
- case UIScreenIdentifier.CENTERED_CONTENT:
73
- return this.mapToCenteredContentLayout(content ?? {});
74
-
75
- default:
76
- throw new Error(`Tipo de tela desconhecido: ${identifier}`);
77
- }
78
- }
79
-
80
- private mapToSingleColumnLayout(
81
- json: Partial<UISingleColumnLayout>
82
- ): UISingleColumnLayout {
83
- return {
84
- nav: json.nav ? this.mapToUINavigation(json.nav) : null,
85
- header: json.header ? this.mapToUIComponent(json.header) : null,
86
- main: json.main ? this.mapToUIComponent(json.main) : null,
87
- footer: json.footer ? this.mapToUIComponent(json.footer) : null,
88
- };
89
- }
90
-
91
- private mapToCenteredContentLayout(
92
- json: Partial<UICenteredContentLayout>
93
- ): UICenteredContentLayout {
94
- return {
95
- nav: json.nav ? this.mapToUINavigation(json.nav) : null,
96
- backgroundComponent: json.backgroundComponent
97
- ? this.mapToUIComponent(json.backgroundComponent)
98
- : null,
99
- header: json.header ? this.mapToUIComponent(json.header) : null,
100
- centered: json.centered ? this.mapToUIComponent(json.centered) : null,
101
- footer: json.footer ? this.mapToUIComponent(json.footer) : null,
102
- };
103
- }
104
-
105
- private mapToUINavigation(json: any): UINavigation {
106
- return {
107
- title: json.title ?? null,
108
- titleComponent: json.title_component
109
- ? this.mapToUIComponent(json.title_component)
110
- : null,
111
- };
112
- }
113
-
114
- private mapToUIComponent(json: Partial<UIComponent>): UIComponent {
115
- return {
116
- type: json.type || UIComponentType.COLUMN, // Define um tipo padrão
117
- components: json.components
118
- ? json.components.map((c) => this.mapToUIComponent(c))
119
- : [],
120
- element: json.element ? this.mapToUIElement(json.element) : null,
121
- };
122
- }
123
-
124
- private mapToUIElement(json: any): UIElement {
125
- return {
126
- label: json.label ?? null,
127
- textColor: json.text_color ? (json.text_color as UIColor) : null,
128
- textStyle: json.text_style ? (json.text_style as UITextStyle) : null,
129
- maxLines: json.max_lines ?? null,
130
- asset: json.asset ? (json.asset as UIAsset) : null,
131
- url: json.url ?? null,
132
- enabled: json.enabled ?? true,
133
- size: json.size ?? null,
134
- opacity: json.opacity ?? null,
135
- contentType: (json.content_type as UIContentType) ?? null,
136
- aspect: (json.aspect as UIAspectType) ?? null,
137
- grow: json.grow ?? null,
138
- placeholder: json.placeholder ?? null,
139
- placeholderTextColor: json.placeholder_text_color ?? null,
140
- placeholderTextStyle: json.placeholder_text_style ?? null,
141
- ...this.mapToUIView(json),
142
- };
143
- }
144
-
145
- private mapToUIView(json: any): UIView {
146
- return {
147
- padding: json.padding as UIPadding,
148
- background: json.background ? this.mapBackground(json.background) : null,
149
- action: json.action ? this.mapAction(json.action) : null,
150
- alignment: json.alignment
151
- ? { alignment: json.alignment as UIAlignmentType }
152
- : null,
153
- shadow: json.shadow as UIShadow,
154
- radius: json.radius ? this.mapRadius(json.radius) : null,
155
- spacing: json.spacing
156
- ? { spacing: json.spacing as UISpacingLevel }
157
- : null,
158
- };
159
- }
160
-
161
- private mapBackground(json: any): UIBackground {
162
- return {
163
- backgroundColor: json.background_color,
164
- };
165
- }
166
-
167
- private mapAction(json: any): UIAction {
168
- return {
169
- canAccess: json.can_acces ?? null,
170
- type: json.type ? (json.type as UIActionType) : null,
171
- url: json.url ?? null,
172
- };
173
- }
174
-
175
- private mapRadius(json: any): UIRadius {
176
- return {
177
- topLeft: json.top_left ? (json.top_left as UIRadiusLevel) : null,
178
- topRight: json.top_right ? (json.top_right as UIRadiusLevel) : null,
179
- bottomLeft: json.bottom_left ? (json.bottom_left as UIRadiusLevel) : null,
180
- bottomRight: json.bottom_right
181
- ? (json.bottom_right as UIRadiusLevel)
182
- : null,
183
- };
184
- }
185
- }
@@ -1,3 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
-
3
- export const SDUI_BASE_URL = new InjectionToken<string>('SDUI_BASE_URL');
@@ -1,32 +0,0 @@
1
- export enum UIComponentType {
2
- // stacks
3
- ROW = 'ROW',
4
- ROW_DIVISOR = 'ROW_DIVISOR',
5
- COLUMN = 'COLUMN',
6
- Z_STACK = 'Z_STACK',
7
-
8
- // elements
9
- BUTTON = 'BUTTON',
10
- LABEL = 'LABEL',
11
- IMAGE = 'IMAGE',
12
- SPACE = 'SPACE',
13
-
14
- // players
15
- VIDEO_PLAYER_HLS = 'VIDEO_PLAYER_HLS',
16
- VIDEO_PLAYER_WEB = 'VIDEO_PLAYER_WEB',
17
-
18
- // componentes visuais media
19
- MEDIA_TYPE = 'MEDIA_TYPE',
20
- MEDIA_CONTENT = 'MEDIA_CONTENT',
21
-
22
- // search
23
- SEARCH_BAR = 'SEARCH_BAR',
24
- SEARCH_BAR_DISMISS = 'SEARCH_BAR_DISMISS',
25
-
26
- // picker
27
- PICKER = 'PICKER',
28
- PICKER_ITEM = 'PICKER_ITEM',
29
-
30
- // tag
31
- TAG = 'TAG',
32
- }
@@ -1,4 +0,0 @@
1
- export enum UIPlatformType {
2
- iOS = 'iOS',
3
- Android = 'Android',
4
- }
@@ -1,3 +0,0 @@
1
- export enum UIScene {
2
- ACTIVITY_LIST = 'ACTIVITY_LIST',
3
- }
@@ -1,4 +0,0 @@
1
- export enum UIScreenIdentifier {
2
- SINGLE_COLUMN = 'SINGLE_COLUMN',
3
- CENTERED_CONTENT = 'CENTERED_CONTENT',
4
- }
@@ -1,90 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { UIComponentType } from '../enums/uicomponent-type';
3
-
4
- export const componentMapping: Record<
5
- UIComponentType,
6
- () => Promise<Type<any>>
7
- > = {
8
- // com filhos
9
- [UIComponentType.ROW]: () =>
10
- import('../../../components/uicomponent/row/row.component').then(
11
- (m) => m.RowComponent
12
- ),
13
- [UIComponentType.ROW_DIVISOR]: () =>
14
- import(
15
- '../../../components/uicomponent/row-divisor/row-divisor.component'
16
- ).then((m) => m.RowDivisorComponent),
17
-
18
- [UIComponentType.COLUMN]: () =>
19
- import('../../../components/uicomponent/column/column.component').then(
20
- (m) => m.ColumnComponent
21
- ),
22
- [UIComponentType.Z_STACK]: () =>
23
- import('../../../components/uicomponent/zstack/zstack.component').then(
24
- (m) => m.ZStackComponent
25
- ),
26
-
27
- // elementos
28
- [UIComponentType.BUTTON]: () =>
29
- import('../../../components/uicomponent/button/button.component').then(
30
- (m) => m.ButtonComponent
31
- ),
32
- [UIComponentType.IMAGE]: () =>
33
- import('../../../components/uicomponent/image/image.component').then(
34
- (m) => m.ImageComponent
35
- ),
36
- [UIComponentType.SPACE]: () =>
37
- import('../../../components/uicomponent/space/space.component').then(
38
- (m) => m.SpaceComponent
39
- ),
40
- [UIComponentType.LABEL]: () =>
41
- import('../../../components/uicomponent/label/label.component').then(
42
- (m) => m.LabelComponent
43
- ),
44
-
45
- // players
46
- [UIComponentType.VIDEO_PLAYER_HLS]: () =>
47
- import('../../../components/uicomponent/zstack/zstack.component').then(
48
- (m) => m.ZStackComponent
49
- ),
50
- [UIComponentType.VIDEO_PLAYER_WEB]: () =>
51
- import('../../../components/uicomponent/zstack/zstack.component').then(
52
- (m) => m.ZStackComponent
53
- ),
54
-
55
- // componentes visuais media
56
- [UIComponentType.MEDIA_TYPE]: () =>
57
- import('../../../components/uicomponent/zstack/zstack.component').then(
58
- (m) => m.ZStackComponent
59
- ),
60
- [UIComponentType.MEDIA_CONTENT]: () =>
61
- import('../../../components/uicomponent/zstack/zstack.component').then(
62
- (m) => m.ZStackComponent
63
- ),
64
-
65
- // search
66
- [UIComponentType.SEARCH_BAR]: () =>
67
- import(
68
- '../../../components/uicomponent/search-bar/search-bar.component'
69
- ).then((m) => m.SearchBarComponent),
70
- [UIComponentType.SEARCH_BAR_DISMISS]: () =>
71
- import('../../../components/uicomponent/zstack/zstack.component').then(
72
- (m) => m.ZStackComponent
73
- ),
74
-
75
- // picker
76
- [UIComponentType.PICKER]: () =>
77
- import('../../../components/uicomponent/zstack/zstack.component').then(
78
- (m) => m.ZStackComponent
79
- ),
80
- [UIComponentType.PICKER_ITEM]: () =>
81
- import('../../../components/uicomponent/zstack/zstack.component').then(
82
- (m) => m.ZStackComponent
83
- ),
84
-
85
- // tag
86
- [UIComponentType.TAG]: () =>
87
- import('../../../components/uicomponent/tag/tag.component').then(
88
- (m) => m.TagComponent
89
- ),
90
- };
@@ -1,11 +0,0 @@
1
- import { UIComponent } from './uicomponent';
2
- import { UILayout } from './uilayout';
3
- import { UINavigation } from './uinavigation';
4
-
5
- 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;
11
- }
@@ -1,25 +0,0 @@
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
-
9
- export interface UIElement extends UIView {
10
- label?: string | null;
11
- textColor?: UIColor | null;
12
- textStyle?: UITextStyle | null;
13
- maxLines?: number | null;
14
- asset?: UIAsset | null;
15
- url?: string | null;
16
- enabled?: boolean | null;
17
- size?: UISize | null;
18
- opacity?: number | null;
19
- contentType?: UIContentType | null;
20
- aspect?: UIAspectType | null;
21
- grow?: number | null;
22
- placeholder?: string | null;
23
- placeholderTextColor?: UIColor | null;
24
- placeholderTextStyle?: UITextStyle | null;
25
- }
@@ -1,4 +0,0 @@
1
- import { UIView } from './uiview';
2
-
3
- // interface ABSTRATA - não deve existir objetos dela!
4
- export interface UILayout extends UIView {}
@@ -1,6 +0,0 @@
1
- import { UIComponent } from './uicomponent';
2
-
3
- export interface UINavigation {
4
- title?: string | null;
5
- titleComponent?: UIComponent | null;
6
- }
@@ -1,14 +0,0 @@
1
- export enum UIActionType {
2
- // navegação
3
- INTERNAL_URL = 'INTERNAL_URL',
4
- RELOAD_INTERNAL_URL = 'RELOAD_INTERNAL_URL',
5
- DISMISS_TO_SCENE = 'DISMISS_TO_SCENE',
6
-
7
- // paywall
8
- PAYWALL = 'PAYWALL',
9
- REGISTER = 'REGISTER',
10
-
11
- // conteúdo
12
- HTML = 'HTML',
13
- FILE = 'FILE',
14
- }
@@ -1,5 +0,0 @@
1
- export enum UIAlignmentType {
2
- START = 'start',
3
- CENTER = 'center',
4
- END = 'end',
5
- }
@@ -1,4 +0,0 @@
1
- export enum UIAspectType {
2
- FILL = 'fill',
3
- FIT = 'fit',
4
- }