@cedros/pay-react 1.1.27 → 1.1.29

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 (172) hide show
  1. package/dist/{AISettingsSection-DELur7D2.js → AISettingsSection-B7qrycfY.js} +2 -2
  2. package/dist/{AISettingsSection-BlIv3CzS.mjs → AISettingsSection-DtAgMsDw.mjs} +6 -4
  3. package/dist/{AutosaveIndicator-Bed0-ekg.mjs → AutosaveIndicator-BEvABoKU.mjs} +1 -1
  4. package/dist/AutosaveIndicator-DiyeAg93.js +1 -0
  5. package/dist/CedrosContext-5Gjveoba.mjs +2555 -0
  6. package/dist/CedrosContext-CCakH2SZ.js +3 -0
  7. package/dist/CedrosPayAdminDashboard-CAwEvn66.js +1 -0
  8. package/dist/CedrosPayAdminDashboard-CBuvNAtB.mjs +250 -0
  9. package/dist/{ChatLogsSection-v4zwzCTC.mjs → ChatLogsSection-Ber5o8hF.mjs} +19 -17
  10. package/dist/ChatLogsSection-DLxMMi9I.js +1 -0
  11. package/dist/ComplianceSection-Buu0zTiL.js +1 -0
  12. package/dist/{ComplianceSection-CemgfDrL.mjs → ComplianceSection-ZCr0wsvw.mjs} +18 -15
  13. package/dist/{CryptoButton-BV9owVe2.mjs → CryptoButton-Cl2kZbOP.mjs} +26 -24
  14. package/dist/CryptoButton-DxFCYDlJ.js +1 -0
  15. package/dist/CustomersSection-BywmMLur.js +1 -0
  16. package/dist/{CustomersSection-D_j7OrfS.mjs → CustomersSection-D9UknSKC.mjs} +21 -19
  17. package/dist/{DisputesSection-BcAbXp3K.mjs → DisputesSection-C_eySK-W.mjs} +19 -17
  18. package/dist/DisputesSection-DwkHGv2a.js +1 -0
  19. package/dist/Dropdown-B90Zabxr.mjs +111 -0
  20. package/dist/Dropdown-CtY91emj.js +1 -0
  21. package/dist/ErrorBanner-CZXsHi3H.mjs +22 -0
  22. package/dist/ErrorBanner-Cx2dUhps.js +1 -0
  23. package/dist/{FAQSection-Dn38OhB_.mjs → FAQSection-Bv_Hdt8B.mjs} +8 -6
  24. package/dist/FAQSection-DlPLnIJD.js +1 -0
  25. package/dist/ImagesSection-B4Jzet79.js +1 -0
  26. package/dist/{ImagesSection-Ctw9Icym.mjs → ImagesSection-DpdXQ6qu.mjs} +6 -4
  27. package/dist/InventorySection-BgRdpn1l.js +1 -0
  28. package/dist/{InventorySection-DmhjUlRZ.mjs → InventorySection-DZMu9DMw.mjs} +25 -23
  29. package/dist/MessagingSection-CxV-pf-f.js +1 -0
  30. package/dist/{MessagingSection-B1FaGxkp.mjs → MessagingSection-D_cOBfFt.mjs} +5 -4
  31. package/dist/OrdersSection-BbAX79Ff.js +1 -0
  32. package/dist/{OrdersSection-Bj8bPdg8.mjs → OrdersSection-wfPavit9.mjs} +27 -24
  33. package/dist/PaymentSettingsSection-BdBDgaRg.js +1 -0
  34. package/dist/PaymentSettingsSection-DunzBo9n.mjs +648 -0
  35. package/dist/ReturnsSection-7k4LZ8yp.js +1 -0
  36. package/dist/{ReturnsSection-BC0L8r2e.mjs → ReturnsSection-B4FL7bUv.mjs} +11 -9
  37. package/dist/{SettingsSection-vdYFSNxB.js → SettingsSection-Cz2Yjdhr.js} +1 -1
  38. package/dist/{SettingsSection-KYdEizq_.mjs → SettingsSection-DoeNDbqd.mjs} +1 -1
  39. package/dist/{ShippingSection-BOgto6_9.mjs → ShippingSection-BlVsYC6B.mjs} +5 -3
  40. package/dist/ShippingSection-C-HI8rOb.js +1 -0
  41. package/dist/{SingleCategorySettings-suJ8z9d8.mjs → SingleCategorySettings-B406nnF-.mjs} +143 -140
  42. package/dist/SingleCategorySettings-BqC2UXt3.js +3 -0
  43. package/dist/StatsBar-D4v-I_Dj.mjs +25 -0
  44. package/dist/StatsBar-m6GSRNxs.js +1 -0
  45. package/dist/StorefrontSection-Axvh_KeS.js +1 -0
  46. package/dist/{StorefrontSection-BRvIGBEJ.mjs → StorefrontSection-BK_rhrAi.mjs} +121 -119
  47. package/dist/{SubscriptionsSection-D60qrX9a.mjs → SubscriptionsSection-D8V9RBv-.mjs} +11 -9
  48. package/dist/SubscriptionsSection-EeULMWIB.js +1 -0
  49. package/dist/{TaxSection-C7-pv-Rl.mjs → TaxSection-Cj6TXL6x.mjs} +23 -21
  50. package/dist/TaxSection-CzHPhaHl.js +1 -0
  51. package/dist/ThemeContext-CFXyYx7A.js +1 -0
  52. package/dist/ThemeContext-l0bqcOGW.mjs +126 -0
  53. package/dist/Token22Section-DqRKVG_G.js +1 -0
  54. package/dist/{Token22Section-CrHLQ0EB.mjs → Token22Section-DtYAcT54.mjs} +7 -6
  55. package/dist/{WalletManager-BIwH8Dw_.mjs → WalletManager-D-eoqUDy.mjs} +21 -19
  56. package/dist/WalletManager-DXChB9LA.js +1 -0
  57. package/dist/WebhooksSection-D--iPZuM.js +1 -0
  58. package/dist/{WebhooksSection-COPW4Ec0.mjs → WebhooksSection-DBAIxtBy.mjs} +40 -38
  59. package/dist/admin.d.ts +2 -0
  60. package/dist/admin.js +1 -0
  61. package/dist/admin.mjs +8 -0
  62. package/dist/configApi-BS5UJfzm.js +1 -0
  63. package/dist/{configApi-6XhAJGKX.mjs → configApi-BUXZOMWK.mjs} +57 -3
  64. package/dist/crypto-only.js +1 -1
  65. package/dist/crypto-only.mjs +214 -202
  66. package/dist/dateHelpers-BKW_lGND.js +1 -0
  67. package/dist/dateHelpers-yvPkofYQ.mjs +6 -0
  68. package/dist/fetchWithTimeout-CG0EKbhf.js +1 -0
  69. package/dist/fetchWithTimeout-DmMOwL0Q.mjs +195 -0
  70. package/dist/index-9QF_UfSN.mjs +18668 -0
  71. package/dist/index-Cq9ya93W.js +84 -0
  72. package/dist/index.js +1 -1
  73. package/dist/index.mjs +74 -64
  74. package/dist/safeHref-DqJPLPl5.mjs +12 -0
  75. package/dist/safeHref-DyHIpVjY.js +1 -0
  76. package/dist/sectionIds-B_tFiNvF.js +1 -0
  77. package/dist/sectionIds-DBavltrL.mjs +359 -0
  78. package/dist/sections-BHph7CYj.mjs +9 -0
  79. package/dist/sections-C2zEJr5G.js +1 -0
  80. package/dist/sections-more-C1VNVwkp.js +1 -0
  81. package/dist/sections-more-CMFgfU4d.mjs +3082 -0
  82. package/dist/src/admin/index.d.ts +3 -3
  83. package/dist/src/admin/index.d.ts.map +1 -1
  84. package/dist/src/admin/plugin.d.ts.map +1 -1
  85. package/dist/src/admin/types.d.ts +2 -6
  86. package/dist/src/admin/types.d.ts.map +1 -1
  87. package/dist/src/admin.d.ts +9 -0
  88. package/dist/src/admin.d.ts.map +1 -0
  89. package/dist/src/components/admin/LazyCedrosPayAdminDashboard.d.ts +4 -0
  90. package/dist/src/components/admin/LazyCedrosPayAdminDashboard.d.ts.map +1 -0
  91. package/dist/src/components/admin/PaymentReadinessChecklist.d.ts +9 -0
  92. package/dist/src/components/admin/PaymentReadinessChecklist.d.ts.map +1 -0
  93. package/dist/src/components/admin/PaymentSettingsSection.d.ts.map +1 -1
  94. package/dist/src/components/admin/PaymentSetupGuide.d.ts +6 -0
  95. package/dist/src/components/admin/PaymentSetupGuide.d.ts.map +1 -0
  96. package/dist/src/components/admin/ProductsSection.d.ts.map +1 -1
  97. package/dist/src/components/admin/configApi.d.ts +1 -1
  98. package/dist/src/components/admin/configApi.d.ts.map +1 -1
  99. package/dist/src/components/admin/icons.d.ts +3 -50
  100. package/dist/src/components/admin/icons.d.ts.map +1 -1
  101. package/dist/src/components/admin/index.d.ts +1 -1
  102. package/dist/src/components/admin/index.d.ts.map +1 -1
  103. package/dist/src/components/admin/types.d.ts +43 -0
  104. package/dist/src/components/admin/types.d.ts.map +1 -1
  105. package/dist/src/context/CedrosContext.d.ts +2 -0
  106. package/dist/src/context/CedrosContext.d.ts.map +1 -1
  107. package/dist/src/ecommerce/__tests__/featureFlags.test.d.ts +2 -0
  108. package/dist/src/ecommerce/__tests__/featureFlags.test.d.ts.map +1 -0
  109. package/dist/src/ecommerce/adapters/paywall/paywallAdapter.d.ts.map +1 -1
  110. package/dist/src/ecommerce/components/general/ErrorBoundary.d.ts +1 -1
  111. package/dist/src/ecommerce/components/ui/button.d.ts +1 -1
  112. package/dist/src/ecommerce/components/ui/sheet.d.ts +1 -1
  113. package/dist/src/ecommerce/config/context.d.ts +2 -0
  114. package/dist/src/ecommerce/config/context.d.ts.map +1 -1
  115. package/dist/src/ecommerce/config/types.d.ts +2 -0
  116. package/dist/src/ecommerce/config/types.d.ts.map +1 -1
  117. package/dist/src/ecommerce/index.d.ts +2 -0
  118. package/dist/src/ecommerce/index.d.ts.map +1 -1
  119. package/dist/src/featureFlags.d.ts +41 -0
  120. package/dist/src/featureFlags.d.ts.map +1 -0
  121. package/dist/src/index.d.ts +4 -2
  122. package/dist/src/index.d.ts.map +1 -1
  123. package/dist/src/managers/StripeManager.d.ts.map +1 -1
  124. package/dist/src/managers/SubscriptionManager.d.ts +1 -0
  125. package/dist/src/managers/SubscriptionManager.d.ts.map +1 -1
  126. package/dist/src/types/index.d.ts +14 -1
  127. package/dist/src/types/index.d.ts.map +1 -1
  128. package/dist/src/types/subscription.d.ts +47 -1
  129. package/dist/src/types/subscription.d.ts.map +1 -1
  130. package/dist/src/utils/validateConfig.d.ts.map +1 -1
  131. package/dist/stripe-only.js +1 -1
  132. package/dist/stripe-only.mjs +35 -33
  133. package/dist/styles--fxb3lCl.js +1 -0
  134. package/dist/{styles-D4SQkuV3.mjs → styles-DGagylUj.mjs} +53 -51
  135. package/dist/testing/index.js +1 -1
  136. package/dist/testing/index.mjs +1 -1
  137. package/dist/tokenMintValidator-DAjQld0r.mjs +98 -0
  138. package/dist/tokenMintValidator-DNBhoefh.js +4 -0
  139. package/dist/{walletPool-DE-t1wSW.mjs → walletPool-9MylB2QK.mjs} +1 -1
  140. package/dist/walletPool-BjTXX6Vn.js +1 -0
  141. package/package.json +6 -5
  142. package/dist/AutosaveIndicator-Dn_qA2hK.js +0 -1
  143. package/dist/CedrosContext-C2RjHLaQ.js +0 -6
  144. package/dist/CedrosContext-CY6zvjvJ.mjs +0 -2801
  145. package/dist/ChatLogsSection-BH5tLA4T.js +0 -1
  146. package/dist/ComplianceSection-DP2a9-S0.js +0 -1
  147. package/dist/CryptoButton-DpiCnyXE.js +0 -1
  148. package/dist/CustomersSection-CBwy_waO.js +0 -1
  149. package/dist/DisputesSection-BLjIk60n.js +0 -1
  150. package/dist/FAQSection-wNeH0i6Q.js +0 -1
  151. package/dist/ImagesSection-0ZzKlzMJ.js +0 -1
  152. package/dist/InventorySection-zV6lTmue.js +0 -1
  153. package/dist/MessagingSection-B_wdFR0j.js +0 -1
  154. package/dist/OrdersSection-Dw2FX-1d.js +0 -1
  155. package/dist/PaymentSettingsSection-BYF4D-GR.js +0 -1
  156. package/dist/PaymentSettingsSection-EnMxeWjv.mjs +0 -94
  157. package/dist/ReturnsSection-D_pJVxuG.js +0 -1
  158. package/dist/ShippingSection-1DRSTu49.js +0 -1
  159. package/dist/SingleCategorySettings-DwCnBdRf.js +0 -3
  160. package/dist/StorefrontSection-RumGkb3C.js +0 -1
  161. package/dist/SubscriptionsSection-C2aLLn7L.js +0 -1
  162. package/dist/TaxSection-Dt1DnM51.js +0 -1
  163. package/dist/Token22Section-DY3mUwTY.js +0 -1
  164. package/dist/WalletManager-B3UdQ5pQ.js +0 -1
  165. package/dist/WebhooksSection-CKeiJ7Py.js +0 -1
  166. package/dist/configApi-DkduMQg1.js +0 -1
  167. package/dist/index-C0g-JxJk.js +0 -84
  168. package/dist/index-DXnuQp5x.mjs +0 -22128
  169. package/dist/sections-C1NpK7hk.mjs +0 -9
  170. package/dist/sections-DVVSZBhW.js +0 -1
  171. package/dist/styles-BT4bhFey.js +0 -1
  172. package/dist/walletPool-IS7R3MR1.js +0 -1
