@zitadel/components 0.1.0-alpha.13 → 0.1.0-alpha.15

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.
package/README.md CHANGED
@@ -204,10 +204,11 @@ on each update.
204
204
 
205
205
  ### `<zitadel-logout>`
206
206
 
207
- Session menu / sign-out control for embedded apps. Reads the
208
- `__nextgen_display` cookie set during sign-in, calls `revokeMySession`
209
- (`DELETE /sessions/me`) through the SDK handle, and clears the session. Uses
210
- the same token adoption as `<zitadel-login>` (`applyBaseTokens`).
207
+ Session menu / sign-out control for embedded apps. Reads the signed-in
208
+ identity from `getMySession` (`GET /sessions/me`) the same source as
209
+ `<zitadel-session>` — calls `revokeMySession` (`DELETE /sessions/me`) through
210
+ the SDK handle, and clears the session. Uses the same token adoption as
211
+ `<zitadel-login>` (`applyBaseTokens`).
211
212
 
212
213
  | Property | Type | Notes |
213
214
  | --- | --- | --- |
@@ -1,2 +1,2 @@
1
- import { $t as zlButtonManifest, Jt as ZlCheckboxChangeDetail, Qt as ZlButton, Xt as ZlCard, Yt as zlCheckboxManifest, Zt as zlCardManifest, a as ZlPill, c as ZlPasskeyErrorDetail, d as ZlPageShell, en as ZlAlert, f as zlPageShellManifest, h as zlFieldManifest, i as zlSelectManifest, in as zlIconManifest, l as ZlPasskeyResultDetail, m as ZlFieldType, n as ZlSelectChangeDetail, nn as IconName, o as zlPillManifest, p as ZlField, qt as ZlCheckbox, r as ZlSelectOption, rn as ZlIcon, s as ZlPasskey, t as ZlSelect, tn as zlAlertManifest, u as zlPasskeyManifest } from "../index-D4LkdeFl.mjs";
1
+ import { $t as zlCardManifest, Qt as ZlCard, Xt as ZlCheckboxChangeDetail, Yt as ZlCheckbox, Zt as zlCheckboxManifest, a as ZlPill, an as ZlIcon, c as ZlPasskeyErrorDetail, d as ZlPageShell, en as ZlButton, f as zlPageShellManifest, h as zlFieldManifest, i as zlSelectManifest, in as IconName, l as ZlPasskeyResultDetail, m as ZlFieldType, n as ZlSelectChangeDetail, nn as ZlAlert, o as zlPillManifest, on as zlIconManifest, p as ZlField, r as ZlSelectOption, rn as zlAlertManifest, s as ZlPasskey, t as ZlSelect, tn as zlButtonManifest, u as zlPasskeyManifest } from "../index-Bypr00UG.mjs";
2
2
  export { IconName, ZlAlert, ZlButton, ZlCard, ZlCheckbox, ZlCheckboxChangeDetail, ZlField, ZlFieldType, ZlIcon, ZlPageShell, ZlPasskey, ZlPasskeyErrorDetail, ZlPasskeyResultDetail, ZlPill, ZlSelect, ZlSelectChangeDetail, ZlSelectOption, zlAlertManifest, zlButtonManifest, zlCardManifest, zlCheckboxManifest, zlFieldManifest, zlIconManifest, zlPageShellManifest, zlPasskeyManifest, zlPillManifest, zlSelectManifest };
@@ -1,6 +1,6 @@
1
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\"{% 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 <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 {% 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 ></zl-passkey>\n {% endif %}\n {% endif %}\n\n {% mandatory_gates %}\n </zl-card>\n</zl-page-shell>\n";
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\"{% 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 ></zl-passkey>\n {% endif %}\n {% endif %}\n\n {% mandatory_gates %}\n </zl-card>\n</zl-page-shell>\n";
3
3
  //#endregion
4
4
  export { default_default as t };
5
5
 
