@carbon-labs/wc-global-header 0.10.0 → 0.12.0

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 (263) hide show
  1. package/es/wc-global-header.css +8 -0
  2. package/es/wc-global-header.mjs +7184 -0
  3. package/package.json +7 -6
  4. package/es/_virtual/_commonjsHelpers.js +0 -6
  5. package/es/_virtual/_commonjsHelpers.js.map +0 -1
  6. package/es/_virtual/index.js +0 -8
  7. package/es/_virtual/index.js.map +0 -1
  8. package/es/_virtual/index2.js +0 -4
  9. package/es/_virtual/index2.js.map +0 -1
  10. package/es/components/global-header/global-header.d.ts +0 -19
  11. package/es/components/global-header/global-header.js +0 -27
  12. package/es/components/global-header/global-header.js.map +0 -1
  13. package/es/components/global-header/src/components/AuthContext/AuthContext.d.ts +0 -26
  14. package/es/components/global-header/src/components/AuthContext/AuthContext.js +0 -238
  15. package/es/components/global-header/src/components/AuthContext/AuthContext.js.map +0 -1
  16. package/es/components/global-header/src/components/AuthContext/AuthContext.types.d.ts +0 -17
  17. package/es/components/global-header/src/components/AuthContext/__stories__/AuthContext.stories.d.ts +0 -12
  18. package/es/components/global-header/src/components/AuthContext/__tests__/AuthContext.test.d.ts +0 -9
  19. package/es/components/global-header/src/components/AuthContext/_index.scss.js +0 -6
  20. package/es/components/global-header/src/components/AuthContext/_index.scss.js.map +0 -1
  21. package/es/components/global-header/src/components/CommonHeader/CommonHeader.d.ts +0 -36
  22. package/es/components/global-header/src/components/CommonHeader/CommonHeader.js +0 -247
  23. package/es/components/global-header/src/components/CommonHeader/CommonHeader.js.map +0 -1
  24. package/es/components/global-header/src/components/CommonHeader/WideSideNav.d.ts +0 -15
  25. package/es/components/global-header/src/components/CommonHeader/WideSideNav.js +0 -32
  26. package/es/components/global-header/src/components/CommonHeader/WideSideNav.js.map +0 -1
  27. package/es/components/global-header/src/components/CommonHeader/__stories__/CommonHeader.stories.d.ts +0 -20
  28. package/es/components/global-header/src/components/CommonHeader/__stories__/SideNav.stories.d.ts +0 -16
  29. package/es/components/global-header/src/components/CommonHeader/__tests__/CommonHeader.test.d.ts +0 -9
  30. package/es/components/global-header/src/components/CommonHeader/__tests__/WideSideNav.test.d.ts +0 -9
  31. package/es/components/global-header/src/components/CommonHeader/_index.scss.js +0 -6
  32. package/es/components/global-header/src/components/CommonHeader/_index.scss.js.map +0 -1
  33. package/es/components/global-header/src/components/HeaderContext/HeaderContext.d.ts +0 -43
  34. package/es/components/global-header/src/components/HeaderContext/HeaderContext.js +0 -311
  35. package/es/components/global-header/src/components/HeaderContext/HeaderContext.js.map +0 -1
  36. package/es/components/global-header/src/components/HeaderContext/HeaderContext.types.d.ts +0 -46
  37. package/es/components/global-header/src/components/HeaderContext/__tests__/HeaderContext.test.d.ts +0 -9
  38. package/es/components/global-header/src/components/HeaderContext/_index.scss.js +0 -6
  39. package/es/components/global-header/src/components/HeaderContext/_index.scss.js.map +0 -1
  40. package/es/components/global-header/src/components/HybridIpaasHeader/HybridIpaasHeader.d.ts +0 -42
  41. package/es/components/global-header/src/components/HybridIpaasHeader/HybridIpaasHeader.js +0 -238
  42. package/es/components/global-header/src/components/HybridIpaasHeader/HybridIpaasHeader.js.map +0 -1
  43. package/es/components/global-header/src/components/HybridIpaasHeader/__stories__/HybridIPaasHeader.stories.d.ts +0 -20
  44. package/es/components/global-header/src/components/HybridIpaasHeader/__tests__/HybridIpaasHeader.test.d.ts +0 -10
  45. package/es/components/global-header/src/components/LogoutHeader/LogoutHeader.d.ts +0 -17
  46. package/es/components/global-header/src/components/LogoutHeader/LogoutHeader.js +0 -58
  47. package/es/components/global-header/src/components/LogoutHeader/LogoutHeader.js.map +0 -1
  48. package/es/components/global-header/src/components/LogoutHeader/__stories__/LogoutHeader.stories.d.ts +0 -15
  49. package/es/components/global-header/src/components/LogoutHeader/__tests__/LogoutHeader.test.d.ts +0 -9
  50. package/es/components/global-header/src/components/LogoutHeader/_index.scss.js +0 -6
  51. package/es/components/global-header/src/components/LogoutHeader/_index.scss.js.map +0 -1
  52. package/es/components/global-header/src/components/LogoutTile/LogoutTile.d.ts +0 -24
  53. package/es/components/global-header/src/components/LogoutTile/LogoutTile.js +0 -72
  54. package/es/components/global-header/src/components/LogoutTile/LogoutTile.js.map +0 -1
  55. package/es/components/global-header/src/components/LogoutTile/__stories__/LogoutTile.stories.d.ts +0 -14
  56. package/es/components/global-header/src/components/LogoutTile/__tests__/LogoutTile.test.d.ts +0 -9
  57. package/es/components/global-header/src/components/LogoutTile/_index.scss.js +0 -6
  58. package/es/components/global-header/src/components/LogoutTile/_index.scss.js.map +0 -1
  59. package/es/components/global-header/src/components/ProfilePopover/ProfilePopover.d.ts +0 -22
  60. package/es/components/global-header/src/components/ProfilePopover/ProfilePopover.js +0 -100
  61. package/es/components/global-header/src/components/ProfilePopover/ProfilePopover.js.map +0 -1
  62. package/es/components/global-header/src/components/ProfilePopover/__tests__/ProfilePopover.test.d.ts +0 -9
  63. package/es/components/global-header/src/components/ProfilePopover/_index.scss.js +0 -6
  64. package/es/components/global-header/src/components/ProfilePopover/_index.scss.js.map +0 -1
  65. package/es/components/global-header/src/components/Search/Search.d.ts +0 -25
  66. package/es/components/global-header/src/components/Search/Search.js +0 -72
  67. package/es/components/global-header/src/components/Search/Search.js.map +0 -1
  68. package/es/components/global-header/src/components/Search/__tests__/Search.test.d.ts +0 -9
  69. package/es/components/global-header/src/components/Search/_index.scss.js +0 -6
  70. package/es/components/global-header/src/components/Search/_index.scss.js.map +0 -1
  71. package/es/components/global-header/src/components/SideNavItem/SideNavItem.d.ts +0 -31
  72. package/es/components/global-header/src/components/SideNavItem/SideNavItem.js +0 -214
  73. package/es/components/global-header/src/components/SideNavItem/SideNavItem.js.map +0 -1
  74. package/es/components/global-header/src/components/SideNavItem/SideNavItem.scss.js +0 -6
  75. package/es/components/global-header/src/components/SideNavItem/SideNavItem.scss.js.map +0 -1
  76. package/es/components/global-header/src/components/SideNavItem/__tests__/SideNavItem.test.d.ts +0 -9
  77. package/es/components/global-header/src/components/Switcher/Switcher.d.ts +0 -29
  78. package/es/components/global-header/src/components/Switcher/Switcher.js +0 -188
  79. package/es/components/global-header/src/components/Switcher/Switcher.js.map +0 -1
  80. package/es/components/global-header/src/components/Switcher/Switcher.types.d.ts +0 -11
  81. package/es/components/global-header/src/components/Switcher/__tests__/Switcher.test.d.ts +0 -9
  82. package/es/components/global-header/src/components/Switcher/_index.scss.js +0 -6
  83. package/es/components/global-header/src/components/Switcher/_index.scss.js.map +0 -1
  84. package/es/components/global-header/src/components/TrialContent/TrialContent.d.ts +0 -11
  85. package/es/components/global-header/src/components/TrialContent/TrialContent.js +0 -74
  86. package/es/components/global-header/src/components/TrialContent/TrialContent.js.map +0 -1
  87. package/es/components/global-header/src/components/TrialContent/TrialContent.types.d.ts +0 -12
  88. package/es/components/global-header/src/components/TrialContent/__stories__/TrialContent.stories.d.ts +0 -14
  89. package/es/components/global-header/src/components/TrialPopover/TrialPopover.d.ts +0 -23
  90. package/es/components/global-header/src/components/TrialPopover/TrialPopover.js +0 -79
  91. package/es/components/global-header/src/components/TrialPopover/TrialPopover.js.map +0 -1
  92. package/es/components/global-header/src/components/TrialPopover/__tests__/TrialPopover.test.d.ts +0 -9
  93. package/es/components/global-header/src/components/TrialPopover/_index.scss.js +0 -6
  94. package/es/components/global-header/src/components/TrialPopover/_index.scss.js.map +0 -1
  95. package/es/components/global-header/src/components/UnauthenticatedContext/UnauthenticatedContext.d.ts +0 -19
  96. package/es/components/global-header/src/components/UnauthenticatedContext/UnauthenticatedContext.js +0 -63
  97. package/es/components/global-header/src/components/UnauthenticatedContext/UnauthenticatedContext.js.map +0 -1
  98. package/es/components/global-header/src/components/UnauthenticatedContext/UnauthenticatedContext.stories.d.ts +0 -15
  99. package/es/components/global-header/src/components/UnauthenticatedContext/__tests__/UnauthenticatedContext.test.d.ts +0 -9
  100. package/es/components/global-header/src/components/UserProfileImage/UserProfileImage.d.ts +0 -31
  101. package/es/components/global-header/src/components/UserProfileImage/UserProfileImage.js +0 -104
  102. package/es/components/global-header/src/components/UserProfileImage/UserProfileImage.js.map +0 -1
  103. package/es/components/global-header/src/components/UserProfileImage/UserProfileImage.scss.js +0 -6
  104. package/es/components/global-header/src/components/UserProfileImage/UserProfileImage.scss.js.map +0 -1
  105. package/es/components/global-header/src/components/UserProfileImage/UserProfileImage.types.d.ts +0 -21
  106. package/es/components/global-header/src/components/UserProfileImage/__tests__/UserProfileImage.test.d.ts +0 -9
  107. package/es/components/global-header/src/components/_index.scss.js +0 -6
  108. package/es/components/global-header/src/components/_index.scss.js.map +0 -1
  109. package/es/components/global-header/src/constant.d.ts +0 -53
  110. package/es/components/global-header/src/constant.js +0 -66
  111. package/es/components/global-header/src/constant.js.map +0 -1
  112. package/es/components/global-header/src/global-header.template.d.ts +0 -16
  113. package/es/components/global-header/src/global-header.template.js +0 -20
  114. package/es/components/global-header/src/global-header.template.js.map +0 -1
  115. package/es/components/global-header/src/globals/__tests__/useScript.test.d.ts +0 -9
  116. package/es/components/global-header/src/globals/__tests__/utils.test.d.ts +0 -9
  117. package/es/components/global-header/src/globals/useScript.d.ts +0 -10
  118. package/es/components/global-header/src/globals/useScript.js +0 -47
  119. package/es/components/global-header/src/globals/useScript.js.map +0 -1
  120. package/es/components/global-header/src/globals/utils.d.ts +0 -22
  121. package/es/components/global-header/src/globals/utils.js +0 -89
  122. package/es/components/global-header/src/globals/utils.js.map +0 -1
  123. package/es/components/global-header/src/index.d.ts +0 -12
  124. package/es/components/global-header/src/index.scss.js +0 -6
  125. package/es/components/global-header/src/index.scss.js.map +0 -1
  126. package/es/components/global-header/src/types/Header.types.d.ts +0 -267
  127. package/es/components/global-header/src/types/Header.types.js +0 -22
  128. package/es/components/global-header/src/types/Header.types.js.map +0 -1
  129. package/es/index.d.ts +0 -9
  130. package/es/index.js +0 -6
  131. package/es/index.js.map +0 -1
  132. package/es/node_modules/classnames/index.js +0 -86
  133. package/es/node_modules/classnames/index.js.map +0 -1
  134. package/lib/_virtual/_commonjsHelpers.js +0 -8
  135. package/lib/_virtual/_commonjsHelpers.js.map +0 -1
  136. package/lib/_virtual/index.js +0 -12
  137. package/lib/_virtual/index.js.map +0 -1
  138. package/lib/_virtual/index2.js +0 -6
  139. package/lib/_virtual/index2.js.map +0 -1
  140. package/lib/components/global-header/global-header.d.ts +0 -19
  141. package/lib/components/global-header/global-header.js +0 -46
  142. package/lib/components/global-header/global-header.js.map +0 -1
  143. package/lib/components/global-header/src/components/AuthContext/AuthContext.d.ts +0 -26
  144. package/lib/components/global-header/src/components/AuthContext/AuthContext.js +0 -238
  145. package/lib/components/global-header/src/components/AuthContext/AuthContext.js.map +0 -1
  146. package/lib/components/global-header/src/components/AuthContext/AuthContext.types.d.ts +0 -17
  147. package/lib/components/global-header/src/components/AuthContext/__stories__/AuthContext.stories.d.ts +0 -12
  148. package/lib/components/global-header/src/components/AuthContext/__tests__/AuthContext.test.d.ts +0 -9
  149. package/lib/components/global-header/src/components/AuthContext/_index.scss.js +0 -10
  150. package/lib/components/global-header/src/components/AuthContext/_index.scss.js.map +0 -1
  151. package/lib/components/global-header/src/components/CommonHeader/CommonHeader.d.ts +0 -36
  152. package/lib/components/global-header/src/components/CommonHeader/CommonHeader.js +0 -247
  153. package/lib/components/global-header/src/components/CommonHeader/CommonHeader.js.map +0 -1
  154. package/lib/components/global-header/src/components/CommonHeader/WideSideNav.d.ts +0 -15
  155. package/lib/components/global-header/src/components/CommonHeader/WideSideNav.js +0 -32
  156. package/lib/components/global-header/src/components/CommonHeader/WideSideNav.js.map +0 -1
  157. package/lib/components/global-header/src/components/CommonHeader/__stories__/CommonHeader.stories.d.ts +0 -20
  158. package/lib/components/global-header/src/components/CommonHeader/__stories__/SideNav.stories.d.ts +0 -16
  159. package/lib/components/global-header/src/components/CommonHeader/__tests__/CommonHeader.test.d.ts +0 -9
  160. package/lib/components/global-header/src/components/CommonHeader/__tests__/WideSideNav.test.d.ts +0 -9
  161. package/lib/components/global-header/src/components/CommonHeader/_index.scss.js +0 -10
  162. package/lib/components/global-header/src/components/CommonHeader/_index.scss.js.map +0 -1
  163. package/lib/components/global-header/src/components/HeaderContext/HeaderContext.d.ts +0 -43
  164. package/lib/components/global-header/src/components/HeaderContext/HeaderContext.js +0 -311
  165. package/lib/components/global-header/src/components/HeaderContext/HeaderContext.js.map +0 -1
  166. package/lib/components/global-header/src/components/HeaderContext/HeaderContext.types.d.ts +0 -46
  167. package/lib/components/global-header/src/components/HeaderContext/__tests__/HeaderContext.test.d.ts +0 -9
  168. package/lib/components/global-header/src/components/HeaderContext/_index.scss.js +0 -10
  169. package/lib/components/global-header/src/components/HeaderContext/_index.scss.js.map +0 -1
  170. package/lib/components/global-header/src/components/HybridIpaasHeader/HybridIpaasHeader.d.ts +0 -42
  171. package/lib/components/global-header/src/components/HybridIpaasHeader/HybridIpaasHeader.js +0 -238
  172. package/lib/components/global-header/src/components/HybridIpaasHeader/HybridIpaasHeader.js.map +0 -1
  173. package/lib/components/global-header/src/components/HybridIpaasHeader/__stories__/HybridIPaasHeader.stories.d.ts +0 -20
  174. package/lib/components/global-header/src/components/HybridIpaasHeader/__tests__/HybridIpaasHeader.test.d.ts +0 -10
  175. package/lib/components/global-header/src/components/LogoutHeader/LogoutHeader.d.ts +0 -17
  176. package/lib/components/global-header/src/components/LogoutHeader/LogoutHeader.js +0 -58
  177. package/lib/components/global-header/src/components/LogoutHeader/LogoutHeader.js.map +0 -1
  178. package/lib/components/global-header/src/components/LogoutHeader/__stories__/LogoutHeader.stories.d.ts +0 -15
  179. package/lib/components/global-header/src/components/LogoutHeader/__tests__/LogoutHeader.test.d.ts +0 -9
  180. package/lib/components/global-header/src/components/LogoutHeader/_index.scss.js +0 -10
  181. package/lib/components/global-header/src/components/LogoutHeader/_index.scss.js.map +0 -1
  182. package/lib/components/global-header/src/components/LogoutTile/LogoutTile.d.ts +0 -24
  183. package/lib/components/global-header/src/components/LogoutTile/LogoutTile.js +0 -72
  184. package/lib/components/global-header/src/components/LogoutTile/LogoutTile.js.map +0 -1
  185. package/lib/components/global-header/src/components/LogoutTile/__stories__/LogoutTile.stories.d.ts +0 -14
  186. package/lib/components/global-header/src/components/LogoutTile/__tests__/LogoutTile.test.d.ts +0 -9
  187. package/lib/components/global-header/src/components/LogoutTile/_index.scss.js +0 -10
  188. package/lib/components/global-header/src/components/LogoutTile/_index.scss.js.map +0 -1
  189. package/lib/components/global-header/src/components/ProfilePopover/ProfilePopover.d.ts +0 -22
  190. package/lib/components/global-header/src/components/ProfilePopover/ProfilePopover.js +0 -100
  191. package/lib/components/global-header/src/components/ProfilePopover/ProfilePopover.js.map +0 -1
  192. package/lib/components/global-header/src/components/ProfilePopover/__tests__/ProfilePopover.test.d.ts +0 -9
  193. package/lib/components/global-header/src/components/ProfilePopover/_index.scss.js +0 -10
  194. package/lib/components/global-header/src/components/ProfilePopover/_index.scss.js.map +0 -1
  195. package/lib/components/global-header/src/components/Search/Search.d.ts +0 -25
  196. package/lib/components/global-header/src/components/Search/Search.js +0 -72
  197. package/lib/components/global-header/src/components/Search/Search.js.map +0 -1
  198. package/lib/components/global-header/src/components/Search/__tests__/Search.test.d.ts +0 -9
  199. package/lib/components/global-header/src/components/Search/_index.scss.js +0 -10
  200. package/lib/components/global-header/src/components/Search/_index.scss.js.map +0 -1
  201. package/lib/components/global-header/src/components/SideNavItem/SideNavItem.d.ts +0 -31
  202. package/lib/components/global-header/src/components/SideNavItem/SideNavItem.js +0 -214
  203. package/lib/components/global-header/src/components/SideNavItem/SideNavItem.js.map +0 -1
  204. package/lib/components/global-header/src/components/SideNavItem/SideNavItem.scss.js +0 -10
  205. package/lib/components/global-header/src/components/SideNavItem/SideNavItem.scss.js.map +0 -1
  206. package/lib/components/global-header/src/components/SideNavItem/__tests__/SideNavItem.test.d.ts +0 -9
  207. package/lib/components/global-header/src/components/Switcher/Switcher.d.ts +0 -29
  208. package/lib/components/global-header/src/components/Switcher/Switcher.js +0 -188
  209. package/lib/components/global-header/src/components/Switcher/Switcher.js.map +0 -1
  210. package/lib/components/global-header/src/components/Switcher/Switcher.types.d.ts +0 -11
  211. package/lib/components/global-header/src/components/Switcher/__tests__/Switcher.test.d.ts +0 -9
  212. package/lib/components/global-header/src/components/Switcher/_index.scss.js +0 -10
  213. package/lib/components/global-header/src/components/Switcher/_index.scss.js.map +0 -1
  214. package/lib/components/global-header/src/components/TrialContent/TrialContent.d.ts +0 -11
  215. package/lib/components/global-header/src/components/TrialContent/TrialContent.js +0 -76
  216. package/lib/components/global-header/src/components/TrialContent/TrialContent.js.map +0 -1
  217. package/lib/components/global-header/src/components/TrialContent/TrialContent.types.d.ts +0 -12
  218. package/lib/components/global-header/src/components/TrialContent/__stories__/TrialContent.stories.d.ts +0 -14
  219. package/lib/components/global-header/src/components/TrialPopover/TrialPopover.d.ts +0 -23
  220. package/lib/components/global-header/src/components/TrialPopover/TrialPopover.js +0 -79
  221. package/lib/components/global-header/src/components/TrialPopover/TrialPopover.js.map +0 -1
  222. package/lib/components/global-header/src/components/TrialPopover/__tests__/TrialPopover.test.d.ts +0 -9
  223. package/lib/components/global-header/src/components/TrialPopover/_index.scss.js +0 -10
  224. package/lib/components/global-header/src/components/TrialPopover/_index.scss.js.map +0 -1
  225. package/lib/components/global-header/src/components/UnauthenticatedContext/UnauthenticatedContext.d.ts +0 -19
  226. package/lib/components/global-header/src/components/UnauthenticatedContext/UnauthenticatedContext.js +0 -63
  227. package/lib/components/global-header/src/components/UnauthenticatedContext/UnauthenticatedContext.js.map +0 -1
  228. package/lib/components/global-header/src/components/UnauthenticatedContext/UnauthenticatedContext.stories.d.ts +0 -15
  229. package/lib/components/global-header/src/components/UnauthenticatedContext/__tests__/UnauthenticatedContext.test.d.ts +0 -9
  230. package/lib/components/global-header/src/components/UserProfileImage/UserProfileImage.d.ts +0 -31
  231. package/lib/components/global-header/src/components/UserProfileImage/UserProfileImage.js +0 -104
  232. package/lib/components/global-header/src/components/UserProfileImage/UserProfileImage.js.map +0 -1
  233. package/lib/components/global-header/src/components/UserProfileImage/UserProfileImage.scss.js +0 -10
  234. package/lib/components/global-header/src/components/UserProfileImage/UserProfileImage.scss.js.map +0 -1
  235. package/lib/components/global-header/src/components/UserProfileImage/UserProfileImage.types.d.ts +0 -21
  236. package/lib/components/global-header/src/components/UserProfileImage/__tests__/UserProfileImage.test.d.ts +0 -9
  237. package/lib/components/global-header/src/components/_index.scss.js +0 -10
  238. package/lib/components/global-header/src/components/_index.scss.js.map +0 -1
  239. package/lib/components/global-header/src/constant.d.ts +0 -53
  240. package/lib/components/global-header/src/constant.js +0 -82
  241. package/lib/components/global-header/src/constant.js.map +0 -1
  242. package/lib/components/global-header/src/global-header.template.d.ts +0 -16
  243. package/lib/components/global-header/src/global-header.template.js +0 -24
  244. package/lib/components/global-header/src/global-header.template.js.map +0 -1
  245. package/lib/components/global-header/src/globals/__tests__/useScript.test.d.ts +0 -9
  246. package/lib/components/global-header/src/globals/__tests__/utils.test.d.ts +0 -9
  247. package/lib/components/global-header/src/globals/useScript.d.ts +0 -10
  248. package/lib/components/global-header/src/globals/useScript.js +0 -51
  249. package/lib/components/global-header/src/globals/useScript.js.map +0 -1
  250. package/lib/components/global-header/src/globals/utils.d.ts +0 -22
  251. package/lib/components/global-header/src/globals/utils.js +0 -96
  252. package/lib/components/global-header/src/globals/utils.js.map +0 -1
  253. package/lib/components/global-header/src/index.d.ts +0 -12
  254. package/lib/components/global-header/src/index.scss.js +0 -10
  255. package/lib/components/global-header/src/index.scss.js.map +0 -1
  256. package/lib/components/global-header/src/types/Header.types.d.ts +0 -267
  257. package/lib/components/global-header/src/types/Header.types.js +0 -22
  258. package/lib/components/global-header/src/types/Header.types.js.map +0 -1
  259. package/lib/index.d.ts +0 -9
  260. package/lib/index.js +0 -27
  261. package/lib/index.js.map +0 -1
  262. package/lib/node_modules/classnames/index.js +0 -88
  263. package/lib/node_modules/classnames/index.js.map +0 -1
