@burdenoff/microfe-product 2026.1109.1 → 2026.1109.3

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 (217) hide show
  1. package/dist/generated/global-operations.d.ts +0 -1
  2. package/dist/generated/global-types.d.ts +0 -1
  3. package/dist/generated/wspace-operations.d.ts +0 -1
  4. package/dist/generated/wspace-types.d.ts +0 -1
  5. package/dist/index.d.ts +0 -1
  6. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +96 -17
  7. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
  8. package/dist/product/ProductUserRoot.d.ts +0 -1
  9. package/dist/product/ProductUserRoutes.d.ts +1 -2
  10. package/dist/product/hooks/usePublicContentPage.d.ts +0 -1
  11. package/dist/product/hooks/usePublicProduct.d.ts +0 -1
  12. package/dist/product/hooks/usePublicProducts.d.ts +0 -1
  13. package/dist/product/pages/ContentPageViewPage.d.ts +1 -2
  14. package/dist/product/pages/ProductCatalogPage.d.ts +1 -2
  15. package/dist/product/pages/ProductViewPage.d.ts +1 -2
  16. package/dist/product/pages/UserProductsLandingPage.d.ts +1 -2
  17. package/dist/product/providers/ProductUserProvider.d.ts +1 -2
  18. package/dist/product/types/index.d.ts +0 -1
  19. package/dist/product-management/ProductManagementRoot.d.ts +0 -1
  20. package/dist/product-management/ProductManagementRoutes.d.ts +1 -2
  21. package/dist/product-management/index.d.ts +0 -1
  22. package/dist/product-management/modules/content-pages/components/ContentPageForm.d.ts +1 -2
  23. package/dist/product-management/modules/content-pages/components/ContentPageForm.js +4 -4
  24. package/dist/product-management/modules/content-pages/components/ContentPageForm.js.map +1 -1
  25. package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.d.ts +1 -2
  26. package/dist/product-management/modules/content-pages/hooks/useContentPages.d.ts +0 -1
  27. package/dist/product-management/modules/content-pages/index.d.ts +0 -1
  28. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.d.ts +1 -2
  29. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.d.ts +1 -2
  30. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.d.ts +1 -2
  31. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.d.ts +1 -2
  32. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js +140 -147
  33. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js.map +1 -1
  34. package/dist/product-management/modules/content-pages/schemas/index.d.ts +0 -1
  35. package/dist/product-management/modules/content-pages/types/index.d.ts +0 -1
  36. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.d.ts +0 -1
  37. package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.d.ts +0 -1
  38. package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.d.ts +0 -1
  39. package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.d.ts +0 -1
  40. package/dist/product-management/modules/feature-flags/index.d.ts +0 -1
  41. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.d.ts +0 -1
  42. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.d.ts +0 -1
  43. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.d.ts +0 -1
  44. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.d.ts +0 -1
  45. package/dist/product-management/modules/feature-flags/schemas/index.d.ts +0 -1
  46. package/dist/product-management/modules/feature-flags/types/index.d.ts +0 -1
  47. package/dist/product-management/modules/press-kit/components/PressKitAssetForm.d.ts +1 -2
  48. package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.d.ts +0 -1
  49. package/dist/product-management/modules/press-kit/index.d.ts +0 -1
  50. package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.d.ts +1 -2
  51. package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.d.ts +1 -2
  52. package/dist/product-management/modules/press-kit/pages/PressKitEditPage.d.ts +1 -2
  53. package/dist/product-management/modules/press-kit/pages/PressKitListPage.d.ts +1 -2
  54. package/dist/product-management/modules/press-kit/schemas/index.d.ts +0 -1
  55. package/dist/product-management/modules/press-kit/types/index.d.ts +0 -1
  56. package/dist/product-management/modules/products/components/ProductCard.d.ts +1 -2
  57. package/dist/product-management/modules/products/components/ProductForm.d.ts +1 -2
  58. package/dist/product-management/modules/products/components/ProductPlans.d.ts +1 -2
  59. package/dist/product-management/modules/products/components/ProductPlans.js +143 -130
  60. package/dist/product-management/modules/products/components/ProductPlans.js.map +1 -1
  61. package/dist/product-management/modules/products/components/ProductStats.d.ts +1 -2
  62. package/dist/product-management/modules/products/components/ProductStatusBadge.d.ts +1 -2
  63. package/dist/product-management/modules/products/hooks/useProducts.d.ts +0 -1
  64. package/dist/product-management/modules/products/index.d.ts +0 -1
  65. package/dist/product-management/modules/products/pages/ProductCreatePage.d.ts +1 -2
  66. package/dist/product-management/modules/products/pages/ProductDetailPage.d.ts +1 -2
  67. package/dist/product-management/modules/products/pages/ProductEditPage.d.ts +1 -2
  68. package/dist/product-management/modules/products/pages/ProductsListPage.d.ts +1 -2
  69. package/dist/product-management/modules/products/pages/ProductsListPage.js +144 -151
  70. package/dist/product-management/modules/products/pages/ProductsListPage.js.map +1 -1
  71. package/dist/product-management/modules/products/schemas/index.d.ts +0 -1
  72. package/dist/product-management/modules/products/types/index.d.ts +0 -1
  73. package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.d.ts +1 -2
  74. package/dist/product-management/modules/shortcuts/components/ShortcutForm.d.ts +1 -2
  75. package/dist/product-management/modules/shortcuts/components/ShortcutForm.js +66 -72
  76. package/dist/product-management/modules/shortcuts/components/ShortcutForm.js.map +1 -1
  77. package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.d.ts +1 -2
  78. package/dist/product-management/modules/shortcuts/hooks/useShortcuts.d.ts +0 -1
  79. package/dist/product-management/modules/shortcuts/index.d.ts +0 -1
  80. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.d.ts +1 -2
  81. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.d.ts +1 -2
  82. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.d.ts +1 -2
  83. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.d.ts +1 -2
  84. package/dist/product-management/modules/shortcuts/schemas/index.d.ts +0 -1
  85. package/dist/product-management/modules/shortcuts/types/index.d.ts +0 -1
  86. package/dist/product-management/providers/ProductConsoleProvider.d.ts +1 -2
  87. package/dist/product-management/shared/components/AuditHistoryTab.d.ts +1 -2
  88. package/dist/product-management/shared/components/TagList.d.ts +1 -2
  89. package/dist/product-management/shared/components/feedback/EmptyState.d.ts +1 -2
  90. package/dist/product-management/shared/components/feedback/ErrorState.d.ts +1 -2
  91. package/dist/product-management/shared/components/feedback/LoadingState.d.ts +1 -2
  92. package/dist/product-management/shared/components/input/ProductCombobox.d.ts +1 -2
  93. package/dist/product-management/shared/components/input/SearchInput.d.ts +1 -2
  94. package/dist/product-management/shared/components/input/TagInput.d.ts +1 -2
  95. package/dist/product-management/shared/hooks/useConfirmDialog.d.ts +1 -2
  96. package/dist/product-management/shared/hooks/useDebounced.d.ts +0 -1
  97. package/dist/product-management/shared/hooks/useTr.d.ts +0 -1
  98. package/dist/product-management/shared/index.d.ts +0 -1
  99. package/dist/product-management/shared/types/graphql.d.ts +0 -1
  100. package/dist/product-management/shared/utils/cn.d.ts +0 -1
  101. package/dist/product-management/shared/utils/exportUtils.d.ts +0 -1
  102. package/dist/product-management/shared/utils/permission-error.d.ts +0 -1
  103. package/dist/product-management/types/index.d.ts +0 -1
  104. package/dist/shared/components/MarkdownEditor.d.ts +1 -2
  105. package/dist/shared/components/index.d.ts +0 -1
  106. package/dist/shared/hooks/useTr.d.ts +0 -1
  107. package/dist/shared/index.d.ts +0 -1
  108. package/dist/shared/utils/formatDate.d.ts +0 -1
  109. package/dist/shared/utils/index.d.ts +0 -1
  110. package/dist/shared/utils/isSafeUrl.d.ts +0 -1
  111. package/dist/shared/utils/renderMarkdown.d.ts +0 -1
  112. package/dist/translations/en.d.ts +0 -1
  113. package/dist/translations/index.d.ts +0 -1
  114. package/dist/utils/nativeBridge.d.ts +0 -1
  115. package/package.json +59 -39
  116. package/dist/generated/global-operations.d.ts.map +0 -1
  117. package/dist/generated/global-types.d.ts.map +0 -1
  118. package/dist/generated/wspace-operations.d.ts.map +0 -1
  119. package/dist/generated/wspace-types.d.ts.map +0 -1
  120. package/dist/index.d.ts.map +0 -1
  121. package/dist/product/ProductUserRoot.d.ts.map +0 -1
  122. package/dist/product/ProductUserRoutes.d.ts.map +0 -1
  123. package/dist/product/hooks/usePublicContentPage.d.ts.map +0 -1
  124. package/dist/product/hooks/usePublicProduct.d.ts.map +0 -1
  125. package/dist/product/hooks/usePublicProducts.d.ts.map +0 -1
  126. package/dist/product/pages/ContentPageViewPage.d.ts.map +0 -1
  127. package/dist/product/pages/ProductCatalogPage.d.ts.map +0 -1
  128. package/dist/product/pages/ProductViewPage.d.ts.map +0 -1
  129. package/dist/product/pages/UserProductsLandingPage.d.ts.map +0 -1
  130. package/dist/product/providers/ProductUserProvider.d.ts.map +0 -1
  131. package/dist/product/types/index.d.ts.map +0 -1
  132. package/dist/product-management/ProductManagementRoot.d.ts.map +0 -1
  133. package/dist/product-management/ProductManagementRoutes.d.ts.map +0 -1
  134. package/dist/product-management/index.d.ts.map +0 -1
  135. package/dist/product-management/modules/content-pages/components/ContentPageForm.d.ts.map +0 -1
  136. package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.d.ts.map +0 -1
  137. package/dist/product-management/modules/content-pages/hooks/useContentPages.d.ts.map +0 -1
  138. package/dist/product-management/modules/content-pages/index.d.ts.map +0 -1
  139. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.d.ts.map +0 -1
  140. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.d.ts.map +0 -1
  141. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.d.ts.map +0 -1
  142. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.d.ts.map +0 -1
  143. package/dist/product-management/modules/content-pages/schemas/index.d.ts.map +0 -1
  144. package/dist/product-management/modules/content-pages/types/index.d.ts.map +0 -1
  145. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.d.ts.map +0 -1
  146. package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.d.ts.map +0 -1
  147. package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.d.ts.map +0 -1
  148. package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.d.ts.map +0 -1
  149. package/dist/product-management/modules/feature-flags/index.d.ts.map +0 -1
  150. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.d.ts.map +0 -1
  151. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.d.ts.map +0 -1
  152. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.d.ts.map +0 -1
  153. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.d.ts.map +0 -1
  154. package/dist/product-management/modules/feature-flags/schemas/index.d.ts.map +0 -1
  155. package/dist/product-management/modules/feature-flags/types/index.d.ts.map +0 -1
  156. package/dist/product-management/modules/press-kit/components/PressKitAssetForm.d.ts.map +0 -1
  157. package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.d.ts.map +0 -1
  158. package/dist/product-management/modules/press-kit/index.d.ts.map +0 -1
  159. package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.d.ts.map +0 -1
  160. package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.d.ts.map +0 -1
  161. package/dist/product-management/modules/press-kit/pages/PressKitEditPage.d.ts.map +0 -1
  162. package/dist/product-management/modules/press-kit/pages/PressKitListPage.d.ts.map +0 -1
  163. package/dist/product-management/modules/press-kit/schemas/index.d.ts.map +0 -1
  164. package/dist/product-management/modules/press-kit/types/index.d.ts.map +0 -1
  165. package/dist/product-management/modules/products/components/ProductCard.d.ts.map +0 -1
  166. package/dist/product-management/modules/products/components/ProductForm.d.ts.map +0 -1
  167. package/dist/product-management/modules/products/components/ProductPlans.d.ts.map +0 -1
  168. package/dist/product-management/modules/products/components/ProductStats.d.ts.map +0 -1
  169. package/dist/product-management/modules/products/components/ProductStatusBadge.d.ts.map +0 -1
  170. package/dist/product-management/modules/products/hooks/useProducts.d.ts.map +0 -1
  171. package/dist/product-management/modules/products/index.d.ts.map +0 -1
  172. package/dist/product-management/modules/products/pages/ProductCreatePage.d.ts.map +0 -1
  173. package/dist/product-management/modules/products/pages/ProductDetailPage.d.ts.map +0 -1
  174. package/dist/product-management/modules/products/pages/ProductEditPage.d.ts.map +0 -1
  175. package/dist/product-management/modules/products/pages/ProductsListPage.d.ts.map +0 -1
  176. package/dist/product-management/modules/products/schemas/index.d.ts.map +0 -1
  177. package/dist/product-management/modules/products/types/index.d.ts.map +0 -1
  178. package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.d.ts.map +0 -1
  179. package/dist/product-management/modules/shortcuts/components/ShortcutForm.d.ts.map +0 -1
  180. package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.d.ts.map +0 -1
  181. package/dist/product-management/modules/shortcuts/hooks/useShortcuts.d.ts.map +0 -1
  182. package/dist/product-management/modules/shortcuts/index.d.ts.map +0 -1
  183. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.d.ts.map +0 -1
  184. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.d.ts.map +0 -1
  185. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.d.ts.map +0 -1
  186. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.d.ts.map +0 -1
  187. package/dist/product-management/modules/shortcuts/schemas/index.d.ts.map +0 -1
  188. package/dist/product-management/modules/shortcuts/types/index.d.ts.map +0 -1
  189. package/dist/product-management/providers/ProductConsoleProvider.d.ts.map +0 -1
  190. package/dist/product-management/shared/components/AuditHistoryTab.d.ts.map +0 -1
  191. package/dist/product-management/shared/components/TagList.d.ts.map +0 -1
  192. package/dist/product-management/shared/components/feedback/EmptyState.d.ts.map +0 -1
  193. package/dist/product-management/shared/components/feedback/ErrorState.d.ts.map +0 -1
  194. package/dist/product-management/shared/components/feedback/LoadingState.d.ts.map +0 -1
  195. package/dist/product-management/shared/components/input/ProductCombobox.d.ts.map +0 -1
  196. package/dist/product-management/shared/components/input/SearchInput.d.ts.map +0 -1
  197. package/dist/product-management/shared/components/input/TagInput.d.ts.map +0 -1
  198. package/dist/product-management/shared/hooks/useConfirmDialog.d.ts.map +0 -1
  199. package/dist/product-management/shared/hooks/useDebounced.d.ts.map +0 -1
  200. package/dist/product-management/shared/hooks/useTr.d.ts.map +0 -1
  201. package/dist/product-management/shared/index.d.ts.map +0 -1
  202. package/dist/product-management/shared/types/graphql.d.ts.map +0 -1
  203. package/dist/product-management/shared/utils/cn.d.ts.map +0 -1
  204. package/dist/product-management/shared/utils/exportUtils.d.ts.map +0 -1
  205. package/dist/product-management/shared/utils/permission-error.d.ts.map +0 -1
  206. package/dist/product-management/types/index.d.ts.map +0 -1
  207. package/dist/shared/components/MarkdownEditor.d.ts.map +0 -1
  208. package/dist/shared/components/index.d.ts.map +0 -1
  209. package/dist/shared/hooks/useTr.d.ts.map +0 -1
  210. package/dist/shared/index.d.ts.map +0 -1
  211. package/dist/shared/utils/formatDate.d.ts.map +0 -1
  212. package/dist/shared/utils/index.d.ts.map +0 -1
  213. package/dist/shared/utils/isSafeUrl.d.ts.map +0 -1
  214. package/dist/shared/utils/renderMarkdown.d.ts.map +0 -1
  215. package/dist/translations/en.d.ts.map +0 -1
  216. package/dist/translations/index.d.ts.map +0 -1
  217. package/dist/utils/nativeBridge.d.ts.map +0 -1