6
- //# sourceMappingURL=default-W5MwYLBc.mjs.map
6
+ //# sourceMappingURL=default-BmX2ZEbg.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"default-W5MwYLBc.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\\\"{% 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 <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 {% 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 ></zl-passkey>\\n {% endif %}\\n {% endif %}\\n\\n {% mandatory_gates %}\\n </zl-card>\\n</zl-page-shell>\\n\";"],"mappings":";AAAA,IAAA,kBAAe"}
1
+ {"version":3,"file":"default-BmX2ZEbg.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\\\"{% 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 ></zl-passkey>\\n {% endif %}\\n {% endif %}\\n\\n {% mandatory_gates %}\\n </zl-card>\\n</zl-page-shell>\\n\";"],"mappings":";AAAA,IAAA,kBAAe"}
@@ -1,12 +1,12 @@
1
- import { $ as ExchangeHandoff200, A as CreateFlow201StepGates, At as ListFlowDefinitionsParams, B as CreateSchemaBody, Bt as SubmitFlowStep200, C as CreateFlow201, Ct as GetUserByIDParams, D as CreateFlow201StepActionsItem, Dt as IssueChallenge201, E as CreateFlow201Step, Et as IntrospectBody, F as CreateFlowDefinitionBody, Ft as RevokeSessionParams, G as CreateTeamBody, Gt as VerifyChallengeProof200, H as CreateSession201, Ht as UpdateFlowDefinition200, I as CreateHandoff200, It as RevokeTokenBody, J as CreateUserBody, K as CreateTeamParams, Kt as VerifyChallengeProofBody, L as CreateProject201, Lt as SetUserPasswordBody, M as CreateFlowBody, Mt as ListSessionsParams, N as CreateFlowBodyPurpose, Nt as ListUsers200Item, O as CreateFlow201StepChallenge, Ot as IssueChallengeBody, P as CreateFlowDefinition201, Pt as ListUsersParams, Q as EndSessionParams, R as CreateProjectBody, Rt as SetUserPasswordParams, S as CreateAuthAttemptBody, St as GetUserByID200, T as CreateFlow201BrandingLayout, Tt as Introspect200, U as CreateSessionBody, Ut as UpdateFlowDefinitionBody, V as CreateSchemaParams, Vt as SubmitFlowStepBody, W as CreateTeam201, Wt as UpdateFlowDefinitionParams, X as DeactivateFlowDefinitionParams, Y as CreateUserParams, Z as DeleteFlowDefinitionParams, _ as AuthorizeDevice200, _t as GetSessionParams, at as GetFlowStep200, b as AuthorizeGetParams, bt as GetToken200, ct as GetLiveDefault, dt as GetOpenIDConfiguration200, et as ExchangeHandoffBody, ft as GetProject200, g as ActivateFlowDefinitionParams, gt as GetSession200, ht as GetSchemaByIdParams, it as GetFlowDefinitionParams, j as CreateFlow201StepSsoProvidersItem, jt as ListSessions200, k as CreateFlow201StepFieldsItem, kt as ListFlowDefinitions200, lt as GetMySession200, mt as GetSchemaById200, nt as GetAuthAttempt200, ot as GetHealthDefault, pt as GetReadyDefault, q as CreateUser201, rt as GetFlowDefinition200, st as GetKeys200, tt as ExchangeHandoffParams, ut as GetMyUser200, v as AuthorizeDeviceParams, vt as GetTeam200, w as CreateFlow201Branding, wt as GetUserInfo200, x as CreateAuthAttempt201, xt as GetTokenBody, y as AuthorizeGetDefault, yt as GetTeamParams, z as CreateSchema201, zt as SubmitFlowEventBody } from "./index-D4LkdeFl.mjs";
1
+ import { $ as ExchangeHandoff200, A as CreateFlow201StepGates, At as ListFlowDefinitionsParams, B as CreateSchemaBody, Bt as SetUserPasswordParams, C as CreateFlow201, Ct as GetUserByIDParams, D as CreateFlow201StepActionsItem, Dt as IssueChallenge201, E as CreateFlow201Step, Et as IntrospectBody, F as CreateFlowDefinitionBody, Ft as ListUsers200Item, G as CreateTeamBody, Gt as UpdateFlowDefinitionBody, H as CreateSession201, Ht as SubmitFlowStep200, I as CreateHandoff200, It as ListUsersParams, J as CreateUserBody, Jt as VerifyChallengeProofBody, K as CreateTeamParams, Kt as UpdateFlowDefinitionParams, L as CreateProject201, Lt as RevokeSessionParams, M as CreateFlowBody, Mt as ListSchemasParams, N as CreateFlowBodyPurpose, Nt as ListSessions200, O as CreateFlow201StepChallenge, Ot as IssueChallengeBody, P as CreateFlowDefinition201, Pt as ListSessionsParams, Q as EndSessionParams, R as CreateProjectBody, Rt as RevokeTokenBody, S as CreateAuthAttemptBody, St as GetUserByID200, T as CreateFlow201BrandingLayout, Tt as Introspect200, U as CreateSessionBody, Ut as SubmitFlowStepBody, V as CreateSchemaParams, Vt as SubmitFlowEventBody, W as CreateTeam201, Wt as UpdateFlowDefinition200, X as DeactivateFlowDefinitionParams, Y as CreateUserParams, Z as DeleteFlowDefinitionParams, _ as AuthorizeDevice200, _t as GetSessionParams, at as GetFlowStep200, b as AuthorizeGetParams, bt as GetToken200, ct as GetLiveDefault, dt as GetOpenIDConfiguration200, et as ExchangeHandoffBody, ft as GetProject200, g as ActivateFlowDefinitionParams, gt as GetSession200, ht as GetSchemaByIdParams, it as GetFlowDefinitionParams, j as CreateFlow201StepSsoProvidersItem, jt as ListSchemas200Item, k as CreateFlow201StepFieldsItem, kt as ListFlowDefinitions200, lt as GetMySession200, mt as GetSchemaById200, nt as GetAuthAttempt200, ot as GetHealthDefault, pt as GetReadyDefault, q as CreateUser201, qt as VerifyChallengeProof200, rt as GetFlowDefinition200, st as GetKeys200, tt as ExchangeHandoffParams, ut as GetMyUser200, v as AuthorizeDeviceParams, vt as GetTeam200, w as CreateFlow201Branding, wt as GetUserInfo200, x as CreateAuthAttempt201, xt as GetTokenBody, y as AuthorizeGetDefault, yt as GetTeamParams, z as CreateSchema201, zt as SetUserPasswordBody } from "./index-Bypr00UG.mjs";
2
2
  import * as _$lit from "lit";
3
3
  import { LitElement, PropertyValues, ReactiveController, ReactiveControllerHost, nothing } from "lit";
4
4
  import layoutChromeCss from "./templates/layout-chrome.css?inline";
5
5
 
6
- //#region ../api/dist/zitadelNextGen-CVTkhQJe.d.mts
6
+ //#region ../api/dist/zitadelNextGen-DDnOEggX.d.mts
7
7
  //#region src/generated/endpoints/zitadelNextGen.d.ts
