@zitadel/components 0.1.0-alpha.14 → 0.1.0-alpha.16

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 (32) hide show
  1. package/README.md +1 -0
  2. package/dist/atoms/index.d.mts +1 -1
  3. package/dist/atoms/index.mjs +1 -1
  4. package/dist/{atoms-BSwVl736.mjs → atoms-C-zXJjaz.mjs} +106 -10
  5. package/dist/{atoms-BSwVl736.mjs.map → atoms-C-zXJjaz.mjs.map} +1 -1
  6. package/dist/default-BoC3JEsO.mjs +6 -0
  7. package/dist/default-BoC3JEsO.mjs.map +1 -0
  8. package/dist/{index-EC-BnGsx.d.mts → index-BniwXaIC.d.mts} +3 -1
  9. package/dist/{index-EC-BnGsx.d.mts.map → index-BniwXaIC.d.mts.map} +1 -1
  10. package/dist/{index-Bypr00UG.d.mts → index-BwQLFs9R.d.mts} +362 -17
  11. package/dist/index-BwQLFs9R.d.mts.map +1 -0
  12. package/dist/{index-BP3l3mje.d.mts → index-D1eMaWbY.d.mts} +52 -5
  13. package/dist/index-D1eMaWbY.d.mts.map +1 -0
  14. package/dist/index.d.mts +4 -4
  15. package/dist/index.mjs +4 -4
  16. package/dist/manifests.mjs +1 -1
  17. package/dist/orchestrator/index.d.mts +2 -2
  18. package/dist/orchestrator/index.mjs +2 -2
  19. package/dist/{orchestrator-qkFBKFgJ.mjs → orchestrator-BN2nT9FZ.mjs} +317 -25
  20. package/dist/orchestrator-BN2nT9FZ.mjs.map +1 -0
  21. package/dist/standalone.mjs +423 -33
  22. package/dist/tokens/index.d.mts +1 -1
  23. package/dist/tokens/index.mjs +1 -1
  24. package/dist/{tokens-C0j4iCrs.mjs → tokens-CbH2s1jV.mjs} +6 -4
  25. package/dist/tokens-CbH2s1jV.mjs.map +1 -0
  26. package/package.json +5 -4
  27. package/dist/default-W5MwYLBc.mjs +0 -6
  28. package/dist/default-W5MwYLBc.mjs.map +0 -1
  29. package/dist/index-BP3l3mje.d.mts.map +0 -1
  30. package/dist/index-Bypr00UG.d.mts.map +0 -1
  31. package/dist/orchestrator-qkFBKFgJ.mjs.map +0 -1
  32. package/dist/tokens-C0j4iCrs.mjs.map +0 -1
