@keycloakify/angular 0.0.10 → 0.1.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 (771) hide show
  1. package/account/DefaultPage/index.d.ts +1 -5
  2. package/account/KcContext/index.d.ts +1 -5
  3. package/account/classes/component-reference/index.d.ts +1 -5
  4. package/account/directives/kc-class/index.d.ts +1 -5
  5. package/account/i18n/index.d.ts +1 -5
  6. package/account/index.d.ts +1 -5
  7. package/account/pages/account/index.d.ts +1 -5
  8. package/account/pages/applications/index.d.ts +1 -5
  9. package/account/pages/federatedIdentity/index.d.ts +1 -5
  10. package/account/pages/log/index.d.ts +1 -5
  11. package/account/pages/password/index.d.ts +1 -5
  12. package/account/pages/sessions/index.d.ts +1 -5
  13. package/account/pages/totp/index.d.ts +1 -5
  14. package/account/providers/keycloakify-angular/index.d.ts +1 -5
  15. package/account/services/account-resource-injector/index.d.ts +1 -5
  16. package/account/services/i18n/index.d.ts +1 -5
  17. package/account/{containers/template → template}/template.component.d.ts +2 -9
  18. package/account/tokens/classes/index.d.ts +1 -5
  19. package/account/tokens/i18n/index.d.ts +1 -5
  20. package/account/tokens/kc-context/index.d.ts +1 -5
  21. package/bin/108.index.js +242 -0
  22. package/bin/338.index.js +105 -54
  23. package/bin/402.index.js +1250 -0
  24. package/bin/758.index.js +778 -53
  25. package/bin/{925.index.js → 84.index.js} +125 -625
  26. package/bin/main.js +63 -6
  27. package/esm2022/account/DefaultPage/index.mjs +2 -0
  28. package/esm2022/account/DefaultPage/keycloakify-angular-account-DefaultPage.mjs +2 -2
  29. package/esm2022/account/KcContext/index.mjs +2 -0
  30. package/esm2022/account/KcContext/keycloakify-angular-account-KcContext.mjs +2 -2
  31. package/esm2022/account/classes/component-reference/index.mjs +2 -0
  32. package/esm2022/account/classes/component-reference/keycloakify-angular-account-classes-component-reference.mjs +2 -2
  33. package/esm2022/account/directives/kc-class/index.mjs +2 -0
  34. package/esm2022/account/directives/kc-class/kc-class.directive.mjs +4 -4
  35. package/esm2022/account/directives/kc-class/keycloakify-angular-account-directives-kc-class.mjs +2 -2
  36. package/esm2022/account/i18n/index.mjs +2 -0
  37. package/esm2022/account/i18n/keycloakify-angular-account-i18n.mjs +2 -2
  38. package/esm2022/account/index.mjs +2 -0
  39. package/esm2022/account/keycloakify-angular-account.mjs +2 -2
  40. package/esm2022/account/pages/account/account.component.mjs +4 -4
  41. package/esm2022/account/pages/account/index.mjs +2 -0
  42. package/esm2022/account/pages/account/keycloakify-angular-account-pages-account.mjs +2 -2
  43. package/esm2022/account/pages/applications/applications.component.mjs +4 -4
  44. package/esm2022/account/pages/applications/index.mjs +2 -0
  45. package/esm2022/account/pages/applications/keycloakify-angular-account-pages-applications.mjs +2 -2
  46. package/esm2022/account/pages/federatedIdentity/federatedIdentity.component.mjs +4 -4
  47. package/esm2022/account/pages/federatedIdentity/index.mjs +2 -0
  48. package/esm2022/account/pages/federatedIdentity/keycloakify-angular-account-pages-federatedIdentity.mjs +2 -2
  49. package/esm2022/account/pages/log/index.mjs +2 -0
  50. package/esm2022/account/pages/log/keycloakify-angular-account-pages-log.mjs +2 -2
  51. package/esm2022/account/pages/log/log.component.mjs +4 -4
  52. package/esm2022/account/pages/password/index.mjs +2 -0
  53. package/esm2022/account/pages/password/keycloakify-angular-account-pages-password.mjs +2 -2
  54. package/esm2022/account/pages/password/password.component.mjs +4 -4
  55. package/esm2022/account/pages/sessions/index.mjs +2 -0
  56. package/esm2022/account/pages/sessions/keycloakify-angular-account-pages-sessions.mjs +2 -2
  57. package/esm2022/account/pages/sessions/sessions.component.mjs +4 -4
  58. package/esm2022/account/pages/totp/index.mjs +2 -0
  59. package/esm2022/account/pages/totp/keycloakify-angular-account-pages-totp.mjs +2 -2
  60. package/esm2022/account/pages/totp/totp.component.mjs +4 -4
  61. package/esm2022/account/providers/keycloakify-angular/index.mjs +2 -0
  62. package/esm2022/account/providers/keycloakify-angular/keycloakify-angular-account-providers-keycloakify-angular.mjs +2 -2
  63. package/esm2022/account/services/account-resource-injector/account-resource-injector.service.mjs +4 -4
  64. package/esm2022/account/services/account-resource-injector/index.mjs +2 -0
  65. package/esm2022/account/services/account-resource-injector/keycloakify-angular-account-services-account-resource-injector.mjs +2 -2
  66. package/esm2022/account/services/i18n/i18n.service.mjs +4 -4
  67. package/esm2022/account/services/i18n/index.mjs +2 -0
  68. package/esm2022/account/services/i18n/keycloakify-angular-account-services-i18n.mjs +2 -2
  69. package/esm2022/account/template/index.mjs +2 -0
  70. package/esm2022/account/template/keycloakify-angular-account-template.mjs +5 -0
  71. package/esm2022/account/template/template.component.mjs +83 -0
  72. package/esm2022/account/tokens/classes/index.mjs +2 -0
  73. package/esm2022/account/tokens/classes/keycloakify-angular-account-tokens-classes.mjs +2 -2
  74. package/esm2022/account/tokens/i18n/index.mjs +2 -0
  75. package/esm2022/account/tokens/i18n/keycloakify-angular-account-tokens-i18n.mjs +2 -2
  76. package/esm2022/account/tokens/kc-context/index.mjs +2 -0
  77. package/esm2022/account/tokens/kc-context/keycloakify-angular-account-tokens-kc-context.mjs +2 -2
  78. package/esm2022/index.mjs +2 -0
  79. package/esm2022/keycloakify-angular.mjs +2 -2
  80. package/esm2022/lib/directives/attributes/attributes.directive.mjs +4 -4
  81. package/esm2022/lib/directives/attributes/index.mjs +2 -0
  82. package/esm2022/lib/directives/attributes/keycloakify-angular-lib-directives-attributes.mjs +2 -2
  83. package/esm2022/lib/index.mjs +2 -0
  84. package/esm2022/lib/keycloakify-angular-lib.mjs +2 -2
  85. package/esm2022/lib/models/script/index.mjs +2 -0
  86. package/esm2022/lib/models/script/keycloakify-angular-lib-models-script.mjs +2 -2
  87. package/esm2022/lib/pipes/input-type/index.mjs +2 -0
  88. package/esm2022/lib/pipes/input-type/input-type.pipe.mjs +4 -4
  89. package/esm2022/lib/pipes/input-type/keycloakify-angular-lib-pipes-input-type.mjs +2 -2
  90. package/esm2022/lib/pipes/is-array-with-empty-object/index.mjs +2 -0
  91. package/esm2022/lib/pipes/is-array-with-empty-object/is-array-with-empty-object.pipe.mjs +4 -4
  92. package/esm2022/lib/pipes/is-array-with-empty-object/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs +2 -2
  93. package/esm2022/lib/pipes/kc-sanitize/index.mjs +2 -0
  94. package/esm2022/lib/pipes/kc-sanitize/kc-sanitize.pipe.mjs +4 -4
  95. package/esm2022/lib/pipes/kc-sanitize/keycloakify-angular-lib-pipes-kc-sanitize.mjs +2 -2
  96. package/esm2022/lib/pipes/to-array/index.mjs +2 -0
  97. package/esm2022/lib/pipes/to-array/keycloakify-angular-lib-pipes-to-array.mjs +2 -2
  98. package/esm2022/lib/pipes/to-array/to-array.pipe.mjs +4 -4
  99. package/esm2022/lib/pipes/to-number/index.mjs +2 -0
  100. package/esm2022/lib/pipes/to-number/keycloakify-angular-lib-pipes-to-number.mjs +2 -2
  101. package/esm2022/lib/pipes/to-number/to-number.pipe.mjs +4 -4
  102. package/esm2022/lib/services/resource-injector/index.mjs +2 -0
  103. package/esm2022/lib/services/resource-injector/keycloakify-angular-lib-services-resource-injector.mjs +2 -2
  104. package/esm2022/lib/services/resource-injector/resource-injector.service.mjs +4 -4
  105. package/esm2022/lib/tokens/use-default-css/index.mjs +2 -0
  106. package/esm2022/lib/tokens/use-default-css/keycloakify-angular-lib-tokens-use-default-css.mjs +2 -2
  107. package/esm2022/login/KcContext/index.mjs +2 -0
  108. package/esm2022/login/KcContext/keycloakify-angular-login-KcContext.mjs +2 -2
  109. package/esm2022/login/classes/component-reference/index.mjs +2 -0
  110. package/esm2022/login/classes/component-reference/keycloakify-angular-login-classes-component-reference.mjs +2 -2
  111. package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.mjs +4 -4
  112. package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/index.mjs +2 -0
  113. package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs +2 -2
  114. package/esm2022/login/components/field-errors/field-errors.component.mjs +4 -4
  115. package/esm2022/login/components/field-errors/index.mjs +2 -0
  116. package/esm2022/login/components/field-errors/keycloakify-angular-login-components-field-errors.mjs +2 -2
  117. package/esm2022/login/components/group-label/group-label.component.mjs +4 -4
  118. package/esm2022/login/components/group-label/index.mjs +2 -0
  119. package/esm2022/login/components/group-label/keycloakify-angular-login-components-group-label.mjs +2 -2
  120. package/esm2022/login/components/input-field-by-type/index.mjs +2 -0
  121. package/esm2022/login/components/input-field-by-type/input-field-by-type.component.mjs +4 -4
  122. package/esm2022/login/components/input-field-by-type/keycloakify-angular-login-components-input-field-by-type.mjs +2 -2
  123. package/esm2022/login/components/input-tag/index.mjs +2 -0
  124. package/esm2022/login/components/input-tag/input-tag.component.mjs +4 -4
  125. package/esm2022/login/components/input-tag/keycloakify-angular-login-components-input-tag.mjs +2 -2
  126. package/esm2022/login/components/input-tag-selects/index.mjs +2 -0
  127. package/esm2022/login/components/input-tag-selects/input-tag-selects.component.mjs +4 -4
  128. package/esm2022/login/components/input-tag-selects/keycloakify-angular-login-components-input-tag-selects.mjs +2 -2
  129. package/esm2022/login/components/logout-other-sessions/index.mjs +2 -0
  130. package/esm2022/login/components/logout-other-sessions/keycloakify-angular-login-components-logout-other-sessions.mjs +2 -2
  131. package/esm2022/login/components/logout-other-sessions/logout-other-sessions.component.mjs +4 -4
  132. package/esm2022/login/components/password-wrapper/index.mjs +2 -0
  133. package/esm2022/login/components/password-wrapper/keycloakify-angular-login-components-password-wrapper.mjs +2 -2
  134. package/esm2022/login/components/password-wrapper/password-wrapper.component.mjs +4 -4
  135. package/esm2022/login/components/select-tag/index.mjs +2 -0
  136. package/esm2022/login/components/select-tag/keycloakify-angular-login-components-select-tag.mjs +2 -2
  137. package/esm2022/login/components/select-tag/select-tag.component.mjs +4 -4
  138. package/esm2022/login/components/textarea-tag/index.mjs +2 -0
  139. package/esm2022/login/components/textarea-tag/keycloakify-angular-login-components-textarea-tag.mjs +2 -2
  140. package/esm2022/login/components/textarea-tag/textarea-tag.component.mjs +4 -4
  141. package/esm2022/login/components/user-profile-form-fields/index.mjs +2 -0
  142. package/esm2022/login/components/user-profile-form-fields/keycloakify-angular-login-components-user-profile-form-fields.mjs +2 -2
  143. package/esm2022/login/components/user-profile-form-fields/user-profile-form-fields.component.mjs +4 -4
  144. package/esm2022/login/directives/kc-class/index.mjs +2 -0
  145. package/esm2022/login/directives/kc-class/kc-class.directive.mjs +4 -4
  146. package/esm2022/login/directives/kc-class/keycloakify-angular-login-directives-kc-class.mjs +2 -2
  147. package/esm2022/login/i18n/index.mjs +2 -0
  148. package/esm2022/login/i18n/keycloakify-angular-login-i18n.mjs +2 -2
  149. package/esm2022/login/index.mjs +2 -0
  150. package/esm2022/login/keycloakify-angular-login.mjs +2 -2
  151. package/esm2022/login/pages/code/code.component.mjs +4 -4
  152. package/esm2022/login/pages/code/index.mjs +2 -0
  153. package/esm2022/login/pages/code/keycloakify-angular-login-pages-code.mjs +2 -2
  154. package/esm2022/login/pages/delete-account-confirm/delete-account-confirm.component.mjs +4 -4
  155. package/esm2022/login/pages/delete-account-confirm/index.mjs +2 -0
  156. package/esm2022/login/pages/delete-account-confirm/keycloakify-angular-login-pages-delete-account-confirm.mjs +2 -2
  157. package/esm2022/login/pages/delete-credential/delete-credential.component.mjs +4 -4
  158. package/esm2022/login/pages/delete-credential/index.mjs +2 -0
  159. package/esm2022/login/pages/delete-credential/keycloakify-angular-login-pages-delete-credential.mjs +2 -2
  160. package/esm2022/login/pages/error/error.component.mjs +4 -4
  161. package/esm2022/login/pages/error/index.mjs +2 -0
  162. package/esm2022/login/pages/error/keycloakify-angular-login-pages-error.mjs +2 -2
  163. package/esm2022/login/pages/frontchannel-logout/frontchannel-logout.component.mjs +4 -4
  164. package/esm2022/login/pages/frontchannel-logout/index.mjs +2 -0
  165. package/esm2022/login/pages/frontchannel-logout/keycloakify-angular-login-pages-frontchannel-logout.mjs +2 -2
  166. package/esm2022/login/pages/idp-review-user-profile/idp-review-user-profile.component.mjs +4 -4
  167. package/esm2022/login/pages/idp-review-user-profile/index.mjs +2 -0
  168. package/esm2022/login/pages/idp-review-user-profile/keycloakify-angular-login-pages-idp-review-user-profile.mjs +2 -2
  169. package/esm2022/login/pages/info/index.mjs +2 -0
  170. package/esm2022/login/pages/info/info.component.mjs +4 -4
  171. package/esm2022/login/pages/info/keycloakify-angular-login-pages-info.mjs +2 -2
  172. package/esm2022/login/pages/login/index.mjs +2 -0
  173. package/esm2022/login/pages/login/keycloakify-angular-login-pages-login.mjs +2 -2
  174. package/esm2022/login/pages/login/login.component.mjs +4 -4
  175. package/esm2022/login/pages/login-config-totp/index.mjs +2 -0
  176. package/esm2022/login/pages/login-config-totp/keycloakify-angular-login-pages-login-config-totp.mjs +2 -2
  177. package/esm2022/login/pages/login-config-totp/login-config-totp.component.mjs +4 -4
  178. package/esm2022/login/pages/login-idp-link-confirm/index.mjs +2 -0
  179. package/esm2022/login/pages/login-idp-link-confirm/keycloakify-angular-login-pages-login-idp-link-confirm.mjs +2 -2
  180. package/esm2022/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.mjs +4 -4
  181. package/esm2022/login/pages/login-idp-link-confirm-override/index.mjs +2 -0
  182. package/esm2022/login/pages/login-idp-link-confirm-override/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs +2 -2
  183. package/esm2022/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.mjs +4 -4
  184. package/esm2022/login/pages/login-idp-link-email/index.mjs +2 -0
  185. package/esm2022/login/pages/login-idp-link-email/keycloakify-angular-login-pages-login-idp-link-email.mjs +2 -2
  186. package/esm2022/login/pages/login-idp-link-email/login-idp-link-email.component.mjs +4 -4
  187. package/esm2022/login/pages/login-oauth-grant/index.mjs +2 -0
  188. package/esm2022/login/pages/login-oauth-grant/keycloakify-angular-login-pages-login-oauth-grant.mjs +2 -2
  189. package/esm2022/login/pages/login-oauth-grant/login-oauth-grant.component.mjs +4 -4
  190. package/esm2022/login/pages/login-oauth2-device-verify-user-code/index.mjs +2 -0
  191. package/esm2022/login/pages/login-oauth2-device-verify-user-code/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs +2 -2
  192. package/esm2022/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.mjs +4 -4
  193. package/esm2022/login/pages/login-otp/index.mjs +2 -0
  194. package/esm2022/login/pages/login-otp/keycloakify-angular-login-pages-login-otp.mjs +2 -2
  195. package/esm2022/login/pages/login-otp/login-otp.component.mjs +4 -4
  196. package/esm2022/login/pages/login-page-expired/index.mjs +2 -0
  197. package/esm2022/login/pages/login-page-expired/keycloakify-angular-login-pages-login-page-expired.mjs +2 -2
  198. package/esm2022/login/pages/login-page-expired/login-page-expired.component.mjs +4 -4
  199. package/esm2022/login/pages/login-passkeys-conditional-authenticate/index.mjs +2 -0
  200. package/esm2022/login/pages/login-passkeys-conditional-authenticate/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +2 -2
  201. package/esm2022/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.mjs +4 -4
  202. package/esm2022/login/pages/login-password/index.mjs +2 -0
  203. package/esm2022/login/pages/login-password/keycloakify-angular-login-pages-login-password.mjs +2 -2
  204. package/esm2022/login/pages/login-password/login-password.component.mjs +4 -4
  205. package/esm2022/login/pages/login-recovery-authn-code-config/index.mjs +2 -0
  206. package/esm2022/login/pages/login-recovery-authn-code-config/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +2 -2
  207. package/esm2022/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.mjs +4 -4
  208. package/esm2022/login/pages/login-recovery-authn-code-input/index.mjs +2 -0
  209. package/esm2022/login/pages/login-recovery-authn-code-input/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +2 -2
  210. package/esm2022/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.mjs +4 -4
  211. package/esm2022/login/pages/login-reset-otp/index.mjs +2 -0
  212. package/esm2022/login/pages/login-reset-otp/keycloakify-angular-login-pages-login-reset-otp.mjs +2 -2
  213. package/esm2022/login/pages/login-reset-otp/login-reset-otp.component.mjs +4 -4
  214. package/esm2022/login/pages/login-reset-password/index.mjs +2 -0
  215. package/esm2022/login/pages/login-reset-password/keycloakify-angular-login-pages-login-reset-password.mjs +2 -2
  216. package/esm2022/login/pages/login-reset-password/login-reset-password.component.mjs +4 -4
  217. package/esm2022/login/pages/login-update-password/index.mjs +2 -0
  218. package/esm2022/login/pages/login-update-password/keycloakify-angular-login-pages-login-update-password.mjs +2 -2
  219. package/esm2022/login/pages/login-update-password/login-update-password.component.mjs +4 -4
  220. package/esm2022/login/pages/login-update-profile/index.mjs +2 -0
  221. package/esm2022/login/pages/login-update-profile/keycloakify-angular-login-pages-login-update-profile.mjs +2 -2
  222. package/esm2022/login/pages/login-update-profile/login-update-profile.component.mjs +4 -4
  223. package/esm2022/login/pages/login-username/index.mjs +2 -0
  224. package/esm2022/login/pages/login-username/keycloakify-angular-login-pages-login-username.mjs +2 -2
  225. package/esm2022/login/pages/login-username/login-username.component.mjs +4 -4
  226. package/esm2022/login/pages/login-verify-email/index.mjs +2 -0
  227. package/esm2022/login/pages/login-verify-email/keycloakify-angular-login-pages-login-verify-email.mjs +2 -2
  228. package/esm2022/login/pages/login-verify-email/login-verify-email.component.mjs +4 -4
  229. package/esm2022/login/pages/login-x509-info/index.mjs +2 -0
  230. package/esm2022/login/pages/login-x509-info/keycloakify-angular-login-pages-login-x509-info.mjs +2 -2
  231. package/esm2022/login/pages/login-x509-info/login-x509-info.component.mjs +4 -4
  232. package/esm2022/login/pages/logout-confirm/index.mjs +2 -0
  233. package/esm2022/login/pages/logout-confirm/keycloakify-angular-login-pages-logout-confirm.mjs +2 -2
  234. package/esm2022/login/pages/logout-confirm/logout-confirm.component.mjs +4 -4
  235. package/esm2022/login/pages/register/index.mjs +2 -0
  236. package/esm2022/login/pages/register/keycloakify-angular-login-pages-register.mjs +2 -2
  237. package/esm2022/login/pages/register/register.component.mjs +4 -4
  238. package/esm2022/login/pages/saml-post-form/index.mjs +2 -0
  239. package/esm2022/login/pages/saml-post-form/keycloakify-angular-login-pages-saml-post-form.mjs +2 -2
  240. package/esm2022/login/pages/saml-post-form/saml-post-form.component.mjs +4 -4
  241. package/esm2022/login/pages/select-authenticator/index.mjs +2 -0
  242. package/esm2022/login/pages/select-authenticator/keycloakify-angular-login-pages-select-authenticator.mjs +2 -2
  243. package/esm2022/login/pages/select-authenticator/select-authenticator.component.mjs +4 -4
  244. package/esm2022/login/pages/terms/index.mjs +2 -0
  245. package/esm2022/login/pages/terms/keycloakify-angular-login-pages-terms.mjs +2 -2
  246. package/esm2022/login/pages/terms/terms.component.mjs +4 -4
  247. package/esm2022/login/pages/update-email/index.mjs +2 -0
  248. package/esm2022/login/pages/update-email/keycloakify-angular-login-pages-update-email.mjs +2 -2
  249. package/esm2022/login/pages/update-email/update-email.component.mjs +4 -4
  250. package/esm2022/login/pages/webauthn-authenticate/index.mjs +2 -0
  251. package/esm2022/login/pages/webauthn-authenticate/keycloakify-angular-login-pages-webauthn-authenticate.mjs +2 -2
  252. package/esm2022/login/pages/webauthn-authenticate/webauthn-authenticate.component.mjs +4 -4
  253. package/esm2022/login/pages/webauthn-error/index.mjs +2 -0
  254. package/esm2022/login/pages/webauthn-error/keycloakify-angular-login-pages-webauthn-error.mjs +2 -2
  255. package/esm2022/login/pages/webauthn-error/webauthn-error.component.mjs +4 -4
  256. package/esm2022/login/pages/webauthn-register/index.mjs +2 -0
  257. package/esm2022/login/pages/webauthn-register/keycloakify-angular-login-pages-webauthn-register.mjs +2 -2
  258. package/esm2022/login/pages/webauthn-register/webauthn-register.component.mjs +4 -4
  259. package/esm2022/login/providers/keycloakify-angular/index.mjs +2 -0
  260. package/esm2022/login/providers/keycloakify-angular/keycloakify-angular-login-providers-keycloakify-angular.mjs +2 -2
  261. package/esm2022/login/services/i18n/i18n.service.mjs +4 -4
  262. package/esm2022/login/services/i18n/index.mjs +2 -0
  263. package/esm2022/login/services/i18n/keycloakify-angular-login-services-i18n.mjs +2 -2
  264. package/esm2022/login/services/login-resource-injector/index.mjs +2 -0
  265. package/esm2022/login/services/login-resource-injector/keycloakify-angular-login-services-login-resource-injector.mjs +2 -2
  266. package/esm2022/login/services/login-resource-injector/login-resource-injector.service.mjs +5 -5
  267. package/esm2022/login/services/user-profile-form/index.mjs +2 -0
  268. package/esm2022/login/services/user-profile-form/keycloakify-angular-login-services-user-profile-form.mjs +2 -2
  269. package/esm2022/login/services/user-profile-form/user-profile-form.service.mjs +4 -4
  270. package/esm2022/login/template/index.mjs +2 -0
  271. package/esm2022/login/template/keycloakify-angular-login-template.mjs +5 -0
  272. package/esm2022/login/template/template.component.mjs +123 -0
  273. package/esm2022/login/tokens/classes/index.mjs +2 -0
  274. package/esm2022/login/tokens/classes/keycloakify-angular-login-tokens-classes.mjs +2 -2
  275. package/esm2022/login/tokens/i18n/index.mjs +2 -0
  276. package/esm2022/login/tokens/i18n/keycloakify-angular-login-tokens-i18n.mjs +2 -2
  277. package/esm2022/login/tokens/kc-context/index.mjs +2 -0
  278. package/esm2022/login/tokens/kc-context/keycloakify-angular-login-tokens-kc-context.mjs +2 -2
  279. package/esm2022/login/tokens/make-user-confirm-password/index.mjs +2 -0
  280. package/esm2022/login/tokens/make-user-confirm-password/keycloakify-angular-login-tokens-make-user-confirm-password.mjs +2 -2
  281. package/fesm2022/keycloakify-angular-account-DefaultPage.mjs.map +1 -1
  282. package/fesm2022/keycloakify-angular-account-KcContext.mjs.map +1 -1
  283. package/fesm2022/keycloakify-angular-account-classes-component-reference.mjs.map +1 -1
  284. package/fesm2022/keycloakify-angular-account-directives-kc-class.mjs +3 -3
  285. package/fesm2022/keycloakify-angular-account-directives-kc-class.mjs.map +1 -1
  286. package/fesm2022/keycloakify-angular-account-i18n.mjs.map +1 -1
  287. package/fesm2022/keycloakify-angular-account-pages-account.mjs +3 -3
  288. package/fesm2022/keycloakify-angular-account-pages-account.mjs.map +1 -1
  289. package/fesm2022/keycloakify-angular-account-pages-applications.mjs +3 -3
  290. package/fesm2022/keycloakify-angular-account-pages-applications.mjs.map +1 -1
  291. package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs +3 -3
  292. package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs.map +1 -1
  293. package/fesm2022/keycloakify-angular-account-pages-log.mjs +3 -3
  294. package/fesm2022/keycloakify-angular-account-pages-log.mjs.map +1 -1
  295. package/fesm2022/keycloakify-angular-account-pages-password.mjs +3 -3
  296. package/fesm2022/keycloakify-angular-account-pages-password.mjs.map +1 -1
  297. package/fesm2022/keycloakify-angular-account-pages-sessions.mjs +3 -3
  298. package/fesm2022/keycloakify-angular-account-pages-sessions.mjs.map +1 -1
  299. package/fesm2022/keycloakify-angular-account-pages-totp.mjs +3 -3
  300. package/fesm2022/keycloakify-angular-account-pages-totp.mjs.map +1 -1
  301. package/fesm2022/keycloakify-angular-account-providers-keycloakify-angular.mjs.map +1 -1
  302. package/fesm2022/keycloakify-angular-account-services-account-resource-injector.mjs +3 -3
  303. package/fesm2022/keycloakify-angular-account-services-account-resource-injector.mjs.map +1 -1
  304. package/fesm2022/keycloakify-angular-account-services-i18n.mjs +3 -3
  305. package/fesm2022/keycloakify-angular-account-services-i18n.mjs.map +1 -1
  306. package/fesm2022/keycloakify-angular-account-template.mjs +90 -0
  307. package/fesm2022/keycloakify-angular-account-template.mjs.map +1 -0
  308. package/fesm2022/keycloakify-angular-account-tokens-classes.mjs.map +1 -1
  309. package/fesm2022/keycloakify-angular-account-tokens-i18n.mjs.map +1 -1
  310. package/fesm2022/keycloakify-angular-account-tokens-kc-context.mjs.map +1 -1
  311. package/fesm2022/keycloakify-angular-account.mjs.map +1 -1
  312. package/fesm2022/keycloakify-angular-lib-directives-attributes.mjs +3 -3
  313. package/fesm2022/keycloakify-angular-lib-directives-attributes.mjs.map +1 -1
  314. package/fesm2022/keycloakify-angular-lib-models-script.mjs.map +1 -1
  315. package/fesm2022/keycloakify-angular-lib-pipes-input-type.mjs +3 -3
  316. package/fesm2022/keycloakify-angular-lib-pipes-input-type.mjs.map +1 -1
  317. package/fesm2022/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs +3 -3
  318. package/fesm2022/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs.map +1 -1
  319. package/fesm2022/keycloakify-angular-lib-pipes-kc-sanitize.mjs +3 -3
  320. package/fesm2022/keycloakify-angular-lib-pipes-kc-sanitize.mjs.map +1 -1
  321. package/fesm2022/keycloakify-angular-lib-pipes-to-array.mjs +3 -3
  322. package/fesm2022/keycloakify-angular-lib-pipes-to-array.mjs.map +1 -1
  323. package/fesm2022/keycloakify-angular-lib-pipes-to-number.mjs +3 -3
  324. package/fesm2022/keycloakify-angular-lib-pipes-to-number.mjs.map +1 -1
  325. package/fesm2022/keycloakify-angular-lib-services-resource-injector.mjs +3 -3
  326. package/fesm2022/keycloakify-angular-lib-services-resource-injector.mjs.map +1 -1
  327. package/fesm2022/keycloakify-angular-lib-tokens-use-default-css.mjs.map +1 -1
  328. package/fesm2022/keycloakify-angular-lib.mjs.map +1 -1
  329. package/fesm2022/keycloakify-angular-login-KcContext.mjs.map +1 -1
  330. package/fesm2022/keycloakify-angular-login-classes-component-reference.mjs.map +1 -1
  331. package/fesm2022/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs +3 -3
  332. package/fesm2022/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs.map +1 -1
  333. package/fesm2022/keycloakify-angular-login-components-field-errors.mjs +3 -3
  334. package/fesm2022/keycloakify-angular-login-components-field-errors.mjs.map +1 -1
  335. package/fesm2022/keycloakify-angular-login-components-group-label.mjs +3 -3
  336. package/fesm2022/keycloakify-angular-login-components-group-label.mjs.map +1 -1
  337. package/fesm2022/keycloakify-angular-login-components-input-field-by-type.mjs +3 -3
  338. package/fesm2022/keycloakify-angular-login-components-input-field-by-type.mjs.map +1 -1
  339. package/fesm2022/keycloakify-angular-login-components-input-tag-selects.mjs +3 -3
  340. package/fesm2022/keycloakify-angular-login-components-input-tag-selects.mjs.map +1 -1
  341. package/fesm2022/keycloakify-angular-login-components-input-tag.mjs +3 -3
  342. package/fesm2022/keycloakify-angular-login-components-input-tag.mjs.map +1 -1
  343. package/fesm2022/keycloakify-angular-login-components-logout-other-sessions.mjs +3 -3
  344. package/fesm2022/keycloakify-angular-login-components-logout-other-sessions.mjs.map +1 -1
  345. package/fesm2022/keycloakify-angular-login-components-password-wrapper.mjs +3 -3
  346. package/fesm2022/keycloakify-angular-login-components-password-wrapper.mjs.map +1 -1
  347. package/fesm2022/keycloakify-angular-login-components-select-tag.mjs +3 -3
  348. package/fesm2022/keycloakify-angular-login-components-select-tag.mjs.map +1 -1
  349. package/fesm2022/keycloakify-angular-login-components-textarea-tag.mjs +3 -3
  350. package/fesm2022/keycloakify-angular-login-components-textarea-tag.mjs.map +1 -1
  351. package/fesm2022/keycloakify-angular-login-components-user-profile-form-fields.mjs +3 -3
  352. package/fesm2022/keycloakify-angular-login-components-user-profile-form-fields.mjs.map +1 -1
  353. package/fesm2022/keycloakify-angular-login-directives-kc-class.mjs +3 -3
  354. package/fesm2022/keycloakify-angular-login-directives-kc-class.mjs.map +1 -1
  355. package/fesm2022/keycloakify-angular-login-i18n.mjs.map +1 -1
  356. package/fesm2022/keycloakify-angular-login-pages-code.mjs +3 -3
  357. package/fesm2022/keycloakify-angular-login-pages-code.mjs.map +1 -1
  358. package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs +3 -3
  359. package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs.map +1 -1
  360. package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs +3 -3
  361. package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs.map +1 -1
  362. package/fesm2022/keycloakify-angular-login-pages-error.mjs +3 -3
  363. package/fesm2022/keycloakify-angular-login-pages-error.mjs.map +1 -1
  364. package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs +3 -3
  365. package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs.map +1 -1
  366. package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs +3 -3
  367. package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs.map +1 -1
  368. package/fesm2022/keycloakify-angular-login-pages-info.mjs +3 -3
  369. package/fesm2022/keycloakify-angular-login-pages-info.mjs.map +1 -1
  370. package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs +3 -3
  371. package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs.map +1 -1
  372. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs +3 -3
  373. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs.map +1 -1
  374. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs +3 -3
  375. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs.map +1 -1
  376. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs +3 -3
  377. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs.map +1 -1
  378. package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs +3 -3
  379. package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs.map +1 -1
  380. package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs +3 -3
  381. package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs.map +1 -1
  382. package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs +3 -3
  383. package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs.map +1 -1
  384. package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs +3 -3
  385. package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs.map +1 -1
  386. package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +3 -3
  387. package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs.map +1 -1
  388. package/fesm2022/keycloakify-angular-login-pages-login-password.mjs +3 -3
  389. package/fesm2022/keycloakify-angular-login-pages-login-password.mjs.map +1 -1
  390. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +3 -3
  391. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs.map +1 -1
  392. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +3 -3
  393. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs.map +1 -1
  394. package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs +3 -3
  395. package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs.map +1 -1
  396. package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs +3 -3
  397. package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs.map +1 -1
  398. package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs +3 -3
  399. package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs.map +1 -1
  400. package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs +3 -3
  401. package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs.map +1 -1
  402. package/fesm2022/keycloakify-angular-login-pages-login-username.mjs +3 -3
  403. package/fesm2022/keycloakify-angular-login-pages-login-username.mjs.map +1 -1
  404. package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs +3 -3
  405. package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs.map +1 -1
  406. package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs +3 -3
  407. package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs.map +1 -1
  408. package/fesm2022/keycloakify-angular-login-pages-login.mjs +3 -3
  409. package/fesm2022/keycloakify-angular-login-pages-login.mjs.map +1 -1
  410. package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs +3 -3
  411. package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs.map +1 -1
  412. package/fesm2022/keycloakify-angular-login-pages-register.mjs +3 -3
  413. package/fesm2022/keycloakify-angular-login-pages-register.mjs.map +1 -1
  414. package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs +3 -3
  415. package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs.map +1 -1
  416. package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs +3 -3
  417. package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs.map +1 -1
  418. package/fesm2022/keycloakify-angular-login-pages-terms.mjs +3 -3
  419. package/fesm2022/keycloakify-angular-login-pages-terms.mjs.map +1 -1
  420. package/fesm2022/keycloakify-angular-login-pages-update-email.mjs +3 -3
  421. package/fesm2022/keycloakify-angular-login-pages-update-email.mjs.map +1 -1
  422. package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs +3 -3
  423. package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs.map +1 -1
  424. package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs +3 -3
  425. package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs.map +1 -1
  426. package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs +3 -3
  427. package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs.map +1 -1
  428. package/fesm2022/keycloakify-angular-login-providers-keycloakify-angular.mjs.map +1 -1
  429. package/fesm2022/keycloakify-angular-login-services-i18n.mjs +3 -3
  430. package/fesm2022/keycloakify-angular-login-services-i18n.mjs.map +1 -1
  431. package/fesm2022/keycloakify-angular-login-services-login-resource-injector.mjs +4 -4
  432. package/fesm2022/keycloakify-angular-login-services-login-resource-injector.mjs.map +1 -1
  433. package/fesm2022/keycloakify-angular-login-services-user-profile-form.mjs +3 -3
  434. package/fesm2022/keycloakify-angular-login-services-user-profile-form.mjs.map +1 -1
  435. package/fesm2022/keycloakify-angular-login-template.mjs +130 -0
  436. package/fesm2022/keycloakify-angular-login-template.mjs.map +1 -0
  437. package/fesm2022/keycloakify-angular-login-tokens-classes.mjs.map +1 -1
  438. package/fesm2022/keycloakify-angular-login-tokens-i18n.mjs.map +1 -1
  439. package/fesm2022/keycloakify-angular-login-tokens-kc-context.mjs.map +1 -1
  440. package/fesm2022/keycloakify-angular-login-tokens-make-user-confirm-password.mjs.map +1 -1
  441. package/fesm2022/keycloakify-angular-login.mjs.map +1 -1
  442. package/fesm2022/keycloakify-angular.mjs.map +1 -1
  443. package/index.d.ts +1 -5
  444. package/lib/directives/attributes/index.d.ts +1 -5
  445. package/lib/index.d.ts +1 -5
  446. package/lib/models/script/index.d.ts +1 -5
  447. package/lib/pipes/input-type/index.d.ts +1 -5
  448. package/lib/pipes/is-array-with-empty-object/index.d.ts +1 -5
  449. package/lib/pipes/kc-sanitize/index.d.ts +1 -5
  450. package/lib/pipes/to-array/index.d.ts +1 -5
  451. package/lib/pipes/to-number/index.d.ts +1 -5
  452. package/lib/services/resource-injector/index.d.ts +1 -5
  453. package/lib/tokens/use-default-css/index.d.ts +1 -5
  454. package/login/KcContext/index.d.ts +1 -5
  455. package/login/classes/component-reference/index.d.ts +1 -5
  456. package/login/components/add-remove-buttons-multi-valued-attribute/index.d.ts +1 -5
  457. package/login/components/field-errors/index.d.ts +1 -5
  458. package/login/components/group-label/index.d.ts +1 -5
  459. package/login/components/input-field-by-type/index.d.ts +1 -5
  460. package/login/components/input-tag/index.d.ts +1 -5
  461. package/login/components/input-tag-selects/index.d.ts +1 -5
  462. package/login/components/logout-other-sessions/index.d.ts +1 -5
  463. package/login/components/password-wrapper/index.d.ts +1 -5
  464. package/login/components/select-tag/index.d.ts +1 -5
  465. package/login/components/textarea-tag/index.d.ts +1 -5
  466. package/login/components/user-profile-form-fields/index.d.ts +1 -5
  467. package/login/directives/kc-class/index.d.ts +1 -5
  468. package/login/i18n/index.d.ts +1 -5
  469. package/login/index.d.ts +1 -5
  470. package/login/pages/code/index.d.ts +1 -5
  471. package/login/pages/delete-account-confirm/index.d.ts +1 -5
  472. package/login/pages/delete-credential/index.d.ts +1 -5
  473. package/login/pages/error/index.d.ts +1 -5
  474. package/login/pages/frontchannel-logout/index.d.ts +1 -5
  475. package/login/pages/idp-review-user-profile/index.d.ts +1 -5
  476. package/login/pages/info/index.d.ts +1 -5
  477. package/login/pages/login/index.d.ts +1 -5
  478. package/login/pages/login-config-totp/index.d.ts +1 -5
  479. package/login/pages/login-idp-link-confirm/index.d.ts +1 -5
  480. package/login/pages/login-idp-link-confirm-override/index.d.ts +1 -5
  481. package/login/pages/login-idp-link-email/index.d.ts +1 -5
  482. package/login/pages/login-oauth-grant/index.d.ts +1 -5
  483. package/login/pages/login-oauth2-device-verify-user-code/index.d.ts +1 -5
  484. package/login/pages/login-otp/index.d.ts +1 -5
  485. package/login/pages/login-page-expired/index.d.ts +1 -5
  486. package/login/pages/login-passkeys-conditional-authenticate/index.d.ts +1 -5
  487. package/login/pages/login-password/index.d.ts +1 -5
  488. package/login/pages/login-recovery-authn-code-config/index.d.ts +1 -5
  489. package/login/pages/login-recovery-authn-code-input/index.d.ts +1 -5
  490. package/login/pages/login-reset-otp/index.d.ts +1 -5
  491. package/login/pages/login-reset-password/index.d.ts +1 -5
  492. package/login/pages/login-update-password/index.d.ts +1 -5
  493. package/login/pages/login-update-profile/index.d.ts +1 -5
  494. package/login/pages/login-username/index.d.ts +1 -5
  495. package/login/pages/login-verify-email/index.d.ts +1 -5
  496. package/login/pages/login-x509-info/index.d.ts +1 -5
  497. package/login/pages/logout-confirm/index.d.ts +1 -5
  498. package/login/pages/register/index.d.ts +1 -5
  499. package/login/pages/saml-post-form/index.d.ts +1 -5
  500. package/login/pages/select-authenticator/index.d.ts +1 -5
  501. package/login/pages/terms/index.d.ts +1 -5
  502. package/login/pages/update-email/index.d.ts +1 -5
  503. package/login/pages/webauthn-authenticate/index.d.ts +1 -5
  504. package/login/pages/webauthn-error/index.d.ts +1 -5
  505. package/login/pages/webauthn-register/index.d.ts +1 -5
  506. package/login/providers/keycloakify-angular/index.d.ts +1 -5
  507. package/login/services/i18n/index.d.ts +1 -5
  508. package/login/services/login-resource-injector/index.d.ts +1 -5
  509. package/login/services/user-profile-form/index.d.ts +1 -5
  510. package/login/{containers/template → template}/template.component.d.ts +2 -10
  511. package/login/tokens/classes/index.d.ts +1 -5
  512. package/login/tokens/i18n/index.d.ts +1 -5
  513. package/login/tokens/kc-context/index.d.ts +1 -5
  514. package/login/tokens/make-user-confirm-password/index.d.ts +1 -5
  515. package/package.json +21 -21
  516. package/src/account/{containers/template → template}/template.component.html +2 -7
  517. package/src/account/{containers/template → template}/template.component.ts +18 -23
  518. package/src/bin/add-story.ts +126 -0
  519. package/src/bin/eject-page.ts +50 -12
  520. package/src/bin/initialize-account-theme/boilerplate/KcPage.ts +1 -1
  521. package/src/bin/initialize-account-theme/index.ts +1 -0
  522. package/src/bin/main.ts +2 -4
  523. package/src/bin/tools/nodeModulesBinDirPath.ts +38 -0
  524. package/src/bin/tools/runPrettier.ts +89 -0
  525. package/src/bin/tools/transformCodebase_async.ts +89 -0
  526. package/src/bin/update-kc-gen.ts +21 -15
  527. package/src/login/services/login-resource-injector/login-resource-injector.service.ts +1 -1
  528. package/src/login/{containers/template → template}/template.component.html +2 -8
  529. package/src/login/{containers/template → template}/template.component.ts +23 -29
  530. package/stories/account/pages/account.stories.ts +133 -0
  531. package/stories/account/pages/applications.stories.ts +196 -0
  532. package/stories/account/pages/federated-identity.stories.ts +78 -0
  533. package/stories/account/pages/log.stories.ts +147 -0
  534. package/stories/account/pages/password.stories.ts +104 -0
  535. package/stories/account/pages/sessions.stories.ts +143 -0
  536. package/stories/account/pages/totp.stories.ts +100 -0
  537. package/stories/login/pages/code.stories.ts +51 -0
  538. package/stories/login/pages/delete-account-confirm.stories.ts +43 -0
  539. package/stories/login/pages/delete-credential.stories.ts +56 -0
  540. package/stories/login/pages/error.stories.ts +56 -0
  541. package/stories/login/pages/frontchannel-logout.stories.ts +26 -0
  542. package/stories/login/pages/idp-review-user-profile.stories.ts +60 -0
  543. package/stories/login/pages/info.stories.ts +94 -0
  544. package/stories/login/pages/login-config-totp.stories.ts +57 -0
  545. package/stories/login/pages/login-device-verify-user-code.stories.ts +14 -0
  546. package/stories/login/pages/login-idp-link-confirm-override.stories.ts +17 -0
  547. package/stories/login/pages/login-idp-link-confirm.stories.ts +103 -0
  548. package/stories/login/pages/login-idp-link-email.stories.ts +102 -0
  549. package/stories/login/pages/login-oauth-grant.stories.ts +68 -0
  550. package/stories/login/pages/login-oauth2-device-verify-user-code.stories.ts +15 -0
  551. package/stories/login/pages/login-otp.stories.ts +94 -0
  552. package/stories/login/pages/login-page-expired.stories.ts +31 -0
  553. package/stories/login/pages/login-passkeys-conditional-authenticate.stories.ts +16 -0
  554. package/stories/login/pages/login-password.stories.ts +52 -0
  555. package/stories/login/pages/login-recovery-authn-code-config.stories.ts +31 -0
  556. package/stories/login/pages/login-recovery-authn-code-input.stories.ts +16 -0
  557. package/stories/login/pages/login-reset-otp.stories.ts +71 -0
  558. package/stories/login/pages/login-reset-password.stories.ts +50 -0
  559. package/stories/login/pages/login-update-password.stories.ts +46 -0
  560. package/stories/login/pages/login-update-profile.stories.ts +31 -0
  561. package/stories/login/pages/login-username.stories.ts +28 -0
  562. package/stories/login/pages/login-verify-email.stories.ts +98 -0
  563. package/stories/login/pages/login-x509-info.stories.ts +40 -0
  564. package/stories/login/pages/login.stories.ts +260 -0
  565. package/stories/login/pages/logout-confirm.stories.ts +44 -0
  566. package/stories/login/pages/register.stories.ts +230 -0
  567. package/stories/login/pages/saml-post-form.stories.ts +17 -0
  568. package/stories/login/pages/select-authenticator.stories.ts +95 -0
  569. package/stories/login/pages/terms.stories.ts +79 -0
  570. package/stories/login/pages/update-email.stories.ts +31 -0
  571. package/stories/login/pages/webauthn-authenticate.stories.ts +126 -0
  572. package/stories/login/pages/webauthn-error.stories.ts +62 -0
  573. package/stories/login/pages/webauthn-register.stories.ts +46 -0
  574. package/account/DefaultPage/public-api.d.ts +0 -1
  575. package/account/KcContext/public-api.d.ts +0 -1
  576. package/account/classes/component-reference/public-api.d.ts +0 -1
  577. package/account/containers/template/index.d.ts +0 -5
  578. package/account/directives/kc-class/public-api.d.ts +0 -1
  579. package/account/i18n/public-api.d.ts +0 -1
  580. package/account/pages/account/public-api.d.ts +0 -1
  581. package/account/pages/applications/public-api.d.ts +0 -1
  582. package/account/pages/federatedIdentity/public-api.d.ts +0 -1
  583. package/account/pages/log/public-api.d.ts +0 -1
  584. package/account/pages/password/public-api.d.ts +0 -1
  585. package/account/pages/sessions/public-api.d.ts +0 -1
  586. package/account/pages/totp/public-api.d.ts +0 -1
  587. package/account/providers/keycloakify-angular/public-api.d.ts +0 -1
  588. package/account/public-api.d.ts +0 -1
  589. package/account/services/account-resource-injector/public-api.d.ts +0 -1
  590. package/account/services/i18n/public-api.d.ts +0 -1
  591. package/account/tokens/classes/public-api.d.ts +0 -1
  592. package/account/tokens/i18n/public-api.d.ts +0 -1
  593. package/account/tokens/kc-context/public-api.d.ts +0 -1
  594. package/esm2022/account/DefaultPage/public-api.mjs +0 -2
  595. package/esm2022/account/KcContext/public-api.mjs +0 -2
  596. package/esm2022/account/classes/component-reference/public-api.mjs +0 -2
  597. package/esm2022/account/containers/template/keycloakify-angular-account-containers-template.mjs +0 -5
  598. package/esm2022/account/containers/template/public-api.mjs +0 -2
  599. package/esm2022/account/containers/template/template.component.mjs +0 -97
  600. package/esm2022/account/directives/kc-class/public-api.mjs +0 -2
  601. package/esm2022/account/i18n/public-api.mjs +0 -2
  602. package/esm2022/account/pages/account/public-api.mjs +0 -2
  603. package/esm2022/account/pages/applications/public-api.mjs +0 -2
  604. package/esm2022/account/pages/federatedIdentity/public-api.mjs +0 -2
  605. package/esm2022/account/pages/log/public-api.mjs +0 -2
  606. package/esm2022/account/pages/password/public-api.mjs +0 -2
  607. package/esm2022/account/pages/sessions/public-api.mjs +0 -2
  608. package/esm2022/account/pages/totp/public-api.mjs +0 -2
  609. package/esm2022/account/providers/keycloakify-angular/public-api.mjs +0 -2
  610. package/esm2022/account/public-api.mjs +0 -2
  611. package/esm2022/account/services/account-resource-injector/public-api.mjs +0 -2
  612. package/esm2022/account/services/i18n/public-api.mjs +0 -2
  613. package/esm2022/account/tokens/classes/public-api.mjs +0 -2
  614. package/esm2022/account/tokens/i18n/public-api.mjs +0 -2
  615. package/esm2022/account/tokens/kc-context/public-api.mjs +0 -2
  616. package/esm2022/lib/directives/attributes/public-api.mjs +0 -2
  617. package/esm2022/lib/models/script/public-api.mjs +0 -2
  618. package/esm2022/lib/pipes/input-type/public-api.mjs +0 -2
  619. package/esm2022/lib/pipes/is-array-with-empty-object/public-api.mjs +0 -2
  620. package/esm2022/lib/pipes/kc-sanitize/public-api.mjs +0 -2
  621. package/esm2022/lib/pipes/to-array/public-api.mjs +0 -2
  622. package/esm2022/lib/pipes/to-number/public-api.mjs +0 -2
  623. package/esm2022/lib/public-api.mjs +0 -2
  624. package/esm2022/lib/services/resource-injector/public-api.mjs +0 -2
  625. package/esm2022/lib/tokens/use-default-css/public-api.mjs +0 -2
  626. package/esm2022/login/KcContext/public-api.mjs +0 -2
  627. package/esm2022/login/classes/component-reference/public-api.mjs +0 -2
  628. package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/public-api.mjs +0 -2
  629. package/esm2022/login/components/field-errors/public-api.mjs +0 -2
  630. package/esm2022/login/components/group-label/public-api.mjs +0 -2
  631. package/esm2022/login/components/input-field-by-type/public-api.mjs +0 -2
  632. package/esm2022/login/components/input-tag/public-api.mjs +0 -2
  633. package/esm2022/login/components/input-tag-selects/public-api.mjs +0 -2
  634. package/esm2022/login/components/logout-other-sessions/public-api.mjs +0 -2
  635. package/esm2022/login/components/password-wrapper/public-api.mjs +0 -2
  636. package/esm2022/login/components/select-tag/public-api.mjs +0 -2
  637. package/esm2022/login/components/textarea-tag/public-api.mjs +0 -2
  638. package/esm2022/login/components/user-profile-form-fields/public-api.mjs +0 -2
  639. package/esm2022/login/containers/template/keycloakify-angular-login-containers-template.mjs +0 -5
  640. package/esm2022/login/containers/template/public-api.mjs +0 -2
  641. package/esm2022/login/containers/template/template.component.mjs +0 -138
  642. package/esm2022/login/directives/kc-class/public-api.mjs +0 -2
  643. package/esm2022/login/i18n/public-api.mjs +0 -2
  644. package/esm2022/login/pages/code/public-api.mjs +0 -2
  645. package/esm2022/login/pages/delete-account-confirm/public-api.mjs +0 -2
  646. package/esm2022/login/pages/delete-credential/public-api.mjs +0 -2
  647. package/esm2022/login/pages/error/public-api.mjs +0 -2
  648. package/esm2022/login/pages/frontchannel-logout/public-api.mjs +0 -2
  649. package/esm2022/login/pages/idp-review-user-profile/public-api.mjs +0 -2
  650. package/esm2022/login/pages/info/public-api.mjs +0 -2
  651. package/esm2022/login/pages/login/public-api.mjs +0 -2
  652. package/esm2022/login/pages/login-config-totp/public-api.mjs +0 -2
  653. package/esm2022/login/pages/login-idp-link-confirm/public-api.mjs +0 -2
  654. package/esm2022/login/pages/login-idp-link-confirm-override/public-api.mjs +0 -2
  655. package/esm2022/login/pages/login-idp-link-email/public-api.mjs +0 -2
  656. package/esm2022/login/pages/login-oauth-grant/public-api.mjs +0 -2
  657. package/esm2022/login/pages/login-oauth2-device-verify-user-code/public-api.mjs +0 -2
  658. package/esm2022/login/pages/login-otp/public-api.mjs +0 -2
  659. package/esm2022/login/pages/login-page-expired/public-api.mjs +0 -2
  660. package/esm2022/login/pages/login-passkeys-conditional-authenticate/public-api.mjs +0 -2
  661. package/esm2022/login/pages/login-password/public-api.mjs +0 -2
  662. package/esm2022/login/pages/login-recovery-authn-code-config/public-api.mjs +0 -2
  663. package/esm2022/login/pages/login-recovery-authn-code-input/public-api.mjs +0 -2
  664. package/esm2022/login/pages/login-reset-otp/public-api.mjs +0 -2
  665. package/esm2022/login/pages/login-reset-password/public-api.mjs +0 -2
  666. package/esm2022/login/pages/login-update-password/public-api.mjs +0 -2
  667. package/esm2022/login/pages/login-update-profile/public-api.mjs +0 -2
  668. package/esm2022/login/pages/login-username/public-api.mjs +0 -2
  669. package/esm2022/login/pages/login-verify-email/public-api.mjs +0 -2
  670. package/esm2022/login/pages/login-x509-info/public-api.mjs +0 -2
  671. package/esm2022/login/pages/logout-confirm/public-api.mjs +0 -2
  672. package/esm2022/login/pages/register/public-api.mjs +0 -2
  673. package/esm2022/login/pages/saml-post-form/public-api.mjs +0 -2
  674. package/esm2022/login/pages/select-authenticator/public-api.mjs +0 -2
  675. package/esm2022/login/pages/terms/public-api.mjs +0 -2
  676. package/esm2022/login/pages/update-email/public-api.mjs +0 -2
  677. package/esm2022/login/pages/webauthn-authenticate/public-api.mjs +0 -2
  678. package/esm2022/login/pages/webauthn-error/public-api.mjs +0 -2
  679. package/esm2022/login/pages/webauthn-register/public-api.mjs +0 -2
  680. package/esm2022/login/providers/keycloakify-angular/public-api.mjs +0 -2
  681. package/esm2022/login/public-api.mjs +0 -2
  682. package/esm2022/login/services/i18n/public-api.mjs +0 -2
  683. package/esm2022/login/services/login-resource-injector/public-api.mjs +0 -2
  684. package/esm2022/login/services/user-profile-form/public-api.mjs +0 -2
  685. package/esm2022/login/tokens/classes/public-api.mjs +0 -2
  686. package/esm2022/login/tokens/i18n/public-api.mjs +0 -2
  687. package/esm2022/login/tokens/kc-context/public-api.mjs +0 -2
  688. package/esm2022/login/tokens/make-user-confirm-password/public-api.mjs +0 -2
  689. package/esm2022/public-api.mjs +0 -2
  690. package/fesm2022/keycloakify-angular-account-containers-template.mjs +0 -104
  691. package/fesm2022/keycloakify-angular-account-containers-template.mjs.map +0 -1
  692. package/fesm2022/keycloakify-angular-login-containers-template.mjs +0 -145
  693. package/fesm2022/keycloakify-angular-login-containers-template.mjs.map +0 -1
  694. package/lib/directives/attributes/public-api.d.ts +0 -1
  695. package/lib/models/script/public-api.d.ts +0 -1
  696. package/lib/pipes/input-type/public-api.d.ts +0 -1
  697. package/lib/pipes/is-array-with-empty-object/public-api.d.ts +0 -1
  698. package/lib/pipes/kc-sanitize/public-api.d.ts +0 -1
  699. package/lib/pipes/to-array/public-api.d.ts +0 -1
  700. package/lib/pipes/to-number/public-api.d.ts +0 -1
  701. package/lib/public-api.d.ts +0 -1
  702. package/lib/services/resource-injector/public-api.d.ts +0 -1
  703. package/lib/tokens/use-default-css/public-api.d.ts +0 -1
  704. package/login/KcContext/public-api.d.ts +0 -1
  705. package/login/classes/component-reference/public-api.d.ts +0 -1
  706. package/login/components/add-remove-buttons-multi-valued-attribute/public-api.d.ts +0 -1
  707. package/login/components/field-errors/public-api.d.ts +0 -1
  708. package/login/components/group-label/public-api.d.ts +0 -1
  709. package/login/components/input-field-by-type/public-api.d.ts +0 -1
  710. package/login/components/input-tag/public-api.d.ts +0 -1
  711. package/login/components/input-tag-selects/public-api.d.ts +0 -1
  712. package/login/components/logout-other-sessions/public-api.d.ts +0 -1
  713. package/login/components/password-wrapper/public-api.d.ts +0 -1
  714. package/login/components/select-tag/public-api.d.ts +0 -1
  715. package/login/components/textarea-tag/public-api.d.ts +0 -1
  716. package/login/components/user-profile-form-fields/public-api.d.ts +0 -1
  717. package/login/containers/template/index.d.ts +0 -5
  718. package/login/directives/kc-class/public-api.d.ts +0 -1
  719. package/login/i18n/public-api.d.ts +0 -1
  720. package/login/pages/code/public-api.d.ts +0 -1
  721. package/login/pages/delete-account-confirm/public-api.d.ts +0 -1
  722. package/login/pages/delete-credential/public-api.d.ts +0 -1
  723. package/login/pages/error/public-api.d.ts +0 -1
  724. package/login/pages/frontchannel-logout/public-api.d.ts +0 -1
  725. package/login/pages/idp-review-user-profile/public-api.d.ts +0 -1
  726. package/login/pages/info/public-api.d.ts +0 -1
  727. package/login/pages/login/public-api.d.ts +0 -1
  728. package/login/pages/login-config-totp/public-api.d.ts +0 -1
  729. package/login/pages/login-idp-link-confirm/public-api.d.ts +0 -1
  730. package/login/pages/login-idp-link-confirm-override/public-api.d.ts +0 -1
  731. package/login/pages/login-idp-link-email/public-api.d.ts +0 -1
  732. package/login/pages/login-oauth-grant/public-api.d.ts +0 -1
  733. package/login/pages/login-oauth2-device-verify-user-code/public-api.d.ts +0 -1
  734. package/login/pages/login-otp/public-api.d.ts +0 -1
  735. package/login/pages/login-page-expired/public-api.d.ts +0 -1
  736. package/login/pages/login-passkeys-conditional-authenticate/public-api.d.ts +0 -1
  737. package/login/pages/login-password/public-api.d.ts +0 -1
  738. package/login/pages/login-recovery-authn-code-config/public-api.d.ts +0 -1
  739. package/login/pages/login-recovery-authn-code-input/public-api.d.ts +0 -1
  740. package/login/pages/login-reset-otp/public-api.d.ts +0 -1
  741. package/login/pages/login-reset-password/public-api.d.ts +0 -1
  742. package/login/pages/login-update-password/public-api.d.ts +0 -1
  743. package/login/pages/login-update-profile/public-api.d.ts +0 -1
  744. package/login/pages/login-username/public-api.d.ts +0 -1
  745. package/login/pages/login-verify-email/public-api.d.ts +0 -1
  746. package/login/pages/login-x509-info/public-api.d.ts +0 -1
  747. package/login/pages/logout-confirm/public-api.d.ts +0 -1
  748. package/login/pages/register/public-api.d.ts +0 -1
  749. package/login/pages/saml-post-form/public-api.d.ts +0 -1
  750. package/login/pages/select-authenticator/public-api.d.ts +0 -1
  751. package/login/pages/terms/public-api.d.ts +0 -1
  752. package/login/pages/update-email/public-api.d.ts +0 -1
  753. package/login/pages/webauthn-authenticate/public-api.d.ts +0 -1
  754. package/login/pages/webauthn-error/public-api.d.ts +0 -1
  755. package/login/pages/webauthn-register/public-api.d.ts +0 -1
  756. package/login/providers/keycloakify-angular/public-api.d.ts +0 -1
  757. package/login/public-api.d.ts +0 -1
  758. package/login/services/i18n/public-api.d.ts +0 -1
  759. package/login/services/login-resource-injector/public-api.d.ts +0 -1
  760. package/login/services/user-profile-form/public-api.d.ts +0 -1
  761. package/login/tokens/classes/public-api.d.ts +0 -1
  762. package/login/tokens/i18n/public-api.d.ts +0 -1
  763. package/login/tokens/kc-context/public-api.d.ts +0 -1
  764. package/login/tokens/make-user-confirm-password/public-api.d.ts +0 -1
  765. package/public-api.d.ts +0 -1
  766. package/src/bin/tools/runFormat.ts +0 -71
  767. package/src/stories/login/pages/login/login.stories.ts +0 -146
  768. /package/{src/login/containers/template/index.ts → account/template/index.d.ts} +0 -0
  769. /package/{src/account/containers/template/index.ts → login/template/index.d.ts} +0 -0
  770. /package/{login/containers/template/public-api.d.ts → src/account/template/index.ts} +0 -0
  771. /package/{account/containers/template/public-api.d.ts → src/login/template/index.ts} +0 -0