8
8
  declare namespace zitadelNextGen_d_exports {
9
- export { activateFlowDefinition, authorizeDevice, authorizeGet, createAuthAttempt, createFlow, createFlowDefinition, createHandoff, createProject, createSchema, createSession, createTeam, createUser, deactivateFlowDefinition, deleteFlowDefinition, endSession, exchangeHandoff, getActivateFlowDefinitionUrl, getAuthAttempt, getAuthorizeDeviceUrl, getAuthorizeGetUrl, getCreateAuthAttemptUrl, getCreateFlowDefinitionUrl, getCreateFlowUrl, getCreateHandoffUrl, getCreateProjectUrl, getCreateSchemaUrl, getCreateSessionUrl, getCreateTeamUrl, getCreateUserUrl, getDeactivateFlowDefinitionUrl, getDeleteFlowDefinitionUrl, getEndSessionUrl, getExchangeHandoffUrl, getFlowDefinition, getFlowStep, getGetAuthAttemptUrl, getGetFlowDefinitionUrl, getGetFlowStepUrl, getGetHealthUrl, getGetKeysUrl, getGetLiveUrl, getGetMySessionUrl, getGetMyUserUrl, getGetOpenIDConfigurationUrl, getGetProjectUrl, getGetReadyUrl, getGetSchemaByIdUrl, getGetSessionUrl, getGetTeamUrl, getGetTokenUrl, getGetUserByIDUrl, getGetUserInfoUrl, getHealth, getIntrospectUrl, getIssueChallengeUrl, getKeys, getListFlowDefinitionsUrl, getListSessionsUrl, getListUsersUrl, getLive, getMySession, getMyUser, getOpenIDConfiguration, getProject, getReady, getRevokeMySessionUrl, getRevokeSessionUrl, getRevokeTokenUrl, getSchemaById, getSession, getSetUserPasswordUrl, getSubmitFlowEventUrl, getSubmitFlowStepUrl, getTeam, getToken, getUpdateFlowDefinitionUrl, getUserByID, getUserInfo, getVerifyChallengeProofUrl, introspect, issueChallenge, listFlowDefinitions, listSessions, listUsers, revokeMySession, revokeSession, revokeToken, setUserPassword, submitFlowEvent, submitFlowStep, updateFlowDefinition, verifyChallengeProof };
9
+ export { activateFlowDefinition, authorizeDevice, authorizeGet, createAuthAttempt, createFlow, createFlowDefinition, createHandoff, createProject, createSchema, createSession, createTeam, createUser, deactivateFlowDefinition, deleteFlowDefinition, endSession, exchangeHandoff, getActivateFlowDefinitionUrl, getAuthAttempt, getAuthorizeDeviceUrl, getAuthorizeGetUrl, getCreateAuthAttemptUrl, getCreateFlowDefinitionUrl, getCreateFlowUrl, getCreateHandoffUrl, getCreateProjectUrl, getCreateSchemaUrl, getCreateSessionUrl, getCreateTeamUrl, getCreateUserUrl, getDeactivateFlowDefinitionUrl, getDeleteFlowDefinitionUrl, getEndSessionUrl, getExchangeHandoffUrl, getFlowDefinition, getFlowStep, getGetAuthAttemptUrl, getGetFlowDefinitionUrl, getGetFlowStepUrl, getGetHealthUrl, getGetKeysUrl, getGetLiveUrl, getGetMySessionUrl, getGetMyUserUrl, getGetOpenIDConfigurationUrl, getGetProjectUrl, getGetReadyUrl, getGetSchemaByIdUrl, getGetSessionUrl, getGetTeamUrl, getGetTokenUrl, getGetUserByIDUrl, getGetUserInfoUrl, getHealth, getIntrospectUrl, getIssueChallengeUrl, getKeys, getListFlowDefinitionsUrl, getListSchemasUrl, getListSessionsUrl, getListUsersUrl, getLive, getMySession, getMyUser, getOpenIDConfiguration, getProject, getReady, getRevokeMySessionUrl, getRevokeSessionUrl, getRevokeTokenUrl, getSchemaById, getSession, getSetUserPasswordUrl, getSubmitFlowEventUrl, getSubmitFlowStepUrl, getTeam, getToken, getUpdateFlowDefinitionUrl, getUserByID, getUserInfo, getVerifyChallengeProofUrl, introspect, issueChallenge, listFlowDefinitions, listSchemas, listSessions, listUsers, revokeMySession, revokeSession, revokeToken, setUserPassword, submitFlowEvent, submitFlowStep, updateFlowDefinition, verifyChallengeProof };
10
10
  }
11
11
  declare const getGetOpenIDConfigurationUrl: () => string;
12
12
  /**
@@ -352,6 +352,14 @@ schema-url which will be resolved by the server.
352
352
  * @summary Create new schema
353
353
  */
354
354
  declare const createSchema: (createSchemaBody: CreateSchemaBody, params: CreateSchemaParams, options?: RequestInit) => Promise<CreateSchema201>;
355
+ declare const getListSchemasUrl: (params: ListSchemasParams) => string;
356
+ /**
357
+ * Retrieve a list of all schemas available in the system. This endpoint
358
+ supports pagination and filtering based on schema attributes.
359
+
360
+ * @summary List all schemas
361
+ */
362
+ declare const listSchemas: (params: ListSchemasParams, options?: RequestInit) => Promise<ListSchemas200Item[]>;
355
363
  declare const getGetSchemaByIdUrl: (id: string, params: GetSchemaByIdParams) => string;
356
364
  /**
357
365
  * Get a schema by its ID. This will return the default revision of the schema.
@@ -726,10 +734,16 @@ declare global {
726
734
  * `<zitadel-logout>` — orchestrator-tier element that lets the signed-in user
727
735
  * sign out without touching the flow API.
728
736
  *
729
- * Reads the user's display name + email from the `__nextgen_display` cookie
730
- * (set by the auth backend on sign-in), renders an avatar trigger with a
731
- * dropdown that exposes a "Sign out" action, and calls the typed
732
- * `revokeMySession` operation in `@zitadel/api`
737
+ * Reads the user's identity from the typed `getMySession` operation
738
+ * (`GET /sessions/me`, credentialed) the same source as `<zitadel-session>`,
739
+ * so both signed-in surfaces stay consistent and work against the real backend.
740
+ * The avatar/preview show `name`, then `email`, then the always-present
741
+ * `user_id`. NOTE: the current server response includes only the `user_id`, so
742
+ * the avatar falls back to the id until the backend returns a human-readable
743
+ * `name`/`email`.
744
+ *
745
+ * It renders an avatar trigger with a dropdown that exposes a "Sign out"
746
+ * action, and calls the typed `revokeMySession` operation in `@zitadel/api`
733
747
  * (`DELETE /sessions/me`). The server clears the session cookie via
734
748
  * `Set-Cookie: Max-Age=0`; on success the element fires `zitadel-signout`
735
749
  * and optionally navigates to `post-sign-out-url`. (`getEndSessionUrl()`
@@ -784,28 +798,41 @@ declare class ZitadelLogout extends LitElement {
784
798
  accessor clientId: string;
785
799
  private accessor displayName;
786
800
  private accessor displayEmail;
801
+ private accessor displayUserId;
787
802
  private accessor open;
788
803
  private accessor loading;
789
804
  private accessor errorMessage;
790
805
  private templateMode;
806
+ private pendingTemplate;
807
+ private projectedContainer;
808
+ private identityRequested;
791
809
  connectedCallback(): void;
792
810
  disconnectedCallback(): void;
793
811
  updated(): void;
812
+ /** Declarative config read from this element's attributes. */
813
+ private get projectAttrs();
794
814
  /**
795
- * Decodes the `__nextgen_display` cookie (base64-encoded JSON, set by the
796
- * auth backend on sign-in) and populates `displayName` / `displayEmail`.
797
- * A missing or malformed cookie is intentionally non-fatal the dropdown
798
- * still renders, just with empty values.
815
+ * Fetches the signed-in identity from `GET /sessions/me` once a project is
816
+ * resolvable. No-ops until then (and on repeat calls) so framework property
817
+ * timing doesn't matter and we never fire the request twice. A pending
818
+ * `<template>` is already projected in `connectedCallback`, so when no config
819
+ * is available yet the logout control still renders; it is re-projected with
820
+ * the real identity once a later request succeeds.
799
821
  */
800
- private readDisplayCookie;
822
+ private maybeLoadIdentity;
823
+ private loadIdentity;
801
824
  private get initial();
