@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
@@ -0,0 +1,3 @@
1
+ import { UIColor } from '../enums/uicolor';
2
+ export declare const colorMapping: Record<UIColor, string>;
3
+ //# sourceMappingURL=color-mapping.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color-mapping.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdui/src/lib/core/uitheme/mapping/color-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,CAgIhD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { UIPaddingLevel } from '../enums/uipadding-level';
2
+ export declare const padMapping: Record<UIPaddingLevel, string>;
3
+ //# sourceMappingURL=pad-mapping.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pad-mapping.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdui/src/lib/core/uitheme/mapping/pad-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CASrD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { UIRadiusLevel } from '../enums/uiradius-level';
2
+ export declare const radiusMapping: Record<UIRadiusLevel, string>;
3
+ //# sourceMappingURL=radius-mapping.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"radius-mapping.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdui/src/lib/core/uitheme/mapping/radius-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,CAOvD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { UISize } from '../enums/uisize';
2
+ export declare const sizeMappingHeight: Record<UISize, string>;
3
+ export declare const sizeMappingWidth: Record<UISize, string>;
4
+ //# sourceMappingURL=size-mapping.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"size-mapping.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdui/src/lib/core/uitheme/mapping/size-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAUpD,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAUnD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { UISpacingLevel } from '../enums/uispacing-level';
2
+ export declare const spaceMapping: Record<UISpacingLevel, string>;
3
+ //# sourceMappingURL=space-mapping.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"space-mapping.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdui/src/lib/core/uitheme/mapping/space-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAKvD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { UITextStyle } from '../enums/uitext-style';
2
+ export declare const textStyleMappingFontSize: Record<UITextStyle, string>;
3
+ //# sourceMappingURL=text-style-mapping.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-style-mapping.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdui/src/lib/core/uitheme/mapping/text-style-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAYhE,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { UIActionType } from '../enums/uiaction-type';
2
+ import { UIPresentationStyle } from '../enums/uipresentation-style';
3
+ export interface UIAction {
4
+ canAccess?: boolean | null;
5
+ url?: string | null;
6
+ type?: UIActionType | null;
7
+ presentationStyle?: UIPresentationStyle | null;
8
+ param?: string | null;
9
+ }
10
+ //# sourceMappingURL=uiaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uiaction.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdui/src/lib/core/uitheme/models/uiaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,MAAM,WAAW,QAAQ;IACvB,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAC3B,iBAAiB,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAC/C,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB"}
@@ -1,5 +1,5 @@
1
1
  import { UIAlignmentType } from '../enums/uialignment-type';
2
-
3
2
  export interface UIAlignment {
4
- alignment?: UIAlignmentType;
3
+ alignment?: UIAlignmentType;
5
4
  }
5
+ //# sourceMappingURL=uialignment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uialignment.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdui/src/lib/core/uitheme/models/uialignment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE5D,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,eAAe,CAAC;CAC7B"}
@@ -1,5 +1,5 @@
1
1
  import { UIColor } from '../enums/uicolor';
2
-
3
2
  export interface UIBackground {
4
- backgroundColor?: UIColor;
3
+ backgroundColor?: UIColor;
5
4
  }
