@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,14 @@
1
+ /**
2
+ * @burdenoff/microfe-product
3
+ *
4
+ * Product Microfrontend
5
+ *
6
+ * Exports:
7
+ * - ProductManagementRoot: Admin-facing (CRUD, shortcuts, content pages, feature flags)
8
+ * - ProductUserRoot: User-facing (read-only catalog, product details, content pages)
9
+ */
10
+ export { ProductManagementRoot } from './product-management/ProductManagementRoot';
11
+ export type { ProductManagementRootProps } from './product-management/types';
12
+ export { ProductUserRoot } from './product/ProductUserRoot';
13
+ export type { ProductUserRootProps } from './product/types';
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACnF,YAAY,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAG7E,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,YAAY,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ import { ProductManagementRoot as e } from "./product-management/ProductManagementRoot.js";
2
+ import { ProductUserRoot as t } from "./product/ProductUserRoot.js";
3
+ export { e as ProductManagementRoot, t as ProductUserRoot };
@@ -0,0 +1,555 @@
1
+ //#region node_modules/dompurify/dist/purify.es.mjs
2
+ var { entries: e, setPrototypeOf: t, isFrozen: n, getPrototypeOf: r, getOwnPropertyDescriptor: i } = Object, { freeze: a, seal: o, create: s } = Object, { apply: c, construct: l } = typeof Reflect < "u" && Reflect;
3
+ a ||= function(e) {
4
+ return e;
5
+ }, o ||= function(e) {
6
+ return e;
7
+ }, c ||= function(e, t) {
8
+ var n = [...arguments].slice(2);
9
+ return e.apply(t, n);
10
+ }, l ||= function(e) {
11
+ return new e(...[...arguments].slice(1));
12
+ };
13
+ var u = _(Array.prototype.forEach), d = _(Array.prototype.lastIndexOf), ee = _(Array.prototype.pop), f = _(Array.prototype.push), te = _(Array.prototype.splice), ne = _(String.prototype.toLowerCase), re = _(String.prototype.toString), ie = _(String.prototype.match), p = _(String.prototype.replace), ae = _(String.prototype.indexOf), oe = _(String.prototype.trim), m = _(Object.prototype.hasOwnProperty), h = _(RegExp.prototype.test), g = se(TypeError);
14
+ function _(e) {
15
+ return function(t) {
16
+ t instanceof RegExp && (t.lastIndex = 0);
17
+ var n = [...arguments].slice(1);
18
+ return c(e, t, n);
19
+ };
20
+ }
21
+ function se(e) {
22
+ return function() {
23
+ return l(e, [...arguments]);
24
+ };
25
+ }
26
+ function v(e, r) {
27
+ let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ne;
28
+ t && t(e, null);
29
+ let a = r.length;
30
+ for (; a--;) {
31
+ let t = r[a];
32
+ if (typeof t == "string") {
33
+ let e = i(t);
34
+ e !== t && (n(r) || (r[a] = e), t = e);
35
+ }
36
+ e[t] = !0;
37
+ }
38
+ return e;
39
+ }
40
+ function y(e) {
41
+ for (let t = 0; t < e.length; t++) m(e, t) || (e[t] = null);
42
+ return e;
43
+ }
44
+ function b(t) {
45
+ let n = s(null);
46
+ for (let [r, i] of e(t)) m(t, r) && (Array.isArray(i) ? n[r] = y(i) : i && typeof i == "object" && i.constructor === Object ? n[r] = b(i) : n[r] = i);
47
+ return n;
48
+ }
49
+ function x(e, t) {
50
+ for (; e !== null;) {
51
+ let n = i(e, t);
52
+ if (n) {
53
+ if (n.get) return _(n.get);
54
+ if (typeof n.value == "function") return _(n.value);
55
+ }
56
+ e = r(e);
57
+ }
58
+ function n() {
59
+ return null;
60
+ }
61
+ return n;
62
+ }
63
+ var ce = a(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")), le = a(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), ue = a([
64
+ "feBlend",
65
+ "feColorMatrix",
66
+ "feComponentTransfer",
67
+ "feComposite",
68
+ "feConvolveMatrix",
69
+ "feDiffuseLighting",
70
+ "feDisplacementMap",
71
+ "feDistantLight",
72
+ "feDropShadow",
73
+ "feFlood",
74
+ "feFuncA",
75
+ "feFuncB",
76
+ "feFuncG",
77
+ "feFuncR",
78
+ "feGaussianBlur",
79
+ "feImage",
80
+ "feMerge",
81
+ "feMergeNode",
82
+ "feMorphology",
83
+ "feOffset",
84
+ "fePointLight",
85
+ "feSpecularLighting",
86
+ "feSpotLight",
87
+ "feTile",
88
+ "feTurbulence"
89
+ ]), de = a([
90
+ "animate",
91
+ "color-profile",
92
+ "cursor",
93
+ "discard",
94
+ "font-face",
95
+ "font-face-format",
96
+ "font-face-name",
97
+ "font-face-src",
98
+ "font-face-uri",
99
+ "foreignobject",
100
+ "hatch",
101
+ "hatchpath",
102
+ "mesh",
103
+ "meshgradient",
104
+ "meshpatch",
105
+ "meshrow",
106
+ "missing-glyph",
107
+ "script",
108
+ "set",
109
+ "solidcolor",
110
+ "unknown",
111
+ "use"
112
+ ]), fe = a(/* @__PURE__ */ "math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")), pe = a([
113
+ "maction",
114
+ "maligngroup",
115
+ "malignmark",
116
+ "mlongdiv",
117
+ "mscarries",
118
+ "mscarry",
119
+ "msgroup",
120
+ "mstack",
121
+ "msline",
122
+ "msrow",
123
+ "semantics",
124
+ "annotation",
125
+ "annotation-xml",
126
+ "mprescripts",
127
+ "none"
128
+ ]), me = a(["#text"]), he = a(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns.slot".split(".")), ge = a(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), _e = a(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")), S = a([
129
+ "xlink:href",
130
+ "xml:id",
131
+ "xlink:title",
132
+ "xml:space",
133
+ "xmlns:xlink"
134
+ ]), ve = o(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ye = o(/<%[\w\W]*|[\w\W]*%>/gm), be = o(/\$\{[\w\W]*/gm), C = o(/^data-[\-\w.\u00B7-\uFFFF]+$/), w = o(/^aria-[\-\w]+$/), xe = o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), Se = o(/^(?:\w+script|data):/i), Ce = o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), we = o(/^html$/i), Te = o(/^[a-z][.\w]*(-[.\w]+)+$/i), Ee = /* @__PURE__ */ Object.freeze({
135
+ __proto__: null,
136
+ ARIA_ATTR: w,
137
+ ATTR_WHITESPACE: Ce,
138
+ CUSTOM_ELEMENT: Te,
139
+ DATA_ATTR: C,
140
+ DOCTYPE_NAME: we,
141
+ ERB_EXPR: ye,
142
+ IS_ALLOWED_URI: xe,
143
+ IS_SCRIPT_OR_DATA: Se,
144
+ MUSTACHE_EXPR: ve,
145
+ TMPLIT_EXPR: be
146
+ }), T = {
147
+ element: 1,
148
+ text: 3,
149
+ progressingInstruction: 7,
150
+ comment: 8,
151
+ document: 9
152
+ }, De = function() {
153
+ return typeof window > "u" ? null : window;
154
+ }, Oe = function(e, t) {
155
+ if (typeof e != "object" || typeof e.createPolicy != "function") return null;
156
+ let n = null, r = "data-tt-policy-suffix";
157
+ t && t.hasAttribute(r) && (n = t.getAttribute(r));
158
+ let i = "dompurify" + (n ? "#" + n : "");
159
+ try {
160
+ return e.createPolicy(i, {
161
+ createHTML(e) {
162
+ return e;
163
+ },
164
+ createScriptURL(e) {
165
+ return e;
166
+ }
167
+ });
168
+ } catch {
169
+ return console.warn("TrustedTypes policy " + i + " could not be created."), null;
170
+ }
171
+ }, ke = function() {
172
+ return {
173
+ afterSanitizeAttributes: [],
174
+ afterSanitizeElements: [],
175
+ afterSanitizeShadowDOM: [],
176
+ beforeSanitizeAttributes: [],
177
+ beforeSanitizeElements: [],
178
+ beforeSanitizeShadowDOM: [],
179
+ uponSanitizeAttribute: [],
180
+ uponSanitizeElement: [],
181
+ uponSanitizeShadowNode: []
182
+ };
183
+ };
184
+ function Ae() {
185
+ let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : De(), n = (e) => Ae(e);
186
+ if (n.version = "3.4.0", n.removed = [], !t || !t.document || t.document.nodeType !== T.document || !t.Element) return n.isSupported = !1, n;
187
+ let { document: r } = t, i = r, o = i.currentScript, { DocumentFragment: c, HTMLTemplateElement: l, Node: _, Element: se, NodeFilter: y, NamedNodeMap: ve = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: ye, DOMParser: be, trustedTypes: C } = t, w = se.prototype, Se = x(w, "cloneNode"), Ce = x(w, "remove"), Te = x(w, "nextSibling"), je = x(w, "childNodes"), Me = x(w, "parentNode");
188
+ if (typeof l == "function") {
189
+ let e = r.createElement("template");
190
+ e.content && e.content.ownerDocument && (r = e.content.ownerDocument);
191
+ }
192
+ let E, D = "", { implementation: Ne, createNodeIterator: Pe, createDocumentFragment: Fe, getElementsByTagName: Ie } = r, { importNode: Le } = i, O = ke();
193
+ n.isSupported = typeof e == "function" && typeof Me == "function" && Ne && Ne.createHTMLDocument !== void 0;
194
+ let { MUSTACHE_EXPR: k, ERB_EXPR: A, TMPLIT_EXPR: j, DATA_ATTR: Re, ARIA_ATTR: ze, IS_SCRIPT_OR_DATA: Be, ATTR_WHITESPACE: Ve, CUSTOM_ELEMENT: He } = Ee, { IS_ALLOWED_URI: Ue } = Ee, M = null, We = v({}, [
195
+ ...ce,
196
+ ...le,
197
+ ...ue,
198
+ ...fe,
199
+ ...me
200
+ ]), N = null, Ge = v({}, [
201
+ ...he,
202
+ ...ge,
203
+ ..._e,
204
+ ...S
205
+ ]), P = Object.seal(s(null, {
206
+ tagNameCheck: {
207
+ writable: !0,
208
+ configurable: !1,
209
+ enumerable: !0,
210
+ value: null
211
+ },
212
+ attributeNameCheck: {
213
+ writable: !0,
214
+ configurable: !1,
215
+ enumerable: !0,
216
+ value: null
217
+ },
218
+ allowCustomizedBuiltInElements: {
219
+ writable: !0,
220
+ configurable: !1,
221
+ enumerable: !0,
222
+ value: !1
223
+ }
224
+ })), F = null, Ke = null, I = Object.seal(s(null, {
225
+ tagCheck: {
226
+ writable: !0,
227
+ configurable: !1,
228
+ enumerable: !0,
229
+ value: null
230
+ },
231
+ attributeCheck: {
232
+ writable: !0,
233
+ configurable: !1,
234
+ enumerable: !0,
235
+ value: null
236
+ }
237
+ })), qe = !0, Je = !0, Ye = !1, Xe = !0, L = !1, R = !0, z = !1, Ze = !1, Qe = !1, B = !1, V = !1, H = !1, $e = !0, et = !1, tt = !0, U = !1, W = {}, G = null, nt = v({}, [
238
+ "annotation-xml",
239
+ "audio",
240
+ "colgroup",
241
+ "desc",
242
+ "foreignobject",
243
+ "head",
244
+ "iframe",
245
+ "math",
246
+ "mi",
247
+ "mn",
248
+ "mo",
249
+ "ms",
250
+ "mtext",
251
+ "noembed",
252
+ "noframes",
253
+ "noscript",
254
+ "plaintext",
255
+ "script",
256
+ "style",
257
+ "svg",
258
+ "template",
259
+ "thead",
260
+ "title",
261
+ "video",
262
+ "xmp"
263
+ ]), rt = null, it = v({}, [
264
+ "audio",
265
+ "video",
266
+ "img",
267
+ "source",
268
+ "image",
269
+ "track"
270
+ ]), at = null, ot = v({}, [
271
+ "alt",
272
+ "class",
273
+ "for",
274
+ "id",
275
+ "label",
276
+ "name",
277
+ "pattern",
278
+ "placeholder",
279
+ "role",
280
+ "summary",
281
+ "title",
282
+ "value",
283
+ "style",
284
+ "xmlns"
285
+ ]), st = "http://www.w3.org/1998/Math/MathML", ct = "http://www.w3.org/2000/svg", K = "http://www.w3.org/1999/xhtml", q = K, lt = !1, ut = null, dt = v({}, [
286
+ st,
287
+ ct,
288
+ K
289
+ ], re), ft = v({}, [
290
+ "mi",
291
+ "mo",
292
+ "mn",
293
+ "ms",
294
+ "mtext"
295
+ ]), pt = v({}, ["annotation-xml"]), mt = v({}, [
296
+ "title",
297
+ "style",
298
+ "font",
299
+ "a",
300
+ "script"
301
+ ]), J = null, ht = ["application/xhtml+xml", "text/html"], Y = null, X = null, gt = r.createElement("form"), _t = function(e) {
302
+ return e instanceof RegExp || e instanceof Function;
303
+ }, vt = function() {
304
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
305
+ if (!(X && X === e)) {
306
+ if ((!e || typeof e != "object") && (e = {}), e = b(e), J = ht.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, Y = J === "application/xhtml+xml" ? re : ne, M = m(e, "ALLOWED_TAGS") ? v({}, e.ALLOWED_TAGS, Y) : We, N = m(e, "ALLOWED_ATTR") ? v({}, e.ALLOWED_ATTR, Y) : Ge, ut = m(e, "ALLOWED_NAMESPACES") ? v({}, e.ALLOWED_NAMESPACES, re) : dt, at = m(e, "ADD_URI_SAFE_ATTR") ? v(b(ot), e.ADD_URI_SAFE_ATTR, Y) : ot, rt = m(e, "ADD_DATA_URI_TAGS") ? v(b(it), e.ADD_DATA_URI_TAGS, Y) : it, G = m(e, "FORBID_CONTENTS") ? v({}, e.FORBID_CONTENTS, Y) : nt, F = m(e, "FORBID_TAGS") ? v({}, e.FORBID_TAGS, Y) : b({}), Ke = m(e, "FORBID_ATTR") ? v({}, e.FORBID_ATTR, Y) : b({}), W = m(e, "USE_PROFILES") ? e.USE_PROFILES : !1, qe = e.ALLOW_ARIA_ATTR !== !1, Je = e.ALLOW_DATA_ATTR !== !1, Ye = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Xe = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, L = e.SAFE_FOR_TEMPLATES || !1, R = e.SAFE_FOR_XML !== !1, z = e.WHOLE_DOCUMENT || !1, B = e.RETURN_DOM || !1, V = e.RETURN_DOM_FRAGMENT || !1, H = e.RETURN_TRUSTED_TYPE || !1, Qe = e.FORCE_BODY || !1, $e = e.SANITIZE_DOM !== !1, et = e.SANITIZE_NAMED_PROPS || !1, tt = e.KEEP_CONTENT !== !1, U = e.IN_PLACE || !1, Ue = e.ALLOWED_URI_REGEXP || xe, q = e.NAMESPACE || K, ft = e.MATHML_TEXT_INTEGRATION_POINTS || ft, pt = e.HTML_INTEGRATION_POINTS || pt, P = e.CUSTOM_ELEMENT_HANDLING || s(null), e.CUSTOM_ELEMENT_HANDLING && _t(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (P.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && _t(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (P.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (P.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), L && (Je = !1), V && (B = !0), W && (M = v({}, me), N = s(null), W.html === !0 && (v(M, ce), v(N, he)), W.svg === !0 && (v(M, le), v(N, ge), v(N, S)), W.svgFilters === !0 && (v(M, ue), v(N, ge), v(N, S)), W.mathMl === !0 && (v(M, fe), v(N, _e), v(N, S))), I.tagCheck = null, I.attributeCheck = null, e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? I.tagCheck = e.ADD_TAGS : (M === We && (M = b(M)), v(M, e.ADD_TAGS, Y))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? I.attributeCheck = e.ADD_ATTR : (N === Ge && (N = b(N)), v(N, e.ADD_ATTR, Y))), e.ADD_URI_SAFE_ATTR && v(at, e.ADD_URI_SAFE_ATTR, Y), e.FORBID_CONTENTS && (G === nt && (G = b(G)), v(G, e.FORBID_CONTENTS, Y)), e.ADD_FORBID_CONTENTS && (G === nt && (G = b(G)), v(G, e.ADD_FORBID_CONTENTS, Y)), tt && (M["#text"] = !0), z && v(M, [
307
+ "html",
308
+ "head",
309
+ "body"
310
+ ]), M.table && (v(M, ["tbody"]), delete F.tbody), e.TRUSTED_TYPES_POLICY) {
311
+ if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw g("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
312
+ if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw g("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
313
+ E = e.TRUSTED_TYPES_POLICY, D = E.createHTML("");
314
+ } else E === void 0 && (E = Oe(C, o)), E !== null && typeof D == "string" && (D = E.createHTML(""));
315
+ a && a(e), X = e;
316
+ }
317
+ }, yt = v({}, [
318
+ ...le,
319
+ ...ue,
320
+ ...de
321
+ ]), bt = v({}, [...fe, ...pe]), xt = function(e) {
322
+ let t = Me(e);
323
+ (!t || !t.tagName) && (t = {
324
+ namespaceURI: q,
325
+ tagName: "template"
326
+ });
327
+ let n = ne(e.tagName), r = ne(t.tagName);
328
+ return ut[e.namespaceURI] ? e.namespaceURI === ct ? t.namespaceURI === K ? n === "svg" : t.namespaceURI === st ? n === "svg" && (r === "annotation-xml" || ft[r]) : !!yt[n] : e.namespaceURI === st ? t.namespaceURI === K ? n === "math" : t.namespaceURI === ct ? n === "math" && pt[r] : !!bt[n] : e.namespaceURI === K ? t.namespaceURI === ct && !pt[r] || t.namespaceURI === st && !ft[r] ? !1 : !bt[n] && (mt[n] || !yt[n]) : !!(J === "application/xhtml+xml" && ut[e.namespaceURI]) : !1;
329
+ }, Z = function(e) {
330
+ f(n.removed, { element: e });
331
+ try {
332
+ Me(e).removeChild(e);
333
+ } catch {
334
+ Ce(e);
335
+ }
336
+ }, Q = function(e, t) {
337
+ try {
338
+ f(n.removed, {
339
+ attribute: t.getAttributeNode(e),
340
+ from: t
341
+ });
342
+ } catch {
343
+ f(n.removed, {
344
+ attribute: null,
345
+ from: t
346
+ });
347
+ }
348
+ if (t.removeAttribute(e), e === "is") if (B || V) try {
349
+ Z(t);
350
+ } catch {}
351
+ else try {
352
+ t.setAttribute(e, "");
353
+ } catch {}
354
+ }, St = function(e) {
355
+ let t = null, n = null;
356
+ if (Qe) e = "<remove></remove>" + e;
357
+ else {
358
+ let t = ie(e, /^[\r\n\t ]+/);
359
+ n = t && t[0];
360
+ }
361
+ J === "application/xhtml+xml" && q === K && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
362
+ let i = E ? E.createHTML(e) : e;
363
+ if (q === K) try {
364
+ t = new be().parseFromString(i, J);
365
+ } catch {}
366
+ if (!t || !t.documentElement) {
367
+ t = Ne.createDocument(q, "template", null);
368
+ try {
369
+ t.documentElement.innerHTML = lt ? D : i;
370
+ } catch {}
371
+ }
372
+ let a = t.body || t.documentElement;
373
+ return e && n && a.insertBefore(r.createTextNode(n), a.childNodes[0] || null), q === K ? Ie.call(t, z ? "html" : "body")[0] : z ? t.documentElement : a;
374
+ }, Ct = function(e) {
375
+ return Pe.call(e.ownerDocument || e, e, y.SHOW_ELEMENT | y.SHOW_COMMENT | y.SHOW_TEXT | y.SHOW_PROCESSING_INSTRUCTION | y.SHOW_CDATA_SECTION, null);
376
+ }, wt = function(e) {
377
+ return e instanceof ye && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof ve) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
378
+ }, Tt = function(e) {
379
+ return typeof _ == "function" && e instanceof _;
380
+ };
381
+ function $(e, t, r) {
382
+ u(e, (e) => {
383
+ e.call(n, t, r, X);
384
+ });
385
+ }
386
+ let Et = function(e) {
387
+ let t = null;
388
+ if ($(O.beforeSanitizeElements, e, null), wt(e)) return Z(e), !0;
389
+ let r = Y(e.nodeName);
390
+ if ($(O.uponSanitizeElement, e, {
391
+ tagName: r,
392
+ allowedTags: M
393
+ }), R && e.hasChildNodes() && !Tt(e.firstElementChild) && h(/<[/\w!]/g, e.innerHTML) && h(/<[/\w!]/g, e.textContent) || R && e.namespaceURI === K && r === "style" && Tt(e.firstElementChild) || e.nodeType === T.progressingInstruction || R && e.nodeType === T.comment && h(/<[/\w]/g, e.data)) return Z(e), !0;
394
+ if (F[r] || !(I.tagCheck instanceof Function && I.tagCheck(r)) && !M[r]) {
395
+ if (!F[r] && Ot(r) && (P.tagNameCheck instanceof RegExp && h(P.tagNameCheck, r) || P.tagNameCheck instanceof Function && P.tagNameCheck(r))) return !1;
396
+ if (tt && !G[r]) {
397
+ let t = Me(e) || e.parentNode, n = je(e) || e.childNodes;
398
+ if (n && t) {
399
+ let r = n.length;
400
+ for (let i = r - 1; i >= 0; --i) {
401
+ let r = Se(n[i], !0);
402
+ r.__removalCount = (e.__removalCount || 0) + 1, t.insertBefore(r, Te(e));
403
+ }
404
+ }
405
+ }
406
+ return Z(e), !0;
407
+ }
408
+ return e instanceof se && !xt(e) || (r === "noscript" || r === "noembed" || r === "noframes") && h(/<\/no(script|embed|frames)/i, e.innerHTML) ? (Z(e), !0) : (L && e.nodeType === T.text && (t = e.textContent, u([
409
+ k,
410
+ A,
411
+ j
412
+ ], (e) => {
413
+ t = p(t, e, " ");
414
+ }), e.textContent !== t && (f(n.removed, { element: e.cloneNode() }), e.textContent = t)), $(O.afterSanitizeElements, e, null), !1);
415
+ }, Dt = function(e, t, n) {
416
+ if (Ke[t] || $e && (t === "id" || t === "name") && (n in r || n in gt)) return !1;
417
+ if (!(Je && !Ke[t] && h(Re, t)) && !(qe && h(ze, t)) && !(I.attributeCheck instanceof Function && I.attributeCheck(t, e))) {
418
+ if (!N[t] || Ke[t]) {
419
+ if (!(Ot(e) && (P.tagNameCheck instanceof RegExp && h(P.tagNameCheck, e) || P.tagNameCheck instanceof Function && P.tagNameCheck(e)) && (P.attributeNameCheck instanceof RegExp && h(P.attributeNameCheck, t) || P.attributeNameCheck instanceof Function && P.attributeNameCheck(t, e)) || t === "is" && P.allowCustomizedBuiltInElements && (P.tagNameCheck instanceof RegExp && h(P.tagNameCheck, n) || P.tagNameCheck instanceof Function && P.tagNameCheck(n)))) return !1;
420
+ } else if (!at[t] && !h(Ue, p(n, Ve, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && ae(n, "data:") === 0 && rt[e]) && !(Ye && !h(Be, p(n, Ve, ""))) && n) return !1;
421
+ }
422
+ return !0;
423
+ }, Ot = function(e) {
424
+ return e !== "annotation-xml" && ie(e, He);
425
+ }, kt = function(e) {
426
+ $(O.beforeSanitizeAttributes, e, null);
427
+ let { attributes: t } = e;
428
+ if (!t || wt(e)) return;
429
+ let r = {
430
+ attrName: "",
431
+ attrValue: "",
432
+ keepAttr: !0,
433
+ allowedAttributes: N,
434
+ forceKeepAttr: void 0
435
+ }, i = t.length;
436
+ for (; i--;) {
437
+ let { name: a, namespaceURI: o, value: s } = t[i], c = Y(a), l = s, d = a === "value" ? l : oe(l);
438
+ if (r.attrName = c, r.attrValue = d, r.keepAttr = !0, r.forceKeepAttr = void 0, $(O.uponSanitizeAttribute, e, r), d = r.attrValue, et && (c === "id" || c === "name") && (Q(a, e), d = "user-content-" + d), R && h(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, d)) {
439
+ Q(a, e);
440
+ continue;
441
+ }
442
+ if (c === "attributename" && ie(d, "href")) {
443
+ Q(a, e);
444
+ continue;
445
+ }
446
+ if (r.forceKeepAttr) continue;
447
+ if (!r.keepAttr) {
448
+ Q(a, e);
449
+ continue;
450
+ }
451
+ if (!Xe && h(/\/>/i, d)) {
452
+ Q(a, e);
453
+ continue;
454
+ }
455
+ L && u([
456
+ k,
457
+ A,
458
+ j
459
+ ], (e) => {
460
+ d = p(d, e, " ");
461
+ });
462
+ let f = Y(e.nodeName);
463
+ if (!Dt(f, c, d)) {
464
+ Q(a, e);
465
+ continue;
466
+ }
467
+ if (E && typeof C == "object" && typeof C.getAttributeType == "function" && !o) switch (C.getAttributeType(f, c)) {
468
+ case "TrustedHTML":
469
+ d = E.createHTML(d);
470
+ break;
471
+ case "TrustedScriptURL":
472
+ d = E.createScriptURL(d);
473
+ break;
474
+ }
475
+ if (d !== l) try {
476
+ o ? e.setAttributeNS(o, a, d) : e.setAttribute(a, d), wt(e) ? Z(e) : ee(n.removed);
477
+ } catch {
478
+ Q(a, e);
479
+ }
480
+ }
481
+ $(O.afterSanitizeAttributes, e, null);
482
+ }, At = function(e) {
483
+ let t = null, n = Ct(e);
484
+ for ($(O.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) $(O.uponSanitizeShadowNode, t, null), Et(t), kt(t), t.content instanceof c && At(t.content);
485
+ $(O.afterSanitizeShadowDOM, e, null);
486
+ };
487
+ return n.sanitize = function(e) {
488
+ let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = null, a = null, o = null, s = null;
489
+ if (lt = !e, lt && (e = "<!-->"), typeof e != "string" && !Tt(e)) if (typeof e.toString == "function") {
490
+ if (e = e.toString(), typeof e != "string") throw g("dirty is not a string, aborting");
491
+ } else throw g("toString is not a function");
492
+ if (!n.isSupported) return e;
493
+ if (Ze || vt(t), n.removed = [], typeof e == "string" && (U = !1), U) {
494
+ if (e.nodeName) {
495
+ let t = Y(e.nodeName);
496
+ if (!M[t] || F[t]) throw g("root node is forbidden and cannot be sanitized in-place");
497
+ }
498
+ } else if (e instanceof _) r = St("<!---->"), a = r.ownerDocument.importNode(e, !0), a.nodeType === T.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? r = a : r.appendChild(a);
499
+ else {
500
+ if (!B && !L && !z && e.indexOf("<") === -1) return E && H ? E.createHTML(e) : e;
501
+ if (r = St(e), !r) return B ? null : H ? D : "";
502
+ }
503
+ r && Qe && Z(r.firstChild);
504
+ let l = Ct(U ? e : r);
505
+ for (; o = l.nextNode();) Et(o), kt(o), o.content instanceof c && At(o.content);
506
+ if (U) return e;
507
+ if (B) {
508
+ if (L) {
509
+ r.normalize();
510
+ let e = r.innerHTML;
511
+ u([
512
+ k,
513
+ A,
514
+ j
515
+ ], (t) => {
516
+ e = p(e, t, " ");
517
+ }), r.innerHTML = e;
518
+ }
519
+ if (V) for (s = Fe.call(r.ownerDocument); r.firstChild;) s.appendChild(r.firstChild);
520
+ else s = r;
521
+ return (N.shadowroot || N.shadowrootmode) && (s = Le.call(i, s, !0)), s;
522
+ }
523
+ let d = z ? r.outerHTML : r.innerHTML;
524
+ return z && M["!doctype"] && r.ownerDocument && r.ownerDocument.doctype && r.ownerDocument.doctype.name && h(we, r.ownerDocument.doctype.name) && (d = "<!DOCTYPE " + r.ownerDocument.doctype.name + ">\n" + d), L && u([
525
+ k,
526
+ A,
527
+ j
528
+ ], (e) => {
529
+ d = p(d, e, " ");
530
+ }), E && H ? E.createHTML(d) : d;
531
+ }, n.setConfig = function() {
532
+ vt(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), Ze = !0;
533
+ }, n.clearConfig = function() {
534
+ X = null, Ze = !1;
535
+ }, n.isValidAttribute = function(e, t, n) {
536
+ return X || vt({}), Dt(Y(e), Y(t), n);
537
+ }, n.addHook = function(e, t) {
538
+ typeof t == "function" && f(O[e], t);
539
+ }, n.removeHook = function(e, t) {
540
+ if (t !== void 0) {
541
+ let n = d(O[e], t);
542
+ return n === -1 ? void 0 : te(O[e], n, 1)[0];
543
+ }
544
+ return ee(O[e]);
545
+ }, n.removeHooks = function(e) {
546
+ O[e] = [];
547
+ }, n.removeAllHooks = function() {
548
+ O = ke();
549
+ }, n;
550
+ }
551
+ var je = Ae();
552
+ //#endregion
553
+ export { je as purify };
554
+
555
+ //# sourceMappingURL=purify.es.js.map