802
825
  /**
803
- * Clones a consumer-supplied `<template>` into the light DOM, fills the
826
+ * Clones the consumer-supplied `<template>` into the light DOM, fills the
804
827
  * `{{name}}`, `{{email}}`, and `{{initial}}` tokens via a TreeWalker, and
805
828
  * wires every element with `data-action="logout"` to trigger sign-out.
806
829
  * Light-DOM mounting is deliberate so the consumer's existing CSS applies.
830
+ *
831
+ * Re-runnable: each call replaces the previously projected clone, so a late
832
+ * identity fetch (or a `project` assigned post-mount) updates the rendered
833
+ * markup instead of leaving the placeholders stuck on their initial values.
807
834
  */
808
- private renderTemplate;
835
+ private projectTemplate;
809
836
  private readonly handleDocumentClick;
810
837
  private readonly handleDocumentKeydown;
811
838
  private toggleOpen;
@@ -815,8 +842,6 @@ declare class ZitadelLogout extends LitElement {
815
842
  * clears the cookie via `Set-Cookie: Max-Age=0`. On success this element fires
816
843
  * `zitadel-signout` and optionally navigates to `postSignOutUrl`.
817
844
  */
818
- /** Declarative config read from this element's attributes. */
819
- private get projectAttrs();
820
845
  private doLogout;
821
846
  /**
822
847
  * Returns the absolute URL the end-session request will hit. Useful for
@@ -834,6 +859,92 @@ declare global {
834
859
  }
835
860
  } //# sourceMappingURL=zitadel-logout.d.ts.map
836
861
  //#endregion
862
+ //#region src/orchestrator/zitadel-session.d.ts
863
+ /**
864
+ * `<zitadel-session>` — the full-screen "signed in" card.
865
+ *
866
+ * Renders the post-sign-in confirmation surface (Figma `7355:8959`): a
867
+ * centred auth card reading "Signed in as {identity}" with a **Sign out**
868
+ * action. Composed from the same `<zl-page-shell>` / `<zl-card>` /
869
+ * `<zl-button>` atoms as the `<zitadel-login>` orchestrator, so it inherits
870
+ * tenant branding tokens with no hardcoded colour, radius, or shadow.
871
+ *
872
+ * This is the companion surface to `<zitadel-login>` for the "go straight to
873
+ * /login" flow: the orchestrator signs the user in and redirects here (or to
874
+ * the consumer's own page); this element proves the session and offers a way
875
+ * back out. The in-app avatar menu lives in the separate `<zitadel-logout>`.
876
+ *
877
+ * - Identity is fetched from the typed `getMySession` operation
878
+ * (`GET /sessions/me`), sent with credentials so the session cookie
879
+ * authenticates it. The card shows `name`, then `email`, then the
880
+ * always-present `user_id`. NOTE: the current server response includes only
881
+ * the `user_id`, so the card displays the raw id until the backend returns a
882
+ * human-readable `name`/`email` on `/sessions/me`. A failed or
883
+ * unauthenticated request renders the card without an identity line rather
884
+ * than throwing.
885
+ * - **Sign out** calls the typed `revokeMySession` operation
886
+ * (`DELETE /sessions/me`); the server clears the session cookie. On success
887
+ * the element fires `zitadel-signout` (detail `{ name, email }`, matching the
888
+ * shared SPA contract) and optionally navigates to `post-sign-out-url`.
889
+ *
890
+ * A "Continue" action is intentionally omitted for now: the post-sign-in
891
+ * destination contract is still being decided. Consumers redirect after
892
+ * sign-in via the `<zitadel-login>` `post-sign-in-url`.
893
+ */
894
+ declare class ZitadelSession extends LitElement {
895
+ static styles: _$lit.CSSResult[];
896
+ /**
897
+ * SDK project handle returned by `configureZitadel()`. Set from JS (or a
898
+ * framework binding). Takes precedence over the
899
+ * `project-id`/`proxy-path`/`url` attributes and the global singleton.
900
+ */
901
+ accessor project: ZitadelProject | undefined;
902
+ /** Project ID, set declaratively in HTML for no-JS configuration. */
903
+ accessor projectId: string;
904
+ /** Proxy path for API requests (e.g. `/__nextgen`), set declaratively in HTML. */
905
+ accessor proxyPath: string;
906
+ /** Full URL of the Zitadel auth backend, set declaratively in HTML. */
907
+ accessor url: string;
908
+ /** URL to navigate to after a successful sign-out. */
909
+ accessor postSignOutUrl: string;
910
+ /** Heading text. Defaults to the English label. */
911
+ accessor heading: string;
912
+ /** Sign-out action label. */
913
+ accessor logoutLabel: string;
914
+ private accessor displayName;
915
+ private accessor displayEmail;
916
+ private accessor displayUserId;
917
+ private accessor loading;
918
+ private accessor errorMessage;
919
+ private identityRequested;
920
+ connectedCallback(): void;
921
+ /** Single identity line: human-readable name, then email, then user_id. */
922
+ private get identityLabel();
923
+ updated(): void;
924
+ /** Declarative config read from this element's attributes. */
925
+ private get projectAttrs();
926
+ /**
927
+ * Fetches the signed-in identity from `GET /sessions/me` once a project is
928
+ * resolvable. No-ops until then (and on repeat calls) so framework property
929
+ * timing doesn't matter and we never fire the request twice.
930
+ */
931
+ private maybeLoadIdentity;
932
+ private fetchIdentity;
933
+ /**
934
+ * Calls `DELETE /sessions/me` (`revokeMySession`) with credentials. On
935
+ * success fires `zitadel-signout` and optionally navigates to
936
+ * `postSignOutUrl`; on failure surfaces an inline error and stays put.
937
+ */
938
+ private doLogout;
939
+ private handleLogout;
940
+ render(): _$lit.TemplateResult<1>;
941
+ }
942
+ declare global {
943
+ interface HTMLElementTagNameMap {
944
+ "zitadel-session": ZitadelSession;
945
+ }
946
+ } //# sourceMappingURL=zitadel-session.d.ts.map
947
+ //#endregion
837
948
  //#region src/orchestrator/branding.d.ts
838
949
  type FlowLayout = CreateFlow201BrandingLayout;
839
950
  type BrandingPalette = {
@@ -1022,5 +1133,5 @@ type LiquidContext = {
1022
1133
  loading: boolean;
1023
1134
  };
1024
1135
  //#endregion
1025
- export { ZitadelLogout as A, BrandingAssets as C, BrandingTheme as D, BrandingShape as E, Locale as F, en as I, builtinLocales as M, it as N, BrandingTypography as O, de as P, Branding as S, BrandingPalette as T, applyBrandingTokens as _, LiquidContext as a, ResolvedTheme as b, getCurrentStep as c, createSanitiser as d, MANDATORY_GATES_MARKER as f, applyFontUrl as g, TEMPLATE_NAMES as h, FlowMessage as i, ZitadelLogin as j, FlowLayout as k, startFlow as l, patchMandatoryGates as m, FlowError as n, BrandingValidationResult as o, mandatoryGatesMarkerComment as p, FlowIdentity as r, validateBranding as s, layoutChromeCss as t, submitStep as u, buildBrandingStylesheet as v, BrandingAttribution as w, ThemeController as x, resolveTheme as y };
1026
- //# sourceMappingURL=index-ojrCi-_k.d.mts.map
1136
+ export { ZitadelSession as A, BrandingAssets as C, BrandingTheme as D, BrandingShape as E, de as F, Locale as I, en as L, ZitadelLogin as M, builtinLocales as N, BrandingTypography as O, it as P, Branding as S, BrandingPalette as T, applyBrandingTokens as _, LiquidContext as a, ResolvedTheme as b, getCurrentStep as c, createSanitiser as d, MANDATORY_GATES_MARKER as f, applyFontUrl as g, TEMPLATE_NAMES as h, FlowMessage as i, ZitadelLogout as j, FlowLayout as k, startFlow as l, patchMandatoryGates as m, FlowError as n, BrandingValidationResult as o, mandatoryGatesMarkerComment as p, FlowIdentity as r, validateBranding as s, layoutChromeCss as t, submitStep as u, buildBrandingStylesheet as v, BrandingAttribution as w, ThemeController as x, resolveTheme as y };
1137
+ //# sourceMappingURL=index-BP3l3mje.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-BP3l3mje.d.mts","names":["$s","CreateProject201","$t","SetUserPasswordBody","Al","AuthorizeDevice200","Ar","GetUserInfo200","Bo","EndSessionParams","Br","GetUserByID200","Ci","GetSchemaById200","Dr","Introspect200","Ds","CreateSessionBody","Fn","ListUsers200Item","Go","DeleteFlowDefinitionParams","Gr","GetToken200","Hs","CreateSchemaBody","In","ListSessionsParams","Ja","GetFlowDefinitionParams","Jr","GetTeamParams","Kn","ListSessions200","Li","GetOpenIDConfiguration200","Mo","ExchangeHandoff200","Nr","GetUserByIDParams","On","ListUsersParams","P","UpdateFlowDefinition200","Pi","GetProject200","Rc","CreateFlowBody","Sc","CreateFlowDefinition201","So","ExchangeHandoffParams","St","SubmitFlowStep200","Tl","AuthorizeDeviceParams","To","ExchangeHandoffBody","Uc","CreateFlow201","Ur","GetTokenBody","Ut","SubmitFlowEventBody","X","SubmitFlowStepBody","Xo","DeactivateFlowDefinitionParams","Xs","CreateProjectBody","Xt","SetUserPasswordParams","Yi","GetMyUser200","Za","GetFlowDefinition200","bl","AuthorizeGetParams","cn","RevokeTokenBody","dn","RevokeSessionParams","er","ListSchemasParams","fo","GetAuthAttempt200","g","UpdateFlowDefinitionBody","gi","GetSchemaByIdParams","gs","CreateTeamParams","ha","GetKeys200","hs","CreateUser201","ic","CreateFlowDefinitionBody","ir","ListFlowDefinitionsParams","jl","ActivateFlowDefinitionParams","js","CreateSession201","ka","GetFlowStep200","la","GetLiveDefault","li","GetSession200","ll","CreateAuthAttemptBody","mr","IssueChallengeBody","n","VerifyChallengeProofBody","na","GetMySession200","ni","GetSessionParams","os","CreateUserBody","p","UpdateFlowDefinitionParams","qs","CreateSchema201","r","VerifyChallengeProof200","rr","ListSchemas200Item","rs","CreateUserParams","tc","CreateHandoff200","ti","GetTeam200","ul","CreateAuthAttempt201","ur","ListFlowDefinitions200","vr","IssueChallenge201","wi","GetReadyDefault","wr","IntrospectBody","ws","CreateTeam201","xl","AuthorizeGetDefault","ya","GetHealthDefault","ys","CreateTeamBody","zs","CreateSchemaParams","zitadelNextGen_d_exports","activateFlowDefinition","authorizeDevice","authorizeGet","createAuthAttempt","createFlow","createFlowDefinition","createHandoff","createProject","createSchema","createSession","createTeam","createUser","deactivateFlowDefinition","deleteFlowDefinition","endSession","exchangeHandoff","getActivateFlowDefinitionUrl","getAuthAttempt","getAuthorizeDeviceUrl","getAuthorizeGetUrl","getCreateAuthAttemptUrl","getCreateFlowDefinitionUrl","getCreateFlowUrl","getCreateHandoffUrl","getCreateProjectUrl","getCreateSchemaUrl","getCreateSessionUrl","getCreateTeamUrl","getCreateUserUrl","getDeactivateFlowDefinitionUrl","getDeleteFlowDefinitionUrl","getEndSessionUrl","getExchangeHandoffUrl","getFlowDefinition","getFlowStep","getGetAuthAttemptUrl","getGetFlowDefinitionUrl","getGetFlowStepUrl","getGetHealthUrl","getGetKeysUrl","getGetLiveUrl","getGetMySessionUrl","getGetMyUserUrl","getGetOpenIDConfigurationUrl","getGetProjectUrl","getGetReadyUrl","getGetSchemaByIdUrl","getGetSessionUrl","getGetTeamUrl","getGetTokenUrl","getGetUserByIDUrl","getGetUserInfoUrl","getHealth","getIntrospectUrl","getIssueChallengeUrl","getKeys","getListFlowDefinitionsUrl","getListSchemasUrl","getListSessionsUrl","getListUsersUrl","getLive","getMySession","getMyUser","getOpenIDConfiguration","getProject","getReady","getRevokeMySessionUrl","getRevokeSessionUrl","getRevokeTokenUrl","getSchemaById","getSession","getSetUserPasswordUrl","getSubmitFlowEventUrl","getSubmitFlowStepUrl","getTeam","getToken","getUpdateFlowDefinitionUrl","getUserByID","getUserInfo","getVerifyChallengeProofUrl","introspect","issueChallenge","listFlowDefinitions","listSchemas","listSessions","listUsers","revokeMySession","revokeSession","revokeToken","setUserPassword","submitFlowEvent","submitFlowStep","updateFlowDefinition","verifyChallengeProof","RequestInit","Promise","options","params","introspectBody","revokeTokenBody","getTokenBody","createUserBody","userId","setUserPasswordBody","createFlowBody","id","submitFlowStepBody","submitFlowEventBody","createAuthAttemptBody","attemptId","issueChallengeBody","challengeId","verifyChallengeProofBody","createProjectBody","projectId","createSessionBody","exchangeHandoffBody","sessionId","createSchemaBody","createFlowDefinitionBody","updateFlowDefinitionBody","createTeamBody","teamId","$","A","At","B","Bt","C","Ct","D","Dt","E","Et","F","Ft","G","H","I","It","J","K","L","Lt","M","Mt","N","Nt","O","Ot","Pt","Q","R","Rt","S","T","Tt","U","V","Vt","W","Y","Z","_","_t","a","at","b","bt","c","ct","d","dt","et","f","ft","gt","h","ht","i","it","j","jt","k","kt","l","lt","m","mt","nt","o","ot","pt","q","rt","s","st","t","tt","u","ut","v","vt","w","wt","x","xt","y","yt","z","zt","Vt","zitadelNextGen_d_exports","ZitadelClient","ZitadelApi","ZitadelClientOptions","baseUrl","token","createZitadelClient","opts","createApi","apiBase","ZitadelApi","ZitadelConfig","proxyPath","projectId","url","ZitadelProject","configureZitadel","config","getApi","project","getZitadelConfig","_resetConfigForTesting"],"sources":["../../api/dist/zitadelNextGen-DDnOEggX.d.mts","../../api/dist/runtime/api-factory.d.mts","../../api/dist/runtime/config.d.mts","../src/orchestrator/locales/en.ts","../src/orchestrator/locales/de.ts","../src/orchestrator/locales/it.ts","../src/orchestrator/locales/index.ts","../src/orchestrator/zitadel-login.ts","../src/orchestrator/zitadel-logout.ts","../src/orchestrator/zitadel-session.ts","../src/orchestrator/branding.ts","../src/orchestrator/theme-controller.ts","../src/orchestrator/branding-to-tokens.ts","../src/orchestrator/font-loader.ts","../src/orchestrator/template-names.ts","../src/orchestrator/mandatory-gates.ts","../src/orchestrator/sanitiser.ts","../src/orchestrator/api-client.ts","../src/orchestrator/branding-validator.ts","../src/orchestrator/template-context.ts"],"mappings":";;;;;;;kBAGkB4J,wBAAAA;EAAAA,SACPC,sBAAAA,EAAwBC,eAAAA,EAAiBC,YAAAA,EAAcC,iBAAAA,EAAmBC,UAAAA,EAAYC,oBAAAA,EAAsBC,aAAAA,EAAeC,aAAAA,EAAeC,YAAAA,EAAcC,aAAAA,EAAeC,UAAAA,EAAYC,UAAAA,EAAYC,wBAAAA,EAA0BC,oBAAAA,EAAsBC,UAAAA,EAAYC,eAAAA,EAAiBC,4BAAAA,EAA8BC,cAAAA,EAAgBC,qBAAAA,EAAuBC,kBAAAA,EAAoBC,uBAAAA,EAAyBC,0BAAAA,EAA4BC,gBAAAA,EAAkBC,mBAAAA,EAAqBC,mBAAAA,EAAqBC,kBAAAA,EAAoBC,mBAAAA,EAAqBC,gBAAAA,EAAkBC,gBAAAA,EAAkBC,8BAAAA,EAAgCC,0BAAAA,EAA4BC,gBAAAA,EAAkBC,qBAAAA,EAAuBC,iBAAAA,EAAmBC,WAAAA,EAAaC,oBAAAA,EAAsBC,uBAAAA,EAAyBC,iBAAAA,EAAmBC,eAAAA,EAAiBC,aAAAA,EAAeC,aAAAA,EAAeC,kBAAA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,KAAA,EAAO,QAAA,eAAuB,wBAAA;;;KCEnD,WAAA;EACV,KAAA;EACA,QAAA;AAAA;AAAA,KAGU,SAAA;EACV,IAAA;EACA,QAAA;EACA,OAAA;AAAA;AAAA,KAGU,YAAA;EACV,YAAA;EACA,aAAA;EACA,UAAA;AAAA;;;;;;;;;KAWU,aAAA;EACV,IAAA,EAAM,IAAA,CAAK,iBAAA;EACX,MAAA,WAAiB,2BAAA;EACjB,OAAA,WAAkB,4BAAA;EAClB,KAAA,EAAO,sBAAA;EACP,aAAA,WAAwB,iCAAA;EACxB,SAAA,EAAW,0BAAA;EACX,QAAA,WAAmB,WAAA;EACnB,QAAA,EAAU,YAAA;EACV,MAAA,WAAiB,SAAA;EACjB,QAAA,EAAU,QAAA,GAAW,MAAA;EACrB,OAAA;AAAA"}
@@ -326,7 +326,7 @@ declare global {
326
326
  }
327
327
  } //# sourceMappingURL=zl-checkbox.d.ts.map
328
328
  //#endregion
329
- //#region ../api/dist/index-DLJ0vloQ.d.mts
329
+ //#region ../api/dist/index-4CTwhwmD.d.mts
330
330
  //#endregion
331
331
  //#region src/generated/model/activateFlowDefinitionParams.d.ts
332
332
  /**
@@ -1747,9 +1747,11 @@ type CreateFlowDefinition201FlowDefinition = {
1747
1747
  - active -> draft: To remove the flow definition from active use immediately.
1748
1748
  */
1749
1749
  status: CreateFlowDefinition201FlowDefinitionStatus;
1750
- /** User schema this flow operates on. Step `fields` reference properties
1751
- defined in this schema. The engine resolves field types, validation,
1752
- and implicit outcomes from schema annotations at runtime.
1750
+ /** Server-assigned identifier of the user schema this flow operates on,
1751
+ as returned by `POST /schemas`. Opaque to the client — the shape is a
1752
+ server implementation detail. Step `fields` reference properties
1753
+ defined in the resolved schema; the engine resolves field types, validation, and
1754
+ implicit outcomes from schema annotations at runtime.
1753
1755
  */
1754
1756
  user_schema: string;
1755
1757
  /** Maps each purpose this definition handles to its entry-point step.
@@ -2137,9 +2139,11 @@ type CreateFlowDefinitionBodyFlowDefinition = {
2137
2139
  - active -> draft: To remove the flow definition from active use immediately.
2138
2140
  */
2139
2141
  status: CreateFlowDefinitionBodyFlowDefinitionStatus;
2140
- /** User schema this flow operates on. Step `fields` reference properties
2141
- defined in this schema. The engine resolves field types, validation,
2142
- and implicit outcomes from schema annotations at runtime.
2142
+ /** Server-assigned identifier of the user schema this flow operates on,
2143
+ as returned by `POST /schemas`. Opaque to the client — the shape is a
2144
+ server implementation detail. Step `fields` reference properties
2145
+ defined in the resolved schema; the engine resolves field types, validation, and
2146
+ implicit outcomes from schema annotations at runtime.
2143
2147
  */
2144
2148
  user_schema: string;
2145
2149
  /** Maps each purpose this definition handles to its entry-point step.
@@ -2279,6 +2283,11 @@ type CreateProjectBody = {
2279
2283
  /** Origins which are allowed for previewing and testing the project.
2280
2284
  */
2281
2285
  previewOrigins?: string[];
2286
+ /** Whether the server should provision fallback default user schema and flow
2287
+ resources for the project. CLI-managed projects set this to false and
2288
+ upload their local .zitadel config files through the schema and flow APIs.
2289
+ */
2290
+ seedDefaults?: boolean;
2282
2291
  }; //#endregion