5
+ //# sourceMappingURL=uibackground.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uibackground.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdui/src/lib/core/uitheme/models/uibackground.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,MAAM,WAAW,YAAY;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B"}
@@ -0,0 +1,8 @@
1
+ import { UIPaddingLevel } from '../enums/uipadding-level';
2
+ export interface UIPadding {
3
+ top?: UIPaddingLevel;
4
+ right?: UIPaddingLevel;
5
+ bottom?: UIPaddingLevel;
6
+ left?: UIPaddingLevel;
7
+ }
8
+ //# sourceMappingURL=uipadding.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uipadding.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdui/src/lib/core/uitheme/models/uipadding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,MAAM,WAAW,SAAS;IACxB,GAAG,CAAC,EAAE,cAAc,CAAC;IACrB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB"}
@@ -0,0 +1,8 @@
1
+ import { UIRadiusLevel } from '../enums/uiradius-level';
2
+ export interface UIRadius {
3
+ topLeft?: UIRadiusLevel | null;
4
+ topRight?: UIRadiusLevel | null;
5
+ bottomLeft?: UIRadiusLevel | null;
6
+ bottomRight?: UIRadiusLevel | null;
7
+ }
8
+ //# sourceMappingURL=uiradius.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uiradius.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdui/src/lib/core/uitheme/models/uiradius.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,MAAM,WAAW,QAAQ;IACvB,OAAO,CAAC,EAAE,aAAa,GAAC,IAAI,CAAC;IAC7B,QAAQ,CAAC,EAAE,aAAa,GAAC,IAAI,CAAC;IAC9B,UAAU,CAAC,EAAE,aAAa,GAAC,IAAI,CAAC;IAChC,WAAW,CAAC,EAAE,aAAa,GAAC,IAAI,CAAC;CAClC"}
@@ -1,11 +1,11 @@
1
1
  import { UIColor } from '../enums/uicolor';
2
2
  import { UIShadowBlurRadius } from '../enums/uishadow-blur-radius';
3
3
  import { UIShadowOffset } from '../enums/uishadow-offset';
4
-
5
4
  export interface UIShadow {
6
- color?: UIColor;
7
- offsetX?: UIShadowOffset;
8
- offsetY?: UIShadowOffset;
9
- blurRadius?: UIShadowBlurRadius;
10
- opacity?: number;
5
+ color?: UIColor;
6
+ offsetX?: UIShadowOffset;
7
+ offsetY?: UIShadowOffset;
8
+ blurRadius?: UIShadowBlurRadius;
9
+ opacity?: number;
11
10
  }
11
+ //# sourceMappingURL=uishadow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uishadow.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdui/src/lib/core/uitheme/models/uishadow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,MAAM,WAAW,QAAQ;IACvB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -1,5 +1,5 @@
1
1
  import { UISpacingLevel } from '../enums/uispacing-level';
2
-
3
2
  export interface UISpacing {
4
- spacing?: UISpacingLevel;
3
+ spacing?: UISpacingLevel;
5
4
  }
