@burdenoff/microfe-organization 2026.1013.2 → 2026.1101.1

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 (172) hide show
  1. package/dist/generated/global-operations.js +57 -58
  2. package/dist/generated/global-operations.js.map +1 -1
  3. package/dist/generated/global-types.js +1 -2
  4. package/dist/generated/global-types.js.map +1 -1
  5. package/dist/node_modules/sonner/dist/index.js +2 -3
  6. package/dist/node_modules/sonner/dist/index.js.map +1 -1
  7. package/dist/node_modules/zod/v4/classic/errors.js +44 -0
  8. package/dist/node_modules/zod/v4/classic/errors.js.map +1 -0
  9. package/dist/node_modules/zod/v4/classic/parse.js +7 -0
  10. package/dist/node_modules/zod/v4/classic/parse.js.map +1 -0
  11. package/dist/node_modules/zod/v4/classic/schemas.js +652 -0
  12. package/dist/node_modules/zod/v4/classic/schemas.js.map +1 -0
  13. package/dist/node_modules/zod/v4/core/api.js +429 -0
  14. package/dist/node_modules/zod/v4/core/api.js.map +1 -0
  15. package/dist/node_modules/zod/v4/core/checks.js +143 -0
  16. package/dist/node_modules/zod/v4/core/checks.js.map +1 -0
  17. package/dist/node_modules/zod/v4/core/core.js +84 -0
  18. package/dist/node_modules/zod/v4/core/core.js.map +1 -0
  19. package/dist/node_modules/zod/v4/core/doc.js +29 -0
  20. package/dist/node_modules/zod/v4/core/doc.js.map +1 -0
  21. package/dist/node_modules/zod/v4/core/errors.js +90 -0
  22. package/dist/node_modules/zod/v4/core/errors.js.map +1 -0
  23. package/dist/node_modules/zod/v4/core/json-schema-processors.js +285 -0
  24. package/dist/node_modules/zod/v4/core/json-schema-processors.js.map +1 -0
  25. package/dist/node_modules/zod/v4/core/memoizer.js +188 -0
  26. package/dist/node_modules/zod/v4/core/memoizer.js.map +1 -0
  27. package/dist/node_modules/zod/v4/core/parse.js +159 -0
  28. package/dist/node_modules/zod/v4/core/parse.js.map +1 -0
  29. package/dist/node_modules/zod/v4/core/regexes.js +34 -0
  30. package/dist/node_modules/zod/v4/core/regexes.js.map +1 -0
  31. package/dist/node_modules/zod/v4/core/registries.js +41 -0
  32. package/dist/node_modules/zod/v4/core/registries.js.map +1 -0
  33. package/dist/node_modules/zod/v4/core/schemas.js +979 -0
  34. package/dist/node_modules/zod/v4/core/schemas.js.map +1 -0
  35. package/dist/node_modules/zod/v4/core/to-json-schema.js +330 -0
  36. package/dist/node_modules/zod/v4/core/to-json-schema.js.map +1 -0
  37. package/dist/node_modules/zod/v4/core/util.js +417 -0
  38. package/dist/node_modules/zod/v4/core/util.js.map +1 -0
  39. package/dist/node_modules/zod/v4/core/versions.js +9 -0
  40. package/dist/node_modules/zod/v4/core/versions.js.map +1 -0
  41. package/dist/node_modules/zod/v4/locales/en.js +96 -0
  42. package/dist/node_modules/zod/v4/locales/en.js.map +1 -0
  43. package/dist/organization-management/AdminOrganizationRoot.js +13 -10
  44. package/dist/organization-management/AdminOrganizationRoot.js.map +1 -1
  45. package/dist/organization-management/AdminOrganizationRoutes.js +53 -47
  46. package/dist/organization-management/AdminOrganizationRoutes.js.map +1 -1
  47. package/dist/organization-management/UserOrganizationRoot.js +13 -10
  48. package/dist/organization-management/UserOrganizationRoot.js.map +1 -1
  49. package/dist/organization-management/UserOrganizationRoutes.js +52 -46
  50. package/dist/organization-management/UserOrganizationRoutes.js.map +1 -1
  51. package/dist/organization-management/constants/permissions.js +1 -2
  52. package/dist/organization-management/constants/permissions.js.map +1 -1
  53. package/dist/organization-management/hooks/useOrganizationEventEmitter.js +1 -2
  54. package/dist/organization-management/hooks/useOrganizationEventEmitter.js.map +1 -1
  55. package/dist/organization-management/hooks/useOrganizationPageView.js +1 -2
  56. package/dist/organization-management/hooks/useOrganizationPageView.js.map +1 -1
  57. package/dist/organization-management/modules/members/components/BulkInviteForm.js +3 -3
  58. package/dist/organization-management/modules/members/components/BulkInviteForm.js.map +1 -1
  59. package/dist/organization-management/modules/members/components/InviteMemberForm.js +1 -2
  60. package/dist/organization-management/modules/members/components/InviteMemberForm.js.map +1 -1
  61. package/dist/organization-management/modules/members/components/InviteStatusBadge.js +1 -2
  62. package/dist/organization-management/modules/members/components/InviteStatusBadge.js.map +1 -1
  63. package/dist/organization-management/modules/members/components/MemberRoleBadge.js +1 -2
  64. package/dist/organization-management/modules/members/components/MemberRoleBadge.js.map +1 -1
  65. package/dist/organization-management/modules/members/components/MyInviteCard.js +5 -6
  66. package/dist/organization-management/modules/members/components/MyInviteCard.js.map +1 -1
  67. package/dist/organization-management/modules/members/components/PendingInvitesList.js +8 -9
  68. package/dist/organization-management/modules/members/components/PendingInvitesList.js.map +1 -1
  69. package/dist/organization-management/modules/members/hooks/useInvites.js +2 -3
  70. package/dist/organization-management/modules/members/hooks/useInvites.js.map +1 -1
  71. package/dist/organization-management/modules/members/hooks/useMembers.js +1 -2
  72. package/dist/organization-management/modules/members/hooks/useMembers.js.map +1 -1
  73. package/dist/organization-management/modules/members/hooks/useWorkspaceInvites.js +1 -2
  74. package/dist/organization-management/modules/members/hooks/useWorkspaceInvites.js.map +1 -1
  75. package/dist/organization-management/modules/members/pages/InviteMemberPage.js +16 -17
  76. package/dist/organization-management/modules/members/pages/InviteMemberPage.js.map +1 -1
  77. package/dist/organization-management/modules/members/pages/InvitePeoplePage.js +14 -15
  78. package/dist/organization-management/modules/members/pages/InvitePeoplePage.js.map +1 -1
  79. package/dist/organization-management/modules/members/pages/MemberDetailPage.js +18 -19
  80. package/dist/organization-management/modules/members/pages/MemberDetailPage.js.map +1 -1
  81. package/dist/organization-management/modules/members/pages/MembersListPage.js +142 -143
  82. package/dist/organization-management/modules/members/pages/MembersListPage.js.map +1 -1
  83. package/dist/organization-management/modules/members/pages/MyInvitesPage.js +168 -169
  84. package/dist/organization-management/modules/members/pages/MyInvitesPage.js.map +1 -1
  85. package/dist/organization-management/modules/members/pages/OrganizationInviteAcceptancePage.js +13 -14
  86. package/dist/organization-management/modules/members/pages/OrganizationInviteAcceptancePage.js.map +1 -1
  87. package/dist/organization-management/modules/members/utils/bulkInviteCsv.js +4 -10
  88. package/dist/organization-management/modules/members/utils/bulkInviteCsv.js.map +1 -1
  89. package/dist/organization-management/modules/members/utils/workspaceInvitationDisplay.js +1 -2
  90. package/dist/organization-management/modules/members/utils/workspaceInvitationDisplay.js.map +1 -1
  91. package/dist/organization-management/modules/organizations/components/OrganizationForm.js +14 -15
  92. package/dist/organization-management/modules/organizations/components/OrganizationForm.js.map +1 -1
  93. package/dist/organization-management/modules/organizations/components/OrganizationStatusBadge.js +1 -2
  94. package/dist/organization-management/modules/organizations/components/OrganizationStatusBadge.js.map +1 -1
  95. package/dist/organization-management/modules/organizations/hooks/useOrganizations.js +2 -3
  96. package/dist/organization-management/modules/organizations/hooks/useOrganizations.js.map +1 -1
  97. package/dist/organization-management/modules/organizations/hooks/useOrgsWithPermission.js +22 -21
  98. package/dist/organization-management/modules/organizations/hooks/useOrgsWithPermission.js.map +1 -1
  99. package/dist/organization-management/modules/organizations/pages/OrganizationCreatePage.js +18 -19
  100. package/dist/organization-management/modules/organizations/pages/OrganizationCreatePage.js.map +1 -1
  101. package/dist/organization-management/modules/organizations/pages/OrganizationDetailPage.js +29 -30
  102. package/dist/organization-management/modules/organizations/pages/OrganizationDetailPage.js.map +1 -1
  103. package/dist/organization-management/modules/organizations/pages/OrganizationEditPage.js +14 -15
  104. package/dist/organization-management/modules/organizations/pages/OrganizationEditPage.js.map +1 -1
  105. package/dist/organization-management/modules/organizations/pages/OrganizationsListPage.js +33 -34
  106. package/dist/organization-management/modules/organizations/pages/OrganizationsListPage.js.map +1 -1
  107. package/dist/organization-management/modules/organizations/schemas/index.js +11 -12
  108. package/dist/organization-management/modules/organizations/schemas/index.js.map +1 -1
  109. package/dist/organization-management/modules/workspaces/components/AddWorkspaceMemberDialog.js +16 -24
  110. package/dist/organization-management/modules/workspaces/components/AddWorkspaceMemberDialog.js.map +1 -1
  111. package/dist/organization-management/modules/workspaces/components/WorkspaceCard.js +5 -6
  112. package/dist/organization-management/modules/workspaces/components/WorkspaceCard.js.map +1 -1
  113. package/dist/organization-management/modules/workspaces/components/WorkspaceForm.js +31 -32
  114. package/dist/organization-management/modules/workspaces/components/WorkspaceForm.js.map +1 -1
  115. package/dist/organization-management/modules/workspaces/components/WorkspaceStatusBadge.js +1 -2
  116. package/dist/organization-management/modules/workspaces/components/WorkspaceStatusBadge.js.map +1 -1
  117. package/dist/organization-management/modules/workspaces/hooks/useWorkspaceMembers.js +1 -2
  118. package/dist/organization-management/modules/workspaces/hooks/useWorkspaceMembers.js.map +1 -1
  119. package/dist/organization-management/modules/workspaces/hooks/useWorkspaces.js +11 -12
  120. package/dist/organization-management/modules/workspaces/hooks/useWorkspaces.js.map +1 -1
  121. package/dist/organization-management/modules/workspaces/pages/WorkspaceCreatePage.js +18 -19
  122. package/dist/organization-management/modules/workspaces/pages/WorkspaceCreatePage.js.map +1 -1
  123. package/dist/organization-management/modules/workspaces/pages/WorkspaceDetailPage.js +43 -44
  124. package/dist/organization-management/modules/workspaces/pages/WorkspaceDetailPage.js.map +1 -1
  125. package/dist/organization-management/modules/workspaces/pages/WorkspaceEditPage.js +19 -20
  126. package/dist/organization-management/modules/workspaces/pages/WorkspaceEditPage.js.map +1 -1
  127. package/dist/organization-management/modules/workspaces/pages/WorkspacesListPage.js +240 -241
  128. package/dist/organization-management/modules/workspaces/pages/WorkspacesListPage.js.map +1 -1
  129. package/dist/organization-management/modules/workspaces/schemas/index.js +6 -7
  130. package/dist/organization-management/modules/workspaces/schemas/index.js.map +1 -1
  131. package/dist/organization-management/providers/OrgConsoleProvider.js +1 -2
  132. package/dist/organization-management/providers/OrgConsoleProvider.js.map +1 -1
  133. package/dist/organization-management/providers/OrgScopedPermissions.js +1 -2
  134. package/dist/organization-management/providers/OrgScopedPermissions.js.map +1 -1
  135. package/dist/organization-management/shared/components/dialog/ConfirmDialog.js +1 -2
  136. package/dist/organization-management/shared/components/dialog/ConfirmDialog.js.map +1 -1
  137. package/dist/organization-management/shared/components/dialog/ConfirmDialogView.js +1 -2
  138. package/dist/organization-management/shared/components/dialog/ConfirmDialogView.js.map +1 -1
  139. package/dist/organization-management/shared/components/feedback/ErrorState.js +1 -2
  140. package/dist/organization-management/shared/components/feedback/ErrorState.js.map +1 -1
  141. package/dist/organization-management/shared/components/feedback/LoadingState.js +1 -2
  142. package/dist/organization-management/shared/components/feedback/LoadingState.js.map +1 -1
  143. package/dist/organization-management/shared/components/input/SearchInput.js +1 -2
  144. package/dist/organization-management/shared/components/input/SearchInput.js.map +1 -1
  145. package/dist/organization-management/shared/components/input/SelectionCheckbox.js +1 -2
  146. package/dist/organization-management/shared/components/input/SelectionCheckbox.js.map +1 -1
  147. package/dist/organization-management/shared/hooks/useDebouncedValue.js +1 -2
  148. package/dist/organization-management/shared/hooks/useDebouncedValue.js.map +1 -1
  149. package/dist/organization-management/shared/hooks/useTr.js +1 -2
  150. package/dist/organization-management/shared/hooks/useTr.js.map +1 -1
  151. package/dist/organization-management/shared/logger.js +1 -2
  152. package/dist/organization-management/shared/logger.js.map +1 -1
  153. package/dist/organization-management/shared/recaptcha.js +1 -2
  154. package/dist/organization-management/shared/recaptcha.js.map +1 -1
  155. package/dist/organization-management/shared/types/graphql.js +1 -2
  156. package/dist/organization-management/shared/types/graphql.js.map +1 -1
  157. package/dist/utils/nativeBridge.js +1 -2
  158. package/package.json +7 -6
  159. package/dist/node_modules/zod/v3/ZodError.js +0 -82
  160. package/dist/node_modules/zod/v3/ZodError.js.map +0 -1
  161. package/dist/node_modules/zod/v3/errors.js +0 -10
  162. package/dist/node_modules/zod/v3/errors.js.map +0 -1
  163. package/dist/node_modules/zod/v3/helpers/errorUtil.js +0 -9
  164. package/dist/node_modules/zod/v3/helpers/errorUtil.js.map +0 -1
  165. package/dist/node_modules/zod/v3/helpers/parseUtil.js +0 -93
  166. package/dist/node_modules/zod/v3/helpers/parseUtil.js.map +0 -1
  167. package/dist/node_modules/zod/v3/helpers/util.js +0 -76
  168. package/dist/node_modules/zod/v3/helpers/util.js.map +0 -1
  169. package/dist/node_modules/zod/v3/locales/en.js +0 -62
  170. package/dist/node_modules/zod/v3/locales/en.js.map +0 -1
  171. package/dist/node_modules/zod/v3/types.js +0 -2441
  172. package/dist/node_modules/zod/v3/types.js.map +0 -1