2283
2292
  //#region src/generated/model/createProjectDefaultDetails.d.ts
2284
2293
  /**
@@ -2324,7 +2333,12 @@ type CreateSchema201 = {
2324
2333
  * OpenAPI spec version: 0.0.1
2325
2334
  */
2326
2335
  type CreateSchemaBody = {
2327
- /** Discriminator value for a user schema create request. */kind: "user-schema"; /** The user Schema version used for this schema. */
2336
+ /**
2337
+ * The type of user this schema describes. This is a customer chosen name.
2338
+ * @maxLength 256
2339
+ */
2340
+ objectType?: string; /** Discriminator value for a user schema create request. */
2341
+ kind: "user-schema"; /** The user Schema version used for this schema. */
2328
2342
  metaSchema: string; /** A list of authentication methods supported by the user definition. */
2329
2343
  "x-auth-methods": {
2330
2344
  password?: {
@@ -2367,7 +2381,10 @@ type CreateSchemaBody = {
2367
2381
  */
2368
2382
  position: number;
2369
2383
  };
2370
- }; /** A map of additional properties for the user definition, where the key is the property name and the value is the property schema */
2384
+ };
2385
+ /** A map of additional properties for the user definition, where the
2386
+ key is the property name and the value is the property schema
2387
+ */
2371
2388
  properties?: {
2372
2389
  [key: string]: {
2373
2390
  /** The verification method for this property, if applicable */"x-verify"?: string | null; /** The level of uniqueness for this property, if applicable */
@@ -3751,9 +3768,11 @@ type GetFlowDefinition200FlowDefinition = {
3751
3768
  - active -> draft: To remove the flow definition from active use immediately.
3752
3769
  */
3753
3770
  status: GetFlowDefinition200FlowDefinitionStatus;
3754
- /** User schema this flow operates on. Step `fields` reference properties
3755
- defined in this schema. The engine resolves field types, validation,
3756
- and implicit outcomes from schema annotations at runtime.
3771
+ /** Server-assigned identifier of the user schema this flow operates on,
3772
+ as returned by `POST /schemas`. Opaque to the client — the shape is a
3773
+ server implementation detail. Step `fields` reference properties
3774
+ defined in the resolved schema; the engine resolves field types, validation, and
3775
+ implicit outcomes from schema annotations at runtime.
3757
3776
  */
3758
3777
  user_schema: string;
3759
3778
  /** Maps each purpose this definition handles to its entry-point step.
@@ -4771,7 +4790,12 @@ type GetReadyDefault = {
4771
4790
  * OpenAPI spec version: 0.0.1
4772
4791
  */
4773
4792
  type GetSchemaById200 = {
4774
- /** Discriminator value for a user schema create request. */kind: "user-schema"; /** The user Schema version used for this schema. */
4793
+ /**
4794
+ * The type of user this schema describes. This is a customer chosen name.
4795
+ * @maxLength 256
4796
+ */
4797
+ objectType?: string; /** Discriminator value for a user schema create request. */
4798
+ kind: "user-schema"; /** The user Schema version used for this schema. */
4775
4799
  metaSchema: string; /** A list of authentication methods supported by the user definition. */
4776
4800
  "x-auth-methods": {
4777
4801
  password?: {
@@ -4814,7 +4838,10 @@ type GetSchemaById200 = {
4814
4838
  */
4815
4839
  position: number;
4816
4840
  };
4817
- }; /** A map of additional properties for the user definition, where the key is the property name and the value is the property schema */
4841
+ };
4842
+ /** A map of additional properties for the user definition, where the
4843
+ key is the property name and the value is the property schema
4844
+ */
4818
4845
  properties?: {
4819
4846
  [key: string]: {
4820
4847
  /** The verification method for this property, if applicable */"x-verify"?: string | null; /** The level of uniqueness for this property, if applicable */
@@ -5596,6 +5623,62 @@ type ListFlowDefinitionsParams = {
5596
5623
  */
5597
5624
  purpose?: ListFlowDefinitionsPurpose;
5598
5625
  }; //#endregion
5626
+ //#region src/generated/model/listSchemas200Item.d.ts
5627
+ /**
5628
+ * Generated by orval v8.10.0 🍺
5629
+ * Do not edit manually.
5630
+ * Zitadel NextGen
5631
+ * This is the next generation of the Zitadel identity platform.
5632
+ * OpenAPI spec version: 0.0.1
5633
+ */
5634
+ type ListSchemas200Item = {
5635
+ /** The unique identifier for this schema. */id: string;
5636
+ createdAt: string;
5637
+ }; //#endregion
5638
+ //#region src/generated/model/listSchemasDefaultDetails.d.ts
5639
+ /**
5640
+ * Generated by orval v8.10.0 🍺
5641
+ * Do not edit manually.
5642
+ * Zitadel NextGen
5643
+ * This is the next generation of the Zitadel identity platform.
5644
+ * OpenAPI spec version: 0.0.1
5645
+ */
5646
+ /**
5647
+ * Additional error-specific context.
5648
+ */
5649
+ //#endregion
5650
+ //#region src/generated/model/listSchemasParams.d.ts
5651
+ /**
5652
+ * Generated by orval v8.10.0 🍺
5653
+ * Do not edit manually.
5654
+ * Zitadel NextGen
5655
+ * This is the next generation of the Zitadel identity platform.
5656
+ * OpenAPI spec version: 0.0.1
5657
+ */
5658
+ type ListSchemasParams = {
5659
+ /**
5660
+ * The unique identifier of the project
5661
+ * @pattern ^[a-zA-Z0-9_-]+$
5662
+ */
5663
+ project_id: string;
5664
+ /**
5665
+ * Number of items to skip before returning results.
5666
+ * @minimum 0
5667
+ */
5668
+ offset?: number;
5669
+ /**
5670
+ * Token for fetching the next page of results.
5671
+ Obtain this value from `next_page_token` in the previous response.
5672
+ Omit to start from the beginning.
5673
+ Its format is opaque and may change between releases.
5674
+ */
5675
+ page_token?: string;
5676
+ /**
5677
+ * The type of object of the schema to filter by.
5678
+ * @maxLength 256
5679
+ */
5680
+ object_type?: string;
5681
+ }; //#endregion
5599
5682
  //#region src/generated/model/listSessions200SessionsItemFactorsItemMethod.d.ts
5600
5683
  /**
5601
5684
  * Generated by orval v8.10.0 🍺
@@ -6960,9 +7043,11 @@ type UpdateFlowDefinition200FlowDefinition = {
6960
7043
  - active -> draft: To remove the flow definition from active use immediately.
6961
7044
  */
6962
7045
  status: UpdateFlowDefinition200FlowDefinitionStatus;
6963
- /** User schema this flow operates on. Step `fields` reference properties
6964
- defined in this schema. The engine resolves field types, validation,
6965
- and implicit outcomes from schema annotations at runtime.
7046
+ /** Server-assigned identifier of the user schema this flow operates on,
7047
+ as returned by `POST /schemas`. Opaque to the client — the shape is a
7048
+ server implementation detail. Step `fields` reference properties
7049
+ defined in the resolved schema; the engine resolves field types, validation, and
7050
+ implicit outcomes from schema annotations at runtime.
6966
7051
  */
6967
7052
  user_schema: string;
6968
7053
  /** Maps each purpose this definition handles to its entry-point step.
@@ -7350,9 +7435,11 @@ type UpdateFlowDefinitionBodyFlowDefinition = {
7350
7435
  - active -> draft: To remove the flow definition from active use immediately.
7351
7436
  */
7352
7437
  status: UpdateFlowDefinitionBodyFlowDefinitionStatus;
7353
- /** User schema this flow operates on. Step `fields` reference properties
7354
- defined in this schema. The engine resolves field types, validation,
7355
- and implicit outcomes from schema annotations at runtime.
7438
+ /** Server-assigned identifier of the user schema this flow operates on,
7439
+ as returned by `POST /schemas`. Opaque to the client — the shape is a
7440
+ server implementation detail. Step `fields` reference properties
7441
+ defined in the resolved schema; the engine resolves field types, validation, and
7442
+ implicit outcomes from schema annotations at runtime.
7356
7443
  */
7357
7444
  user_schema: string;
7358
7445
  /** Maps each purpose this definition handles to its entry-point step.
@@ -8112,5 +8199,5 @@ declare global {
8112
8199
  }
8113
8200
  } //# sourceMappingURL=zl-select.d.ts.map
8114
8201
  //#endregion
8115
- export { ExchangeHandoff200 as $, zlButtonManifest as $t, CreateFlow201StepGates as A, ListFlowDefinitionsParams as At, CreateSchemaBody as B, SubmitFlowStep200 as Bt, CreateFlow201 as C, GetUserByIDParams as Ct, CreateFlow201StepActionsItem as D, IssueChallenge201 as Dt, CreateFlow201Step as E, IntrospectBody as Et, CreateFlowDefinitionBody as F, RevokeSessionParams as Ft, CreateTeamBody as G, VerifyChallengeProof200 as Gt, CreateSession201 as H, UpdateFlowDefinition200 as Ht, CreateHandoff200 as I, RevokeTokenBody as It, CreateUserBody as J, ZlCheckboxChangeDetail as Jt, CreateTeamParams as K, VerifyChallengeProofBody as Kt, CreateProject201 as L, SetUserPasswordBody as Lt, CreateFlowBody as M, ListSessionsParams as Mt, CreateFlowBodyPurpose as N, ListUsers200Item as Nt, CreateFlow201StepChallenge as O, IssueChallengeBody as Ot, CreateFlowDefinition201 as P, ListUsersParams as Pt, EndSessionParams as Q, ZlButton as Qt, CreateProjectBody as R, SetUserPasswordParams as Rt, CreateAuthAttemptBody as S, GetUserByID200 as St, CreateFlow201BrandingLayout as T, Introspect200 as Tt, CreateSessionBody as U, UpdateFlowDefinitionBody as Ut, CreateSchemaParams as V, SubmitFlowStepBody as Vt, CreateTeam201 as W, UpdateFlowDefinitionParams as Wt, DeactivateFlowDefinitionParams as X, ZlCard as Xt, CreateUserParams as Y, zlCheckboxManifest as Yt, DeleteFlowDefinitionParams as Z, zlCardManifest as Zt, AuthorizeDevice200 as _, GetSessionParams as _t, ZlPill as a, GetFlowStep200 as at, AuthorizeGetParams as b, GetToken200 as bt, ZlPasskeyErrorDetail as c, GetLiveDefault as ct, ZlPageShell as d, GetOpenIDConfiguration200 as dt, ZlAlert 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, zlIconManifest as in, GetFlowDefinitionParams as it, CreateFlow201StepSsoProvidersItem as j, ListSessions200 as jt, CreateFlow201StepFieldsItem as k, ListFlowDefinitions200 as kt, ZlPasskeyResultDetail as l, GetMySession200 as lt, ZlFieldType as m, GetSchemaById200 as mt, ZlSelectChangeDetail as n, IconName as nn, GetAuthAttempt200 as nt, zlPillManifest as o, GetHealthDefault as ot, ZlField as p, GetReadyDefault as pt, CreateUser201 as q, ZlCheckbox as qt, ZlSelectOption as r, ZlIcon as rn, GetFlowDefinition200 as rt, ZlPasskey as s, GetKeys200 as st, ZlSelect as t, zlAlertManifest 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, SubmitFlowEventBody as zt };
8116
- //# sourceMappingURL=index-D4LkdeFl.d.mts.map
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