5
+ //# sourceMappingURL=uispacing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uispacing.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdui/src/lib/core/uitheme/models/uispacing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,MAAM,WAAW,SAAS;IACxB,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B"}
@@ -0,0 +1,3 @@
1
+ export declare function resolveSduiUrl(rawUrl: string, baseUrl?: string): string;
2
+ export declare function isSduiUrl(rawUrl: string): boolean;
3
+ //# sourceMappingURL=url-parser.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url-parser.util.d.ts","sourceRoot":"","sources":["../../../../../../libs/sdui/src/lib/core/utils/url-parser.util.ts"],"names":[],"mappings":"AAAA,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,GAAE,MAAW,GAAG,MAAM,CAmB3E;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAEjD"}
@@ -0,0 +1,40 @@
1
+ import { Observable } from 'rxjs';
2
+ import { UIScreen } from '../uicomposition/models/uiscreen';
3
+ import { UIScreenService } from '../services/uiscreen.service';
4
+ import { Location } from '@angular/common';
5
+ import * as i0 from "@angular/core";
6
+ export declare const SDUI_URL_PARAM = "sduiUrl";
7
+ export declare class UIScreenViewModel {
8
+ private uiScreenService;
9
+ private location;
10
+ private uiScreenSubject;
11
+ private isLoadingSubject;
12
+ private errorSubject;
13
+ private navigationHistorySubject;
14
+ private canGoBackSubject;
15
+ private currentUrlSubject;
16
+ uiScreen$: Observable<UIScreen | null>;
17
+ isLoading$: Observable<boolean>;
18
+ error$: Observable<string | null>;
19
+ navigationHistory$: Observable<string[]>;
20
+ canGoBack$: Observable<boolean>;
21
+ currentUrl$: Observable<string | null>;
22
+ constructor(uiScreenService: UIScreenService, location: Location);
23
+ /**
24
+ * Atualiza o estado do botão de voltar com base no tamanho do histórico
25
+ */
26
+ private updateCanGoBack;
27
+ loadUIScreen(url: string, shouldUpdateHistory?: boolean, shouldUpdateBrowserUrl?: boolean): void;
28
+ private loadUIScreenInternal;
29
+ /**
30
+ * Volta para a tela anterior
31
+ */
32
+ goBack(): void;
33
+ /**
34
+ * Verifica se é possível voltar
35
+ */
36
+ canGoBack(): boolean;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<UIScreenViewModel, never>;
38
+ static ɵprov: i0.ɵɵInjectableDeclaration<UIScreenViewModel>;
39
+ }
40
+ //# sourceMappingURL=uiscreen.viewmodel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uiscreen.viewmodel.d.ts","sourceRoot":"","sources":["../../../../../../libs/sdui/src/lib/core/view-models/uiscreen.viewmodel.ts"],"names":[],"mappings":"AACA,OAAO,EAAyC,UAAU,EAAM,MAAM,MAAM,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;;AAI3C,eAAO,MAAM,cAAc,YAAY,CAAC;AAExC,qBAGa,iBAAiB;IAgB1B,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,QAAQ;IAhBlB,OAAO,CAAC,eAAe,CAA8C;IACrE,OAAO,CAAC,gBAAgB,CAAuC;IAC/D,OAAO,CAAC,YAAY,CAA4C;IAChE,OAAO,CAAC,wBAAwB,CAAqC;IACrE,OAAO,CAAC,gBAAgB,CAAuC;IAC/D,OAAO,CAAC,iBAAiB,CAA4C;IAE9D,SAAS,8BAAuC;IAChD,UAAU,sBAAwC;IAClD,MAAM,4BAAoC;IAC1C,kBAAkB,uBAAgD;IAClE,UAAU,sBAAwC;IAClD,WAAW,4BAAyC;gBAGjD,eAAe,EAAE,eAAe,EAChC,QAAQ,EAAE,QAAQ;IAK5B;;OAEG;IACH,OAAO,CAAC,eAAe;IASvB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,mBAAmB,GAAE,OAAc,EAAE,sBAAsB,GAAE,OAAe,GAAG,IAAI;IAgB7G,OAAO,CAAC,oBAAoB;IAyB5B;;OAEG;IACH,MAAM,IAAI,IAAI;IAgBd;;OAEG;IACH,SAAS,IAAI,OAAO;yCAjGT,iBAAiB;6CAAjB,iBAAiB;CAoG7B"}
@@ -0,0 +1,29 @@
1
+ import { ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
2
+ import { UIView } from '../core/uicomposition/models/uiview';
3
+ import { Router } from '@angular/router';
4
+ import { UIScreenViewModel } from '../core/view-models/uiscreen.viewmodel';
5
+ import { UIActionService } from '../core/services/ui-action.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class UIViewDirective implements OnChanges {
8
+ private elementRef;
9
+ private renderer;
10
+ private router;
11
+ private actionService;
12
+ private screenViewModel;
13
+ edmSduiView?: UIView;
14
+ disableClick: boolean;
15
+ constructor(elementRef: ElementRef, renderer: Renderer2, router: Router, actionService: UIActionService, screenViewModel: UIScreenViewModel);
16
+ ngOnChanges(changes: SimpleChanges): void;
17
+ private applyStyles;
18
+ private applyPadding;
19
+ private applyBackground;
20
+ private applyAction;
21
+ private applyAlignment;
22
+ private applyShadow;
23
+ private applyRadius;
24
+ private applySpacing;
25
+ onClick(event: Event): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<UIViewDirective, [null, null, null, null, { optional: true; }]>;
27
+ static ɵdir: i0.ɵɵDirectiveDeclaration<UIViewDirective, "[edmSduiView]", never, { "edmSduiView": { "alias": "edmSduiView"; "required": false; }; "disableClick": { "alias": "disableClick"; "required": false; }; }, {}, never, never, false, never>;
28
+ }
29
+ //# sourceMappingURL=uiview.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uiview.directive.d.ts","sourceRoot":"","sources":["../../../../../libs/sdui/src/lib/directives/uiview.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAIV,SAAS,EAET,SAAS,EACT,aAAa,EACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAa7D,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;;AAErE,qBAIa,eAAgB,YAAW,SAAS;IAK7C,OAAO,CAAC,UAAU;IAClB,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,aAAa;IACT,OAAO,CAAC,eAAe;IAR5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,OAAO,CAAS;gBAG7B,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,SAAS,EACnB,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,eAAe,EAClB,eAAe,EAAE,iBAAiB;IAGxD,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAMzC,OAAO,CAAC,WAAW;IA8BnB,OAAO,CAAC,YAAY;IAmCpB,OAAO,CAAC,eAAe;IAWvB,OAAO,CAAC,WAAW;IAQnB,OAAO,CAAC,cAAc;IAYtB,OAAO,CAAC,WAAW;IAEnB,OAAO,CAAC,WAAW;IAsCnB,OAAO,CAAC,YAAY;IAYpB,OAAO,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;yCAtKhB,eAAe;2CAAf,eAAe;CA8K3B"}
@@ -0,0 +1,10 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/router";
4
+ export declare class SduiRoutingModule {
5
+ static forChild(customPath?: string): ModuleWithProviders<SduiRoutingModule>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<SduiRoutingModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SduiRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<SduiRoutingModule>;
9
+ }
10
+ //# sourceMappingURL=sdui-routing.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdui-routing.module.d.ts","sourceRoot":"","sources":["../../../../libs/sdui/src/lib/sdui-routing.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,mBAAmB,EAAE,MAAM,eAAe,CAAC;;;AAM9D,qBAIa,iBAAiB;IAC5B,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,mBAAmB,CAAC,iBAAiB,CAAC;yCADjE,iBAAiB;0CAAjB,iBAAiB;0CAAjB,iBAAiB;CAW7B"}
@@ -0,0 +1,17 @@
1
+ import { OnInit, AfterViewInit } from '@angular/core';
2
+ import { ActivatedRoute } from '@angular/router';
3
+ import { UIScreenViewModel } from './core/view-models/uiscreen.viewmodel';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SduiComponent implements OnInit, AfterViewInit {
6
+ private route;
7
+ private viewModel;
8
+ currentSduiUrl: string | null;
9
+ initialUrl: string | null;
10
+ constructor(route: ActivatedRoute, viewModel: UIScreenViewModel);
11
+ ngOnInit(): void;
12
+ ngAfterViewInit(): void;
13
+ private validateParam;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<SduiComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<SduiComponent, "edm-sdui", never, { "initialUrl": { "alias": "initialUrl"; "required": false; }; }, {}, never, never, false, never>;
16
+ }
17
+ //# sourceMappingURL=sdui.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdui.component.d.ts","sourceRoot":"","sources":["../../../../libs/sdui/src/lib/sdui.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EAIN,aAAa,EACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EACL,iBAAiB,EAElB,MAAM,uCAAuC,CAAC;;AAG/C,qBAMa,aAAc,YAAW,MAAM,EAAE,aAAa;IAMvD,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,SAAS;IANnB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAQ;IAE5B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAQ;gBAGhC,KAAK,EAAE,cAAc,EACrB,SAAS,EAAE,iBAAiB;IAGtC,QAAQ;IAgBR,eAAe,IAAI,IAAI;IAcvB,OAAO,CAAC,aAAa;yCAxCV,aAAa;2CAAb,aAAa;CA2CzB"}
@@ -0,0 +1,35 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { SduiRoutingModule } from './sdui-routing.module';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "./components/uiscreen/uiscreen.component";
5
+ import * as i2 from "./components/uilayout/uinavigation/uinavigation.component";
6
+ import * as i3 from "./components/uilayout/single-column-layout/single-column-layout.component";
7
+ import * as i4 from "./components/uilayout/centered-content-layout/centered-content-layout.component";
8
+ import * as i5 from "./components/uicomponent/uicomponent.component";
9
+ import * as i6 from "./components/uicomponent/row/row.component";
10
+ import * as i7 from "./components/uicomponent/row-divisor/row-divisor.component";
11
+ import * as i8 from "./components/uicomponent/column/column.component";
12
+ import * as i9 from "./components/uicomponent/zstack/zstack.component";
13
+ import * as i10 from "./components/uicomponent/label/label.component";
14
+ import * as i11 from "./components/uicomponent/space/space.component";
15
+ import * as i12 from "./components/uicomponent/button/button.component";
16
+ import * as i13 from "./components/uicomponent/image/image.component";
17
+ import * as i14 from "./components/uicomponent/tag/tag.component";
18
+ import * as i15 from "./components/uicomponent/search-bar/search-bar.component";
19
+ import * as i16 from "./directives/uiview.directive";
20
+ import * as i17 from "./components/navigation-controls/navigation-controls.component";
21
+ import * as i18 from "./sdui.component";
22
+ import * as i19 from "@angular/common";
23
+ import * as i20 from "@angular/router";
24
+ export interface SduiModuleConfig {
25
+ baseUrl: string;
26
+ routePath?: string;
27
+ }
28
+ export declare class SduiModule {
29
+ static forRoot(config: SduiModuleConfig): ModuleWithProviders<SduiModule>;
30
+ static forRouting(config?: SduiModuleConfig): ModuleWithProviders<SduiRoutingModule>;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<SduiModule, never>;
32
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SduiModule, [typeof i1.UIScreenComponent, typeof i2.UINavigationComponent, typeof i3.SingleColumnLayoutComponent, typeof i4.CenteredContentLayoutComponent, typeof i5.UIComponentComponent, typeof i6.RowComponent, typeof i7.RowDivisorComponent, typeof i8.ColumnComponent, typeof i9.ZStackComponent, typeof i10.LabelComponent, typeof i11.SpaceComponent, typeof i12.ButtonComponent, typeof i13.ImageComponent, typeof i14.TagComponent, typeof i15.SearchBarComponent, typeof i16.UIViewDirective, typeof i17.NavigationControlsComponent, typeof i18.SduiComponent], [typeof i19.CommonModule, typeof i20.RouterModule], [typeof i18.SduiComponent]>;
33
+ static ɵinj: i0.ɵɵInjectorDeclaration<SduiModule>;
34
+ }
35
+ //# sourceMappingURL=sdui.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdui.module.d.ts","sourceRoot":"","sources":["../../../../libs/sdui/src/lib/sdui.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAmB9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;;;;;;;;;;;;;;;;;;;;;;AAK1D,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAoCa,UAAU;IACrB,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,gBAAgB,GAAG,mBAAmB,CAAC,UAAU,CAAC;IAYzE,MAAM,CAAC,UAAU,CACf,MAAM,CAAC,EAAE,gBAAgB,GACxB,mBAAmB,CAAC,iBAAiB,CAAC;yCAf9B,UAAU;0CAAV,UAAU;0CAAV,UAAU;CAkBtB"}
package/package.json CHANGED
@@ -1,25 +1,29 @@
1
1
  {
2
2
  "name": "@edm-sdui/sdui",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "ngPackage": {
9
- "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
10
- "dest": "../../dist/libs/sdui",
11
- "lib": {
12
- "entryFile": "src/public-api.ts"
13
- }
14
- },
15
- "scripts": {
16
- "build": "ng-packagr -p ng-package.json"
17
- },
18
8
  "peerDependencies": {
19
- "@angular/core": "^18.2.9",
20
- "@angular/common": "^18.2.9"
9
+ "@angular/core": "^18.0.0",
10
+ "@angular/common": "^18.0.0"
11
+ },
12
+ "module": "fesm2022/edm-sdui-sdui.mjs",
13
+ "typings": "index.d.ts",
14
+ "exports": {
15
+ "./package.json": {
16
+ "default": "./package.json"
17
+ },
18
+ ".": {
19
+ "types": "./index.d.ts",
20
+ "esm2022": "./esm2022/edm-sdui-sdui.mjs",
21
+ "esm": "./esm2022/edm-sdui-sdui.mjs",
22
+ "default": "./fesm2022/edm-sdui-sdui.mjs"
23
+ }
21
24
  },
22
- "devDependencies": {
23
- "ng-packagr": "^18.2.9"
25
+ "sideEffects": false,
26
+ "dependencies": {
27
+ "tslib": "^2.3.0"
24
28
  }
25
- }
29
+ }
@@ -0,0 +1,5 @@
1
+ export { SduiModule } from './lib/sdui.module';
2
+ export { SduiComponent } from './lib/sdui.component';
3
+ export { SDUI_URL_PARAM } from './lib/core/view-models/uiscreen.viewmodel';
4
+ export { SduiModuleConfig } from './lib/sdui.module';
5
+ //# sourceMappingURL=public-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../libs/sdui/src/public-api.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGrD,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC"}
package/ng-package.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
- "dest": "../../dist/libs/sdui",
4
- "deleteDestPath": true,
5
- "lib": {
6
- "entryFile": "src/public-api.ts"
7
- },
8
- "allowedNonPeerDependencies": ["tslib"]
9
- }
package/src/index.ts DELETED
@@ -1 +0,0 @@
1
- export * from './public-api';
@@ -1,9 +0,0 @@
1
- <div class="navigation-controls">
2
- <button
3
- class="back-button"
4
- [disabled]="!(viewModel.canGoBack$ | async)"
5
- (click)="goBack()"
6
- >
7
- <span class="material-icons">arrow_back</span>
8
- </button>
9
- </div>
@@ -1,35 +0,0 @@
1
- :host {
2
- display: contents;
3
- }
4
-
5
- .navigation-controls {
6
- display: flex;
7
- gap: 8px;
8
- //margin: 8px;
9
-
10
- button {
11
- display: flex;
12
- align-items: center;
13
- justify-content: center;
14
- padding: 8px;
15
- border-radius: 4px;
16
- border: 1px solid #e0e0e0;
17
- background-color: #f5f5f5;
18
- cursor: pointer;
19
- transition: all 0.2s ease;
20
-
21
- &:hover:not(:disabled) {
22
- background-color: #e8e8e8;
23
- }
24
-
25
- &:disabled {
26
- opacity: 0.5;
27
- cursor: not-allowed;
28
- }
29
-
30
- .material-icons {
31
- font-size: 18px;
32
- color: #444;
33
- }
34
- }
35
- }
@@ -1,27 +0,0 @@
1
- import { Component, OnInit } from '@angular/core';
2
- import { UIScreenViewModel } from '../../core/view-models/uiscreen.viewmodel';
3
-
4
- @Component({
5
- selector: 'edm-sdui-navigation-controls',
6
- templateUrl: './navigation-controls.component.html',
7
- styleUrls: ['./navigation-controls.component.scss'],
8
- standalone: false,
9
- })
10
- export class NavigationControlsComponent implements OnInit {
11
- constructor(public viewModel: UIScreenViewModel) {}
12
-
13
- ngOnInit(): void {
14
- // Monitorar o estado do botão de voltar para debugging
15
- this.viewModel.canGoBack$.subscribe((canGoBack) => {
16
- console.debug(
17
- '[NavigationControls] Estado do botão de voltar:',
18
- canGoBack
19
- );
20
- });
21
- }
22
-
23
- goBack(): void {
24
- console.debug('[NavigationControls] Botão de voltar clicado');
25
- this.viewModel.goBack();
26
- }
27
- }
@@ -1,4 +0,0 @@
1
- <button #buttonElement [edmSduiView]="uiComponent.element" *ngIf="uiComponent">
2
- <img *ngIf="uiComponent.element.asset" [src]="getAssetPath(uiComponent.element.asset)" alt="">
3
- {{ uiComponent.element.label }}
4
- </button>
@@ -1,11 +0,0 @@
1
- :host {
2
- display: contents;
3
- }
4
-
5
- button {
6
- border: none;
7
- white-space: nowrap;
8
- line-height: 1.5;
9
- // transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
10
- background-color: unset;
11
- }
@@ -1,64 +0,0 @@
1
- import {
2
- AfterViewInit,
3
- Component,
4
- ElementRef,
5
- Inject,
6
- OnInit,
7
- Renderer2,
8
- ViewChild,
9
- } from '@angular/core';
10
- import { UIComponent } from '../../../core/uicomposition/models/uicomponent';
11
- import { UIElement } from '../../../core/uicomposition/models/uielement';
12
- import { colorMapping } from '../../../core/uitheme/mapping/color-mapping';
13
- import { textStyleMappingFontSize } from '../../../core/uitheme/mapping/text-style-mapping';
14
- import { assetMapping } from '../../../core/uitheme/mapping/asset-mapping';
15
- import { UIAsset } from '../../../core/uitheme/enums/uiasset';
16
-
17
- @Component({
18
- selector: 'edm-sdui-button',
19
- templateUrl: './button.component.html',
20
- styleUrl: './button.component.scss',
21
- standalone: false,
22
- })
23
- export class ButtonComponent implements OnInit, AfterViewInit {
24
- @ViewChild('buttonElement') buttonElementRef!: ElementRef<HTMLButtonElement>;
25
-
26
- constructor(
27
- @Inject('uiComponent') public uiComponent: UIComponent,
28
- private renderer: Renderer2
29
- ) {}
30
-
31
- ngOnInit(): void {
32
- // console.debug('button.uiComponent: ', this.uiComponent);
33
- }
34
-
35
- ngAfterViewInit(): void {
36
- if (this.uiComponent.element) {
37
- this.applyElement(this.uiComponent.element);
38
- }
39
- }
40
-
41
- private applyElement(element: UIElement) {
42
- if (element.textColor) {
43
- const color = colorMapping[element.textColor];
44
- this.renderer.setStyle(
45
- this.buttonElementRef.nativeElement,
46
- 'color',
47
- color
48
- );
49
- }
50
-
51
- if (element.textStyle) {
52
- const fontSize = textStyleMappingFontSize[element.textStyle];
53
- this.renderer.setStyle(
54
- this.buttonElementRef.nativeElement,
55
- 'font-size',
56
- fontSize
57
- );
58
- }
59
- }
60
-
61
- getAssetPath(asset: UIAsset) {
62
- return './assets/' +assetMapping[asset];
63
- }
64
- }
@@ -1,7 +0,0 @@
1
- <div class="column" *ngIf="uiComponent" [edmSduiView]="uiComponent.element">
2
- <edm-sdui-component
3
- *ngFor="let child of uiComponent.components"
4
- [uiComponent]="child"
5
- >
6
- </edm-sdui-component>
7
- </div>
@@ -1,9 +0,0 @@
1
- :host {
2
- display: contents;
3
- }
4
-
5
- .column {
6
- display: flex;
7
- flex-direction: column;
8
- width: 100%;
9
- }
@@ -1,16 +0,0 @@
1
- import { Component, Inject, OnInit } from '@angular/core';
2
- import { UIComponent } from '../../../core/uicomposition/models/uicomponent';
3
-
4
- @Component({
5
- selector: 'edm-sdui-column',
6
- templateUrl: './column.component.html',
7
- styleUrl: './column.component.scss',
8
- standalone: false,
9
- })
10
- export class ColumnComponent implements OnInit {
11
- constructor(@Inject('uiComponent') public uiComponent: UIComponent) {}
12
-
13
- ngOnInit(): void {
14
- // console.debug('column.uiComponent: ', this.uiComponent);
15
- }
16
- }
@@ -1 +0,0 @@
1
- <img #imgElement [edmSduiView]="uiComponent.element" *ngIf="uiComponent" />
@@ -1,3 +0,0 @@
1
- :host {
2
- display: contents;
3
- }