@@ -0,0 +1,1250 @@
1
+ "use strict";
2
+ exports.id = 402;
3
+ exports.ids = [402];
4
+ exports.modules = {
5
+
6
+ /***/ 672:
7
+ /***/ ((__unused_webpack_module, exports) => {
8
+
9
+
10
+
11
+ Object.defineProperty(exports, "__esModule", ({
12
+ value: true
13
+ }));
14
+ exports.withPromise = exports.withCallback = void 0;
15
+
16
+ /**
17
+ * Open the input with a normal callback function
18
+ *
19
+ * @param {Input} input - input object
20
+ * @param {function} valueMapper - function which maps the resulting id and value back to the expected format
21
+ * @param {function} callback - callback function
22
+ */
23
+ const withCallback = (input, valueMapper, callback) => {
24
+ input.open();
25
+ input.onSelect((id, value) => callback(valueMapper(id, value)));
26
+ };
27
+ /**
28
+ * Open the input with a promise
29
+ *
30
+ * @param {Input} input - input object
31
+ * @param {function} valueMapper - function which maps the resulting id and value back to the expected format
32
+ */
33
+
34
+
35
+ exports.withCallback = withCallback;
36
+
37
+ const withPromise = (input, valueMapper) => {
38
+ return new Promise((resolve, reject) => {
39
+ input.open();
40
+ input.onSelect((id, value) => {
41
+ if (id === null) {
42
+ reject();
43
+ } else {
44
+ resolve(valueMapper(id, value));
45
+ }
46
+ });
47
+ });
48
+ };
49
+
50
+ exports.withPromise = withPromise;
51
+
52
+ /***/ }),
53
+
54
+ /***/ 546:
55
+ /***/ ((module, exports, __webpack_require__) => {
56
+
57
+
58
+
59
+ Object.defineProperty(exports, "__esModule", ({
60
+ value: true
61
+ }));
62
+ exports["default"] = void 0;
63
+
64
+ var _input = _interopRequireDefault(__webpack_require__(938));
65
+
66
+ var _renderer = _interopRequireDefault(__webpack_require__(547));
67
+
68
+ var _callbackMappers = __webpack_require__(672);
69
+
70
+ var _valueMappers = __webpack_require__(348);
71
+
72
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
73
+
74
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
75
+
76
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
77
+
78
+ /**
79
+ * Default options
80
+ */
81
+ const defaultOptions = {
82
+ outputStream: process.stdout,
83
+ inputStream: process.stdin,
84
+ values: [],
85
+ defaultValue: 0,
86
+ selected: '(x)',
87
+ unselected: '( )',
88
+ indentation: 0,
89
+ cleanup: true,
90
+ valueRenderer: value => value
91
+ };
92
+ /**
93
+ * Create an instance of cli-select with the given options
94
+ *
95
+ * @param {object} options - options for cli-select
96
+ * @param {function} callback - if specified, a callback will be used, otherwise a promise gets returned (optional)
97
+ */
98
+
99
+ const creator = (options, callback) => {
100
+ // merge options with default options
101
+ options = _objectSpread({}, defaultOptions, options); // create renderer and input instances
102
+
103
+ const renderer = new _renderer.default(options, options.outputStream);
104
+ const input = new _input.default(options.inputStream);
105
+ input.setDefaultValue(options.defaultValue);
106
+ input.attachRenderer(renderer); // handle array and object values
107
+
108
+ let valueMapper;
109
+
110
+ if (Array.isArray(options.values)) {
111
+ valueMapper = (0, _valueMappers.withArrayValues)(options);
112
+ } else {
113
+ valueMapper = (0, _valueMappers.withObjectValues)(options);
114
+ } // map values
115
+
116
+
117
+ options.values = valueMapper.input;
118
+ input.setValues(options.values); // handle different callback methods
119
+
120
+ if (typeof callback === 'function') {
121
+ return (0, _callbackMappers.withCallback)(input, valueMapper.output, callback);
122
+ } else {
123
+ return (0, _callbackMappers.withPromise)(input, valueMapper.output);
124
+ }
125
+ };
126
+
127
+ exports = module.exports = creator;
128
+ Object.defineProperty(exports, "__esModule", ({
129
+ value: true
130
+ }));
131
+ var _default = creator;
132
+ exports["default"] = _default;
133
+
134
+ /***/ }),
135
+
136
+ /***/ 938:
137
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
138
+
139
+
140
+
141
+ Object.defineProperty(exports, "__esModule", ({
142
+ value: true
143
+ }));
144
+ exports["default"] = void 0;
145
+
146
+ var _readline = _interopRequireDefault(__webpack_require__(785));
147
+
148
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
149
+
150
+ /**
151
+ * Handle cli input
152
+ */
153
+ class Input {
154
+ /**
155
+ * Input constructor
156
+ *
157
+ * @param {any} stream - stream to catch (optional)
158
+ */
159
+ constructor(stream = process.stdin) {
160
+ // set default values
161
+ this.stream = stream;
162
+ this.values = [];
163
+ this.selectedValue = 0;
164
+
165
+ this.onSelectListener = () => {};
166
+
167
+ this.onKeyPress = this.onKeyPress.bind(this);
168
+ }
169
+ /**
170
+ * Set the available values
171
+ *
172
+ * @param {array} values - all available values
173
+ */
174
+
175
+
176
+ setValues(values) {
177
+ this.values = values;
178
+
179
+ if (this.renderer) {
180
+ this.renderer.setValues(values);
181
+ }
182
+ }
183
+ /**
184
+ * Set the default value
185
+ *
186
+ * @param {number} defaultValue - default value id
187
+ */
188
+
189
+
190
+ setDefaultValue(defaultValue) {
191
+ this.selectedValue = defaultValue;
192
+ }
193
+ /**
194
+ * Attach a renderer to the input catcher
195
+ *
196
+ * @param {Renderer} renderer - renderer to use for rendering responses
197
+ */
198
+
199
+
200
+ attachRenderer(renderer) {
201
+ this.renderer = renderer;
202
+ this.renderer.setValues(this.values);
203
+ }
204
+ /**
205
+ * Register an on select listener
206
+ *
207
+ * @param {function} listener - listener function which receives two parameters: valueId and value
208
+ */
209
+
210
+
211
+ onSelect(listener) {
212
+ this.onSelectListener = listener;
213
+ }
214
+ /**
215
+ * Open the stream and listen for input
216
+ */
217
+
218
+
219
+ open() {
220
+ // register keypress event
221
+ _readline.default.emitKeypressEvents(this.stream); // handle keypress
222
+
223
+
224
+ this.stream.on('keypress', this.onKeyPress); // initially render the response
225
+
226
+ if (this.renderer) {
227
+ this.renderer.render(this.selectedValue);
228
+ } // hide pressed keys and start listening on input
229
+
230
+
231
+ this.stream.setRawMode(true);
232
+ this.stream.resume();
233
+ }
234
+ /**
235
+ * Close the stream
236
+ *
237
+ * @param {boolean} cancelled - true if no value was selected (optional)
238
+ */
239
+
240
+
241
+ close(cancelled = false) {
242
+ // reset stream properties
243
+ this.stream.setRawMode(false);
244
+ this.stream.pause(); // cleanup the output
245
+
246
+ if (this.renderer) {
247
+ this.renderer.cleanup();
248
+ } // call the on select listener
249
+
250
+
251
+ if (cancelled) {
252
+ this.onSelectListener(null);
253
+ } else {
254
+ this.onSelectListener(this.selectedValue, this.values[this.selectedValue]);
255
+ }
256
+
257
+ this.stream.removeListener('keypress', this.onKeyPress);
258
+ }
259
+ /**
260
+ * Render the response
261
+ */
262
+
263
+
264
+ render() {
265
+ if (!this.renderer) {
266
+ return;
267
+ }
268
+
269
+ this.renderer.render(this.selectedValue);
270
+ }
271
+ /**
272
+ * Handle key press event
273
+ *
274
+ * @param {string} string - input string
275
+ * @param {object} key - object containing information about the pressed key
276
+ */
277
+
278
+
279
+ onKeyPress(string, key) {
280
+ if (key) {
281
+ if (key.name === 'up' && this.selectedValue > 0) {
282
+ this.selectedValue--;
283
+ this.render();
284
+ } else if (key.name === 'down' && this.selectedValue + 1 < this.values.length) {
285
+ this.selectedValue++;
286
+ this.render();
287
+ } else if (key.name === 'return') {
288
+ this.close();
289
+ } else if (key.name === 'escape' || key.name === 'c' && key.ctrl) {
290
+ this.close(true);
291
+ }
292
+ }
293
+ }
294
+
295
+ }
296
+
297
+ exports["default"] = Input;
298
+
299
+ /***/ }),
300
+
301
+ /***/ 547:
302
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
303
+
304
+
305
+
306
+ Object.defineProperty(exports, "__esModule", ({
307
+ value: true
308
+ }));
309
+ exports["default"] = void 0;
310
+
311
+ var _readline = _interopRequireDefault(__webpack_require__(785));
312
+
313
+ var _ansiEscapes = __webpack_require__(719);
314
+
315
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
316
+
317
+ /**
318
+ * Response renderer
319
+ */
320
+ class Renderer {
321
+ /**
322
+ * Renderer constructor
323
+ *
324
+ * @param {object} options - renderer options
325
+ * @param {any} stream - stream to write to (optional)
326
+ */
327
+ constructor(options, stream = process.stdout) {
328
+ this.options = options;
329
+ this.stream = stream;
330
+ this.values = [];
331
+ this.initialRender = true;
332
+ }
333
+ /**
334
+ * Set the available values
335
+ *
336
+ * @param {array} values - all available values
337
+ */
338
+
339
+
340
+ setValues(values) {
341
+ this.values = values;
342
+ }
343
+ /**
344
+ * Render the values
345
+ *
346
+ * @param {number} selectedValue - selected value (optional)
347
+ */
348
+
349
+
350
+ render(selectedValue = 0) {
351
+ if (this.initialRender) {
352
+ // hide the cursor initially
353
+ this.initialRender = false;
354
+ this.stream.write(_ansiEscapes.cursorHide);
355
+ } else {
356
+ // remove previous lines and values
357
+ this.stream.write((0, _ansiEscapes.eraseLines)(this.values.length));
358
+ } // output the current values
359
+
360
+
361
+ this.values.forEach((value, index) => {
362
+ const symbol = selectedValue === index ? this.options.selected : this.options.unselected;
363
+ const indentation = ' '.repeat(this.options.indentation);
364
+ const renderedValue = this.options.valueRenderer(value, selectedValue === index);
365
+ const end = index !== this.values.length - 1 ? '\n' : '';
366
+ this.stream.write(indentation + symbol + ' ' + renderedValue + end);
367
+ });
368
+ }
369
+ /**
370
+ * Cleanup the console at the end
371
+ */
372
+
373
+
374
+ cleanup() {
375
+ this.stream.write((0, _ansiEscapes.eraseLines)(this.values.length));
376
+ this.stream.write(_ansiEscapes.cursorShow);
377
+ }
378
+
379
+ }
380
+
381
+ exports["default"] = Renderer;
382
+
383
+ /***/ }),
384
+
385
+ /***/ 348:
386
+ /***/ ((__unused_webpack_module, exports) => {
387
+
388
+
389
+
390
+ Object.defineProperty(exports, "__esModule", ({
391
+ value: true
392
+ }));
393
+ exports.withObjectValues = exports.withArrayValues = void 0;
394
+
395
+ /**
396
+ * Map incoming and outgoing values if the initial values are an array
397
+ *
398
+ * @param {object} options - cli-select options
399
+ */
400
+ const withArrayValues = options => {
401
+ return {
402
+ input: options.values,
403
+ output: (id, value) => {
404
+ return {
405
+ id,
406
+ value
407
+ };
408
+ }
409
+ };
410
+ };
411
+ /**
412
+ * Map incoming and outgoing values if the initial values are an object
413
+ *
414
+ * @param {object} options - cli-select options
415
+ */
416
+
417
+
418
+ exports.withArrayValues = withArrayValues;
419
+
420
+ const withObjectValues = options => {
421
+ const originalValues = options.values;
422
+ return {
423
+ input: Object.values(originalValues),
424
+ output: (id, value) => {
425
+ return {
426
+ id: Object.keys(originalValues)[id],
427
+ value
428
+ };
429
+ }
430
+ };
431
+ };
432
+
433
+ exports.withObjectValues = withObjectValues;
434
+
435
+ /***/ }),
436
+
437
+ /***/ 719:
438
+ /***/ ((module) => {
439
+
440
+
441
+ const x = module.exports;
442
+ const ESC = '\u001B[';
443
+ const OSC = '\u001B]';
444
+ const BEL = '\u0007';
445
+ const SEP = ';';
446
+ const isTerminalApp = process.env.TERM_PROGRAM === 'Apple_Terminal';
447
+
448
+ x.cursorTo = (x, y) => {
449
+ if (typeof x !== 'number') {
450
+ throw new TypeError('The `x` argument is required');
451
+ }
452
+
453
+ if (typeof y !== 'number') {
454
+ return ESC + (x + 1) + 'G';
455
+ }
456
+
457
+ return ESC + (y + 1) + ';' + (x + 1) + 'H';
458
+ };
459
+
460
+ x.cursorMove = (x, y) => {
461
+ if (typeof x !== 'number') {
462
+ throw new TypeError('The `x` argument is required');
463
+ }
464
+
465
+ let ret = '';
466
+
467
+ if (x < 0) {
468
+ ret += ESC + (-x) + 'D';
469
+ } else if (x > 0) {
470
+ ret += ESC + x + 'C';
471
+ }
472
+
473
+ if (y < 0) {
474
+ ret += ESC + (-y) + 'A';
475
+ } else if (y > 0) {
476
+ ret += ESC + y + 'B';
477
+ }
478
+
479
+ return ret;
480
+ };
481
+
482
+ x.cursorUp = count => ESC + (typeof count === 'number' ? count : 1) + 'A';
483
+ x.cursorDown = count => ESC + (typeof count === 'number' ? count : 1) + 'B';
484
+ x.cursorForward = count => ESC + (typeof count === 'number' ? count : 1) + 'C';
485
+ x.cursorBackward = count => ESC + (typeof count === 'number' ? count : 1) + 'D';
486
+
487
+ x.cursorLeft = ESC + 'G';
488
+ x.cursorSavePosition = ESC + (isTerminalApp ? '7' : 's');
489
+ x.cursorRestorePosition = ESC + (isTerminalApp ? '8' : 'u');
490
+ x.cursorGetPosition = ESC + '6n';
491
+ x.cursorNextLine = ESC + 'E';
492
+ x.cursorPrevLine = ESC + 'F';
493
+ x.cursorHide = ESC + '?25l';
494
+ x.cursorShow = ESC + '?25h';
495
+
496
+ x.eraseLines = count => {
497
+ let clear = '';
498
+
499
+ for (let i = 0; i < count; i++) {
500
+ clear += x.eraseLine + (i < count - 1 ? x.cursorUp() : '');
501
+ }
502
+
503
+ if (count) {
504
+ clear += x.cursorLeft;
505
+ }
506
+
507
+ return clear;
508
+ };
509
+
510
+ x.eraseEndLine = ESC + 'K';
511
+ x.eraseStartLine = ESC + '1K';
512
+ x.eraseLine = ESC + '2K';
513
+ x.eraseDown = ESC + 'J';
514
+ x.eraseUp = ESC + '1J';
515
+ x.eraseScreen = ESC + '2J';
516
+ x.scrollUp = ESC + 'S';
517
+ x.scrollDown = ESC + 'T';
518
+
519
+ x.clearScreen = '\u001Bc';
520
+
521
+ x.clearTerminal = process.platform === 'win32' ?
522
+ `${x.eraseScreen}${ESC}0f` :
523
+ // 1. Erases the screen (Only done in case `2` is not supported)
524
+ // 2. Erases the whole screen including scrollback buffer
525
+ // 3. Moves cursor to the top-left position
526
+ // More info: https://www.real-world-systems.com/docs/ANSIcode.html
527
+ `${x.eraseScreen}${ESC}3J${ESC}H`;
528
+
529
+ x.beep = BEL;
530
+
531
+ x.link = (text, url) => {
532
+ return [
533
+ OSC,
534
+ '8',
535
+ SEP,
536
+ SEP,
537
+ url,
538
+ BEL,
539
+ text,
540
+ OSC,
541
+ '8',
542
+ SEP,
543
+ SEP,
544
+ BEL
545
+ ].join('');
546
+ };
547
+
548
+ x.image = (buf, opts) => {
549
+ opts = opts || {};
550
+
551
+ let ret = OSC + '1337;File=inline=1';
552
+
553
+ if (opts.width) {
554
+ ret += `;width=${opts.width}`;
555
+ }
556
+
557
+ if (opts.height) {
558
+ ret += `;height=${opts.height}`;
559
+ }
560
+
561
+ if (opts.preserveAspectRatio === false) {
562
+ ret += ';preserveAspectRatio=0';
563
+ }
564
+
565
+ return ret + ':' + buf.toString('base64') + BEL;
566
+ };
567
+
568
+ x.iTerm = {};
569
+
570
+ x.iTerm.setCwd = cwd => OSC + '50;CurrentDir=' + (cwd || process.cwd()) + BEL;
571
+
572
+
573
+ /***/ }),
574
+
575
+ /***/ 797:
576
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
577
+
578
+
579
+ // EXPORTS
580
+ __webpack_require__.d(__webpack_exports__, {
581
+ Ay: () => (/* binding */ source)
582
+ });
583
+
584
+ // UNUSED EXPORTS: Chalk, backgroundColorNames, backgroundColors, chalkStderr, colorNames, colors, foregroundColorNames, foregroundColors, modifierNames, modifiers, supportsColor, supportsColorStderr
585
+
586
+ ;// CONCATENATED MODULE: ./node_modules/chalk/source/vendor/ansi-styles/index.js
587
+ const ANSI_BACKGROUND_OFFSET = 10;
588
+
589
+ const wrapAnsi16 = (offset = 0) => code => `\u001B[${code + offset}m`;
590
+
591
+ const wrapAnsi256 = (offset = 0) => code => `\u001B[${38 + offset};5;${code}m`;
592
+
593
+ const wrapAnsi16m = (offset = 0) => (red, green, blue) => `\u001B[${38 + offset};2;${red};${green};${blue}m`;
594
+
595
+ const styles = {
596
+ modifier: {
597
+ reset: [0, 0],
598
+ // 21 isn't widely supported and 22 does the same thing
599
+ bold: [1, 22],
600
+ dim: [2, 22],
601
+ italic: [3, 23],
602
+ underline: [4, 24],
603
+ overline: [53, 55],
604
+ inverse: [7, 27],
605
+ hidden: [8, 28],
606
+ strikethrough: [9, 29],
607
+ },
608
+ color: {
609
+ black: [30, 39],
610
+ red: [31, 39],
611
+ green: [32, 39],
612
+ yellow: [33, 39],
613
+ blue: [34, 39],
614
+ magenta: [35, 39],
615
+ cyan: [36, 39],
616
+ white: [37, 39],
617
+
618
+ // Bright color
619
+ blackBright: [90, 39],
620
+ gray: [90, 39], // Alias of `blackBright`
621
+ grey: [90, 39], // Alias of `blackBright`
622
+ redBright: [91, 39],
623
+ greenBright: [92, 39],
624
+ yellowBright: [93, 39],
625
+ blueBright: [94, 39],
626
+ magentaBright: [95, 39],
627
+ cyanBright: [96, 39],
628
+ whiteBright: [97, 39],
629
+ },
630
+ bgColor: {
631
+ bgBlack: [40, 49],
632
+ bgRed: [41, 49],
633
+ bgGreen: [42, 49],
634
+ bgYellow: [43, 49],
635
+ bgBlue: [44, 49],
636
+ bgMagenta: [45, 49],
637
+ bgCyan: [46, 49],
638
+ bgWhite: [47, 49],
639
+
640
+ // Bright color
641
+ bgBlackBright: [100, 49],
642
+ bgGray: [100, 49], // Alias of `bgBlackBright`
643
+ bgGrey: [100, 49], // Alias of `bgBlackBright`
644
+ bgRedBright: [101, 49],
645
+ bgGreenBright: [102, 49],
646
+ bgYellowBright: [103, 49],
647
+ bgBlueBright: [104, 49],
648
+ bgMagentaBright: [105, 49],
649
+ bgCyanBright: [106, 49],
650
+ bgWhiteBright: [107, 49],
651
+ },
652
+ };
653
+
654
+ const modifierNames = Object.keys(styles.modifier);
655
+ const foregroundColorNames = Object.keys(styles.color);
656
+ const backgroundColorNames = Object.keys(styles.bgColor);
657
+ const colorNames = [...foregroundColorNames, ...backgroundColorNames];
658
+
659
+ function assembleStyles() {
660
+ const codes = new Map();
661
+
662
+ for (const [groupName, group] of Object.entries(styles)) {
663
+ for (const [styleName, style] of Object.entries(group)) {
664
+ styles[styleName] = {
665
+ open: `\u001B[${style[0]}m`,
666
+ close: `\u001B[${style[1]}m`,
667
+ };
668
+
669
+ group[styleName] = styles[styleName];
670
+
671
+ codes.set(style[0], style[1]);
672
+ }
673
+
674
+ Object.defineProperty(styles, groupName, {
675
+ value: group,
676
+ enumerable: false,
677
+ });
678
+ }
679
+
680
+ Object.defineProperty(styles, 'codes', {
681
+ value: codes,
682
+ enumerable: false,
683
+ });
684
+
685
+ styles.color.close = '\u001B[39m';
686
+ styles.bgColor.close = '\u001B[49m';
687
+
688
+ styles.color.ansi = wrapAnsi16();
689
+ styles.color.ansi256 = wrapAnsi256();
690
+ styles.color.ansi16m = wrapAnsi16m();
691
+ styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
692
+ styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
693
+ styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
694
+
695
+ // From https://github.com/Qix-/color-convert/blob/3f0e0d4e92e235796ccb17f6e85c72094a651f49/conversions.js
696
+ Object.defineProperties(styles, {
697
+ rgbToAnsi256: {
698
+ value(red, green, blue) {
699
+ // We use the extended greyscale palette here, with the exception of
700
+ // black and white. normal palette only has 4 greyscale shades.
701
+ if (red === green && green === blue) {
702
+ if (red < 8) {
703
+ return 16;
704
+ }
705
+
706
+ if (red > 248) {
707
+ return 231;
708
+ }
709
+
710
+ return Math.round(((red - 8) / 247) * 24) + 232;
711
+ }
712
+
713
+ return 16
714
+ + (36 * Math.round(red / 255 * 5))
715
+ + (6 * Math.round(green / 255 * 5))
716
+ + Math.round(blue / 255 * 5);
717
+ },
718
+ enumerable: false,
719
+ },
720
+ hexToRgb: {
721
+ value(hex) {
722
+ const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
723
+ if (!matches) {
724
+ return [0, 0, 0];
725
+ }
726
+
727
+ let [colorString] = matches;
728
+
729
+ if (colorString.length === 3) {
730
+ colorString = [...colorString].map(character => character + character).join('');
731
+ }
732
+
733
+ const integer = Number.parseInt(colorString, 16);
734
+
735
+ return [
736
+ /* eslint-disable no-bitwise */
737
+ (integer >> 16) & 0xFF,
738
+ (integer >> 8) & 0xFF,
739
+ integer & 0xFF,
740
+ /* eslint-enable no-bitwise */
741
+ ];
742
+ },
743
+ enumerable: false,
744
+ },
745
+ hexToAnsi256: {
746
+ value: hex => styles.rgbToAnsi256(...styles.hexToRgb(hex)),
747
+ enumerable: false,
748
+ },
749
+ ansi256ToAnsi: {
750
+ value(code) {
751
+ if (code < 8) {
752
+ return 30 + code;
753
+ }
754
+
755
+ if (code < 16) {
756
+ return 90 + (code - 8);
757
+ }
758
+
759
+ let red;
760
+ let green;
761
+ let blue;
762
+
763
+ if (code >= 232) {
764
+ red = (((code - 232) * 10) + 8) / 255;
765
+ green = red;
766
+ blue = red;
767
+ } else {
768
+ code -= 16;
769
+
770
+ const remainder = code % 36;
771
+
772
+ red = Math.floor(code / 36) / 5;
773
+ green = Math.floor(remainder / 6) / 5;
774
+ blue = (remainder % 6) / 5;
775
+ }
776
+
777
+ const value = Math.max(red, green, blue) * 2;
778
+
779
+ if (value === 0) {
780
+ return 30;
781
+ }
782
+
783
+ // eslint-disable-next-line no-bitwise
784
+ let result = 30 + ((Math.round(blue) << 2) | (Math.round(green) << 1) | Math.round(red));
785
+
786
+ if (value === 2) {
787
+ result += 60;
788
+ }
789
+
790
+ return result;
791
+ },
792
+ enumerable: false,
793
+ },
794
+ rgbToAnsi: {
795
+ value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),
796
+ enumerable: false,
797
+ },
798
+ hexToAnsi: {
799
+ value: hex => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),
800
+ enumerable: false,
801
+ },
802
+ });
803
+
804
+ return styles;
805
+ }
806
+
807
+ const ansiStyles = assembleStyles();
808
+
809
+ /* harmony default export */ const ansi_styles = (ansiStyles);
810
+
811
+ // EXTERNAL MODULE: external "node:process"
812
+ var external_node_process_ = __webpack_require__(708);
813
+ // EXTERNAL MODULE: external "node:os"
814
+ var external_node_os_ = __webpack_require__(161);
815
+ // EXTERNAL MODULE: external "node:tty"
816
+ var external_node_tty_ = __webpack_require__(66);
817
+ ;// CONCATENATED MODULE: ./node_modules/chalk/source/vendor/supports-color/index.js
818
+
819
+
820
+
821
+
822
+ // From: https://github.com/sindresorhus/has-flag/blob/main/index.js
823
+ /// function hasFlag(flag, argv = globalThis.Deno?.args ?? process.argv) {
824
+ function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : external_node_process_.argv) {
825
+ const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
826
+ const position = argv.indexOf(prefix + flag);
827
+ const terminatorPosition = argv.indexOf('--');
828
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
829
+ }
830
+
831
+ const {env} = external_node_process_;
832
+
833
+ let flagForceColor;
834
+ if (
835
+ hasFlag('no-color')
836
+ || hasFlag('no-colors')
837
+ || hasFlag('color=false')
838
+ || hasFlag('color=never')
839
+ ) {
840
+ flagForceColor = 0;
841
+ } else if (
842
+ hasFlag('color')
843
+ || hasFlag('colors')
844
+ || hasFlag('color=true')
845
+ || hasFlag('color=always')
846
+ ) {
847
+ flagForceColor = 1;
848
+ }
849
+
850
+ function envForceColor() {
851
+ if ('FORCE_COLOR' in env) {
852
+ if (env.FORCE_COLOR === 'true') {
853
+ return 1;
854
+ }
855
+
856
+ if (env.FORCE_COLOR === 'false') {
857
+ return 0;
858
+ }
859
+
860
+ return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
861
+ }
862
+ }
863
+
864
+ function translateLevel(level) {
865
+ if (level === 0) {
866
+ return false;
867
+ }
868
+
869
+ return {
870
+ level,
871
+ hasBasic: true,
872
+ has256: level >= 2,
873
+ has16m: level >= 3,
874
+ };
875
+ }
876
+
877
+ function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {
878
+ const noFlagForceColor = envForceColor();
879
+ if (noFlagForceColor !== undefined) {
880
+ flagForceColor = noFlagForceColor;
881
+ }
882
+
883
+ const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
884
+
885
+ if (forceColor === 0) {
886
+ return 0;
887
+ }
888
+
889
+ if (sniffFlags) {
890
+ if (hasFlag('color=16m')
891
+ || hasFlag('color=full')
892
+ || hasFlag('color=truecolor')) {
893
+ return 3;
894
+ }
895
+
896
+ if (hasFlag('color=256')) {
897
+ return 2;
898
+ }
899
+ }
900
+
901
+ // Check for Azure DevOps pipelines.
902
+ // Has to be above the `!streamIsTTY` check.
903
+ if ('TF_BUILD' in env && 'AGENT_NAME' in env) {
904
+ return 1;
905
+ }
906
+
907
+ if (haveStream && !streamIsTTY && forceColor === undefined) {
908
+ return 0;
909
+ }
910
+
911
+ const min = forceColor || 0;
912
+
913
+ if (env.TERM === 'dumb') {
914
+ return min;
915
+ }
916
+
917
+ if (external_node_process_.platform === 'win32') {
918
+ // Windows 10 build 10586 is the first Windows release that supports 256 colors.
919
+ // Windows 10 build 14931 is the first release that supports 16m/TrueColor.
920
+ const osRelease = external_node_os_.release().split('.');
921
+ if (
922
+ Number(osRelease[0]) >= 10
923
+ && Number(osRelease[2]) >= 10_586
924
+ ) {
925
+ return Number(osRelease[2]) >= 14_931 ? 3 : 2;
926
+ }
927
+
928
+ return 1;
929
+ }
930
+
931
+ if ('CI' in env) {
932
+ if ('GITHUB_ACTIONS' in env || 'GITEA_ACTIONS' in env) {
933
+ return 3;
934
+ }
935
+
936
+ if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'BUILDKITE', 'DRONE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
937
+ return 1;
938
+ }
939
+
940
+ return min;
941
+ }
942
+
943
+ if ('TEAMCITY_VERSION' in env) {
944
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
945
+ }
946
+
947
+ if (env.COLORTERM === 'truecolor') {
948
+ return 3;
949
+ }
950
+
951
+ if (env.TERM === 'xterm-kitty') {
952
+ return 3;
953
+ }
954
+
955
+ if ('TERM_PROGRAM' in env) {
956
+ const version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
957
+
958
+ switch (env.TERM_PROGRAM) {
959
+ case 'iTerm.app': {
960
+ return version >= 3 ? 3 : 2;
961
+ }
962
+
963
+ case 'Apple_Terminal': {
964
+ return 2;
965
+ }
966
+ // No default
967
+ }
968
+ }
969
+
970
+ if (/-256(color)?$/i.test(env.TERM)) {
971
+ return 2;
972
+ }
973
+
974
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
975
+ return 1;
976
+ }
977
+
978
+ if ('COLORTERM' in env) {
979
+ return 1;
980
+ }
981
+
982
+ return min;
983
+ }
984
+
985
+ function createSupportsColor(stream, options = {}) {
986
+ const level = _supportsColor(stream, {
987
+ streamIsTTY: stream && stream.isTTY,
988
+ ...options,
989
+ });
990
+
991
+ return translateLevel(level);
992
+ }
993
+
994
+ const supportsColor = {
995
+ stdout: createSupportsColor({isTTY: external_node_tty_.isatty(1)}),
996
+ stderr: createSupportsColor({isTTY: external_node_tty_.isatty(2)}),
997
+ };
998
+
999
+ /* harmony default export */ const supports_color = (supportsColor);
1000
+
1001
+ ;// CONCATENATED MODULE: ./node_modules/chalk/source/utilities.js
1002
+ // TODO: When targeting Node.js 16, use `String.prototype.replaceAll`.
1003
+ function stringReplaceAll(string, substring, replacer) {
1004
+ let index = string.indexOf(substring);
1005
+ if (index === -1) {
1006
+ return string;
1007
+ }
1008
+
1009
+ const substringLength = substring.length;
1010
+ let endIndex = 0;
1011
+ let returnValue = '';
1012
+ do {
1013
+ returnValue += string.slice(endIndex, index) + substring + replacer;
1014
+ endIndex = index + substringLength;
1015
+ index = string.indexOf(substring, endIndex);
1016
+ } while (index !== -1);
1017
+
1018
+ returnValue += string.slice(endIndex);
1019
+ return returnValue;
1020
+ }
1021
+
1022
+ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
1023
+ let endIndex = 0;
1024
+ let returnValue = '';
1025
+ do {
1026
+ const gotCR = string[index - 1] === '\r';
1027
+ returnValue += string.slice(endIndex, (gotCR ? index - 1 : index)) + prefix + (gotCR ? '\r\n' : '\n') + postfix;
1028
+ endIndex = index + 1;
1029
+ index = string.indexOf('\n', endIndex);
1030
+ } while (index !== -1);
1031
+
1032
+ returnValue += string.slice(endIndex);
1033
+ return returnValue;
1034
+ }
1035
+
1036
+ ;// CONCATENATED MODULE: ./node_modules/chalk/source/index.js
1037
+
1038
+
1039
+
1040
+
1041
+ const {stdout: stdoutColor, stderr: stderrColor} = supports_color;
1042
+
1043
+ const GENERATOR = Symbol('GENERATOR');
1044
+ const STYLER = Symbol('STYLER');
1045
+ const IS_EMPTY = Symbol('IS_EMPTY');
1046
+
1047
+ // `supportsColor.level` → `ansiStyles.color[name]` mapping
1048
+ const levelMapping = [
1049
+ 'ansi',
1050
+ 'ansi',
1051
+ 'ansi256',
1052
+ 'ansi16m',
1053
+ ];
1054
+
1055
+ const source_styles = Object.create(null);
1056
+
1057
+ const applyOptions = (object, options = {}) => {
1058
+ if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
1059
+ throw new Error('The `level` option should be an integer from 0 to 3');
1060
+ }
1061
+
1062
+ // Detect level if not set manually
1063
+ const colorLevel = stdoutColor ? stdoutColor.level : 0;
1064
+ object.level = options.level === undefined ? colorLevel : options.level;
1065
+ };
1066
+
1067
+ class Chalk {
1068
+ constructor(options) {
1069
+ // eslint-disable-next-line no-constructor-return
1070
+ return chalkFactory(options);
1071
+ }
1072
+ }
1073
+
1074
+ const chalkFactory = options => {
1075
+ const chalk = (...strings) => strings.join(' ');
1076
+ applyOptions(chalk, options);
1077
+
1078
+ Object.setPrototypeOf(chalk, createChalk.prototype);
1079
+
1080
+ return chalk;
1081
+ };
1082
+
1083
+ function createChalk(options) {
1084
+ return chalkFactory(options);
1085
+ }
1086
+
1087
+ Object.setPrototypeOf(createChalk.prototype, Function.prototype);
1088
+
1089
+ for (const [styleName, style] of Object.entries(ansi_styles)) {
1090
+ source_styles[styleName] = {
1091
+ get() {
1092
+ const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);
1093
+ Object.defineProperty(this, styleName, {value: builder});
1094
+ return builder;
1095
+ },
1096
+ };
1097
+ }
1098
+
1099
+ source_styles.visible = {
1100
+ get() {
1101
+ const builder = createBuilder(this, this[STYLER], true);
1102
+ Object.defineProperty(this, 'visible', {value: builder});
1103
+ return builder;
1104
+ },
1105
+ };
1106
+
1107
+ const getModelAnsi = (model, level, type, ...arguments_) => {
1108
+ if (model === 'rgb') {
1109
+ if (level === 'ansi16m') {
1110
+ return ansi_styles[type].ansi16m(...arguments_);
1111
+ }
1112
+
1113
+ if (level === 'ansi256') {
1114
+ return ansi_styles[type].ansi256(ansi_styles.rgbToAnsi256(...arguments_));
1115
+ }
1116
+
1117
+ return ansi_styles[type].ansi(ansi_styles.rgbToAnsi(...arguments_));
1118
+ }
1119
+
1120
+ if (model === 'hex') {
1121
+ return getModelAnsi('rgb', level, type, ...ansi_styles.hexToRgb(...arguments_));
1122
+ }
1123
+
1124
+ return ansi_styles[type][model](...arguments_);
1125
+ };
1126
+
1127
+ const usedModels = ['rgb', 'hex', 'ansi256'];
1128
+
1129
+ for (const model of usedModels) {
1130
+ source_styles[model] = {
1131
+ get() {
1132
+ const {level} = this;
1133
+ return function (...arguments_) {
1134
+ const styler = createStyler(getModelAnsi(model, levelMapping[level], 'color', ...arguments_), ansi_styles.color.close, this[STYLER]);
1135
+ return createBuilder(this, styler, this[IS_EMPTY]);
1136
+ };
1137
+ },
1138
+ };
1139
+
1140
+ const bgModel = 'bg' + model[0].toUpperCase() + model.slice(1);
1141
+ source_styles[bgModel] = {
1142
+ get() {
1143
+ const {level} = this;
1144
+ return function (...arguments_) {
1145
+ const styler = createStyler(getModelAnsi(model, levelMapping[level], 'bgColor', ...arguments_), ansi_styles.bgColor.close, this[STYLER]);
1146
+ return createBuilder(this, styler, this[IS_EMPTY]);
1147
+ };
1148
+ },
1149
+ };
1150
+ }
1151
+
1152
+ const proto = Object.defineProperties(() => {}, {
1153
+ ...source_styles,
1154
+ level: {
1155
+ enumerable: true,
1156
+ get() {
1157
+ return this[GENERATOR].level;
1158
+ },
1159
+ set(level) {
1160
+ this[GENERATOR].level = level;
1161
+ },
1162
+ },
1163
+ });
1164
+
1165
+ const createStyler = (open, close, parent) => {
1166
+ let openAll;
1167
+ let closeAll;
1168
+ if (parent === undefined) {
1169
+ openAll = open;
1170
+ closeAll = close;
1171
+ } else {
1172
+ openAll = parent.openAll + open;
1173
+ closeAll = close + parent.closeAll;
1174
+ }
1175
+
1176
+ return {
1177
+ open,
1178
+ close,
1179
+ openAll,
1180
+ closeAll,
1181
+ parent,
1182
+ };
1183
+ };
1184
+
1185
+ const createBuilder = (self, _styler, _isEmpty) => {
1186
+ // Single argument is hot path, implicit coercion is faster than anything
1187
+ // eslint-disable-next-line no-implicit-coercion
1188
+ const builder = (...arguments_) => applyStyle(builder, (arguments_.length === 1) ? ('' + arguments_[0]) : arguments_.join(' '));
1189
+
1190
+ // We alter the prototype because we must return a function, but there is
1191
+ // no way to create a function with a different prototype
1192
+ Object.setPrototypeOf(builder, proto);
1193
+
1194
+ builder[GENERATOR] = self;
1195
+ builder[STYLER] = _styler;
1196
+ builder[IS_EMPTY] = _isEmpty;
1197
+
1198
+ return builder;
1199
+ };
1200
+
1201
+ const applyStyle = (self, string) => {
1202
+ if (self.level <= 0 || !string) {
1203
+ return self[IS_EMPTY] ? '' : string;
1204
+ }
1205
+
1206
+ let styler = self[STYLER];
1207
+
1208
+ if (styler === undefined) {
1209
+ return string;
1210
+ }
1211
+
1212
+ const {openAll, closeAll} = styler;
1213
+ if (string.includes('\u001B')) {
1214
+ while (styler !== undefined) {
1215
+ // Replace any instances already present with a re-opening code
1216
+ // otherwise only the part of the string until said closing code
1217
+ // will be colored, and the rest will simply be 'plain'.
1218
+ string = stringReplaceAll(string, styler.close, styler.open);
1219
+
1220
+ styler = styler.parent;
1221
+ }
1222
+ }
1223
+
1224
+ // We can move both next actions out of loop, because remaining actions in loop won't have
1225
+ // any/visible effect on parts we add here. Close the styling before a linebreak and reopen
1226
+ // after next line to fix a bleed issue on macOS: https://github.com/chalk/chalk/pull/92
1227
+ const lfIndex = string.indexOf('\n');
1228
+ if (lfIndex !== -1) {
1229
+ string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
1230
+ }
1231
+
1232
+ return openAll + string + closeAll;
1233
+ };
1234
+
1235
+ Object.defineProperties(createChalk.prototype, source_styles);
1236
+
1237
+ const chalk = createChalk();
1238
+ const chalkStderr = createChalk({level: stderrColor ? stderrColor.level : 0});
1239
+
1240
+
1241
+
1242
+
1243
+
1244
+ /* harmony default export */ const source = (chalk);
1245
+
1246
+
1247
+ /***/ })
1248
+
1249
+ };
1250
+ ;