@@ -0,0 +1,6 @@
1
+ //#region src/orchestrator/templates/default.liquid
2
+ var default_default = "<zl-page-shell data-zl-template-root>\n {% if branding.logo_url %}\n <img slot=\"header\" class=\"zl-card-logo\" src=\"{{ branding.logo_url }}\" alt=\"\" />\n {% endif %}\n <zl-card>\n <h1 slot=\"header\" class=\"zl-card-title\">{{ step.texts.title_key | t: identity.display_name }}</h1>\n {% if step.texts.description_key %}\n {% assign card_subtitle = step.texts.description_key | t: identity.display_name %}\n {% if card_subtitle != \"\" %}\n <p slot=\"header\" class=\"zl-card-subtitle\">{{ card_subtitle }}</p>\n {% endif %}\n {% endif %}\n\n {% if errors and errors.size > 0 %}\n {% for err in errors %}\n {% if err | formLevelError %}\n {% assign alert_heading = err.text_key | alertHeading %}\n {% assign alert_body = err.text_key | alertBody %}\n <zl-alert severity=\"error\" dismissible data-zl-step-error{% if alert_heading != \"\" %} heading=\"{{ alert_heading | t }}\"{% endif %}>\n {% if alert_body != \"\" %}{{ alert_body | t }}{% elsif err.text_key %}{{ err.text_key | t }}{% else %}{{ err.message }}{% endif %}\n </zl-alert>\n {% endif %}\n {% endfor %}\n {% endif %}\n\n {% for f in fields %}\n {% assign field_placeholder = f.text_key | fieldPlaceholder %}\n {% assign field_help = f.text_key | fieldHelp %}\n {% assign field_err = f.name | fieldError: errors %}\n {% case f.type %}\n {% when 'checkbox' %}\n <zl-checkbox\n name=\"{{ f.name }}\"\n data-testid=\"zitadel-field-{{ f.name }}\"\n label=\"{{ f.text_key | t }}\"\n value=\"true\"\n {% if f.value %}checked{% endif %}\n {% if f.required %}required{% endif %}\n ></zl-checkbox>\n {% when 'select' %}\n <zl-select\n name=\"{{ f.name }}\"\n data-testid=\"zitadel-field-{{ f.name }}\"\n label=\"{{ f.text_key | t }}\"\n value=\"{{ f.value }}\"\n options='{{ f.validation.enum | selectOptions | json }}'\n {% if f.required %}required{% endif %}\n {% if field_placeholder != \"\" %}placeholder=\"{{ field_placeholder }}\"{% endif %}\n ></zl-select>\n {% else %}\n {% assign autocomplete_val = '' %}\n {% if f.name == 'email' %}\n {% assign autocomplete_val = 'email' %}\n {% elsif f.type == 'password' and step.name contains 'register' %}\n {% assign autocomplete_val = 'new-password' %}\n {% elsif f.type == 'password' %}\n {% assign autocomplete_val = 'current-password' %}\n {% endif %}\n <zl-field\n name=\"{{ f.name }}\"\n data-testid=\"zitadel-field-{{ f.name }}\"\n label=\"{{ f.text_key | t }}\"\n type=\"{{ f.type }}\"\n value=\"{{ f.value }}\"\n {% if autocomplete_val != '' %}autocomplete=\"{{ autocomplete_val }}\"{% endif %}\n {% if f.required %}required{% endif %}\n {% if field_placeholder != \"\" %}placeholder=\"{{ field_placeholder }}\"{% endif %}\n {% if field_err != \"\" %}invalid error=\"{{ field_err }}\"{% endif %}\n >\n {% if field_help != \"\" %}\n <span slot=\"help\">{{ field_help }}</span>\n {% endif %}\n </zl-field>\n {% endcase %}\n {% endfor %}\n\n {% assign recover = actions | where: \"name\", \"recover\" | first %}\n {% if recover %}\n <p class=\"zl-card-forgot\">\n <a href=\"#\" class=\"zl-card-forgot__link\" data-action=\"recover\">{{ recover.text_key | t }}</a>\n </p>\n {% endif %}\n\n {% for a in actions %}\n {% if a.primary %}\n <zl-button\n hierarchy=\"primary\"\n size=\"medium\"\n type=\"submit\"\n block\n action=\"{{ a.name }}\"\n data-testid=\"zitadel-action-{{ a.name }}\"\n label=\"{{ a.text_key | t }}\"\n {% if loading %}loading{% endif %}\n ></zl-button>\n {% endif %}\n {% endfor %}\n\n {% for a in actions %}\n {% unless a.primary or a.name == 'passkey' or a.name == 'register' or a.name == 'sign_in' or a.name == 'recover' %}\n <zl-button\n hierarchy=\"secondary\"\n size=\"medium\"\n type=\"button\"\n block\n action=\"{{ a.name }}\"\n data-testid=\"zitadel-action-{{ a.name }}\"\n label=\"{{ a.text_key | t }}\"\n ></zl-button>\n {% endunless %}\n {% endfor %}\n\n {% assign passkey = actions | where: \"name\", \"passkey\" | first %}\n {% if passkey %}\n {% unless passkey.primary %}\n <zl-button\n hierarchy=\"secondary\"\n size=\"medium\"\n block\n action=\"passkey\"\n data-testid=\"zitadel-action-passkey\"\n label=\"{{ passkey.text_key | t }}\"\n ></zl-button>\n {% endunless %}\n {% endif %}\n\n\n {% assign register = actions | where: \"name\", \"register\" | first %}\n {% if register %}\n <p class=\"zl-card-nav\">\n {{ 'identifier.action.register.lead' | t }}<a href=\"#\" class=\"zl-card-nav__link\" data-action=\"register\" data-testid=\"zitadel-action-register-link\">{{ 'identifier.action.register.link' | t }}</a>\n </p>\n {% endif %}\n\n {% assign sign_in = actions | where: \"name\", \"sign_in\" | first %}\n {% if sign_in %}\n <p class=\"zl-card-nav\">\n {{ 'register.action.sign_in.lead' | t }}<a href=\"#\" class=\"zl-card-nav__link\" data-action=\"sign_in\" data-testid=\"zitadel-action-sign_in-link\">{{ 'register.action.sign_in.link' | t }}</a>\n </p>\n {% endif %}\n\n {% if challenge %}\n {% if challenge.method == \"passkey\" or challenge.method == \"passkey_register\" %}\n {% assign ceremony = \"authenticate\" %}\n {% assign submit_method = challenge.method %}\n {% if challenge.method == \"passkey_register\" or challenge.options.user %}\n {% assign ceremony = \"register\" %}\n {% assign submit_method = \"passkey_register\" %}\n {% endif %}\n <zl-passkey\n ceremony=\"{{ ceremony }}\"\n method=\"{{ submit_method }}\"\n challenge-id=\"{{ challenge.challenge_id }}\"\n options='{{ challenge.options | json }}'\n pending-label=\"{{ 'passkey.pending.status' | t }}\"\n cancel-label=\"{{ 'action.cancel' | t }}\"\n ></zl-passkey>\n {% endif %}\n {% endif %}\n\n {% mandatory_gates %}\n </zl-card>\n</zl-page-shell>\n";
3
+ //#endregion
4
+ export { default_default as t };
5
+
6
+ //# sourceMappingURL=default-BoC3JEsO.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default-BoC3JEsO.mjs","names":[],"sources":["../src/orchestrator/templates/default.liquid"],"sourcesContent":["export default \"<zl-page-shell data-zl-template-root>\\n {% if branding.logo_url %}\\n <img slot=\\\"header\\\" class=\\\"zl-card-logo\\\" src=\\\"{{ branding.logo_url }}\\\" alt=\\\"\\\" />\\n {% endif %}\\n <zl-card>\\n <h1 slot=\\\"header\\\" class=\\\"zl-card-title\\\">{{ step.texts.title_key | t: identity.display_name }}</h1>\\n {% if step.texts.description_key %}\\n {% assign card_subtitle = step.texts.description_key | t: identity.display_name %}\\n {% if card_subtitle != \\\"\\\" %}\\n <p slot=\\\"header\\\" class=\\\"zl-card-subtitle\\\">{{ card_subtitle }}</p>\\n {% endif %}\\n {% endif %}\\n\\n {% if errors and errors.size > 0 %}\\n {% for err in errors %}\\n {% if err | formLevelError %}\\n {% assign alert_heading = err.text_key | alertHeading %}\\n {% assign alert_body = err.text_key | alertBody %}\\n <zl-alert severity=\\\"error\\\" dismissible data-zl-step-error{% if alert_heading != \\\"\\\" %} heading=\\\"{{ alert_heading | t }}\\\"{% endif %}>\\n {% if alert_body != \\\"\\\" %}{{ alert_body | t }}{% elsif err.text_key %}{{ err.text_key | t }}{% else %}{{ err.message }}{% endif %}\\n </zl-alert>\\n {% endif %}\\n {% endfor %}\\n {% endif %}\\n\\n {% for f in fields %}\\n {% assign field_placeholder = f.text_key | fieldPlaceholder %}\\n {% assign field_help = f.text_key | fieldHelp %}\\n {% assign field_err = f.name | fieldError: errors %}\\n {% case f.type %}\\n {% when 'checkbox' %}\\n <zl-checkbox\\n name=\\\"{{ f.name }}\\\"\\n data-testid=\\\"zitadel-field-{{ f.name }}\\\"\\n label=\\\"{{ f.text_key | t }}\\\"\\n value=\\\"true\\\"\\n {% if f.value %}checked{% endif %}\\n {% if f.required %}required{% endif %}\\n ></zl-checkbox>\\n {% when 'select' %}\\n <zl-select\\n name=\\\"{{ f.name }}\\\"\\n data-testid=\\\"zitadel-field-{{ f.name }}\\\"\\n label=\\\"{{ f.text_key | t }}\\\"\\n value=\\\"{{ f.value }}\\\"\\n options='{{ f.validation.enum | selectOptions | json }}'\\n {% if f.required %}required{% endif %}\\n {% if field_placeholder != \\\"\\\" %}placeholder=\\\"{{ field_placeholder }}\\\"{% endif %}\\n ></zl-select>\\n {% else %}\\n {% assign autocomplete_val = '' %}\\n {% if f.name == 'email' %}\\n {% assign autocomplete_val = 'email' %}\\n {% elsif f.type == 'password' and step.name contains 'register' %}\\n {% assign autocomplete_val = 'new-password' %}\\n {% elsif f.type == 'password' %}\\n {% assign autocomplete_val = 'current-password' %}\\n {% endif %}\\n <zl-field\\n name=\\\"{{ f.name }}\\\"\\n data-testid=\\\"zitadel-field-{{ f.name }}\\\"\\n label=\\\"{{ f.text_key | t }}\\\"\\n type=\\\"{{ f.type }}\\\"\\n value=\\\"{{ f.value }}\\\"\\n {% if autocomplete_val != '' %}autocomplete=\\\"{{ autocomplete_val }}\\\"{% endif %}\\n {% if f.required %}required{% endif %}\\n {% if field_placeholder != \\\"\\\" %}placeholder=\\\"{{ field_placeholder }}\\\"{% endif %}\\n {% if field_err != \\\"\\\" %}invalid error=\\\"{{ field_err }}\\\"{% endif %}\\n >\\n {% if field_help != \\\"\\\" %}\\n <span slot=\\\"help\\\">{{ field_help }}</span>\\n {% endif %}\\n </zl-field>\\n {% endcase %}\\n {% endfor %}\\n\\n {% assign recover = actions | where: \\\"name\\\", \\\"recover\\\" | first %}\\n {% if recover %}\\n <p class=\\\"zl-card-forgot\\\">\\n <a href=\\\"#\\\" class=\\\"zl-card-forgot__link\\\" data-action=\\\"recover\\\">{{ recover.text_key | t }}</a>\\n </p>\\n {% endif %}\\n\\n {% for a in actions %}\\n {% if a.primary %}\\n <zl-button\\n hierarchy=\\\"primary\\\"\\n size=\\\"medium\\\"\\n type=\\\"submit\\\"\\n block\\n action=\\\"{{ a.name }}\\\"\\n data-testid=\\\"zitadel-action-{{ a.name }}\\\"\\n label=\\\"{{ a.text_key | t }}\\\"\\n {% if loading %}loading{% endif %}\\n ></zl-button>\\n {% endif %}\\n {% endfor %}\\n\\n {% for a in actions %}\\n {% unless a.primary or a.name == 'passkey' or a.name == 'register' or a.name == 'sign_in' or a.name == 'recover' %}\\n <zl-button\\n hierarchy=\\\"secondary\\\"\\n size=\\\"medium\\\"\\n type=\\\"button\\\"\\n block\\n action=\\\"{{ a.name }}\\\"\\n data-testid=\\\"zitadel-action-{{ a.name }}\\\"\\n label=\\\"{{ a.text_key | t }}\\\"\\n ></zl-button>\\n {% endunless %}\\n {% endfor %}\\n\\n {% assign passkey = actions | where: \\\"name\\\", \\\"passkey\\\" | first %}\\n {% if passkey %}\\n {% unless passkey.primary %}\\n <zl-button\\n hierarchy=\\\"secondary\\\"\\n size=\\\"medium\\\"\\n block\\n action=\\\"passkey\\\"\\n data-testid=\\\"zitadel-action-passkey\\\"\\n label=\\\"{{ passkey.text_key | t }}\\\"\\n ></zl-button>\\n {% endunless %}\\n {% endif %}\\n\\n\\n {% assign register = actions | where: \\\"name\\\", \\\"register\\\" | first %}\\n {% if register %}\\n <p class=\\\"zl-card-nav\\\">\\n {{ 'identifier.action.register.lead' | t }}<a href=\\\"#\\\" class=\\\"zl-card-nav__link\\\" data-action=\\\"register\\\" data-testid=\\\"zitadel-action-register-link\\\">{{ 'identifier.action.register.link' | t }}</a>\\n </p>\\n {% endif %}\\n\\n {% assign sign_in = actions | where: \\\"name\\\", \\\"sign_in\\\" | first %}\\n {% if sign_in %}\\n <p class=\\\"zl-card-nav\\\">\\n {{ 'register.action.sign_in.lead' | t }}<a href=\\\"#\\\" class=\\\"zl-card-nav__link\\\" data-action=\\\"sign_in\\\" data-testid=\\\"zitadel-action-sign_in-link\\\">{{ 'register.action.sign_in.link' | t }}</a>\\n </p>\\n {% endif %}\\n\\n {% if challenge %}\\n {% if challenge.method == \\\"passkey\\\" or challenge.method == \\\"passkey_register\\\" %}\\n {% assign ceremony = \\\"authenticate\\\" %}\\n {% assign submit_method = challenge.method %}\\n {% if challenge.method == \\\"passkey_register\\\" or challenge.options.user %}\\n {% assign ceremony = \\\"register\\\" %}\\n {% assign submit_method = \\\"passkey_register\\\" %}\\n {% endif %}\\n <zl-passkey\\n ceremony=\\\"{{ ceremony }}\\\"\\n method=\\\"{{ submit_method }}\\\"\\n challenge-id=\\\"{{ challenge.challenge_id }}\\\"\\n options='{{ challenge.options | json }}'\\n pending-label=\\\"{{ 'passkey.pending.status' | t }}\\\"\\n cancel-label=\\\"{{ 'action.cancel' | t }}\\\"\\n ></zl-passkey>\\n {% endif %}\\n {% endif %}\\n\\n {% mandatory_gates %}\\n </zl-card>\\n</zl-page-shell>\\n\";"],"mappings":";AAAA,IAAA,kBAAe"}
@@ -120,6 +120,7 @@ declare const tokens: {
120
120
  readonly authCard: "24rem";
121
121
  readonly page: "80rem";
122
122
  };
