@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,252 @@
1
+ import { useProductConsole as e } from "../../../providers/ProductConsoleProvider.js";
2
+ import { LoadingState as t } from "../../../shared/components/feedback/LoadingState.js";
3
+ import { ErrorState as n } from "../../../shared/components/feedback/ErrorState.js";
4
+ import { useDeleteProduct as r, useProducts as i } from "../hooks/useProducts.js";
5
+ import { ProductStatus as a } from "../types/index.js";
6
+ import { ProductStatusBadge as o } from "../components/ProductStatusBadge.js";
7
+ import { SearchInput as s } from "../../../shared/components/input/SearchInput.js";
8
+ import { exportToCsv as c } from "../../../shared/utils/exportUtils.js";
9
+ import { nativeConfirm as l, nativeImpact as u, nativeNotify as d } from "../../../../utils/nativeBridge.js";
10
+ import { useState as f } from "react";
11
+ import { Download as p, Eye as m, Plus as h, RefreshCw as g, SquarePen as _, Trash2 as v } from "lucide-react";
12
+ import { useI18n as y } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
13
+ import { jsx as b, jsxs as x } from "react/jsx-runtime";
14
+ import { PermissionGate as S } from "@burdenoff/fe-libs/shared/components";
15
+ //#region src/product-management/modules/products/pages/ProductsListPage.tsx
16
+ function C() {
17
+ let { navigate: C, basePath: w = "/products" } = e(), { t: T } = y(), E = (e, t) => {
18
+ let n = T(e);
19
+ return n === e ? t : n;
20
+ }, [D, O] = f(""), [k, A] = f({}), { products: j, loading: M, error: N, refetch: P } = i({
21
+ ...k,
22
+ search: D || void 0
23
+ }, { limit: 20 }), { deleteProduct: F, loading: I } = r(), L = async (e) => {
24
+ u("medium");
25
+ let t = E("products.confirmDeleteProduct", "Are you sure you want to delete this product?"), n = await l({
26
+ title: "Delete product",
27
+ message: t,
28
+ okButtonTitle: "Delete",
29
+ cancelButtonTitle: "Cancel"
30
+ });
31
+ if (n === null ? window.confirm(t) : n) try {
32
+ await F(e), d("success"), P();
33
+ } catch (e) {
34
+ d("error"), console.error("Failed to delete product:", e);
35
+ }
36
+ };
37
+ return M ? /* @__PURE__ */ b("div", {
38
+ className: "min-h-full bg-[var(--color-bg-canvas)] p-6",
39
+ children: /* @__PURE__ */ b(t, { message: E("products.loadingProducts", "Loading products...") })
40
+ }) : N ? /* @__PURE__ */ b("div", {
41
+ className: "min-h-full bg-[var(--color-bg-canvas)] p-6",
42
+ children: /* @__PURE__ */ b(n, {
43
+ message: N.message,
44
+ action: {
45
+ label: E("productCommon.retry", "Retry"),
46
+ onClick: () => P()
47
+ }
48
+ })
49
+ }) : /* @__PURE__ */ x("div", {
50
+ className: "min-h-full bg-[var(--color-bg-canvas)] p-6 animate-in fade-in duration-300",
51
+ children: [/* @__PURE__ */ x("div", {
52
+ className: "mb-6",
53
+ children: [/* @__PURE__ */ x("div", {
54
+ className: "flex items-center justify-between mb-4",
55
+ children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h1", {
56
+ className: "text-3xl font-bold text-text-primary mb-2",
57
+ children: E("products.title", "Products")
58
+ }), /* @__PURE__ */ b("p", {
59
+ className: "text-text-secondary",
60
+ children: E("products.subtitle", "Manage platform products and features")
61
+ })] }), /* @__PURE__ */ b(S, {
62
+ role: "super_admin",
63
+ children: /* @__PURE__ */ x("button", {
64
+ onClick: () => C(`${w}/new`),
65
+ className: "\n inline-flex items-center gap-2 px-4 py-2\n bg-[var(--color-action-primary-bg)]\n text-[var(--color-action-primary-text)]\n rounded-lg\n hover:opacity-90 hover:scale-[1.02]\n transition-all duration-200\n font-medium\n ",
66
+ children: [/* @__PURE__ */ b(h, { size: 20 }), E("products.createProduct", "Create Product")]
67
+ })
68
+ })]
69
+ }), /* @__PURE__ */ x("div", {
70
+ className: "flex gap-4",
71
+ children: [
72
+ /* @__PURE__ */ b(s, {
73
+ value: D,
74
+ onChange: O,
75
+ placeholder: E("products.searchPlaceholder", "Search products..."),
76
+ className: "flex-1"
77
+ }),
78
+ /* @__PURE__ */ x("select", {
79
+ value: k.status || "",
80
+ onChange: (e) => A({
81
+ ...k,
82
+ status: e.target.value ? e.target.value : void 0
83
+ }),
84
+ className: "\n px-4 py-2\n bg-surface\n border border-default\n rounded-lg\n text-text-primary\n focus:outline-none focus:ring-2 focus:ring-[var(--color-border-focus)]\n transition-all duration-200\n ",
85
+ children: [
86
+ /* @__PURE__ */ b("option", {
87
+ value: "",
88
+ children: E("products.allStatuses", "All Statuses")
89
+ }),
90
+ /* @__PURE__ */ b("option", {
91
+ value: a.ACTIVE,
92
+ children: E("products.statusActive", "Active")
93
+ }),
94
+ /* @__PURE__ */ b("option", {
95
+ value: a.DRAFT,
96
+ children: E("products.statusDraft", "Draft")
97
+ }),
98
+ /* @__PURE__ */ b("option", {
99
+ value: a.WAITLIST,
100
+ children: E("products.statusWaitlist", "Waitlist")
101
+ }),
102
+ /* @__PURE__ */ b("option", {
103
+ value: a.COMING_SOON,
104
+ children: E("products.statusComingSoon", "Coming Soon")
105
+ })
106
+ ]
107
+ }),
108
+ /* @__PURE__ */ b("button", {
109
+ onClick: () => P(),
110
+ className: "\n inline-flex items-center gap-2 px-4 py-2\n bg-surface\n text-text-primary\n border border-default\n rounded-lg\n hover:bg-muted\n transition-all duration-200\n ",
111
+ children: /* @__PURE__ */ b(g, { size: 18 })
112
+ }),
113
+ j.length > 0 && /* @__PURE__ */ b("button", {
114
+ onClick: () => c("products", j.map((e) => ({
115
+ id: e.id,
116
+ name: e.name,
117
+ slug: e.slug,
118
+ status: e.status,
119
+ description: e.description ?? "",
120
+ tags: (e.tags ?? []).join(", "),
121
+ website: e.website ?? "",
122
+ appUrl: e.appUrl ?? "",
123
+ createdAt: e.createdAt,
124
+ updatedAt: e.updatedAt
125
+ }))),
126
+ className: "\n inline-flex items-center gap-2 px-4 py-2\n bg-surface\n text-text-primary\n border border-default\n rounded-lg\n hover:bg-muted\n transition-all duration-200\n ",
127
+ title: E("products.exportCsv", "Export as CSV"),
128
+ children: /* @__PURE__ */ b(p, { size: 18 })
129
+ })
130
+ ]
131
+ })]
132
+ }), j.length === 0 ? /* @__PURE__ */ x("div", {
133
+ className: "bg-surface border border-default rounded-lg p-12 text-center animate-in fade-in duration-300",
134
+ children: [/* @__PURE__ */ b("p", {
135
+ className: "text-text-secondary mb-4",
136
+ children: E("products.noProductsFound", "No products found")
137
+ }), /* @__PURE__ */ x("button", {
138
+ onClick: () => C(`${w}/new`),
139
+ className: "\n inline-flex items-center gap-2 px-4 py-2\n bg-[var(--color-action-primary-bg)]\n text-[var(--color-action-primary-text)]\n rounded-lg\n hover:opacity-90 hover:scale-[1.02]\n transition-all duration-200\n font-medium\n ",
140
+ children: [/* @__PURE__ */ b(h, { size: 20 }), E("products.createProduct", "Create Product")]
141
+ })]
142
+ }) : /* @__PURE__ */ b("div", {
143
+ className: "bg-surface border border-default rounded-lg shadow-[var(--shadow-elevation-1)] overflow-hidden",
144
+ children: /* @__PURE__ */ x("table", {
145
+ className: "w-full",
146
+ children: [/* @__PURE__ */ b("thead", {
147
+ className: "bg-muted border-b border-default",
148
+ children: /* @__PURE__ */ x("tr", { children: [
149
+ /* @__PURE__ */ b("th", {
150
+ className: "text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
151
+ children: E("products.columnProduct", "Product")
152
+ }),
153
+ /* @__PURE__ */ b("th", {
154
+ className: "text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
155
+ children: E("products.columnStatus", "Status")
156
+ }),
157
+ /* @__PURE__ */ b("th", {
158
+ className: "text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
159
+ children: E("products.columnCategory", "Category")
160
+ }),
161
+ /* @__PURE__ */ b("th", {
162
+ className: "text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
163
+ children: E("products.columnVersion", "Version")
164
+ }),
165
+ /* @__PURE__ */ b("th", {
166
+ className: "text-right px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
167
+ children: E("products.columnActions", "Actions")
168
+ })
169
+ ] })
170
+ }), /* @__PURE__ */ b("tbody", {
171
+ className: "divide-y divide-[var(--color-border-default)]",
172
+ children: j.map((e) => /* @__PURE__ */ x("tr", {
173
+ className: "hover:bg-muted transition-all duration-200",
174
+ children: [
175
+ /* @__PURE__ */ b("td", {
176
+ className: "px-6 py-4",
177
+ children: /* @__PURE__ */ x("div", {
178
+ className: "flex items-center gap-3",
179
+ children: [e.logoUrl ? /* @__PURE__ */ b("img", {
180
+ src: e.logoUrl,
181
+ alt: e.name,
182
+ className: "w-10 h-10 rounded-lg object-cover"
183
+ }) : /* @__PURE__ */ b("div", {
184
+ className: "w-10 h-10 rounded-lg bg-[var(--color-status-warning-subtle)] flex items-center justify-center",
185
+ children: /* @__PURE__ */ b("span", {
186
+ className: "text-[var(--color-status-warning)] font-semibold",
187
+ children: e.name[0]
188
+ })
189
+ }), /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
190
+ className: "font-medium text-text-primary",
191
+ children: e.name
192
+ }), /* @__PURE__ */ x("p", {
193
+ className: "text-sm text-text-tertiary font-mono",
194
+ children: ["/", e.slug]
195
+ })] })]
196
+ })
197
+ }),
198
+ /* @__PURE__ */ b("td", {
199
+ className: "px-6 py-4",
200
+ children: /* @__PURE__ */ b(o, { status: e.status })
201
+ }),
202
+ /* @__PURE__ */ b("td", {
203
+ className: "px-6 py-4",
204
+ children: /* @__PURE__ */ b("span", {
205
+ className: "text-sm text-text-primary",
206
+ children: "—"
207
+ })
208
+ }),
209
+ /* @__PURE__ */ b("td", {
210
+ className: "px-6 py-4",
211
+ children: /* @__PURE__ */ b("span", {
212
+ className: "text-sm text-text-primary font-mono",
213
+ children: "—"
214
+ })
215
+ }),
216
+ /* @__PURE__ */ b("td", {
217
+ className: "px-6 py-4",
218
+ children: /* @__PURE__ */ x("div", {
219
+ className: "flex items-center justify-end gap-2",
220
+ children: [/* @__PURE__ */ b("button", {
221
+ onClick: () => C(`${w}/${e.id}`),
222
+ className: "p-2 rounded-lg text-text-secondary hover:bg-muted transition-all duration-200",
223
+ title: E("products.viewDetails", "View details"),
224
+ children: /* @__PURE__ */ b(m, { size: 18 })
225
+ }), /* @__PURE__ */ x(S, {
226
+ role: "super_admin",
227
+ children: [/* @__PURE__ */ b("button", {
228
+ onClick: () => C(`${w}/${e.id}/edit`),
229
+ className: "p-2 rounded-lg text-text-secondary hover:bg-muted transition-all duration-200",
230
+ title: E("products.edit", "Edit"),
231
+ children: /* @__PURE__ */ b(_, { size: 18 })
232
+ }), /* @__PURE__ */ b("button", {
233
+ onClick: () => L(e.id),
234
+ disabled: I,
235
+ className: "p-2 rounded-lg text-[var(--color-status-error)] hover:bg-[var(--color-status-error-subtle)] transition-all duration-200 disabled:opacity-50",
236
+ title: E("products.delete", "Delete"),
237
+ children: /* @__PURE__ */ b(v, { size: 18 })
238
+ })]
239
+ })]
240
+ })
241
+ })
242
+ ]
243
+ }, e.id))
244
+ })]
245
+ })
246
+ })]
247
+ });
248
+ }
249
+ //#endregion
250
+ export { C as ProductsListPage };
251
+
252
+ //# sourceMappingURL=ProductsListPage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProductsListPage.js","names":[],"sources":["../../../../../src/product-management/modules/products/pages/ProductsListPage.tsx"],"sourcesContent":["import { useState } from 'react';\nimport { Download, Plus, RefreshCw, Eye, SquarePen, Trash2 } from 'lucide-react';\nimport { useI18n } from '@burdenoff/fe-libs/shared/providers/shell/I18nProvider';\nimport { PermissionGate } from '@burdenoff/fe-libs/shared/components';\nimport { useProductConsole } from '../../../providers/ProductConsoleProvider';\nimport { useProducts, useDeleteProduct } from '../hooks/useProducts';\nimport { ProductStatusBadge } from '../components/ProductStatusBadge';\nimport { SearchInput } from '../../../shared/components/input/SearchInput';\nimport { LoadingState } from '../../../shared/components/feedback/LoadingState';\nimport { ErrorState } from '../../../shared/components/feedback/ErrorState';\nimport { exportToCsv } from '../../../shared/utils/exportUtils';\nimport type { ProductFilterInput } from '../types';\nimport { ProductStatus } from '../types';\nimport { nativeConfirm, nativeImpact, nativeNotify } from '../../../../utils/nativeBridge';\n\nexport function ProductsListPage() {\n const { navigate, basePath = '/products' } = useProductConsole();\n const { t } = useI18n();\n const tr = (key: string, fallback: string) => {\n const translated = t(key);\n return translated === key ? fallback : translated;\n };\n const [searchQuery, setSearchQuery] = useState('');\n const [filter, setFilter] = useState<ProductFilterInput>({});\n\n const { products, loading, error, refetch } = useProducts(\n { ...filter, search: searchQuery || undefined },\n { limit: 20 }\n );\n\n const { deleteProduct, loading: deleteLoading } = useDeleteProduct();\n\n const handleDelete = async (id: string) => {\n void nativeImpact('medium');\n const message = tr(\n 'products.confirmDeleteProduct',\n 'Are you sure you want to delete this product?'\n );\n const native = await nativeConfirm({\n title: 'Delete product',\n message,\n okButtonTitle: 'Delete',\n cancelButtonTitle: 'Cancel',\n });\n const ok = native === null ? window.confirm(message) : native;\n if (!ok) return;\n\n try {\n await deleteProduct(id);\n void nativeNotify('success');\n refetch();\n } catch (error) {\n void nativeNotify('error');\n console.error('Failed to delete product:', error);\n }\n };\n\n if (loading) {\n return (\n <div className=\"min-h-full bg-[var(--color-bg-canvas)] p-6\">\n <LoadingState message={tr('products.loadingProducts', 'Loading products...')} />\n </div>\n );\n }\n\n if (error) {\n return (\n <div className=\"min-h-full bg-[var(--color-bg-canvas)] p-6\">\n <ErrorState\n message={error.message}\n action={{\n label: tr('productCommon.retry', 'Retry'),\n onClick: () => refetch(),\n }}\n />\n </div>\n );\n }\n\n return (\n <div className=\"min-h-full bg-[var(--color-bg-canvas)] p-6 animate-in fade-in duration-300\">\n {/* Page Header */}\n <div className=\"mb-6\">\n <div className=\"flex items-center justify-between mb-4\">\n <div>\n <h1 className=\"text-3xl font-bold text-text-primary mb-2\">\n {tr('products.title', 'Products')}\n </h1>\n <p className=\"text-text-secondary\">\n {tr('products.subtitle', 'Manage platform products and features')}\n </p>\n </div>\n\n <PermissionGate role=\"super_admin\">\n <button\n onClick={() => navigate(`${basePath}/new`)}\n className=\"\n inline-flex items-center gap-2 px-4 py-2\n bg-[var(--color-action-primary-bg)]\n text-[var(--color-action-primary-text)]\n rounded-lg\n hover:opacity-90 hover:scale-[1.02]\n transition-all duration-200\n font-medium\n \"\n >\n <Plus size={20} />\n {tr('products.createProduct', 'Create Product')}\n </button>\n </PermissionGate>\n </div>\n\n {/* Search and Filters */}\n <div className=\"flex gap-4\">\n {/* Search */}\n <SearchInput\n value={searchQuery}\n onChange={setSearchQuery}\n placeholder={tr('products.searchPlaceholder', 'Search products...')}\n className=\"flex-1\"\n />\n\n {/* Status Filter */}\n <select\n value={filter.status || ''}\n onChange={(e) =>\n setFilter({\n ...filter,\n status: e.target.value\n ? (e.target.value as (typeof ProductStatus)[keyof typeof ProductStatus])\n : undefined,\n })\n }\n className=\"\n px-4 py-2\n bg-surface\n border border-default\n rounded-lg\n text-text-primary\n focus:outline-none focus:ring-2 focus:ring-[var(--color-border-focus)]\n transition-all duration-200\n \"\n >\n <option value=\"\">{tr('products.allStatuses', 'All Statuses')}</option>\n <option value={ProductStatus.ACTIVE}>{tr('products.statusActive', 'Active')}</option>\n <option value={ProductStatus.DRAFT}>{tr('products.statusDraft', 'Draft')}</option>\n <option value={ProductStatus.WAITLIST}>\n {tr('products.statusWaitlist', 'Waitlist')}\n </option>\n <option value={ProductStatus.COMING_SOON}>\n {tr('products.statusComingSoon', 'Coming Soon')}\n </option>\n </select>\n\n {/* Refresh */}\n <button\n onClick={() => refetch()}\n className=\"\n inline-flex items-center gap-2 px-4 py-2\n bg-surface\n text-text-primary\n border border-default\n rounded-lg\n hover:bg-muted\n transition-all duration-200\n \"\n >\n <RefreshCw size={18} />\n </button>\n\n {/* Export */}\n {products.length > 0 && (\n <button\n onClick={() =>\n exportToCsv(\n 'products',\n products.map((p) => ({\n id: p.id,\n name: p.name,\n slug: p.slug,\n status: p.status,\n description: p.description ?? '',\n tags: (p.tags ?? []).join(', '),\n website: p.website ?? '',\n appUrl: p.appUrl ?? '',\n createdAt: p.createdAt,\n updatedAt: p.updatedAt,\n }))\n )\n }\n className=\"\n inline-flex items-center gap-2 px-4 py-2\n bg-surface\n text-text-primary\n border border-default\n rounded-lg\n hover:bg-muted\n transition-all duration-200\n \"\n title={tr('products.exportCsv', 'Export as CSV')}\n >\n <Download size={18} />\n </button>\n )}\n </div>\n </div>\n\n {/* Products Table */}\n {products.length === 0 ? (\n <div className=\"bg-surface border border-default rounded-lg p-12 text-center animate-in fade-in duration-300\">\n <p className=\"text-text-secondary mb-4\">\n {tr('products.noProductsFound', 'No products found')}\n </p>\n <button\n onClick={() => navigate(`${basePath}/new`)}\n className=\"\n inline-flex items-center gap-2 px-4 py-2\n bg-[var(--color-action-primary-bg)]\n text-[var(--color-action-primary-text)]\n rounded-lg\n hover:opacity-90 hover:scale-[1.02]\n transition-all duration-200\n font-medium\n \"\n >\n <Plus size={20} />\n {tr('products.createProduct', 'Create Product')}\n </button>\n </div>\n ) : (\n <div className=\"bg-surface border border-default rounded-lg shadow-[var(--shadow-elevation-1)] overflow-hidden\">\n <table className=\"w-full\">\n <thead className=\"bg-muted border-b border-default\">\n <tr>\n <th className=\"text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase\">\n {tr('products.columnProduct', 'Product')}\n </th>\n <th className=\"text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase\">\n {tr('products.columnStatus', 'Status')}\n </th>\n <th className=\"text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase\">\n {tr('products.columnCategory', 'Category')}\n </th>\n <th className=\"text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase\">\n {tr('products.columnVersion', 'Version')}\n </th>\n <th className=\"text-right px-6 py-3 text-xs font-semibold text-text-secondary uppercase\">\n {tr('products.columnActions', 'Actions')}\n </th>\n </tr>\n </thead>\n <tbody className=\"divide-y divide-[var(--color-border-default)]\">\n {products.map((product) => (\n <tr key={product.id} className=\"hover:bg-muted transition-all duration-200\">\n <td className=\"px-6 py-4\">\n <div className=\"flex items-center gap-3\">\n {product.logoUrl ? (\n <img\n src={product.logoUrl}\n alt={product.name}\n className=\"w-10 h-10 rounded-lg object-cover\"\n />\n ) : (\n <div className=\"w-10 h-10 rounded-lg bg-[var(--color-status-warning-subtle)] flex items-center justify-center\">\n <span className=\"text-[var(--color-status-warning)] font-semibold\">\n {product.name[0]}\n </span>\n </div>\n )}\n <div>\n <p className=\"font-medium text-text-primary\">{product.name}</p>\n <p className=\"text-sm text-text-tertiary font-mono\">/{product.slug}</p>\n </div>\n </div>\n </td>\n <td className=\"px-6 py-4\">\n <ProductStatusBadge status={product.status} />\n </td>\n <td className=\"px-6 py-4\">\n <span className=\"text-sm text-text-primary\">—</span>\n </td>\n <td className=\"px-6 py-4\">\n <span className=\"text-sm text-text-primary font-mono\">—</span>\n </td>\n <td className=\"px-6 py-4\">\n <div className=\"flex items-center justify-end gap-2\">\n <button\n onClick={() => navigate(`${basePath}/${product.id}`)}\n className=\"p-2 rounded-lg text-text-secondary hover:bg-muted transition-all duration-200\"\n title={tr('products.viewDetails', 'View details')}\n >\n <Eye size={18} />\n </button>\n <PermissionGate role=\"super_admin\">\n <button\n onClick={() => navigate(`${basePath}/${product.id}/edit`)}\n className=\"p-2 rounded-lg text-text-secondary hover:bg-muted transition-all duration-200\"\n title={tr('products.edit', 'Edit')}\n >\n <SquarePen size={18} />\n </button>\n <button\n onClick={() => handleDelete(product.id)}\n disabled={deleteLoading}\n className=\"p-2 rounded-lg text-[var(--color-status-error)] hover:bg-[var(--color-status-error-subtle)] transition-all duration-200 disabled:opacity-50\"\n title={tr('products.delete', 'Delete')}\n >\n <Trash2 size={18} />\n </button>\n </PermissionGate>\n </div>\n </td>\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;AAeA,SAAgB,IAAmB;CACjC,IAAM,EAAE,aAAU,cAAW,gBAAgB,GAAmB,EAC1D,EAAE,SAAM,GAAS,EACjB,KAAM,GAAa,MAAqB;EAC5C,IAAM,IAAa,EAAE,EAAI;AACzB,SAAO,MAAe,IAAM,IAAW;IAEnC,CAAC,GAAa,KAAkB,EAAS,GAAG,EAC5C,CAAC,GAAQ,KAAa,EAA6B,EAAE,CAAC,EAEtD,EAAE,aAAU,YAAS,UAAO,e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AAS,CAAA,EAC/D,kBAAC,KAAD;UAAG,WAAU;oBAAb,CAAoD,KAAE,EAAQ,KAAS;YACnE,EAAA,CAAA,CACF;;QACH,CAAA;OACL,kBAAC,MAAD;QAAI,WAAU;kBACZ,kBAAC,GAAD,EAAoB,QAAQ,EAAQ,QAAU,CAAA;QAC3C,CAAA;OACL,kBAAC,MAAD;QAAI,WAAU;kBACZ,kBAAC,QAAD;SAAM,WAAU;mBAA4B;SAAQ,CAAA;QACjD,CAAA;OACL,kBAAC,MAAD;QAAI,WAAU;kBACZ,kBAAC,QAAD;SAAM,WAAU;mBAAsC;SAAQ,CAAA;QAC3D,CAAA;OACL,kBAAC,MAAD;QAAI,WAAU;kBACZ,kBAAC,OAAD;SAAK,WAAU;mBAAf,CACE,kBAAC,UAAD;UACE,eAAe,EAAS,GAAG,EAAS,GAAG,EAAQ,KAAK;UACpD,WAAU;UACV,OAAO,EAAG,wBAAwB,eAAe;oBAEjD,kBAAC,GAAD,EAAK,MAAM,IAAM,CAAA;UACV,CAAA,EACT,kBAAC,GAAD;UAAgB,MAAK;oBAArB,CACE,kBAAC,UAAD;WACE,eAAe,EAAS,GAAG,EAAS,GAAG,EAAQ,GAAG,OAAO;WACzD,WAAU;WACV,OAAO,EAAG,iBAAiB,OAAO;qBAElC,kBAAC,GAAD,EAAW,MAAM,IAAM,CAAA;WAChB,CAAA,EACT,kBAAC,UAAD;WACE,eAAe,EAAa,EAAQ,GAAG;WACvC,UAAU;WACV,WAAU;WACV,OAAO,EAAG,mBAAmB,SAAS;qBAEtC,kBAAC,GAAD,EAAQ,MAAM,IAAM,CAAA;WACb,CAAA,CACM;YACb;;QACH,CAAA;OACF;QA3DI,EAAQ,GA2DZ,CACL;KACI,CAAA,CACF;;GACJ,CAAA,CAEJ"}
@@ -0,0 +1,59 @@
1
+ import { z } from 'zod';
2
+ export declare const createProductSchema: z.ZodObject<{
3
+ name: z.ZodString;
4
+ slug: z.ZodString;
5
+ description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
6
+ status: z.ZodOptional<z.ZodEnum<{
7
+ ACTIVE: "ACTIVE";
8
+ COMING_SOON: "COMING_SOON";
9
+ DRAFT: "DRAFT";
10
+ WAITLIST: "WAITLIST";
11
+ }>>;
12
+ logoUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
13
+ website: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
14
+ appUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
15
+ docsUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
16
+ githubUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
17
+ statusPageUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
18
+ contactEmail: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
19
+ supportEmail: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
20
+ contactPhone: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
21
+ contactAddress: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
22
+ seoTitle: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
23
+ seoDescription: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
24
+ seoKeywords: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
25
+ ogImage: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
26
+ appStoreUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
27
+ playStoreUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
28
+ socialLinks: z.ZodUnion<[z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodUndefined]>;
29
+ }, z.core.$strip>;
30
+ export declare const updateProductSchema: z.ZodObject<{
31
+ name: z.ZodOptional<z.ZodString>;
32
+ description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
33
+ status: z.ZodOptional<z.ZodEnum<{
34
+ ACTIVE: "ACTIVE";
35
+ COMING_SOON: "COMING_SOON";
36
+ DRAFT: "DRAFT";
37
+ WAITLIST: "WAITLIST";
38
+ }>>;
39
+ logoUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
40
+ website: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
41
+ appUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
42
+ docsUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
43
+ githubUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
44
+ statusPageUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
45
+ contactEmail: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
46
+ supportEmail: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
47
+ contactPhone: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
48
+ contactAddress: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
49
+ seoTitle: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
50
+ seoDescription: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
51
+ seoKeywords: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
52
+ ogImage: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
53
+ appStoreUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
54
+ playStoreUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
55
+ socialLinks: z.ZodUnion<[z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodUndefined]>;
56
+ }, z.core.$strip>;
57
+ export type CreateProductFormData = z.infer<typeof createProductSchema>;
58
+ export type UpdateProductFormData = z.infer<typeof updateProductSchema>;
59
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/products/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA8ExB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAsB9B,CAAC;AAGH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqB9B,CAAC;AAGH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACxE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
@@ -0,0 +1,73 @@
1
+ import { ProductStatus as e } from "../types/index.js";
2
+ import { _undefined as t, literal as n, nativeEnum as r, object as i, record as a, string as o } from "../../../../node_modules/zod/v4/classic/schemas.js";
3
+ //#region src/product-management/modules/products/schemas/index.ts
4
+ var s = o().url("Must be a valid URL").optional().or(n("")), c = o().email("Must be a valid email address").optional().or(n("")), l = {
5
+ name: o().min(2, "Name must be at least 2 characters").max(100, "Name must not exceed 100 characters").trim(),
6
+ slug: o().min(2, "Slug must be at least 2 characters").max(50, "Slug must not exceed 50 characters").regex(/^[a-z0-9-]+$/, "Slug must contain only lowercase letters, numbers, and hyphens").trim(),
7
+ description: o().max(1e3, "Description must not exceed 1000 characters").optional().or(n("")),
8
+ status: r(e),
9
+ logoUrl: s,
10
+ website: s,
11
+ appUrl: s,
12
+ docsUrl: s,
13
+ githubUrl: s,
14
+ statusPageUrl: s,
15
+ contactEmail: c,
16
+ supportEmail: c,
17
+ contactPhone: o().max(30, "Phone number must not exceed 30 characters").optional().or(n("")),
18
+ contactAddress: o().max(500, "Address must not exceed 500 characters").optional().or(n("")),
19
+ seoTitle: o().max(100, "SEO title must not exceed 100 characters").optional().or(n("")),
20
+ seoDescription: o().max(300, "SEO description must not exceed 300 characters").optional().or(n("")),
21
+ seoKeywords: o().max(200, "SEO keywords must not exceed 200 characters").optional().or(n("")),
22
+ ogImage: s,
23
+ appStoreUrl: s,
24
+ playStoreUrl: s,
25
+ socialLinks: a(o(), o()).optional().or(t())
26
+ }, u = i({
27
+ name: l.name,
28
+ slug: l.slug,
29
+ description: l.description,
30
+ status: l.status.optional(),
31
+ logoUrl: l.logoUrl,
32
+ website: l.website,
33
+ appUrl: l.appUrl,
34
+ docsUrl: l.docsUrl,
35
+ githubUrl: l.githubUrl,
36
+ statusPageUrl: l.statusPageUrl,
37
+ contactEmail: l.contactEmail,
38
+ supportEmail: l.supportEmail,
39
+ contactPhone: l.contactPhone,
40
+ contactAddress: l.contactAddress,
41
+ seoTitle: l.seoTitle,
42
+ seoDescription: l.seoDescription,
43
+ seoKeywords: l.seoKeywords,
44
+ ogImage: l.ogImage,
45
+ appStoreUrl: l.appStoreUrl,
46
+ playStoreUrl: l.playStoreUrl,
47
+ socialLinks: l.socialLinks
48
+ }), d = i({
49
+ name: l.name.optional(),
50
+ description: l.description,
51
+ status: l.status.optional(),
52
+ logoUrl: l.logoUrl,
53
+ website: l.website,
54
+ appUrl: l.appUrl,
55
+ docsUrl: l.docsUrl,
56
+ githubUrl: l.githubUrl,
57
+ statusPageUrl: l.statusPageUrl,
58
+ contactEmail: l.contactEmail,
59
+ supportEmail: l.supportEmail,
60
+ contactPhone: l.contactPhone,
61
+ contactAddress: l.contactAddress,
62
+ seoTitle: l.seoTitle,
63
+ seoDescription: l.seoDescription,
64
+ seoKeywords: l.seoKeywords,
65
+ ogImage: l.ogImage,
66
+ appStoreUrl: l.appStoreUrl,
67
+ playStoreUrl: l.playStoreUrl,
68
+ socialLinks: l.socialLinks
69
+ });
70
+ //#endregion
71
+ export { u as createProductSchema, d as updateProductSchema };
72
+
73
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../../src/product-management/modules/products/schemas/index.ts"],"sourcesContent":["import { z } from 'zod';\nimport { ProductStatus } from '../types';\n\n/**\n * Product Validation Schemas\n * Zod schemas for validating product form inputs\n * Aligned with backend PlatformProduct schema\n */\n\n// URL validation helper - allows empty string or valid URL\nconst optionalUrl = z.string().url('Must be a valid URL').optional().or(z.literal(''));\n\n// Email validation helper - allows empty string or valid email\nconst optionalEmail = z\n .string()\n .email('Must be a valid email address')\n .optional()\n .or(z.literal(''));\n\n// Base product schema with common fields\nconst baseProductSchema = {\n name: z\n .string()\n .min(2, 'Name must be at least 2 characters')\n .max(100, 'Name must not exceed 100 characters')\n .trim(),\n slug: z\n .string()\n .min(2, 'Slug must be at least 2 characters')\n .max(50, 'Slug must not exceed 50 characters')\n .regex(/^[a-z0-9-]+$/, 'Slug must contain only lowercase letters, numbers, and hyphens')\n .trim(),\n description: z\n .string()\n .max(1000, 'Description must not exceed 1000 characters')\n .optional()\n .or(z.literal('')),\n status: z.nativeEnum(ProductStatus),\n logoUrl: optionalUrl,\n website: optionalUrl,\n appUrl: optionalUrl,\n docsUrl: optionalUrl,\n githubUrl: optionalUrl,\n statusPageUrl: optionalUrl,\n contactEmail: optionalEmail,\n supportEmail: optionalEmail,\n contactPhone: z\n .string()\n .max(30, 'Phone number must not exceed 30 characters')\n .optional()\n .or(z.literal('')),\n contactAddress: z\n .string()\n .max(500, 'Address must not exceed 500 characters')\n .optional()\n .or(z.literal('')),\n seoTitle: z\n .string()\n .max(100, 'SEO title must not exceed 100 characters')\n .optional()\n .or(z.literal('')),\n seoDescription: z\n .string()\n .max(300, 'SEO description must not exceed 300 characters')\n .optional()\n .or(z.literal('')),\n seoKeywords: z\n .string()\n .max(200, 'SEO keywords must not exceed 200 characters')\n .optional()\n .or(z.literal('')),\n ogImage: optionalUrl,\n appStoreUrl: optionalUrl,\n playStoreUrl: optionalUrl,\n socialLinks: z.record(z.string(), z.string()).optional().or(z.undefined()),\n};\n\n// Create Product Schema\nexport const createProductSchema = z.object({\n name: baseProductSchema.name,\n slug: baseProductSchema.slug,\n description: baseProductSchema.description,\n status: baseProductSchema.status.optional(),\n logoUrl: baseProductSchema.logoUrl,\n website: baseProductSchema.website,\n appUrl: baseProductSchema.appUrl,\n docsUrl: baseProductSchema.docsUrl,\n githubUrl: baseProductSchema.githubUrl,\n statusPageUrl: baseProductSchema.statusPageUrl,\n contactEmail: baseProductSchema.contactEmail,\n supportEmail: baseProductSchema.supportEmail,\n contactPhone: baseProductSchema.contactPhone,\n contactAddress: baseProductSchema.contactAddress,\n seoTitle: baseProductSchema.seoTitle,\n seoDescription: baseProductSchema.seoDescription,\n seoKeywords: baseProductSchema.seoKeywords,\n ogImage: baseProductSchema.ogImage,\n appStoreUrl: baseProductSchema.appStoreUrl,\n playStoreUrl: baseProductSchema.playStoreUrl,\n socialLinks: baseProductSchema.socialLinks,\n});\n\n// Update Product Schema (all fields optional except name)\nexport const updateProductSchema = z.object({\n name: baseProductSchema.name.optional(),\n description: baseProductSchema.description,\n status: baseProductSchema.status.optional(),\n logoUrl: baseProductSchema.logoUrl,\n website: baseProductSchema.website,\n appUrl: baseProductSchema.appUrl,\n docsUrl: baseProductSchema.docsUrl,\n githubUrl: baseProductSchema.githubUrl,\n statusPageUrl: baseProductSchema.statusPageUrl,\n contactEmail: baseProductSchema.contactEmail,\n supportEmail: baseProductSchema.supportEmail,\n contactPhone: baseProductSchema.contactPhone,\n contactAddress: baseProductSchema.contactAddress,\n seoTitle: baseProductSchema.seoTitle,\n seoDescription: baseProductSchema.seoDescription,\n seoKeywords: baseProductSchema.seoKeywords,\n ogImage: baseProductSchema.ogImage,\n appStoreUrl: baseProductSchema.appStoreUrl,\n playStoreUrl: baseProductSchema.playStoreUrl,\n socialLinks: baseProductSchema.socialLinks,\n});\n\n// Type exports\nexport type CreateProductFormData = z.infer<typeof createProductSchema>;\nexport type UpdateProductFormData = z.infer<typeof updateProductSchema>;\n"],"mappings":";;;AAUA,IAAM,IAAc,GAAU,CAAC,IAAI,sBAAsB,CAAC,UAAU,CAAC,GAAG,EAAU,GAAG,CAAC,EAGhF,IAAgB,GACX,CACR,MAAM,gCAAgC,CACtC,UAAU,CACV,GAAG,EAAU,GAAG,CAAC,EAGd,IAAoB;CACxB,MAAM,GACK,CACR,IAAI,GAAG,qCAAqC,CAC5C,IAAI,KAAK,sCAAsC,CAC/C,MAAM;CACT,MAAM,GACK,CACR,IAAI,GAAG,qCAAqC,CAC5C,IAAI,IAAI,qCAAqC,CAC7C,MAAM,gBAAgB,iEAAiE,CACvF,MAAM;CACT,aAAa,GACF,CACR,IAAI,KAAM,8CAA8C,CACxD,UAAU,CACV,GAAG,EAAU,GAAG,CAAC;CACpB,QAAQ,EAAa,EAAc;CACnC,SAAS;CACT,SAAS;CACT,QAAQ;CACR,SAAS;CACT,WAAW;CACX,eAAe;CACf,cAAc;CACd,cAAc;CACd,cAAc,GACH,CACR,IAAI,IAAI,6CAA6C,CACrD,UAAU,CACV,GAAG,EAAU,GAAG,CAAC;CACpB,gBAAgB,GACL,CACR,IAAI,KAAK,yCAAyC,CAClD,UAAU,CACV,GAAG,EAAU,GAAG,CAAC;CACpB,UAAU,GACC,CACR,IAAI,KAAK,2CAA2C,CACpD,UAAU,CACV,GAAG,EAAU,GAAG,CAAC;CACpB,gBAAgB,GACL,CACR,IAAI,KAAK,iDAAiD,CAC1D,UAAU,CACV,GAAG,EAAU,GAAG,CAAC;CACpB,aAAa,GACF,CACR,IAAI,KAAK,8CAA8C,CACvD,UAAU,CACV,GAAG,EAAU,GAAG,CAAC;CACpB,SAAS;CACT,aAAa;CACb,cAAc;CACd,aAAa,EAAS,GAAU,EAAE,GAAU,CAAC,CAAC,UAAU,CAAC,GAAG,GAAa,CAAC;CAC3E,EAGY,IAAsB,EAAS;CAC1C,MAAM,EAAkB;CACxB,MAAM,EAAkB;CACxB,aAAa,EAAkB;CAC/B,QAAQ,EAAkB,OAAO,UAAU;CAC3C,SAAS,EAAkB;CAC3B,SAAS,EAAkB;CAC3B,QAAQ,EAAkB;CAC1B,SAAS,EAAkB;CAC3B,WAAW,EAAkB;CAC7B,eAAe,EAAkB;CACjC,cAAc,EAAkB;CAChC,cAAc,EAAkB;CAChC,cAAc,EAAkB;CAChC,gBAAgB,EAAkB;CAClC,UAAU,EAAkB;CAC5B,gBAAgB,EAAkB;CAClC,aAAa,EAAkB;CAC/B,SAAS,EAAkB;CAC3B,aAAa,EAAkB;CAC/B,cAAc,EAAkB;CAChC,aAAa,EAAkB;CAChC,CAAC,EAGW,IAAsB,EAAS;CAC1C,MAAM,EAAkB,KAAK,UAAU;CACvC,aAAa,EAAkB;CAC/B,QAAQ,EAAkB,OAAO,UAAU;CAC3C,SAAS,EAAkB;CAC3B,SAAS,EAAkB;CAC3B,QAAQ,EAAkB;CAC1B,SAAS,EAAkB;CAC3B,WAAW,EAAkB;CAC7B,eAAe,EAAkB;CACjC,cAAc,EAAkB;CAChC,cAAc,EAAkB;CAChC,cAAc,EAAkB;CAChC,gBAAgB,EAAkB;CAClC,UAAU,EAAkB;CAC5B,gBAAgB,EAAkB;CAClC,aAAa,EAAkB;CAC/B,SAAS,EAAkB;CAC3B,aAAa,EAAkB;CAC/B,cAAc,EAAkB;CAChC,aAAa,EAAkB;CAChC,CAAC"}
@@ -0,0 +1,112 @@
1
+ /**
2
+ * Products Module Types
3
+ * Aligned with backend PlatformProduct schema
4
+ */
5
+ export type PlatformProductStatus = 'ACTIVE' | 'COMING_SOON' | 'DRAFT' | 'WAITLIST';
6
+ export declare const ProductStatus: {
7
+ ACTIVE: "ACTIVE";
8
+ COMING_SOON: "COMING_SOON";
9
+ DRAFT: "DRAFT";
10
+ WAITLIST: "WAITLIST";
11
+ };
12
+ export interface PlatformProduct {
13
+ id: string;
14
+ name: string;
15
+ slug: string;
16
+ description?: string | null;
17
+ status: PlatformProductStatus;
18
+ logoUrl?: string | null;
19
+ website?: string | null;
20
+ appUrl?: string | null;
21
+ docsUrl?: string | null;
22
+ githubUrl?: string | null;
23
+ statusPageUrl?: string | null;
24
+ contactEmail?: string | null;
25
+ supportEmail?: string | null;
26
+ contactPhone?: string | null;
27
+ contactAddress?: string | null;
28
+ seoTitle?: string | null;
29
+ seoDescription?: string | null;
30
+ seoKeywords?: string | null;
31
+ ogImage?: string | null;
32
+ appStoreUrl?: string | null;
33
+ playStoreUrl?: string | null;
34
+ socialLinks?: Record<string, string> | null;
35
+ recaptchaSiteKey?: string | null;
36
+ tenantCount: number;
37
+ activeUsers: number;
38
+ apiCalls: number;
39
+ storageGB: number;
40
+ uptime: number;
41
+ tags: string[];
42
+ metadata?: Record<string, unknown> | null;
43
+ createdAt: string;
44
+ updatedAt: string;
45
+ }
46
+ export type Product = PlatformProduct;
47
+ export interface ProductFilterInput {
48
+ status?: PlatformProductStatus;
49
+ search?: string;
50
+ }
51
+ export interface CreateProductInput {
52
+ name: string;
53
+ slug: string;
54
+ description?: string;
55
+ status?: PlatformProductStatus;
56
+ logoUrl?: string;
57
+ website?: string;
58
+ appUrl?: string;
59
+ docsUrl?: string;
60
+ githubUrl?: string;
61
+ statusPageUrl?: string;
62
+ contactEmail?: string;
63
+ supportEmail?: string;
64
+ contactPhone?: string;
65
+ contactAddress?: string;
66
+ seoTitle?: string;
67
+ seoDescription?: string;
68
+ seoKeywords?: string;
69
+ ogImage?: string;
70
+ appStoreUrl?: string;
71
+ playStoreUrl?: string;
72
+ socialLinks?: Record<string, string>;
73
+ tags?: string[];
74
+ recaptchaSiteKey?: string;
75
+ recaptchaSecretKey?: string;
76
+ }
77
+ export interface UpdateProductInput {
78
+ name?: string;
79
+ description?: string;
80
+ status?: PlatformProductStatus;
81
+ logoUrl?: string;
82
+ website?: string;
83
+ appUrl?: string;
84
+ docsUrl?: string;
85
+ githubUrl?: string;
86
+ statusPageUrl?: string;
87
+ contactEmail?: string;
88
+ supportEmail?: string;
89
+ contactPhone?: string;
90
+ contactAddress?: string;
91
+ seoTitle?: string;
92
+ seoDescription?: string;
93
+ seoKeywords?: string;
94
+ ogImage?: string;
95
+ appStoreUrl?: string;
96
+ playStoreUrl?: string;
97
+ socialLinks?: Record<string, string>;
98
+ tags?: string[];
99
+ recaptchaSiteKey?: string;
100
+ recaptchaSecretKey?: string;
101
+ tenantCount?: number;
102
+ activeUsers?: number;
103
+ apiCalls?: number;
104
+ storageGB?: number;
105
+ uptime?: number;
106
+ }
107
+ export interface ProductsConnection {
108
+ items: PlatformProduct[];
109
+ total: number;
110
+ hasMore: boolean;
111
+ }
112
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/products/types/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,MAAM,MAAM,qBAAqB,GAAG,QAAQ,GAAG,aAAa,GAAG,OAAO,GAAG,UAAU,CAAC;AAGpF,eAAO,MAAM,aAAa;;;;;CAKzB,CAAC;AAGF,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,MAAM,EAAE,qBAAqB,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,CA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MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAGD,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;CAClB"}
@@ -0,0 +1,11 @@
1
+ //#region src/product-management/modules/products/types/index.ts
2
+ var e = {
3
+ ACTIVE: "ACTIVE",
4
+ COMING_SOON: "COMING_SOON",
5
+ DRAFT: "DRAFT",
6
+ WAITLIST: "WAITLIST"
7
+ };
8
+ //#endregion
9
+ export { e as ProductStatus };
10
+
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../../src/product-management/modules/products/types/index.ts"],"sourcesContent":["/**\n * Products Module Types\n * Aligned with backend PlatformProduct schema\n */\n\n// Platform Product Status enum matching backend\nexport type PlatformProductStatus = 'ACTIVE' | 'COMING_SOON' | 'DRAFT' | 'WAITLIST';\n\n// Status enum object for runtime use\nexport const ProductStatus = {\n ACTIVE: 'ACTIVE' as const,\n COMING_SOON: 'COMING_SOON' as const,\n DRAFT: 'DRAFT' as const,\n WAITLIST: 'WAITLIST' as const,\n};\n\n// Platform Product type matching backend schema\nexport interface PlatformProduct {\n id: string;\n name: string;\n slug: string;\n description?: string | null;\n status: PlatformProductStatus;\n logoUrl?: string | null;\n website?: string | null;\n appUrl?: string | null;\n docsUrl?: string | null;\n githubUrl?: string | null;\n statusPageUrl?: string | null;\n contactEmail?: string | null;\n supportEmail?: string | null;\n contactPhone?: string | null;\n contactAddress?: string | null;\n seoTitle?: string | null;\n seoDescription?: string | null;\n seoKeywords?: string | null;\n ogImage?: string | null;\n appStoreUrl?: string | null;\n playStoreUrl?: string | null;\n socialLinks?: Record<string, string> | null;\n recaptchaSiteKey?: string | null;\n tenantCount: number;\n activeUsers: number;\n apiCalls: number;\n storageGB: number;\n uptime: number;\n tags: string[];\n metadata?: Record<string, unknown> | null;\n createdAt: string;\n updatedAt: string;\n}\n\n// Alias for convenience\nexport type Product = PlatformProduct;\n\n// Filter types matching backend PlatformProductFilterInput\nexport interface ProductFilterInput {\n status?: PlatformProductStatus;\n search?: string;\n}\n\n// Input types matching backend CreatePlatformProductInput\nexport interface CreateProductInput {\n name: string;\n slug: string;\n description?: string;\n status?: PlatformProductStatus;\n logoUrl?: string;\n website?: string;\n appUrl?: string;\n docsUrl?: string;\n githubUrl?: string;\n statusPageUrl?: string;\n contactEmail?: string;\n supportEmail?: string;\n contactPhone?: string;\n contactAddress?: string;\n seoTitle?: string;\n seoDescription?: string;\n seoKeywords?: string;\n ogImage?: string;\n appStoreUrl?: string;\n playStoreUrl?: string;\n socialLinks?: Record<string, string>;\n tags?: string[];\n recaptchaSiteKey?: string;\n recaptchaSecretKey?: string;\n}\n\n// Update input matching backend UpdatePlatformProductInput\nexport interface UpdateProductInput {\n name?: string;\n description?: string;\n status?: PlatformProductStatus;\n logoUrl?: string;\n website?: string;\n appUrl?: string;\n docsUrl?: string;\n githubUrl?: string;\n statusPageUrl?: string;\n contactEmail?: string;\n supportEmail?: string;\n contactPhone?: string;\n contactAddress?: string;\n seoTitle?: string;\n seoDescription?: string;\n seoKeywords?: string;\n ogImage?: string;\n appStoreUrl?: string;\n playStoreUrl?: string;\n socialLinks?: Record<string, string>;\n tags?: string[];\n recaptchaSiteKey?: string;\n recaptchaSecretKey?: string;\n tenantCount?: number;\n activeUsers?: number;\n apiCalls?: number;\n storageGB?: number;\n uptime?: number;\n}\n\n// Connection type matching backend PlatformProductList\nexport interface ProductsConnection {\n items: PlatformProduct[];\n total: number;\n hasMore: boolean;\n}\n"],"mappings":";AASA,IAAa,IAAgB;CAC3B,QAAQ;CACR,aAAa;CACb,OAAO;CACP,UAAU;CACX"}
@@ -0,0 +1,6 @@
1
+ interface ShortcutCategoryBadgeProps {
2
+ category: string;
3
+ }
4
+ export declare function ShortcutCategoryBadge({ category }: ShortcutCategoryBadgeProps): import("react/jsx-runtime").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=ShortcutCategoryBadge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShortcutCategoryBadge.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/shortcuts/components/ShortcutCategoryBadge.tsx"],"names":[],"mappings":"AAAA,UAAU,0BAA0B;IAClC,QAAQ,EAAE,MAAM,CAAC;CAClB;AA6BD,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,EAAE,0BAA0B,2CAiB7E"}