@burdenoff/microfe-product 2026.510.43

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 (344) hide show
  1. package/README.md +51 -0
  2. package/dist/generated/global-operations.d.ts +1833 -0
  3. package/dist/generated/global-operations.d.ts.map +1 -0
  4. package/dist/generated/global-operations.js +846 -0
  5. package/dist/generated/global-operations.js.map +1 -0
  6. package/dist/generated/global-types.d.ts +20976 -0
  7. package/dist/generated/global-types.d.ts.map +1 -0
  8. package/dist/generated/global-types.js +8 -0
  9. package/dist/generated/global-types.js.map +1 -0
  10. package/dist/generated/wspace-operations.d.ts +2 -0
  11. package/dist/generated/wspace-operations.d.ts.map +1 -0
  12. package/dist/generated/wspace-types.d.ts +54985 -0
  13. package/dist/generated/wspace-types.d.ts.map +1 -0
  14. package/dist/index.d.ts +14 -0
  15. package/dist/index.d.ts.map +1 -0
  16. package/dist/index.js +3 -0
  17. package/dist/node_modules/dompurify/dist/purify.es.js +555 -0
  18. package/dist/node_modules/dompurify/dist/purify.es.js.map +1 -0
  19. package/dist/node_modules/zod/v4/classic/errors.js +23 -0
  20. package/dist/node_modules/zod/v4/classic/errors.js.map +1 -0
  21. package/dist/node_modules/zod/v4/classic/iso.js +33 -0
  22. package/dist/node_modules/zod/v4/classic/iso.js.map +1 -0
  23. package/dist/node_modules/zod/v4/classic/parse.js +8 -0
  24. package/dist/node_modules/zod/v4/classic/parse.js.map +1 -0
  25. package/dist/node_modules/zod/v4/classic/schemas.js +617 -0
  26. package/dist/node_modules/zod/v4/classic/schemas.js.map +1 -0
  27. package/dist/node_modules/zod/v4/core/api.js +503 -0
  28. package/dist/node_modules/zod/v4/core/api.js.map +1 -0
  29. package/dist/node_modules/zod/v4/core/checks.js +285 -0
  30. package/dist/node_modules/zod/v4/core/checks.js.map +1 -0
  31. package/dist/node_modules/zod/v4/core/core.js +49 -0
  32. package/dist/node_modules/zod/v4/core/core.js.map +1 -0
  33. package/dist/node_modules/zod/v4/core/doc.js +25 -0
  34. package/dist/node_modules/zod/v4/core/doc.js.map +1 -0
  35. package/dist/node_modules/zod/v4/core/errors.js +46 -0
  36. package/dist/node_modules/zod/v4/core/errors.js.map +1 -0
  37. package/dist/node_modules/zod/v4/core/json-schema-processors.js +180 -0
  38. package/dist/node_modules/zod/v4/core/json-schema-processors.js.map +1 -0
  39. package/dist/node_modules/zod/v4/core/parse.js +91 -0
  40. package/dist/node_modules/zod/v4/core/parse.js.map +1 -0
  41. package/dist/node_modules/zod/v4/core/regexes.js +27 -0
  42. package/dist/node_modules/zod/v4/core/regexes.js.map +1 -0
  43. package/dist/node_modules/zod/v4/core/registries.js +42 -0
  44. package/dist/node_modules/zod/v4/core/registries.js.map +1 -0
  45. package/dist/node_modules/zod/v4/core/schemas.js +883 -0
  46. package/dist/node_modules/zod/v4/core/schemas.js.map +1 -0
  47. package/dist/node_modules/zod/v4/core/to-json-schema.js +226 -0
  48. package/dist/node_modules/zod/v4/core/to-json-schema.js.map +1 -0
  49. package/dist/node_modules/zod/v4/core/util.js +267 -0
  50. package/dist/node_modules/zod/v4/core/util.js.map +1 -0
  51. package/dist/node_modules/zod/v4/core/versions.js +10 -0
  52. package/dist/node_modules/zod/v4/core/versions.js.map +1 -0
  53. package/dist/product/ProductUserRoot.d.ts +4 -0
  54. package/dist/product/ProductUserRoot.d.ts.map +1 -0
  55. package/dist/product/ProductUserRoot.js +40 -0
  56. package/dist/product/ProductUserRoot.js.map +1 -0
  57. package/dist/product/ProductUserRoutes.d.ts +6 -0
  58. package/dist/product/ProductUserRoutes.d.ts.map +1 -0
  59. package/dist/product/ProductUserRoutes.js +34 -0
  60. package/dist/product/ProductUserRoutes.js.map +1 -0
  61. package/dist/product/hooks/usePublicContentPage.d.ts +9 -0
  62. package/dist/product/hooks/usePublicContentPage.d.ts.map +1 -0
  63. package/dist/product/hooks/usePublicContentPage.js +22 -0
  64. package/dist/product/hooks/usePublicContentPage.js.map +1 -0
  65. package/dist/product/hooks/usePublicProduct.d.ts +9 -0
  66. package/dist/product/hooks/usePublicProduct.d.ts.map +1 -0
  67. package/dist/product/hooks/usePublicProduct.js +19 -0
  68. package/dist/product/hooks/usePublicProduct.js.map +1 -0
  69. package/dist/product/hooks/usePublicProducts.d.ts +21 -0
  70. package/dist/product/hooks/usePublicProducts.d.ts.map +1 -0
  71. package/dist/product/hooks/usePublicProducts.js +25 -0
  72. package/dist/product/hooks/usePublicProducts.js.map +1 -0
  73. package/dist/product/pages/ContentPageViewPage.d.ts +2 -0
  74. package/dist/product/pages/ContentPageViewPage.d.ts.map +1 -0
  75. package/dist/product/pages/ContentPageViewPage.js +81 -0
  76. package/dist/product/pages/ContentPageViewPage.js.map +1 -0
  77. package/dist/product/pages/ProductCatalogPage.d.ts +2 -0
  78. package/dist/product/pages/ProductCatalogPage.d.ts.map +1 -0
  79. package/dist/product/pages/ProductCatalogPage.js +182 -0
  80. package/dist/product/pages/ProductCatalogPage.js.map +1 -0
  81. package/dist/product/pages/ProductViewPage.d.ts +2 -0
  82. package/dist/product/pages/ProductViewPage.d.ts.map +1 -0
  83. package/dist/product/pages/ProductViewPage.js +229 -0
  84. package/dist/product/pages/ProductViewPage.js.map +1 -0
  85. package/dist/product/pages/ProductsLandingPage.d.ts +10 -0
  86. package/dist/product/pages/ProductsLandingPage.d.ts.map +1 -0
  87. package/dist/product/pages/ProductsLandingPage.js +66 -0
  88. package/dist/product/pages/ProductsLandingPage.js.map +1 -0
  89. package/dist/product/pages/UserProductsLandingPage.d.ts +9 -0
  90. package/dist/product/pages/UserProductsLandingPage.d.ts.map +1 -0
  91. package/dist/product/pages/UserProductsLandingPage.js +10 -0
  92. package/dist/product/pages/UserProductsLandingPage.js.map +1 -0
  93. package/dist/product/providers/ProductUserProvider.d.ts +10 -0
  94. package/dist/product/providers/ProductUserProvider.d.ts.map +1 -0
  95. package/dist/product/providers/ProductUserProvider.js +19 -0
  96. package/dist/product/providers/ProductUserProvider.js.map +1 -0
  97. package/dist/product/types/index.d.ts +34 -0
  98. package/dist/product/types/index.d.ts.map +1 -0
  99. package/dist/product-management/ProductManagementRoot.d.ts +4 -0
  100. package/dist/product-management/ProductManagementRoot.d.ts.map +1 -0
  101. package/dist/product-management/ProductManagementRoot.js +59 -0
  102. package/dist/product-management/ProductManagementRoot.js.map +1 -0
  103. package/dist/product-management/ProductManagementRoutes.d.ts +6 -0
  104. package/dist/product-management/ProductManagementRoutes.d.ts.map +1 -0
  105. package/dist/product-management/ProductManagementRoutes.js +144 -0
  106. package/dist/product-management/ProductManagementRoutes.js.map +1 -0
  107. package/dist/product-management/index.d.ts +5 -0
  108. package/dist/product-management/index.d.ts.map +1 -0
  109. package/dist/product-management/modules/content-pages/components/ContentPageForm.d.ts +10 -0
  110. package/dist/product-management/modules/content-pages/components/ContentPageForm.d.ts.map +1 -0
  111. package/dist/product-management/modules/content-pages/components/ContentPageForm.js +530 -0
  112. package/dist/product-management/modules/content-pages/components/ContentPageForm.js.map +1 -0
  113. package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.d.ts +11 -0
  114. package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.d.ts.map +1 -0
  115. package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.js +29 -0
  116. package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.js.map +1 -0
  117. package/dist/product-management/modules/content-pages/hooks/useContentPages.d.ts +76 -0
  118. package/dist/product-management/modules/content-pages/hooks/useContentPages.d.ts.map +1 -0
  119. package/dist/product-management/modules/content-pages/hooks/useContentPages.js +96 -0
  120. package/dist/product-management/modules/content-pages/hooks/useContentPages.js.map +1 -0
  121. package/dist/product-management/modules/content-pages/index.d.ts +15 -0
  122. package/dist/product-management/modules/content-pages/index.d.ts.map +1 -0
  123. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.d.ts +2 -0
  124. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.d.ts.map +1 -0
  125. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js +69 -0
  126. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js.map +1 -0
  127. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.d.ts +6 -0
  128. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.d.ts.map +1 -0
  129. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js +273 -0
  130. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js.map +1 -0
  131. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.d.ts +2 -0
  132. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.d.ts.map +1 -0
  133. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js +87 -0
  134. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js.map +1 -0
  135. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.d.ts +2 -0
  136. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.d.ts.map +1 -0
  137. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js +243 -0
  138. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js.map +1 -0
  139. package/dist/product-management/modules/content-pages/schemas/index.d.ts +33 -0
  140. package/dist/product-management/modules/content-pages/schemas/index.d.ts.map +1 -0
  141. package/dist/product-management/modules/content-pages/schemas/index.js +29 -0
  142. package/dist/product-management/modules/content-pages/schemas/index.js.map +1 -0
  143. package/dist/product-management/modules/content-pages/types/index.d.ts +65 -0
  144. package/dist/product-management/modules/content-pages/types/index.d.ts.map +1 -0
  145. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.d.ts +11 -0
  146. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.d.ts.map +1 -0
  147. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.js +347 -0
  148. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.js.map +1 -0
  149. package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.d.ts +8 -0
  150. package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.d.ts.map +1 -0
  151. package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.js +23 -0
  152. package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.js.map +1 -0
  153. package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.d.ts +8 -0
  154. package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.d.ts.map +1 -0
  155. package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.js +31 -0
  156. package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.js.map +1 -0
  157. package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.d.ts +58 -0
  158. package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.d.ts.map +1 -0
  159. package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.js +91 -0
  160. package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.js.map +1 -0
  161. package/dist/product-management/modules/feature-flags/index.d.ts +13 -0
  162. package/dist/product-management/modules/feature-flags/index.d.ts.map +1 -0
  163. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.d.ts +3 -0
  164. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.d.ts.map +1 -0
  165. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js +61 -0
  166. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js.map +1 -0
  167. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.d.ts +3 -0
  168. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.d.ts.map +1 -0
  169. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js +292 -0
  170. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js.map +1 -0
  171. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.d.ts +3 -0
  172. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.d.ts.map +1 -0
  173. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js +88 -0
  174. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js.map +1 -0
  175. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.d.ts +3 -0
  176. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.d.ts.map +1 -0
  177. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js +467 -0
  178. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js.map +1 -0
  179. package/dist/product-management/modules/feature-flags/schemas/index.d.ts +35 -0
  180. package/dist/product-management/modules/feature-flags/schemas/index.d.ts.map +1 -0
  181. package/dist/product-management/modules/feature-flags/schemas/index.js +35 -0
  182. package/dist/product-management/modules/feature-flags/schemas/index.js.map +1 -0
  183. package/dist/product-management/modules/feature-flags/types/index.d.ts +86 -0
  184. package/dist/product-management/modules/feature-flags/types/index.d.ts.map +1 -0
  185. package/dist/product-management/modules/products/components/ProductCard.d.ts +15 -0
  186. package/dist/product-management/modules/products/components/ProductCard.d.ts.map +1 -0
  187. package/dist/product-management/modules/products/components/ProductForm.d.ts +10 -0
  188. package/dist/product-management/modules/products/components/ProductForm.d.ts.map +1 -0
  189. package/dist/product-management/modules/products/components/ProductForm.js +882 -0
  190. package/dist/product-management/modules/products/components/ProductForm.js.map +1 -0
  191. package/dist/product-management/modules/products/components/ProductPlans.d.ts +8 -0
  192. package/dist/product-management/modules/products/components/ProductPlans.d.ts.map +1 -0
  193. package/dist/product-management/modules/products/components/ProductPlans.js +469 -0
  194. package/dist/product-management/modules/products/components/ProductPlans.js.map +1 -0
  195. package/dist/product-management/modules/products/components/ProductStats.d.ts +23 -0
  196. package/dist/product-management/modules/products/components/ProductStats.d.ts.map +1 -0
  197. package/dist/product-management/modules/products/components/ProductStatusBadge.d.ts +12 -0
  198. package/dist/product-management/modules/products/components/ProductStatusBadge.d.ts.map +1 -0
  199. package/dist/product-management/modules/products/components/ProductStatusBadge.js +50 -0
  200. package/dist/product-management/modules/products/components/ProductStatusBadge.js.map +1 -0
  201. package/dist/product-management/modules/products/hooks/useProducts.d.ts +85 -0
  202. package/dist/product-management/modules/products/hooks/useProducts.d.ts.map +1 -0
  203. package/dist/product-management/modules/products/hooks/useProducts.js +93 -0
  204. package/dist/product-management/modules/products/hooks/useProducts.js.map +1 -0
  205. package/dist/product-management/modules/products/index.d.ts +16 -0
  206. package/dist/product-management/modules/products/index.d.ts.map +1 -0
  207. package/dist/product-management/modules/products/pages/ProductCreatePage.d.ts +2 -0
  208. package/dist/product-management/modules/products/pages/ProductCreatePage.d.ts.map +1 -0
  209. package/dist/product-management/modules/products/pages/ProductCreatePage.js +57 -0
  210. package/dist/product-management/modules/products/pages/ProductCreatePage.js.map +1 -0
  211. package/dist/product-management/modules/products/pages/ProductDetailPage.d.ts +6 -0
  212. package/dist/product-management/modules/products/pages/ProductDetailPage.d.ts.map +1 -0
  213. package/dist/product-management/modules/products/pages/ProductDetailPage.js +422 -0
  214. package/dist/product-management/modules/products/pages/ProductDetailPage.js.map +1 -0
  215. package/dist/product-management/modules/products/pages/ProductEditPage.d.ts +2 -0
  216. package/dist/product-management/modules/products/pages/ProductEditPage.d.ts.map +1 -0
  217. package/dist/product-management/modules/products/pages/ProductEditPage.js +80 -0
  218. package/dist/product-management/modules/products/pages/ProductEditPage.js.map +1 -0
  219. package/dist/product-management/modules/products/pages/ProductsListPage.d.ts +2 -0
  220. package/dist/product-management/modules/products/pages/ProductsListPage.d.ts.map +1 -0
  221. package/dist/product-management/modules/products/pages/ProductsListPage.js +252 -0
  222. package/dist/product-management/modules/products/pages/ProductsListPage.js.map +1 -0
  223. package/dist/product-management/modules/products/schemas/index.d.ts +59 -0
  224. package/dist/product-management/modules/products/schemas/index.d.ts.map +1 -0
  225. package/dist/product-management/modules/products/schemas/index.js +73 -0
  226. package/dist/product-management/modules/products/schemas/index.js.map +1 -0
  227. package/dist/product-management/modules/products/types/index.d.ts +112 -0
  228. package/dist/product-management/modules/products/types/index.d.ts.map +1 -0
  229. package/dist/product-management/modules/products/types/index.js +11 -0
  230. package/dist/product-management/modules/products/types/index.js.map +1 -0
  231. package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.d.ts +6 -0
  232. package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.d.ts.map +1 -0
  233. package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.js +46 -0
  234. package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.js.map +1 -0
  235. package/dist/product-management/modules/shortcuts/components/ShortcutForm.d.ts +10 -0
  236. package/dist/product-management/modules/shortcuts/components/ShortcutForm.d.ts.map +1 -0
  237. package/dist/product-management/modules/shortcuts/components/ShortcutForm.js +389 -0
  238. package/dist/product-management/modules/shortcuts/components/ShortcutForm.js.map +1 -0
  239. package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.d.ts +11 -0
  240. package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.d.ts.map +1 -0
  241. package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.js +45 -0
  242. package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.js.map +1 -0
  243. package/dist/product-management/modules/shortcuts/hooks/useShortcuts.d.ts +85 -0
  244. package/dist/product-management/modules/shortcuts/hooks/useShortcuts.d.ts.map +1 -0
  245. package/dist/product-management/modules/shortcuts/hooks/useShortcuts.js +120 -0
  246. package/dist/product-management/modules/shortcuts/hooks/useShortcuts.js.map +1 -0
  247. package/dist/product-management/modules/shortcuts/index.d.ts +17 -0
  248. package/dist/product-management/modules/shortcuts/index.d.ts.map +1 -0
  249. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.d.ts +2 -0
  250. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.d.ts.map +1 -0
  251. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js +60 -0
  252. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js.map +1 -0
  253. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.d.ts +2 -0
  254. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.d.ts.map +1 -0
  255. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js +271 -0
  256. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js.map +1 -0
  257. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.d.ts +2 -0
  258. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.d.ts.map +1 -0
  259. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js +85 -0
  260. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js.map +1 -0
  261. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.d.ts +2 -0
  262. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.d.ts.map +1 -0
  263. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js +295 -0
  264. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js.map +1 -0
  265. package/dist/product-management/modules/shortcuts/schemas/index.d.ts +35 -0
  266. package/dist/product-management/modules/shortcuts/schemas/index.d.ts.map +1 -0
  267. package/dist/product-management/modules/shortcuts/schemas/index.js +30 -0
  268. package/dist/product-management/modules/shortcuts/schemas/index.js.map +1 -0
  269. package/dist/product-management/modules/shortcuts/types/index.d.ts +28 -0
  270. package/dist/product-management/modules/shortcuts/types/index.d.ts.map +1 -0
  271. package/dist/product-management/modules/shortcuts/types/index.js +13 -0
  272. package/dist/product-management/modules/shortcuts/types/index.js.map +1 -0
  273. package/dist/product-management/providers/ProductConsoleProvider.d.ts +18 -0
  274. package/dist/product-management/providers/ProductConsoleProvider.d.ts.map +1 -0
  275. package/dist/product-management/providers/ProductConsoleProvider.js +19 -0
  276. package/dist/product-management/providers/ProductConsoleProvider.js.map +1 -0
  277. package/dist/product-management/shared/components/AuditHistoryTab.d.ts +7 -0
  278. package/dist/product-management/shared/components/AuditHistoryTab.d.ts.map +1 -0
  279. package/dist/product-management/shared/components/AuditHistoryTab.js +80 -0
  280. package/dist/product-management/shared/components/AuditHistoryTab.js.map +1 -0
  281. package/dist/product-management/shared/components/TagList.d.ts +7 -0
  282. package/dist/product-management/shared/components/TagList.d.ts.map +1 -0
  283. package/dist/product-management/shared/components/TagList.js +15 -0
  284. package/dist/product-management/shared/components/TagList.js.map +1 -0
  285. package/dist/product-management/shared/components/feedback/EmptyState.d.ts +13 -0
  286. package/dist/product-management/shared/components/feedback/EmptyState.d.ts.map +1 -0
  287. package/dist/product-management/shared/components/feedback/EmptyState.js +30 -0
  288. package/dist/product-management/shared/components/feedback/EmptyState.js.map +1 -0
  289. package/dist/product-management/shared/components/feedback/ErrorState.d.ts +18 -0
  290. package/dist/product-management/shared/components/feedback/ErrorState.d.ts.map +1 -0
  291. package/dist/product-management/shared/components/feedback/ErrorState.js +34 -0
  292. package/dist/product-management/shared/components/feedback/ErrorState.js.map +1 -0
  293. package/dist/product-management/shared/components/feedback/LoadingState.d.ts +13 -0
  294. package/dist/product-management/shared/components/feedback/LoadingState.d.ts.map +1 -0
  295. package/dist/product-management/shared/components/feedback/LoadingState.js +19 -0
  296. package/dist/product-management/shared/components/feedback/LoadingState.js.map +1 -0
  297. package/dist/product-management/shared/components/input/SearchInput.d.ts +22 -0
  298. package/dist/product-management/shared/components/input/SearchInput.d.ts.map +1 -0
  299. package/dist/product-management/shared/components/input/SearchInput.js +31 -0
  300. package/dist/product-management/shared/components/input/SearchInput.js.map +1 -0
  301. package/dist/product-management/shared/components/input/TagInput.d.ts +10 -0
  302. package/dist/product-management/shared/components/input/TagInput.d.ts.map +1 -0
  303. package/dist/product-management/shared/components/input/TagInput.js +54 -0
  304. package/dist/product-management/shared/components/input/TagInput.js.map +1 -0
  305. package/dist/product-management/shared/hooks/useTr.d.ts +17 -0
  306. package/dist/product-management/shared/hooks/useTr.d.ts.map +1 -0
  307. package/dist/product-management/shared/hooks/useTr.js +14 -0
  308. package/dist/product-management/shared/hooks/useTr.js.map +1 -0
  309. package/dist/product-management/shared/index.d.ts +11 -0
  310. package/dist/product-management/shared/index.d.ts.map +1 -0
  311. package/dist/product-management/shared/index.js +4 -0
  312. package/dist/product-management/shared/types/graphql.d.ts +119 -0
  313. package/dist/product-management/shared/types/graphql.d.ts.map +1 -0
  314. package/dist/product-management/shared/utils/cn.d.ts +7 -0
  315. package/dist/product-management/shared/utils/cn.d.ts.map +1 -0
  316. package/dist/product-management/shared/utils/exportUtils.d.ts +5 -0
  317. package/dist/product-management/shared/utils/exportUtils.d.ts.map +1 -0
  318. package/dist/product-management/shared/utils/exportUtils.js +17 -0
  319. package/dist/product-management/shared/utils/exportUtils.js.map +1 -0
  320. package/dist/product-management/types/index.d.ts +40 -0
  321. package/dist/product-management/types/index.d.ts.map +1 -0
  322. package/dist/shared/components/index.d.ts +10 -0
  323. package/dist/shared/components/index.d.ts.map +1 -0
  324. package/dist/shared/components/index.js +5 -0
  325. package/dist/shared/index.d.ts +3 -0
  326. package/dist/shared/index.d.ts.map +1 -0
  327. package/dist/shared/utils/formatDate.d.ts +5 -0
  328. package/dist/shared/utils/formatDate.d.ts.map +1 -0
  329. package/dist/shared/utils/formatDate.js +12 -0
  330. package/dist/shared/utils/formatDate.js.map +1 -0
  331. package/dist/shared/utils/index.d.ts +4 -0
  332. package/dist/shared/utils/index.d.ts.map +1 -0
  333. package/dist/shared/utils/isSafeUrl.d.ts +6 -0
  334. package/dist/shared/utils/isSafeUrl.d.ts.map +1 -0
  335. package/dist/shared/utils/isSafeUrl.js +8 -0
  336. package/dist/shared/utils/isSafeUrl.js.map +1 -0
  337. package/dist/shared/utils/renderMarkdown.d.ts +10 -0
  338. package/dist/shared/utils/renderMarkdown.d.ts.map +1 -0
  339. package/dist/shared/utils/renderMarkdown.js +8 -0
  340. package/dist/shared/utils/renderMarkdown.js.map +1 -0
  341. package/dist/utils/nativeBridge.d.ts +3 -0
  342. package/dist/utils/nativeBridge.d.ts.map +1 -0
  343. package/dist/utils/nativeBridge.js +2 -0
  344. package/package.json +118 -0