@@ -1,78 +1,91 @@
1
1
  import { useTr as e } from "../../../shared/hooks/useTr.js";
2
2
  import { useCallback as t, useEffect as n, useState as r } from "react";
3
- import { Check as i, DollarSign as a, Edit as o, List as s, Loader2 as c, Plus as ee, ToggleLeft as l, ToggleRight as u } from "lucide-react";
3
+ import { Check as i, DollarSign as a, Edit as ee, List as o, Loader2 as s, Plus as c, ToggleLeft as l, ToggleRight as u } from "lucide-react";
4
4
  import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
5
- import { IllustratedEmptyState as m } from "@burdenoff/fe-libs/ui";
6
- import { graphqlFetch as h } from "@burdenoff/fe-libs/shared/graphql/fetch";
5
+ import { IllustratedEmptyState as te } from "@burdenoff/fe-libs/ui";
6
+ import { graphqlFetch as m } from "@burdenoff/fe-libs/shared/graphql/fetch";
7
7
  // src/product-management/modules/products/components/ProductPlans.tsx
8
- var g = "\n query GetAllPlans {\n getAllPlans {\n id\n name\n price\n currency\n duration\n isActive\n productID\n features {\n id\n quotaId\n quota {\n id\n name\n limits\n }\n }\n createdAt\n }\n }\n", _ = "\n query GetAllQuotas {\n getAllQuotas {\n id\n name\n limits\n }\n }\n", v = "\n mutation CreateQuota($input: createQuotaInput!) {\n createQuota(input: $input)\n }\n", y = "\n mutation CreatePlan($input: createPlanInput!) {\n createPlan(input: $input)\n }\n", te = "\n mutation UpdatePlan($input: updatePlanInput!) {\n updatePlan(input: $input)\n }\n", b = "\n mutation TogglePlan($planID: ID!, $status: Boolean!) {\n togglePlan(planID: $planID, status: $status)\n }\n";
9
- function x({ productId: x, productName: ne, readOnly: S = !1 }) {
10
- let C = e(), [w, T] = r([]), [E, re] = r([]), [ie, D] = r(!0), [O, k] = r(null), [A, j] = r(!1), [M, N] = r(null), [P, F] = r(!1), [I, L] = r(!1), [R, z] = r(""), [B, V] = r({
8
+ var ne = "\n query GetAllPlans {\n getAllPlans {\n id\n name\n price\n currency\n duration\n isActive\n productID\n features {\n id\n quotaId\n quota {\n id\n name\n limits\n }\n }\n createdAt\n }\n }\n", h = "\n query GetAllQuotas {\n getAllQuotas {\n id\n name\n limits\n }\n }\n", g = "\n mutation CreateQuota($input: createQuotaInput!) {\n createQuota(input: $input)\n }\n", re = "\n mutation CreatePlan($input: createPlanInput!) {\n createPlan(input: $input)\n }\n", _ = "\n mutation UpdatePlan($input: updatePlanInput!) {\n updatePlan(input: $input)\n }\n", ie = "\n mutation TogglePlan($planID: ID!, $status: Boolean!) {\n togglePlan(planID: $planID, status: $status)\n }\n";
9
+ function v({ productId: v, productName: ae, readOnly: y = !1 }) {
10
+ let b = e(), [x, S] = r([]), [C, w] = r([]), [oe, T] = r(!0), [E, D] = r(null), [O, k] = r(!1), [A, j] = r(null), [M, N] = r(!1), [P, F] = r(!1), [I, L] = r(""), [R, z] = r({
11
11
  name: "",
12
12
  price: "",
13
13
  currency: "USD",
14
14
  duration: "monthly",
15
15
  quotas: []
16
- }), H = t(async (e, t) => {
17
- let n = await h({
16
+ }), B = t(async (e, t) => {
17
+ let n = await m({
18
18
  gateway: "global",
19
19
  query: e,
20
20
  variables: t
21
21
  });
22
22
  if (n.errors?.length) throw Error(n.errors[0].message);
23
23
  return n.data ?? null;
24
- }, []), U = t(async () => {
24
+ }, []), V = t(async () => {
25
+ let [e, t] = await Promise.all([B(ne), B(h)]);
26
+ return {
27
+ plans: (e?.getAllPlans || []).filter((e) => e.productID === v),
28
+ quotas: t?.getAllQuotas || []
29
+ };
30
+ }, [v, B]), H = t((e) => {
31
+ D(b("products.failedToLoadPlans", "Failed to load plans")), console.error("Failed to fetch plans:", e);
32
+ }, [b]), U = t(async () => {
33
+ T(!0);
25
34
  try {
26
- D(!0);
27
- let [e, t] = await Promise.all([H(g), H(_)]), n = e?.getAllPlans || [];
28
- T(n.filter((e) => e.productID === x)), re(t?.getAllQuotas || []), k(null);
35
+ let e = await V();
36
+ S(e.plans), w(e.quotas), D(null);
29
37
  } catch (e) {
30
- k(C("products.failedToLoadPlans", "Failed to load plans")), console.error("Failed to fetch plans:", e);
38
+ H(e);
31
39
  } finally {
32
- D(!1);
40
+ T(!1);
33
41
  }
34
- }, [
35
- x,
36
- H,
37
- C
38
- ]);
42
+ }, [V, H]);
39
43
  n(() => {
40
- U();
41
- }, [U]);
44
+ let e = !0;
45
+ return V().then((t) => {
46
+ e && (S(t.plans), w(t.quotas), D(null));
47
+ }).catch((t) => {
48
+ e && H(t);
49
+ }).finally(() => {
50
+ e && T(!1);
51
+ }), () => {
52
+ e = !1;
53
+ };
54
+ }, [V, H]);
42
55
  let W = () => {
43
- V({
56
+ z({
44
57
  name: "",
45
58
  price: "",
46
59
  currency: "USD",
47
60
  duration: "monthly",
48
61
  quotas: []
49
- }), N(null), j(!1);
62
+ }), j(null), k(!1);
50
63
  }, G = async (e) => {
51
- e.preventDefault(), F(!0);
64
+ e.preventDefault(), N(!0);
52
65
  try {
53
- M ? await H(te, { input: {
54
- id: M.id,
55
- name: B.name,
56
- price: parseFloat(B.price),
57
- currency: B.currency,
58
- duration: B.duration,
59
- quotas: B.quotas
60
- } }) : await H(y, { input: {
61
- name: B.name,
62
- price: parseFloat(B.price),
63
- currency: B.currency,
64
- duration: B.duration,
65
- productId: x,
66
- quotas: B.quotas
66
+ A ? await B(_, { input: {
67
+ id: A.id,
68
+ name: R.name,
69
+ price: parseFloat(R.price),
70
+ currency: R.currency,
71
+ duration: R.duration,
72
+ quotas: R.quotas
73
+ } }) : await B(re, { input: {
74
+ name: R.name,
75
+ price: parseFloat(R.price),
76
+ currency: R.currency,
77
+ duration: R.duration,
78
+ productId: v,
79
+ quotas: R.quotas
67
80
  } }), W(), await U();
68
81
  } catch (e) {
69
- console.error("Failed to save plan:", e), k(C("products.failedToSavePlan", "Failed to save plan"));
82
+ console.error("Failed to save plan:", e), D(b("products.failedToSavePlan", "Failed to save plan"));
70
83
  } finally {
71
- F(!1);
84
+ N(!1);
72
85
  }
73
86
  }, K = async (e) => {
74
87
  try {
75
- await H(b, {
88
+ await B(ie, {
76
89
  planID: e.id,
77
90
  status: !e.isActive
78
91
  }), await U();
@@ -80,7 +93,7 @@ function x({ productId: x, productName: ne, readOnly: S = !1 }) {
80
93
  console.error("Failed to toggle plan:", e);
81
94
  }
82
95
  }, q = (e) => {
83
- N(e), V({
96
+ j(e), z({
84
97
  name: e.name,
85
98
  price: e.price.toString(),
86
99
  currency: e.currency,
@@ -89,24 +102,24 @@ function x({ productId: x, productName: ne, readOnly: S = !1 }) {
89
102
  quotaId: e.quotaId,
90
103
  quantity: 1
91
104
  }))
92
- }), j(!0);
105
+ }), k(!0);
93
106
  }, J = async () => {
94
- if (R.trim()) try {
95
- F(!0), await H(v, { input: {
96
- name: R.trim(),
107
+ if (I.trim()) try {
108
+ N(!0), await B(g, { input: {
109
+ name: I.trim(),
97
110
  quotaType: "PRODUCT_SPECIFIC",
98
111
  limits: {},
99
112
  reusable: !0
100
- } }), z(""), L(!1), await U();
113
+ } }), L(""), F(!1), await U();
101
114
  } catch (e) {
102
- console.error("Failed to create quota:", e), k(C("products.failedToCreateFeature", "Failed to create feature"));
115
+ console.error("Failed to create quota:", e), D(b("products.failedToCreateFeature", "Failed to create feature"));
103
116
  } finally {
104
- F(!1);
117
+ N(!1);
105
118
  }
106
119
  }, Y = (e) => {
107
120
  let t = e.toLowerCase();
108
121
  return t.includes("team") || t.includes("business") || t.includes("enterprise");
109
- }, X = w.filter((e) => !Y(e.name)), Z = w.filter((e) => Y(e.name)), ae = X.filter((e) => e.duration === "monthly"), oe = X.filter((e) => e.duration === "yearly"), [Q, $] = r("individual");
122
+ }, X = x.filter((e) => !Y(e.name)), Z = x.filter((e) => Y(e.name)), se = X.filter((e) => e.duration === "monthly"), ce = X.filter((e) => e.duration === "yearly"), [Q, $] = r("individual");
110
123
  return /* @__PURE__ */ p("div", {
111
124
  className: "bg-bg-surface bg-accent-wash border border-border-seam rounded-card p-6 shadow-elevation-1 transition-[box-shadow,border-color] duration-200 hover:border-border-strong hover:shadow-[var(--shadow-pop)] lg:col-span-2",
112
125
  children: [
@@ -114,35 +127,35 @@ function x({ productId: x, productName: ne, readOnly: S = !1 }) {
114
127
  className: "flex items-center justify-between mb-4",
115
128
  children: [/* @__PURE__ */ p("h2", {
116
129
  className: "text-lg font-semibold text-text-primary flex items-center gap-2",
117
- children: [/* @__PURE__ */ f(a, { size: 18 }), C("products.pricingPlans", "Pricing Plans")]
118
- }), !S && /* @__PURE__ */ p("button", {
130
+ children: [/* @__PURE__ */ f(a, { size: 18 }), b("products.pricingPlans", "Pricing Plans")]
131
+ }), !y && /* @__PURE__ */ p("button", {
119
132
  type: "button",
120
133
  onClick: () => {
121
- W(), j(!A);
134
+ W(), k(!O);
122
135
  },
123
136
  className: "\n inline-flex items-center gap-1.5 px-3 py-1.5\n bg-[var(--color-bg-accent)] text-[var(--color-text-on-accent)]\n rounded-lg text-sm font-medium\n hover:opacity-90 transition-all duration-200\n ",
124
- children: [/* @__PURE__ */ f(ee, { size: 14 }), C("products.addPlan", "Add Plan")]
137
+ children: [/* @__PURE__ */ f(c, { size: 14 }), b("products.addPlan", "Add Plan")]
125
138
  })]
126
139
  }),
127
- A && !S && /* @__PURE__ */ p("form", {
140
+ O && !y && /* @__PURE__ */ p("form", {
128
141
  onSubmit: G,
129
142
  className: "mb-6 p-4 bg-bg-sunken rounded-lg border border-default",
130
143
  children: [
131
144
  /* @__PURE__ */ f("h3", {
132
145
  className: "text-sm font-semibold text-text-primary mb-3",
133
- children: M ? C("products.editPlan", "Edit Plan") : C("products.createNewPlan", "Create New Plan")
146
+ children: A ? b("products.editPlan", "Edit Plan") : b("products.createNewPlan", "Create New Plan")
134
147
  }),
135
148
  /* @__PURE__ */ p("div", {
136
149
  className: "grid grid-cols-2 sm:grid-cols-4 gap-3",
137
150
  children: [
138
151
  /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ p("label", {
139
152
  className: "block text-xs font-medium text-text-secondary mb-1",
140
- children: [C("products.planName", "Name"), " *"]
153
+ children: [b("products.planName", "Name"), " *"]
141
154
  }), /* @__PURE__ */ f("input", {
142
155
  type: "text",
143
- value: B.name,
144
- onChange: (e) => V({
145
- ...B,
156
+ value: R.name,
157
+ onChange: (e) => z({
158
+ ...R,
146
159
  name: e.target.value
147
160
  }),
148
161
  placeholder: "e.g. Basic",
@@ -151,14 +164,14 @@ function x({ productId: x, productName: ne, readOnly: S = !1 }) {
151
164
  })] }),
152
165
  /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ p("label", {
153
166
  className: "block text-xs font-medium text-text-secondary mb-1",
154
- children: [C("products.planPrice", "Price"), " *"]
167
+ children: [b("products.planPrice", "Price"), " *"]
155
168
  }), /* @__PURE__ */ f("input", {
156
169
  type: "number",
157
170
  step: "0.01",
158
171
  min: "0",
159
- value: B.price,
160
- onChange: (e) => V({
161
- ...B,
172
+ value: R.price,
173
+ onChange: (e) => z({
174
+ ...R,
162
175
  price: e.target.value
163
176
  }),
164
177
  placeholder: "9.99",
@@ -167,29 +180,29 @@ function x({ productId: x, productName: ne, readOnly: S = !1 }) {
167
180
  })] }),
168
181
  /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ p("label", {
169
182
  className: "block text-xs font-medium text-text-secondary mb-1",
170
- children: [C("products.planDuration", "Duration"), " *"]
183
+ children: [b("products.planDuration", "Duration"), " *"]
171
184
  }), /* @__PURE__ */ p("select", {
172
- value: B.duration,
173
- onChange: (e) => V({
174
- ...B,
185
+ value: R.duration,
186
+ onChange: (e) => z({
187
+ ...R,
175
188
  duration: e.target.value
176
189
  }),
177
190
  className: "w-full px-3 py-2 text-sm rounded-md border border-default bg-surface text-text-primary scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary",
178
191
  children: [/* @__PURE__ */ f("option", {
179
192
  value: "monthly",
180
- children: C("products.monthly", "Monthly")
193
+ children: b("products.monthly", "Monthly")
181
194
  }), /* @__PURE__ */ f("option", {
182
195
  value: "yearly",
183
- children: C("products.yearly", "Yearly")
196
+ children: b("products.yearly", "Yearly")
184
197
  })]
185
198
  })] }),
186
199
  /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
187
200
  className: "block text-xs font-medium text-text-secondary mb-1",
188
- children: C("products.currency", "Currency")
201
+ children: b("products.currency", "Currency")
189
202
  }), /* @__PURE__ */ p("select", {
190
- value: B.currency,
191
- onChange: (e) => V({
192
- ...B,
203
+ value: R.currency,
204
+ onChange: (e) => z({
205
+ ...R,
193
206
  currency: e.target.value
194
207
  }),
195
208
  className: "w-full px-3 py-2 text-sm rounded-md border border-default bg-surface text-text-primary scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary",
@@ -218,29 +231,29 @@ function x({ productId: x, productName: ne, readOnly: S = !1 }) {
218
231
  className: "mt-3",
219
232
  children: [/* @__PURE__ */ p("label", {
220
233
  className: "block text-xs font-medium text-text-secondary mb-1",
221
- children: [/* @__PURE__ */ f(s, {
234
+ children: [/* @__PURE__ */ f(o, {
222
235
  size: 12,
223
236
  className: "inline mr-1"
224
- }), C("products.featuresQuotas", "Features / Quotas")]
225
- }), E.length > 0 ? /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("div", {
237
+ }), b("products.featuresQuotas", "Features / Quotas")]
238
+ }), C.length > 0 ? /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("div", {
226
239
  className: "space-y-1.5 max-h-32 overflow-y-auto",
227
- children: E.map((e) => {
228
- let t = B.quotas.some((t) => t.quotaId === e.id);
240
+ children: C.map((e) => {
241
+ let t = R.quotas.some((t) => t.quotaId === e.id);
229
242
  return /* @__PURE__ */ p("label", {
230
243
  className: "flex items-center gap-2 text-xs text-text-primary cursor-pointer hover:bg-bg-sunken/50 px-2 py-1 rounded",
231
244
  children: [/* @__PURE__ */ f("input", {
232
245
  type: "checkbox",
233
246
  checked: t,
234
247
  onChange: (t) => {
235
- t.target.checked ? V({
236
- ...B,
237
- quotas: [...B.quotas, {
248
+ t.target.checked ? z({
249
+ ...R,
250
+ quotas: [...R.quotas, {
238
251
  quotaId: e.id,
239
252
  quantity: 1
240
253
  }]
241
- }) : V({
242
- ...B,
243
- quotas: B.quotas.filter((t) => t.quotaId !== e.id)
254
+ }) : z({
255
+ ...R,
256
+ quotas: R.quotas.filter((t) => t.quotaId !== e.id)
244
257
  });
245
258
  },
246
259
  className: "rounded border-default"
@@ -253,23 +266,23 @@ function x({ productId: x, productName: ne, readOnly: S = !1 }) {
253
266
  /* @__PURE__ */ p("p", {
254
267
  className: "text-xs text-text-secondary",
255
268
  children: [
256
- B.quotas.length,
269
+ R.quotas.length,
257
270
  " ",
258
- C("products.featuresSelected", "feature(s) selected")
271
+ b("products.featuresSelected", "feature(s) selected")
259
272
  ]
260
273
  }),
261
274
  /* @__PURE__ */ f("span", {
262
275
  className: "text-xs text-text-secondary",
263
276
  children: "|"
264
277
  }),
265
- I ? /* @__PURE__ */ p("div", {
278
+ P ? /* @__PURE__ */ p("div", {
266
279
  className: "flex items-center gap-1.5",
267
280
  children: [
268
281
  /* @__PURE__ */ f("input", {
269
282
  type: "text",
270
- value: R,
271
- onChange: (e) => z(e.target.value),
272
- placeholder: C("products.featureNamePlaceholder", "Feature name"),
283
+ value: I,
284
+ onChange: (e) => L(e.target.value),
285
+ placeholder: b("products.featureNamePlaceholder", "Feature name"),
273
286
  className: "px-2 py-1 text-xs rounded border border-default bg-surface text-text-primary w-36",
274
287
  onKeyDown: (e) => {
275
288
  e.key === "Enter" && (e.preventDefault(), J());
@@ -278,38 +291,38 @@ function x({ productId: x, productName: ne, readOnly: S = !1 }) {
278
291
  /* @__PURE__ */ f("button", {
279
292
  type: "button",
280
293
  onClick: J,
281
- disabled: P || !R.trim(),
294
+ disabled: M || !I.trim(),
282
295
  className: "px-2 py-1 text-xs bg-[var(--color-bg-accent)] text-[var(--color-text-on-accent)] rounded hover:opacity-90 disabled:opacity-50",
283
- children: C("productCommon.add", "Add")
296
+ children: b("productCommon.add", "Add")
284
297
  }),
285
298
  /* @__PURE__ */ f("button", {
286
299
  type: "button",
287
300
  onClick: () => {
288
- L(!1), z("");
301
+ F(!1), L("");
289
302
  },
290
303
  className: "px-1.5 py-1 text-xs text-text-secondary hover:text-text-primary",
291
- children: C("productCommon.cancel", "Cancel")
304
+ children: b("productCommon.cancel", "Cancel")
292
305
  })
293
306
  ]
294
307
  }) : /* @__PURE__ */ f("button", {
295
308
  type: "button",
296
- onClick: () => L(!0),
309
+ onClick: () => F(!0),
297
310
  className: "text-xs text-[var(--color-action-primary-bg)] hover:underline",
298
- children: C("products.createNewFeature", "+ Create new feature")
311
+ children: b("products.createNewFeature", "+ Create new feature")
299
312
  })
300
313
  ]
301
314
  })] }) : /* @__PURE__ */ p("div", {
302
315
  className: "text-xs text-text-secondary",
303
316
  children: [
304
- C("products.noFeaturesCreated", "No features created yet."),
317
+ b("products.noFeaturesCreated", "No features created yet."),
305
318
  " ",
306
- I ? /* @__PURE__ */ p("div", {
319
+ P ? /* @__PURE__ */ p("div", {
307
320
  className: "flex items-center gap-1.5 mt-1.5",
308
321
  children: [
309
322
  /* @__PURE__ */ f("input", {
310
323
  type: "text",
311
- value: R,
312
- onChange: (e) => z(e.target.value),
324
+ value: I,
325
+ onChange: (e) => L(e.target.value),
313
326
  placeholder: "Feature name",
314
327
  className: "px-2 py-1 text-xs rounded border border-default bg-surface text-text-primary w-36",
315
328
  onKeyDown: (e) => {
@@ -319,14 +332,14 @@ function x({ productId: x, productName: ne, readOnly: S = !1 }) {
319
332
  /* @__PURE__ */ f("button", {
320
333
  type: "button",
321
334
  onClick: J,
322
- disabled: P || !R.trim(),
335
+ disabled: M || !I.trim(),
323
336
  className: "px-2 py-1 text-xs bg-[var(--color-bg-accent)] text-[var(--color-text-on-accent)] rounded hover:opacity-90 disabled:opacity-50",
324
337
  children: "Add"
325
338
  }),
326
339
  /* @__PURE__ */ f("button", {
327
340
  type: "button",
328
341
  onClick: () => {
329
- L(!1), z("");
342
+ F(!1), L("");
330
343
  },
331
344
  className: "px-1.5 py-1 text-xs text-text-secondary hover:text-text-primary",
332
345
  children: "Cancel"
@@ -334,9 +347,9 @@ function x({ productId: x, productName: ne, readOnly: S = !1 }) {
334
347
  ]
335
348
  }) : /* @__PURE__ */ f("button", {
336
349
  type: "button",
337
- onClick: () => L(!0),
350
+ onClick: () => F(!0),
338
351
  className: "text-[var(--color-action-primary-bg)] hover:underline",
339
- children: C("products.createYourFirstFeature", "Create your first feature")
352
+ children: b("products.createYourFirstFeature", "Create your first feature")
340
353
  })
341
354
  ]
342
355
  })]
@@ -345,38 +358,38 @@ function x({ productId: x, productName: ne, readOnly: S = !1 }) {
345
358
  className: "flex gap-2 mt-3",
346
359
  children: [/* @__PURE__ */ p("button", {
347
360
  type: "submit",
348
- disabled: P,
361
+ disabled: M,
349
362
  className: "\n inline-flex items-center gap-1.5 px-4 py-2\n bg-[var(--color-bg-accent)] text-[var(--color-text-on-accent)]\n rounded-md text-sm font-medium\n hover:opacity-90 transition-all duration-200\n disabled:opacity-50\n ",
350
- children: [P && /* @__PURE__ */ f(c, {
363
+ children: [M && /* @__PURE__ */ f(s, {
351
364
  size: 14,
352
365
  className: "animate-spin"
353
- }), M ? C("products.updatePlan", "Update Plan") : C("products.createPlan", "Create Plan")]
366
+ }), A ? b("products.updatePlan", "Update Plan") : b("products.createPlan", "Create Plan")]
354
367
  }), /* @__PURE__ */ f("button", {
355
368
  type: "button",
356
369
  onClick: W,
357
370
  className: "px-4 py-2 text-sm text-text-secondary hover:text-text-primary transition-colors",
358
- children: C("productCommon.cancel", "Cancel")
371
+ children: b("productCommon.cancel", "Cancel")
359
372
  })]
360
373
  })
361
374
  ]
362
375
  }),
363
- O && /* @__PURE__ */ f("div", {
376
+ E && /* @__PURE__ */ f("div", {
364
377
  className: "mb-4 p-3 bg-[var(--color-status-error-subtle)] border border-[var(--color-status-error-border)] rounded-lg text-sm text-[var(--color-status-error)]",
365
- children: O
378
+ children: E
366
379
  }),
367
- ie ? /* @__PURE__ */ p("div", {
380
+ oe ? /* @__PURE__ */ p("div", {
368
381
  className: "flex items-center justify-center py-8",
369
- children: [/* @__PURE__ */ f(c, {
382
+ children: [/* @__PURE__ */ f(s, {
370
383
  size: 20,
371
384
  className: "animate-spin text-text-secondary"
372
385
  }), /* @__PURE__ */ f("span", {
373
386
  className: "ml-2 text-sm text-text-secondary",
374
- children: C("products.loadingPlans", "Loading plans...")
387
+ children: b("products.loadingPlans", "Loading plans...")
375
388
  })]
376
- }) : w.length === 0 ? /* @__PURE__ */ f(m, {
389
+ }) : x.length === 0 ? /* @__PURE__ */ f(te, {
377
390
  illustration: "empty-data",
378
- title: C("products.noPricingPlans", "No pricing plans yet"),
379
- description: C("products.clickAddPlan", "Click \"Add Plan\" to create your first plan")
391
+ title: b("products.noPricingPlans", "No pricing plans yet"),
392
+ description: b("products.clickAddPlan", "Click \"Add Plan\" to create your first plan")
380
393
  }) : /* @__PURE__ */ p("div", {
381
394
  className: "space-y-6",
382
395
  children: [Z.length > 0 && /* @__PURE__ */ p("div", {
@@ -401,13 +414,13 @@ function x({ productId: x, productName: ne, readOnly: S = !1 }) {
401
414
  ]
402
415
  })]
403
416
  }), (Q === "individual" || Z.length === 0 ? [{
404
- label: C("products.monthlyPlans", "Monthly Plans"),
405
- plans: ae
417
+ label: b("products.monthlyPlans", "Monthly Plans"),
418
+ plans: se
406
419
  }, {
407
- label: C("products.yearlyPlans", "Yearly Plans"),
408
- plans: oe
420
+ label: b("products.yearlyPlans", "Yearly Plans"),
421
+ plans: ce
409
422
  }] : [{
410
- label: C("products.enterprisePlans", "Enterprise Plans"),
423
+ label: b("products.enterprisePlans", "Enterprise Plans"),
411
424
  plans: Z
412
425
  }]).filter((e) => e.plans.length > 0).map((e) => /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("h3", {
413
426
  className: "text-xs font-semibold text-text-secondary uppercase tracking-wider mb-3",
@@ -425,7 +438,7 @@ function x({ productId: x, productName: ne, readOnly: S = !1 }) {
425
438
  children: [
426
439
  n && /* @__PURE__ */ f("span", {
427
440
  className: "absolute -top-2.5 left-1/2 -translate-x-1/2 px-3 py-0.5 text-xs font-semibold bg-[var(--color-action-primary-bg)] text-[var(--color-action-primary-text)] rounded-full",
428
- children: C("products.popular", "Popular")
441
+ children: b("products.popular", "Popular")
429
442
  }),
430
443
  /* @__PURE__ */ p("div", {
431
444
  className: "flex items-start justify-between mb-3",
@@ -434,13 +447,13 @@ function x({ productId: x, productName: ne, readOnly: S = !1 }) {
434
447
  children: e.name
435
448
  }), /* @__PURE__ */ f("span", {
436
449
  className: `inline-flex items-center px-1.5 py-0.5 text-xs font-medium rounded-full mt-1 ${e.isActive ? "bg-[var(--color-status-success-subtle)] text-[var(--color-status-success)]" : "bg-bg-sunken text-text-secondary"}`,
437
- children: e.isActive ? C("products.statusActive", "Active") : C("products.statusInactive", "Inactive")
438
- })] }), !S && /* @__PURE__ */ p("div", {
450
+ children: e.isActive ? b("products.statusActive", "Active") : b("products.statusInactive", "Inactive")
451
+ })] }), !y && /* @__PURE__ */ p("div", {
439
452
  className: "flex items-center gap-0.5",
440
453
  children: [/* @__PURE__ */ f("button", {
441
454
  type: "button",
442
455
  onClick: () => K(e),
443
- title: e.isActive ? C("products.deactivate", "Deactivate") : C("products.activate", "Activate"),
456
+ title: e.isActive ? b("products.deactivate", "Deactivate") : b("products.activate", "Activate"),
444
457
  className: "p-1.5 rounded-lg hover:bg-bg-sunken transition-colors text-text-secondary hover:text-text-primary",
445
458
  children: e.isActive ? /* @__PURE__ */ f(u, {
446
459
  size: 16,
@@ -449,9 +462,9 @@ function x({ productId: x, productName: ne, readOnly: S = !1 }) {
449
462
  }), /* @__PURE__ */ f("button", {
450
463
  type: "button",
451
464
  onClick: () => q(e),
452
- title: C("products.edit", "Edit"),
465
+ title: b("products.edit", "Edit"),
453
466
  className: "p-1.5 rounded-lg hover:bg-bg-sunken transition-colors text-text-secondary hover:text-text-primary",
454
- children: /* @__PURE__ */ f(o, { size: 14 })
467
+ children: /* @__PURE__ */ f(ee, { size: 14 })
455
468
  })]
456
469
  })]
457
470
  }),
@@ -492,7 +505,7 @@ function x({ productId: x, productName: ne, readOnly: S = !1 }) {
492
505
  className: "border-t border-border-seam pt-3",
493
506
  children: /* @__PURE__ */ f("p", {
494
507
  className: "text-xs text-text-secondary italic",
495
- children: C("products.noFeaturesAssigned", "No features assigned")
508
+ children: b("products.noFeaturesAssigned", "No features assigned")
496
509
  })
497
510
  })
498
511
  ]
@@ -503,6 +516,6 @@ function x({ productId: x, productName: ne, readOnly: S = !1 }) {
503
516
  ]
504
517
  });
505
518
  }
506
- export { x as ProductPlans };
519
+ export { v as ProductPlans };
507
520
 
508
521
  //# sourceMappingURL=ProductPlans.js.map