@zitadel/components 0.0.0 → 0.1.0-alpha.10

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 (119) hide show
  1. package/README.md +76 -55
  2. package/dist/atoms/index.d.mts +1 -1
  3. package/dist/atoms/index.mjs +1 -1
  4. package/dist/{atoms-CmOTltTH.mjs → atoms-BaayzEsr.mjs} +246 -93
  5. package/dist/atoms-BaayzEsr.mjs.map +1 -0
  6. package/dist/default-Cpl78hQN.mjs +6 -0
  7. package/dist/default-Cpl78hQN.mjs.map +1 -0
  8. package/dist/{index-7FDHEpv5.d.mts → index-DB_JTtln.d.mts} +104 -100
  9. package/dist/index-DB_JTtln.d.mts.map +1 -0
  10. package/dist/{index-DIUFZjXw.d.mts → index-DVDCrfkv.d.mts} +1550 -850
  11. package/dist/index-DVDCrfkv.d.mts.map +1 -0
  12. package/dist/{index-DaOSCm0T.d.mts → index-EJengPPu.d.mts} +1 -1
  13. package/dist/{index-DaOSCm0T.d.mts.map → index-EJengPPu.d.mts.map} +1 -1
  14. package/dist/index.d.mts +6 -5
  15. package/dist/index.d.mts.map +1 -1
  16. package/dist/index.mjs +5 -4
  17. package/dist/{manifest-DCC2FxCE.d.mts → manifest-DN5Al_Ur.d.mts} +1 -1
  18. package/dist/{manifest-DCC2FxCE.d.mts.map → manifest-DN5Al_Ur.d.mts.map} +1 -1
  19. package/dist/manifests.d.mts +1 -1
  20. package/dist/manifests.mjs +1 -1
  21. package/dist/orchestrator/index.d.mts +3 -2
  22. package/dist/orchestrator/index.mjs +3 -2
  23. package/dist/{orchestrator-CNKo2WQG.mjs → orchestrator-BEvS2wA_.mjs} +667 -641
  24. package/dist/orchestrator-BEvS2wA_.mjs.map +1 -0
  25. package/dist/standalone.mjs +12156 -0
  26. package/dist/tokens/index.d.mts +1 -1
  27. package/dist/tokens/index.mjs +1 -1
  28. package/dist/{tokens-TXmurodq.mjs → tokens-BQ_augxi.mjs} +2 -2
  29. package/dist/{tokens-TXmurodq.mjs.map → tokens-BQ_augxi.mjs.map} +1 -1
  30. package/package.json +9 -17
  31. package/dist/atoms/index.d.ts +0 -9
  32. package/dist/atoms/index.d.ts.map +0 -1
  33. package/dist/atoms/zl-alert.d.ts +0 -56
  34. package/dist/atoms/zl-alert.d.ts.map +0 -1
  35. package/dist/atoms/zl-button.d.ts +0 -83
  36. package/dist/atoms/zl-button.d.ts.map +0 -1
  37. package/dist/atoms/zl-card.d.ts +0 -46
  38. package/dist/atoms/zl-card.d.ts.map +0 -1
  39. package/dist/atoms/zl-field.d.ts +0 -73
  40. package/dist/atoms/zl-field.d.ts.map +0 -1
  41. package/dist/atoms/zl-icon.d.ts +0 -48
  42. package/dist/atoms/zl-icon.d.ts.map +0 -1
  43. package/dist/atoms/zl-page-shell.d.ts +0 -42
  44. package/dist/atoms/zl-page-shell.d.ts.map +0 -1
  45. package/dist/atoms/zl-passkey.d.ts +0 -118
  46. package/dist/atoms/zl-passkey.d.ts.map +0 -1
  47. package/dist/atoms/zl-pill.d.ts +0 -55
  48. package/dist/atoms/zl-pill.d.ts.map +0 -1
  49. package/dist/atoms-CmOTltTH.mjs.map +0 -1
  50. package/dist/index-7FDHEpv5.d.mts.map +0 -1
  51. package/dist/index-DIUFZjXw.d.mts.map +0 -1
  52. package/dist/index-bZEvwHtq.d.mts +0 -996
  53. package/dist/index-bZEvwHtq.d.mts.map +0 -1
  54. package/dist/index.d.ts +0 -16
  55. package/dist/index.d.ts.map +0 -1
  56. package/dist/internal/base64url.d.ts +0 -18
  57. package/dist/internal/base64url.d.ts.map +0 -1
  58. package/dist/internal/unique-id.d.ts +0 -2
  59. package/dist/internal/unique-id.d.ts.map +0 -1
  60. package/dist/manifest.d.ts +0 -36
  61. package/dist/manifest.d.ts.map +0 -1
  62. package/dist/manifests.d.ts +0 -6
  63. package/dist/manifests.d.ts.map +0 -1
  64. package/dist/orchestrator/api-client.d.ts +0 -33
  65. package/dist/orchestrator/api-client.d.ts.map +0 -1
  66. package/dist/orchestrator/branding-to-tokens.d.ts +0 -28
  67. package/dist/orchestrator/branding-to-tokens.d.ts.map +0 -1
  68. package/dist/orchestrator/branding-validator.d.ts +0 -7
  69. package/dist/orchestrator/branding-validator.d.ts.map +0 -1
  70. package/dist/orchestrator/branding.d.ts +0 -76
  71. package/dist/orchestrator/branding.d.ts.map +0 -1
  72. package/dist/orchestrator/font-loader.d.ts +0 -2
  73. package/dist/orchestrator/font-loader.d.ts.map +0 -1
  74. package/dist/orchestrator/index.d.ts +0 -25
  75. package/dist/orchestrator/index.d.ts.map +0 -1
  76. package/dist/orchestrator/liquid.d.ts +0 -28
  77. package/dist/orchestrator/liquid.d.ts.map +0 -1
  78. package/dist/orchestrator/locales/de.d.ts +0 -9
  79. package/dist/orchestrator/locales/de.d.ts.map +0 -1
  80. package/dist/orchestrator/locales/en.d.ts +0 -13
  81. package/dist/orchestrator/locales/en.d.ts.map +0 -1
  82. package/dist/orchestrator/locales/index.d.ts +0 -12
  83. package/dist/orchestrator/locales/index.d.ts.map +0 -1
  84. package/dist/orchestrator/mandatory-gates.d.ts +0 -26
  85. package/dist/orchestrator/mandatory-gates.d.ts.map +0 -1
  86. package/dist/orchestrator/sanitiser.d.ts +0 -6
  87. package/dist/orchestrator/sanitiser.d.ts.map +0 -1
  88. package/dist/orchestrator/template-context.d.ts +0 -55
  89. package/dist/orchestrator/template-context.d.ts.map +0 -1
  90. package/dist/orchestrator/template-names.d.ts +0 -16
  91. package/dist/orchestrator/template-names.d.ts.map +0 -1
  92. package/dist/orchestrator/templates/auth-form.liquid.d.ts +0 -14
  93. package/dist/orchestrator/templates/auth-form.liquid.d.ts.map +0 -1
  94. package/dist/orchestrator/templates/default.liquid.d.ts +0 -23
  95. package/dist/orchestrator/templates/default.liquid.d.ts.map +0 -1
  96. package/dist/orchestrator/templates/passkey-upsell.liquid.d.ts +0 -15
  97. package/dist/orchestrator/templates/passkey-upsell.liquid.d.ts.map +0 -1
  98. package/dist/orchestrator/templates/signed-in.liquid.d.ts +0 -20
  99. package/dist/orchestrator/templates/signed-in.liquid.d.ts.map +0 -1
  100. package/dist/orchestrator/theme-controller.d.ts +0 -30
  101. package/dist/orchestrator/theme-controller.d.ts.map +0 -1
  102. package/dist/orchestrator/zitadel-login.d.ts +0 -182
  103. package/dist/orchestrator/zitadel-login.d.ts.map +0 -1
  104. package/dist/orchestrator/zitadel-logout.d.ts +0 -86
  105. package/dist/orchestrator/zitadel-logout.d.ts.map +0 -1
  106. package/dist/orchestrator-CNKo2WQG.mjs.map +0 -1
  107. package/dist/styles/base.d.ts +0 -7
  108. package/dist/styles/base.d.ts.map +0 -1
  109. package/dist/styles/focus-ring.d.ts +0 -7
  110. package/dist/styles/focus-ring.d.ts.map +0 -1
  111. package/dist/styles/index.d.ts +0 -5
  112. package/dist/styles/index.d.ts.map +0 -1
  113. package/dist/styles/surface.d.ts +0 -8
  114. package/dist/styles/surface.d.ts.map +0 -1
  115. package/dist/styles/tokens.d.ts +0 -11
  116. package/dist/styles/tokens.d.ts.map +0 -1
  117. package/dist/tokens/index.d.ts +0 -9
  118. package/dist/tokens/index.d.ts.map +0 -1
  119. package/dist/tsconfig.lib.tsbuildinfo +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-bZEvwHtq.d.mts","names":["$a","CreateUserBody","$n","GetUserByIDParams","$t","ListUsersParams","A","UpdateFlowDefinition200","Bo","CreateSchema201","Bs","CreateAuthAttemptBody","Ca","ExchangeHandoffParams","Ci","GetLiveDefault","Ea","ExchangeHandoffBody","Fo","CreateSchemaBody","Ir","GetSchemaByIdParams","It","RevokeSessionParams","Jo","CreateHandoff200","Ko","CreateProject201","Mo","CreateSchemaParams","N","SubmitFlowStepBody","Na","ExchangeHandoff200","Ni","GetHealthDefault","Nt","RevokeTokenBody","Pn","IssueChallengeBody","Qs","AuthorizeGetDefault","Rn","IssueChallenge201","Sr","GetSessionParams","Tn","ListFlowDefinitionsParams","Ui","GetFlowStep200","Uo","CreateProjectBody","Ur","GetSchemaById200","Va","EndSessionParams","Vs","CreateAuthAttempt201","Wn","IntrospectBody","Wr","GetReadyDefault","Xa","CreateUserParams","Xn","GetUserInfo200","Zo","CreateFlowDefinitionBody","Zs","AuthorizeGetParams","_n","ListSessions200","_o","CreateTeam201","bo","CreateSessionBody","co","CreateUser201","da","GetFlowDefinition200","dr","GetToken200","ei","GetProject200","fo","CreateTeamBody","gi","GetMySession200","gs","CreateFlowBody","h","UpdateFlowDefinitionBody","it","SubmitFlowStep200","jn","ListFlowDefinitions200","ki","GetKeys200","kr","GetSession200","lo","CreateTeamParams","lr","GetTokenBody","mr","GetTeamParams","n","VerifyChallengeProofBody","nc","AuthorizeDeviceParams","on","ListUsers200Item","or","GetUserByID200","pa","GetAuthAttempt200","ps","CreateFlowDefinition201","qn","Introspect200","r","VerifyChallengeProof200","ri","GetOpenIDConfiguration200","sc","AuthorizeDevice200","sn","ListSessionsParams","wo","CreateSession201","wt","SubmitFlowEventBody","xr","GetTeam200","xs","CreateFlow201","zitadelNextGen_d_exports","authorizeDevice","authorizeGet","createAuthAttempt","createFlow","createFlowDefinition","createHandoff","createProject","createSchema","createSession","createTeam","createUser","deleteFlowDefinition","endSession","exchangeHandoff","getAuthAttempt","getAuthorizeDeviceUrl","getAuthorizeGetUrl","getCreateAuthAttemptUrl","getCreateFlowDefinitionUrl","getCreateFlowUrl","getCreateHandoffUrl","getCreateProjectUrl","getCreateSchemaUrl","getCreateSessionUrl","getCreateTeamUrl","getCreateUserUrl","getDeleteFlowDefinitionUrl","getEndSessionUrl","getExchangeHandoffUrl","getFlowDefinition","getFlowStep","getGetAuthAttemptUrl","getGetFlowDefinitionUrl","getGetFlowStepUrl","getGetHealthUrl","getGetKeysUrl","getGetLiveUrl","getGetMySessionUrl","getGetOpenIDConfigurationUrl","getGetProjectUrl","getGetReadyUrl","getGetSchemaByIdUrl","getGetSessionUrl","getGetTeamUrl","getGetTokenUrl","getGetUserByIDUrl","getGetUserInfoUrl","getHealth","getIntrospectUrl","getIssueChallengeUrl","getKeys","getListFlowDefinitionsUrl","getListSessionsUrl","getListUsersUrl","getLive","getMySession","getOpenIDConfiguration","getProject","getReady","getRevokeMySessionUrl","getRevokeSessionUrl","getRevokeTokenUrl","getSchemaById","getSession","getSubmitFlowEventUrl","getSubmitFlowStepUrl","getTeam","getToken","getUpdateFlowDefinitionUrl","getUserByID","getUserInfo","getVerifyChallengeProofUrl","introspect","issueChallenge","listFlowDefinitions","listSessions","listUsers","revokeMySession","revokeSession","revokeToken","submitFlowEvent","submitFlowStep","updateFlowDefinition","verifyChallengeProof","RequestInit","Promise","options","params","introspectBody","revokeTokenBody","getTokenBody","createUserBody","userId","createFlowBody","id","submitFlowStepBody","submitFlowEventBody","createAuthAttemptBody","attemptId","issueChallengeBody","challengeId","verifyChallengeProofBody","createProjectBody","projectId","createSessionBody","exchangeHandoffBody","sessionId","createSchemaBody","createFlowDefinitionBody","updateFlowDefinitionBody","createTeamBody","teamId","$","At","B","C","Ct","D","Dt","E","Et","F","G","H","I","J","K","L","M","O","Ot","P","Q","R","S","St","T","Tt","U","V","W","X","Y","Z","_","_t","a","at","b","bt","c","ct","d","dt","et","f","ft","g","gt","ht","i","j","jt","k","kt","l","lt","m","mt","nt","o","ot","p","pt","q","rt","s","st","t","tt","u","ut","v","vt","w","x","xt","y","yt","z","jt","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-C-fBEgnH.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/index.ts","../src/orchestrator/zitadel-login.ts","../src/orchestrator/zitadel-logout.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/templates/default.liquid.ts","../src/orchestrator/templates/auth-form.liquid.ts","../src/orchestrator/templates/passkey-upsell.liquid.ts","../src/orchestrator/templates/signed-in.liquid.ts","../src/orchestrator/api-client.ts","../src/orchestrator/branding-validator.ts","../src/orchestrator/template-context.ts"],"mappings":";;;;;;kBAGkBwI,wBAAAA;EAAAA,SACPC,eAAAA,EAAiBC,YAAAA,EAAcC,iBAAAA,EAAmBC,UAAAA,EAAYC,oBAAAA,EAAsBC,aAAAA,EAAeC,aAAAA,EAAeC,YAAAA,EAAcC,aAAAA,EAAeC,UAAAA,EAAYC,UAAAA,EAAYC,oBAAAA,EAAsBC,UAAAA,EAAYC,eAAAA,EAAiBC,cAAAA,EAAgBC,qBAAAA,EAAuBC,kBAAAA,EAAoBC,uBAAAA,EAAyBC,0BAAAA,EAA4BC,gBAAAA,EAAkBC,mBAAAA,EAAqBC,mBAAAA,EAAqBC,kBAAAA,EAAoBC,mBAAAA,EAAqBC,gBAAAA,EAAkBC,gBAAAA,EAAkBC,0BAAAA,EAA4BC,gBAAAA,EAAkBC,qBAAAA,EAAuBC,iBAAAA,EAAmBC,WAAAA,EAAaC,oBAAAA,EAAsBC,uBAAAA,EAAyBC,iBAAAA,EAAmBC,eAAAA,EAAiBC,aAAAA,EAAeC,aAAAA,EAAeC,kBAAAA,EAAoBC,4BAAAA,EAA8BC,gBAAAA,EAAkBC,cAAAA,EAAgBC,mBAAAA,EAAqBC,gBAAAA,EAAkBC,aAAAA,EAAeC,cAAAA,EAAgBC,iBAAAA,EAAmBC,iBAAAA,EAAmBC,SAAAA,EAAWC,gBAAAA,EAAkBC,oBAAAA,EAAsBC,OAAAA,EAASC,yBAAAA,EAA2BC,kBAAAA,EAAoBC,eAAAA,EAAiBC,OAAAA,EAASC,YAAAA,EAAcC,sBAAAA,EA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;EACX,MAAA,EAAQ,uBAAA;EACR,OAAA,EAAS,wBAAA;EACT,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"}
