@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,4 @@
1
+ import "./hooks/useTr.js";
2
+ import "./components/feedback/LoadingState.js";
3
+ import "./components/feedback/ErrorState.js";
4
+ import "./components/feedback/EmptyState.js";
@@ -0,0 +1,119 @@
1
+ /**
2
+ * Shared GraphQL types
3
+ * Generated types will be added via GraphQL Codegen
4
+ */
5
+ export interface PageInfo {
6
+ totalCount: number;
7
+ hasNextPage: boolean;
8
+ hasPreviousPage: boolean;
9
+ startCursor?: string;
10
+ endCursor?: string;
11
+ }
12
+ export interface PaginationInput {
13
+ first?: number;
14
+ after?: string;
15
+ last?: number;
16
+ before?: string;
17
+ }
18
+ export interface Connection<T> {
19
+ items: T[];
20
+ pageInfo: PageInfo;
21
+ }
22
+ export declare enum TenantStatus {
23
+ ACTIVE = "ACTIVE",
24
+ INACTIVE = "INACTIVE",
25
+ SUSPENDED = "SUSPENDED"
26
+ }
27
+ export declare enum OrganizationStatus {
28
+ ACTIVE = "ACTIVE",
29
+ INACTIVE = "INACTIVE",
30
+ ARCHIVED = "ARCHIVED"
31
+ }
32
+ export declare enum WorkspaceStatus {
33
+ ACTIVE = "ACTIVE",
34
+ INACTIVE = "INACTIVE",
35
+ ARCHIVED = "ARCHIVED"
36
+ }
37
+ export declare enum WorkspaceVisibility {
38
+ PRIVATE = "PRIVATE",
39
+ PUBLIC = "PUBLIC",
40
+ INTERNAL = "INTERNAL"
41
+ }
42
+ export declare enum OrganizationRole {
43
+ OWNER = "OWNER",
44
+ ADMIN = "ADMIN",
45
+ MEMBER = "MEMBER",
46
+ VIEWER = "VIEWER"
47
+ }
48
+ export declare enum WorkspaceRole {
49
+ ADMIN = "ADMIN",
50
+ MEMBER = "MEMBER",
51
+ VIEWER = "VIEWER"
52
+ }
53
+ export declare enum ProductStatus {
54
+ ACTIVE = "ACTIVE",
55
+ BETA = "BETA",
56
+ DEPRECATED = "DEPRECATED",
57
+ COMING_SOON = "COMING_SOON"
58
+ }
59
+ export interface Tenant {
60
+ id: string;
61
+ name: string;
62
+ slug: string;
63
+ status: TenantStatus;
64
+ subscriptionTier?: string;
65
+ billingAccountId?: string;
66
+ customDomain?: string;
67
+ logoUrl?: string;
68
+ metadata?: Record<string, unknown>;
69
+ createdAt: string;
70
+ updatedAt: string;
71
+ organizations?: Organization[];
72
+ products?: PlatformProduct[];
73
+ }
74
+ export interface Organization {
75
+ id: string;
76
+ tenantId: string;
77
+ name: string;
78
+ slug: string;
79
+ description?: string;
80
+ logoUrl?: string;
81
+ website?: string;
82
+ industry?: string;
83
+ size?: string;
84
+ status: OrganizationStatus;
85
+ metadata?: Record<string, unknown>;
86
+ createdAt: string;
87
+ updatedAt: string;
88
+ _count?: {
89
+ workspaces?: number;
90
+ };
91
+ workspaces?: Workspace[];
92
+ }
93
+ export interface Workspace {
94
+ id: string;
95
+ organizationId: string;
96
+ name: string;
97
+ slug: string;
98
+ description?: string;
99
+ iconUrl?: string;
100
+ status: WorkspaceStatus;
101
+ visibility: WorkspaceVisibility;
102
+ metadata?: Record<string, unknown>;
103
+ createdAt: string;
104
+ updatedAt: string;
105
+ }
106
+ export interface PlatformProduct {
107
+ id: string;
108
+ name: string;
109
+ slug: string;
110
+ description?: string;
111
+ category?: string;
112
+ status: ProductStatus;
113
+ iconUrl?: string;
114
+ version?: string;
115
+ metadata?: Record<string, unknown>;
116
+ createdAt: string;
117
+ updatedAt: string;
118
+ }
119
+ //# sourceMappingURL=graphql.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graphql.d.ts","sourceRoot":"","sources":["../../../../src/product-management/shared/types/graphql.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,7 @@
1
+ import { ClassValue } from 'clsx';
2
+ /**
3
+ * Merge Tailwind CSS classes safely
4
+ * Combines clsx for conditional classes and twMerge for Tailwind deduplication
5
+ */
6
+ export declare function cn(...inputs: ClassValue[]): string;
7
+ //# sourceMappingURL=cn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../../../src/product-management/shared/utils/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAG7C;;;GAGG;AACH,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
@@ -0,0 +1,5 @@
1
+ type CsvRow = Record<string, unknown>;
2
+ export declare function exportToCsv(filename: string, rows: CsvRow[]): void;
3
+ export declare function exportToJson(filename: string, data: unknown): void;
4
+ export {};
5
+ //# sourceMappingURL=exportUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exportUtils.d.ts","sourceRoot":"","sources":["../../../../src/product-management/shared/utils/exportUtils.ts"],"names":[],"mappings":"AAAA,KAAK,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAatC,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,CAiBlE;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI,CAUlE"}
@@ -0,0 +1,17 @@
1
+ //#region src/product-management/shared/utils/exportUtils.ts
2
+ function e(e) {
3
+ if (e == null) return "";
4
+ if (Array.isArray(e)) return `"${e.join(", ")}"`;
5
+ if (typeof e == "object") return `"${JSON.stringify(e).replace(/"/g, "\"\"")}"`;
6
+ let t = String(e);
7
+ return t.includes(",") || t.includes("\"") || t.includes("\n") ? `"${t.replace(/"/g, "\"\"")}"` : t;
8
+ }
9
+ function t(t, n) {
10
+ if (n.length === 0) return;
11
+ let r = Object.keys(n[0]), i = [r.join(","), ...n.map((t) => r.map((n) => e(t[n])).join(","))].join("\n"), a = new Blob([i], { type: "text/csv;charset=utf-8;" }), o = URL.createObjectURL(a), s = document.createElement("a");
12
+ s.href = o, s.download = `${t}_${(/* @__PURE__ */ new Date()).toISOString().slice(0, 10)}.csv`, document.body.appendChild(s), s.click(), document.body.removeChild(s), URL.revokeObjectURL(o);
13
+ }
14
+ //#endregion
15
+ export { t as exportToCsv };
16
+
17
+ //# sourceMappingURL=exportUtils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exportUtils.js","names":[],"sources":["../../../../src/product-management/shared/utils/exportUtils.ts"],"sourcesContent":["type CsvRow = Record<string, unknown>;\n\nfunction toCsvValue(value: unknown): string {\n if (value === null || value === undefined) return '';\n if (Array.isArray(value)) return `\"${value.join(', ')}\"`;\n if (typeof value === 'object') return `\"${JSON.stringify(value).replace(/\"/g, '\"\"')}\"`;\n const str = String(value);\n if (str.includes(',') || str.includes('\"') || str.includes('\\n')) {\n return `\"${str.replace(/\"/g, '\"\"')}\"`;\n }\n return str;\n}\n\nexport function exportToCsv(filename: string, rows: CsvRow[]): void {\n if (rows.length === 0) return;\n const headers = Object.keys(rows[0]);\n const csvContent = [\n headers.join(','),\n ...rows.map((row) => headers.map((h) => toCsvValue(row[h])).join(',')),\n ].join('\\n');\n\n const blob = new Blob([csvContent], { type: 'text/csv;charset=utf-8;' });\n const url = URL.createObjectURL(blob);\n const link = document.createElement('a');\n link.href = url;\n link.download = `${filename}_${new Date().toISOString().slice(0, 10)}.csv`;\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n URL.revokeObjectURL(url);\n}\n\nexport function exportToJson(filename: string, data: unknown): void {\n const blob = new Blob([JSON.stringify(data, null, 2)], { type: 'application/json' });\n const url = URL.createObjectURL(blob);\n const link = document.createElement('a');\n link.href = url;\n link.download = `${filename}_${new Date().toISOString().slice(0, 10)}.json`;\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n URL.revokeObjectURL(url);\n}\n"],"mappings":";AAEA,SAAS,EAAW,GAAwB;AAC1C,KAAI,KAAU,KAA6B,QAAO;AAClD,KAAI,MAAM,QAAQ,EAAM,CAAE,QAAO,IAAI,EAAM,KAAK,KAAK,CAAC;AACtD,KAAI,OAAO,KAAU,SAAU,QAAO,IAAI,KAAK,UAAU,EAAM,CAAC,QAAQ,MAAM,OAAK,CAAC;CACpF,IAAM,IAAM,OAAO,EAAM;AAIzB,QAHI,EAAI,SAAS,IAAI,IAAI,EAAI,SAAS,KAAI,IAAI,EAAI,SAAS,KAAK,GACvD,IAAI,EAAI,QAAQ,MAAM,OAAK,CAAC,KAE9B;;AAGT,SAAgB,EAAY,GAAkB,GAAsB;AAClE,KAAI,EAAK,WAAW,EAAG;CACvB,IAAM,IAAU,OAAO,KAAK,EAAK,GAAG,EAC9B,IAAa,CACjB,EAAQ,KAAK,IAAI,EACjB,GAAG,EAAK,KAAK,MAAQ,EAAQ,KAAK,MAAM,EAAW,EAAI,GAAG,CAAC,CAAC,KAAK,IAAI,CAAC,CACvE,CAAC,KAAK,KAAK,EAEN,IAAO,IAAI,KAAK,CAAC,EAAW,EAAE,EAAE,MAAM,2BAA2B,CAAC,EAClE,IAAM,IAAI,gBAAgB,EAAK,EAC/B,IAAO,SAAS,cAAc,IAAI;AAMxC,CALA,EAAK,OAAO,GACZ,EAAK,WAAW,GAAG,EAAS,oBAAG,IAAI,MAAM,EAAC,aAAa,CAAC,MAAM,GAAG,GAAG,CAAC,OACrE,SAAS,KAAK,YAAY,EAAK,EAC/B,EAAK,OAAO,EACZ,SAAS,KAAK,YAAY,EAAK,EAC/B,IAAI,gBAAgB,EAAI"}
@@ -0,0 +1,40 @@
1
+ import { ReactNode } from 'react';
2
+ export interface NavItem {
3
+ id: string;
4
+ label: string;
5
+ path: string;
6
+ icon?: ReactNode;
7
+ order: number;
8
+ group?: string;
9
+ }
10
+ export interface FooterItem {
11
+ id: string;
12
+ label: string;
13
+ order: number;
14
+ type?: string;
15
+ section?: 'left' | 'right' | 'center';
16
+ }
17
+ export interface User {
18
+ id: string;
19
+ email: string;
20
+ firstName?: string;
21
+ lastName?: string;
22
+ avatarUrl?: string;
23
+ }
24
+ export interface ProductManagementRootProps {
25
+ basePath?: string;
26
+ navigate: (path: string) => void;
27
+ currentUser?: User;
28
+ tenantId?: string;
29
+ apiGatewayUrl?: string;
30
+ authToken?: string;
31
+ capabilities?: {
32
+ canManageProducts?: boolean;
33
+ };
34
+ registerNavItems?: (items: NavItem | NavItem[]) => () => void;
35
+ registerFooterItems?: (items: FooterItem | FooterItem[]) => () => void;
36
+ callbacks?: {
37
+ onProductCreate?: (productId: string) => void;
38
+ };
39
+ }
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product-management/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;CACvC;AAED,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE;QACb,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC7B,CAAC;IACF,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,EAAE,KAAK,MAAM,IAAI,CAAC;IAC9D,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,EAAE,KAAK,MAAM,IAAI,CAAC;IACvE,SAAS,CAAC,EAAE;QACV,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;KAC/C,CAAC;CACH"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Shared components re-exported for use by both admin and user modules.
3
+ * Prevents user module from importing directly from admin module internals.
4
+ */
5
+ export { LoadingState } from '../../product-management/shared/components/feedback/LoadingState';
6
+ export { ErrorState } from '../../product-management/shared/components/feedback/ErrorState';
7
+ export { EmptyState } from '../../product-management/shared/components/feedback/EmptyState';
8
+ export { SearchInput } from '../../product-management/shared/components/input/SearchInput';
9
+ export { ProductStatusBadge } from '../../product-management/modules/products/components/ProductStatusBadge';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/components/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,kEAAkE,CAAC;AAChG,OAAO,EAAE,UAAU,EAAE,MAAM,gEAAgE,CAAC;AAC5F,OAAO,EAAE,UAAU,EAAE,MAAM,gEAAgE,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAC3F,OAAO,EAAE,kBAAkB,EAAE,MAAM,yEAAyE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import "../../product-management/shared/components/feedback/LoadingState.js";
2
+ import "../../product-management/shared/components/feedback/ErrorState.js";
3
+ import "../../product-management/modules/products/components/ProductStatusBadge.js";
4
+ import "../../product-management/shared/components/input/SearchInput.js";
5
+ import "../../product-management/shared/components/feedback/EmptyState.js";
@@ -0,0 +1,3 @@
1
+ export * from './components';
2
+ export * from './utils';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Formats a date string into a human-readable format.
3
+ */
4
+ export declare function formatDate(dateString: string): string;
5
+ //# sourceMappingURL=formatDate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatDate.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/formatDate.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,UAAU,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAMrD"}
@@ -0,0 +1,12 @@
1
+ //#region src/shared/utils/formatDate.ts
2
+ function e(e) {
3
+ return new Date(e).toLocaleDateString("en-US", {
4
+ year: "numeric",
5
+ month: "long",
6
+ day: "numeric"
7
+ });
8
+ }
9
+ //#endregion
10
+ export { e as formatDate };
11
+
12
+ //# sourceMappingURL=formatDate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatDate.js","names":[],"sources":["../../../src/shared/utils/formatDate.ts"],"sourcesContent":["/**\n * Formats a date string into a human-readable format.\n */\nexport function formatDate(dateString: string): string {\n return new Date(dateString).toLocaleDateString('en-US', {\n year: 'numeric',\n month: 'long',\n day: 'numeric',\n });\n}\n"],"mappings":";AAGA,SAAgB,EAAW,GAA4B;AACrD,QAAO,IAAI,KAAK,EAAW,CAAC,mBAAmB,SAAS;EACtD,MAAM;EACN,OAAO;EACP,KAAK;EACN,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { isSafeUrl } from './isSafeUrl';
2
+ export { formatDate } from './formatDate';
3
+ export { renderMarkdown } from './renderMarkdown';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Validates that a URL uses a safe protocol (http/https).
3
+ * Prevents javascript: and other dangerous URI schemes in user-rendered links.
4
+ */
5
+ export declare function isSafeUrl(url: string): boolean;
6
+ //# sourceMappingURL=isSafeUrl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isSafeUrl.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/isSafeUrl.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAE9C"}
@@ -0,0 +1,8 @@
1
+ //#region src/shared/utils/isSafeUrl.ts
2
+ function e(e) {
3
+ return /^https?:\/\//i.test(e);
4
+ }
5
+ //#endregion
6
+ export { e as isSafeUrl };
7
+
8
+ //# sourceMappingURL=isSafeUrl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isSafeUrl.js","names":[],"sources":["../../../src/shared/utils/isSafeUrl.ts"],"sourcesContent":["/**\n * Validates that a URL uses a safe protocol (http/https).\n * Prevents javascript: and other dangerous URI schemes in user-rendered links.\n */\nexport function isSafeUrl(url: string): boolean {\n return /^https?:\\/\\//i.test(url);\n}\n"],"mappings":";AAIA,SAAgB,EAAU,GAAsB;AAC9C,QAAO,gBAAgB,KAAK,EAAI"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Simple markdown renderer that converts basic markdown syntax to HTML.
3
+ * Handles: headers, bold, italic, inline code, code blocks, links,
4
+ * unordered lists, paragraphs, and line breaks.
5
+ *
6
+ * Output should always be sanitized (e.g. with DOMPurify) before rendering
7
+ * via dangerouslySetInnerHTML.
8
+ */
9
+ export declare function renderMarkdown(content: string): string;
10
+ //# sourceMappingURL=renderMarkdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderMarkdown.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/renderMarkdown.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAgCtD"}
@@ -0,0 +1,8 @@
1
+ //#region src/shared/utils/renderMarkdown.ts
2
+ function e(e) {
3
+ return e.replace(/^### (.+)$/gm, "<h3 class=\"text-lg font-semibold mt-4 mb-2\">$1</h3>").replace(/^## (.+)$/gm, "<h2 class=\"text-xl font-semibold mt-5 mb-2\">$1</h2>").replace(/^# (.+)$/gm, "<h1 class=\"text-2xl font-bold mt-6 mb-3\">$1</h1>").replace(/\*\*(.+?)\*\*/g, "<strong>$1</strong>").replace(/\*(.+?)\*/g, "<em>$1</em>").replace(/`(.+?)`/g, "<code class=\"px-1.5 py-0.5 bg-muted rounded text-sm font-mono\">$1</code>").replace(/```[\s\S]*?```/g, (e) => `<pre class="bg-muted rounded-lg p-4 overflow-x-auto my-3"><code class="text-sm font-mono">${e.replace(/```\w*\n?/, "").replace(/\n?```$/, "")}</code></pre>`).replace(/\[(.+?)\]\((.+?)\)/g, "<a href=\"$2\" class=\"text-[var(--color-status-info)] underline\">$1</a>").replace(/^- (.+)$/gm, "<li class=\"ml-4 list-disc\">$1</li>").replace(/\n\n/g, "</p><p class=\"mb-3\">").replace(/\n/g, "<br/>");
4
+ }
5
+ //#endregion
6
+ export { e as renderMarkdown };
7
+
8
+ //# sourceMappingURL=renderMarkdown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderMarkdown.js","names":[],"sources":["../../../src/shared/utils/renderMarkdown.ts"],"sourcesContent":["/**\n * Simple markdown renderer that converts basic markdown syntax to HTML.\n * Handles: headers, bold, italic, inline code, code blocks, links,\n * unordered lists, paragraphs, and line breaks.\n *\n * Output should always be sanitized (e.g. with DOMPurify) before rendering\n * via dangerouslySetInnerHTML.\n */\nexport function renderMarkdown(content: string): string {\n return (\n content\n // Headers\n .replace(/^### (.+)$/gm, '<h3 class=\"text-lg font-semibold mt-4 mb-2\">$1</h3>')\n .replace(/^## (.+)$/gm, '<h2 class=\"text-xl font-semibold mt-5 mb-2\">$1</h2>')\n .replace(/^# (.+)$/gm, '<h1 class=\"text-2xl font-bold mt-6 mb-3\">$1</h1>')\n // Bold and italic\n .replace(/\\*\\*(.+?)\\*\\*/g, '<strong>$1</strong>')\n .replace(/\\*(.+?)\\*/g, '<em>$1</em>')\n // Inline code\n .replace(\n /`(.+?)`/g,\n '<code class=\"px-1.5 py-0.5 bg-muted rounded text-sm font-mono\">$1</code>'\n )\n // Code blocks\n .replace(/```[\\s\\S]*?```/g, (match) => {\n const code = match.replace(/```\\w*\\n?/, '').replace(/\\n?```$/, '');\n return `<pre class=\"bg-muted rounded-lg p-4 overflow-x-auto my-3\"><code class=\"text-sm font-mono\">${code}</code></pre>`;\n })\n // Links\n .replace(\n /\\[(.+?)\\]\\((.+?)\\)/g,\n '<a href=\"$2\" class=\"text-[var(--color-status-info)] underline\">$1</a>'\n )\n // Unordered lists\n .replace(/^- (.+)$/gm, '<li class=\"ml-4 list-disc\">$1</li>')\n // Paragraphs (double newline)\n .replace(/\\n\\n/g, '</p><p class=\"mb-3\">')\n // Single newlines\n .replace(/\\n/g, '<br/>')\n );\n}\n"],"mappings":";AAQA,SAAgB,EAAe,GAAyB;AACtD,QACE,EAEG,QAAQ,gBAAgB,wDAAsD,CAC9E,QAAQ,eAAe,wDAAsD,CAC7E,QAAQ,cAAc,qDAAmD,CAEzE,QAAQ,kBAAkB,sBAAsB,CAChD,QAAQ,cAAc,cAAc,CAEpC,QACC,YACA,6EACD,CAEA,QAAQ,oBAAoB,MAEpB,6FADM,EAAM,QAAQ,aAAa,GAAG,CAAC,QAAQ,WAAW,GACqC,CAAK,eACzG,CAED,QACC,uBACA,4EACD,CAEA,QAAQ,cAAc,uCAAqC,CAE3D,QAAQ,SAAS,yBAAuB,CAExC,QAAQ,OAAO,QAAQ"}
@@ -0,0 +1,3 @@
1
+ export { getPlatform, isNative, isIOS, isAndroid, isWeb, nativeImpact, nativeNotify, nativeToast, nativeConfirm, nativeCopyText, nativeShare, nativeOpenUrl, useNativePlatform, useSafeArea, useNativeKeyboard, useAppState, useDeviceInfo, useHaptics, useStatusBar, } from '@burdenoff/fe-libs/shared/native';
2
+ export type { BurdenoffNativePlatform, BurdenoffNativeBridge, SafeAreaInsets, DeviceInfo, HapticImpactStyle, HapticNotificationType, ToastDuration, ConfirmOptions, ShareOptions, AppState, StatusBarTheme, } from '@burdenoff/fe-libs/shared/native';
3
+ //# sourceMappingURL=nativeBridge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nativeBridge.d.ts","sourceRoot":"","sources":["../../src/utils/nativeBridge.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,QAAQ,EACR,KAAK,EACL,SAAS,EACT,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,cAAc,EACd,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,UAAU,EACV,YAAY,GACb,MAAM,kCAAkC,CAAC;AAE1C,YAAY,EACV,uBAAuB,EACvB,qBAAqB,EACrB,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,cAAc,GACf,MAAM,kCAAkC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { nativeConfirm as e, nativeImpact as t, nativeNotify as n } from "@burdenoff/fe-libs/shared/native";
2
+ export { e as nativeConfirm, t as nativeImpact, n as nativeNotify };
package/package.json ADDED
@@ -0,0 +1,118 @@
1
+ {
2
+ "name": "@burdenoff/microfe-product",
3
+ "version": "2026.510.43",
4
+ "description": "Product management microfrontend for Burdenoff products",
5
+ "type": "module",
6
+ "files": [
7
+ "dist",
8
+ "package.json",
9
+ "README.md"
10
+ ],
11
+ "imports": {
12
+ "#src/*": "./src/*",
13
+ "#product/*": "./src/product/*"
14
+ },
15
+ "exports": {
16
+ ".": {
17
+ "types": "./dist/index.d.ts",
18
+ "import": "./dist/index.js"
19
+ }
20
+ },
21
+ "main": "./dist/index.js",
22
+ "types": "./dist/index.d.ts",
23
+ "scripts": {
24
+ "dev": "vite",
25
+ "build": "tsc && vite build",
26
+ "schema:pull": "graphql-codegen --project schema-wspace && graphql-codegen --project schema-global",
27
+ "codegen": "graphql-codegen --project wspace && graphql-codegen --project global",
28
+ "codegen:all": "bun run schema:pull && bun run codegen",
29
+ "lint": "eslint .",
30
+ "lint:sanity": "if [ \"${CI:-}\" = \"true\" ]; then bun run lint; else bun run lint -- --cache --cache-location .eslintcache; fi",
31
+ "format": "prettier --write \"src/**/*.{ts,tsx}\"",
32
+ "type:check": "tsc --noEmit",
33
+ "sanity": "bun run codegen && bun run lint:sanity && bun run format && bun run type:check && bun run build",
34
+ "switch:status": "bun scripts/deps-mode.ts status",
35
+ "switch:remote": "bun scripts/deps-mode.ts remote",
36
+ "switch:local": "bun scripts/deps-mode.ts local",
37
+ "switch:check": "bun scripts/deps-mode.ts check",
38
+ "prepare": "lefthook install || true",
39
+ "format:check": "prettier --check \"src/**/*.{ts,tsx}\""
40
+ },
41
+ "dependencies": {
42
+ "@apollo/client": "^3.12.0",
43
+ "@burdenoff/fe-libs": "2026.507.125",
44
+ "@tanstack/react-query": "^5.90.16",
45
+ "@xmldom/xmldom": "0.8.13",
46
+ "ajv": "8.20.0",
47
+ "clsx": "^2.1.1",
48
+ "dompurify": "3.4.0",
49
+ "esbuild": "0.28.0",
50
+ "fast-xml-parser": "5.7.0",
51
+ "graphql": "^16.10.0",
52
+ "lucide-react": "^0.468.0",
53
+ "react": "^19.0.0",
54
+ "react-dom": "^19.0.0",
55
+ "react-router-dom": "^7.1.3",
56
+ "tailwind-merge": "^3.4.0",
57
+ "uuid": "14.0.0",
58
+ "zod": "^4.2.1",
59
+ "zustand": "^5.0.3"
60
+ },
61
+ "devDependencies": {
62
+ "@eslint/js": "^9.39.1",
63
+ "@graphql-codegen/add": "^5.0.0",
64
+ "@graphql-codegen/cli": "^5.0.0",
65
+ "@graphql-codegen/import-types-preset": "^3.0.0",
66
+ "@graphql-codegen/schema-ast": "^4.0.0",
67
+ "@graphql-codegen/typescript": "^4.0.0",
68
+ "@graphql-codegen/typescript-operations": "^4.0.0",
69
+ "@graphql-codegen/typescript-react-apollo": "^4.0.0",
70
+ "@types/dompurify": "^3.2.0",
71
+ "@types/react": "^19.0.2",
72
+ "@types/react-dom": "^19.0.2",
73
+ "@vitejs/plugin-react": "^4.3.4",
74
+ "autoprefixer": "^10.4.20",
75
+ "eslint": "^9.18.0",
76
+ "eslint-plugin-react": "^7.37.5",
77
+ "eslint-plugin-react-hooks": "^7.0.1",
78
+ "lefthook": "^2.1.1",
79
+ "postcss": "8.5.12",
80
+ "prettier": "^3.4.2",
81
+ "tailwindcss": "^4.0.0",
82
+ "typescript": "^5.9.0",
83
+ "typescript-eslint": "^8.46.0",
84
+ "vite": "8.0.10",
85
+ "vite-plugin-dts": "4.5.4"
86
+ },
87
+ "peerDependencies": {
88
+ "@apollo/client": "^3.12.0",
89
+ "react": "^19.0.0",
90
+ "react-dom": "^19.0.0",
91
+ "zustand": "^5.0.0"
92
+ },
93
+ "publishConfig": {
94
+ "access": "restricted"
95
+ },
96
+ "overrides": {
97
+ "lodash": "4.18.1",
98
+ "lodash-es": "4.18.1",
99
+ "dompurify": "3.4.0",
100
+ "fast-xml-parser": "5.7.0",
101
+ "@xmldom/xmldom": "0.8.13",
102
+ "swiper": "12.1.3",
103
+ "brace-expansion": "5.0.5",
104
+ "follow-redirects": "1.16.0",
105
+ "smol-toml": "1.6.1",
106
+ "axios": "1.15.2",
107
+ "flatted": "3.4.2",
108
+ "yaml": "2.8.3",
109
+ "picomatch": "4.0.4",
110
+ "immutable": "5.1.5",
111
+ "minimatch": "10.2.5",
112
+ "uuid": "14.0.0",
113
+ "ajv": "8.20.0",
114
+ "esbuild": "0.28.0",
115
+ "vite": "8.0.10",
116
+ "vite-plugin-dts": "4.5.4"
117
+ }
118
+ }