@@ -0,0 +1,883 @@
1
+ import { $ZodAsyncError as e, $ZodEncodeError as t, $constructor as n, config as r, globalConfig as i } from "./core.js";
2
+ import { aborted as a, allowsEval as o, cached as s, cleanRegex as c, defineLazy as l, esc as u, escapeRegex as d, explicitlyAborted as f, finalizeIssue as p, getEnumValues as m, isObject as h, isPlainObject as g, issue as _, optionalKeys as ee, prefixIssues as v, propertyKeyTypes as y } from "./util.js";
3
+ import { safeParse as b, safeParseAsync as te } from "./parse.js";
4
+ import { _undefined as ne, base64 as re, base64url as x, boolean as ie, cidrv4 as ae, cidrv6 as oe, cuid as se, cuid2 as ce, date as le, datetime as ue, duration as de, e164 as fe, email as pe, emoji as me, guid as he, httpProtocol as ge, ipv4 as _e, ipv6 as ve, ksuid as ye, nanoid as S, number as C, string as w, time as T, ulid as E, uuid as D, xid as O } from "./regexes.js";
5
+ import { $ZodCheck as k, $ZodCheckNumberFormat as A, $ZodCheckStringFormat as j } from "./checks.js";
6
+ import { Doc as M } from "./doc.js";
7
+ import { version as N } from "./versions.js";
8
+ //#region node_modules/zod/v4/core/schemas.js
9
+ var P = /* @__PURE__ */ n("$ZodType", (t, n) => {
10
+ var r;
11
+ t ??= {}, t._zod.def = n, t._zod.bag = t._zod.bag || {}, t._zod.version = N;
12
+ let i = [...t._zod.def.checks ?? []];
13
+ t._zod.traits.has("$ZodCheck") && i.unshift(t);
14
+ for (let e of i) for (let n of e._zod.onattach) n(t);
15
+ if (i.length === 0) (r = t._zod).deferred ?? (r.deferred = []), t._zod.deferred?.push(() => {
16
+ t._zod.run = t._zod.parse;
17
+ });
18
+ else {
19
+ let n = (t, n, r) => {
20
+ let i = a(t), o;
21
+ for (let s of n) {
22
+ if (s._zod.def.when) {
23
+ if (f(t) || !s._zod.def.when(t)) continue;
24
+ } else if (i) continue;
25
+ let n = t.issues.length, c = s._zod.check(t);
26
+ if (c instanceof Promise && r?.async === !1) throw new e();
27
+ if (o || c instanceof Promise) o = (o ?? Promise.resolve()).then(async () => {
28
+ await c, t.issues.length !== n && (i ||= a(t, n));
29
+ });
30
+ else {
31
+ if (t.issues.length === n) continue;
32
+ i ||= a(t, n);
33
+ }
34
+ }
35
+ return o ? o.then(() => t) : t;
36
+ }, r = (r, o, s) => {
37
+ if (a(r)) return r.aborted = !0, r;
38
+ let c = n(o, i, s);
39
+ if (c instanceof Promise) {
40
+ if (s.async === !1) throw new e();
41
+ return c.then((e) => t._zod.parse(e, s));
42
+ }
43
+ return t._zod.parse(c, s);
44
+ };
45
+ t._zod.run = (a, o) => {
46
+ if (o.skipChecks) return t._zod.parse(a, o);
47
+ if (o.direction === "backward") {
48
+ let e = t._zod.parse({
49
+ value: a.value,
50
+ issues: []
51
+ }, {
52
+ ...o,
53
+ skipChecks: !0
54
+ });
55
+ return e instanceof Promise ? e.then((e) => r(e, a, o)) : r(e, a, o);
56
+ }
57
+ let s = t._zod.parse(a, o);
58
+ if (s instanceof Promise) {
59
+ if (o.async === !1) throw new e();
60
+ return s.then((e) => n(e, i, o));
61
+ }
62
+ return n(s, i, o);
63
+ };
64
+ }
65
+ l(t, "~standard", () => ({
66
+ validate: (e) => {
67
+ try {
68
+ let n = b(t, e);
69
+ return n.success ? { value: n.data } : { issues: n.error?.issues };
70
+ } catch {
71
+ return te(t, e).then((e) => e.success ? { value: e.data } : { issues: e.error?.issues });
72
+ }
73
+ },
74
+ vendor: "zod",
75
+ version: 1
76
+ }));
77
+ }), F = /* @__PURE__ */ n("$ZodString", (e, t) => {
78
+ P.init(e, t), e._zod.pattern = [...e?._zod.bag?.patterns ?? []].pop() ?? w(e._zod.bag), e._zod.parse = (n, r) => {
79
+ if (t.coerce) try {
80
+ n.value = String(n.value);
81
+ } catch {}
82
+ return typeof n.value == "string" || n.issues.push({
83
+ expected: "string",
84
+ code: "invalid_type",
85
+ input: n.value,
86
+ inst: e
87
+ }), n;
88
+ };
89
+ }), I = /* @__PURE__ */ n("$ZodStringFormat", (e, t) => {
90
+ j.init(e, t), F.init(e, t);
91
+ }), be = /* @__PURE__ */ n("$ZodGUID", (e, t) => {
92
+ t.pattern ??= he, I.init(e, t);
93
+ }), xe = /* @__PURE__ */ n("$ZodUUID", (e, t) => {
94
+ if (t.version) {
95
+ let e = {
96
+ v1: 1,
97
+ v2: 2,
98
+ v3: 3,
99
+ v4: 4,
100
+ v5: 5,
101
+ v6: 6,
102
+ v7: 7,
103
+ v8: 8
104
+ }[t.version];
105
+ if (e === void 0) throw Error(`Invalid UUID version: "${t.version}"`);
106
+ t.pattern ??= D(e);
107
+ } else t.pattern ??= D();
108
+ I.init(e, t);
109
+ }), Se = /* @__PURE__ */ n("$ZodEmail", (e, t) => {
110
+ t.pattern ??= pe, I.init(e, t);
111
+ }), Ce = /* @__PURE__ */ n("$ZodURL", (e, t) => {
112
+ I.init(e, t), e._zod.check = (n) => {
113
+ try {
114
+ let r = n.value.trim();
115
+ if (!t.normalize && t.protocol?.source === ge.source && !/^https?:\/\//i.test(r)) {
116
+ n.issues.push({
117
+ code: "invalid_format",
118
+ format: "url",
119
+ note: "Invalid URL format",
120
+ input: n.value,
121
+ inst: e,
122
+ continue: !t.abort
123
+ });
124
+ return;
125
+ }
126
+ let i = new URL(r);
127
+ t.hostname && (t.hostname.lastIndex = 0, t.hostname.test(i.hostname) || n.issues.push({
128
+ code: "invalid_format",
129
+ format: "url",
130
+ note: "Invalid hostname",
131
+ pattern: t.hostname.source,
132
+ input: n.value,
133
+ inst: e,
134
+ continue: !t.abort
135
+ })), t.protocol && (t.protocol.lastIndex = 0, t.protocol.test(i.protocol.endsWith(":") ? i.protocol.slice(0, -1) : i.protocol) || n.issues.push({
136
+ code: "invalid_format",
137
+ format: "url",
138
+ note: "Invalid protocol",
139
+ pattern: t.protocol.source,
140
+ input: n.value,
141
+ inst: e,
142
+ continue: !t.abort
143
+ })), t.normalize ? n.value = i.href : n.value = r;
144
+ return;
145
+ } catch {
146
+ n.issues.push({
147
+ code: "invalid_format",
148
+ format: "url",
149
+ input: n.value,
150
+ inst: e,
151
+ continue: !t.abort
152
+ });
153
+ }
154
+ };
155
+ }), we = /* @__PURE__ */ n("$ZodEmoji", (e, t) => {
156
+ t.pattern ??= me(), I.init(e, t);
157
+ }), Te = /* @__PURE__ */ n("$ZodNanoID", (e, t) => {
158
+ t.pattern ??= S, I.init(e, t);
159
+ }), Ee = /* @__PURE__ */ n("$ZodCUID", (e, t) => {
160
+ t.pattern ??= se, I.init(e, t);
161
+ }), De = /* @__PURE__ */ n("$ZodCUID2", (e, t) => {
162
+ t.pattern ??= ce, I.init(e, t);
163
+ }), Oe = /* @__PURE__ */ n("$ZodULID", (e, t) => {
164
+ t.pattern ??= E, I.init(e, t);
165
+ }), ke = /* @__PURE__ */ n("$ZodXID", (e, t) => {
166
+ t.pattern ??= O, I.init(e, t);
167
+ }), Ae = /* @__PURE__ */ n("$ZodKSUID", (e, t) => {
168
+ t.pattern ??= ye, I.init(e, t);
169
+ }), je = /* @__PURE__ */ n("$ZodISODateTime", (e, t) => {
170
+ t.pattern ??= ue(t), I.init(e, t);
171
+ }), Me = /* @__PURE__ */ n("$ZodISODate", (e, t) => {
172
+ t.pattern ??= le, I.init(e, t);
173
+ }), Ne = /* @__PURE__ */ n("$ZodISOTime", (e, t) => {
174
+ t.pattern ??= T(t), I.init(e, t);
175
+ }), Pe = /* @__PURE__ */ n("$ZodISODuration", (e, t) => {
176
+ t.pattern ??= de, I.init(e, t);
177
+ }), Fe = /* @__PURE__ */ n("$ZodIPv4", (e, t) => {
178
+ t.pattern ??= _e, I.init(e, t), e._zod.bag.format = "ipv4";
179
+ }), Ie = /* @__PURE__ */ n("$ZodIPv6", (e, t) => {
180
+ t.pattern ??= ve, I.init(e, t), e._zod.bag.format = "ipv6", e._zod.check = (n) => {
181
+ try {
182
+ new URL(`http://[${n.value}]`);
183
+ } catch {
184
+ n.issues.push({
185
+ code: "invalid_format",
186
+ format: "ipv6",
187
+ input: n.value,
188
+ inst: e,
189
+ continue: !t.abort
190
+ });
191
+ }
192
+ };
193
+ }), Le = /* @__PURE__ */ n("$ZodCIDRv4", (e, t) => {
194
+ t.pattern ??= ae, I.init(e, t);
195
+ }), Re = /* @__PURE__ */ n("$ZodCIDRv6", (e, t) => {
196
+ t.pattern ??= oe, I.init(e, t), e._zod.check = (n) => {
197
+ let r = n.value.split("/");
198
+ try {
199
+ if (r.length !== 2) throw Error();
200
+ let [e, t] = r;
201
+ if (!t) throw Error();
202
+ let n = Number(t);
203
+ if (`${n}` !== t || n < 0 || n > 128) throw Error();
204
+ new URL(`http://[${e}]`);
205
+ } catch {
206
+ n.issues.push({
207
+ code: "invalid_format",
208
+ format: "cidrv6",
209
+ input: n.value,
210
+ inst: e,
211
+ continue: !t.abort
212
+ });
213
+ }
214
+ };
215
+ });
216
+ function L(e) {
217
+ if (e === "") return !0;
218
+ if (/\s/.test(e) || e.length % 4 != 0) return !1;
219
+ try {
220
+ return atob(e), !0;
221
+ } catch {
222
+ return !1;
223
+ }
224
+ }
225
+ var ze = /* @__PURE__ */ n("$ZodBase64", (e, t) => {
226
+ t.pattern ??= re, I.init(e, t), e._zod.bag.contentEncoding = "base64", e._zod.check = (n) => {
227
+ L(n.value) || n.issues.push({
228
+ code: "invalid_format",
229
+ format: "base64",
230
+ input: n.value,
231
+ inst: e,
232
+ continue: !t.abort
233
+ });
234
+ };
235
+ });
236
+ function Be(e) {
237
+ if (!x.test(e)) return !1;
238
+ let t = e.replace(/[-_]/g, (e) => e === "-" ? "+" : "/");
239
+ return L(t.padEnd(Math.ceil(t.length / 4) * 4, "="));
240
+ }
241
+ var Ve = /* @__PURE__ */ n("$ZodBase64URL", (e, t) => {
242
+ t.pattern ??= x, I.init(e, t), e._zod.bag.contentEncoding = "base64url", e._zod.check = (n) => {
243
+ Be(n.value) || n.issues.push({
244
+ code: "invalid_format",
245
+ format: "base64url",
246
+ input: n.value,
247
+ inst: e,
248
+ continue: !t.abort
249
+ });
250
+ };
251
+ }), He = /* @__PURE__ */ n("$ZodE164", (e, t) => {
252
+ t.pattern ??= fe, I.init(e, t);
253
+ });
254
+ function Ue(e, t = null) {
255
+ try {
256
+ let n = e.split(".");
257
+ if (n.length !== 3) return !1;
258
+ let [r] = n;
259
+ if (!r) return !1;
260
+ let i = JSON.parse(atob(r));
261
+ return !("typ" in i && i?.typ !== "JWT" || !i.alg || t && (!("alg" in i) || i.alg !== t));
262
+ } catch {
263
+ return !1;
264
+ }
265
+ }
266
+ var We = /* @__PURE__ */ n("$ZodJWT", (e, t) => {
267
+ I.init(e, t), e._zod.check = (n) => {
268
+ Ue(n.value, t.alg) || n.issues.push({
269
+ code: "invalid_format",
270
+ format: "jwt",
271
+ input: n.value,
272
+ inst: e,
273
+ continue: !t.abort
274
+ });
275
+ };
276
+ }), R = /* @__PURE__ */ n("$ZodNumber", (e, t) => {
277
+ P.init(e, t), e._zod.pattern = e._zod.bag.pattern ?? C, e._zod.parse = (n, r) => {
278
+ if (t.coerce) try {
279
+ n.value = Number(n.value);
280
+ } catch {}
281
+ let i = n.value;
282
+ if (typeof i == "number" && !Number.isNaN(i) && Number.isFinite(i)) return n;
283
+ let a = typeof i == "number" ? Number.isNaN(i) ? "NaN" : Number.isFinite(i) ? void 0 : "Infinity" : void 0;
284
+ return n.issues.push({
285
+ expected: "number",
286
+ code: "invalid_type",
287
+ input: i,
288
+ inst: e,
289
+ ...a ? { received: a } : {}
290
+ }), n;
291
+ };
292
+ }), Ge = /* @__PURE__ */ n("$ZodNumberFormat", (e, t) => {
293
+ A.init(e, t), R.init(e, t);
294
+ }), Ke = /* @__PURE__ */ n("$ZodBoolean", (e, t) => {
295
+ P.init(e, t), e._zod.pattern = ie, e._zod.parse = (n, r) => {
296
+ if (t.coerce) try {
297
+ n.value = !!n.value;
298
+ } catch {}
299
+ let i = n.value;
300
+ return typeof i == "boolean" || n.issues.push({
301
+ expected: "boolean",
302
+ code: "invalid_type",
303
+ input: i,
304
+ inst: e
305
+ }), n;
306
+ };
307
+ }), qe = /* @__PURE__ */ n("$ZodUndefined", (e, t) => {
308
+ P.init(e, t), e._zod.pattern = ne, e._zod.values = new Set([void 0]), e._zod.parse = (t, n) => {
309
+ let r = t.value;
310
+ return r === void 0 || t.issues.push({
311
+ expected: "undefined",
312
+ code: "invalid_type",
313
+ input: r,
314
+ inst: e
315
+ }), t;
316
+ };
317
+ }), Je = /* @__PURE__ */ n("$ZodUnknown", (e, t) => {
318
+ P.init(e, t), e._zod.parse = (e) => e;
319
+ }), Ye = /* @__PURE__ */ n("$ZodNever", (e, t) => {
320
+ P.init(e, t), e._zod.parse = (t, n) => (t.issues.push({
321
+ expected: "never",
322
+ code: "invalid_type",
323
+ input: t.value,
324
+ inst: e
325
+ }), t);
326
+ });
327
+ function z(e, t, n) {
328
+ e.issues.length && t.issues.push(...v(n, e.issues)), t.value[n] = e.value;
329
+ }
330
+ var Xe = /* @__PURE__ */ n("$ZodArray", (e, t) => {
331
+ P.init(e, t), e._zod.parse = (n, r) => {
332
+ let i = n.value;
333
+ if (!Array.isArray(i)) return n.issues.push({
334
+ expected: "array",
335
+ code: "invalid_type",
336
+ input: i,
337
+ inst: e
338
+ }), n;
339
+ n.value = Array(i.length);
340
+ let a = [];
341
+ for (let e = 0; e < i.length; e++) {
342
+ let o = i[e], s = t.element._zod.run({
343
+ value: o,
344
+ issues: []
345
+ }, r);
346
+ s instanceof Promise ? a.push(s.then((t) => z(t, n, e))) : z(s, n, e);
347
+ }
348
+ return a.length ? Promise.all(a).then(() => n) : n;
349
+ };
350
+ });
351
+ function B(e, t, n, r, i, a) {
352
+ let o = n in r;
353
+ if (e.issues.length) {
354
+ if (i && a && !o) return;
355
+ t.issues.push(...v(n, e.issues));
356
+ }
357
+ if (!o && !i) {
358
+ e.issues.length || t.issues.push({
359
+ code: "invalid_type",
360
+ expected: "nonoptional",
361
+ input: void 0,
362
+ path: [n]
363
+ });
364
+ return;
365
+ }
366
+ e.value === void 0 ? o && (t.value[n] = void 0) : t.value[n] = e.value;
367
+ }
368
+ function V(e) {
369
+ let t = Object.keys(e.shape);
370
+ for (let n of t) if (!e.shape?.[n]?._zod?.traits?.has("$ZodType")) throw Error(`Invalid element at key "${n}": expected a Zod schema`);
371
+ let n = ee(e.shape);
372
+ return {
373
+ ...e,
374
+ keys: t,
375
+ keySet: new Set(t),
376
+ numKeys: t.length,
377
+ optionalKeys: new Set(n)
378
+ };
379
+ }
380
+ function H(e, t, n, r, i, a) {
381
+ let o = [], s = i.keySet, c = i.catchall._zod, l = c.def.type, u = c.optin === "optional", d = c.optout === "optional";
382
+ for (let i in t) {
383
+ if (i === "__proto__" || s.has(i)) continue;
384
+ if (l === "never") {
385
+ o.push(i);
386
+ continue;
387
+ }
388
+ let a = c.run({
389
+ value: t[i],
390
+ issues: []
391
+ }, r);
392
+ a instanceof Promise ? e.push(a.then((e) => B(e, n, i, t, u, d))) : B(a, n, i, t, u, d);
393
+ }
394
+ return o.length && n.issues.push({
395
+ code: "unrecognized_keys",
396
+ keys: o,
397
+ input: t,
398
+ inst: a
399
+ }), e.length ? Promise.all(e).then(() => n) : n;
400
+ }
401
+ var Ze = /* @__PURE__ */ n("$ZodObject", (e, t) => {
402
+ if (P.init(e, t), !Object.getOwnPropertyDescriptor(t, "shape")?.get) {
403
+ let e = t.shape;
404
+ Object.defineProperty(t, "shape", { get: () => {
405
+ let n = { ...e };
406
+ return Object.defineProperty(t, "shape", { value: n }), n;
407
+ } });
408
+ }
409
+ let n = s(() => V(t));
410
+ l(e._zod, "propValues", () => {
411
+ let e = t.shape, n = {};
412
+ for (let t in e) {
413
+ let r = e[t]._zod;
414
+ if (r.values) {
415
+ n[t] ?? (n[t] = /* @__PURE__ */ new Set());
416
+ for (let e of r.values) n[t].add(e);
417
+ }
418
+ }
419
+ return n;
420
+ });
421
+ let r = h, i = t.catchall, a;
422
+ e._zod.parse = (t, o) => {
423
+ a ??= n.value;
424
+ let s = t.value;
425
+ if (!r(s)) return t.issues.push({
426
+ expected: "object",
427
+ code: "invalid_type",
428
+ input: s,
429
+ inst: e
430
+ }), t;
431
+ t.value = {};
432
+ let c = [], l = a.shape;
433
+ for (let e of a.keys) {
434
+ let n = l[e], r = n._zod.optin === "optional", i = n._zod.optout === "optional", a = n._zod.run({
435
+ value: s[e],
436
+ issues: []
437
+ }, o);
438
+ a instanceof Promise ? c.push(a.then((n) => B(n, t, e, s, r, i))) : B(a, t, e, s, r, i);
439
+ }
440
+ return i ? H(c, s, t, o, n.value, e) : c.length ? Promise.all(c).then(() => t) : t;
441
+ };
442
+ }), Qe = /* @__PURE__ */ n("$ZodObjectJIT", (e, t) => {
443
+ Ze.init(e, t);
444
+ let n = e._zod.parse, r = s(() => V(t)), a = (e) => {
445
+ let t = new M([
446
+ "shape",
447
+ "payload",
448
+ "ctx"
449
+ ]), n = r.value, i = (e) => {
450
+ let t = u(e);
451
+ return `shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`;
452
+ };
453
+ t.write("const input = payload.value;");
454
+ let a = Object.create(null), o = 0;
455
+ for (let e of n.keys) a[e] = `key_${o++}`;
456
+ t.write("const newResult = {};");
457
+ for (let r of n.keys) {
458
+ let n = a[r], o = u(r), s = e[r], c = s?._zod?.optin === "optional", l = s?._zod?.optout === "optional";
459
+ t.write(`const ${n} = ${i(r)};`), c && l ? t.write(`
460
+ if (${n}.issues.length) {
461
+ if (${o} in input) {
462
+ payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
463
+ ...iss,
464
+ path: iss.path ? [${o}, ...iss.path] : [${o}]
465
+ })));
466
+ }
467
+ }
468
+
469
+ if (${n}.value === undefined) {
470
+ if (${o} in input) {
471
+ newResult[${o}] = undefined;
472
+ }
473
+ } else {
474
+ newResult[${o}] = ${n}.value;
475
+ }
476
+
477
+ `) : c ? t.write(`
478
+ if (${n}.issues.length) {
479
+ payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
480
+ ...iss,
481
+ path: iss.path ? [${o}, ...iss.path] : [${o}]
482
+ })));
483
+ }
484
+
485
+ if (${n}.value === undefined) {
486
+ if (${o} in input) {
487
+ newResult[${o}] = undefined;
488
+ }
489
+ } else {
490
+ newResult[${o}] = ${n}.value;
491
+ }
492
+
493
+ `) : t.write(`
494
+ const ${n}_present = ${o} in input;
495
+ if (${n}.issues.length) {
496
+ payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
497
+ ...iss,
498
+ path: iss.path ? [${o}, ...iss.path] : [${o}]
499
+ })));
500
+ }
501
+ if (!${n}_present && !${n}.issues.length) {
502
+ payload.issues.push({
503
+ code: "invalid_type",
504
+ expected: "nonoptional",
505
+ input: undefined,
506
+ path: [${o}]
507
+ });
508
+ }
509
+
510
+ if (${n}_present) {
511
+ if (${n}.value === undefined) {
512
+ newResult[${o}] = undefined;
513
+ } else {
514
+ newResult[${o}] = ${n}.value;
515
+ }
516
+ }
517
+
518
+ `);
519
+ }
520
+ t.write("payload.value = newResult;"), t.write("return payload;");
521
+ let s = t.compile();
522
+ return (t, n) => s(e, t, n);
523
+ }, c, l = h, d = !i.jitless, f = d && o.value, p = t.catchall, m;
524
+ e._zod.parse = (i, o) => {
525
+ m ??= r.value;
526
+ let s = i.value;
527
+ return l(s) ? d && f && o?.async === !1 && o.jitless !== !0 ? (c ||= a(t.shape), i = c(i, o), p ? H([], s, i, o, m, e) : i) : n(i, o) : (i.issues.push({
528
+ expected: "object",
529
+ code: "invalid_type",
530
+ input: s,
531
+ inst: e
532
+ }), i);
533
+ };
534
+ });
535
+ function U(e, t, n, i) {
536
+ for (let n of e) if (n.issues.length === 0) return t.value = n.value, t;
537
+ let o = e.filter((e) => !a(e));
538
+ return o.length === 1 ? (t.value = o[0].value, o[0]) : (t.issues.push({
539
+ code: "invalid_union",
540
+ input: t.value,
541
+ inst: n,
542
+ errors: e.map((e) => e.issues.map((e) => p(e, i, r())))
543
+ }), t);
544
+ }
545
+ var $e = /* @__PURE__ */ n("$ZodUnion", (e, t) => {
546
+ P.init(e, t), l(e._zod, "optin", () => t.options.some((e) => e._zod.optin === "optional") ? "optional" : void 0), l(e._zod, "optout", () => t.options.some((e) => e._zod.optout === "optional") ? "optional" : void 0), l(e._zod, "values", () => {
547
+ if (t.options.every((e) => e._zod.values)) return new Set(t.options.flatMap((e) => Array.from(e._zod.values)));
548
+ }), l(e._zod, "pattern", () => {
549
+ if (t.options.every((e) => e._zod.pattern)) {
550
+ let e = t.options.map((e) => e._zod.pattern);
551
+ return RegExp(`^(${e.map((e) => c(e.source)).join("|")})$`);
552
+ }
553
+ });
554
+ let n = t.options.length === 1 ? t.options[0]._zod.run : null;
555
+ e._zod.parse = (r, i) => {
556
+ if (n) return n(r, i);
557
+ let a = !1, o = [];
558
+ for (let e of t.options) {
559
+ let t = e._zod.run({
560
+ value: r.value,
561
+ issues: []
562
+ }, i);
563
+ if (t instanceof Promise) o.push(t), a = !0;
564
+ else {
565
+ if (t.issues.length === 0) return t;
566
+ o.push(t);
567
+ }
568
+ }
569
+ return a ? Promise.all(o).then((t) => U(t, r, e, i)) : U(o, r, e, i);
570
+ };
571
+ }), et = /* @__PURE__ */ n("$ZodIntersection", (e, t) => {
572
+ P.init(e, t), e._zod.parse = (e, n) => {
573
+ let r = e.value, i = t.left._zod.run({
574
+ value: r,
575
+ issues: []
576
+ }, n), a = t.right._zod.run({
577
+ value: r,
578
+ issues: []
579
+ }, n);
580
+ return i instanceof Promise || a instanceof Promise ? Promise.all([i, a]).then(([t, n]) => G(e, t, n)) : G(e, i, a);
581
+ };
582
+ });
583
+ function W(e, t) {
584
+ if (e === t || e instanceof Date && t instanceof Date && +e == +t) return {
585
+ valid: !0,
586
+ data: e
587
+ };
588
+ if (g(e) && g(t)) {
589
+ let n = Object.keys(t), r = Object.keys(e).filter((e) => n.indexOf(e) !== -1), i = {
590
+ ...e,
591
+ ...t
592
+ };
593
+ for (let n of r) {
594
+ let r = W(e[n], t[n]);
595
+ if (!r.valid) return {
596
+ valid: !1,
597
+ mergeErrorPath: [n, ...r.mergeErrorPath]
598
+ };
599
+ i[n] = r.data;
600
+ }
601
+ return {
602
+ valid: !0,
603
+ data: i
604
+ };
605
+ }
606
+ if (Array.isArray(e) && Array.isArray(t)) {
607
+ if (e.length !== t.length) return {
608
+ valid: !1,
609
+ mergeErrorPath: []
610
+ };
611
+ let n = [];
612
+ for (let r = 0; r < e.length; r++) {
613
+ let i = e[r], a = t[r], o = W(i, a);
614
+ if (!o.valid) return {
615
+ valid: !1,
616
+ mergeErrorPath: [r, ...o.mergeErrorPath]
617
+ };
618
+ n.push(o.data);
619
+ }
620
+ return {
621
+ valid: !0,
622
+ data: n
623
+ };
624
+ }
625
+ return {
626
+ valid: !1,
627
+ mergeErrorPath: []
628
+ };
629
+ }
630
+ function G(e, t, n) {
631
+ let r = /* @__PURE__ */ new Map(), i;
632
+ for (let n of t.issues) if (n.code === "unrecognized_keys") {
633
+ i ??= n;
634
+ for (let e of n.keys) r.has(e) || r.set(e, {}), r.get(e).l = !0;
635
+ } else e.issues.push(n);
636
+ for (let t of n.issues) if (t.code === "unrecognized_keys") for (let e of t.keys) r.has(e) || r.set(e, {}), r.get(e).r = !0;
637
+ else e.issues.push(t);
638
+ let o = [...r].filter(([, e]) => e.l && e.r).map(([e]) => e);
639
+ if (o.length && i && e.issues.push({
640
+ ...i,
641
+ keys: o
642
+ }), a(e)) return e;
643
+ let s = W(t.value, n.value);
644
+ if (!s.valid) throw Error(`Unmergable intersection. Error path: ${JSON.stringify(s.mergeErrorPath)}`);
645
+ return e.value = s.data, e;
646
+ }
647
+ var tt = /* @__PURE__ */ n("$ZodRecord", (e, t) => {
648
+ P.init(e, t), e._zod.parse = (n, i) => {
649
+ let a = n.value;
650
+ if (!g(a)) return n.issues.push({
651
+ expected: "record",
652
+ code: "invalid_type",
653
+ input: a,
654
+ inst: e
655
+ }), n;
656
+ let o = [], s = t.keyType._zod.values;
657
+ if (s) {
658
+ n.value = {};
659
+ let c = /* @__PURE__ */ new Set();
660
+ for (let l of s) if (typeof l == "string" || typeof l == "number" || typeof l == "symbol") {
661
+ c.add(typeof l == "number" ? l.toString() : l);
662
+ let s = t.keyType._zod.run({
663
+ value: l,
664
+ issues: []
665
+ }, i);
666
+ if (s instanceof Promise) throw Error("Async schemas not supported in object keys currently");
667
+ if (s.issues.length) {
668
+ n.issues.push({
669
+ code: "invalid_key",
670
+ origin: "record",
671
+ issues: s.issues.map((e) => p(e, i, r())),
672
+ input: l,
673
+ path: [l],
674
+ inst: e
675
+ });
676
+ continue;
677
+ }
678
+ let u = s.value, d = t.valueType._zod.run({
679
+ value: a[l],
680
+ issues: []
681
+ }, i);
682
+ d instanceof Promise ? o.push(d.then((e) => {
683
+ e.issues.length && n.issues.push(...v(l, e.issues)), n.value[u] = e.value;
684
+ })) : (d.issues.length && n.issues.push(...v(l, d.issues)), n.value[u] = d.value);
685
+ }
686
+ let l;
687
+ for (let e in a) c.has(e) || (l ??= [], l.push(e));
688
+ l && l.length > 0 && n.issues.push({
689
+ code: "unrecognized_keys",
690
+ input: a,
691
+ inst: e,
692
+ keys: l
693
+ });
694
+ } else {
695
+ n.value = {};
696
+ for (let s of Reflect.ownKeys(a)) {
697
+ if (s === "__proto__" || !Object.prototype.propertyIsEnumerable.call(a, s)) continue;
698
+ let c = t.keyType._zod.run({
699
+ value: s,
700
+ issues: []
701
+ }, i);
702
+ if (c instanceof Promise) throw Error("Async schemas not supported in object keys currently");
703
+ if (typeof s == "string" && C.test(s) && c.issues.length) {
704
+ let e = t.keyType._zod.run({
705
+ value: Number(s),
706
+ issues: []
707
+ }, i);
708
+ if (e instanceof Promise) throw Error("Async schemas not supported in object keys currently");
709
+ e.issues.length === 0 && (c = e);
710
+ }
711
+ if (c.issues.length) {
712
+ t.mode === "loose" ? n.value[s] = a[s] : n.issues.push({
713
+ code: "invalid_key",
714
+ origin: "record",
715
+ issues: c.issues.map((e) => p(e, i, r())),
716
+ input: s,
717
+ path: [s],
718
+ inst: e
719
+ });
720
+ continue;
721
+ }
722
+ let l = t.valueType._zod.run({
723
+ value: a[s],
724
+ issues: []
725
+ }, i);
726
+ l instanceof Promise ? o.push(l.then((e) => {
727
+ e.issues.length && n.issues.push(...v(s, e.issues)), n.value[c.value] = e.value;
728
+ })) : (l.issues.length && n.issues.push(...v(s, l.issues)), n.value[c.value] = l.value);
729
+ }
730
+ }
731
+ return o.length ? Promise.all(o).then(() => n) : n;
732
+ };
733
+ }), nt = /* @__PURE__ */ n("$ZodEnum", (e, t) => {
734
+ P.init(e, t);
735
+ let n = m(t.entries), r = new Set(n);
736
+ e._zod.values = r, e._zod.pattern = RegExp(`^(${n.filter((e) => y.has(typeof e)).map((e) => typeof e == "string" ? d(e) : e.toString()).join("|")})$`), e._zod.parse = (t, i) => {
737
+ let a = t.value;
738
+ return r.has(a) || t.issues.push({
739
+ code: "invalid_value",
740
+ values: n,
741
+ input: a,
742
+ inst: e
743
+ }), t;
744
+ };
745
+ }), rt = /* @__PURE__ */ n("$ZodLiteral", (e, t) => {
746
+ if (P.init(e, t), t.values.length === 0) throw Error("Cannot create literal schema with no valid values");
747
+ let n = new Set(t.values);
748
+ e._zod.values = n, e._zod.pattern = RegExp(`^(${t.values.map((e) => typeof e == "string" ? d(e) : e ? d(e.toString()) : String(e)).join("|")})$`), e._zod.parse = (r, i) => {
749
+ let a = r.value;
750
+ return n.has(a) || r.issues.push({
751
+ code: "invalid_value",
752
+ values: t.values,
753
+ input: a,
754
+ inst: e
755
+ }), r;
756
+ };
757
+ }), it = /* @__PURE__ */ n("$ZodTransform", (n, r) => {
758
+ P.init(n, r), n._zod.optin = "optional", n._zod.parse = (i, a) => {
759
+ if (a.direction === "backward") throw new t(n.constructor.name);
760
+ let o = r.transform(i.value, i);
761
+ if (a.async) return (o instanceof Promise ? o : Promise.resolve(o)).then((e) => (i.value = e, i.fallback = !0, i));
762
+ if (o instanceof Promise) throw new e();
763
+ return i.value = o, i.fallback = !0, i;
764
+ };
765
+ });
766
+ function K(e, t) {
767
+ return t === void 0 && (e.issues.length || e.fallback) ? {
768
+ issues: [],
769
+ value: void 0
770
+ } : e;
771
+ }
772
+ var q = /* @__PURE__ */ n("$ZodOptional", (e, t) => {
773
+ P.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", l(e._zod, "values", () => t.innerType._zod.values ? new Set([...t.innerType._zod.values, void 0]) : void 0), l(e._zod, "pattern", () => {
774
+ let e = t.innerType._zod.pattern;
775
+ return e ? RegExp(`^(${c(e.source)})?$`) : void 0;
776
+ }), e._zod.parse = (e, n) => {
777
+ if (t.innerType._zod.optin === "optional") {
778
+ let r = e.value, i = t.innerType._zod.run(e, n);
779
+ return i instanceof Promise ? i.then((e) => K(e, r)) : K(i, r);
780
+ }
781
+ return e.value === void 0 ? e : t.innerType._zod.run(e, n);
782
+ };
783
+ }), at = /* @__PURE__ */ n("$ZodExactOptional", (e, t) => {
784
+ q.init(e, t), l(e._zod, "values", () => t.innerType._zod.values), l(e._zod, "pattern", () => t.innerType._zod.pattern), e._zod.parse = (e, n) => t.innerType._zod.run(e, n);
785
+ }), ot = /* @__PURE__ */ n("$ZodNullable", (e, t) => {
786
+ P.init(e, t), l(e._zod, "optin", () => t.innerType._zod.optin), l(e._zod, "optout", () => t.innerType._zod.optout), l(e._zod, "pattern", () => {
787
+ let e = t.innerType._zod.pattern;
788
+ return e ? RegExp(`^(${c(e.source)}|null)$`) : void 0;
789
+ }), l(e._zod, "values", () => t.innerType._zod.values ? new Set([...t.innerType._zod.values, null]) : void 0), e._zod.parse = (e, n) => e.value === null ? e : t.innerType._zod.run(e, n);
790
+ }), st = /* @__PURE__ */ n("$ZodDefault", (e, t) => {
791
+ P.init(e, t), e._zod.optin = "optional", l(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (e, n) => {
792
+ if (n.direction === "backward") return t.innerType._zod.run(e, n);
793
+ if (e.value === void 0) return e.value = t.defaultValue, e;
794
+ let r = t.innerType._zod.run(e, n);
795
+ return r instanceof Promise ? r.then((e) => J(e, t)) : J(r, t);
796
+ };
797
+ });
798
+ function J(e, t) {
799
+ return e.value === void 0 && (e.value = t.defaultValue), e;
800
+ }
801
+ var ct = /* @__PURE__ */ n("$ZodPrefault", (e, t) => {
802
+ P.init(e, t), e._zod.optin = "optional", l(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (e, n) => (n.direction === "backward" || e.value === void 0 && (e.value = t.defaultValue), t.innerType._zod.run(e, n));
803
+ }), Y = /* @__PURE__ */ n("$ZodNonOptional", (e, t) => {
804
+ P.init(e, t), l(e._zod, "values", () => {
805
+ let e = t.innerType._zod.values;
806
+ return e ? new Set([...e].filter((e) => e !== void 0)) : void 0;
807
+ }), e._zod.parse = (n, r) => {
808
+ let i = t.innerType._zod.run(n, r);
809
+ return i instanceof Promise ? i.then((t) => X(t, e)) : X(i, e);
810
+ };
811
+ });
812
+ function X(e, t) {
813
+ return !e.issues.length && e.value === void 0 && e.issues.push({
814
+ code: "invalid_type",
815
+ expected: "nonoptional",
816
+ input: e.value,
817
+ inst: t
818
+ }), e;
819
+ }
820
+ var lt = /* @__PURE__ */ n("$ZodCatch", (e, t) => {
821
+ P.init(e, t), e._zod.optin = "optional", l(e._zod, "optout", () => t.innerType._zod.optout), l(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (e, n) => {
822
+ if (n.direction === "backward") return t.innerType._zod.run(e, n);
823
+ let i = t.innerType._zod.run(e, n);
824
+ return i instanceof Promise ? i.then((i) => (e.value = i.value, i.issues.length && (e.value = t.catchValue({
825
+ ...e,
826
+ error: { issues: i.issues.map((e) => p(e, n, r())) },
827
+ input: e.value
828
+ }), e.issues = [], e.fallback = !0), e)) : (e.value = i.value, i.issues.length && (e.value = t.catchValue({
829
+ ...e,
830
+ error: { issues: i.issues.map((e) => p(e, n, r())) },
831
+ input: e.value
832
+ }), e.issues = [], e.fallback = !0), e);
833
+ };
834
+ }), ut = /* @__PURE__ */ n("$ZodPipe", (e, t) => {
835
+ P.init(e, t), l(e._zod, "values", () => t.in._zod.values), l(e._zod, "optin", () => t.in._zod.optin), l(e._zod, "optout", () => t.out._zod.optout), l(e._zod, "propValues", () => t.in._zod.propValues), e._zod.parse = (e, n) => {
836
+ if (n.direction === "backward") {
837
+ let r = t.out._zod.run(e, n);
838
+ return r instanceof Promise ? r.then((e) => Z(e, t.in, n)) : Z(r, t.in, n);
839
+ }
840
+ let r = t.in._zod.run(e, n);
841
+ return r instanceof Promise ? r.then((e) => Z(e, t.out, n)) : Z(r, t.out, n);
842
+ };
843
+ });
844
+ function Z(e, t, n) {
845
+ return e.issues.length ? (e.aborted = !0, e) : t._zod.run({
846
+ value: e.value,
847
+ issues: e.issues,
848
+ fallback: e.fallback
849
+ }, n);
850
+ }
851
+ var dt = /* @__PURE__ */ n("$ZodReadonly", (e, t) => {
852
+ P.init(e, t), l(e._zod, "propValues", () => t.innerType._zod.propValues), l(e._zod, "values", () => t.innerType._zod.values), l(e._zod, "optin", () => t.innerType?._zod?.optin), l(e._zod, "optout", () => t.innerType?._zod?.optout), e._zod.parse = (e, n) => {
853
+ if (n.direction === "backward") return t.innerType._zod.run(e, n);
854
+ let r = t.innerType._zod.run(e, n);
855
+ return r instanceof Promise ? r.then(Q) : Q(r);
856
+ };
857
+ });
858
+ function Q(e) {
859
+ return e.value = Object.freeze(e.value), e;
860
+ }
861
+ var ft = /* @__PURE__ */ n("$ZodCustom", (e, t) => {
862
+ k.init(e, t), P.init(e, t), e._zod.parse = (e, t) => e, e._zod.check = (n) => {
863
+ let r = n.value, i = t.fn(r);
864
+ if (i instanceof Promise) return i.then((t) => $(t, n, r, e));
865
+ $(i, n, r, e);
866
+ };
867
+ });
868
+ function $(e, t, n, r) {
869
+ if (!e) {
870
+ let e = {
871
+ code: "custom",
872
+ input: n,
873
+ inst: r,
874
+ path: [...r._zod.def.path ?? []],
875
+ continue: !r._zod.def.abort
876
+ };
877
+ r._zod.def.params && (e.params = r._zod.def.params), t.issues.push(_(e));
878
+ }
879
+ }
880
+ //#endregion
881
+ export { Xe as $ZodArray, ze as $ZodBase64, Ve as $ZodBase64URL, Ke as $ZodBoolean, Le as $ZodCIDRv4, Re as $ZodCIDRv6, Ee as $ZodCUID, De as $ZodCUID2, lt as $ZodCatch, ft as $ZodCustom, st as $ZodDefault, He as $ZodE164, Se as $ZodEmail, we as $ZodEmoji, nt as $ZodEnum, at as $ZodExactOptional, be as $ZodGUID, Fe as $ZodIPv4, Ie as $ZodIPv6, Me as $ZodISODate, je as $ZodISODateTime, Pe as $ZodISODuration, Ne as $ZodISOTime, et as $ZodIntersection, We as $ZodJWT, Ae as $ZodKSUID, rt as $ZodLiteral, Te as $ZodNanoID, Ye as $ZodNever, Y as $ZodNonOptional, ot as $ZodNullable, R as $ZodNumber, Ge as $ZodNumberFormat, Qe as $ZodObjectJIT, q as $ZodOptional, ut as $ZodPipe, ct as $ZodPrefault, dt as $ZodReadonly, tt as $ZodRecord, F as $ZodString, I as $ZodStringFormat, it as $ZodTransform, P as $ZodType, Oe as $ZodULID, Ce as $ZodURL, xe as $ZodUUID, qe as $ZodUndefined, $e as $ZodUnion, Je as $ZodUnknown, ke as $ZodXID };
882
+
883
+ //# sourceMappingURL=schemas.js.map