package/dist/index.d.ts DELETED
@@ -1,16 +0,0 @@
1
- /**
2
- * `@zitadel/components` — Lit-based atomic web components for the
3
- * Zitadel auth UI.
4
- *
5
- * Importing this module side-effect-registers every shipped `<zl-*>` atom and
6
- * the `<zitadel-login>` orchestrator. Tree-shake by importing the leaf
7
- * subpaths instead (e.g. `@zitadel/components/atoms`).
8
- */
9
- import "./atoms/index.js";
10
- import "./orchestrator/index.js";
11
- export { ZlAlert, ZlButton, ZlCard, ZlField, ZlIcon, ZlPageShell, ZlPill, type IconName, type ZlFieldType, zlAlertManifest, zlButtonManifest, zlCardManifest, zlFieldManifest, zlIconManifest, zlPageShellManifest, zlPillManifest, } from "./atoms/index.js";
12
- export { manifestRegistry, findManifest, listKnownTags, type AtomManifest } from "./manifests.js";
13
- export { tokens, cssVars, type Tokens, type CssVars } from "./tokens/index.js";
14
- export { baseHostStyles, focusVisibleStyles, t } from "./styles/index.js";
15
- export { ZitadelLogin, ZitadelLogout, applyBrandingTokens, buildBrandingStylesheet, resolveTheme, ThemeController, applyFontUrl, createSanitiser, validateBranding, patchMandatoryGates, defaultTemplate, layoutChromeCss, authFormTemplate, passkeyUpsellTemplate, signedInTemplate, TEMPLATE_NAMES, en, de, builtinLocales, startFlow, submitStep, getCurrentStep, type Branding, type BrandingAssets, type BrandingAttribution, type BrandingPalette, type BrandingShape, type BrandingTheme, type BrandingTypography, type BrandingValidationResult, type FlowError, type FlowIdentity, type FlowLayout, type FlowMessage, type LiquidContext, type Locale, type ResolvedTheme, } from "./orchestrator/index.js";
16
- //# sourceMappingURL=index.d.ts.map
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AyB,CAAC"}
@@ -1,18 +0,0 @@
1
- /**
2
- * Base64URL encoding/decoding for WebAuthn binary fields.
3
- *
4
- * WebAuthn's `ArrayBuffer` values (`rawId`, `clientDataJSON`,
5
- * `authenticatorData`, `signature`, `attestationObject`, `userHandle`)
6
- * must be base64url-encoded before sending as JSON. The WebAuthn JSON
7
- * serialization spec (https://www.w3.org/TR/webauthn-3/) requires
8
- * Base64URL (RFC 4648 §5) — no padding, URL-safe alphabet.
9
- */
10
- /**
11
- * Encode an `ArrayBuffer` to a Base64URL string (no padding).
12
- */
13
- export declare function bufferToBase64Url(buffer: ArrayBuffer): string;
14
- /**
15
- * Decode a Base64URL string to an `ArrayBuffer`.
16
- */
17
- export declare function base64UrlToBuffer(base64url: string): ArrayBuffer;
18
- //# sourceMappingURL=base64url.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base64url.d.ts","sourceRoot":"","sources":["../../src/internal/base64url.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAO7D;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,CAShE"}
@@ -1,2 +0,0 @@
1
- export declare function nextUid(prefix: string): string;
2
- //# sourceMappingURL=unique-id.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unique-id.d.ts","sourceRoot":"","sources":["../../src/internal/unique-id.ts"],"names":[],"mappings":"AAaA,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAG9C"}
@@ -1,36 +0,0 @@
1
- /**
2
- * Atom manifest contract.
3
- *
4
- * Each `<zl-*>` atom ships a machine-readable manifest that the structural
5
- * validator and editor consume. Names follow the schema in
6
- * `docs/design/branding/validator.md`.
7
- *
8
- * The manifest is the single source of truth for:
9
- * - which step capability the atom binds to (`consumes` / `satisfies_gate`),
10
- * - the public attribute surface (`attrs`),
11
- * - the public `::part()` hooks (`parts`) — tier 2 of the override ladder,
12
- * - the public named slot set (`slots`) — tier 3 of the override ladder,
13
- * - the `CustomEvent` names the atom emits (`events`).
14
- *
15
- * Renaming any value here is a breaking change to the override contract.
16
- */
17
- export type ConsumesField = {
18
- readonly required?: boolean;
19
- };
20
- export type ConsumesAction = {
21
- readonly kind: string;
22
- readonly required?: boolean;
23
- };
24
- export type AtomManifest = {
25
- readonly tag: `zl-${string}`;
26
- readonly consumes?: {
27
- readonly field?: ConsumesField;
28
- readonly action?: ConsumesAction;
29
- };
30
- readonly satisfies_gate?: string;
31
- readonly attrs: readonly string[];
32
- readonly parts: readonly string[];
33
- readonly slots: readonly string[];
34
- readonly events: readonly string[];
35
- };
36
- //# sourceMappingURL=manifest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../src/manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,CAAC,GAAG,EAAE,MAAM,MAAM,EAAE,CAAC;IAC7B,QAAQ,CAAC,QAAQ,CAAC,EAAE;QAClB,QAAQ,CAAC,KAAK,CAAC,EAAE,aAAa,CAAC;QAC/B,QAAQ,CAAC,MAAM,CAAC,EAAE,cAAc,CAAC;KAClC,CAAC;IACF,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;CACpC,CAAC"}
@@ -1,6 +0,0 @@
1
- import type { AtomManifest } from "./manifest.js";
2
- export declare const manifestRegistry: readonly AtomManifest[];
3
- export declare function findManifest(tag: string): AtomManifest | undefined;
4
- export declare function listKnownTags(): readonly string[];
5
- export type { AtomManifest } from "./manifest.js";
6
- //# sourceMappingURL=manifests.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"manifests.d.ts","sourceRoot":"","sources":["../src/manifests.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,gBAAgB,EAAE,SAAS,YAAY,EAS1C,CAAC;AAEX,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAElE;AAED,wBAAgB,aAAa,IAAI,SAAS,MAAM,EAAE,CAEjD;AAED,YAAY,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC"}
@@ -1,33 +0,0 @@
1
- /**
2
- * Thin wrappers around the orval-generated `@zitadel/api` fetch
3
- * functions for the API operations the orchestrator drives:
4
- *
5
- * - `POST /flow` — `createFlow`
6
- * - `POST /flow/{id}/submit` — `submitFlowStep`
7
- * - `GET /flow/{id}` — `getFlowStep`
8
- * - `POST /sessions/exchange` — `exchangeHandoff`
9
- *
10
- * The wrappers exist for one reason: every API call must run with
11
- * `credentials: "include"` so the stateless `_zflow` HttpOnly cookie
12
- * round-trips. Centralising that here keeps every call site honest.
13
- *
14
- * Types come straight from `@zitadel/api/generated/model`. Orval
15
- * emits per-operation aliases (`CreateFlow201`, `GetFlowStep200`,
16
- * `SubmitFlowStep200`) for what is structurally the same response; the
17
- * orchestrator stores them as `CreateFlow201` because that is the alias
18
- * orval gives the start-of-flow response.
19
- */
20
- import type { ZitadelApi } from "@zitadel/api/config";
21
- import type { CreateFlow201, CreateFlowBody, ExchangeHandoff200, ExchangeHandoffBody, ExchangeHandoffParams, SubmitFlowStepBody } from "@zitadel/api/generated/model";
22
- export declare function startFlow(api: ZitadelApi, input: CreateFlowBody): Promise<CreateFlow201>;
23
- export declare function submitStep(api: ZitadelApi, id: string, body: SubmitFlowStepBody): Promise<CreateFlow201>;
24
- export declare function getCurrentStep(api: ZitadelApi, id: string): Promise<CreateFlow201>;
25
- /**
26
- * Exchange a terminal-flow `handoff_token` for an authenticated session.
27
- * The server sets the `__nextgen_session` HttpOnly cookie on success.
28
- *
29
- * Uses the generated `exchangeHandoff` client which handles the
30
- * `project_id` query parameter via {@link ExchangeHandoffParams}.
31
- */
32
- export declare function exchangeSession(api: ZitadelApi, body: ExchangeHandoffBody, params: ExchangeHandoffParams): Promise<ExchangeHandoff200>;
33
- //# sourceMappingURL=api-client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api-client.d.ts","sourceRoot":"","sources":["../../src/orchestrator/api-client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,8BAA8B,CAAC;AAKtC,wBAAsB,SAAS,CAAC,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC,CAE9F;AAKD,wBAAsB,UAAU,CAC9B,GAAG,EAAE,UAAU,EACf,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,kBAAkB,GACvB,OAAO,CAAC,aAAa,CAAC,CASxB;AAMD,wBAAsB,cAAc,CAAC,GAAG,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAExF;AAED;;;;;;GAMG;AACH,wBAAsB,eAAe,CACnC,GAAG,EAAE,UAAU,EACf,IAAI,EAAE,mBAAmB,EACzB,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,kBAAkB,CAAC,CAE7B"}
@@ -1,28 +0,0 @@
1
- import type { ResolvedTheme } from "./theme-controller.js";
2
- import type { Branding } from "./branding.js";
3
- export type BrandingToTokensOptions = {
4
- resolvedTheme?: ResolvedTheme;
5
- };
6
- /**
7
- * Build a CSS string of `:host { --zl-* }` declarations from a Branding
8
- * payload. Light values land on `:host`; dark overrides land on
9
- * `:host([data-theme="dark"])`.
10
- */
11
- export declare function buildBrandingStylesheet(branding: Branding | undefined, options?: BrandingToTokensOptions): string;
12
- /**
13
- * Adopt the design-system base token layer onto a `ShadowRoot`. Safe to call
14
- * many times — the underlying constructable sheet is shared across every
15
- * orchestrator instance and de-duplicated in the adopted list.
16
- */
17
- export declare function applyBaseTokens(shadowRoot: ShadowRoot): void;
18
- /**
19
- * Apply a branding payload as a `--zl-*` overrides layer on top of the base
20
- * token sheet. Subsequent calls replace the previous override sheet so a new
21
- * branding payload paints cleanly without leaking older declarations.
22
- *
23
- * Callers should run `applyBaseTokens(shadowRoot)` first (once per shadow
24
- * root) so the base values exist before branding patches them.
25
- */
26
- export declare function applyBrandingTokens(shadowRoot: ShadowRoot, branding: Branding | undefined, resolvedTheme: ResolvedTheme): void;
27
- export declare function resolveTheme(branding: Branding | undefined): ResolvedTheme;
28
- //# sourceMappingURL=branding-to-tokens.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"branding-to-tokens.d.ts","sourceRoot":"","sources":["../../src/orchestrator/branding-to-tokens.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAsD,MAAM,eAAe,CAAC;AA8ClG,MAAM,MAAM,uBAAuB,GAAG;IACpC,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,QAAQ,GAAG,SAAS,EAC9B,OAAO,GAAE,uBAA4B,GACpC,MAAM,CAuBR;AAgGD;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,CAa5D;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,QAAQ,GAAG,SAAS,EAC9B,aAAa,EAAE,aAAa,GAC3B,IAAI,CAaN;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,QAAQ,GAAG,SAAS,GAAG,aAAa,CAa1E"}
@@ -1,7 +0,0 @@
1
- import type { Branding } from "./branding.js";
2
- export type BrandingValidationResult = {
3
- branding: Branding | undefined;
4
- issues: readonly string[];
5
- };
6
- export declare function validateBranding(input: Branding | undefined): BrandingValidationResult;
7
- //# sourceMappingURL=branding-validator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"branding-validator.d.ts","sourceRoot":"","sources":["../../src/orchestrator/branding-validator.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAI9C,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC/B,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;CAC3B,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,QAAQ,GAAG,SAAS,GAAG,wBAAwB,CA6BtF"}
@@ -1,76 +0,0 @@
1
- /**
2
- * Client-side branding shape consumed by the orchestrator.
3
- *
4
- * The five baseline wire fields (`layout`, `liquid_template`, `logo_url`,
5
- * `font_url`, `hero_url`) come straight from the orval-generated
6
- * `CreateFlow201Branding`. The v2 "structured extension" blocks (palette /
7
- * typography / shape / assets / theme) are deliberately client-only — see
8
- * `docs/design/branding/schema.md` "Proposed structured extension". Once
9
- * those land on the wire we drop the extension blocks here too.
10
- *
11
- * The validator (`branding-validator.ts`) strips fields the OpenAPI doesn't
12
- * model if a misconfigured tenant ever leaks them down through the wire.
13
- */
14
- import type { CreateFlow201Branding, CreateFlow201BrandingLayout } from "@zitadel/api/generated/model";
15
- export type FlowLayout = CreateFlow201BrandingLayout;
16
- export type BrandingPalette = {
17
- primary?: string;
18
- on_primary?: string;
19
- background?: string;
20
- surface?: string;
21
- muted?: string;
22
- border?: string;
23
- text?: string;
24
- text_muted?: string;
25
- link?: string;
26
- success?: string;
27
- warning?: string;
28
- error?: string;
29
- };
30
- export type BrandingTypography = {
31
- font_family?: string;
32
- font_family_mono?: string;
33
- scale?: number;
34
- };
35
- export type BrandingShape = {
36
- radius?: "none" | "sm" | "md" | "lg" | "full";
37
- density?: "compact" | "regular" | "comfortable";
38
- };
39
- export type BrandingTheme = {
40
- mode?: "light" | "dark" | "auto";
41
- dark?: {
42
- palette?: BrandingPalette;
43
- };
44
- };
45
- export type BrandingAssets = {
46
- logo_dark?: string;
47
- favicon?: string;
48
- background_image?: string;
49
- };
50
- /**
51
- * Wire shape (`CreateFlow201Branding`) plus the v2 client-only extension.
52
- * Structurally a superset, so any `CreateFlow201Branding` payload from the
53
- * wire is assignable to `Branding` without a cast.
54
- *
55
- * `attribution.show_zitadel` controls the "Secured with Zitadel" pill in
56
- * the orchestrator footer. Tenants set it to `false` only when they have a
57
- * licence that permits removing attribution (community / OSS deployments
58
- * always show it). The flag intentionally lives on `Branding` so it can
59
- * be overridden per-flow alongside the rest of the visual surface.
60
- */
61
- export type Branding = CreateFlow201Branding & {
62
- palette?: BrandingPalette;
63
- typography?: BrandingTypography;
64
- shape?: BrandingShape;
65
- assets?: BrandingAssets;
66
- theme?: BrandingTheme;
67
- attribution?: BrandingAttribution;
68
- };
69
- export type BrandingAttribution = {
70
- show_zitadel?: boolean;
71
- custom_link?: {
72
- label: string;
73
- href: string;
74
- };
75
- };
76
- //# sourceMappingURL=branding.d.ts.map
@@ -1 +0,0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M,cAAc,GAAG;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,MAAM,MAAM,QAAQ,GAAG,qBAAqB,GAAG;IAC7C,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,WAAW,CAAC,EAAE,mBAAmB,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,WAAW,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;CAC/C,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare function applyFontUrl(shadowRoot: ShadowRoot, fontUrl: string | null | undefined): void;
2
- //# sourceMappingURL=font-loader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"font-loader.d.ts","sourceRoot":"","sources":["../../src/orchestrator/font-loader.ts"],"names":[],"mappings":"AAaA,wBAAgB,YAAY,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAgB7F"}
@@ -1,25 +0,0 @@
1
- /**
2
- * Orchestrator surface: the `<zitadel-login>` and `<zitadel-logout>`
3
- * elements and their supporting primitives. Importing this barrel
4
- * side-effect-registers the elements.
5
- */
6
- import "./zitadel-login.js";
7
- import "./zitadel-logout.js";
8
- export { ZitadelLogin } from "./zitadel-login.js";
9
- export { ZitadelLogout } from "./zitadel-logout.js";
10
- export { applyBrandingTokens, buildBrandingStylesheet, resolveTheme, } from "./branding-to-tokens.js";
11
- export { ThemeController, type ResolvedTheme } from "./theme-controller.js";
12
- export { applyFontUrl } from "./font-loader.js";
13
- export { TEMPLATE_NAMES } from "./template-names.js";
14
- export { en, de, builtinLocales, type Locale } from "./locales/index.js";
15
- export { patchMandatoryGates, mandatoryGatesMarkerComment, MANDATORY_GATES_MARKER, } from "./mandatory-gates.js";
16
- export { createSanitiser } from "./sanitiser.js";
17
- export { defaultTemplate, layoutChromeCss } from "./templates/default.liquid.js";
18
- export { authFormTemplate } from "./templates/auth-form.liquid.js";
19
- export { passkeyUpsellTemplate } from "./templates/passkey-upsell.liquid.js";
20
- export { signedInTemplate } from "./templates/signed-in.liquid.js";
21
- export { startFlow, submitStep, getCurrentStep } from "./api-client.js";
22
- export { validateBranding, type BrandingValidationResult } from "./branding-validator.js";
23
- export type { Branding, BrandingAssets, BrandingAttribution, BrandingPalette, BrandingShape, BrandingTheme, BrandingTypography, FlowLayout, } from "./branding.js";
24
- export type { FlowError, FlowIdentity, FlowMessage, LiquidContext, } from "./template-context.js";
25
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/orchestrator/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,oBAAoB,CAAC;AAC5B,OAAO,qBAAqB,CAAC;AAE7B,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACvB,YAAY,GACb,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAShD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,cAAc,EAAE,KAAK,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EACL,mBAAmB,EACnB,2BAA2B,EAC3B,sBAAsB,GACvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,KAAK,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAC1F,YAAY,EACV,QAAQ,EACR,cAAc,EACd,mBAAmB,EACnB,eAAe,EACf,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,UAAU,GACX,MAAM,eAAe,CAAC;AACvB,YAAY,EACV,SAAS,EACT,YAAY,EACZ,WAAW,EACX,aAAa,GACd,MAAM,uBAAuB,CAAC"}
@@ -1,28 +0,0 @@
1
- /**
2
- * LiquidJS engine factory for the `<zitadel-login>` orchestrator.
3
- *
4
- * Configures the engine per the security pipeline in
5
- * `docs/design/flowengine/template-security.md` and registers the
6
- * `| t` filter and `{% mandatory_gates %}` tag from
7
- * `docs/design/branding/templates.md`.
8
- *
9
- * Hard rules:
10
- *
11
- * - `{{ }}` output is HTML-escaped (LiquidJS default since v10).
12
- * - The `| raw` filter is overridden to a no-op string passthrough that still
13
- * escapes (Layer 1 of the security pipeline).
14
- * - Partials are loaded from an in-memory map; no filesystem access.
15
- */
16
- import { Liquid } from "liquidjs";
17
- import type { Locale } from "./locales/en.js";
18
- export type CreateLiquidOptions = {
19
- locale: Locale;
20
- /**
21
- * Additional in-memory templates merged on top of the bundled defaults.
22
- * Useful for tests and for tenant-supplied `branding.liquid_template`
23
- * (registered under {@link TEMPLATE_NAMES.default}).
24
- */
25
- templates?: Record<string, string>;
26
- };
27
- export declare function createLiquidEngine(options: CreateLiquidOptions): Liquid;
28
- //# sourceMappingURL=liquid.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"liquid.d.ts","sourceRoot":"","sources":["../../src/orchestrator/liquid.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAQ9C,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACpC,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,mBAAmB,GAAG,MAAM,CAyGvE"}
@@ -1,9 +0,0 @@
1
- /**
2
- * German locale dictionary.
3
- *
4
- * Structure mirrors {@link en} — same keys, translated values.
5
- * Copy aligned to Figma screens file `xkvBjkOJ8ENuHdTGZHXezK` (May 2026).
6
- */
7
- import type { Locale } from "./en.js";
8
- export declare const de: Locale;
9
- //# sourceMappingURL=de.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../src/orchestrator/locales/de.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEtC,eAAO,MAAM,EAAE,EAAE,MA+EhB,CAAC"}
@@ -1,13 +0,0 @@
1
- /**
2
- * Minimal English locale dictionary.
3
- *
4
- * The `| t` filter looks up `text_key` strings here. Missing keys fall through
5
- * to the raw key (matches the spec in
6
- * `docs/design/flowengine/flow-engine-guide.md`).
7
- *
8
- * Copy aligned to Figma screens file `xkvBjkOJ8ENuHdTGZHXezK` (May 2026).
9
- * MVP only — multi-locale support is deferred.
10
- */
11
- export declare const en: Record<string, string>;
12
- export type Locale = Record<string, string>;
13
- //# sourceMappingURL=en.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/orchestrator/locales/en.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA6ErC,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC"}
@@ -1,12 +0,0 @@
1
- /**
2
- * Built-in locale registry.
3
- *
4
- * Re-exports the individual dictionaries and provides a `builtinLocales`
5
- * map so the orchestrator can resolve a BCP 47 language tag to the
6
- * matching dictionary at runtime.
7
- */
8
- export { en, type Locale } from "./en.js";
9
- export { de } from "./de.js";
10
- import { type Locale } from "./en.js";
11
- export declare const builtinLocales: Readonly<Record<string, Locale>>;
12
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/orchestrator/locales/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,EAAE,EAAE,KAAK,MAAM,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAE7B,OAAO,EAAM,KAAK,MAAM,EAAE,MAAM,SAAS,CAAC;AAG1C,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAc,CAAC"}
@@ -1,26 +0,0 @@
1
- /**
2
- * `{% mandatory_gates %}` runtime patcher.
3
- *
4
- * Per `docs/design/branding/validator.md` §Runtime safety net:
5
- *
6
- * "After the template finishes rendering, the tag inspects the produced DOM
7
- * and appends:
8
- * - Any required `fields[*]` without a matching `<zl-field>`.
9
- * - Any required `gates[*]` without a matching consumer.
10
- * - A primary `<zl-button type="submit">` if none was reached."
11
- *
12
- * Implementation: the LiquidJS `{% mandatory_gates %}` tag emits a unique
13
- * marker comment. After Liquid renders, this patcher parses the produced
14
- * HTML into a `<template>`, builds any missing atoms as real DOM elements,
15
- * replaces the marker with them, and serialises back to a string.
16
- *
17
- * Building elements via the DOM (`document.createElement` + `setAttribute`)
18
- * delegates HTML attribute escaping to the browser's serialiser — no manual
19
- * string-escaping in this module.
20
- */
21
- import type { CreateFlow201Step } from "@zitadel/api/generated/model";
22
- import type { Locale } from "./locales/en.js";
23
- export declare const MANDATORY_GATES_MARKER = "ZL_MANDATORY_GATES";
24
- export declare const mandatoryGatesMarkerComment = "<!--ZL_MANDATORY_GATES-->";
25
- export declare function patchMandatoryGates(html: string, step: CreateFlow201Step, locale: Locale): string;
26
- //# sourceMappingURL=mandatory-gates.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mandatory-gates.d.ts","sourceRoot":"","sources":["../../src/orchestrator/mandatory-gates.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAE9C,eAAO,MAAM,sBAAsB,uBAAuB,CAAC;AAE3D,eAAO,MAAM,2BAA2B,8BAAqC,CAAC;AAE9E,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,iBAAiB,EACvB,MAAM,EAAE,MAAM,GACb,MAAM,CAoBR"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Returns a sanitiser bound to the current manifest registry. Callers should
3
- * cache the result; rebuilding is cheap but allocates a fresh DOMPurify config.
4
- */
5
- export declare function createSanitiser(): (html: string) => string;
6
- //# sourceMappingURL=sanitiser.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sanitiser.d.ts","sourceRoot":"","sources":["../../src/orchestrator/sanitiser.ts"],"names":[],"mappings":"AAyGA;;;GAGG;AACH,wBAAgB,eAAe,IAAI,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAsB1D"}
@@ -1,55 +0,0 @@
1
- /**
2
- * Liquid template context contract.
3
- *
4
- * The orchestrator feeds tenant Liquid templates a stable, renderer-friendly
5
- * projection of the wire `CreateFlow201` shape. Capability dictionaries
6
- * (`fields`, `actions`, `gates`, `sso_providers`) are typed straight from
7
- * the orval-generated wire so templates iterate over the same schema the
8
- * server promises.
9
- *
10
- * The orchestrator owns three projections that don't exist on the wire:
11
- *
12
- * 1. `errors` — lifted from `step.error: string | null` so templates iterate
13
- * uniformly even though the wire only carries one error string.
14
- * 2. `messages` — populated by orchestrator decoration hooks (info banners,
15
- * sticky notices); not on the wire.
16
- * 3. `identity` — resolved client-side for greet-by-name; not on the wire.
17
- */
18
- import type { CreateFlow201Step, CreateFlow201StepActions, CreateFlow201StepChallenge, CreateFlow201StepFields, CreateFlow201StepGates, CreateFlow201StepSsoProvidersItem } from "@zitadel/api/generated/model";
19
- import type { Branding } from "./branding.js";
20
- export type FlowMessage = {
21
- level: "info" | "warning";
22
- text_key: string;
23
- };
24
- export type FlowError = {
25
- code?: string;
26
- text_key?: string;
27
- message?: string;
28
- };
29
- export type FlowIdentity = {
30
- display_name?: string;
31
- email_address?: string;
32
- avatar_url?: string;
33
- };
34
- /**
35
- * Liquid render context. The orchestrator builds this from the wire
36
- * `CreateFlow201` payload before invoking the engine.
37
- *
38
- * Capability dictionaries point at the orval wire shapes directly. The only
39
- * client-only pieces are `messages`, `identity`, `errors`, the resolved
40
- * `branding` (v2 superset), and `loading`.
41
- */
42
- export type LiquidContext = {
43
- step: Pick<CreateFlow201Step, "name" | "complete" | "texts">;
44
- fields: CreateFlow201StepFields;
45
- actions: CreateFlow201StepActions;
46
- gates: CreateFlow201StepGates;
47
- sso_providers: readonly CreateFlow201StepSsoProvidersItem[];
48
- challenge: CreateFlow201StepChallenge | null;
49
- messages: readonly FlowMessage[];
50
- identity: FlowIdentity | null;
51
- errors: readonly FlowError[];
52
- branding: Branding | Record<string, never>;
53
- loading: boolean;
54
- };
55
- //# sourceMappingURL=template-context.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"template-context.d.ts","sourceRoot":"","sources":["../../src/orchestrator/template-context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,KAAK,EACV,iBAAiB,EACjB,wBAAwB,EACxB,0BAA0B,EAC1B,uBAAuB,EACvB,sBAAsB,EACtB,iCAAiC,EAClC,MAAM,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,IAAI,CAAC,iBAAiB,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,CAAC,CAAC;IAC7D,MAAM,EAAE,uBAAuB,CAAC;IAChC,OAAO,EAAE,wBAAwB,CAAC;IAClC,KAAK,EAAE,sBAAsB,CAAC;IAC9B,aAAa,EAAE,SAAS,iCAAiC,EAAE,CAAC;IAC5D,SAAS,EAAE,0BAA0B,GAAG,IAAI,CAAC;IAC7C,QAAQ,EAAE,SAAS,WAAW,EAAE,CAAC;IACjC,QAAQ,EAAE,YAAY,GAAG,IAAI,CAAC;IAC9B,MAAM,EAAE,SAAS,SAAS,EAAE,CAAC;IAC7B,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAC3C,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC"}
@@ -1,16 +0,0 @@
1
- /**
2
- * Names of the bundled Liquid templates the `<zitadel-login>` orchestrator
3
- * registers.
4
- *
5
- * This lives in its own module — separate from `liquid.ts` — so the public
6
- * barrel can re-export `TEMPLATE_NAMES` without dragging LiquidJS' `Liquid`
7
- * type (and its Node ambient-type requirements) into the published
8
- * declaration surface. See `liquid.ts` / the orchestrator barrel.
9
- */
10
- export declare const TEMPLATE_NAMES: {
11
- readonly default: "default";
12
- readonly authForm: "auth-form";
13
- readonly passkeyUpsell: "passkey-upsell";
14
- readonly signedIn: "signed-in";
15
- };
16
- //# sourceMappingURL=template-names.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"template-names.d.ts","sourceRoot":"","sources":["../../src/orchestrator/template-names.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;aACzB,OAAO,EAAE,SAAS;aAClB,QAAQ,EAAE,WAAW;aACrB,aAAa,EAAE,gBAAgB;aAC/B,QAAQ,EAAE,WAAW;CACb,CAAC"}
@@ -1,14 +0,0 @@
1
- /**
2
- * `auth-form` partial — Sign in and Sign up screens (Figma screens file).
3
- *
4
- * Sign up 2xl frame: `6593:141741` (card `6593:141743`, attribution `6593:141767`).
5
- * Sign in 2xl frame: `6593:141983`, card `6593:141985`, stack `6593:141989`
6
- * (email + password + forgot link + CTAs on one step).
7
- * Sign-in errors: wrong credentials `6602:180268`, server alert `6594:125237`.
8
- *
9
- * Figma `Field+CTAs` stacks fields + CTAs in one column at 16px (`spacing-03`).
10
- * Primary/secondary are 48px buttons; register / sign_in are body copy with a
11
- * purple text link (24px row) — not `<zl-button hierarchy="text">`.
12
- */
13
- export declare const authFormTemplate: string;
14
- //# sourceMappingURL=auth-form.liquid.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth-form.liquid.d.ts","sourceRoot":"","sources":["../../../src/orchestrator/templates/auth-form.liquid.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,gBAAgB,QAwG5B,CAAC"}