@@ -1,238 +0,0 @@
1
- 'use strict';
2
-
3
- var tslib = require('tslib');
4
- var lit = require('lit');
5
- var decorators_js = require('lit/decorators.js');
6
- var index_js = require('@carbon-labs/utilities/es/settings/index.js');
7
- var constant = require('../../constant.js');
8
- require('../CommonHeader/CommonHeader.js');
9
- var index = require('../../index.scss.js');
10
-
11
- /**
12
- * @license
13
- *
14
- * Copyright IBM Corp. 2025
15
- *
16
- * This source code is licensed under the Apache-2.0 license found in the
17
- * LICENSE file in the root directory of this source tree.
18
- */
19
- /* eslint jsdoc/require-jsdoc: 0 */
20
- const { stablePrefix: clabsPrefix } = index_js.settings;
21
- /**
22
- * Wrapper component that obtains header options from a backend route
23
- */
24
- exports.HybridIpaasHeader = class HybridIpaasHeader extends lit.LitElement {
25
- constructor() {
26
- super(...arguments);
27
- this.productName = null;
28
- this.productKey = '';
29
- this.fetchHeaders = {};
30
- this.basePath = '';
31
- this.displayName = '';
32
- this.userEmail = '';
33
- this.productVersion = null;
34
- this.assistMeKey = '';
35
- this.aiCallbackEvent = '';
36
- this.hasNewNotifications = false;
37
- this.searchConfigs = null;
38
- this.capabilityProfileFooterLinks = [];
39
- this.capabilityGlobalActions = [];
40
- this.headerOptions = { ...constant.INITIAL_AUTOMATION_HEADER_PROPS };
41
- }
42
- firstUpdated() {
43
- if (!this.productKey) {
44
- console.error('A product key is required for the environment switcher to function.');
45
- }
46
- this.initializeHeaderOptions();
47
- }
48
- async initializeHeaderOptions() {
49
- try {
50
- const serverOptions = await this.loadIpaasHeaderOptionsFromServer(this.fetchHeaders, this.basePath, this.productKey);
51
- this.headerOptions = this.buildHeaderOptions(serverOptions);
52
- }
53
- catch (error) {
54
- console.error('Failed to load header options:', error);
55
- }
56
- }
57
- async loadIpaasHeaderOptionsFromServer(headers, basePath, productKey) {
58
- headers = headers || {};
59
- headers['x-hybrid-ipaas-product-key'] = productKey;
60
- const fetchRoute = basePath
61
- ? basePath + '/hybrid-ipaas/v1/header/options'
62
- : '/hybrid-ipaas/v1/header/options';
63
- const response = await fetch(fetchRoute, {
64
- credentials: 'same-origin',
65
- headers,
66
- });
67
- if (!response.ok) {
68
- throw new Error(`Failed to fetch header options: ${response.statusText}`);
69
- }
70
- return response.json();
71
- }
72
- initLogoutLink() {
73
- const footerLink = {
74
- text: 'Logout',
75
- carbonIcon: 'Logout',
76
- arialLabel: 'Logout',
77
- };
78
- if (this.logoutCallback) {
79
- footerLink.onClickHandler = this.logoutCallback;
80
- }
81
- else {
82
- footerLink.href = `${this.basePath}/logout`;
83
- }
84
- return footerLink;
85
- }
86
- buildHeaderOptions(baseOptions) {
87
- var _a, _b, _c, _d, _e, _f, _g, _h;
88
- const overrideProfile = {
89
- email: this.userEmail,
90
- displayName: this.displayName,
91
- };
92
- const mainSectionItems = [];
93
- if (this.productName) {
94
- mainSectionItems.push({ label: 'Product', text: this.productName });
95
- }
96
- if (this.productVersion) {
97
- mainSectionItems.push({ label: 'Version', text: this.productVersion });
98
- }
99
- if (baseOptions.mainSectionItems &&
100
- baseOptions.mainSectionItems.length > 0) {
101
- baseOptions.mainSectionItems.forEach((item) => {
102
- mainSectionItems.push(item);
103
- });
104
- } // This is unlikely to be needed but keeping in case anything is passed back in mainSectionItems
105
- const overrideCapabilityName = {
106
- label: this.productName ? this.productName : '',
107
- };
108
- const logoutIndex = (_a = baseOptions.profileFooterLinks) === null || _a === void 0 ? void 0 : _a.findIndex((link) => link.text.toLowerCase() === 'logout');
109
- if (logoutIndex !== undefined && logoutIndex > -1) {
110
- (_b = baseOptions.profileFooterLinks) === null || _b === void 0 ? void 0 : _b.splice(logoutIndex, 1, this.initLogoutLink());
111
- }
112
- else {
113
- (_c = baseOptions.profileFooterLinks) === null || _c === void 0 ? void 0 : _c.push(this.initLogoutLink());
114
- } // override the 'logout' object if it comes from the service to avoid duplicate
115
- // The assumption is that input props take priority over values provided by the service
116
- const updatedOptions = {
117
- ...baseOptions,
118
- capabilityName: this.productName === null
119
- ? baseOptions.capabilityName
120
- : overrideCapabilityName,
121
- profile: this.userEmail === '' || this.displayName === ''
122
- ? baseOptions.profile
123
- : overrideProfile,
124
- mainSectionItems: mainSectionItems,
125
- };
126
- // Add assistMeConfigs if assistMeKey exists
127
- if (this.assistMeKey) {
128
- updatedOptions.assistMeConfigs = {
129
- productId: this.assistMeKey,
130
- };
131
- }
132
- if (this.notificationOpenCallback) {
133
- updatedOptions.notificationConfigs = {
134
- onClick: this.notificationOpenCallback,
135
- };
136
- }
137
- if (this.searchConfigs) {
138
- updatedOptions.searchConfigs = {
139
- placeholder: (_e = (_d = this.searchConfigs) === null || _d === void 0 ? void 0 : _d.placeholder) !== null && _e !== void 0 ? _e : 'Search',
140
- callback: (_f = this.searchConfigs) === null || _f === void 0 ? void 0 : _f.callback,
141
- submitCallback: (_g = this.searchConfigs) === null || _g === void 0 ? void 0 : _g.submitCallback,
142
- };
143
- }
144
- if (this.aiCallback) {
145
- updatedOptions.chatBotConfigs = {
146
- onClick: this.aiCallback,
147
- };
148
- }
149
- if (this.aiCallbackEvent) {
150
- updatedOptions.chatBotConfigs = {
151
- onClick: () => {
152
- const event = new CustomEvent(this.aiCallbackEvent, {
153
- bubbles: true,
154
- cancelable: true,
155
- });
156
- this.dispatchEvent(event);
157
- },
158
- };
159
- }
160
- if (this.capabilityProfileFooterLinks &&
161
- this.capabilityProfileFooterLinks.length > 0) {
162
- updatedOptions.profileFooterLinks = [
163
- ...this.capabilityProfileFooterLinks,
164
- ...((_h = updatedOptions.profileFooterLinks) !== null && _h !== void 0 ? _h : []),
165
- ];
166
- }
167
- if (this.capabilityGlobalActions &&
168
- this.capabilityGlobalActions.length > 0) {
169
- updatedOptions.globalActionConfigs = [...this.capabilityGlobalActions];
170
- }
171
- return updatedOptions;
172
- }
173
- render() {
174
- return lit.html `<div id="ipaas-header-container">
175
- <clabs-global-header-apaas
176
- ?hasNewNotifications="${this.hasNewNotifications}"
177
- .headerProps="${this.headerOptions}"></clabs-global-header-apaas>
178
- </div>`;
179
- }
180
- };
181
- exports.HybridIpaasHeader.styles = lit.css `
182
- ${lit.unsafeCSS(index.default)}
183
- `;
184
- tslib.__decorate([
185
- decorators_js.property({ type: String })
186
- ], exports.HybridIpaasHeader.prototype, "productName", void 0);
187
- tslib.__decorate([
188
- decorators_js.property({ type: String })
189
- ], exports.HybridIpaasHeader.prototype, "productKey", void 0);
190
- tslib.__decorate([
191
- decorators_js.property({ type: Object })
192
- ], exports.HybridIpaasHeader.prototype, "fetchHeaders", void 0);
193
- tslib.__decorate([
194
- decorators_js.property({ type: String })
195
- ], exports.HybridIpaasHeader.prototype, "basePath", void 0);
196
- tslib.__decorate([
197
- decorators_js.property({ type: String })
198
- ], exports.HybridIpaasHeader.prototype, "displayName", void 0);
199
- tslib.__decorate([
200
- decorators_js.property({ type: String })
201
- ], exports.HybridIpaasHeader.prototype, "userEmail", void 0);
202
- tslib.__decorate([
203
- decorators_js.property({ type: String })
204
- ], exports.HybridIpaasHeader.prototype, "productVersion", void 0);
205
- tslib.__decorate([
206
- decorators_js.property({ type: String })
207
- ], exports.HybridIpaasHeader.prototype, "assistMeKey", void 0);
208
- tslib.__decorate([
209
- decorators_js.property({ type: Function })
210
- ], exports.HybridIpaasHeader.prototype, "aiCallback", void 0);
211
- tslib.__decorate([
212
- decorators_js.property({ type: String })
213
- ], exports.HybridIpaasHeader.prototype, "aiCallbackEvent", void 0);
214
- tslib.__decorate([
215
- decorators_js.property({ type: Function })
216
- ], exports.HybridIpaasHeader.prototype, "logoutCallback", void 0);
217
- tslib.__decorate([
218
- decorators_js.property({ type: Function })
219
- ], exports.HybridIpaasHeader.prototype, "notificationOpenCallback", void 0);
220
- tslib.__decorate([
221
- decorators_js.property({ type: Boolean })
222
- ], exports.HybridIpaasHeader.prototype, "hasNewNotifications", void 0);
223
- tslib.__decorate([
224
- decorators_js.property({ type: Object })
225
- ], exports.HybridIpaasHeader.prototype, "searchConfigs", void 0);
226
- tslib.__decorate([
227
- decorators_js.property({ type: Array })
228
- ], exports.HybridIpaasHeader.prototype, "capabilityProfileFooterLinks", void 0);
229
- tslib.__decorate([
230
- decorators_js.property({ type: Array })
231
- ], exports.HybridIpaasHeader.prototype, "capabilityGlobalActions", void 0);
232
- tslib.__decorate([
233
- decorators_js.state()
234
- ], exports.HybridIpaasHeader.prototype, "headerOptions", void 0);
235
- exports.HybridIpaasHeader = tslib.__decorate([
236
- decorators_js.customElement(`${clabsPrefix}-global-header-hybrid-ipaas`)
237
- ], exports.HybridIpaasHeader);
238
- //# sourceMappingURL=HybridIpaasHeader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HybridIpaasHeader.js","sources":["../../../../../../../components/global-header/src/components/HybridIpaasHeader/HybridIpaasHeader.ts"],"sourcesContent":[null],"names":["settings","HybridIpaasHeader","LitElement","INITIAL_AUTOMATION_HEADER_PROPS","html","css","unsafeCSS","styles","__decorate","property","state","customElement"],"mappings":";;;;;;;;;;AAAA;;;;;;;AAOG;AACH;AAgBA,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,GAAGA,iBAAQ;AAE9C;;AAEG;AAEUC,yBAAiB,GAAvB,MAAM,iBAAkB,SAAQC,cAAU,CAAA;AAA1C,IAAA,WAAA,GAAA;;QAKuB,IAAA,CAAA,WAAW,GAAG,IAAI;QAClB,IAAA,CAAA,UAAU,GAAG,EAAE;QACf,IAAA,CAAA,YAAY,GAAG,EAAE;QACjB,IAAA,CAAA,QAAQ,GAAG,EAAE;QACb,IAAA,CAAA,WAAW,GAAG,EAAE;QAChB,IAAA,CAAA,SAAS,GAAG,EAAE;QACd,IAAA,CAAA,cAAc,GAAG,IAAI;QACrB,IAAA,CAAA,WAAW,GAAG,EAAE;QAEhB,IAAA,CAAA,eAAe,GAAG,EAAE;QAKnB,IAAA,CAAA,mBAAmB,GAAG,KAAK;QAC5B,IAAA,CAAA,aAAa,GAAyB,IAAI;QAEtE,IAAA,CAAA,4BAA4B,GAAyB,EAAE;QAC5B,IAAA,CAAA,uBAAuB,GAAyB,EAAE;AAE7E,QAAA,IAAA,CAAA,aAAa,GAAgB,EAAE,GAAGC,wCAA+B,EAAE;IAoLrE;IAlLE,YAAY,GAAA;AACV,QAAA,IAAI,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R,yBAAA,CAAA,SAAA,EAAA,yBAAA,EAAA,MAAA,CAAA;AAE9EO,gBAAA,CAAA;AADC,IAAAE,mBAAK;AAC8D,CAAA,EAAAT,yBAAA,CAAA,SAAA,EAAA,eAAA,EAAA,MAAA,CAAA;AAzBzDA,yBAAiB,GAAAO,gBAAA,CAAA;AAD7B,IAAAG,2BAAa,CAAC,CAAA,EAAG,WAAW,CAAA,2BAAA,CAA6B;AAC7C,CAAA,EAAAV,yBAAiB,CA6M7B;;"}
@@ -1,20 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 2025
5
- *
6
- * This source code is licensed under the Apache-2.0 license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
- import type { Meta, StoryObj } from '@storybook/web-components-vite';
10
- import { HybridIpaasHeader } from '../HybridIpaasHeader';
11
- declare const meta: Meta;
12
- export default meta;
13
- type Story = StoryObj<typeof HybridIpaasHeader>;
14
- export declare const Basic: Story;
15
- export declare const BasicWithTrial: Story;
16
- export declare const WithAIChat: Story;
17
- export declare const CustomFooter: Story;
18
- export declare const LogoutCallback: Story;
19
- export declare const CustomActions: Story;
20
- export declare const SearchCallback: Story;
@@ -1,10 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 2025
5
- *
6
- * This source code is licensed under the Apache-2.0 license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
- import '../HybridIpaasHeader';
10
- import '../HybridIpaasHeader';
@@ -1,17 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 2025
5
- *
6
- * This source code is licensed under the Apache-2.0 license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
- import { LitElement } from 'lit';
10
- /**
11
- * Component to show a company name or logo
12
- */
13
- export declare class LogoutHeader extends LitElement {
14
- static styles: import("lit").CSSResult;
15
- brandCompany: string;
16
- render(): import("lit-html").TemplateResult<1>;
17
- }
@@ -1,58 +0,0 @@
1
- 'use strict';
2
-
3
- var tslib = require('tslib');
4
- var lit = require('lit');
5
- var decorators_js = require('lit/decorators.js');
6
- var index_js = require('@carbon-labs/utilities/es/settings/index.js');
7
- var constant = require('../../constant.js');
8
- var _index = require('./_index.scss.js');
9
-
10
- /**
11
- * @license
12
- *
13
- * Copyright IBM Corp. 2025
14
- *
15
- * This source code is licensed under the Apache-2.0 license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */
18
- /* eslint jsdoc/require-jsdoc: 0 */
19
- const { stablePrefix: clabsPrefix } = index_js.settings;
20
- const blockClass = `${constant.AUTOMATION_HEADER_BASE_CLASS}__logout-header`;
21
- const eightBar = lit.html `
22
- <svg
23
- width="45"
24
- height="18"
25
- viewBox="0 0 45 18"
26
- fill="none"
27
- xmlns="http://www.w3.org/2000/svg">
28
- <path
29
- d="M0 16.8535H8.75V18H0V16.8535ZM0 15.5924H8.75V14.4459H0V15.5924ZM2.5 13.1847H6.25V12.0382H2.5V13.1847ZM2.5 10.7771H6.25V9.63057H2.5V10.7771ZM2.5 8.36943H6.25V7.22293H2.5V8.36943ZM6.25 4.81529H2.5V5.96178H6.25V4.81529ZM0 3.55414H8.75V2.40764H0V3.55414ZM0 1.1465H8.75V0H0V1.1465ZM10 18H19.2045C20.3833 18 21.4615 17.568 22.2942 16.8535H10V18ZM10 15.5924H23.3373C23.5415 15.2364 23.7019 14.8519 23.8109 14.4459H10.0001L10 15.5924ZM12.5 13.1847H16.25V12.0382H12.5V13.1847ZM12.5 7.22293V8.36943H22.4194C22.7799 8.03752 23.0903 7.65161 23.3365 7.22293H12.5ZM23.8108 3.55414C23.7018 3.14805 23.5414 2.76363 23.3372 2.40764H9.99989V3.55414H23.8107H23.8108ZM12.5 5.96178H16.25V4.81529H12.5V5.96178ZM19.7727 5.96178H23.8383C23.9275 5.5941 23.9773 5.21083 23.9773 4.81529H19.7727V5.96178ZM19.7727 12.0382V13.1847H23.9773C23.9773 12.7892 23.9275 12.4059 23.8383 12.0382H19.7727ZM22.4194 9.63057H12.5V10.7771H23.3365C23.0902 10.3484 22.7799 9.96248 22.4194 9.63057ZM22.2942 1.1465C21.4615 0.432 20.3833 0 19.2045 0H10V1.1465H22.2942ZM25 18H31.25V16.8535H25V18ZM25 15.5924H31.25V14.4459H25V15.5924ZM27.5 13.1847H31.25V12.0382H27.5V13.1847ZM27.5 10.7771H31.25V9.63057H27.5V10.7771ZM38.75 18H45V16.8535H38.75V18ZM38.75 15.5924H45V14.4459H38.75V15.5924ZM38.75 13.1847H42.5V12.0382H38.75V13.1847ZM42.5 9.63057H38.75V10.7771H42.5V9.63057ZM38.75 8.36943H42.5V7.22293H35.4709L35.0767 8.36943H38.368L38.75 7.2775V8.36943ZM42.5 4.81529H36.2989L35.9047 5.96178H42.5001V4.81529H42.5ZM37.9545 0L37.5603 1.1465H45V0H37.9545ZM35 18L35.399 16.8535H34.6009L34.9999 18H35ZM34.1597 15.5924H35.8403L36.2416 14.4459H33.7585L34.1597 15.5924ZM33.3172 13.1847H36.683L37.0842 12.0382H32.916L33.3172 13.1847ZM32.4747 10.7771H37.5255L37.9267 9.63057H32.0735L32.4748 10.7771H32.4747ZM27.5 5.96178H34.0955L33.7013 4.81529H27.5V5.96178ZM36.7325 3.55414H45V2.40764H37.1267L36.7325 3.55414ZM32.8734 2.40764H25.0001V3.55414H33.2677L32.8734 2.40764ZM32.0456 0H25.0001V1.1465H32.4398L32.0456 0ZM34.9234 8.36943L34.5292 7.22293H27.5001V8.36943H31.2501V7.28129L31.6323 8.36943H34.9235H34.9234Z"
30
- fill="#161616" />
31
- </svg>
32
- `;
33
- /**
34
- * Component to show a company name or logo
35
- */
36
- exports.LogoutHeader = class LogoutHeader extends lit.LitElement {
37
- constructor() {
38
- super(...arguments);
39
- this.brandCompany = '';
40
- }
41
- render() {
42
- return lit.html ` <cds-custom-header class="${blockClass}">
43
- <cds-custom-header-name>
44
- ${this.brandCompany === 'IBM' ? eightBar : this.brandCompany}
45
- </cds-custom-header-name>
46
- </cds-custom-header>`;
47
- }
48
- };
49
- exports.LogoutHeader.styles = lit.css `
50
- ${lit.unsafeCSS([_index.default])}
51
- `;
52
- tslib.__decorate([
53
- decorators_js.property({ type: String })
54
- ], exports.LogoutHeader.prototype, "brandCompany", void 0);
55
- exports.LogoutHeader = tslib.__decorate([
56
- decorators_js.customElement(`${clabsPrefix}-global-header-logout-banner`)
57
- ], exports.LogoutHeader);
58
- //# sourceMappingURL=LogoutHeader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LogoutHeader.js","sources":["../../../../../../../components/global-header/src/components/LogoutHeader/LogoutHeader.ts"],"sourcesContent":[null],"names":["settings","AUTOMATION_HEADER_BASE_CLASS","html","LogoutHeader","LitElement","css","unsafeCSS","styles","__decorate","property","customElement"],"mappings":";;;;;;;;;AAAA;;;;;;;AAOG;AACH;AAQA,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,GAAGA,iBAAQ;AAC9C,MAAM,UAAU,GAAG,CAAA,EAAGC,qCAA4B,iBAAiB;AAEnE,MAAM,QAAQ,GAAGC,QAAI,CAAA;;;;;;;;;;;CAWpB;AAED;;AAEG;AAEUC,oBAAY,GAAlB,MAAM,YAAa,SAAQC,cAAU,CAAA;AAArC,IAAA,WAAA,GAAA;;QAKuB,IAAA,CAAA,YAAY,GAAG,EAAE;IAS/C;IAPE,MAAM,GAAA;QACJ,OAAOF,QAAI,CAAA,CAAA,2BAAA,EAA8B,UAAU,CAAA;;AAE7C,QAAA,EAAA,IAAI,CAAC,YAAY,KAAK,KAAK,GAAG,QAAQ,GAAG,IAAI,CAAC,YAAY;;yBAE3C;IACvB;;AAZOC,oBAAA,CAAA,MAAM,GAAGE,OAAG,CAAA;AACf,IAAA,EAAAC,aAAS,CAAC,CAACC,cAAM,CAAC,CAAC;AACtB,EAAA,CAFY;AAIeC,gBAAA,CAAA;AAA3B,IAAAC,sBAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE;AAAoB,CAAA,EAAAN,oBAAA,CAAA,SAAA,EAAA,cAAA,EAAA,MAAA,CAAA;AALnCA,oBAAY,GAAAK,gBAAA,CAAA;AADxB,IAAAE,2BAAa,CAAC,CAAA,EAAG,WAAW,CAAA,4BAAA,CAA8B;AAC9C,CAAA,EAAAP,oBAAY,CAcxB;;"}
@@ -1,15 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 2025
5
- *
6
- * This source code is licensed under the Apache-2.0 license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
- import type { Meta, StoryObj } from '@storybook/web-components-vite';
10
- import { LogoutHeader } from '../LogoutHeader';
11
- declare const meta: Meta;
12
- export default meta;
13
- type Story = StoryObj<typeof LogoutHeader>;
14
- export declare const Basic: Story;
15
- export declare const Corporate: Story;
@@ -1,9 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 2025
5
- *
6
- * This source code is licensed under the Apache-2.0 license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
- import '../LogoutHeader';
@@ -1,10 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var lit = require('lit');
6
-
7
- var styles = lit.css([".automation-global-header__logout-header{padding-block:1rem}"]);
8
-
9
- exports.default = styles;
10
- //# sourceMappingURL=_index.scss.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_index.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
@@ -1,24 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 2025
5
- *
6
- * This source code is licensed under the Apache-2.0 license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
- import { LitElement } from 'lit';
10
- import '@carbon/web-components/es-custom/components/tile/index.js';
11
- import '@carbon/web-components/es-custom/components/button/index.js';
12
- /**
13
- * Logged out dialog
14
- */
15
- export declare class LogoutTile extends LitElement {
16
- static styles: import("lit").CSSResult;
17
- brandCompany: string;
18
- brandProduct: string;
19
- logoutText: string;
20
- buttonLabel: string;
21
- loginHref: string;
22
- constructor();
23
- render(): import("lit-html").TemplateResult<1>;
24
- }
@@ -1,72 +0,0 @@
1
- 'use strict';
2
-
3
- var tslib = require('tslib');
4
- var lit = require('lit');
5
- var decorators_js = require('lit/decorators.js');
6
- require('@carbon/web-components/es-custom/components/tile/index.js');
7
- require('@carbon/web-components/es-custom/components/button/index.js');
8
- var index_js = require('@carbon-labs/utilities/es/settings/index.js');
9
- var utils = require('../../globals/utils.js');
10
- var constant = require('../../constant.js');
11
- var _index = require('./_index.scss.js');
12
-
13
- /**
14
- * @license
15
- *
16
- * Copyright IBM Corp. 2025
17
- *
18
- * This source code is licensed under the Apache-2.0 license found in the
19
- * LICENSE file in the root directory of this source tree.
20
- */
21
- /* eslint jsdoc/require-jsdoc: 0 */
22
- const { stablePrefix: clabsPrefix } = index_js.settings;
23
- const blockClass = `${constant.AUTOMATION_HEADER_BASE_CLASS}__logout-tile`;
24
- /**
25
- * Logged out dialog
26
- */
27
- exports.LogoutTile = class LogoutTile extends lit.LitElement {
28
- constructor() {
29
- super();
30
- this.brandCompany = '';
31
- this.brandProduct = '';
32
- this.logoutText = '';
33
- this.buttonLabel = '';
34
- this.loginHref = '';
35
- }
36
- render() {
37
- return lit.html `<cds-custom-tile class="${blockClass}">
38
- <div>
39
- <span class="${blockClass}--brand">${this.brandCompany}</span>
40
- <span class="${blockClass}--product">${this.brandProduct}</span>
41
- </div>
42
- <div class="${blockClass}--description">${this.logoutText}</div>
43
- <div class="${blockClass}--button">
44
- <cds-custom-button size="xl" href="${this.loginHref}">
45
- ${this.buttonLabel} ${utils.renderCarbonIcon('ArrowRight', 16, 'icon')}
46
- </cds-custom-button>
47
- </div>
48
- </cds-custom-tile>`;
49
- }
50
- };
51
- exports.LogoutTile.styles = lit.css `
52
- ${lit.unsafeCSS([_index.default])}
53
- `;
54
- tslib.__decorate([
55
- decorators_js.property({ type: String })
56
- ], exports.LogoutTile.prototype, "brandCompany", void 0);
57
- tslib.__decorate([
58
- decorators_js.property({ type: String })
59
- ], exports.LogoutTile.prototype, "brandProduct", void 0);
60
- tslib.__decorate([
61
- decorators_js.property({ type: String })
62
- ], exports.LogoutTile.prototype, "logoutText", void 0);
63
- tslib.__decorate([
64
- decorators_js.property({ type: String })
65
- ], exports.LogoutTile.prototype, "buttonLabel", void 0);
66
- tslib.__decorate([
67
- decorators_js.property({ type: String })
68
- ], exports.LogoutTile.prototype, "loginHref", void 0);
69
- exports.LogoutTile = tslib.__decorate([
70
- decorators_js.customElement(`${clabsPrefix}-global-header-logout-tile`)
71
- ], exports.LogoutTile);
72
- //# sourceMappingURL=LogoutTile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LogoutTile.js","sources":["../../../../../../../components/global-header/src/components/LogoutTile/LogoutTile.ts"],"sourcesContent":[null],"names":["settings","AUTOMATION_HEADER_BASE_CLASS","LogoutTile","LitElement","html","renderCarbonIcon","css","unsafeCSS","styles","__decorate","property","customElement"],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AACH;AAYA,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,GAAGA,iBAAQ;AAC9C,MAAM,UAAU,GAAG,CAAA,EAAGC,qCAA4B,eAAe;AAEjE;;AAEG;AAEUC,kBAAU,GAAhB,MAAM,UAAW,SAAQC,cAAU,CAAA;AAWxC,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;QAPmB,IAAA,CAAA,YAAY,GAAG,EAAE;QACjB,IAAA,CAAA,YAAY,GAAG,EAAE;QACjB,IAAA,CAAA,UAAU,GAAG,EAAE;QACf,IAAA,CAAA,WAAW,GAAG,EAAE;QAChB,IAAA,CAAA,SAAS,GAAG,EAAE;IAI1C;IAEA,MAAM,GAAA;QACJ,OAAOC,QAAI,CAAA,CAAA,wBAAA,EAA2B,UAAU,CAAA;;uBAE7B,UAAU,CAAA,SAAA,EAAY,IAAI,CAAC,YAAY,CAAA;uBACvC,UAAU,CAAA,WAAA,EAAc,IAAI,CAAC,YAAY,CAAA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BtB;;"}
@@ -1,14 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 2025
5
- *
6
- * This source code is licensed under the Apache-2.0 license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
- import type { Meta, StoryObj } from '@storybook/web-components-vite';
10
- import { LogoutTile } from '../LogoutTile';
11
- declare const meta: Meta;
12
- export default meta;
13
- type Story = StoryObj<typeof LogoutTile>;
14
- export declare const Basic: Story;
@@ -1,9 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 2025
5
- *
6
- * This source code is licensed under the Apache-2.0 license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
- import '../LogoutTile';
@@ -1,10 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var lit = require('lit');
6
-
7
- var styles = lit.css([".automation-global-header__logout-tile{block-size:10rem;inline-size:25rem}.automation-global-header__logout-tile--brand{margin-inline-end:.75rem}.automation-global-header__logout-tile--brand,.automation-global-header__logout-tile--product{font-size:var(--cds-heading-05-font-size,2rem);font-weight:var(--cds-heading-05-font-weight,400);letter-spacing:var(--cds-heading-05-letter-spacing,0);line-height:var(--cds-heading-05-line-height,1.25)}.automation-global-header__logout-tile--product{font-weight:700}.automation-global-header__logout-tile--description{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);font-weight:400;letter-spacing:var(--cds-heading-03-letter-spacing,0);line-height:var(--cds-heading-03-line-height,1.4);margin-block-start:.25rem}.automation-global-header__logout-tile--button{inset-block-end:0;inset-inline-end:0;position:absolute}.automation-global-header__logout-tile--button a{inline-size:11rem}.automation-global-header__logout-tile--button button{inline-size:15rem}"]);
8
-
9
- exports.default = styles;
10
- //# sourceMappingURL=_index.scss.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_index.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
@@ -1,22 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 2025
5
- *
6
- * This source code is licensed under the Apache-2.0 license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
- import { LitElement } from 'lit';
10
- import { HeaderContextProps } from '../HeaderContext/HeaderContext.types';
11
- /**
12
- * Contents of the profile menu
13
- */
14
- export declare class AuthContext extends LitElement {
15
- static styles: import("lit").CSSResult;
16
- profileOpen: boolean;
17
- props: HeaderContextProps;
18
- constructor();
19
- updated(changedProperties: Map<string | number | symbol, unknown>): void;
20
- handleOutsideClick(event: MouseEvent): void;
21
- render(): import("lit-html").TemplateResult<1>;
22
- }