@burdenoff/microfe-product 2026.1013.2 → 2026.1109.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 (404) hide show
  1. package/dist/generated/global-operations.d.ts +2418 -0
  2. package/dist/generated/global-operations.d.ts.map +1 -0
  3. package/dist/generated/global-operations.js +109 -110
  4. package/dist/generated/global-operations.js.map +1 -1
  5. package/dist/generated/global-types.d.ts +22700 -0
  6. package/dist/generated/global-types.d.ts.map +1 -0
  7. package/dist/generated/global-types.js +1 -2
  8. package/dist/generated/global-types.js.map +1 -1
  9. package/dist/generated/wspace-operations.d.ts +5 -0
  10. package/dist/generated/wspace-operations.d.ts.map +1 -0
  11. package/dist/generated/wspace-types.d.ts +49087 -0
  12. package/dist/generated/wspace-types.d.ts.map +1 -0
  13. package/dist/index.d.ts +15 -0
  14. package/dist/index.d.ts.map +1 -0
  15. package/dist/node_modules/clsx/dist/clsx.js +8 -7
  16. package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
  17. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +134 -151
  18. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
  19. package/dist/node_modules/zod/v4/classic/errors.js +41 -20
  20. package/dist/node_modules/zod/v4/classic/errors.js.map +1 -1
  21. package/dist/node_modules/zod/v4/classic/parse.js +4 -5
  22. package/dist/node_modules/zod/v4/classic/parse.js.map +1 -1
  23. package/dist/node_modules/zod/v4/classic/schemas.js +519 -393
  24. package/dist/node_modules/zod/v4/classic/schemas.js.map +1 -1
  25. package/dist/node_modules/zod/v4/core/api.js +199 -197
  26. package/dist/node_modules/zod/v4/core/api.js.map +1 -1
  27. package/dist/node_modules/zod/v4/core/checks.js +83 -123
  28. package/dist/node_modules/zod/v4/core/checks.js.map +1 -1
  29. package/dist/node_modules/zod/v4/core/core.js +70 -35
  30. package/dist/node_modules/zod/v4/core/core.js.map +1 -1
  31. package/dist/node_modules/zod/v4/core/doc.js +11 -7
  32. package/dist/node_modules/zod/v4/core/doc.js.map +1 -1
  33. package/dist/node_modules/zod/v4/core/errors.js +64 -20
  34. package/dist/node_modules/zod/v4/core/errors.js.map +1 -1
  35. package/dist/node_modules/zod/v4/core/json-schema-processors.js +258 -139
  36. package/dist/node_modules/zod/v4/core/json-schema-processors.js.map +1 -1
  37. package/dist/node_modules/zod/v4/core/memoizer.js +188 -0
  38. package/dist/node_modules/zod/v4/core/memoizer.js.map +1 -0
  39. package/dist/node_modules/zod/v4/core/parse.js +136 -68
  40. package/dist/node_modules/zod/v4/core/parse.js.map +1 -1
  41. package/dist/node_modules/zod/v4/core/regexes.js +26 -19
  42. package/dist/node_modules/zod/v4/core/regexes.js.map +1 -1
  43. package/dist/node_modules/zod/v4/core/registries.js +2 -3
  44. package/dist/node_modules/zod/v4/core/registries.js.map +1 -1
  45. package/dist/node_modules/zod/v4/core/schemas.js +594 -457
  46. package/dist/node_modules/zod/v4/core/schemas.js.map +1 -1
  47. package/dist/node_modules/zod/v4/core/to-json-schema.js +204 -100
  48. package/dist/node_modules/zod/v4/core/to-json-schema.js.map +1 -1
  49. package/dist/node_modules/zod/v4/core/util.js +296 -142
  50. package/dist/node_modules/zod/v4/core/util.js.map +1 -1
  51. package/dist/node_modules/zod/v4/core/versions.js +3 -4
  52. package/dist/node_modules/zod/v4/core/versions.js.map +1 -1
  53. package/dist/node_modules/zod/v4/locales/en.js +96 -0
  54. package/dist/node_modules/zod/v4/locales/en.js.map +1 -0
  55. package/dist/product/ProductUserRoot.d.ts +4 -0
  56. package/dist/product/ProductUserRoot.d.ts.map +1 -0
  57. package/dist/product/ProductUserRoot.js +10 -7
  58. package/dist/product/ProductUserRoot.js.map +1 -1
  59. package/dist/product/ProductUserRoutes.d.ts +6 -0
  60. package/dist/product/ProductUserRoutes.d.ts.map +1 -0
  61. package/dist/product/ProductUserRoutes.js +1 -2
  62. package/dist/product/ProductUserRoutes.js.map +1 -1
  63. package/dist/product/hooks/usePublicContentPage.d.ts +9 -0
  64. package/dist/product/hooks/usePublicContentPage.d.ts.map +1 -0
  65. package/dist/product/hooks/usePublicContentPage.js +1 -2
  66. package/dist/product/hooks/usePublicContentPage.js.map +1 -1
  67. package/dist/product/hooks/usePublicProduct.d.ts +9 -0
  68. package/dist/product/hooks/usePublicProduct.d.ts.map +1 -0
  69. package/dist/product/hooks/usePublicProduct.js +1 -2
  70. package/dist/product/hooks/usePublicProduct.js.map +1 -1
  71. package/dist/product/hooks/usePublicProducts.d.ts +21 -0
  72. package/dist/product/hooks/usePublicProducts.d.ts.map +1 -0
  73. package/dist/product/hooks/usePublicProducts.js +1 -2
  74. package/dist/product/hooks/usePublicProducts.js.map +1 -1
  75. package/dist/product/pages/ContentPageViewPage.d.ts +2 -0
  76. package/dist/product/pages/ContentPageViewPage.d.ts.map +1 -0
  77. package/dist/product/pages/ContentPageViewPage.js +5 -6
  78. package/dist/product/pages/ContentPageViewPage.js.map +1 -1
  79. package/dist/product/pages/ProductCatalogPage.d.ts +2 -0
  80. package/dist/product/pages/ProductCatalogPage.d.ts.map +1 -0
  81. package/dist/product/pages/ProductCatalogPage.js +3 -4
  82. package/dist/product/pages/ProductCatalogPage.js.map +1 -1
  83. package/dist/product/pages/ProductViewPage.d.ts +2 -0
  84. package/dist/product/pages/ProductViewPage.d.ts.map +1 -0
  85. package/dist/product/pages/ProductViewPage.js +10 -11
  86. package/dist/product/pages/ProductViewPage.js.map +1 -1
  87. package/dist/product/pages/UserProductsLandingPage.d.ts +9 -0
  88. package/dist/product/pages/UserProductsLandingPage.d.ts.map +1 -0
  89. package/dist/product/pages/UserProductsLandingPage.js +1 -2
  90. package/dist/product/pages/UserProductsLandingPage.js.map +1 -1
  91. package/dist/product/providers/ProductUserProvider.d.ts +10 -0
  92. package/dist/product/providers/ProductUserProvider.d.ts.map +1 -0
  93. package/dist/product/providers/ProductUserProvider.js +1 -2
  94. package/dist/product/providers/ProductUserProvider.js.map +1 -1
  95. package/dist/product/types/index.d.ts +34 -0
  96. package/dist/product/types/index.d.ts.map +1 -0
  97. package/dist/product-management/ProductManagementRoot.d.ts +4 -0
  98. package/dist/product-management/ProductManagementRoot.d.ts.map +1 -0
  99. package/dist/product-management/ProductManagementRoot.js +9 -6
  100. package/dist/product-management/ProductManagementRoot.js.map +1 -1
  101. package/dist/product-management/ProductManagementRoutes.d.ts +6 -0
  102. package/dist/product-management/ProductManagementRoutes.d.ts.map +1 -0
  103. package/dist/product-management/ProductManagementRoutes.js +1 -2
  104. package/dist/product-management/ProductManagementRoutes.js.map +1 -1
  105. package/dist/product-management/index.d.ts +5 -0
  106. package/dist/product-management/index.d.ts.map +1 -0
  107. package/dist/product-management/modules/content-pages/components/ContentPageForm.d.ts +10 -0
  108. package/dist/product-management/modules/content-pages/components/ContentPageForm.d.ts.map +1 -0
  109. package/dist/product-management/modules/content-pages/components/ContentPageForm.js +59 -60
  110. package/dist/product-management/modules/content-pages/components/ContentPageForm.js.map +1 -1
  111. package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.d.ts +11 -0
  112. package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.d.ts.map +1 -0
  113. package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.js +1 -2
  114. package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.js.map +1 -1
  115. package/dist/product-management/modules/content-pages/hooks/useContentPages.d.ts +76 -0
  116. package/dist/product-management/modules/content-pages/hooks/useContentPages.d.ts.map +1 -0
  117. package/dist/product-management/modules/content-pages/hooks/useContentPages.js +1 -2
  118. package/dist/product-management/modules/content-pages/hooks/useContentPages.js.map +1 -1
  119. package/dist/product-management/modules/content-pages/index.d.ts +15 -0
  120. package/dist/product-management/modules/content-pages/index.d.ts.map +1 -0
  121. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.d.ts +2 -0
  122. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.d.ts.map +1 -0
  123. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js +3 -3
  124. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js.map +1 -1
  125. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.d.ts +6 -0
  126. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.d.ts.map +1 -0
  127. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js +19 -20
  128. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js.map +1 -1
  129. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.d.ts +2 -0
  130. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.d.ts.map +1 -0
  131. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js +11 -11
  132. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js.map +1 -1
  133. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.d.ts +2 -0
  134. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.d.ts.map +1 -0
  135. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js +37 -35
  136. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js.map +1 -1
  137. package/dist/product-management/modules/content-pages/schemas/index.d.ts +57 -0
  138. package/dist/product-management/modules/content-pages/schemas/index.d.ts.map +1 -0
  139. package/dist/product-management/modules/content-pages/schemas/index.js +8 -9
  140. package/dist/product-management/modules/content-pages/schemas/index.js.map +1 -1
  141. package/dist/product-management/modules/content-pages/types/index.d.ts +91 -0
  142. package/dist/product-management/modules/content-pages/types/index.d.ts.map +1 -0
  143. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.d.ts +17 -0
  144. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.d.ts.map +1 -0
  145. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.js +10 -11
  146. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.js.map +1 -1
  147. package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.d.ts +8 -0
  148. package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.d.ts.map +1 -0
  149. package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.js +1 -2
  150. package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.js.map +1 -1
  151. package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.d.ts +8 -0
  152. package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.d.ts.map +1 -0
  153. package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.js +1 -2
  154. package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.js.map +1 -1
  155. package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.d.ts +59 -0
  156. package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.d.ts.map +1 -0
  157. package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.js +1 -2
  158. package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.js.map +1 -1
  159. package/dist/product-management/modules/feature-flags/index.d.ts +13 -0
  160. package/dist/product-management/modules/feature-flags/index.d.ts.map +1 -0
  161. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.d.ts +3 -0
  162. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.d.ts.map +1 -0
  163. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js +8 -8
  164. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js.map +1 -1
  165. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.d.ts +3 -0
  166. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.d.ts.map +1 -0
  167. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js +18 -19
  168. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js.map +1 -1
  169. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.d.ts +3 -0
  170. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.d.ts.map +1 -0
  171. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js +8 -8
  172. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js.map +1 -1
  173. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.d.ts +3 -0
  174. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.d.ts.map +1 -0
  175. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js +27 -30
  176. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js.map +1 -1
  177. package/dist/product-management/modules/feature-flags/schemas/index.d.ts +35 -0
  178. package/dist/product-management/modules/feature-flags/schemas/index.d.ts.map +1 -0
  179. package/dist/product-management/modules/feature-flags/schemas/index.js +5 -6
  180. package/dist/product-management/modules/feature-flags/schemas/index.js.map +1 -1
  181. package/dist/product-management/modules/feature-flags/types/index.d.ts +101 -0
  182. package/dist/product-management/modules/feature-flags/types/index.d.ts.map +1 -0
  183. package/dist/product-management/modules/press-kit/components/PressKitAssetForm.d.ts +10 -0
  184. package/dist/product-management/modules/press-kit/components/PressKitAssetForm.d.ts.map +1 -0
  185. package/dist/product-management/modules/press-kit/components/PressKitAssetForm.js +23 -24
  186. package/dist/product-management/modules/press-kit/components/PressKitAssetForm.js.map +1 -1
  187. package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.d.ts +73 -0
  188. package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.d.ts.map +1 -0
  189. package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.js +1 -2
  190. package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.js.map +1 -1
  191. package/dist/product-management/modules/press-kit/index.d.ts +14 -0
  192. package/dist/product-management/modules/press-kit/index.d.ts.map +1 -0
  193. package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.d.ts +2 -0
  194. package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.d.ts.map +1 -0
  195. package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js +3 -3
  196. package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js.map +1 -1
  197. package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.d.ts +2 -0
  198. package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.d.ts.map +1 -0
  199. package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js +15 -16
  200. package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js.map +1 -1
  201. package/dist/product-management/modules/press-kit/pages/PressKitEditPage.d.ts +2 -0
  202. package/dist/product-management/modules/press-kit/pages/PressKitEditPage.d.ts.map +1 -0
  203. package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js +11 -11
  204. package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js.map +1 -1
  205. package/dist/product-management/modules/press-kit/pages/PressKitListPage.d.ts +2 -0
  206. package/dist/product-management/modules/press-kit/pages/PressKitListPage.d.ts.map +1 -0
  207. package/dist/product-management/modules/press-kit/pages/PressKitListPage.js +34 -32
  208. package/dist/product-management/modules/press-kit/pages/PressKitListPage.js.map +1 -1
  209. package/dist/product-management/modules/press-kit/schemas/index.d.ts +60 -0
  210. package/dist/product-management/modules/press-kit/schemas/index.d.ts.map +1 -0
  211. package/dist/product-management/modules/press-kit/schemas/index.js +7 -8
  212. package/dist/product-management/modules/press-kit/schemas/index.js.map +1 -1
  213. package/dist/product-management/modules/press-kit/types/index.d.ts +73 -0
  214. package/dist/product-management/modules/press-kit/types/index.d.ts.map +1 -0
  215. package/dist/product-management/modules/press-kit/types/index.js +1 -2
  216. package/dist/product-management/modules/press-kit/types/index.js.map +1 -1
  217. package/dist/product-management/modules/products/components/ProductCard.d.ts +15 -0
  218. package/dist/product-management/modules/products/components/ProductCard.d.ts.map +1 -0
  219. package/dist/product-management/modules/products/components/ProductForm.d.ts +10 -0
  220. package/dist/product-management/modules/products/components/ProductForm.d.ts.map +1 -0
  221. package/dist/product-management/modules/products/components/ProductForm.js +23 -24
  222. package/dist/product-management/modules/products/components/ProductForm.js.map +1 -1
  223. package/dist/product-management/modules/products/components/ProductPlans.d.ts +8 -0
  224. package/dist/product-management/modules/products/components/ProductPlans.d.ts.map +1 -0
  225. package/dist/product-management/modules/products/components/ProductPlans.js +26 -24
  226. package/dist/product-management/modules/products/components/ProductPlans.js.map +1 -1
  227. package/dist/product-management/modules/products/components/ProductStats.d.ts +23 -0
  228. package/dist/product-management/modules/products/components/ProductStats.d.ts.map +1 -0
  229. package/dist/product-management/modules/products/components/ProductStatusBadge.d.ts +12 -0
  230. package/dist/product-management/modules/products/components/ProductStatusBadge.d.ts.map +1 -0
  231. package/dist/product-management/modules/products/components/ProductStatusBadge.js +1 -2
  232. package/dist/product-management/modules/products/components/ProductStatusBadge.js.map +1 -1
  233. package/dist/product-management/modules/products/hooks/useProducts.d.ts +103 -0
  234. package/dist/product-management/modules/products/hooks/useProducts.d.ts.map +1 -0
  235. package/dist/product-management/modules/products/hooks/useProducts.js +1 -2
  236. package/dist/product-management/modules/products/hooks/useProducts.js.map +1 -1
  237. package/dist/product-management/modules/products/index.d.ts +16 -0
  238. package/dist/product-management/modules/products/index.d.ts.map +1 -0
  239. package/dist/product-management/modules/products/pages/ProductCreatePage.d.ts +2 -0
  240. package/dist/product-management/modules/products/pages/ProductCreatePage.d.ts.map +1 -0
  241. package/dist/product-management/modules/products/pages/ProductCreatePage.js +3 -3
  242. package/dist/product-management/modules/products/pages/ProductCreatePage.js.map +1 -1
  243. package/dist/product-management/modules/products/pages/ProductDetailPage.d.ts +6 -0
  244. package/dist/product-management/modules/products/pages/ProductDetailPage.d.ts.map +1 -0
  245. package/dist/product-management/modules/products/pages/ProductDetailPage.js +21 -22
  246. package/dist/product-management/modules/products/pages/ProductDetailPage.js.map +1 -1
  247. package/dist/product-management/modules/products/pages/ProductEditPage.d.ts +2 -0
  248. package/dist/product-management/modules/products/pages/ProductEditPage.d.ts.map +1 -0
  249. package/dist/product-management/modules/products/pages/ProductEditPage.js +11 -12
  250. package/dist/product-management/modules/products/pages/ProductEditPage.js.map +1 -1
  251. package/dist/product-management/modules/products/pages/ProductsListPage.d.ts +2 -0
  252. package/dist/product-management/modules/products/pages/ProductsListPage.d.ts.map +1 -0
  253. package/dist/product-management/modules/products/pages/ProductsListPage.js +19 -20
  254. package/dist/product-management/modules/products/pages/ProductsListPage.js.map +1 -1
  255. package/dist/product-management/modules/products/schemas/index.d.ts +61 -0
  256. package/dist/product-management/modules/products/schemas/index.d.ts.map +1 -0
  257. package/dist/product-management/modules/products/schemas/index.js +16 -17
  258. package/dist/product-management/modules/products/schemas/index.js.map +1 -1
  259. package/dist/product-management/modules/products/types/index.d.ts +115 -0
  260. package/dist/product-management/modules/products/types/index.d.ts.map +1 -0
  261. package/dist/product-management/modules/products/types/index.js +1 -2
  262. package/dist/product-management/modules/products/types/index.js.map +1 -1
  263. package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.d.ts +6 -0
  264. package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.d.ts.map +1 -0
  265. package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.js +1 -2
  266. package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.js.map +1 -1
  267. package/dist/product-management/modules/shortcuts/components/ShortcutForm.d.ts +10 -0
  268. package/dist/product-management/modules/shortcuts/components/ShortcutForm.d.ts.map +1 -0
  269. package/dist/product-management/modules/shortcuts/components/ShortcutForm.js +19 -20
  270. package/dist/product-management/modules/shortcuts/components/ShortcutForm.js.map +1 -1
  271. package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.d.ts +11 -0
  272. package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.d.ts.map +1 -0
  273. package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.js +1 -2
  274. package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.js.map +1 -1
  275. package/dist/product-management/modules/shortcuts/hooks/useShortcuts.d.ts +85 -0
  276. package/dist/product-management/modules/shortcuts/hooks/useShortcuts.d.ts.map +1 -0
  277. package/dist/product-management/modules/shortcuts/hooks/useShortcuts.js +1 -2
  278. package/dist/product-management/modules/shortcuts/hooks/useShortcuts.js.map +1 -1
  279. package/dist/product-management/modules/shortcuts/index.d.ts +17 -0
  280. package/dist/product-management/modules/shortcuts/index.d.ts.map +1 -0
  281. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.d.ts +2 -0
  282. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.d.ts.map +1 -0
  283. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js +3 -3
  284. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js.map +1 -1
  285. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.d.ts +2 -0
  286. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.d.ts.map +1 -0
  287. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js +25 -26
  288. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js.map +1 -1
  289. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.d.ts +2 -0
  290. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.d.ts.map +1 -0
  291. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js +10 -11
  292. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js.map +1 -1
  293. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.d.ts +2 -0
  294. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.d.ts.map +1 -0
  295. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js +36 -37
  296. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js.map +1 -1
  297. package/dist/product-management/modules/shortcuts/schemas/index.d.ts +35 -0
  298. package/dist/product-management/modules/shortcuts/schemas/index.d.ts.map +1 -0
  299. package/dist/product-management/modules/shortcuts/schemas/index.js +1 -2
  300. package/dist/product-management/modules/shortcuts/schemas/index.js.map +1 -1
  301. package/dist/product-management/modules/shortcuts/types/index.d.ts +28 -0
  302. package/dist/product-management/modules/shortcuts/types/index.d.ts.map +1 -0
  303. package/dist/product-management/modules/shortcuts/types/index.js +1 -2
  304. package/dist/product-management/modules/shortcuts/types/index.js.map +1 -1
  305. package/dist/product-management/providers/ProductConsoleProvider.d.ts +18 -0
  306. package/dist/product-management/providers/ProductConsoleProvider.d.ts.map +1 -0
  307. package/dist/product-management/providers/ProductConsoleProvider.js +1 -2
  308. package/dist/product-management/providers/ProductConsoleProvider.js.map +1 -1
  309. package/dist/product-management/shared/components/AuditHistoryTab.d.ts +7 -0
  310. package/dist/product-management/shared/components/AuditHistoryTab.d.ts.map +1 -0
  311. package/dist/product-management/shared/components/AuditHistoryTab.js +4 -5
  312. package/dist/product-management/shared/components/AuditHistoryTab.js.map +1 -1
  313. package/dist/product-management/shared/components/TagList.d.ts +7 -0
  314. package/dist/product-management/shared/components/TagList.d.ts.map +1 -0
  315. package/dist/product-management/shared/components/TagList.js +1 -2
  316. package/dist/product-management/shared/components/TagList.js.map +1 -1
  317. package/dist/product-management/shared/components/feedback/EmptyState.d.ts +20 -0
  318. package/dist/product-management/shared/components/feedback/EmptyState.d.ts.map +1 -0
  319. package/dist/product-management/shared/components/feedback/ErrorState.d.ts +33 -0
  320. package/dist/product-management/shared/components/feedback/ErrorState.d.ts.map +1 -0
  321. package/dist/product-management/shared/components/feedback/ErrorState.js +4 -5
  322. package/dist/product-management/shared/components/feedback/ErrorState.js.map +1 -1
  323. package/dist/product-management/shared/components/feedback/LoadingState.d.ts +13 -0
  324. package/dist/product-management/shared/components/feedback/LoadingState.d.ts.map +1 -0
  325. package/dist/product-management/shared/components/feedback/LoadingState.js +1 -2
  326. package/dist/product-management/shared/components/feedback/LoadingState.js.map +1 -1
  327. package/dist/product-management/shared/components/input/ProductCombobox.d.ts +29 -0
  328. package/dist/product-management/shared/components/input/ProductCombobox.d.ts.map +1 -0
  329. package/dist/product-management/shared/components/input/ProductCombobox.js +12 -13
  330. package/dist/product-management/shared/components/input/ProductCombobox.js.map +1 -1
  331. package/dist/product-management/shared/components/input/SearchInput.d.ts +17 -0
  332. package/dist/product-management/shared/components/input/SearchInput.d.ts.map +1 -0
  333. package/dist/product-management/shared/components/input/SearchInput.js +1 -2
  334. package/dist/product-management/shared/components/input/SearchInput.js.map +1 -1
  335. package/dist/product-management/shared/components/input/TagInput.d.ts +10 -0
  336. package/dist/product-management/shared/components/input/TagInput.d.ts.map +1 -0
  337. package/dist/product-management/shared/components/input/TagInput.js +2 -3
  338. package/dist/product-management/shared/components/input/TagInput.js.map +1 -1
  339. package/dist/product-management/shared/hooks/useConfirmDialog.d.ts +22 -0
  340. package/dist/product-management/shared/hooks/useConfirmDialog.d.ts.map +1 -0
  341. package/dist/product-management/shared/hooks/useConfirmDialog.js +1 -2
  342. package/dist/product-management/shared/hooks/useConfirmDialog.js.map +1 -1
  343. package/dist/product-management/shared/hooks/useDebounced.d.ts +6 -0
  344. package/dist/product-management/shared/hooks/useDebounced.d.ts.map +1 -0
  345. package/dist/product-management/shared/hooks/useDebounced.js +1 -2
  346. package/dist/product-management/shared/hooks/useDebounced.js.map +1 -1
  347. package/dist/product-management/shared/hooks/useTr.d.ts +17 -0
  348. package/dist/product-management/shared/hooks/useTr.d.ts.map +1 -0
  349. package/dist/product-management/shared/hooks/useTr.js +1 -2
  350. package/dist/product-management/shared/hooks/useTr.js.map +1 -1
  351. package/dist/product-management/shared/index.d.ts +13 -0
  352. package/dist/product-management/shared/index.d.ts.map +1 -0
  353. package/dist/product-management/shared/types/graphql.d.ts +119 -0
  354. package/dist/product-management/shared/types/graphql.d.ts.map +1 -0
  355. package/dist/product-management/shared/utils/cn.d.ts +7 -0
  356. package/dist/product-management/shared/utils/cn.d.ts.map +1 -0
  357. package/dist/product-management/shared/utils/cn.js +2 -3
  358. package/dist/product-management/shared/utils/cn.js.map +1 -1
  359. package/dist/product-management/shared/utils/exportUtils.d.ts +4 -0
  360. package/dist/product-management/shared/utils/exportUtils.d.ts.map +1 -0
  361. package/dist/product-management/shared/utils/exportUtils.js +1 -2
  362. package/dist/product-management/shared/utils/exportUtils.js.map +1 -1
  363. package/dist/product-management/shared/utils/permission-error.d.ts +13 -0
  364. package/dist/product-management/shared/utils/permission-error.d.ts.map +1 -0
  365. package/dist/product-management/shared/utils/permission-error.js +3 -4
  366. package/dist/product-management/shared/utils/permission-error.js.map +1 -1
  367. package/dist/product-management/types/index.d.ts +40 -0
  368. package/dist/product-management/types/index.d.ts.map +1 -0
  369. package/dist/shared/components/MarkdownEditor.d.ts +16 -0
  370. package/dist/shared/components/MarkdownEditor.d.ts.map +1 -0
  371. package/dist/shared/components/MarkdownEditor.js +3 -4
  372. package/dist/shared/components/MarkdownEditor.js.map +1 -1
  373. package/dist/shared/components/index.d.ts +11 -0
  374. package/dist/shared/components/index.d.ts.map +1 -0
  375. package/dist/shared/components/index.js +5 -4
  376. package/dist/shared/hooks/useTr.d.ts +2 -0
  377. package/dist/shared/hooks/useTr.d.ts.map +1 -0
  378. package/dist/shared/hooks/useTr.js +1 -1
  379. package/dist/shared/index.d.ts +3 -0
  380. package/dist/shared/index.d.ts.map +1 -0
  381. package/dist/shared/utils/formatDate.d.ts +5 -0
  382. package/dist/shared/utils/formatDate.d.ts.map +1 -0
  383. package/dist/shared/utils/formatDate.js +1 -2
  384. package/dist/shared/utils/formatDate.js.map +1 -1
  385. package/dist/shared/utils/index.d.ts +4 -0
  386. package/dist/shared/utils/index.d.ts.map +1 -0
  387. package/dist/shared/utils/isSafeUrl.d.ts +6 -0
  388. package/dist/shared/utils/isSafeUrl.d.ts.map +1 -0
  389. package/dist/shared/utils/isSafeUrl.js +1 -2
  390. package/dist/shared/utils/isSafeUrl.js.map +1 -1
  391. package/dist/shared/utils/renderMarkdown.d.ts +10 -0
  392. package/dist/shared/utils/renderMarkdown.d.ts.map +1 -0
  393. package/dist/translations/en.d.ts +651 -0
  394. package/dist/translations/en.d.ts.map +1 -0
  395. package/dist/translations/en.js +1 -2
  396. package/dist/translations/en.js.map +1 -1
  397. package/dist/translations/index.d.ts +2 -0
  398. package/dist/translations/index.d.ts.map +1 -0
  399. package/dist/utils/nativeBridge.d.ts +3 -0
  400. package/dist/utils/nativeBridge.d.ts.map +1 -0
  401. package/dist/utils/nativeBridge.js +1 -2
  402. package/package.json +35 -23
  403. package/dist/node_modules/zod/v4/classic/iso.js +0 -33
  404. package/dist/node_modules/zod/v4/classic/iso.js.map +0 -1