123
+ readonly layout: {};
123
124
  };
124
125
  declare const cssVars: {
125
126
  readonly color: {
@@ -241,9 +242,10 @@ declare const cssVars: {
241
242
  readonly authCard: "var(--zl-container-auth-card)";
242
243
  readonly page: "var(--zl-container-page)";
243
244
  };
245
+ readonly layout: {};
244
246
  };
245
247
  type Tokens = typeof tokens;
246
248
  type CssVars = typeof cssVars; //#endregion
247
249
  //#endregion
248
250
  export { tokens as i, Tokens as n, cssVars as r, CssVars as t };
249
- //# sourceMappingURL=index-EC-BnGsx.d.mts.map
251
+ //# sourceMappingURL=index-BniwXaIC.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-EC-BnGsx.d.mts","names":["tokens","color","surface","defaultBlack","defaultWhite","defaultPrimaryGray","defaultSecondaryGray","text","primaryWhite","secondaryGray","buttonDefault","buttonInvert","disabled","error","success","subtitlePink","subtitlePurple","subtitleGray","subtitleOrange","icon","defaultGray","defaultPink","defaultPurple","defaultOrange","border","defaultGray100","defaultGray200","defaultGray300","defaultGray400","gray","spacing","radius","xs","s","m","l","xl","font","family","sans","heading","mono","motion","duration","instant","fast","base","slow","easing","standard","decelerate","accelerate","focus","width","offset","breakpoint","sm","md","lg","container","authCard","page","cssVars","tokensCss","Tokens","CssVars"],"sources":["../../design-tokens/dist/tokens.d.mts"],"mappings":";;cACcA,MAAAA;EAAAA,SACHC,KAAAA;IAAAA,SACEC,OAAAA;MAAAA,SACEC,YAAAA;MAAAA,SACAC,YAAAA;MAAAA,SACAC,kBAAAA;MAAAA,SACAC,oBAAAA;IAAAA;IAAAA,SAEFC,IAAAA;MAAAA,SACEC,YAAAA;MAAAA,SACAC,aAAAA;MAAAA,SACAC,aAAAA;MAAAA,SACAC,YAAAA;MAAAA,SACAC,QAAAA;MAAAA,SACAC,KAAAA;MAAAA,SACAC,OAAAA;MAAAA,SACAC,YAAAA;MAAAA,SACAC,cAAAA;MAAAA,SACAC,YAAAA;MAAAA,SACAC,cAAAA;IAAAA;IAAAA,SAEFC,IAAAA;MAAAA,SACEhB,YAAAA;MAAAA,SACAC,YAAAA;MAAAA,SACAgB,WAAAA;MAAAA,SACAC,WAAAA;MAAAA,SACAC,aAAAA;MAAAA,SACAC,aAAAA;MAAAA,SACAX,QAAAA;MAAAA,SACAC,KAAAA;MAAAA,SACAC,OAAAA;IAAAA;IAAAA,SAEFU,MAAAA;MAAAA,SACErB,YAAAA;MAAAA,SACAC,YAAAA;MAAAA,SACAqB,cAAAA;MAAAA,SACAC,cAAAA;MAAAA,SACAC,cAAAA;MAAAA,SACAC,cAAAA;MAAAA,SACAf,KAAAA;MAAAA,SACAC,OAAAA;IAAAA;IAAAA,SAEFe,IAAAA;MAAAA,SACE,IAAA;MAAA,SACA,IAAA;MAAA,SACA,KAAA;MAAA,SACA,KAAA;MAAA,SACA,KAAA;MAAA,SACA,KAAA;MAAA,SACA,KAAA;MAAA,SACA,KAAA;MAAA,SACA,KAAA;MAAA,SACA,KAAA;MAAA,SACA,KAAA;IAAA;EAAA;EAAA,SAGJC,OAAAA;IAAAA,SACE,IAAA;IAAA,SACA,IAAA;IAAA,SACA,IAAA;IAAA,SACA,IAAA;IAAA,SACA,IAAA;IAAA,SACA,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AAA;EAAAA;EAAAA,SAEFC,IAAAA;IAAAA,SACEC,MAAAA;MAAAA,SACEC,IAAAA;MAAAA,SACAC,OAAAA;MAAAA,SACAC,IAAAA;IAAAA;EAAAA;EAAAA,SAGJC,MAAAA;IAAAA,SACEC,QAAAA;MAAAA,SACEC,OAAAA;MAAAA,SACAC,IAAAA;MAAAA,SACAC,IAAAA;MAAAA,SACAC,IAAAA;IAAAA;IAAAA,SAEFC,MAAAA;MAAAA,SACEC,QAAAA;MAAAA,SACAC,UAAAA;MAAAA,SACAC,UAAAA;IAAAA;EAAAA;EAAAA,SAGJC,KAAAA;IAAAA,SACEC,KAAAA;IAAAA,SACAC,MAAAA;IAAAA,SACArD,KAAAA;EAAAA;EAAAA,SAEFsD,UAAAA;IAAAA,SACEvB,EAAAA;IAAAA,SACAwB,EAAAA;IAAAA,SACAC,EAAAA;IAAAA,SACAC,EAAAA;IAAAA,SACAtB,EAAAA;IAAAA,SACA,KAAA;IAAA,SACA,KAAA;IAAA,SACA,KAAA;EAAA;EAAA,SAEFuB,SAAAA;IAAAA,SACEC,QAAAA;IAAAA,SACAC,IAAAA;EAAAA;AAAAA;AAAAA,KAIRG,MAAAA,UAAgBhE,MAAAA;AAAAA,KAChBiE,OAAAA,UAAiBH,OAAAA"}
1
+ {"version":3,"file":"index-BniwXaIC.d.mts","names":["tokens","color","surface","defaultBlack","defaultWhite","defaultPrimaryGray","defaultSecondaryGray","text","primaryWhite","secondaryGray","buttonDefault","buttonInvert","disabled","error","success","subtitlePink","subtitlePurple","subtitleGray","subtitleOrange","icon","defaultGray","defaultPink","defaultPurple","defaultOrange","border","defaultGray100","defaultGray200","defaultGray300","defaultGray400","gray","spacing","radius","xs","s","m","l","xl","font","family","sans","heading","mono","motion","duration","instant","fast","base","slow","easing","standard","decelerate","accelerate","focus","width","offset","breakpoint","sm","md","lg","container","authCard","page","layout","cssVars","tokensCss","Tokens","CssVars"],"sources":["../../design-tokens/dist/tokens.d.mts"],"mappings":";;cACcA,M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A;MAAAA,SACAC,OAAAA;MAAAA,SACAC,IAAAA;IAAAA;EAAAA;EAAAA,SAGJC,MAAAA;IAAAA,SACEC,QAAAA;MAAAA,SACEC,OAAAA;MAAAA,SACAC,IAAAA;MAAAA,SACAC,IAAAA;MAAAA,SACAC,IAAAA;IAAAA;IAAAA,SAEFC,MAAAA;MAAAA,SACEC,QAAAA;MAAAA,SACAC,UAAAA;MAAAA,SACAC,UAAAA;IAAAA;EAAAA;EAAAA,SAGJC,KAAAA;IAAAA,SACEC,KAAAA;IAAAA,SACAC,MAAAA;IAAAA,SACArD,KAAAA;EAAAA;EAAAA,SAEFsD,UAAAA;IAAAA,SACEvB,EAAAA;IAAAA,SACAwB,EAAAA;IAAAA,SACAC,EAAAA;IAAAA,SACAC,EAAAA;IAAAA,SACAtB,EAAAA;IAAAA,SACA,KAAA;IAAA,SACA,KAAA;IAAA,SACA,KAAA;EAAA;EAAA,SAEFuB,SAAAA;IAAAA,SACEC,QAAAA;IAAAA,SACAC,IAAAA;EAAAA;EAAAA,SAEFC,MAAAA;AAAAA;AAAAA,KAGNG,MAAAA,UAAgBjE,MAAAA;AAAAA,KAChBkE,OAAAA,UAAiBH,OAAAA"}
@@ -1,6 +1,6 @@
1
1
  import { t as AtomManifest } from "./manifest-DN5Al_Ur.mjs";
2
2
  import * as _$lit from "lit";
3
- import { LitElement, PropertyValues } from "lit";
3
+ import { LitElement, PropertyValues, nothing } from "lit";
4
4
 
5
5
  //#region src/atoms/zl-icon.d.ts
6
6
  /**
@@ -326,7 +326,7 @@ declare global {
326
326
  }
327
327
  } //# sourceMappingURL=zl-checkbox.d.ts.map
328
328
  //#endregion
329
- //#region ../api/dist/index-4CTwhwmD.d.mts
329
+ //#region ../api/dist/index-oloR8wb4.d.mts
330
330
  //#endregion
331
331
  //#region src/generated/model/activateFlowDefinitionParams.d.ts
332
332
  /**
@@ -1255,7 +1255,16 @@ type CreateFlow201Step = {
1255
1255
  /** Step-level localization keys. Resolved client-side via the `| t` LiquidJS filter.
1256
1256
  The backend never sends display text — only semantic keys.
1257
1257
  */
1258
- texts?: CreateFlow201StepTexts; /** Error message from a previous failed submission. */
1258
+ texts?: CreateFlow201StepTexts;
1259
+ /** Error from a previous failed submission. Field-validation failures
1260
+ carry localisation text keys: `error.<field>_<rule>` per violation
1261
+ (e.g. `error.email_required`; the `format` rule is spelled
1262
+ `error.<field>_invalid`), multiple violations joined with `"; "`.
1263
+ Field names appear verbatim, so clients localise unknown keys via
1264
+ the generic `error.field_<rule>` catalog entries. Other failures
1265
+ carry a verbatim diagnostic token instead (e.g. `user_not_found`,
1266
+ `auth_attempt.password_invalid`).
1267
+ */
1259
1268
  error?: string | null;
1260
1269
  /** Present only on terminal steps. Tells the frontend what to do:
1261
1270
  - redirect: navigate to redirect_uri immediately (OIDC/SAML done)
@@ -2247,7 +2256,8 @@ type CreateHandoff200 = {
2247
2256
  * OpenAPI spec version: 0.0.1
2248
2257
  */
2249
2258
  type CreateProject201 = {
2250
- /** The unique identifier of the project. */id: string;
2259
+ /** The unique identifier of the project. */id: string; /** The name of the project. */
2260
+ name: string;
2251
2261
  /** Secret which can be used for authentication when modifying the project.
2252
2262
  */
2253
2263
  projectSecret: string;
@@ -2280,6 +2290,7 @@ type CreateProject201 = {
2280
2290
  * OpenAPI spec version: 0.0.1
2281
2291
  */
2282
2292
  type CreateProjectBody = {
2293
+ /** The name of the project. */name: string;
2283
2294
  /** Origins which are allowed for previewing and testing the project.
2284
2295
  */
2285
2296
  previewOrigins?: string[];
@@ -2576,6 +2587,23 @@ type CreateSession201Session = {
2576
2587
  factor has been verified through an `auth_attempt`.
2577
2588
  */
2578
2589
  user_id?: string | null;
2590
+ /** Human-readable name of the authenticated user, resolved from the
2591
+ conventional user-schema properties: `name` when defined, otherwise
2592
+ the given and family name parts joined — `givenName`/`familyName`
2593
+ (the shipped presets' spelling) or `given_name`/`family_name`. Only
2594
+ present on reads that hydrate the user's identity
2595
+ (`GET /sessions/me`) and only when the session has an authenticated
2596
+ user whose schema carries those properties; clients fall back to
2597
+ `email`, then `user_id`.
2598
+ */
2599
+ name?: string;
2600
+ /** Email address of the authenticated user, resolved from the
2601
+ conventional `email` user-schema property. Only present on reads
2602
+ that hydrate the user's identity (`GET /sessions/me`) and only when
2603
+ the session has an authenticated user whose schema carries that
2604
+ property.
2605
+ */
2606
+ email?: string;
2579
2607
  /** Verified authentication factors accumulated by this session.
2580
2608
  Each key is a factor type (e.g. `password`, `totp`, `passkey`).
2581
2609
  Each value is a factor event object with at least `verified_at` and
@@ -3069,6 +3097,23 @@ type ExchangeHandoff200Session = {
3069
3097
  factor has been verified through an `auth_attempt`.
3070
3098
  */
3071
3099
  user_id?: string | null;
3100
+ /** Human-readable name of the authenticated user, resolved from the
3101
+ conventional user-schema properties: `name` when defined, otherwise
3102
+ the given and family name parts joined — `givenName`/`familyName`
3103
+ (the shipped presets' spelling) or `given_name`/`family_name`. Only
3104
+ present on reads that hydrate the user's identity
3105
+ (`GET /sessions/me`) and only when the session has an authenticated
3106
+ user whose schema carries those properties; clients fall back to
3107
+ `email`, then `user_id`.
3108
+ */
3109
+ name?: string;
3110
+ /** Email address of the authenticated user, resolved from the
3111
+ conventional `email` user-schema property. Only present on reads
3112
+ that hydrate the user's identity (`GET /sessions/me`) and only when
3113
+ the session has an authenticated user whose schema carries that
3114
+ property.
3115
+ */
3116
+ email?: string;
3072
3117
  /** Verified authentication factors accumulated by this session.
3073
3118
  Each key is a factor type (e.g. `password`, `totp`, `passkey`).
3074
3119
  Each value is a factor event object with at least `verified_at` and
@@ -4245,7 +4290,16 @@ type GetFlowStep200Step = {
4245
4290
  /** Step-level localization keys. Resolved client-side via the `| t` LiquidJS filter.
4246
4291
  The backend never sends display text — only semantic keys.
4247
4292
  */
4248
- texts?: GetFlowStep200StepTexts; /** Error message from a previous failed submission. */
4293
+ texts?: GetFlowStep200StepTexts;
4294
+ /** Error from a previous failed submission. Field-validation failures
4295
+ carry localisation text keys: `error.<field>_<rule>` per violation
4296
+ (e.g. `error.email_required`; the `format` rule is spelled
4297
+ `error.<field>_invalid`), multiple violations joined with `"; "`.
4298
+ Field names appear verbatim, so clients localise unknown keys via
4299
+ the generic `error.field_<rule>` catalog entries. Other failures
4300
+ carry a verbatim diagnostic token instead (e.g. `user_not_found`,
4301
+ `auth_attempt.password_invalid`).
4302
+ */
4249
4303
  error?: string | null;
4250
4304
  /** Present only on terminal steps. Tells the frontend what to do:
4251
4305
  - redirect: navigate to redirect_uri immediately (OIDC/SAML done)
@@ -4565,6 +4619,23 @@ type GetMySession200 = {
4565
4619
  factor has been verified through an `auth_attempt`.
4566
4620
  */
4567
4621
  user_id?: string | null;
4622
+ /** Human-readable name of the authenticated user, resolved from the
4623
+ conventional user-schema properties: `name` when defined, otherwise
4624
+ the given and family name parts joined — `givenName`/`familyName`
4625
+ (the shipped presets' spelling) or `given_name`/`family_name`. Only
4626
+ present on reads that hydrate the user's identity
4627
+ (`GET /sessions/me`) and only when the session has an authenticated
4628
+ user whose schema carries those properties; clients fall back to
4629
+ `email`, then `user_id`.
4630
+ */
4631
+ name?: string;
4632
+ /** Email address of the authenticated user, resolved from the
4633
+ conventional `email` user-schema property. Only present on reads
4634
+ that hydrate the user's identity (`GET /sessions/me`) and only when
4635
+ the session has an authenticated user whose schema carries that
4636
+ property.
4637
+ */
4638
+ email?: string;
4568
4639
  /** Verified authentication factors accumulated by this session.
4569
4640
  Each key is a factor type (e.g. `password`, `totp`, `passkey`).
4570
4641
  Each value is a factor event object with at least `verified_at` and
@@ -4742,7 +4813,11 @@ type GetOpenIDConfiguration200 = {
4742
4813
  * The current state of a project.
4743
4814
  */
4744
4815
  type GetProject200 = {
4745
- /** The unique identifier of the project. */id: string; /** The time when the project was created. */
4816
+ /** The unique identifier of the project. */id: string; /** The name of the project. */
4817
+ name: string;
4818
+ /** Origins which are allowed for previewing and testing the project.
4819
+ */
4820
+ previewOrigins?: string[]; /** The time when the project was created. */
4746
4821
  createdAt: string; /** The time when the project was last updated. */
4747
4822
  updatedAt: string;
4748
4823
  }; //#endregion
@@ -5030,6 +5105,23 @@ type GetSession200 = {
5030
5105
  factor has been verified through an `auth_attempt`.
5031
5106
  */
5032
5107
  user_id?: string | null;
5108
+ /** Human-readable name of the authenticated user, resolved from the
5109
+ conventional user-schema properties: `name` when defined, otherwise
5110
+ the given and family name parts joined — `givenName`/`familyName`
5111
+ (the shipped presets' spelling) or `given_name`/`family_name`. Only
5112
+ present on reads that hydrate the user's identity
5113
+ (`GET /sessions/me`) and only when the session has an authenticated
5114
+ user whose schema carries those properties; clients fall back to
5115
+ `email`, then `user_id`.
5116
+ */
5117
+ name?: string;
5118
+ /** Email address of the authenticated user, resolved from the
5119
+ conventional `email` user-schema property. Only present on reads
5120
+ that hydrate the user's identity (`GET /sessions/me`) and only when
5121
+ the session has an authenticated user whose schema carries that
5122
+ property.
5123
+ */
5124
+ email?: string;
5033
5125
  /** Verified authentication factors accumulated by this session.
5034
5126
  Each key is a factor type (e.g. `password`, `totp`, `passkey`).
5035
5127
  Each value is a factor event object with at least `verified_at` and
@@ -5819,6 +5911,23 @@ type ListSessions200SessionsItem = {
5819
5911
  factor has been verified through an `auth_attempt`.
5820
5912
  */
5821
5913
  user_id?: string | null;
5914
+ /** Human-readable name of the authenticated user, resolved from the
5915
+ conventional user-schema properties: `name` when defined, otherwise
5916
+ the given and family name parts joined — `givenName`/`familyName`
5917
+ (the shipped presets' spelling) or `given_name`/`family_name`. Only
5918
+ present on reads that hydrate the user's identity
5919
+ (`GET /sessions/me`) and only when the session has an authenticated
5920
+ user whose schema carries those properties; clients fall back to
5921
+ `email`, then `user_id`.
5922
+ */
5923
+ name?: string;
5924
+ /** Email address of the authenticated user, resolved from the
5925
+ conventional `email` user-schema property. Only present on reads
5926
+ that hydrate the user's identity (`GET /sessions/me`) and only when
5927
+ the session has an authenticated user whose schema carries that
5928
+ property.
5929
+ */
5930
+ email?: string;
5822
5931
  /** Verified authentication factors accumulated by this session.
5823
5932
  Each key is a factor type (e.g. `password`, `totp`, `passkey`).
5824
5933
  Each value is a factor event object with at least `verified_at` and
@@ -5951,7 +6060,200 @@ type ListUsersParams = {
5951
6060
  */
5952
6061
  limit?: number;
5953
6062
  }; //#endregion
5954
- //#region src/generated/model/revokeMySession401Details.d.ts
6063
+ //#region src/generated/model/patchProject200.d.ts
6064
+ /**
6065
+ * Generated by orval v8.10.0 🍺
6066
+ * Do not edit manually.
6067
+ * Zitadel NextGen
6068
+ * This is the next generation of the Zitadel identity platform.
6069
+ * OpenAPI spec version: 0.0.1
6070
+ */
6071
+ /**
6072
+ * The current state of a project.
6073
+ */
6074
+ type PatchProject200 = {
6075
+ /** The unique identifier of the project. */id: string; /** The name of the project. */
6076
+ name: string;
6077
+ /** Origins which are allowed for previewing and testing the project.
6078
+ */
6079
+ previewOrigins?: string[]; /** The time when the project was created. */
6080
+ createdAt: string; /** The time when the project was last updated. */
6081
+ updatedAt: string;
6082
+ }; //#endregion
6083
+ //#region src/generated/model/patchProject400Details.d.ts
6084
+ /**
6085
+ * Generated by orval v8.10.0 🍺
6086
+ * Do not edit manually.
6087
+ * Zitadel NextGen
6088
+ * This is the next generation of the Zitadel identity platform.
6089
+ * OpenAPI spec version: 0.0.1
6090
+ */
6091
+ /**
6092
+ * Additional error-specific context.
6093
+ */
6094
+ //#endregion
6095
+ //#region src/generated/model/patchProjectBody.d.ts
6096
+ /**
6097
+ * Generated by orval v8.10.0 🍺
6098
+ * Do not edit manually.
6099
+ * Zitadel NextGen
6100
+ * This is the next generation of the Zitadel identity platform.
6101
+ * OpenAPI spec version: 0.0.1
6102
+ */
6103
+ type PatchProjectBody = {
6104
+ /** The name of the project. */name?: null | string;
6105
+ }; //#endregion
6106
+ //#region src/generated/model/patchProjectDefaultDetails.d.ts
6107
+ /**
6108
+ * Generated by orval v8.10.0 🍺
6109
+ * Do not edit manually.
6110
+ * Zitadel NextGen
6111
+ * This is the next generation of the Zitadel identity platform.
6112
+ * OpenAPI spec version: 0.0.1
6113
+ */
6114
+ /**
6115
+ * Additional error-specific context.
6116
+ */
6117
+ //#endregion
6118
+ //#region src/generated/model/queryProjects200ProjectsItem.d.ts
6119
+ /**
6120
+ * Generated by orval v8.10.0 🍺
6121
+ * Do not edit manually.
6122
+ * Zitadel NextGen
6123
+ * This is the next generation of the Zitadel identity platform.
6124
+ * OpenAPI spec version: 0.0.1
6125
+ */
6126
+ /**
6127
+ * The current state of a project.
6128
+ */
6129
+ type QueryProjects200ProjectsItem = {
6130
+ /** The unique identifier of the project. */id: string; /** The name of the project. */
6131
+ name: string;
6132
+ /** Origins which are allowed for previewing and testing the project.
6133
+ */
6134
+ previewOrigins?: string[]; /** The time when the project was created. */
6135
+ createdAt: string; /** The time when the project was last updated. */
6136
+ updatedAt: string;
6137
+ }; //#endregion
6138
+ //#region src/generated/model/queryProjects200.d.ts
6139
+ /**
6140
+ * Paginated list of projects.
6141
+ */
6142
+ type QueryProjects200 = {
6143
+ projects: QueryProjects200ProjectsItem[];
6144
+ /** Token to pass as `page_token` in the next request to fetch the following page.
6145
+ Absent when there are no more results.
6146
+ */
6147
+ next_page_token?: string | null;
6148
+ }; //#endregion
6149
+ //#region src/generated/model/queryProjects400Details.d.ts
6150
+ /**
6151
+ * Generated by orval v8.10.0 🍺
6152
+ * Do not edit manually.
6153
+ * Zitadel NextGen
6154
+ * This is the next generation of the Zitadel identity platform.
6155
+ * OpenAPI spec version: 0.0.1
6156
+ */
6157
+ /**
6158
+ * Additional error-specific context.
6159
+ */
6160
+ //#endregion
6161
+ //#region src/generated/model/queryProjectsBodyFilterItemField.d.ts
6162
+ /**
6163
+ * Generated by orval v8.10.0 🍺
6164
+ * Do not edit manually.
6165
+ * Zitadel NextGen
6166
+ * This is the next generation of the Zitadel identity platform.
6167
+ * OpenAPI spec version: 0.0.1
6168
+ */
6169
+ type QueryProjectsBodyFilterItemField = (typeof QueryProjectsBodyFilterItemField)[keyof typeof QueryProjectsBodyFilterItemField];
6170
+ declare const QueryProjectsBodyFilterItemField: {
6171
+ readonly name: "name";
6172
+ readonly createdAt: "createdAt";
6173
+ }; //#endregion
6174
+ //#region src/generated/model/queryProjectsBodyFilterItemOperation.d.ts
6175
+ /**
6176
+ * Generated by orval v8.10.0 🍺
6177
+ * Do not edit manually.
6178
+ * Zitadel NextGen
6179
+ * This is the next generation of the Zitadel identity platform.
6180
+ * OpenAPI spec version: 0.0.1
6181
+ */
6182
+ /**
6183
+ * Filter operation defines the operations which can be used when filtering on a
6184
+ query endpoint.
6185
+
6186
+ */
6187
+ type QueryProjectsBodyFilterItemOperation = (typeof QueryProjectsBodyFilterItemOperation)[keyof typeof QueryProjectsBodyFilterItemOperation];
6188
+ declare const QueryProjectsBodyFilterItemOperation: {
6189
+ readonly equals: "equals";
6190
+ readonly not_equals: "not_equals";
6191
+ readonly contains: "contains";
6192
+ readonly not_contains: "not_contains";
6193
+ readonly less_than: "less_than";
6194
+ readonly less_than_or_equal: "less_than_or_equal";
6195
+ readonly greater_than: "greater_than";
6196
+ readonly greater_than_or_equal: "greater_than_or_equal";
6197
+ }; //#endregion
6198
+ //#region src/generated/model/queryProjectsBodyFilterItem.d.ts
6199
+ type QueryProjectsBodyFilterItem = {
6200
+ field: QueryProjectsBodyFilterItemField;
6201
+ /** Filter-value specifies which values can be filtered by a query endpoint. This
6202
+ is a union of types. When a value is specified which is not assignable to the
6203
+ field which is being filtered, a 400 error will be returned.
6204
+ */
6205
+ value?: string | number | boolean | null;
6206
+ /** Filter operation defines the operations which can be used when filtering on a
6207
+ query endpoint.
6208
+ */
6209
+ operation: QueryProjectsBodyFilterItemOperation;
6210
+ }; //#endregion
6211
+ //#region src/generated/model/queryProjectsBodySortingDirection.d.ts
6212
+ /**
6213
+ * Generated by orval v8.10.0 🍺
6214
+ * Do not edit manually.
6215
+ * Zitadel NextGen
6216
+ * This is the next generation of the Zitadel identity platform.
6217
+ * OpenAPI spec version: 0.0.1
6218
+ */
6219
+ type QueryProjectsBodySortingDirection = (typeof QueryProjectsBodySortingDirection)[keyof typeof QueryProjectsBodySortingDirection];
6220
+ declare const QueryProjectsBodySortingDirection: {
6221
+ readonly asc: "asc";
6222
+ readonly desc: "desc";
6223
+ }; //#endregion
6224
+ //#region src/generated/model/queryProjectsBodySortingField.d.ts
6225
+ /**
6226
+ * Generated by orval v8.10.0 🍺
6227
+ * Do not edit manually.
6228
+ * Zitadel NextGen
6229
+ * This is the next generation of the Zitadel identity platform.
6230
+ * OpenAPI spec version: 0.0.1
6231
+ */
6232
+ type QueryProjectsBodySortingField = (typeof QueryProjectsBodySortingField)[keyof typeof QueryProjectsBodySortingField];
6233
+ declare const QueryProjectsBodySortingField: {
6234
+ readonly name: "name";
6235
+ readonly createdAt: "createdAt";
6236
+ }; //#endregion
6237
+ //#region src/generated/model/queryProjectsBodySorting.d.ts
6238
+ type QueryProjectsBodySorting = {
6239
+ field: QueryProjectsBodySortingField;
6240
+ direction: QueryProjectsBodySortingDirection;
6241
+ }; //#endregion
6242
+ //#region src/generated/model/queryProjectsBody.d.ts
6243
+ /**
6244
+ * Request to query projects.
6245
+ */
6246
+ type QueryProjectsBody = {
6247
+ /**
6248
+ * @minimum 1
6249
+ * @maximum 100
6250
+ */
6251
+ limit?: number; /** Token to retrieve the next page of results. */
6252
+ page_token?: string | null;
6253
+ sorting?: QueryProjectsBodySorting; /** Filter criteria for querying projects. */
6254
+ filter?: QueryProjectsBodyFilterItem[];
6255
+ }; //#endregion
6256
+ //#region src/generated/model/queryProjectsDefaultDetails.d.ts
5955
6257
  /**
5956
6258
  * Generated by orval v8.10.0 🍺
5957
6259
  * Do not edit manually.
@@ -6524,7 +6826,16 @@ type SubmitFlowStep200Step = {
6524
6826
  /** Step-level localization keys. Resolved client-side via the `| t` LiquidJS filter.
6525
6827
  The backend never sends display text — only semantic keys.
6526
6828
  */
6527
- texts?: SubmitFlowStep200StepTexts; /** Error message from a previous failed submission. */
6829
+ texts?: SubmitFlowStep200StepTexts;
6830
+ /** Error from a previous failed submission. Field-validation failures
6831
+ carry localisation text keys: `error.<field>_<rule>` per violation
6832
+ (e.g. `error.email_required`; the `format` rule is spelled
6833
+ `error.<field>_invalid`), multiple violations joined with `"; "`.
6834
+ Field names appear verbatim, so clients localise unknown keys via
6835
+ the generic `error.field_<rule>` catalog entries. Other failures
6836
+ carry a verbatim diagnostic token instead (e.g. `user_not_found`,
6837
+ `auth_attempt.password_invalid`).
6838
+ */
6528
6839
  error?: string | null;
6529
6840
  /** Present only on terminal steps. Tells the frontend what to do:
6530
6841
  - redirect: navigate to redirect_uri immediately (OIDC/SAML done)
@@ -7951,19 +8262,33 @@ type ZlPasskeyResultDetail = {
7951
8262
  };
7952
8263
  /**
7953
8264
  * Detail shape emitted by the `zl-passkey-error` event.
8265
+ *
8266
+ * `aborted` covers both programmatic aborts and the browser's
8267
+ * `NotAllowedError` (user dismissed the prompt — or the ceremony timed
8268
+ * out, which browsers report identically). `timed_out` refines that:
8269
+ * true when the rejection arrived at/after the server's `options.timeout`,
8270
+ * so callers can show timeout copy instead of "cancelled".
7954
8271
  */
7955
8272
  type ZlPasskeyErrorDetail = {
7956
8273
  challenge_id: string;
7957
8274
  error: string;
7958
8275
  aborted: boolean;
8276
+ timed_out: boolean;
7959
8277
  };
7960
8278
  /**
7961
- * Atom: `<zl-passkey>` — invisible WebAuthn ceremony handler.
8279
+ * Atom: `<zl-passkey>` — WebAuthn ceremony handler.
8280
+ *
8281
+ * It is mounted by the Liquid template when
8282
+ * `step.challenge.type === "passkey"`. On mount, it reads the challenge
8283
+ * options from attributes, triggers the appropriate `navigator.credentials`
8284
+ * ceremony, and emits the result.
7962
8285
  *
7963
- * This component is intentionally invisible. It is mounted by the Liquid
7964
- * template when `step.challenge.type === "passkey"`. On mount, it reads
7965
- * the challenge options from attributes, triggers the appropriate
7966
- * `navigator.credentials` ceremony, and emits the result.
8286
+ * While the ceremony is in flight it renders a small pending UI (status
8287
+ * line + cancel button) into its light DOM — light DOM so the markup the
8288
+ * orchestrator renders through `unsafeHTML` stays byte-identical and the
8289
+ * step subtree is never rebuilt mid-ceremony (a rebuild would reconnect
8290
+ * this atom and restart the ceremony). Set `silent` to suppress the
8291
+ * pending UI entirely.
7967
8292
  *
7968
8293
  * The orchestrator listens for `zl-passkey-result` to auto-submit the
7969
8294
  * proof via `challenge_response` on the flow submit body.
@@ -8010,12 +8335,24 @@ declare class ZlPasskey extends LitElement {
8010
8335
  * The consumer must call `startCeremony()` manually.
8011
8336
  */
8012
8337
  accessor manual: boolean;
8338
+ /** Status line shown while the ceremony is in flight. Template-owned copy. */
8339
+ accessor pendingLabel: string;
8340
+ /** Label of the cancel button shown while the ceremony is in flight. */
8341
+ accessor cancelLabel: string;
8342
+ /** Suppresses the built-in pending UI (headless / custom-template use). */
8343
+ accessor silent: boolean;
8344
+ /** True from ceremony start until it resolves, rejects, or is aborted. */
8345
+ accessor pending: boolean;
8013
8346
  private abortController;
8347
+ /** `Date.now()` at ceremony start, for timeout classification on reject. */
8348
+ private startedAt;
8014
8349
  connectedCallback(): void;
8015
8350
  disconnectedCallback(): void;
8016
8351
  /**
8017
8352
  * Abort any in-flight WebAuthn ceremony. Called automatically when the
8018
- * component disconnects (step change, page navigation).
8353
+ * component disconnects (step change, page navigation) and by the
8354
+ * pending UI's cancel button. Clears `pending` immediately — the
8355
+ * ceremony's own `finally` no longer owns it (its controller is gone).
8019
8356
  */
8020
8357
  abort(): void;
8021
8358
  /**
@@ -8023,6 +8360,8 @@ declare class ZlPasskey extends LitElement {
8023
8360
  * or rejects on error/abort.
8024
8361
  */
8025
8362
  startCeremony(): Promise<void>;
8363
+ private handleCancelSubmit;
8364
+ render(): typeof nothing | _$lit.TemplateResult<1>;
8026
8365
  /**
8027
8366
  * `navigator.credentials.get()` — authentication ceremony.
8028
8367
  */
@@ -8043,7 +8382,13 @@ declare class ZlPasskey extends LitElement {
8043
8382
  private serializeCredential;
8044
8383
  private emitResult;
8045
8384
  private emitError;
8046
- /** Invisible component — no shadow DOM rendering needed. */
8385
+ private emitStarted;
8386
+ /**
8387
+ * Light DOM on purpose: the pending UI must land inside the
8388
+ * orchestrator's shadow root (where the step's adopted styles apply)
8389
+ * without altering the `unsafeHTML` step markup — runtime children don't
8390
+ * participate in its string comparison, so the ceremony never restarts.
8391
+ */
8047
8392
  createRenderRoot(): this;
8048
8393
  }
8049
8394
  declare const zlPasskeyManifest: AtomManifest;
@@ -8199,5 +8544,5 @@ declare global {
8199
8544
  }
8200
8545
  } //# sourceMappingURL=zl-select.d.ts.map
8201
8546
  //#endregion
8202
- export { ExchangeHandoff200 as $, zlCardManifest as $t, CreateFlow201StepGates as A, ListFlowDefinitionsParams as At, CreateSchemaBody as B, SetUserPasswordParams as Bt, CreateFlow201 as C, GetUserByIDParams as Ct, CreateFlow201StepActionsItem as D, IssueChallenge201 as Dt, CreateFlow201Step as E, IntrospectBody as Et, CreateFlowDefinitionBody as F, ListUsers200Item as Ft, CreateTeamBody as G, UpdateFlowDefinitionBody as Gt, CreateSession201 as H, SubmitFlowStep200 as Ht, CreateHandoff200 as I, ListUsersParams as It, CreateUserBody as J, VerifyChallengeProofBody as Jt, CreateTeamParams as K, UpdateFlowDefinitionParams as Kt, CreateProject201 as L, RevokeSessionParams as Lt, CreateFlowBody as M, ListSchemasParams as Mt, CreateFlowBodyPurpose as N, ListSessions200 as Nt, CreateFlow201StepChallenge as O, IssueChallengeBody as Ot, CreateFlowDefinition201 as P, ListSessionsParams as Pt, EndSessionParams as Q, ZlCard as Qt, CreateProjectBody as R, RevokeTokenBody as Rt, CreateAuthAttemptBody as S, GetUserByID200 as St, CreateFlow201BrandingLayout as T, Introspect200 as Tt, CreateSessionBody as U, SubmitFlowStepBody as Ut, CreateSchemaParams as V, SubmitFlowEventBody as Vt, CreateTeam201 as W, UpdateFlowDefinition200 as Wt, DeactivateFlowDefinitionParams as X, ZlCheckboxChangeDetail as Xt, CreateUserParams as Y, ZlCheckbox as Yt, DeleteFlowDefinitionParams as Z, zlCheckboxManifest as Zt, AuthorizeDevice200 as _, GetSessionParams as _t, ZlPill as a, ZlIcon as an, GetFlowStep200 as at, AuthorizeGetParams as b, GetToken200 as bt, ZlPasskeyErrorDetail as c, GetLiveDefault as ct, ZlPageShell as d, GetOpenIDConfiguration200 as dt, ZlButton as en, ExchangeHandoffBody as et, zlPageShellManifest as f, GetProject200 as ft, ActivateFlowDefinitionParams as g, GetSession200 as gt, zlFieldManifest as h, GetSchemaByIdParams as ht, zlSelectManifest as i, IconName as in, GetFlowDefinitionParams as it, CreateFlow201StepSsoProvidersItem as j, ListSchemas200Item as jt, CreateFlow201StepFieldsItem as k, ListFlowDefinitions200 as kt, ZlPasskeyResultDetail as l, GetMySession200 as lt, ZlFieldType as m, GetSchemaById200 as mt, ZlSelectChangeDetail as n, ZlAlert as nn, GetAuthAttempt200 as nt, zlPillManifest as o, zlIconManifest as on, GetHealthDefault as ot, ZlField as p, GetReadyDefault as pt, CreateUser201 as q, VerifyChallengeProof200 as qt, ZlSelectOption as r, zlAlertManifest as rn, GetFlowDefinition200 as rt, ZlPasskey as s, GetKeys200 as st, ZlSelect as t, zlButtonManifest as tn, ExchangeHandoffParams as tt, zlPasskeyManifest as u, GetMyUser200 as ut, AuthorizeDeviceParams as v, GetTeam200 as vt, CreateFlow201Branding as w, GetUserInfo200 as wt, CreateAuthAttempt201 as x, GetTokenBody as xt, AuthorizeGetDefault as y, GetTeamParams as yt, CreateSchema201 as z, SetUserPasswordBody as zt };
8203
- //# sourceMappingURL=index-Bypr00UG.d.mts.map
8547
+ export { ExchangeHandoff200 as $, ZlCheckbox as $t, CreateFlow201StepGates as A, ListFlowDefinitionsParams as At, CreateSchemaBody as B, QueryProjectsBody as Bt, CreateFlow201 as C, GetUserByIDParams as Ct, CreateFlow201StepActionsItem as D, IssueChallenge201 as Dt, CreateFlow201Step as E, IntrospectBody as Et, CreateFlowDefinitionBody as F, ListUsers200Item as Ft, CreateTeamBody as G, SubmitFlowEventBody as Gt, CreateSession201 as H, RevokeTokenBody as Ht, CreateHandoff200 as I, ListUsersParams as It, CreateUserBody as J, UpdateFlowDefinition200 as Jt, CreateTeamParams as K, SubmitFlowStep200 as Kt, CreateProject201 as L, PatchProject200 as Lt, CreateFlowBody as M, ListSchemasParams as Mt, CreateFlowBodyPurpose as N, ListSessions200 as Nt, CreateFlow201StepChallenge as O, IssueChallengeBody as Ot, CreateFlowDefinition201 as P, ListSessionsParams as Pt, EndSessionParams as Q, VerifyChallengeProofBody as Qt, CreateProjectBody as R, PatchProjectBody as Rt, CreateAuthAttemptBody as S, GetUserByID200 as St, CreateFlow201BrandingLayout as T, Introspect200 as Tt, CreateSessionBody as U, SetUserPasswordBody as Ut, CreateSchemaParams as V, RevokeSessionParams as Vt, CreateTeam201 as W, SetUserPasswordParams as Wt, DeactivateFlowDefinitionParams as X, UpdateFlowDefinitionParams as Xt, CreateUserParams as Y, UpdateFlowDefinitionBody as Yt, DeleteFlowDefinitionParams as Z, VerifyChallengeProof200 as Zt, AuthorizeDevice200 as _, GetSessionParams as _t, ZlPill as a, zlButtonManifest as an, GetFlowStep200 as at, AuthorizeGetParams as b, GetToken200 as bt, ZlPasskeyErrorDetail as c, IconName as cn, GetLiveDefault as ct, ZlPageShell as d, GetOpenIDConfiguration200 as dt, ZlCheckboxChangeDetail as en, ExchangeHandoffBody as et, zlPageShellManifest as f, GetProject200 as ft, ActivateFlowDefinitionParams as g, GetSession200 as gt, zlFieldManifest as h, GetSchemaByIdParams as ht, zlSelectManifest as i, ZlButton as in, GetFlowDefinitionParams as it, CreateFlow201StepSsoProvidersItem as j, ListSchemas200Item as jt, CreateFlow201StepFieldsItem as k, ListFlowDefinitions200 as kt, ZlPasskeyResultDetail as l, ZlIcon as ln, GetMySession200 as lt, ZlFieldType as m, GetSchemaById200 as mt, ZlSelectChangeDetail as n, ZlCard as nn, GetAuthAttempt200 as nt, zlPillManifest as o, ZlAlert as on, GetHealthDefault as ot, ZlField as p, GetReadyDefault as pt, CreateUser201 as q, SubmitFlowStepBody as qt, ZlSelectOption as r, zlCardManifest as rn, GetFlowDefinition200 as rt, ZlPasskey as s, zlAlertManifest as sn, GetKeys200 as st, ZlSelect as t, zlCheckboxManifest as tn, ExchangeHandoffParams as tt, zlPasskeyManifest as u, zlIconManifest as un, GetMyUser200 as ut, AuthorizeDeviceParams as v, GetTeam200 as vt, CreateFlow201Branding as w, GetUserInfo200 as wt, CreateAuthAttempt201 as x, GetTokenBody as xt, AuthorizeGetDefault as y, GetTeamParams as yt, CreateSchema201 as z, QueryProjects200 as zt };
8548
+ //# sourceMappingURL=index-BwQLFs9R.d.mts.map