@cosmicdrift/kumiko-bundled-features 0.373.0 → 0.377.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (215) hide show
  1. package/dist/account-security/constants.d.ts +1 -0
  2. package/dist/account-security/constants.js +1 -0
  3. package/dist/account-security/index.d.ts +1 -1
  4. package/dist/account-security/index.js +1 -1
  5. package/dist/admin-shell/web/client-plugin.d.ts +1 -1
  6. package/dist/audit/web/client-plugin.d.ts +1 -1
  7. package/dist/auth-email-password/i18n.js +1 -0
  8. package/dist/auth-email-password/mail-notifications.js +1 -1
  9. package/dist/auth-email-password/web/auth-client.js +1 -1
  10. package/dist/auth-email-password/web/auth-form-primitives.js +1 -1
  11. package/dist/auth-email-password/web/client-actions.d.ts +2 -0
  12. package/dist/auth-email-password/web/client-actions.js +23 -0
  13. package/dist/auth-email-password/web/client-plugin.d.ts +2 -1
  14. package/dist/auth-email-password/web/client-plugin.js +2 -0
  15. package/dist/auth-email-password/web/default-topbar-actions.js +1 -1
  16. package/dist/auth-email-password/web/index.js +1 -1
  17. package/dist/auth-email-password/web/session.js +1 -1
  18. package/dist/auth-email-password/web/tenant-menu-items.js +1 -1
  19. package/dist/auth-email-password/web/tenant-switcher.js +1 -1
  20. package/dist/auth-email-password/web/user-menu.js +1 -1
  21. package/dist/auth-foundation/env.d.ts +9 -0
  22. package/dist/auth-foundation/env.js +21 -0
  23. package/dist/auth-foundation/index.d.ts +1 -0
  24. package/dist/auth-foundation/index.js +1 -0
  25. package/dist/auth-mfa/schema/user-mfa.d.ts +6 -6
  26. package/dist/billing-foundation/consumer-protection/confirmation-mail.js +1 -1
  27. package/dist/billing-foundation/consumer-protection/termination-pages.js +1 -1
  28. package/dist/billing-foundation/contact-card.d.ts +2 -0
  29. package/dist/billing-foundation/contact-card.js +16 -0
  30. package/dist/billing-foundation/entities.d.ts +8 -8
  31. package/dist/billing-foundation/handlers/billing-plans.query.js +1 -1
  32. package/dist/billing-foundation/index.d.ts +1 -1
  33. package/dist/billing-foundation/plan-catalog.js +1 -0
  34. package/dist/billing-foundation/projection.d.ts +8 -8
  35. package/dist/billing-foundation/types.d.ts +11 -0
  36. package/dist/billing-foundation/validate-options.js +13 -0
  37. package/dist/billing-foundation/web/billing-contact-plan.d.ts +5 -0
  38. package/dist/billing-foundation/web/billing-contact-plan.js +17 -0
  39. package/dist/billing-foundation/web/billing-plans-panel.js +5 -13
  40. package/dist/billing-foundation/web/cancel-contract-dialog.js +2 -2
  41. package/dist/billing-foundation/web/checkout-consent-dialog.d.ts +1 -1
  42. package/dist/billing-foundation/web/checkout-consent-dialog.js +1 -0
  43. package/dist/billing-foundation/web/client-plugin.d.ts +1 -1
  44. package/dist/billing-foundation/web/localized-params.d.ts +1 -0
  45. package/dist/billing-foundation/web/localized-params.js +11 -0
  46. package/dist/cap-counter/entity.d.ts +1 -1
  47. package/dist/cap-overview/handlers/tenant-caps-list.query.d.ts +9 -4
  48. package/dist/cap-overview/handlers/tenant-caps-list.query.js +14 -61
  49. package/dist/cap-overview/i18n.js +0 -2
  50. package/dist/cap-overview/web/cap-cards-panel.js +3 -3
  51. package/dist/cap-overview/web/client-plugin.d.ts +1 -1
  52. package/dist/channel-email/email-channel.d.ts +2 -1
  53. package/dist/compliance-profiles/web/client-plugin.d.ts +1 -1
  54. package/dist/config/feature.js +2 -2
  55. package/dist/config/table.d.ts +6 -6
  56. package/dist/custom-fields/entity.d.ts +4 -4
  57. package/dist/custom-fields/web/client-plugin.d.ts +1 -1
  58. package/dist/data-retention/schema/tenant-retention-override.d.ts +4 -4
  59. package/dist/delivery/tables.d.ts +6 -6
  60. package/dist/delivery/unsubscribe-page.js +1 -1
  61. package/dist/delivery/web/client-plugin.d.ts +1 -1
  62. package/dist/delivery/web/delivery-status-cell.js +1 -1
  63. package/dist/document-ingest-foundation/entity.d.ts +4 -4
  64. package/dist/feature-toggles/web/client-plugin.d.ts +1 -1
  65. package/dist/file-provider-s3/env-named-feature.d.ts +17 -0
  66. package/dist/file-provider-s3/env-named-feature.js +23 -0
  67. package/dist/file-provider-s3/env-schema.d.ts +7 -0
  68. package/dist/file-provider-s3/env-schema.js +15 -10
  69. package/dist/file-provider-s3/index.d.ts +1 -0
  70. package/dist/file-provider-s3/index.js +1 -0
  71. package/dist/folders/entity.d.ts +8 -8
  72. package/dist/folders/web/client-plugin.d.ts +1 -1
  73. package/dist/form-draft/entity.d.ts +2 -2
  74. package/dist/host-routing/constants.d.ts +2 -0
  75. package/dist/host-routing/constants.js +3 -0
  76. package/dist/host-routing/dispatch.d.ts +1 -1
  77. package/dist/host-routing/dispatch.js +35 -25
  78. package/dist/host-routing/feature.js +100 -27
  79. package/dist/host-routing/host.d.ts +9 -0
  80. package/dist/host-routing/host.js +24 -2
  81. package/dist/host-routing/index.d.ts +2 -1
  82. package/dist/host-routing/index.js +1 -0
  83. package/dist/host-routing/options.d.ts +14 -0
  84. package/dist/host-routing/redirects.d.ts +6 -0
  85. package/dist/host-routing/redirects.js +27 -0
  86. package/dist/host-routing/tenant-lookup.d.ts +7 -0
  87. package/dist/host-routing/tenant-lookup.js +39 -0
  88. package/dist/host-routing/validate-options.js +34 -1
  89. package/dist/inbound-mail-foundation/entities.d.ts +25 -25
  90. package/dist/inbound-mail-foundation/feature.js +7 -0
  91. package/dist/inbound-mail-foundation/i18n.d.ts +3 -0
  92. package/dist/inbound-mail-foundation/i18n.js +35 -0
  93. package/dist/inbound-mail-foundation/index.d.ts +1 -0
  94. package/dist/inbound-mail-foundation/index.js +1 -0
  95. package/dist/inbound-mail-foundation/projection.d.ts +20 -20
  96. package/dist/inbound-mail-foundation/screens.d.ts +7 -0
  97. package/dist/inbound-mail-foundation/screens.js +86 -0
  98. package/dist/inbound-mail-foundation/types.d.ts +2 -2
  99. package/dist/jobs/job-run-table.d.ts +6 -6
  100. package/dist/jobs/web/client-plugin.d.ts +1 -1
  101. package/dist/ledger/entity.d.ts +13 -13
  102. package/dist/legal-pages/feature.js +11 -1
  103. package/dist/legal-pages/layout.d.ts +2 -2
  104. package/dist/legal-pages/layout.js +4 -4
  105. package/dist/legal-pages/web/client-plugin.d.ts +1 -1
  106. package/dist/mail-foundation/feature.d.ts +20 -21
  107. package/dist/mail-foundation/feature.js +1 -1
  108. package/dist/managed-pages/table.d.ts +12 -12
  109. package/dist/managed-pages/web/client-plugin.d.ts +1 -1
  110. package/dist/notes-history/entity.d.ts +12 -12
  111. package/dist/notes-history/web/client-plugin.d.ts +1 -1
  112. package/dist/page-render/branding.js +1 -1
  113. package/dist/page-render/layout.d.ts +1 -1
  114. package/dist/page-render/layout.js +2 -2
  115. package/dist/page-render/markdown.js +1 -1
  116. package/dist/personal-access-tokens/i18n.js +1 -1
  117. package/dist/personal-access-tokens/schema/api-token.d.ts +6 -6
  118. package/dist/personal-access-tokens/screens.js +1 -1
  119. package/dist/secrets/feature.d.ts +1 -1
  120. package/dist/secrets/feature.js +3 -3
  121. package/dist/secrets/table.d.ts +1 -1
  122. package/dist/seo/sitemap.js +1 -1
  123. package/dist/sessions/schema/user-session.d.ts +4 -4
  124. package/dist/shared/mail-template-body.js +1 -1
  125. package/dist/shared/purge-files-reaching-subject.js +98 -3
  126. package/dist/tags/entity.d.ts +9 -9
  127. package/dist/tags/web/client-plugin.d.ts +1 -1
  128. package/dist/template-resolver/document-blocks.d.ts +5 -0
  129. package/dist/template-resolver/document-blocks.js +21 -0
  130. package/dist/template-resolver/document-ops.d.ts +167 -0
  131. package/dist/template-resolver/document-ops.js +390 -0
  132. package/dist/template-resolver/document-sanitizer.d.ts +3 -0
  133. package/dist/template-resolver/document-sanitizer.js +6 -0
  134. package/dist/template-resolver/feature.d.ts +2 -0
  135. package/dist/template-resolver/feature.js +4 -0
  136. package/dist/template-resolver/handlers/bundle-import.js +1 -0
  137. package/dist/template-resolver/handlers/document-base.d.ts +23 -0
  138. package/dist/template-resolver/handlers/document-base.js +55 -0
  139. package/dist/template-resolver/handlers/document-blocks.query.d.ts +22 -0
  140. package/dist/template-resolver/handlers/document-blocks.query.js +46 -0
  141. package/dist/template-resolver/handlers/export-bundle.query.d.ts +1 -0
  142. package/dist/template-resolver/handlers/export-bundle.query.js +9 -2
  143. package/dist/template-resolver/handlers/import-bundle-system.write.d.ts +1 -0
  144. package/dist/template-resolver/handlers/import-bundle.write.d.ts +1 -0
  145. package/dist/template-resolver/handlers/patch-draft.write.d.ts +66 -0
  146. package/dist/template-resolver/handlers/patch-draft.write.js +105 -0
  147. package/dist/template-resolver/handlers/preview.query.d.ts +1 -0
  148. package/dist/template-resolver/handlers/preview.query.js +2 -1
  149. package/dist/template-resolver/handlers/send-test.write.d.ts +1 -0
  150. package/dist/template-resolver/handlers/send-test.write.js +2 -1
  151. package/dist/template-resolver/handlers/template-write.d.ts +2 -0
  152. package/dist/template-resolver/handlers/template-write.js +14 -2
  153. package/dist/template-resolver/handlers/validate.query.d.ts +10 -4
  154. package/dist/template-resolver/handlers/validate.query.js +12 -7
  155. package/dist/template-resolver/{web/placeholder-text.js → placeholder-text.js} +1 -1
  156. package/dist/template-resolver/qualified-names.d.ts +2 -0
  157. package/dist/template-resolver/qualified-names.js +2 -0
  158. package/dist/template-resolver/seeding.d.ts +1 -0
  159. package/dist/template-resolver/seeding.js +2 -1
  160. package/dist/template-resolver/table.d.ts +10 -10
  161. package/dist/template-resolver/template-bundle.d.ts +1 -0
  162. package/dist/template-resolver/template-bundle.js +6 -1
  163. package/dist/template-resolver/template-preview.d.ts +4 -1
  164. package/dist/template-resolver/template-preview.js +16 -3
  165. package/dist/template-resolver/template-validation.d.ts +2 -1
  166. package/dist/template-resolver/template-validation.js +1 -1
  167. package/dist/template-resolver/user-content-table.d.ts +10 -10
  168. package/dist/template-resolver/web/client-plugin.d.ts +1 -1
  169. package/dist/template-resolver/web/client-plugin.js +3 -3
  170. package/dist/template-resolver/web/document-tiptap-editor.js +1 -1
  171. package/dist/template-resolver/web/document-toolbar-blocks.d.ts +2 -5
  172. package/dist/template-resolver/web/document-toolbar-blocks.js +1 -21
  173. package/dist/template-resolver/web/i18n.js +14 -0
  174. package/dist/template-resolver/web/placeholder-line-editor.js +2 -2
  175. package/dist/tenant/invitation-table.d.ts +6 -6
  176. package/dist/tenant/membership-table.d.ts +4 -4
  177. package/dist/tenant/schema/tenant.d.ts +6 -6
  178. package/dist/tenant/web/client-plugin.d.ts +1 -1
  179. package/dist/tenant/web/member-status-cell.js +1 -1
  180. package/dist/tier-engine/entity.d.ts +1 -1
  181. package/dist/tier-engine/tier-resolver.d.ts +1 -1
  182. package/dist/tier-engine/web/client-plugin.d.ts +1 -1
  183. package/dist/user/schema/user.d.ts +12 -12
  184. package/dist/user-data-rights/env.d.ts +5 -0
  185. package/dist/user-data-rights/env.js +11 -0
  186. package/dist/user-data-rights/feature.js +4 -2
  187. package/dist/user-data-rights/index.d.ts +1 -0
  188. package/dist/user-data-rights/index.js +1 -0
  189. package/dist/user-data-rights/lib/mail-transport-resolver.js +1 -1
  190. package/dist/user-data-rights/lib/storage-provider-resolver.js +1 -1
  191. package/dist/user-data-rights/mail-notifications.js +1 -1
  192. package/dist/user-data-rights/schema/download-attempt.d.ts +14 -14
  193. package/dist/user-data-rights/schema/download-token.d.ts +8 -8
  194. package/dist/user-data-rights/schema/export-job.d.ts +6 -6
  195. package/dist/user-data-rights/web/client-plugin.d.ts +1 -1
  196. package/dist/user-data-rights/web/privacy-center-screen.js +2 -2
  197. package/dist/waitlist/entity.d.ts +14 -14
  198. package/dist/waitlist/legacy-migrate.d.ts +2 -0
  199. package/dist/waitlist/legacy-migrate.js +38 -3
  200. package/package.json +16 -11
  201. package/src/account-security/changes.json +6 -0
  202. package/src/auth-email-password/changes.json +6 -0
  203. package/src/auth-foundation/changes.json +6 -0
  204. package/src/billing-foundation/changes.json +6 -0
  205. package/src/cap-overview/changes.json +7 -0
  206. package/src/channel-email/changes.json +6 -0
  207. package/src/crypto-shredding/changes.json +6 -0
  208. package/src/file-provider-s3/changes.json +6 -0
  209. package/src/host-routing/changes.json +6 -0
  210. package/src/inbound-mail-foundation/changes.json +7 -0
  211. package/src/legal-pages/changes.json +6 -0
  212. package/src/template-resolver/changes.json +18 -0
  213. package/src/user-data-rights/changes.json +6 -0
  214. package/src/waitlist/changes.json +6 -0
  215. /package/dist/template-resolver/{web/placeholder-text.d.ts → placeholder-text.d.ts} +0 -0