@@ -1,180 +1,299 @@
1
- import { getEnumValues as e } from "./util.js";
2
- import { process as t } from "./to-json-schema.js";
3
- //#region node_modules/zod/v4/core/json-schema-processors.js
4
- var n = {
1
+ import { base64 as e, base64url as t, integer as n, number as r } from "./regexes.js";
2
+ import { base64Charset as i, base64urlCharset as a } from "./schemas.js";
3
+ import { handleUnrepresentable as o, process as s } from "./to-json-schema.js";
4
+ import { BIGINT_FORMAT_RANGES as c, NUMBER_FORMAT_RANGES as l, assignProp as u, getEnumValues as d } from "./util.js";
5
+ // node_modules/zod/v4/core/json-schema-processors.js
6
+ var f = (e, t, n) => {
7
+ (e[t] === void 0 || n > e[t]) && (e[t] = n);
8
+ }, p = (e, t, n) => {
9
+ (e[t] === void 0 || n < e[t]) && (e[t] = n);
10
+ }, m = (e, t) => {
11
+ f(e, "minimum", t), p(e, "maximum", t);
12
+ }, h = (e, t) => {
13
+ e.multipleOf ??= [], e.multipleOf.includes(t) || e.multipleOf.push(t);
14
+ }, g = (e, t) => {
15
+ e.patterns ??= /* @__PURE__ */ new Set(), e.patterns.add(t);
16
+ }, _ = (e, t) => {
17
+ e.mime = e.mime ? e.mime.filter((e) => t.includes(e)) : [...t];
18
+ }, v = (e, t) => {
19
+ e.format = t, t.includes("int") && (e.isInt = !0);
20
+ }, y = (e, t) => f(e, "minimum", t.minimum), b = (e, t) => p(e, "maximum", t.maximum), x = (e) => (t, n) => {
21
+ v(t, n.format);
22
+ let [r, i] = e[n.format];
23
+ f(t, "minimum", r), p(t, "maximum", i);
24
+ }, S = {
25
+ greater_than: (e, t) => f(e, t.inclusive ? "minimum" : "exclusiveMinimum", t.value),
26
+ less_than: (e, t) => p(e, t.inclusive ? "maximum" : "exclusiveMaximum", t.value),
27
+ multiple_of: (e, t) => h(e, t.value),
28
+ number_format: x(l),
29
+ bigint_format: x(c),
30
+ min_length: y,
31
+ max_length: b,
32
+ length_equals: (e, t) => m(e, t.length),
33
+ min_size: y,
34
+ max_size: b,
35
+ size_equals: (e, t) => m(e, t.size),
36
+ string_format: (e, t) => {
37
+ v(e, t.format), t.pattern && g(e, t.pattern), (t.format === "base64" || t.format === "base64url") && (e.contentEncoding = t.format), (t.local || t.precision === -1) && (e.laxFormat = !0);
38
+ },
39
+ mime_type: (e, t) => _(e, t.mime)
40
+ };
41
+ function C(e) {
42
+ let t = {}, n = e._zod.def, r = e._zod.traits.has("$ZodCheck") ? [e, ...n.checks ?? []] : n.checks ?? [];
43
+ for (let e of r) S[e._zod.def.check]?.(t, e._zod.def);
44
+ let i = e._zod.bag;
45
+ i.minimum !== void 0 && f(t, "minimum", i.minimum), i.exclusiveMinimum !== void 0 && f(t, "exclusiveMinimum", i.exclusiveMinimum), i.maximum !== void 0 && p(t, "maximum", i.maximum), i.exclusiveMaximum !== void 0 && p(t, "exclusiveMaximum", i.exclusiveMaximum), i.multipleOf !== void 0 && h(t, i.multipleOf), i.format !== void 0 && (t.format ??= i.format, i.format.includes("int") && (t.isInt = !0)), i.mime && _(t, i.mime);
46
+ for (let e of i.patterns ?? []) g(t, e);
47
+ return t;
48
+ }
49
+ var w = {
5
50
  guid: "uuid",
6
51
  url: "uri",
7
52
  datetime: "date-time",
8
53
  json_string: "json-string",
9
54
  regex: ""
10
- }, r = (e, t, r, i) => {
11
- let a = r;
12
- a.type = "string";
13
- let { minimum: o, maximum: s, format: c, patterns: l, contentEncoding: u } = e._zod.bag;
14
- if (typeof o == "number" && (a.minLength = o), typeof s == "number" && (a.maxLength = s), c && (a.format = n[c] ?? c, a.format === "" && delete a.format, c === "time" && delete a.format), u && (a.contentEncoding = u), l && l.size > 0) {
15
- let e = [...l];
16
- e.length === 1 ? a.pattern = e[0].source : e.length > 1 && (a.allOf = [...e.map((e) => ({
55
+ }, T = /* @__PURE__ */ new Map([[i, e], [a, t]]), E = (e) => T.get(e) ?? e, D = (e, t, n, r) => {
56
+ let i = n;
57
+ i.type = "string";
58
+ let { minimum: a, maximum: o, format: s, patterns: c, contentEncoding: l, laxFormat: u } = C(e);
59
+ if (typeof a == "number" && (i.minLength = a), typeof o == "number" && (i.maxLength = o), s && (i.format = w[s] ?? s, i.format === "" && delete i.format, (s === "time" || u) && delete i.format), l && (i.contentEncoding = l), c && c.size > 0) {
60
+ let e = [...c].map(E);
61
+ e.length === 1 ? i.pattern = e[0].source : e.length > 1 && (i.allOf = [...e.map((e) => ({
17
62
  ...t.target === "draft-07" || t.target === "draft-04" || t.target === "openapi-3.0" ? { type: "string" } : {},
18
63
  pattern: e.source
19
64
  }))]);
20
65
  }
21
- }, i = (e, t, n, r) => {
22
- let i = n, { minimum: a, maximum: o, format: s, multipleOf: c, exclusiveMaximum: l, exclusiveMinimum: u } = e._zod.bag;
23
- typeof s == "string" && s.includes("int") ? i.type = "integer" : i.type = "number";
24
- let d = typeof u == "number" && u >= (a ?? -Infinity), f = typeof l == "number" && l <= (o ?? Infinity), p = t.target === "draft-04" || t.target === "openapi-3.0";
25
- d ? p ? (i.minimum = u, i.exclusiveMinimum = !0) : i.exclusiveMinimum = u : typeof a == "number" && (i.minimum = a), f ? p ? (i.maximum = l, i.exclusiveMaximum = !0) : i.exclusiveMaximum = l : typeof o == "number" && (i.maximum = o), typeof c == "number" && (i.multipleOf = c);
26
- }, a = (e, t, n, r) => {
66
+ }, O = (e, t, n, r) => {
67
+ let i = n, { minimum: a, maximum: s, multipleOf: c, exclusiveMaximum: l, exclusiveMinimum: u, isInt: d } = C(e);
68
+ i.type = d ? "integer" : "number";
69
+ let f = typeof u == "number" && u >= (a ?? -Infinity), p = typeof l == "number" && l <= (s ?? Infinity), m = t.target === "draft-04" || t.target === "openapi-3.0";
70
+ if (f ? m ? (i.minimum = u, i.exclusiveMinimum = !0) : i.exclusiveMinimum = u : typeof a == "number" && (i.minimum = a), p ? m ? (i.maximum = l, i.exclusiveMaximum = !0) : i.exclusiveMaximum = l : typeof s == "number" && (i.maximum = s), c) {
71
+ let n = /* @__PURE__ */ new Set();
72
+ for (let a of c) Number.isFinite(a) && a !== 0 ? n.add(Math.abs(a)) : o(e, t, i, r, `A multipleOf divisor of ${a} cannot be represented in JSON Schema`);
73
+ let [a, ...s] = n;
74
+ a !== void 0 && (i.multipleOf = a), s.length && (i.allOf = [...i.allOf ?? [], ...s.map((e) => ({ multipleOf: e }))]);
75
+ }
76
+ }, k = (e, t, n, r) => {
27
77
  n.type = "boolean";
28
- }, o = (e, t, n, r) => {
29
- if (t.unrepresentable === "throw") throw Error("Undefined cannot be represented in JSON Schema");
30
- }, s = (e, t, n, r) => {
78
+ }, A = (e, t, n, r) => {
79
+ o(e, t, n, r, "Undefined cannot be represented in JSON Schema");
80
+ }, j = (e, t, n, r) => {
31
81
  n.not = {};
32
- }, c = (e, t, n, r) => {}, l = (t, n, r, i) => {
33
- let a = t._zod.def, o = e(a.entries);
34
- o.every((e) => typeof e == "number") && (r.type = "number"), o.every((e) => typeof e == "string") && (r.type = "string"), r.enum = o;
35
- }, u = (e, t, n, r) => {
36
- let i = e._zod.def, a = [];
37
- for (let e of i.values) if (e === void 0) {
38
- if (t.unrepresentable === "throw") throw Error("Literal `undefined` cannot be represented in JSON Schema");
39
- } else if (typeof e == "bigint") {
40
- if (t.unrepresentable === "throw") throw Error("BigInt literals cannot be represented in JSON Schema");
41
- a.push(Number(e));
42
- } else a.push(e);
43
- if (a.length !== 0) if (a.length === 1) {
44
- let e = a[0];
45
- n.type = e === null ? "null" : typeof e, t.target === "draft-04" || t.target === "openapi-3.0" ? n.enum = [e] : n.const = e;
46
- } else a.every((e) => typeof e == "number") && (n.type = "number"), a.every((e) => typeof e == "string") && (n.type = "string"), a.every((e) => typeof e == "boolean") && (n.type = "boolean"), a.every((e) => e === null) && (n.type = "null"), n.enum = a;
47
- }, d = (e, t, n, r) => {
48
- if (t.unrepresentable === "throw") throw Error("Custom types cannot be represented in JSON Schema");
49
- }, f = (e, t, n, r) => {
50
- if (t.unrepresentable === "throw") throw Error("Transforms cannot be represented in JSON Schema");
51
- }, p = (e, n, r, i) => {
52
- let a = r, o = e._zod.def, { minimum: s, maximum: c } = e._zod.bag;
53
- typeof s == "number" && (a.minItems = s), typeof c == "number" && (a.maxItems = c), a.type = "array", a.items = t(o.element, n, {
54
- ...i,
55
- path: [...i.path, "items"]
82
+ }, M = (e, t, n, r) => {}, N = (e, t, n, r) => {
83
+ let i = e._zod.def, a = d(i.entries);
84
+ a.length === 0 ? n.not = {} : (a.every((e) => typeof e == "number") && (n.type = "number"), a.every((e) => typeof e == "string") && (n.type = "string"), n.enum = a);
85
+ }, P = (e, t, n, r) => {
86
+ let i = e._zod.def;
87
+ if (i.values.length === 0) {
88
+ n.not = {};
89
+ return;
90
+ }
91
+ let a = [];
92
+ for (let s of i.values) if (s === void 0) {
93
+ if (o(e, t, n, r, "Literal `undefined` cannot be represented in JSON Schema")) return;
94
+ } else if (typeof s == "bigint") {
95
+ if (o(e, t, n, r, "BigInt literals cannot be represented in JSON Schema")) return;
96
+ a.push(Number(s));
97
+ } else a.push(s);
98
+ if (a.length !== 0) {
99
+ if (a.length === 1) {
100
+ let e = a[0];
101
+ n.type = e === null ? "null" : typeof e, t.target === "draft-04" || t.target === "openapi-3.0" ? n.enum = [e] : n.const = e;
102
+ } else a.every((e) => typeof e == "number") && (n.type = "number"), a.every((e) => typeof e == "string") && (n.type = "string"), a.every((e) => typeof e == "boolean") && (n.type = "boolean"), a.every((e) => e === null) && (n.type = "null"), n.enum = a;
103
+ }
104
+ }, F = (e, t, n, r) => {
105
+ o(e, t, n, r, "Custom types cannot be represented in JSON Schema");
106
+ }, I = (e, t, n, r) => {
107
+ o(e, t, n, r, "Transforms cannot be represented in JSON Schema");
108
+ }, L = (e, t, n, r) => {
109
+ let i = n, a = e._zod.def, { minimum: o, maximum: c } = C(e);
110
+ typeof o == "number" && (i.minItems = o), typeof c == "number" && (i.maxItems = c), i.type = "array", i.items = s(a.element, t, {
111
+ ...r,
112
+ path: [...r.path, "items"]
56
113
  });
57
- }, m = (e, n, r, i) => {
58
- let a = r, o = e._zod.def;
59
- a.type = "object", a.properties = {};
60
- let s = o.shape;
61
- for (let e in s) a.properties[e] = t(s[e], n, {
62
- ...i,
114
+ };
115
+ function R(e) {
116
+ let t = e._zod.def;
117
+ return t.type === "pipe" && t.in._zod.traits.has("$ZodTransform") ? R(t.out) : t.type === "catch" ? R(t.innerType) : e._zod.optin;
118
+ }
119
+ var z = (e, t, n, r) => {
120
+ let i = n, a = e._zod.def, c = a.shape;
121
+ if (Object.getOwnPropertySymbols(c).length && o(e, t, i, r, "Symbol keys cannot be represented in JSON Schema")) return;
122
+ i.type = "object", i.properties = {};
123
+ for (let e in c) u(i.properties, e, s(c[e], t, {
124
+ ...r,
63
125
  path: [
64
- ...i.path,
126
+ ...r.path,
65
127
  "properties",
66
128
  e
67
129
  ]
68
- });
69
- let c = new Set(Object.keys(s)), l = new Set([...c].filter((e) => {
70
- let t = o.shape[e]._zod;
71
- return n.io === "input" ? t.optin === void 0 : t.optout === void 0;
72
130
  }));
73
- l.size > 0 && (a.required = Array.from(l)), o.catchall?._zod.def.type === "never" ? a.additionalProperties = !1 : o.catchall ? o.catchall && (a.additionalProperties = t(o.catchall, n, {
74
- ...i,
75
- path: [...i.path, "additionalProperties"]
76
- })) : n.io === "output" && (a.additionalProperties = !1);
77
- }, h = (e, n, r, i) => {
78
- let a = e._zod.def, o = a.inclusive === !1, s = a.options.map((e, r) => t(e, n, {
79
- ...i,
131
+ let l = [];
132
+ for (let e of Object.keys(c)) {
133
+ let n = a.shape[e];
134
+ (t.io === "input" ? R(n) === void 0 : n._zod.optout === void 0) && l.push(e);
135
+ }
136
+ l.length > 0 && (i.required = l), a.catchall?._zod.def.type === "never" ? i.additionalProperties = !1 : a.catchall ? a.catchall && (i.additionalProperties = s(a.catchall, t, {
137
+ ...r,
138
+ path: [...r.path, "additionalProperties"]
139
+ })) : t.io === "output" && (i.additionalProperties = !1);
140
+ }, B = (e, t, n, r) => {
141
+ let i = e._zod.def, a = i.inclusive === !1, o = i.options.map((e, n) => s(e, t, {
142
+ ...r,
80
143
  path: [
81
- ...i.path,
82
- o ? "oneOf" : "anyOf",
83
- r
144
+ ...r.path,
145
+ a ? "oneOf" : "anyOf",
146
+ n
84
147
  ]
85
148
  }));
86
- o ? r.oneOf = s : r.anyOf = s;
87
- }, g = (e, n, r, i) => {
88
- let a = e._zod.def, o = t(a.left, n, {
89
- ...i,
149
+ a ? n.oneOf = o : n.anyOf = o;
150
+ }, V = (e, t, n, r) => {
151
+ let i = e._zod.def, a = s(i.left, t, {
152
+ ...r,
90
153
  path: [
91
- ...i.path,
154
+ ...r.path,
92
155
  "allOf",
93
156
  0
94
157
  ]
95
- }), s = t(a.right, n, {
96
- ...i,
158
+ }), o = s(i.right, t, {
159
+ ...r,
97
160
  path: [
98
- ...i.path,
161
+ ...r.path,
99
162
  "allOf",
100
163
  1
101
164
  ]
102
- }), c = (e) => "allOf" in e && Object.keys(e).length === 1;
103
- r.allOf = [...c(o) ? o.allOf : [o], ...c(s) ? s.allOf : [s]];
104
- }, _ = (e, n, r, i) => {
105
- let a = r, o = e._zod.def;
106
- a.type = "object";
107
- let s = o.keyType, c = s._zod.bag?.patterns;
108
- if (o.mode === "loose" && c && c.size > 0) {
109
- let e = t(o.valueType, n, {
110
- ...i,
165
+ }), c = (e) => "allOf" in e && Object.keys(e).length === 1, l = [...c(a) ? a.allOf : [a], ...c(o) ? o.allOf : [o]];
166
+ n.allOf = l, t.intersections.push(l);
167
+ };
168
+ function H(e, t, i) {
169
+ if (t.$ref) {
170
+ if (i.has(t)) return t;
171
+ i.add(t);
172
+ let n = e.get(t)?.def;
173
+ if (!n) return t;
174
+ let r = H(e, n, i);
175
+ return r === n ? t : r;
176
+ }
177
+ for (let n of ["anyOf", "oneOf"]) {
178
+ let r = t[n];
179
+ if (!Array.isArray(r)) continue;
180
+ let a = r.map((t) => H(e, t, i));
181
+ a.some((e, t) => e !== r[t]) && (t = {
182
+ ...t,
183
+ [n]: a
184
+ });
185
+ }
186
+ let a = Array.isArray(t.type) ? t.type : [t.type], o = !a.includes("string") && a.some((e) => e === "number" || e === "integer"), s = t.enum ?? (t.const === void 0 ? void 0 : [t.const]);
187
+ if (!o && !s?.some((e) => typeof e == "number")) return t;
188
+ let { minimum: c, maximum: l, exclusiveMinimum: u, exclusiveMaximum: d, multipleOf: f, format: p, id: m, ...h } = t;
189
+ return h.enum ? h.enum = h.enum.map((e) => typeof e == "number" ? String(e) : e) : typeof h.const == "number" && (h.const = String(h.const)), o && (h.type = "string", s || (h.pattern = (a.includes("number") ? r : n).source)), h;
190
+ }
191
+ var U = /* @__PURE__ */ new WeakMap();
192
+ function W(e) {
193
+ let t = /* @__PURE__ */ new Map();
194
+ for (let n of e.seen.values()) n.def && !t.has(n.schema) && t.set(n.schema, n);
195
+ let n = /* @__PURE__ */ new Map();
196
+ for (let r of U.get(e) ?? []) {
197
+ let i = e.seen.get(r), a = (i?.def ?? i?.schema)?.propertyNames;
198
+ if (!a || a === !0 || n.has(a)) continue;
199
+ let o = H(t, a, /* @__PURE__ */ new Set());
200
+ o !== a && n.set(a, o);
201
+ }
202
+ if (n.size) for (let t of e.seen.values()) for (let e of [t.schema, t.def]) {
203
+ let t = e && n.get(e.propertyNames);
204
+ t && (e.propertyNames = t);
205
+ }
206
+ }
207
+ var G = (e, t, n, r) => {
208
+ let i = n, a = e._zod.def;
209
+ i.type = "object";
210
+ let o = a.keyType, c = C(o).patterns;
211
+ if (a.mode === "loose" && c && c.size > 0) {
212
+ let e = s(a.valueType, t, {
213
+ ...r,
111
214
  path: [
112
- ...i.path,
215
+ ...r.path,
113
216
  "patternProperties",
114
217
  "*"
115
218
  ]
116
219
  });
117
- a.patternProperties = {};
118
- for (let t of c) a.patternProperties[t.source] = e;
119
- } else (n.target === "draft-07" || n.target === "draft-2020-12") && (a.propertyNames = t(o.keyType, n, {
120
- ...i,
121
- path: [...i.path, "propertyNames"]
122
- })), a.additionalProperties = t(o.valueType, n, {
123
- ...i,
124
- path: [...i.path, "additionalProperties"]
125
- });
126
- let l = s._zod.values;
127
- if (l) {
220
+ i.patternProperties = {};
221
+ for (let t of c) u(i.patternProperties, E(t).source, e);
222
+ } else {
223
+ if (t.target === "draft-07" || t.target === "draft-2020-12") {
224
+ i.propertyNames = s(a.keyType, t, {
225
+ ...r,
226
+ path: [...r.path, "propertyNames"]
227
+ });
228
+ let n = U.get(t);
229
+ n || (n = [], U.set(t, n), t.deferred.push(() => W(t))), n.push(e);
230
+ }
231
+ i.additionalProperties = s(a.valueType, t, {
232
+ ...r,
233
+ path: [...r.path, "additionalProperties"]
234
+ });
235
+ }
236
+ let l = o._zod.values, d = t.io === "input" && R(a.valueType) !== void 0;
237
+ if (l && !a.partial && !d) {
128
238
  let e = [...l].filter((e) => typeof e == "string" || typeof e == "number");
129
- e.length > 0 && (a.required = e);
239
+ e.length > 0 && (i.required = e.map(String));
130
240
  }
131
- }, v = (e, n, r, i) => {
132
- let a = e._zod.def, o = t(a.innerType, n, i), s = n.seen.get(e);
133
- n.target === "openapi-3.0" ? (s.ref = a.innerType, r.nullable = !0) : r.anyOf = [o, { type: "null" }];
134
- }, y = (e, n, r, i) => {
135
- let a = e._zod.def;
136
- t(a.innerType, n, i);
137
- let o = n.seen.get(e);
138
- o.ref = a.innerType;
139
- }, b = (e, n, r, i) => {
140
- let a = e._zod.def;
141
- t(a.innerType, n, i);
142
- let o = n.seen.get(e);
143
- o.ref = a.innerType, r.default = JSON.parse(JSON.stringify(a.defaultValue));
144
- }, x = (e, n, r, i) => {
145
- let a = e._zod.def;
146
- t(a.innerType, n, i);
147
- let o = n.seen.get(e);
148
- o.ref = a.innerType, n.io === "input" && (r._prefault = JSON.parse(JSON.stringify(a.defaultValue)));
149
- }, S = (e, n, r, i) => {
150
- let a = e._zod.def;
151
- t(a.innerType, n, i);
152
- let o = n.seen.get(e);
153
- o.ref = a.innerType;
154
- let s;
241
+ }, K = (e, t, n, r) => {
242
+ let i = e._zod.def, a = s(i.innerType, t, r), o = t.seen.get(e);
243
+ t.target === "openapi-3.0" ? (o.ref = i.innerType, n.nullable = !0) : n.anyOf = [a, { type: "null" }];
244
+ }, q = (e, t, n, r) => {
245
+ let i = e._zod.def;
246
+ s(i.innerType, t, r);
247
+ let a = t.seen.get(e);
248
+ a.ref = i.innerType;
249
+ }, J = Symbol();
250
+ function Y(e, t, n, r, i) {
251
+ let a = !1, s = JSON.stringify(e, (e, t) => typeof t == "bigint" ? (a = !0, null) : t);
252
+ return a ? (o(t, n, r, i, "BigInt defaults cannot be represented in JSON Schema"), J) : JSON.parse(s);
253
+ }
254
+ var X = (e, t, n, r) => {
255
+ let i = e._zod.def;
256
+ s(i.innerType, t, r);
257
+ let a = t.seen.get(e);
258
+ a.ref = i.innerType;
259
+ let o = Y(i.defaultValue, e, t, n, r);
260
+ o !== J && (n.default = o);
261
+ }, Z = (e, t, n, r) => {
262
+ let i = e._zod.def;
263
+ s(i.innerType, t, r);
264
+ let a = t.seen.get(e);
265
+ if (a.ref = i.innerType, t.io !== "input") return;
266
+ let o = Y(i.defaultValue, e, t, n, r);
267
+ o !== J && (n._prefault = o);
268
+ }, Q = (e, t, n, r) => {
269
+ let i = e._zod.def;
270
+ s(i.innerType, t, r);
271
+ let a = t.seen.get(e);
272
+ a.ref = i.innerType;
273
+ let c;
155
274
  try {
156
- s = a.catchValue(void 0);
275
+ c = i.catchValue(void 0);
157
276
  } catch {
158
- throw Error("Dynamic catch values are not supported in JSON Schema");
277
+ o(e, t, n, r, "Dynamic catch values are not supported in JSON Schema");
278
+ return;
159
279
  }
160
- r.default = s;
161
- }, C = (e, n, r, i) => {
162
- let a = e._zod.def, o = a.in._zod.traits.has("$ZodTransform"), s = n.io === "input" ? o ? a.out : a.in : a.out;
163
- t(s, n, i);
164
- let c = n.seen.get(e);
165
- c.ref = s;
166
- }, w = (e, n, r, i) => {
167
- let a = e._zod.def;
168
- t(a.innerType, n, i);
169
- let o = n.seen.get(e);
170
- o.ref = a.innerType, r.readOnly = !0;
171
- }, T = (e, n, r, i) => {
172
- let a = e._zod.def;
173
- t(a.innerType, n, i);
174
- let o = n.seen.get(e);
175
- o.ref = a.innerType;
280
+ n.default = c;
281
+ }, $ = (e, t, n, r) => {
282
+ let i = e._zod.def, a = i.in._zod.traits.has("$ZodTransform"), o = t.io === "input" ? a ? i.out : i.in : i.out;
283
+ s(o, t, r);
284
+ let c = t.seen.get(e);
285
+ c.ref = o;
286
+ }, ee = (e, t, n, r) => {
287
+ let i = e._zod.def;
288
+ s(i.innerType, t, r);
289
+ let a = t.seen.get(e);
290
+ a.ref = i.innerType, n.readOnly = !0;
291
+ }, te = (e, t, n, r) => {
292
+ let i = e._zod.def;
293
+ s(i.innerType, t, r);
294
+ let a = t.seen.get(e);
295
+ a.ref = i.innerType;
176
296
  };
177
- //#endregion
178
- export { p as arrayProcessor, a as booleanProcessor, S as catchProcessor, d as customProcessor, b as defaultProcessor, l as enumProcessor, g as intersectionProcessor, u as literalProcessor, s as neverProcessor, y as nonoptionalProcessor, v as nullableProcessor, i as numberProcessor, m as objectProcessor, T as optionalProcessor, C as pipeProcessor, x as prefaultProcessor, w as readonlyProcessor, _ as recordProcessor, r as stringProcessor, f as transformProcessor, o as undefinedProcessor, h as unionProcessor, c as unknownProcessor };
297
+ export { C as aggregateChecks, L as arrayProcessor, k as booleanProcessor, Q as catchProcessor, F as customProcessor, X as defaultProcessor, N as enumProcessor, V as intersectionProcessor, P as literalProcessor, j as neverProcessor, q as nonoptionalProcessor, K as nullableProcessor, O as numberProcessor, z as objectProcessor, te as optionalProcessor, $ as pipeProcessor, Z as prefaultProcessor, ee as readonlyProcessor, G as recordProcessor, D as stringProcessor, I as transformProcessor, A as undefinedProcessor, B as unionProcessor, M as unknownProcessor };
179
298
 
180
299
  //# sourceMappingURL=json-schema-processors.js.map