@@ -0,0 +1,652 @@
1
+ import { clone as e, constantCatch as t, derived as n, extend as r, hide as i, installLazyProp as ee, issue as a, merge as te, mergeDefs as o, normalizeParams as s, omit as ne, own as c, partial as l, pick as re, required as ie, safeExtend as ae, shallowClone as u } from "../core/util.js";
2
+ import { $ZodEncodeError as oe, $constructor as d, config as se, globalConfig as ce } from "../core/core.js";
3
+ import { validate as le, validateAsync as ue } from "../core/parse.js";
4
+ import { $ZodArray as de, $ZodBase64 as fe, $ZodBase64URL as pe, $ZodCIDRv4 as me, $ZodCIDRv6 as he, $ZodCUID as ge, $ZodCUID2 as _e, $ZodCatch as ve, $ZodCustom as ye, $ZodDefault as be, $ZodE164 as xe, $ZodEmail as Se, $ZodEmoji as Ce, $ZodEnum as we, $ZodExactOptional as Te, $ZodGUID as Ee, $ZodIPv4 as De, $ZodIPv6 as Oe, $ZodISODate as ke, $ZodISODateTime as Ae, $ZodISODuration as je, $ZodISOTime as Me, $ZodIntersection as Ne, $ZodJWT as Pe, $ZodKSUID as Fe, $ZodLiteral as Ie, $ZodNanoID as Le, $ZodNever as Re, $ZodNonOptional as ze, $ZodNullable as Be, $ZodObjectJIT as Ve, $ZodOptional as He, $ZodPipe as Ue, $ZodPrefault as We, $ZodReadonly as Ge, $ZodRecord as Ke, $ZodString as f, $ZodStringFormat as qe, $ZodTransform as Je, $ZodType as Ye, $ZodULID as Xe, $ZodURL as Ze, $ZodUUID as Qe, $ZodUnion as $e, $ZodUnknown as et, $ZodXID as tt, standardProps as nt } from "../core/schemas.js";
5
+ import { memoizer as rt } from "../core/memoizer.js";
6
+ import { aggregateChecks as p, arrayProcessor as it, catchProcessor as at, customProcessor as ot, defaultProcessor as st, enumProcessor as ct, intersectionProcessor as lt, literalProcessor as ut, neverProcessor as dt, nonoptionalProcessor as ft, nullableProcessor as pt, objectProcessor as mt, optionalProcessor as m, pipeProcessor as ht, prefaultProcessor as gt, readonlyProcessor as _t, recordProcessor as vt, stringProcessor as yt, transformProcessor as bt, unionProcessor as xt, unknownProcessor as St } from "../core/json-schema-processors.js";
7
+ import { globalRegistry as h } from "../core/registries.js";
8
+ import { _array as Ct, _base64 as wt, _base64url as Tt, _cidrv4 as Et, _cidrv6 as Dt, _cuid as Ot, _cuid2 as kt, _e164 as At, _email as jt, _emoji as Mt, _endsWith as Nt, _guid as Pt, _includes as Ft, _ipv4 as It, _ipv6 as Lt, _isoDate as Rt, _isoDateTime as zt, _isoDuration as Bt, _isoTime as Vt, _jwt as Ht, _ksuid as Ut, _length as g, _lowercase as Wt, _maxLength as _, _minLength as v, _nanoid as Gt, _never as Kt, _normalize as qt, _overwrite as Jt, _refine as Yt, _regex as Xt, _slugify as Zt, _startsWith as Qt, _string as $t, _superRefine as en, _toLowerCase as tn, _toUpperCase as nn, _trim as rn, _ulid as an, _unknown as on, _uppercase as sn, _url as cn, _uuid as ln, _uuidv4 as un, _uuidv6 as dn, _uuidv7 as fn, _xid as pn } from "../core/api.js";
9
+ import { createStandardJSONSchemaMethod as y, createToJSONSchemaMethod as mn } from "../core/to-json-schema.js";
10
+ import hn from "../locales/en.js";
11
+ import { decode as gn, decodeAsync as _n, encode as vn, encodeAsync as yn, parse as bn, parseAsync as xn, safeDecode as Sn, safeDecodeAsync as Cn, safeEncode as wn, safeEncodeAsync as Tn, safeParse as En, safeParseAsync as Dn } from "./parse.js";
12
+ // node_modules/zod/v4/classic/schemas.js
13
+ function On() {
14
+ ce.localeError || se(hn());
15
+ }
16
+ function b() {
17
+ ce.memoizer || se({ memoizer: rt() });
18
+ }
19
+ var x = /*@__PURE__*/ d("ZodType", (e, t) => (On(), Ye.init(e, t), e.def = t, e.type = t.type, e), {
20
+ check(...e) {
21
+ let t = this.def;
22
+ return this.clone(o(t, { checks: [...t.checks ?? [], ...e.map((e) => typeof e == "function" ? { _zod: {
23
+ check: e,
24
+ def: { check: "custom" },
25
+ onattach: []
26
+ } } : e)] }), { parent: !0 });
27
+ },
28
+ with(...e) {
29
+ return this.check(...e);
30
+ },
31
+ clone(t, n) {
32
+ return e(this, t, n);
33
+ },
34
+ brand() {
35
+ return this;
36
+ },
37
+ register(e, t) {
38
+ return e.add(this, t), this;
39
+ },
40
+ refine(e, t) {
41
+ return this.check(ur(e, t));
42
+ },
43
+ superRefine(e, t) {
44
+ return this.check($(e, t));
45
+ },
46
+ overwrite(e) {
47
+ return this.check(Jt(e));
48
+ },
49
+ optional() {
50
+ return J(this);
51
+ },
52
+ exactOptional() {
53
+ return Zn(this);
54
+ },
55
+ nullable() {
56
+ return X(this);
57
+ },
58
+ nullish() {
59
+ return J(X(this));
60
+ },
61
+ nonoptional(e) {
62
+ return rr(this, e);
63
+ },
64
+ array() {
65
+ return Rn(this);
66
+ },
67
+ or(e) {
68
+ return Hn([this, e]);
69
+ },
70
+ and(e) {
71
+ return Wn(this, e);
72
+ },
73
+ transform(e) {
74
+ return Q(this, Xn(e));
75
+ },
76
+ default(e) {
77
+ return er(this, e);
78
+ },
79
+ prefault(e) {
80
+ return nr(this, e);
81
+ },
82
+ catch(e) {
83
+ return ar(this, e);
84
+ },
85
+ pipe(e) {
86
+ return Q(this, e);
87
+ },
88
+ readonly() {
89
+ return cr(this);
90
+ },
91
+ describe(e) {
92
+ let t = this.clone();
93
+ return h.add(t, { description: e }), t;
94
+ },
95
+ meta(...e) {
96
+ if (e.length === 0) return h.get(this);
97
+ let t = this.clone();
98
+ return h.add(t, e[0]), t;
99
+ },
100
+ isOptional() {
101
+ return this.safeParse(void 0).success;
102
+ },
103
+ isNullable() {
104
+ return this.safeParse(null).success;
105
+ },
106
+ apply(e, ...t) {
107
+ return t.length === 0 ? e(this) : e(this, ...t);
108
+ },
109
+ get "~standard"() {
110
+ return i(this, "~standard", {
111
+ ...nt(this),
112
+ jsonSchema: {
113
+ input: y(this, "input"),
114
+ output: y(this, "output")
115
+ }
116
+ });
117
+ },
118
+ set "~standard"(e) {
119
+ c(this, "~standard", e);
120
+ },
121
+ parse: function e(t, n) {
122
+ return bn(this, t, n, { callee: e });
123
+ },
124
+ parseAsync: async function e(t, n) {
125
+ return await xn(this, t, n, { callee: e });
126
+ },
127
+ safeParse(e, t) {
128
+ return En(this, e, t);
129
+ },
130
+ async safeParseAsync(e, t) {
131
+ return Dn(this, e, t);
132
+ },
133
+ get spa() {
134
+ return this?.safeParseAsync;
135
+ },
136
+ set spa(e) {
137
+ c(this, "spa", e);
138
+ },
139
+ validate(e, t) {
140
+ return le(this, e, t);
141
+ },
142
+ validateAsync(e, t) {
143
+ return ue(this, e, t);
144
+ },
145
+ encode: function e(t, n) {
146
+ return vn(this, t, n, { callee: e });
147
+ },
148
+ decode: function e(t, n) {
149
+ return gn(this, t, n, { callee: e });
150
+ },
151
+ encodeAsync: async function e(t, n) {
152
+ return await yn(this, t, n, { callee: e });
153
+ },
154
+ decodeAsync: async function e(t, n) {
155
+ return await _n(this, t, n, { callee: e });
156
+ },
157
+ safeEncode(e, t) {
158
+ return wn(this, e, t);
159
+ },
160
+ safeDecode(e, t) {
161
+ return Sn(this, e, t);
162
+ },
163
+ async safeEncodeAsync(e, t) {
164
+ return Tn(this, e, t);
165
+ },
166
+ async safeDecodeAsync(e, t) {
167
+ return Cn(this, e, t);
168
+ },
169
+ toJSONSchema(e) {
170
+ return mn(this, {})(e);
171
+ },
172
+ get description() {
173
+ return h.get(this)?.description;
174
+ },
175
+ get _def() {
176
+ return this._zod.def;
177
+ }
178
+ }), S = /*@__PURE__*/ d("_ZodString", (e, t) => {
179
+ f.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => yt(e, t, n, r);
180
+ }, /*@__PURE__*/ n({
181
+ format: (e) => p(e).format ?? null,
182
+ minLength: (e) => p(e).minimum ?? null,
183
+ maxLength: (e) => p(e).maximum ?? null
184
+ }, {
185
+ regex(...e) {
186
+ return this.check(Xt(...e));
187
+ },
188
+ includes(...e) {
189
+ return this.check(Ft(...e));
190
+ },
191
+ startsWith(...e) {
192
+ return this.check(Qt(...e));
193
+ },
194
+ endsWith(...e) {
195
+ return this.check(Nt(...e));
196
+ },
197
+ min(...e) {
198
+ return this.check(v(...e));
199
+ },
200
+ max(...e) {
201
+ return this.check(_(...e));
202
+ },
203
+ length(...e) {
204
+ return this.check(g(...e));
205
+ },
206
+ nonempty(...e) {
207
+ return this.check(v(1, ...e));
208
+ },
209
+ lowercase(e) {
210
+ return this.check(Wt(e));
211
+ },
212
+ uppercase(e) {
213
+ return this.check(sn(e));
214
+ },
215
+ trim() {
216
+ return this.check(rn());
217
+ },
218
+ normalize(...e) {
219
+ return this.check(qt(...e));
220
+ },
221
+ toLowerCase() {
222
+ return this.check(tn());
223
+ },
224
+ toUpperCase() {
225
+ return this.check(nn());
226
+ },
227
+ slugify() {
228
+ return this.check(Zt());
229
+ }
230
+ })), C = /*@__PURE__*/ d("ZodString", (e, t) => {
231
+ f.init(e, t), S.init(e, t);
232
+ }, {
233
+ email(e) {
234
+ return this.check(jt(A, e));
235
+ },
236
+ url(e) {
237
+ return this.check(cn(N, e));
238
+ },
239
+ jwt(e) {
240
+ return this.check(Ht(Nn, e));
241
+ },
242
+ emoji(e) {
243
+ return this.check(Mt(P, e));
244
+ },
245
+ guid(e) {
246
+ return this.check(Pt(j, e));
247
+ },
248
+ uuid(e) {
249
+ return this.check(ln(M, e));
250
+ },
251
+ uuidv4(e) {
252
+ return this.check(un(M, e));
253
+ },
254
+ uuidv6(e) {
255
+ return this.check(dn(M, e));
256
+ },
257
+ uuidv7(e) {
258
+ return this.check(fn(M, e));
259
+ },
260
+ nanoid(e) {
261
+ return this.check(Gt(F, e));
262
+ },
263
+ cuid(e) {
264
+ return this.check(Ot(I, e));
265
+ },
266
+ cuid2(e) {
267
+ return this.check(kt(L, e));
268
+ },
269
+ ulid(e) {
270
+ return this.check(an(R, e));
271
+ },
272
+ base64(e) {
273
+ return this.check(wt(An, e));
274
+ },
275
+ base64url(e) {
276
+ return this.check(Tt(jn, e));
277
+ },
278
+ xid(e) {
279
+ return this.check(pn(z, e));
280
+ },
281
+ ksuid(e) {
282
+ return this.check(Ut(B, e));
283
+ },
284
+ ipv4(e) {
285
+ return this.check(It(V, e));
286
+ },
287
+ ipv6(e) {
288
+ return this.check(Lt(H, e));
289
+ },
290
+ cidrv4(e) {
291
+ return this.check(Et(U, e));
292
+ },
293
+ cidrv6(e) {
294
+ return this.check(Dt(kn, e));
295
+ },
296
+ e164(e) {
297
+ return this.check(At(Mn, e));
298
+ },
299
+ datetime(e) {
300
+ return this.check(zt(E, e));
301
+ },
302
+ date(e) {
303
+ return this.check(Rt(D, e));
304
+ },
305
+ time(e) {
306
+ return this.check(Vt(O, e));
307
+ },
308
+ duration(e) {
309
+ return this.check(Bt(k, e));
310
+ }
311
+ });
312
+ function w(e) {
313
+ return $t(C, e);
314
+ }
315
+ var T = /*@__PURE__*/ d("ZodStringFormat", (e, t) => {
316
+ qe.init(e, t), S.init(e, t);
317
+ }), E = /*@__PURE__*/ d("ZodISODateTime", (e, t) => {
318
+ Ae.init(e, t), T.init(e, t);
319
+ }), D = /*@__PURE__*/ d("ZodISODate", (e, t) => {
320
+ ke.init(e, t), T.init(e, t);
321
+ }), O = /*@__PURE__*/ d("ZodISOTime", (e, t) => {
322
+ Me.init(e, t), T.init(e, t);
323
+ }), k = /*@__PURE__*/ d("ZodISODuration", (e, t) => {
324
+ je.init(e, t), T.init(e, t);
325
+ }), A = /*@__PURE__*/ d("ZodEmail", (e, t) => {
326
+ Se.init(e, t), T.init(e, t);
327
+ }), j = /*@__PURE__*/ d("ZodGUID", (e, t) => {
328
+ Ee.init(e, t), T.init(e, t);
329
+ }), M = /*@__PURE__*/ d("ZodUUID", (e, t) => {
330
+ Qe.init(e, t), T.init(e, t);
331
+ }), N = /*@__PURE__*/ d("ZodURL", (e, t) => {
332
+ Ze.init(e, t), T.init(e, t);
333
+ }), P = /*@__PURE__*/ d("ZodEmoji", (e, t) => {
334
+ Ce.init(e, t), T.init(e, t);
335
+ }), F = /*@__PURE__*/ d("ZodNanoID", (e, t) => {
336
+ Le.init(e, t), T.init(e, t);
337
+ }), I = /*@__PURE__*/ d("ZodCUID", (e, t) => {
338
+ ge.init(e, t), T.init(e, t);
339
+ }), L = /*@__PURE__*/ d("ZodCUID2", (e, t) => {
340
+ _e.init(e, t), T.init(e, t);
341
+ }), R = /*@__PURE__*/ d("ZodULID", (e, t) => {
342
+ Xe.init(e, t), T.init(e, t);
343
+ }), z = /*@__PURE__*/ d("ZodXID", (e, t) => {
344
+ tt.init(e, t), T.init(e, t);
345
+ }), B = /*@__PURE__*/ d("ZodKSUID", (e, t) => {
346
+ Fe.init(e, t), T.init(e, t);
347
+ }), V = /*@__PURE__*/ d("ZodIPv4", (e, t) => {
348
+ De.init(e, t), T.init(e, t);
349
+ }), H = /*@__PURE__*/ d("ZodIPv6", (e, t) => {
350
+ Oe.init(e, t), T.init(e, t);
351
+ }), U = /*@__PURE__*/ d("ZodCIDRv4", (e, t) => {
352
+ me.init(e, t), T.init(e, t);
353
+ }), kn = /*@__PURE__*/ d("ZodCIDRv6", (e, t) => {
354
+ he.init(e, t), T.init(e, t);
355
+ }), An = /*@__PURE__*/ d("ZodBase64", (e, t) => {
356
+ fe.init(e, t), T.init(e, t);
357
+ }), jn = /*@__PURE__*/ d("ZodBase64URL", (e, t) => {
358
+ pe.init(e, t), T.init(e, t);
359
+ }), Mn = /*@__PURE__*/ d("ZodE164", (e, t) => {
360
+ xe.init(e, t), T.init(e, t);
361
+ }), Nn = /*@__PURE__*/ d("ZodJWT", (e, t) => {
362
+ Pe.init(e, t), T.init(e, t);
363
+ }), Pn = /*@__PURE__*/ d("ZodUnknown", (e, t) => {
364
+ et.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => St(e, t, n, r);
365
+ });
366
+ function W() {
367
+ return on(Pn);
368
+ }
369
+ var Fn = /*@__PURE__*/ d("ZodNever", (e, t) => {
370
+ Re.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => dt(e, t, n, r);
371
+ });
372
+ function In(e) {
373
+ return Kt(Fn, e);
374
+ }
375
+ var Ln = /*@__PURE__*/ d("ZodArray", (e, t) => {
376
+ b(), de.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => it(e, t, n, r), e.element = t.element;
377
+ }, {
378
+ min(e, t) {
379
+ return this.check(v(e, t));
380
+ },
381
+ nonempty(e) {
382
+ return this.check(v(1, e));
383
+ },
384
+ max(e, t) {
385
+ return this.check(_(e, t));
386
+ },
387
+ length(e, t) {
388
+ return this.check(g(e, t));
389
+ },
390
+ unwrap() {
391
+ return this.element;
392
+ }
393
+ });
394
+ function Rn(e, t) {
395
+ return Ct(Ln, e, t);
396
+ }
397
+ var zn = /*@__PURE__*/ d("ZodObject", (e, t) => {
398
+ b(), Ve.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => mt(e, t, n, r), ee(e, "shape", (e) => e._zod.def.shape, !1);
399
+ }, {
400
+ keyof() {
401
+ return Kn(Object.keys(this._zod.def.shape));
402
+ },
403
+ catchall(e) {
404
+ return this.clone(o(this._zod.def, { catchall: e }));
405
+ },
406
+ passthrough() {
407
+ return this.clone(o(this._zod.def, { catchall: W() }));
408
+ },
409
+ loose() {
410
+ return this.clone(o(this._zod.def, { catchall: W() }));
411
+ },
412
+ strict() {
413
+ return this.clone(o(this._zod.def, { catchall: In() }));
414
+ },
415
+ strip() {
416
+ return this.clone(o(this._zod.def, { catchall: void 0 }));
417
+ },
418
+ extend(e) {
419
+ return r(this, e);
420
+ },
421
+ safeExtend(e) {
422
+ return ae(this, e);
423
+ },
424
+ merge(e) {
425
+ return te(this, e);
426
+ },
427
+ pick(e) {
428
+ return re(this, e);
429
+ },
430
+ omit(e) {
431
+ return ne(this, e);
432
+ },
433
+ partial(...e) {
434
+ return l(q, this, e[0]);
435
+ },
436
+ exactPartial(...e) {
437
+ return l(Y, this, e[0], "exactPartial");
438
+ },
439
+ required(...e) {
440
+ return ie(Z, this, e[0]);
441
+ }
442
+ });
443
+ function Bn(e, t) {
444
+ return new zn({
445
+ type: "object",
446
+ shape: e ?? {},
447
+ ...s(t)
448
+ });
449
+ }
450
+ var Vn = /*@__PURE__*/ d("ZodUnion", (e, t) => {
451
+ $e.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => xt(e, t, n, r), e.options = t.options;
452
+ });
453
+ function Hn(e, t) {
454
+ return new Vn({
455
+ type: "union",
456
+ options: e,
457
+ ...s(t)
458
+ });
459
+ }
460
+ var Un = /*@__PURE__*/ d("ZodIntersection", (e, t) => {
461
+ Ne.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => lt(e, t, n, r);
462
+ });
463
+ function Wn(e, t) {
464
+ return new Un({
465
+ type: "intersection",
466
+ left: e,
467
+ right: t
468
+ });
469
+ }
470
+ var G = /*@__PURE__*/ d("ZodRecord", (e, t) => {
471
+ b(), Ke.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => vt(e, t, n, r), e.keyType = t.keyType, e.valueType = t.valueType;
472
+ });
473
+ function Gn(e, t, n) {
474
+ return !t || !t._zod ? new G({
475
+ type: "record",
476
+ keyType: w(),
477
+ valueType: e,
478
+ ...s(t)
479
+ }) : new G({
480
+ type: "record",
481
+ keyType: e,
482
+ valueType: t,
483
+ ...s(n)
484
+ });
485
+ }
486
+ var K = /*@__PURE__*/ d("ZodEnum", (e, t) => {
487
+ we.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => ct(e, t, n, r), e.enum = t.entries, e.options = [...e._zod.values];
488
+ let n = new Set(Object.keys(t.entries));
489
+ e.extract = (e, r) => {
490
+ let i = {};
491
+ for (let r of e) if (n.has(r)) i[r] = t.entries[r];
492
+ else throw Error(`Key ${r} not found in enum`);
493
+ return new K({
494
+ ...t,
495
+ checks: [],
496
+ ...s(r),
497
+ entries: i
498
+ });
499
+ }, e.exclude = (e, r) => {
500
+ let i = { ...t.entries };
501
+ for (let t of e) if (n.has(t)) delete i[t];
502
+ else throw Error(`Key ${t} not found in enum`);
503
+ return new K({
504
+ ...t,
505
+ checks: [],
506
+ ...s(r),
507
+ entries: i
508
+ });
509
+ };
510
+ });
511
+ function Kn(e, t) {
512
+ return new K({
513
+ type: "enum",
514
+ entries: Array.isArray(e) ? Object.fromEntries(e.map((e) => [e, e])) : e,
515
+ ...s(t)
516
+ });
517
+ }
518
+ var qn = /*@__PURE__*/ d("ZodLiteral", (e, t) => {
519
+ Ie.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => ut(e, t, n, r), e.values = new Set(t.values), Object.defineProperty(e, "value", { get() {
520
+ if (t.values.length > 1) throw Error("This schema contains multiple valid literal values. Use `.values` instead.");
521
+ return t.values[0];
522
+ } });
523
+ });
524
+ function Jn(e, t) {
525
+ return new qn({
526
+ type: "literal",
527
+ values: Array.isArray(e) ? e : [e],
528
+ ...s(t)
529
+ });
530
+ }
531
+ var Yn = /*@__PURE__*/ d("ZodTransform", (e, t) => {
532
+ b(), Je.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => bt(e, t, n, r), e._zod.parse = (n, r) => {
533
+ if (r.direction === "backward") throw new oe(e.constructor.name);
534
+ n.addIssue = (r) => {
535
+ if (typeof r == "string") n.issues.push(a(r, n.value, t));
536
+ else {
537
+ let t = r;
538
+ t.fatal && (t.continue = !1), t.code ??= "custom", "input" in t || (t.input = n.value), t.inst ??= e, n.issues.push(a(t));
539
+ }
540
+ };
541
+ let i = t.transform(n.value, n);
542
+ return i instanceof Promise ? i.then((e) => (n.value = e, n)) : (n.value = i, n);
543
+ };
544
+ });
545
+ function Xn(e) {
546
+ return new Yn({
547
+ type: "transform",
548
+ transform: e
549
+ });
550
+ }
551
+ var q = /*@__PURE__*/ d("ZodOptional", (e, t) => {
552
+ He.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => m(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
553
+ });
554
+ function J(e) {
555
+ return new q({
556
+ type: "optional",
557
+ innerType: e
558
+ });
559
+ }
560
+ var Y = /*@__PURE__*/ d("ZodExactOptional", (e, t) => {
561
+ Te.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => m(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
562
+ });
563
+ function Zn(e) {
564
+ return new Y({
565
+ type: "optional",
566
+ innerType: e
567
+ });
568
+ }
569
+ var Qn = /*@__PURE__*/ d("ZodNullable", (e, t) => {
570
+ Be.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => pt(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
571
+ });
572
+ function X(e) {
573
+ return new Qn({
574
+ type: "nullable",
575
+ innerType: e
576
+ });
577
+ }
578
+ var $n = /*@__PURE__*/ d("ZodDefault", (e, t) => {
579
+ be.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => st(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
580
+ });
581
+ function er(e, t) {
582
+ return new $n({
583
+ type: "default",
584
+ innerType: e,
585
+ get defaultValue() {
586
+ return typeof t == "function" ? t() : u(t);
587
+ }
588
+ });
589
+ }
590
+ var tr = /*@__PURE__*/ d("ZodPrefault", (e, t) => {
591
+ We.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => gt(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
592
+ });
593
+ function nr(e, t) {
594
+ return new tr({
595
+ type: "prefault",
596
+ innerType: e,
597
+ get defaultValue() {
598
+ return typeof t == "function" ? t() : u(t);
599
+ }
600
+ });
601
+ }
602
+ var Z = /*@__PURE__*/ d("ZodNonOptional", (e, t) => {
603
+ ze.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => ft(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
604
+ });
605
+ function rr(e, t) {
606
+ return new Z({
607
+ type: "nonoptional",
608
+ innerType: e,
609
+ ...s(t)
610
+ });
611
+ }
612
+ var ir = /*@__PURE__*/ d("ZodCatch", (e, t) => {
613
+ ve.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => at(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
614
+ });
615
+ function ar(e, n) {
616
+ return new ir({
617
+ type: "catch",
618
+ innerType: e,
619
+ catchValue: typeof n == "function" ? n : t(n)
620
+ });
621
+ }
622
+ var or = /*@__PURE__*/ d("ZodPipe", (e, t) => {
623
+ Ue.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => ht(e, t, n, r), e.in = t.in, e.out = t.out;
624
+ });
625
+ function Q(e, t) {
626
+ return new or({
627
+ type: "pipe",
628
+ in: e,
629
+ out: t
630
+ });
631
+ }
632
+ var sr = /*@__PURE__*/ d("ZodReadonly", (e, t) => {
633
+ Ge.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => _t(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
634
+ });
635
+ function cr(e) {
636
+ return new sr({
637
+ type: "readonly",
638
+ innerType: e
639
+ });
640
+ }
641
+ var lr = /*@__PURE__*/ d("ZodCustom", (e, t) => {
642
+ ye.init(e, t), x.init(e, t), e._zod.processJSONSchema = (t, n, r) => ot(e, t, n, r);
643
+ });
644
+ function ur(e, t = {}) {
645
+ return Yt(lr, e, t);
646
+ }
647
+ function $(e, t) {
648
+ return en(e, t);
649
+ }
650
+ export { Ln as ZodArray, An as ZodBase64, jn as ZodBase64URL, U as ZodCIDRv4, kn as ZodCIDRv6, I as ZodCUID, L as ZodCUID2, ir as ZodCatch, lr as ZodCustom, $n as ZodDefault, Mn as ZodE164, A as ZodEmail, P as ZodEmoji, K as ZodEnum, Y as ZodExactOptional, j as ZodGUID, V as ZodIPv4, H as ZodIPv6, D as ZodISODate, E as ZodISODateTime, k as ZodISODuration, O as ZodISOTime, Un as ZodIntersection, Nn as ZodJWT, B as ZodKSUID, qn as ZodLiteral, F as ZodNanoID, Fn as ZodNever, Z as ZodNonOptional, Qn as ZodNullable, zn as ZodObject, q as ZodOptional, or as ZodPipe, tr as ZodPrefault, sr as ZodReadonly, G as ZodRecord, C as ZodString, T as ZodStringFormat, Yn as ZodTransform, x as ZodType, R as ZodULID, N as ZodURL, M as ZodUUID, Vn as ZodUnion, Pn as ZodUnknown, z as ZodXID, S as _ZodString, er as _default, Rn as array, ar as catch, Kn as enum, Zn as exactOptional, Wn as intersection, Jn as literal, In as never, rr as nonoptional, X as nullable, Bn as object, J as optional, Q as pipe, nr as prefault, cr as readonly, Gn as record, ur as refine, w as string, $ as superRefine, Xn as transform, Hn as union, W as unknown };
651
+
652
+ //# sourceMappingURL=schemas.js.map