@@ -14,7 +14,7 @@ export declare const templateResourceEntity: import("@cosmicdrift/kumiko-types/f
14
14
  readonly sensitive?: boolean;
15
15
  readonly writeOnly?: boolean;
16
16
  readonly readAsInstruction?: boolean;
17
- readonly format?: "email" | "url" | "phone" | "password";
17
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
18
18
  readonly default?: string;
19
19
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
20
20
  readonly multiline?: boolean | {
@@ -66,7 +66,7 @@ export declare const templateResourceEntity: import("@cosmicdrift/kumiko-types/f
66
66
  readonly sensitive?: boolean;
67
67
  readonly writeOnly?: boolean;
68
68
  readonly readAsInstruction?: boolean;
69
- readonly format?: "email" | "url" | "phone" | "password";
69
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
70
70
  readonly default?: string;
71
71
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
72
72
  readonly multiline?: boolean | {
@@ -89,7 +89,7 @@ export declare const templateResourceEntity: import("@cosmicdrift/kumiko-types/f
89
89
  readonly sensitive?: boolean;
90
90
  readonly writeOnly?: boolean;
91
91
  readonly readAsInstruction?: boolean;
92
- readonly format?: "email" | "url" | "phone" | "password";
92
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
93
93
  readonly default?: string;
94
94
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
95
95
  readonly multiline?: boolean | {
@@ -112,7 +112,7 @@ export declare const templateResourceEntity: import("@cosmicdrift/kumiko-types/f
112
112
  readonly sensitive?: boolean;
113
113
  readonly writeOnly?: boolean;
114
114
  readonly readAsInstruction?: boolean;
115
- readonly format?: "email" | "url" | "phone" | "password";
115
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
116
116
  readonly default?: string;
117
117
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
118
118
  readonly multiline?: boolean | {
@@ -245,7 +245,7 @@ export declare const templateResourceEntity: import("@cosmicdrift/kumiko-types/f
245
245
  readonly sensitive?: boolean;
246
246
  readonly writeOnly?: boolean;
247
247
  readonly readAsInstruction?: boolean;
248
- readonly format?: "email" | "url" | "phone" | "password";
248
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
249
249
  readonly default?: string;
250
250
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
251
251
  readonly multiline?: boolean | {
@@ -343,7 +343,7 @@ export declare const templateResourcesTable: import("@cosmicdrift/kumiko-framewo
343
343
  readonly sensitive?: boolean;
344
344
  readonly writeOnly?: boolean;
345
345
  readonly readAsInstruction?: boolean;
346
- readonly format?: "email" | "url" | "phone" | "password";
346
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
347
347
  readonly default?: string;
348
348
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
349
349
  readonly multiline?: boolean | {
@@ -395,7 +395,7 @@ export declare const templateResourcesTable: import("@cosmicdrift/kumiko-framewo
395
395
  readonly sensitive?: boolean;
396
396
  readonly writeOnly?: boolean;
397
397
  readonly readAsInstruction?: boolean;
398
- readonly format?: "email" | "url" | "phone" | "password";
398
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
399
399
  readonly default?: string;
400
400
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
401
401
  readonly multiline?: boolean | {
@@ -418,7 +418,7 @@ export declare const templateResourcesTable: import("@cosmicdrift/kumiko-framewo
418
418
  readonly sensitive?: boolean;
419
419
  readonly writeOnly?: boolean;
420
420
  readonly readAsInstruction?: boolean;
421
- readonly format?: "email" | "url" | "phone" | "password";
421
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
422
422
  readonly default?: string;
423
423
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
424
424
  readonly multiline?: boolean | {
@@ -441,7 +441,7 @@ export declare const templateResourcesTable: import("@cosmicdrift/kumiko-framewo
441
441
  readonly sensitive?: boolean;
442
442
  readonly writeOnly?: boolean;
443
443
  readonly readAsInstruction?: boolean;
444
- readonly format?: "email" | "url" | "phone" | "password";
444
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
445
445
  readonly default?: string;
446
446
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
447
447
  readonly multiline?: boolean | {
@@ -574,7 +574,7 @@ export declare const templateResourcesTable: import("@cosmicdrift/kumiko-framewo
574
574
  readonly sensitive?: boolean;
575
575
  readonly writeOnly?: boolean;
576
576
  readonly readAsInstruction?: boolean;
577
- readonly format?: "email" | "url" | "phone" | "password";
577
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
578
578
  readonly default?: string;
579
579
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
580
580
  readonly multiline?: boolean | {
@@ -19,6 +19,7 @@ export declare const templateBundleSchema: z.ZodObject<{
19
19
  locales: z.ZodRecord<z.ZodString, z.ZodObject<{
20
20
  body: z.ZodString;
21
21
  meta: z.ZodOptional<z.ZodUnknown>;
22
+ title: z.ZodOptional<z.ZodString>;
22
23
  }, z.core.$strict>>;
23
24
  resources: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
24
25
  fileName: z.ZodString;
@@ -33,7 +33,12 @@ const bundleResourceSchema = z
33
33
  .strict();
34
34
  const pdfAttachmentLinkBodySchema = templatePdfAttachmentLinkSchema.omit({ kind: true });
35
35
  const bundleLocaleEntrySchema = z
36
- .object({ body: z.string().max(200_000), meta: z.unknown().optional() })
36
+ .object({
37
+ body: z.string().max(200_000),
38
+ meta: z.unknown().optional(),
39
+ // Shown in the template overview instead of the slug; one per locale, so it is translated.
40
+ title: z.string().min(1).max(200).optional(),
41
+ })
37
42
  .strict();
38
43
  export const templateBundleSchema = z
39
44
  .object({
@@ -1,4 +1,4 @@
1
- import type { HandlerContext, SessionUser, TemplateVariables } from "@cosmicdrift/kumiko-framework/engine";
1
+ import { type HandlerContext, type SessionUser, type TemplateVariables } from "@cosmicdrift/kumiko-framework/engine";
2
2
  import { type KumikoError } from "@cosmicdrift/kumiko-framework/errors";
3
3
  import { type MailAttachmentRef } from "../renderer-foundation/index.ts";
4
4
  import { type TemplateScope } from "./constants.ts";
@@ -41,6 +41,8 @@ export type TemplatePreviewInput = {
41
41
  readonly content?: string | undefined;
42
42
  readonly meta?: unknown;
43
43
  readonly variableSchema: Readonly<Record<string, unknown>>;
44
+ /** Replaces the declared example values for the named variables. */
45
+ readonly variables?: Readonly<Record<string, unknown>> | undefined;
44
46
  };
45
47
  type ValidationResponse = Awaited<ReturnType<typeof validateTemplateDraft>>["response"];
46
48
  export type TemplatePreview = {
@@ -59,6 +61,7 @@ export type TemplatePreview = {
59
61
  readonly scope: TemplateScope;
60
62
  readonly version: number;
61
63
  } | null;
64
+ /** The values the preview was actually rendered with: examples plus any overrides. */
62
65
  readonly sampleValues: Readonly<Record<string, unknown>>;
63
66
  readonly checks: readonly PreviewCheck[];
64
67
  readonly validation: ValidationResponse;
@@ -1,8 +1,10 @@
1
1
  import { selectMany } from "@cosmicdrift/kumiko-framework/db";
2
- import { NotFoundError, UnprocessableError, ValidationError, } from "@cosmicdrift/kumiko-framework/errors";
2
+ import { templateVariablesToZod, } from "@cosmicdrift/kumiko-framework/engine";
3
+ import { NotFoundError, UnprocessableError, ValidationError, validationErrorFromZod, } from "@cosmicdrift/kumiko-framework/errors";
3
4
  import { fileRefsTable } from "@cosmicdrift/kumiko-framework/files";
4
5
  import { createI18n } from "@cosmicdrift/kumiko-framework/i18n";
5
- import { escapeHtml } from "@cosmicdrift/kumiko-headless";
6
+ import { escapeHtml } from "@cosmicdrift/kumiko-renderer/headless";
7
+ import * as z from "zod";
6
8
  import { createEmailAttachmentReader, createTemplateMailRenderer } from "../delivery/index.js";
7
9
  import { fileContextForTenant } from "../file-foundation/index.js";
8
10
  import { collectRendererPlugins, createRendererFoundationApi, RendererError, } from "../renderer-foundation/index.js";
@@ -413,7 +415,18 @@ export async function renderTemplatePreview(ctx, user, input) {
413
415
  return failed(new ValidationError({ fields: [...evaluation.issues] }));
414
416
  const content = evaluation.content ?? "";
415
417
  const meta = parseTemplateMeta(input.kind, parseStoredJson(evaluation.metaJson));
416
- const sampleValues = sampleValuesFor(validation.variables, labelTextFor(ctx, input.locale));
418
+ const exampleValues = sampleValuesFor(validation.variables, labelTextFor(ctx, input.locale));
419
+ let sampleValues = exampleValues;
420
+ if (input.variables !== undefined) {
421
+ const overrides = z.object({
422
+ variables: templateVariablesToZod(validation.variables).partial().strict(),
423
+ });
424
+ const checked = overrides.safeParse({ variables: input.variables });
425
+ if (!checked.success)
426
+ return failed(validationErrorFromZod(checked.error));
427
+ // Original values, not the parse result: parsing would strip keys inside list rows.
428
+ sampleValues = { ...exampleValues, ...input.variables };
429
+ }
417
430
  if (input.kind === "document-pdf") {
418
431
  return renderDocumentPreview(ctx, user, {
419
432
  input,
@@ -1,4 +1,4 @@
1
- import type { Registry, TemplateVariables } from "@cosmicdrift/kumiko-framework/engine";
1
+ import type { Registry, TemplateVariableDef, TemplateVariables } from "@cosmicdrift/kumiko-framework/engine";
2
2
  import type { TemplateMeta } from "./template-meta.ts";
3
3
  export declare const SYSTEM_PLACEHOLDERS: ReadonlySet<string>;
4
4
  export declare function systemPlaceholdersFor(kind: string): ReadonlySet<string>;
@@ -9,6 +9,7 @@ export type TemplateValidation = {
9
9
  /** data-resource keys with no uploaded file; a warning, never a blocker. */
10
10
  readonly unknownResources: readonly string[];
11
11
  };
12
+ export declare function toVariableDef(raw: unknown): TemplateVariableDef | null;
12
13
  export declare function resolveTemplateVariables(registry: Registry, slug: string, variableSchema: Readonly<Record<string, unknown>>): TemplateVariables;
13
14
  export declare function variablesFromSchema(variableSchema: Readonly<Record<string, unknown>>): TemplateVariables;
14
15
  export declare function validateTemplatePlaceholders(input: {
@@ -48,7 +48,7 @@ const variableDefSchema = z.union([
48
48
  // A stored variableSchema value is either a bare string (legacy "this is a text
49
49
  // variable") or a TemplateVariableDef object; anything else is not declared and
50
50
  // therefore shows up as an unknown placeholder instead of being guessed at.
51
- function toVariableDef(raw) {
51
+ export function toVariableDef(raw) {
52
52
  if (typeof raw === "string")
53
53
  return { type: "text" };
54
54
  const parsed = variableDefSchema.safeParse(raw);
@@ -14,7 +14,7 @@ export declare const userContentEntryEntity: import("@cosmicdrift/kumiko-types/f
14
14
  readonly sensitive?: boolean;
15
15
  readonly writeOnly?: boolean;
16
16
  readonly readAsInstruction?: boolean;
17
- readonly format?: "email" | "url" | "phone" | "password";
17
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
18
18
  readonly default?: string;
19
19
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
20
20
  readonly multiline?: boolean | {
@@ -37,7 +37,7 @@ export declare const userContentEntryEntity: import("@cosmicdrift/kumiko-types/f
37
37
  readonly sensitive?: boolean;
38
38
  readonly writeOnly?: boolean;
39
39
  readonly readAsInstruction?: boolean;
40
- readonly format?: "email" | "url" | "phone" | "password";
40
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
41
41
  readonly default?: string;
42
42
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
43
43
  readonly multiline?: boolean | {
@@ -89,7 +89,7 @@ export declare const userContentEntryEntity: import("@cosmicdrift/kumiko-types/f
89
89
  readonly sensitive?: boolean;
90
90
  readonly writeOnly?: boolean;
91
91
  readonly readAsInstruction?: boolean;
92
- readonly format?: "email" | "url" | "phone" | "password";
92
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
93
93
  readonly default?: string;
94
94
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
95
95
  readonly multiline?: boolean | {
@@ -112,7 +112,7 @@ export declare const userContentEntryEntity: import("@cosmicdrift/kumiko-types/f
112
112
  readonly sensitive?: boolean;
113
113
  readonly writeOnly?: boolean;
114
114
  readonly readAsInstruction?: boolean;
115
- readonly format?: "email" | "url" | "phone" | "password";
115
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
116
116
  readonly default?: string;
117
117
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
118
118
  readonly multiline?: boolean | {
@@ -135,7 +135,7 @@ export declare const userContentEntryEntity: import("@cosmicdrift/kumiko-types/f
135
135
  readonly sensitive?: boolean;
136
136
  readonly writeOnly?: boolean;
137
137
  readonly readAsInstruction?: boolean;
138
- readonly format?: "email" | "url" | "phone" | "password";
138
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
139
139
  readonly default?: string;
140
140
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
141
141
  readonly multiline?: boolean | {
@@ -200,7 +200,7 @@ export declare const userContentEntriesTable: import("@cosmicdrift/kumiko-framew
200
200
  readonly sensitive?: boolean;
201
201
  readonly writeOnly?: boolean;
202
202
  readonly readAsInstruction?: boolean;
203
- readonly format?: "email" | "url" | "phone" | "password";
203
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
204
204
  readonly default?: string;
205
205
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
206
206
  readonly multiline?: boolean | {
@@ -223,7 +223,7 @@ export declare const userContentEntriesTable: import("@cosmicdrift/kumiko-framew
223
223
  readonly sensitive?: boolean;
224
224
  readonly writeOnly?: boolean;
225
225
  readonly readAsInstruction?: boolean;
226
- readonly format?: "email" | "url" | "phone" | "password";
226
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
227
227
  readonly default?: string;
228
228
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
229
229
  readonly multiline?: boolean | {
@@ -275,7 +275,7 @@ export declare const userContentEntriesTable: import("@cosmicdrift/kumiko-framew
275
275
  readonly sensitive?: boolean;
276
276
  readonly writeOnly?: boolean;
277
277
  readonly readAsInstruction?: boolean;
278
- readonly format?: "email" | "url" | "phone" | "password";
278
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
279
279
  readonly default?: string;
280
280
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
281
281
  readonly multiline?: boolean | {
@@ -298,7 +298,7 @@ export declare const userContentEntriesTable: import("@cosmicdrift/kumiko-framew
298
298
  readonly sensitive?: boolean;
299
299
  readonly writeOnly?: boolean;
300
300
  readonly readAsInstruction?: boolean;
301
- readonly format?: "email" | "url" | "phone" | "password";
301
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
302
302
  readonly default?: string;
303
303
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
304
304
  readonly multiline?: boolean | {
@@ -321,7 +321,7 @@ export declare const userContentEntriesTable: import("@cosmicdrift/kumiko-framew
321
321
  readonly sensitive?: boolean;
322
322
  readonly writeOnly?: boolean;
323
323
  readonly readAsInstruction?: boolean;
324
- readonly format?: "email" | "url" | "phone" | "password";
324
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
325
325
  readonly default?: string;
326
326
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
327
327
  readonly multiline?: boolean | {
@@ -1,5 +1,5 @@
1
1
  import type { TreeNode } from "@cosmicdrift/kumiko-framework/engine";
2
- import { type ClientFeatureDefinition } from "@cosmicdrift/kumiko-renderer-web";
2
+ import { type ClientFeatureDefinition } from "@cosmicdrift/kumiko-renderer/web";
3
3
  export type BlockSummary = {
4
4
  readonly slug: string;
5
5
  readonly locale: string;
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { EMPTY_VALUE_PLACEHOLDER } from "@cosmicdrift/kumiko-headless";
2
+ import { EMPTY_VALUE_PLACEHOLDER } from "@cosmicdrift/kumiko-renderer/headless";
3
3
  // @runtime client
4
4
  // Client feature factory for the text-block content tree. Apps mount it via
5
5
  // createKumikoApp({ clientFeatures: [textBlocksClient()] }); it loads the
@@ -12,9 +12,9 @@ import { EMPTY_VALUE_PLACEHOLDER } from "@cosmicdrift/kumiko-headless";
12
12
  // **State**: TreeNode.state = "filled" when content is set, otherwise "stub"
13
13
  // (a hint that the slug exists but is empty).
14
14
  import { useShellUser } from "@cosmicdrift/kumiko-bundled-features/auth-email-password/web";
15
- import { CSRF_HEADER_NAME, readCsrfToken } from "@cosmicdrift/kumiko-dispatcher-live";
16
15
  import { ContentPreview, useAppFeatures, useContentEditor, useDispatcher, usePrimitives, useQuery, useTranslation, } from "@cosmicdrift/kumiko-renderer";
17
- import { PlainContentEditor, RichContentEditor, } from "@cosmicdrift/kumiko-renderer-web";
16
+ import { CSRF_HEADER_NAME, readCsrfToken } from "@cosmicdrift/kumiko-renderer/live";
17
+ import { PlainContentEditor, RichContentEditor, } from "@cosmicdrift/kumiko-renderer/web";
18
18
  import { useEffect, useId, useState } from "react";
19
19
  import { collectionHandlerName, collectionQueryName, TemplateResolverHandlers, TemplateResolverQueries, } from "../qualified-names.js";
20
20
  import { DocumentBlocksContext, DocumentContentEditor } from "./document-editor.js";
@@ -6,7 +6,7 @@ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-run
6
6
  // collection is rendered. Variables are inserted as `variable` nodes only,
7
7
  // never as `{{name}}` text, so the sanitizer's schema keeps them.
8
8
  import { TextareaContentEditor, usePrimitives, useTranslation, VariableChips, } from "@cosmicdrift/kumiko-renderer";
9
- import { cn } from "@cosmicdrift/kumiko-renderer-web";
9
+ import { cn } from "@cosmicdrift/kumiko-renderer/web";
10
10
  import { isOneOf } from "@cosmicdrift/kumiko-types/type-guards";
11
11
  import { EditorContent, useEditor, useEditorState } from "@tiptap/react";
12
12
  import { BubbleMenu } from "@tiptap/react/menus";
@@ -1,6 +1,6 @@
1
1
  import type { ContentEditorProps } from "@cosmicdrift/kumiko-renderer";
2
2
  import type { ReactNode } from "react";
3
- export type DocumentToolbarBlock = "image" | "table" | "button" | "divider" | "repeat" | "pageBreak" | "align" | "steps";
3
+ import type { DocumentToolbarBlock } from "../document-blocks.ts";
4
4
  /** Imperative access for an outside panel (placeholder list, resource list). */
5
5
  export type DocumentEditorHandle = {
6
6
  readonly insertPlaceholder: (name: string) => void;
@@ -35,7 +35,4 @@ export type DocumentEditorProps = ContentEditorProps & {
35
35
  /** Called with the handle once the editor exists and with null when it is destroyed (unmount or rebuild), so a held handle never outlives its editor. */
36
36
  readonly onEditorReady?: (handle: DocumentEditorHandle | null) => void;
37
37
  };
38
- export declare const MAIL_DOCUMENT_BLOCKS: readonly ["image", "table", "button", "divider", "repeat", "steps"];
39
- export declare const PDF_DOCUMENT_BLOCKS: readonly ["align", "image", "table", "divider", "repeat", "steps", "pageBreak"];
40
- /** Block set for a template-resource kind; every kind except "document-pdf" gets the mail set. */
41
- export declare function documentBlocksForKind(kind: string | undefined): readonly DocumentToolbarBlock[];
38
+ export { type DocumentToolbarBlock, documentBlocksForKind, MAIL_DOCUMENT_BLOCKS, PDF_DOCUMENT_BLOCKS, } from "../document-blocks.ts";
@@ -1,21 +1 @@
1
- export const MAIL_DOCUMENT_BLOCKS = [
2
- "image",
3
- "table",
4
- "button",
5
- "divider",
6
- "repeat",
7
- "steps",
8
- ];
9
- export const PDF_DOCUMENT_BLOCKS = [
10
- "align",
11
- "image",
12
- "table",
13
- "divider",
14
- "repeat",
15
- "steps",
16
- "pageBreak",
17
- ];
18
- /** Block set for a template-resource kind; every kind except "document-pdf" gets the mail set. */
19
- export function documentBlocksForKind(kind) {
20
- return kind === "document-pdf" ? PDF_DOCUMENT_BLOCKS : MAIL_DOCUMENT_BLOCKS;
21
- }
1
+ export { documentBlocksForKind, MAIL_DOCUMENT_BLOCKS, PDF_DOCUMENT_BLOCKS, } from "../document-blocks.js";
@@ -66,6 +66,20 @@ export const defaultTranslations = {
66
66
  "templateResolver.checks.sizeUnderCap": "The mail is within the 10 MiB size limit",
67
67
  "templateResolver.checks.requiredPlaceholders": "All required placeholders are used",
68
68
  "templateResolver.errors.preview.renderFailed": "The preview could not be rendered.",
69
+ "templateResolver.errors.patch.unknownBlock": "The block {blockId} does not exist in the template.",
70
+ "templateResolver.errors.patch.blockRemoved": "The block {blockId} was already removed by an earlier step.",
71
+ "templateResolver.errors.patch.textNotFound": "The text {find} was not found in the block.",
72
+ "templateResolver.errors.patch.textAmbiguous": "The text {find} occurs {count} times in the block; use a longer text.",
73
+ "templateResolver.errors.patch.blockNotAllowed": "The block type {type} is not available in {kind} templates.",
74
+ "templateResolver.errors.patch.blockTypeMismatch": "This step needs a {expected} block, but the block is a {actual}.",
75
+ "templateResolver.errors.patch.invalidResourceKey": "The image key {resource} is not valid.",
76
+ "templateResolver.errors.patch.invalidButtonHref": "A button target must be a placeholder in double curly braces.",
77
+ "templateResolver.errors.patch.invalidVariableName": "The variable name {name} is not valid.",
78
+ "templateResolver.errors.patch.invalidVariableDefinition": "The definition of the variable {name} is not valid.",
79
+ "templateResolver.errors.patch.invalidDocument": "The change would produce an invalid document.",
80
+ "templateResolver.errors.patch.invalidMetaKey": "The meta key {key} is not allowed.",
81
+ "templateResolver.errors.patch.variablesDeclaredByFeature": "The variables of {slug} are fixed by the application and cannot be changed.",
82
+ "templateResolver.errors.patch.requiredPlaceholderRemoved": "The change removes required placeholders: {names}",
69
83
  "templateResolver.errors.testMail.noChannel": "No email channel is set up, so no test mail can be sent.",
70
84
  "templateResolver.errors.testMail.noAddress": "Your account has no email address to send the test mail to.",
71
85
  "templateResolver.errors.testMail.failed": "The test mail could not be sent.",
@@ -4,16 +4,16 @@ import { jsx as _jsx } from "react/jsx-runtime";
4
4
  // Single-line editor for plain-text fields that carry {{placeholders}}
5
5
  // (subject, preheader). The stored value stays plain text; placeholders show
6
6
  // as chips while editing. Lives in the same lazy chunk as the document editor.
7
- import { cn } from "@cosmicdrift/kumiko-renderer-web";
7
+ import { cn } from "@cosmicdrift/kumiko-renderer/web";
8
8
  import { Extension, Node } from "@tiptap/core";
9
9
  import { Placeholder, UndoRedo } from "@tiptap/extensions";
10
10
  import { EditorContent, useEditor } from "@tiptap/react";
11
11
  import StarterKit from "@tiptap/starter-kit";
12
12
  import { useMemo, useState } from "react";
13
13
  import { DocumentVariable } from "../document-schema.js";
14
+ import { contentToLine, lineToContent, singleLine } from "../placeholder-text.js";
14
15
  import { createVariableView } from "./document-editor-extensions.js";
15
16
  import { createEditorHandle } from "./editor-handle.js";
16
- import { contentToLine, lineToContent, singleLine } from "./placeholder-text.js";
17
17
  import { useStableByKey } from "./use-stable-by-key.js";
18
18
  const LineDocument = Node.create({ name: "doc", topNode: true, content: "paragraph" });
19
19
  // One line only: Enter must not split the paragraph.
@@ -21,7 +21,7 @@ export declare const tenantInvitationEntity: import("@cosmicdrift/kumiko-types/f
21
21
  readonly sensitive?: boolean;
22
22
  readonly writeOnly?: boolean;
23
23
  readonly readAsInstruction?: boolean;
24
- readonly format?: "email" | "url" | "phone" | "password";
24
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
25
25
  readonly default?: string;
26
26
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
27
27
  readonly multiline?: boolean | {
@@ -44,7 +44,7 @@ export declare const tenantInvitationEntity: import("@cosmicdrift/kumiko-types/f
44
44
  readonly sensitive?: boolean;
45
45
  readonly writeOnly?: boolean;
46
46
  readonly readAsInstruction?: boolean;
47
- readonly format?: "email" | "url" | "phone" | "password";
47
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
48
48
  readonly default?: string;
49
49
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
50
50
  readonly multiline?: boolean | {
@@ -92,7 +92,7 @@ export declare const tenantInvitationEntity: import("@cosmicdrift/kumiko-types/f
92
92
  readonly sensitive?: boolean;
93
93
  readonly writeOnly?: boolean;
94
94
  readonly readAsInstruction?: boolean;
95
- readonly format?: "email" | "url" | "phone" | "password";
95
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
96
96
  readonly default?: string;
97
97
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
98
98
  readonly multiline?: boolean | {
@@ -151,7 +151,7 @@ export declare const tenantInvitationsTable: import("@cosmicdrift/kumiko-framewo
151
151
  readonly sensitive?: boolean;
152
152
  readonly writeOnly?: boolean;
153
153
  readonly readAsInstruction?: boolean;
154
- readonly format?: "email" | "url" | "phone" | "password";
154
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
155
155
  readonly default?: string;
156
156
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
157
157
  readonly multiline?: boolean | {
@@ -174,7 +174,7 @@ export declare const tenantInvitationsTable: import("@cosmicdrift/kumiko-framewo
174
174
  readonly sensitive?: boolean;
175
175
  readonly writeOnly?: boolean;
176
176
  readonly readAsInstruction?: boolean;
177
- readonly format?: "email" | "url" | "phone" | "password";
177
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
178
178
  readonly default?: string;
179
179
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
180
180
  readonly multiline?: boolean | {
@@ -222,7 +222,7 @@ export declare const tenantInvitationsTable: import("@cosmicdrift/kumiko-framewo
222
222
  readonly sensitive?: boolean;
223
223
  readonly writeOnly?: boolean;
224
224
  readonly readAsInstruction?: boolean;
225
- readonly format?: "email" | "url" | "phone" | "password";
225
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
226
226
  readonly default?: string;
227
227
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
228
228
  readonly multiline?: boolean | {
@@ -13,7 +13,7 @@ export declare const tenantMembershipEntity: import("@cosmicdrift/kumiko-types/f
13
13
  readonly sensitive?: boolean;
14
14
  readonly writeOnly?: boolean;
15
15
  readonly readAsInstruction?: boolean;
16
- readonly format?: "email" | "url" | "phone" | "password";
16
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
17
17
  readonly default?: string;
18
18
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
19
19
  readonly multiline?: boolean | {
@@ -36,7 +36,7 @@ export declare const tenantMembershipEntity: import("@cosmicdrift/kumiko-types/f
36
36
  readonly sensitive?: boolean;
37
37
  readonly writeOnly?: boolean;
38
38
  readonly readAsInstruction?: boolean;
39
- readonly format?: "email" | "url" | "phone" | "password";
39
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
40
40
  readonly default?: string;
41
41
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
42
42
  readonly multiline?: boolean | {
@@ -61,7 +61,7 @@ export declare const tenantMembershipsTable: import("@cosmicdrift/kumiko-framewo
61
61
  readonly sensitive?: boolean;
62
62
  readonly writeOnly?: boolean;
63
63
  readonly readAsInstruction?: boolean;
64
- readonly format?: "email" | "url" | "phone" | "password";
64
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
65
65
  readonly default?: string;
66
66
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
67
67
  readonly multiline?: boolean | {
@@ -84,7 +84,7 @@ export declare const tenantMembershipsTable: import("@cosmicdrift/kumiko-framewo
84
84
  readonly sensitive?: boolean;
85
85
  readonly writeOnly?: boolean;
86
86
  readonly readAsInstruction?: boolean;
87
- readonly format?: "email" | "url" | "phone" | "password";
87
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
88
88
  readonly default?: string;
89
89
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
90
90
  readonly multiline?: boolean | {
@@ -15,7 +15,7 @@ export declare const tenantEntity: import("@cosmicdrift/kumiko-types/fields").En
15
15
  readonly sensitive?: boolean;
16
16
  readonly writeOnly?: boolean;
17
17
  readonly readAsInstruction?: boolean;
18
- readonly format?: "email" | "url" | "phone" | "password";
18
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
19
19
  readonly default?: string;
20
20
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
21
21
  readonly multiline?: boolean | {
@@ -38,7 +38,7 @@ export declare const tenantEntity: import("@cosmicdrift/kumiko-types/fields").En
38
38
  readonly sensitive?: boolean;
39
39
  readonly writeOnly?: boolean;
40
40
  readonly readAsInstruction?: boolean;
41
- readonly format?: "email" | "url" | "phone" | "password";
41
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
42
42
  readonly default?: string;
43
43
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
44
44
  readonly multiline?: boolean | {
@@ -105,7 +105,7 @@ export declare const tenantEntity: import("@cosmicdrift/kumiko-types/fields").En
105
105
  readonly sensitive?: boolean;
106
106
  readonly writeOnly?: boolean;
107
107
  readonly readAsInstruction?: boolean;
108
- readonly format?: "email" | "url" | "phone" | "password";
108
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
109
109
  readonly default?: string;
110
110
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
111
111
  readonly multiline?: boolean | {
@@ -175,7 +175,7 @@ export declare const tenantTable: import("@cosmicdrift/kumiko-framework/db").Ent
175
175
  readonly sensitive?: boolean;
176
176
  readonly writeOnly?: boolean;
177
177
  readonly readAsInstruction?: boolean;
178
- readonly format?: "email" | "url" | "phone" | "password";
178
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
179
179
  readonly default?: string;
180
180
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
181
181
  readonly multiline?: boolean | {
@@ -198,7 +198,7 @@ export declare const tenantTable: import("@cosmicdrift/kumiko-framework/db").Ent
198
198
  readonly sensitive?: boolean;
199
199
  readonly writeOnly?: boolean;
200
200
  readonly readAsInstruction?: boolean;
201
- readonly format?: "email" | "url" | "phone" | "password";
201
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
202
202
  readonly default?: string;
203
203
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
204
204
  readonly multiline?: boolean | {
@@ -265,7 +265,7 @@ export declare const tenantTable: import("@cosmicdrift/kumiko-framework/db").Ent
265
265
  readonly sensitive?: boolean;
266
266
  readonly writeOnly?: boolean;
267
267
  readonly readAsInstruction?: boolean;
268
- readonly format?: "email" | "url" | "phone" | "password";
268
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
269
269
  readonly default?: string;
270
270
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
271
271
  readonly multiline?: boolean | {
@@ -1,5 +1,5 @@
1
1
  import { type TranslationsByLocale } from "@cosmicdrift/kumiko-renderer";
2
- import type { ClientFeatureDefinition } from "@cosmicdrift/kumiko-renderer-web";
2
+ import type { ClientFeatureDefinition } from "@cosmicdrift/kumiko-renderer/web";
3
3
  export type TenantClientOptions = {
4
4
  readonly translations?: TranslationsByLocale;
5
5
  };
@@ -5,7 +5,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
5
5
  // screens.ts). The list frame itself is the generic declarative
6
6
  // projectionList renderer — only this one cell stays TSX.
7
7
  import { useTranslation } from "@cosmicdrift/kumiko-renderer";
8
- import { StatusBadge } from "@cosmicdrift/kumiko-renderer-web";
8
+ import { StatusBadge } from "@cosmicdrift/kumiko-renderer/web";
9
9
  import { translateOrRaw } from "../../shared/web/translate-or-raw.js";
10
10
  const STATUS_TONE = {
11
11
  active: "ok",
@@ -14,7 +14,7 @@ export declare const tierAssignmentEntity: import("@cosmicdrift/kumiko-types/fie
14
14
  readonly sensitive?: boolean;
15
15
  readonly writeOnly?: boolean;
16
16
  readonly readAsInstruction?: boolean;
17
- readonly format?: "email" | "url" | "phone" | "password";
17
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
18
18
  readonly default?: string;
19
19
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
20
20
  readonly multiline?: boolean | {
@@ -21,7 +21,7 @@ export declare function createTierResolver<TTier extends string, TCaps>(deps: Ti
21
21
  readonly sensitive?: boolean;
22
22
  readonly writeOnly?: boolean;
23
23
  readonly readAsInstruction?: boolean;
24
- readonly format?: "email" | "url" | "phone" | "password";
24
+ readonly format?: "email" | "url" | "phone" | "password" | "month";
25
25
  readonly default?: string;
26
26
  readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
27
27
  readonly multiline?: boolean | {
@@ -1,5 +1,5 @@
1
1
  import { type TranslationsByLocale } from "@cosmicdrift/kumiko-renderer";
2
- import type { ClientFeatureDefinition } from "@cosmicdrift/kumiko-renderer-web";
2
+ import type { ClientFeatureDefinition } from "@cosmicdrift/kumiko-renderer/web";
3
3
  export type TierEngineClientOptions = {
4
4
  /** Per-key overrides over the default bundles (de/en). */
5
5
  readonly translations?: TranslationsByLocale;