@@ -1,9 +1,11 @@
1
- import { jsx as t, jsxs as a } from "react/jsx-runtime";
1
+ import { jsx as t, jsxs as r } from "react/jsx-runtime";
2
2
  import { useState as h, useCallback as z, useEffect as j } from "react";
3
- import { I as H, E as V, F as x } from "./index-DXnuQp5x.mjs";
3
+ import { I as H } from "./sectionIds-DBavltrL.mjs";
4
+ import { E as V } from "./ErrorBanner-CZXsHi3H.mjs";
5
+ import { F as x } from "./Dropdown-B90Zabxr.mjs";
4
6
  import { T as d } from "./Toggle-DAxIdpY4.mjs";
5
7
  import { u as q } from "./useAutosave-YwMqRzqy.mjs";
6
- import { A as X } from "./AutosaveIndicator-Bed0-ekg.mjs";
8
+ import { A as X } from "./AutosaveIndicator-BEvABoKU.mjs";
7
9
  const C = {
8
10
  enabled: !0,
9
11
  relatedProducts: {
@@ -102,18 +104,18 @@ const C = {
102
104
  { id: "product-pages", label: "Product Pages" },
103
105
  { id: "checkout", label: "Checkout" }
104
106
  ];
105
- function te({ serverUrl: g, apiKey: s, authManager: c }) {
107
+ function ae({ serverUrl: g, apiKey: s, authManager: c }) {
106
108
  const [m, W] = h("shop-page"), [o, n] = h(C), [B, L] = h(!0), [N, D] = h(!0), [R, y] = h(null), f = z(async () => {
107
109
  try {
108
110
  y(null);
109
111
  let e;
110
- const r = "/admin/config/shop";
112
+ const a = "/admin/config/shop";
111
113
  if (c?.isAuthenticated())
112
- e = await c.fetchWithAuth(r);
114
+ e = await c.fetchWithAuth(a);
113
115
  else {
114
116
  const i = { "Content-Type": "application/json" };
115
117
  s && (i["X-API-Key"] = s);
116
- const l = await fetch(`${g}${r}`, { headers: i });
118
+ const l = await fetch(`${g}${a}`, { headers: i });
117
119
  if (!l.ok) throw new Error(`Failed to fetch settings: ${l.status}`);
118
120
  e = await l.json();
119
121
  }
@@ -128,14 +130,14 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
128
130
  f();
129
131
  }, [f]);
130
132
  const A = z(async (e) => {
131
- const r = "/admin/config/shop", i = JSON.stringify({ config: e });
133
+ const a = "/admin/config/shop", i = JSON.stringify({ config: e });
132
134
  try {
133
135
  if (c?.isAuthenticated())
134
- await c.fetchWithAuth(r, { method: "PUT", body: i });
136
+ await c.fetchWithAuth(a, { method: "PUT", body: i });
135
137
  else {
136
138
  const l = { "Content-Type": "application/json" };
137
139
  s && (l["X-API-Key"] = s);
138
- const p = await fetch(`${g}${r}`, { method: "PUT", headers: l, body: i });
140
+ const p = await fetch(`${g}${a}`, { method: "PUT", headers: l, body: i });
139
141
  if (!p.ok) throw new Error(`Failed to save settings: ${p.status}`);
140
142
  }
141
143
  } catch {
@@ -147,83 +149,83 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
147
149
  debounceMs: 1500,
148
150
  enabled: !N
149
151
  }), O = (e) => {
150
- n((r) => ({
151
- ...r,
152
- relatedProducts: { ...r.relatedProducts, mode: e }
152
+ n((a) => ({
153
+ ...a,
154
+ relatedProducts: { ...a.relatedProducts, mode: e }
153
155
  }));
154
156
  }, $ = (e) => {
155
- n((r) => ({
156
- ...r,
157
- relatedProducts: { ...r.relatedProducts, maxItems: e }
157
+ n((a) => ({
158
+ ...a,
159
+ relatedProducts: { ...a.relatedProducts, maxItems: e }
158
160
  }));
159
- }, P = (e, r) => {
161
+ }, P = (e, a) => {
160
162
  n((i) => ({
161
163
  ...i,
162
164
  relatedProducts: {
163
165
  ...i.relatedProducts,
164
- layout: { ...i.relatedProducts.layout, [e]: r }
166
+ layout: { ...i.relatedProducts.layout, [e]: a }
165
167
  }
166
168
  }));
167
- }, v = (e, r) => {
169
+ }, v = (e, a) => {
168
170
  n((i) => ({
169
171
  ...i,
170
172
  catalog: {
171
173
  ...i.catalog,
172
- filters: { ...i.catalog.filters, [e]: r }
174
+ filters: { ...i.catalog.filters, [e]: a }
173
175
  }
174
176
  }));
175
- }, b = (e, r) => {
177
+ }, b = (e, a) => {
176
178
  const i = o.catalog.sort, l = Object.values(i).filter(Boolean).length;
177
- !r && l <= 1 || n((p) => ({
179
+ !a && l <= 1 || n((p) => ({
178
180
  ...p,
179
181
  catalog: {
180
182
  ...p.catalog,
181
- sort: { ...p.catalog.sort, [e]: r }
183
+ sort: { ...p.catalog.sort, [e]: a }
182
184
  }
183
185
  }));
184
- }, M = (e, r) => {
186
+ }, M = (e, a) => {
185
187
  n((i) => ({
186
188
  ...i,
187
- checkout: { ...i.checkout, [e]: r }
189
+ checkout: { ...i.checkout, [e]: a }
188
190
  }));
189
- }, w = (e, r) => {
191
+ }, w = (e, a) => {
190
192
  n((i) => ({
191
193
  ...i,
192
- shopLayout: { ...i.shopLayout, [e]: r }
194
+ shopLayout: { ...i.shopLayout, [e]: a }
193
195
  }));
194
- }, I = (e, r) => {
196
+ }, I = (e, a) => {
195
197
  n((i) => ({
196
198
  ...i,
197
- categoryLayout: { ...i.categoryLayout, [e]: r }
199
+ categoryLayout: { ...i.categoryLayout, [e]: a }
198
200
  }));
199
- }, u = (e, r) => {
201
+ }, u = (e, a) => {
200
202
  n((i) => ({
201
203
  ...i,
202
- sections: { ...i.sections, [e]: r }
204
+ sections: { ...i.sections, [e]: a }
203
205
  }));
204
- }, S = (e, r) => {
206
+ }, S = (e, a) => {
205
207
  n((i) => ({
206
208
  ...i,
207
- inventory: { ...i.inventory, [e]: r }
209
+ inventory: { ...i.inventory, [e]: a }
208
210
  }));
209
- }, T = (e, r) => {
211
+ }, T = (e, a) => {
210
212
  n((i) => ({
211
213
  ...i,
212
- shopPage: { ...i.shopPage, [e]: r }
214
+ shopPage: { ...i.shopPage, [e]: a }
213
215
  }));
214
216
  };
215
- return B ? /* @__PURE__ */ t("div", { className: "cedros-admin__section", children: /* @__PURE__ */ a("div", { className: "cedros-admin__loading", children: [
217
+ return B ? /* @__PURE__ */ t("div", { className: "cedros-admin__section", children: /* @__PURE__ */ r("div", { className: "cedros-admin__loading", children: [
216
218
  H.loading,
217
219
  " Loading storefront settings..."
218
- ] }) }) : /* @__PURE__ */ a("div", { className: "cedros-admin__storefront-settings", children: [
219
- /* @__PURE__ */ a("div", { className: "cedros-admin__page-header", style: { display: "flex", justifyContent: "space-between", alignItems: "flex-start" }, children: [
220
- /* @__PURE__ */ a("div", { children: [
220
+ ] }) }) : /* @__PURE__ */ r("div", { className: "cedros-admin__storefront-settings", children: [
221
+ /* @__PURE__ */ r("div", { className: "cedros-admin__page-header", style: { display: "flex", justifyContent: "space-between", alignItems: "flex-start" }, children: [
222
+ /* @__PURE__ */ r("div", { children: [
221
223
  /* @__PURE__ */ t("h2", { className: "cedros-admin__page-title", children: "Storefront" }),
222
224
  /* @__PURE__ */ t("p", { className: "cedros-admin__page-description", children: "Configure catalog filters, product layouts, and checkout settings." })
223
225
  ] }),
224
- /* @__PURE__ */ a("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem", flexShrink: 0 }, children: [
226
+ /* @__PURE__ */ r("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem", flexShrink: 0 }, children: [
225
227
  /* @__PURE__ */ t("span", { style: { fontSize: "0.875rem", color: o.enabled ? "var(--cedros-admin-text, #171717)" : "var(--cedros-admin-muted, #737373)" }, children: o.enabled ? "Enabled" : "Disabled" }),
226
- /* @__PURE__ */ t(d, { checked: o.enabled, onChange: (e) => n((r) => ({ ...r, enabled: e })) })
228
+ /* @__PURE__ */ t(d, { checked: o.enabled, onChange: (e) => n((a) => ({ ...a, enabled: e })) })
227
229
  ] })
228
230
  ] }),
229
231
  !o.enabled && /* @__PURE__ */ t(
@@ -241,7 +243,7 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
241
243
  children: "The storefront is disabled. Enable it using the toggle above to activate your store."
242
244
  }
243
245
  ),
244
- /* @__PURE__ */ a("div", { className: "cedros-admin__tabs cedros-admin__tabs--line", style: { opacity: o.enabled ? 1 : 0.5, pointerEvents: o.enabled ? "auto" : "none" }, children: [
246
+ /* @__PURE__ */ r("div", { className: "cedros-admin__tabs cedros-admin__tabs--line", style: { opacity: o.enabled ? 1 : 0.5, pointerEvents: o.enabled ? "auto" : "none" }, children: [
245
247
  J.map((e) => /* @__PURE__ */ t(
246
248
  "button",
247
249
  {
@@ -256,10 +258,10 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
256
258
  /* @__PURE__ */ t(X, { status: E, error: F })
257
259
  ] }),
258
260
  /* @__PURE__ */ t(V, { message: R, onRetry: f }),
259
- m === "shop-page" && /* @__PURE__ */ a("div", { className: "cedros-admin__section", style: { marginTop: "1rem" }, children: [
261
+ m === "shop-page" && /* @__PURE__ */ r("div", { className: "cedros-admin__section", style: { marginTop: "1rem" }, children: [
260
262
  /* @__PURE__ */ t("h4", { style: { marginBottom: "0.5rem", fontWeight: 600 }, children: "Shop Page Content" }),
261
263
  /* @__PURE__ */ t("p", { style: { marginBottom: "1.5rem", fontSize: 14, opacity: 0.7 }, children: "Customize the title and description shown on your shop page." }),
262
- /* @__PURE__ */ a("div", { className: "cedros-admin__field", style: { marginBottom: "1.5rem" }, children: [
264
+ /* @__PURE__ */ r("div", { className: "cedros-admin__field", style: { marginBottom: "1.5rem" }, children: [
263
265
  /* @__PURE__ */ t("label", { className: "cedros-admin__field-label", children: "Page Title" }),
264
266
  /* @__PURE__ */ t(
265
267
  "input",
@@ -273,7 +275,7 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
273
275
  ),
274
276
  /* @__PURE__ */ t("p", { style: { margin: "0.25rem 0 0", fontSize: 12, opacity: 0.6 }, children: "The main heading displayed on your shop page." })
275
277
  ] }),
276
- /* @__PURE__ */ a("div", { className: "cedros-admin__field", children: [
278
+ /* @__PURE__ */ r("div", { className: "cedros-admin__field", children: [
277
279
  /* @__PURE__ */ t("label", { className: "cedros-admin__field-label", children: "Page Description" }),
278
280
  /* @__PURE__ */ t(
279
281
  "textarea",
@@ -289,12 +291,12 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
289
291
  /* @__PURE__ */ t("p", { style: { margin: "0.25rem 0 0", fontSize: 12, opacity: 0.6 }, children: "A short description or subtitle shown below the title. Leave empty to hide." })
290
292
  ] })
291
293
  ] }),
292
- m === "catalog" && /* @__PURE__ */ a("div", { className: "cedros-admin__section", style: { marginTop: "1rem" }, children: [
293
- /* @__PURE__ */ a("div", { children: [
294
+ m === "catalog" && /* @__PURE__ */ r("div", { className: "cedros-admin__section", style: { marginTop: "1rem" }, children: [
295
+ /* @__PURE__ */ r("div", { children: [
294
296
  /* @__PURE__ */ t("h4", { style: { marginBottom: "0.5rem", fontWeight: 600 }, children: "Catalog Filters" }),
295
297
  /* @__PURE__ */ t("p", { style: { marginBottom: "1rem", fontSize: 14, opacity: 0.7 }, children: "Choose which filters appear in the shop and category page sidebars." }),
296
- /* @__PURE__ */ a("div", { style: { display: "flex", flexDirection: "column", gap: "0.75rem" }, children: [
297
- /* @__PURE__ */ a("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
298
+ /* @__PURE__ */ r("div", { style: { display: "flex", flexDirection: "column", gap: "0.75rem" }, children: [
299
+ /* @__PURE__ */ r("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
298
300
  /* @__PURE__ */ t(
299
301
  d,
300
302
  {
@@ -302,12 +304,12 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
302
304
  onChange: (e) => v("tags", e)
303
305
  }
304
306
  ),
305
- /* @__PURE__ */ a("div", { children: [
307
+ /* @__PURE__ */ r("div", { children: [
306
308
  /* @__PURE__ */ t("span", { style: { fontWeight: 500 }, children: "Tags" }),
307
309
  /* @__PURE__ */ t("p", { style: { margin: "0.125rem 0 0", fontSize: 13, opacity: 0.6 }, children: "Filter products by tags (multi-select checkboxes)" })
308
310
  ] })
309
311
  ] }),
310
- /* @__PURE__ */ a("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
312
+ /* @__PURE__ */ r("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
311
313
  /* @__PURE__ */ t(
312
314
  d,
313
315
  {
@@ -315,12 +317,12 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
315
317
  onChange: (e) => v("priceRange", e)
316
318
  }
317
319
  ),
318
- /* @__PURE__ */ a("div", { children: [
320
+ /* @__PURE__ */ r("div", { children: [
319
321
  /* @__PURE__ */ t("span", { style: { fontWeight: 500 }, children: "Price Range" }),
320
322
  /* @__PURE__ */ t("p", { style: { margin: "0.125rem 0 0", fontSize: 13, opacity: 0.6 }, children: "Filter by minimum and maximum price" })
321
323
  ] })
322
324
  ] }),
323
- /* @__PURE__ */ a("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
325
+ /* @__PURE__ */ r("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
324
326
  /* @__PURE__ */ t(
325
327
  d,
326
328
  {
@@ -328,18 +330,18 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
328
330
  onChange: (e) => v("inStock", e)
329
331
  }
330
332
  ),
331
- /* @__PURE__ */ a("div", { children: [
333
+ /* @__PURE__ */ r("div", { children: [
332
334
  /* @__PURE__ */ t("span", { style: { fontWeight: 500 }, children: "In Stock" }),
333
335
  /* @__PURE__ */ t("p", { style: { margin: "0.125rem 0 0", fontSize: 13, opacity: 0.6 }, children: "Show only products that are in stock" })
334
336
  ] })
335
337
  ] })
336
338
  ] })
337
339
  ] }),
338
- /* @__PURE__ */ a("div", { style: { marginTop: "2rem", paddingTop: "1.5rem", borderTop: "1px solid var(--cedros-admin-border, #e5e5e5)" }, children: [
340
+ /* @__PURE__ */ r("div", { style: { marginTop: "2rem", paddingTop: "1.5rem", borderTop: "1px solid var(--cedros-admin-border, #e5e5e5)" }, children: [
339
341
  /* @__PURE__ */ t("h4", { style: { marginBottom: "0.5rem", fontWeight: 600 }, children: "Sort Options" }),
340
342
  /* @__PURE__ */ t("p", { style: { marginBottom: "1rem", fontSize: 14, opacity: 0.7 }, children: "Choose which sort options appear in the shop and category pages. At least one must be enabled." }),
341
- /* @__PURE__ */ a("div", { style: { display: "flex", flexDirection: "column", gap: "0.75rem" }, children: [
342
- /* @__PURE__ */ a("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
343
+ /* @__PURE__ */ r("div", { style: { display: "flex", flexDirection: "column", gap: "0.75rem" }, children: [
344
+ /* @__PURE__ */ r("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
343
345
  /* @__PURE__ */ t(
344
346
  d,
345
347
  {
@@ -347,12 +349,12 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
347
349
  onChange: (e) => b("featured", e)
348
350
  }
349
351
  ),
350
- /* @__PURE__ */ a("div", { children: [
352
+ /* @__PURE__ */ r("div", { children: [
351
353
  /* @__PURE__ */ t("span", { style: { fontWeight: 500 }, children: "Featured" }),
352
354
  /* @__PURE__ */ t("p", { style: { margin: "0.125rem 0 0", fontSize: 13, opacity: 0.6 }, children: "Default sort order (as returned by backend)" })
353
355
  ] })
354
356
  ] }),
355
- /* @__PURE__ */ a("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
357
+ /* @__PURE__ */ r("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
356
358
  /* @__PURE__ */ t(
357
359
  d,
358
360
  {
@@ -360,12 +362,12 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
360
362
  onChange: (e) => b("priceAsc", e)
361
363
  }
362
364
  ),
363
- /* @__PURE__ */ a("div", { children: [
365
+ /* @__PURE__ */ r("div", { children: [
364
366
  /* @__PURE__ */ t("span", { style: { fontWeight: 500 }, children: "Price: Low to High" }),
365
367
  /* @__PURE__ */ t("p", { style: { margin: "0.125rem 0 0", fontSize: 13, opacity: 0.6 }, children: "Sort products by price ascending" })
366
368
  ] })
367
369
  ] }),
368
- /* @__PURE__ */ a("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
370
+ /* @__PURE__ */ r("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
369
371
  /* @__PURE__ */ t(
370
372
  d,
371
373
  {
@@ -373,7 +375,7 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
373
375
  onChange: (e) => b("priceDesc", e)
374
376
  }
375
377
  ),
376
- /* @__PURE__ */ a("div", { children: [
378
+ /* @__PURE__ */ r("div", { children: [
377
379
  /* @__PURE__ */ t("span", { style: { fontWeight: 500 }, children: "Price: High to Low" }),
378
380
  /* @__PURE__ */ t("p", { style: { margin: "0.125rem 0 0", fontSize: 13, opacity: 0.6 }, children: "Sort products by price descending" })
379
381
  ] })
@@ -381,14 +383,14 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
381
383
  ] })
382
384
  ] })
383
385
  ] }),
384
- m === "layouts" && /* @__PURE__ */ a("div", { className: "cedros-admin__section", style: { marginTop: "1rem" }, children: [
386
+ m === "layouts" && /* @__PURE__ */ r("div", { className: "cedros-admin__section", style: { marginTop: "1rem" }, children: [
385
387
  /* @__PURE__ */ t("h4", { style: { marginBottom: "0.5rem", fontWeight: 600 }, children: "Product Layouts" }),
386
388
  /* @__PURE__ */ t("p", { style: { marginBottom: "1.5rem", fontSize: 14, opacity: 0.7 }, children: "Configure product card layouts for shop and category pages." }),
387
- /* @__PURE__ */ a("div", { style: { marginBottom: "2rem" }, children: [
389
+ /* @__PURE__ */ r("div", { style: { marginBottom: "2rem" }, children: [
388
390
  /* @__PURE__ */ t("div", { style: { fontWeight: 500, marginBottom: "0.75rem" }, children: "Shop Page" }),
389
391
  /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: "0.5rem", marginBottom: "1rem" }, children: _.map((e) => {
390
- const r = o.shopLayout.layout === e.value;
391
- return /* @__PURE__ */ a(
392
+ const a = o.shopLayout.layout === e.value;
393
+ return /* @__PURE__ */ r(
392
394
  "label",
393
395
  {
394
396
  style: {
@@ -396,10 +398,10 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
396
398
  alignItems: "flex-start",
397
399
  gap: "0.75rem",
398
400
  padding: "0.75rem",
399
- border: `2px solid ${r ? "var(--cedros-admin-primary, #171717)" : "var(--cedros-admin-border, #e5e5e5)"}`,
401
+ border: `2px solid ${a ? "var(--cedros-admin-primary, #171717)" : "var(--cedros-admin-border, #e5e5e5)"}`,
400
402
  borderRadius: 6,
401
403
  cursor: "pointer",
402
- background: r ? "var(--cedros-admin-bg-accent, #f5f5f5)" : void 0,
404
+ background: a ? "var(--cedros-admin-bg-accent, #f5f5f5)" : void 0,
403
405
  transition: "border-color 0.15s, background 0.15s"
404
406
  },
405
407
  children: [
@@ -409,12 +411,12 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
409
411
  type: "radio",
410
412
  name: "shopLayout",
411
413
  value: e.value,
412
- checked: r,
414
+ checked: a,
413
415
  onChange: () => w("layout", e.value),
414
416
  style: { marginTop: 2 }
415
417
  }
416
418
  ),
417
- /* @__PURE__ */ a("div", { children: [
419
+ /* @__PURE__ */ r("div", { children: [
418
420
  /* @__PURE__ */ t("span", { style: { fontWeight: 500 }, children: e.label }),
419
421
  /* @__PURE__ */ t("p", { style: { margin: "0.125rem 0 0", fontSize: 12, opacity: 0.6 }, children: e.description })
420
422
  ] })
@@ -434,11 +436,11 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
434
436
  }
435
437
  )
436
438
  ] }),
437
- /* @__PURE__ */ a("div", { style: { paddingTop: "1.5rem", borderTop: "1px solid var(--cedros-admin-border, #e5e5e5)" }, children: [
439
+ /* @__PURE__ */ r("div", { style: { paddingTop: "1.5rem", borderTop: "1px solid var(--cedros-admin-border, #e5e5e5)" }, children: [
438
440
  /* @__PURE__ */ t("div", { style: { fontWeight: 500, marginBottom: "0.75rem" }, children: "Category Pages" }),
439
441
  /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: "0.5rem", marginBottom: "1rem" }, children: _.map((e) => {
440
- const r = o.categoryLayout.layout === e.value;
441
- return /* @__PURE__ */ a(
442
+ const a = o.categoryLayout.layout === e.value;
443
+ return /* @__PURE__ */ r(
442
444
  "label",
443
445
  {
444
446
  style: {
@@ -446,10 +448,10 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
446
448
  alignItems: "flex-start",
447
449
  gap: "0.75rem",
448
450
  padding: "0.75rem",
449
- border: `2px solid ${r ? "var(--cedros-admin-primary, #171717)" : "var(--cedros-admin-border, #e5e5e5)"}`,
451
+ border: `2px solid ${a ? "var(--cedros-admin-primary, #171717)" : "var(--cedros-admin-border, #e5e5e5)"}`,
450
452
  borderRadius: 6,
451
453
  cursor: "pointer",
452
- background: r ? "var(--cedros-admin-bg-accent, #f5f5f5)" : void 0,
454
+ background: a ? "var(--cedros-admin-bg-accent, #f5f5f5)" : void 0,
453
455
  transition: "border-color 0.15s, background 0.15s"
454
456
  },
455
457
  children: [
@@ -459,12 +461,12 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
459
461
  type: "radio",
460
462
  name: "categoryLayout",
461
463
  value: e.value,
462
- checked: r,
464
+ checked: a,
463
465
  onChange: () => I("layout", e.value),
464
466
  style: { marginTop: 2 }
465
467
  }
466
468
  ),
467
- /* @__PURE__ */ a("div", { children: [
469
+ /* @__PURE__ */ r("div", { children: [
468
470
  /* @__PURE__ */ t("span", { style: { fontWeight: 500 }, children: e.label }),
469
471
  /* @__PURE__ */ t("p", { style: { margin: "0.125rem 0 0", fontSize: 12, opacity: 0.6 }, children: e.description })
470
472
  ] })
@@ -485,13 +487,13 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
485
487
  )
486
488
  ] })
487
489
  ] }),
488
- m === "product-pages" && /* @__PURE__ */ a("div", { className: "cedros-admin__section", style: { marginTop: "1rem" }, children: [
489
- /* @__PURE__ */ a("div", { children: [
490
+ m === "product-pages" && /* @__PURE__ */ r("div", { className: "cedros-admin__section", style: { marginTop: "1rem" }, children: [
491
+ /* @__PURE__ */ r("div", { children: [
490
492
  /* @__PURE__ */ t("h4", { style: { marginBottom: "0.5rem", fontWeight: 600 }, children: "Related Products" }),
491
493
  /* @__PURE__ */ t("p", { style: { marginBottom: "1rem", fontSize: 14, opacity: 0.7 }, children: "Configure how related products are displayed on product detail pages." }),
492
494
  /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: "0.75rem", marginBottom: "1.5rem" }, children: G.map((e) => {
493
- const r = o.relatedProducts.mode === e.value, i = e.badge === "Coming Soon";
494
- return /* @__PURE__ */ a(
495
+ const a = o.relatedProducts.mode === e.value, i = e.badge === "Coming Soon";
496
+ return /* @__PURE__ */ r(
495
497
  "label",
496
498
  {
497
499
  style: {
@@ -499,11 +501,11 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
499
501
  alignItems: "flex-start",
500
502
  gap: "0.75rem",
501
503
  padding: "1rem",
502
- border: `2px solid ${r ? "var(--cedros-admin-primary, #171717)" : "var(--cedros-admin-border, #e5e5e5)"}`,
504
+ border: `2px solid ${a ? "var(--cedros-admin-primary, #171717)" : "var(--cedros-admin-border, #e5e5e5)"}`,
503
505
  borderRadius: 8,
504
506
  cursor: i ? "not-allowed" : "pointer",
505
507
  opacity: i ? 0.6 : 1,
506
- background: r ? "var(--cedros-admin-bg-accent, #f5f5f5)" : void 0,
508
+ background: a ? "var(--cedros-admin-bg-accent, #f5f5f5)" : void 0,
507
509
  transition: "border-color 0.15s, background 0.15s"
508
510
  },
509
511
  children: [
@@ -513,14 +515,14 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
513
515
  type: "radio",
514
516
  name: "relatedProductsMode",
515
517
  value: e.value,
516
- checked: r,
518
+ checked: a,
517
519
  onChange: () => !i && O(e.value),
518
520
  disabled: i,
519
521
  style: { marginTop: 2 }
520
522
  }
521
523
  ),
522
- /* @__PURE__ */ a("div", { style: { flex: 1 }, children: [
523
- /* @__PURE__ */ a("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
524
+ /* @__PURE__ */ r("div", { style: { flex: 1 }, children: [
525
+ /* @__PURE__ */ r("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
524
526
  /* @__PURE__ */ t("span", { style: { fontWeight: 600 }, children: e.label }),
525
527
  e.badge && /* @__PURE__ */ t(
526
528
  "span",
@@ -543,7 +545,7 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
543
545
  e.value
544
546
  );
545
547
  }) }),
546
- o.relatedProducts.mode === "manual" && /* @__PURE__ */ a(
548
+ o.relatedProducts.mode === "manual" && /* @__PURE__ */ r(
547
549
  "div",
548
550
  {
549
551
  style: {
@@ -555,19 +557,19 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
555
557
  },
556
558
  children: [
557
559
  /* @__PURE__ */ t("strong", { style: { fontSize: 14 }, children: "How to set related products:" }),
558
- /* @__PURE__ */ a("p", { style: { margin: "0.5rem 0 0", fontSize: 13, opacity: 0.8 }, children: [
560
+ /* @__PURE__ */ r("p", { style: { margin: "0.5rem 0 0", fontSize: 13, opacity: 0.8 }, children: [
559
561
  "When editing a product, add a ",
560
562
  /* @__PURE__ */ t("code", { style: { background: "rgba(0,0,0,0.1)", padding: "2px 4px", borderRadius: 3 }, children: "relatedProductIds" }),
561
563
  " field to its metadata containing a comma-separated list of product IDs."
562
564
  ] }),
563
- /* @__PURE__ */ a("p", { style: { margin: "0.5rem 0 0", fontSize: 13, opacity: 0.6 }, children: [
565
+ /* @__PURE__ */ r("p", { style: { margin: "0.5rem 0 0", fontSize: 13, opacity: 0.6 }, children: [
564
566
  "Example: ",
565
567
  /* @__PURE__ */ t("code", { style: { background: "rgba(0,0,0,0.1)", padding: "2px 4px", borderRadius: 3 }, children: "prod_123,prod_456,prod_789" })
566
568
  ] })
567
569
  ]
568
570
  }
569
571
  ),
570
- /* @__PURE__ */ a("div", { className: "cedros-admin__field", style: { maxWidth: 200 }, children: [
572
+ /* @__PURE__ */ r("div", { className: "cedros-admin__field", style: { maxWidth: 200 }, children: [
571
573
  /* @__PURE__ */ t("label", { className: "cedros-admin__field-label", children: "Max Related Products" }),
572
574
  /* @__PURE__ */ t(
573
575
  "input",
@@ -582,11 +584,11 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
582
584
  ),
583
585
  /* @__PURE__ */ t("p", { style: { margin: "0.25rem 0 0", fontSize: 12, opacity: 0.6 }, children: "How many related products to show (1-12)" })
584
586
  ] }),
585
- /* @__PURE__ */ a("div", { style: { marginTop: "1.5rem" }, children: [
587
+ /* @__PURE__ */ r("div", { style: { marginTop: "1.5rem" }, children: [
586
588
  /* @__PURE__ */ t("div", { style: { fontWeight: 500, marginBottom: "0.75rem" }, children: "Display Layout" }),
587
589
  /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: "0.5rem", marginBottom: "1rem" }, children: _.map((e) => {
588
- const r = o.relatedProducts.layout.layout === e.value;
589
- return /* @__PURE__ */ a(
590
+ const a = o.relatedProducts.layout.layout === e.value;
591
+ return /* @__PURE__ */ r(
590
592
  "label",
591
593
  {
592
594
  style: {
@@ -594,10 +596,10 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
594
596
  alignItems: "flex-start",
595
597
  gap: "0.75rem",
596
598
  padding: "0.75rem",
597
- border: `2px solid ${r ? "var(--cedros-admin-primary, #171717)" : "var(--cedros-admin-border, #e5e5e5)"}`,
599
+ border: `2px solid ${a ? "var(--cedros-admin-primary, #171717)" : "var(--cedros-admin-border, #e5e5e5)"}`,
598
600
  borderRadius: 6,
599
601
  cursor: "pointer",
600
- background: r ? "var(--cedros-admin-bg-accent, #f5f5f5)" : void 0,
602
+ background: a ? "var(--cedros-admin-bg-accent, #f5f5f5)" : void 0,
601
603
  transition: "border-color 0.15s, background 0.15s"
602
604
  },
603
605
  children: [
@@ -607,12 +609,12 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
607
609
  type: "radio",
608
610
  name: "relatedLayout",
609
611
  value: e.value,
610
- checked: r,
612
+ checked: a,
611
613
  onChange: () => P("layout", e.value),
612
614
  style: { marginTop: 2 }
613
615
  }
614
616
  ),
615
- /* @__PURE__ */ a("div", { children: [
617
+ /* @__PURE__ */ r("div", { children: [
616
618
  /* @__PURE__ */ t("span", { style: { fontWeight: 500 }, children: e.label }),
617
619
  /* @__PURE__ */ t("p", { style: { margin: "0.125rem 0 0", fontSize: 12, opacity: 0.6 }, children: e.description })
618
620
  ] })
@@ -633,11 +635,11 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
633
635
  )
634
636
  ] })
635
637
  ] }),
636
- /* @__PURE__ */ a("div", { style: { marginTop: "2rem", paddingTop: "1.5rem", borderTop: "1px solid var(--cedros-admin-border, #e5e5e5)" }, children: [
638
+ /* @__PURE__ */ r("div", { style: { marginTop: "2rem", paddingTop: "1.5rem", borderTop: "1px solid var(--cedros-admin-border, #e5e5e5)" }, children: [
637
639
  /* @__PURE__ */ t("h4", { style: { marginBottom: "0.5rem", fontWeight: 600 }, children: "Page Sections" }),
638
640
  /* @__PURE__ */ t("p", { style: { marginBottom: "1rem", fontSize: 14, opacity: 0.7 }, children: "Choose which sections appear on product detail pages." }),
639
- /* @__PURE__ */ a("div", { style: { display: "flex", flexDirection: "column", gap: "0.75rem" }, children: [
640
- /* @__PURE__ */ a("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
641
+ /* @__PURE__ */ r("div", { style: { display: "flex", flexDirection: "column", gap: "0.75rem" }, children: [
642
+ /* @__PURE__ */ r("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
641
643
  /* @__PURE__ */ t(
642
644
  d,
643
645
  {
@@ -645,12 +647,12 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
645
647
  onChange: (e) => u("showDescription", e)
646
648
  }
647
649
  ),
648
- /* @__PURE__ */ a("div", { children: [
650
+ /* @__PURE__ */ r("div", { children: [
649
651
  /* @__PURE__ */ t("span", { style: { fontWeight: 500 }, children: "Description" }),
650
652
  /* @__PURE__ */ t("p", { style: { margin: "0.125rem 0 0", fontSize: 13, opacity: 0.6 }, children: "Expandable description accordion" })
651
653
  ] })
652
654
  ] }),
653
- /* @__PURE__ */ a("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
655
+ /* @__PURE__ */ r("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
654
656
  /* @__PURE__ */ t(
655
657
  d,
656
658
  {
@@ -658,12 +660,12 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
658
660
  onChange: (e) => u("showSpecs", e)
659
661
  }
660
662
  ),
661
- /* @__PURE__ */ a("div", { children: [
663
+ /* @__PURE__ */ r("div", { children: [
662
664
  /* @__PURE__ */ t("span", { style: { fontWeight: 500 }, children: "Specifications" }),
663
665
  /* @__PURE__ */ t("p", { style: { margin: "0.125rem 0 0", fontSize: 13, opacity: 0.6 }, children: "Product attributes and details" })
664
666
  ] })
665
667
  ] }),
666
- /* @__PURE__ */ a("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
668
+ /* @__PURE__ */ r("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
667
669
  /* @__PURE__ */ t(
668
670
  d,
669
671
  {
@@ -671,12 +673,12 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
671
673
  onChange: (e) => u("showShipping", e)
672
674
  }
673
675
  ),
674
- /* @__PURE__ */ a("div", { children: [
676
+ /* @__PURE__ */ r("div", { children: [
675
677
  /* @__PURE__ */ t("span", { style: { fontWeight: 500 }, children: "Shipping & Returns" }),
676
678
  /* @__PURE__ */ t("p", { style: { margin: "0.125rem 0 0", fontSize: 13, opacity: 0.6 }, children: "Shipping and return policy information" })
677
679
  ] })
678
680
  ] }),
679
- /* @__PURE__ */ a("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
681
+ /* @__PURE__ */ r("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
680
682
  /* @__PURE__ */ t(
681
683
  d,
682
684
  {
@@ -684,7 +686,7 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
684
686
  onChange: (e) => u("showRelatedProducts", e)
685
687
  }
686
688
  ),
687
- /* @__PURE__ */ a("div", { children: [
689
+ /* @__PURE__ */ r("div", { children: [
688
690
  /* @__PURE__ */ t("span", { style: { fontWeight: 500 }, children: "Related Products" }),
689
691
  /* @__PURE__ */ t("p", { style: { margin: "0.125rem 0 0", fontSize: 13, opacity: 0.6 }, children: "Product recommendations section" })
690
692
  ] })
@@ -692,11 +694,11 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
692
694
  ] })
693
695
  ] })
694
696
  ] }),
695
- m === "checkout" && /* @__PURE__ */ a("div", { className: "cedros-admin__section", style: { marginTop: "1rem" }, children: [
696
- /* @__PURE__ */ a("div", { children: [
697
+ m === "checkout" && /* @__PURE__ */ r("div", { className: "cedros-admin__section", style: { marginTop: "1rem" }, children: [
698
+ /* @__PURE__ */ r("div", { children: [
697
699
  /* @__PURE__ */ t("h4", { style: { marginBottom: "0.5rem", fontWeight: 600 }, children: "Checkout Settings" }),
698
700
  /* @__PURE__ */ t("p", { style: { marginBottom: "1rem", fontSize: 14, opacity: 0.7 }, children: "Configure checkout and cart page features." }),
699
- /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: "0.75rem" }, children: /* @__PURE__ */ a("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
701
+ /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: "0.75rem" }, children: /* @__PURE__ */ r("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
700
702
  /* @__PURE__ */ t(
701
703
  d,
702
704
  {
@@ -704,17 +706,17 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
704
706
  onChange: (e) => M("promoCodes", e)
705
707
  }
706
708
  ),
707
- /* @__PURE__ */ a("div", { children: [
709
+ /* @__PURE__ */ r("div", { children: [
708
710
  /* @__PURE__ */ t("span", { style: { fontWeight: 500 }, children: "Promo Codes" }),
709
711
  /* @__PURE__ */ t("p", { style: { margin: "0.125rem 0 0", fontSize: 13, opacity: 0.6 }, children: "Show promo/coupon code input on cart and checkout pages" })
710
712
  ] })
711
713
  ] }) })
712
714
  ] }),
713
- /* @__PURE__ */ a("div", { style: { marginTop: "2rem", paddingTop: "1.5rem", borderTop: "1px solid var(--cedros-admin-border, #e5e5e5)" }, children: [
715
+ /* @__PURE__ */ r("div", { style: { marginTop: "2rem", paddingTop: "1.5rem", borderTop: "1px solid var(--cedros-admin-border, #e5e5e5)" }, children: [
714
716
  /* @__PURE__ */ t("h4", { style: { marginBottom: "0.5rem", fontWeight: 600 }, children: "Inventory Settings" }),
715
717
  /* @__PURE__ */ t("p", { style: { marginBottom: "1rem", fontSize: 14, opacity: 0.7 }, children: "Configure inventory verification and reservation behavior." }),
716
- /* @__PURE__ */ a("div", { style: { display: "flex", flexDirection: "column", gap: "0.75rem" }, children: [
717
- /* @__PURE__ */ a("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
718
+ /* @__PURE__ */ r("div", { style: { display: "flex", flexDirection: "column", gap: "0.75rem" }, children: [
719
+ /* @__PURE__ */ r("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
718
720
  /* @__PURE__ */ t(
719
721
  d,
720
722
  {
@@ -722,12 +724,12 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
722
724
  onChange: (e) => S("preCheckoutVerification", e)
723
725
  }
724
726
  ),
725
- /* @__PURE__ */ a("div", { children: [
727
+ /* @__PURE__ */ r("div", { children: [
726
728
  /* @__PURE__ */ t("span", { style: { fontWeight: 500 }, children: "Pre-Checkout Verification" }),
727
729
  /* @__PURE__ */ t("p", { style: { margin: "0.125rem 0 0", fontSize: 13, opacity: 0.6 }, children: "Verify inventory availability before processing payment" })
728
730
  ] })
729
731
  ] }),
730
- /* @__PURE__ */ a("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
732
+ /* @__PURE__ */ r("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
731
733
  /* @__PURE__ */ t(
732
734
  d,
733
735
  {
@@ -735,13 +737,13 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
735
737
  onChange: (e) => S("holdsEnabled", e)
736
738
  }
737
739
  ),
738
- /* @__PURE__ */ a("div", { children: [
740
+ /* @__PURE__ */ r("div", { children: [
739
741
  /* @__PURE__ */ t("span", { style: { fontWeight: 500 }, children: "Inventory Holds" }),
740
742
  /* @__PURE__ */ t("p", { style: { margin: "0.125rem 0 0", fontSize: 13, opacity: 0.6 }, children: "Reserve inventory when items are added to cart" })
741
743
  ] })
742
744
  ] })
743
745
  ] }),
744
- o.inventory.holdsEnabled && /* @__PURE__ */ a("div", { className: "cedros-admin__field", style: { maxWidth: 200, marginTop: "1rem" }, children: [
746
+ o.inventory.holdsEnabled && /* @__PURE__ */ r("div", { className: "cedros-admin__field", style: { maxWidth: 200, marginTop: "1rem" }, children: [
745
747
  /* @__PURE__ */ t("label", { className: "cedros-admin__field-label", children: "Hold Duration (minutes)" }),
746
748
  /* @__PURE__ */ t(
747
749
  "input",
@@ -761,5 +763,5 @@ function te({ serverUrl: g, apiKey: s, authManager: c }) {
761
763
  ] });
762
764
  }
763
765
  export {
764
- te as StorefrontSection
766
+ ae as StorefrontSection
765
767
  };