@withpotter/components 0.13.0-next.101

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 (2404) hide show
  1. package/dist/ServiceWorkerRegistrar.d.ts +6 -0
  2. package/dist/ServiceWorkerRegistrar.js +31 -0
  3. package/dist/ServiceWorkerRegistrar.js.map +1 -0
  4. package/dist/ai-soon/ai-coming-soon.d.ts +11 -0
  5. package/dist/ai-soon/ai-coming-soon.js +142 -0
  6. package/dist/ai-soon/ai-coming-soon.js.map +1 -0
  7. package/dist/ai-soon/catch-game.d.ts +9 -0
  8. package/dist/ai-soon/catch-game.js +194 -0
  9. package/dist/ai-soon/catch-game.js.map +1 -0
  10. package/dist/ai-soon/hero-scene.d.ts +12 -0
  11. package/dist/ai-soon/hero-scene.js +236 -0
  12. package/dist/ai-soon/hero-scene.js.map +1 -0
  13. package/dist/analytics/PostHogProvider.d.ts +28 -0
  14. package/dist/analytics/PostHogProvider.js +126 -0
  15. package/dist/analytics/PostHogProvider.js.map +1 -0
  16. package/dist/analytics/event-analytics-panel.d.ts +27 -0
  17. package/dist/analytics/event-analytics-panel.js +137 -0
  18. package/dist/analytics/event-analytics-panel.js.map +1 -0
  19. package/dist/analytics/index.d.ts +3 -0
  20. package/dist/analytics/index.js +17 -0
  21. package/dist/analytics/index.js.map +1 -0
  22. package/dist/analytics/product-insights-consent-prompt.d.ts +14 -0
  23. package/dist/analytics/product-insights-consent-prompt.js +104 -0
  24. package/dist/analytics/product-insights-consent-prompt.js.map +1 -0
  25. package/dist/analytics/product-insights-policy.d.ts +16 -0
  26. package/dist/analytics/product-insights-policy.js +127 -0
  27. package/dist/analytics/product-insights-policy.js.map +1 -0
  28. package/dist/analytics/product-performance-panel.d.ts +35 -0
  29. package/dist/analytics/product-performance-panel.js +162 -0
  30. package/dist/analytics/product-performance-panel.js.map +1 -0
  31. package/dist/analytics/share-links-panel.d.ts +19 -0
  32. package/dist/analytics/share-links-panel.js +192 -0
  33. package/dist/analytics/share-links-panel.js.map +1 -0
  34. package/dist/analytics.d.ts +1 -0
  35. package/dist/analytics.js +1 -0
  36. package/dist/auth/dark-entry-theme.d.ts +1 -0
  37. package/dist/auth/dark-entry-theme.js +19 -0
  38. package/dist/auth/dark-entry-theme.js.map +1 -0
  39. package/dist/auth/google-signin-button.d.ts +22 -0
  40. package/dist/auth/google-signin-button.js +103 -0
  41. package/dist/auth/google-signin-button.js.map +1 -0
  42. package/dist/batch-run-provider.d.ts +64 -0
  43. package/dist/batch-run-provider.js +189 -0
  44. package/dist/batch-run-provider.js.map +1 -0
  45. package/dist/behaviors/address-suggestions.d.ts +12 -0
  46. package/dist/behaviors/address-suggestions.js +41 -0
  47. package/dist/behaviors/address-suggestions.js.map +1 -0
  48. package/dist/behaviors/behavior-config-section.d.ts +75 -0
  49. package/dist/behaviors/behavior-config-section.js +197 -0
  50. package/dist/behaviors/behavior-config-section.js.map +1 -0
  51. package/dist/behaviors/blocked-dates-field.d.ts +6 -0
  52. package/dist/behaviors/blocked-dates-field.js +73 -0
  53. package/dist/behaviors/blocked-dates-field.js.map +1 -0
  54. package/dist/behaviors/bookable-config-panel.d.ts +50 -0
  55. package/dist/behaviors/bookable-config-panel.js +634 -0
  56. package/dist/behaviors/bookable-config-panel.js.map +1 -0
  57. package/dist/behaviors/booking-actions.d.ts +74 -0
  58. package/dist/behaviors/booking-actions.js +350 -0
  59. package/dist/behaviors/booking-actions.js.map +1 -0
  60. package/dist/behaviors/booking-location-field.d.ts +5 -0
  61. package/dist/behaviors/booking-location-field.js +183 -0
  62. package/dist/behaviors/booking-location-field.js.map +1 -0
  63. package/dist/behaviors/booking-mode-selector.d.ts +5 -0
  64. package/dist/behaviors/booking-mode-selector.js +62 -0
  65. package/dist/behaviors/booking-mode-selector.js.map +1 -0
  66. package/dist/behaviors/downloadable-config-panel.d.ts +9 -0
  67. package/dist/behaviors/downloadable-config-panel.js +66 -0
  68. package/dist/behaviors/downloadable-config-panel.js.map +1 -0
  69. package/dist/behaviors/eligible-resources-picker.d.ts +13 -0
  70. package/dist/behaviors/eligible-resources-picker.js +87 -0
  71. package/dist/behaviors/eligible-resources-picker.js.map +1 -0
  72. package/dist/behaviors/gating-config-section.d.ts +24 -0
  73. package/dist/behaviors/gating-config-section.js +160 -0
  74. package/dist/behaviors/gating-config-section.js.map +1 -0
  75. package/dist/behaviors/index.d.ts +27 -0
  76. package/dist/behaviors/index.js +42 -0
  77. package/dist/behaviors/index.js.map +1 -0
  78. package/dist/behaviors/lead-capture-block.d.ts +33 -0
  79. package/dist/behaviors/lead-capture-block.js +284 -0
  80. package/dist/behaviors/lead-capture-block.js.map +1 -0
  81. package/dist/behaviors/rentable-config-panel.d.ts +12 -0
  82. package/dist/behaviors/rentable-config-panel.js +189 -0
  83. package/dist/behaviors/rentable-config-panel.js.map +1 -0
  84. package/dist/behaviors/resource-requirements-section.d.ts +16 -0
  85. package/dist/behaviors/resource-requirements-section.js +163 -0
  86. package/dist/behaviors/resource-requirements-section.js.map +1 -0
  87. package/dist/behaviors/service-staffing-section.d.ts +17 -0
  88. package/dist/behaviors/service-staffing-section.js +78 -0
  89. package/dist/behaviors/service-staffing-section.js.map +1 -0
  90. package/dist/behaviors/shippable-config-panel.d.ts +9 -0
  91. package/dist/behaviors/shippable-config-panel.js +111 -0
  92. package/dist/behaviors/shippable-config-panel.js.map +1 -0
  93. package/dist/behaviors/solo-availability-section.d.ts +1 -0
  94. package/dist/behaviors/solo-availability-section.js +90 -0
  95. package/dist/behaviors/solo-availability-section.js.map +1 -0
  96. package/dist/behaviors/staff-assignment-section.d.ts +18 -0
  97. package/dist/behaviors/staff-assignment-section.js +186 -0
  98. package/dist/behaviors/staff-assignment-section.js.map +1 -0
  99. package/dist/behaviors/subscribable-config-panel.d.ts +15 -0
  100. package/dist/behaviors/subscribable-config-panel.js +91 -0
  101. package/dist/behaviors/subscribable-config-panel.js.map +1 -0
  102. package/dist/behaviors/ticketed-config-panel.d.ts +18 -0
  103. package/dist/behaviors/ticketed-config-panel.js +854 -0
  104. package/dist/behaviors/ticketed-config-panel.js.map +1 -0
  105. package/dist/behaviors/use-rentable-siblings.d.ts +19 -0
  106. package/dist/behaviors/use-rentable-siblings.js +37 -0
  107. package/dist/behaviors/use-rentable-siblings.js.map +1 -0
  108. package/dist/behaviors.d.ts +1 -0
  109. package/dist/behaviors.js +1 -0
  110. package/dist/billing/cancel-subscription-dialog.d.ts +8 -0
  111. package/dist/billing/cancel-subscription-dialog.js +39 -0
  112. package/dist/billing/cancel-subscription-dialog.js.map +1 -0
  113. package/dist/billing/change-plan-dialog.d.ts +13 -0
  114. package/dist/billing/change-plan-dialog.js +45 -0
  115. package/dist/billing/change-plan-dialog.js.map +1 -0
  116. package/dist/billing/credits-tab.d.ts +8 -0
  117. package/dist/billing/credits-tab.js +53 -0
  118. package/dist/billing/credits-tab.js.map +1 -0
  119. package/dist/billing/email-billing-tab.d.ts +7 -0
  120. package/dist/billing/email-billing-tab.js +100 -0
  121. package/dist/billing/email-billing-tab.js.map +1 -0
  122. package/dist/billing/email-credits-modal.d.ts +13 -0
  123. package/dist/billing/email-credits-modal.js +146 -0
  124. package/dist/billing/email-credits-modal.js.map +1 -0
  125. package/dist/billing/helpers.d.ts +304 -0
  126. package/dist/billing/helpers.js +236 -0
  127. package/dist/billing/helpers.js.map +1 -0
  128. package/dist/billing/index.d.ts +15 -0
  129. package/dist/billing/index.js +40 -0
  130. package/dist/billing/index.js.map +1 -0
  131. package/dist/billing/invoices-tab.d.ts +11 -0
  132. package/dist/billing/invoices-tab.js +68 -0
  133. package/dist/billing/invoices-tab.js.map +1 -0
  134. package/dist/billing/messaging-billing-tab.d.ts +6 -0
  135. package/dist/billing/messaging-billing-tab.js +224 -0
  136. package/dist/billing/messaging-billing-tab.js.map +1 -0
  137. package/dist/billing/messaging-credits-modal.d.ts +13 -0
  138. package/dist/billing/messaging-credits-modal.js +159 -0
  139. package/dist/billing/messaging-credits-modal.js.map +1 -0
  140. package/dist/billing/overview-tab.d.ts +21 -0
  141. package/dist/billing/overview-tab.js +313 -0
  142. package/dist/billing/overview-tab.js.map +1 -0
  143. package/dist/billing/payment-methods-tab.d.ts +14 -0
  144. package/dist/billing/payment-methods-tab.js +129 -0
  145. package/dist/billing/payment-methods-tab.js.map +1 -0
  146. package/dist/billing/payments-tab.d.ts +22 -0
  147. package/dist/billing/payments-tab.js +83 -0
  148. package/dist/billing/payments-tab.js.map +1 -0
  149. package/dist/billing/plans-tab.d.ts +10 -0
  150. package/dist/billing/plans-tab.js +171 -0
  151. package/dist/billing/plans-tab.js.map +1 -0
  152. package/dist/billing/rates-tab.d.ts +13 -0
  153. package/dist/billing/rates-tab.js +359 -0
  154. package/dist/billing/rates-tab.js.map +1 -0
  155. package/dist/billing/storage-purchase-modal.d.ts +16 -0
  156. package/dist/billing/storage-purchase-modal.js +139 -0
  157. package/dist/billing/storage-purchase-modal.js.map +1 -0
  158. package/dist/billing.d.ts +1 -0
  159. package/dist/billing.js +1 -0
  160. package/dist/blog-editor/BlogTiptapEditor.d.ts +13 -0
  161. package/dist/blog-editor/BlogTiptapEditor.js +507 -0
  162. package/dist/blog-editor/BlogTiptapEditor.js.map +1 -0
  163. package/dist/blog-editor/extensions/editor-shortcuts.d.ts +3 -0
  164. package/dist/blog-editor/extensions/editor-shortcuts.js +20 -0
  165. package/dist/blog-editor/extensions/editor-shortcuts.js.map +1 -0
  166. package/dist/blog-editor/extensions/empty-line-plus-menu.d.ts +9 -0
  167. package/dist/blog-editor/extensions/empty-line-plus-menu.js +57 -0
  168. package/dist/blog-editor/extensions/empty-line-plus-menu.js.map +1 -0
  169. package/dist/blog-editor/extensions/image-upload.d.ts +18 -0
  170. package/dist/blog-editor/extensions/image-upload.js +240 -0
  171. package/dist/blog-editor/extensions/image-upload.js.map +1 -0
  172. package/dist/blog-editor/extensions/markdown-paste.d.ts +2 -0
  173. package/dist/blog-editor/extensions/markdown-paste.js +38 -0
  174. package/dist/blog-editor/extensions/markdown-paste.js.map +1 -0
  175. package/dist/blog-editor/extensions/slash-command.d.ts +19 -0
  176. package/dist/blog-editor/extensions/slash-command.js +57 -0
  177. package/dist/blog-editor/extensions/slash-command.js.map +1 -0
  178. package/dist/blog-editor/hooks/use-blog-draft.d.ts +19 -0
  179. package/dist/blog-editor/hooks/use-blog-draft.js +118 -0
  180. package/dist/blog-editor/hooks/use-blog-draft.js.map +1 -0
  181. package/dist/blog-editor/hooks/use-image-upload.d.ts +8 -0
  182. package/dist/blog-editor/hooks/use-image-upload.js +35 -0
  183. package/dist/blog-editor/hooks/use-image-upload.js.map +1 -0
  184. package/dist/blog-editor/markdown.d.ts +2 -0
  185. package/dist/blog-editor/markdown.js +108 -0
  186. package/dist/blog-editor/markdown.js.map +1 -0
  187. package/dist/blog-editor/menus/EditorCommandMenu.d.ts +15 -0
  188. package/dist/blog-editor/menus/EditorCommandMenu.js +40 -0
  189. package/dist/blog-editor/menus/EditorCommandMenu.js.map +1 -0
  190. package/dist/blog-editor/menus/EditorContextMenu.d.ts +11 -0
  191. package/dist/blog-editor/menus/EditorContextMenu.js +170 -0
  192. package/dist/blog-editor/menus/EditorContextMenu.js.map +1 -0
  193. package/dist/blog-editor/panels/CoverImageField.d.ts +9 -0
  194. package/dist/blog-editor/panels/CoverImageField.js +305 -0
  195. package/dist/blog-editor/panels/CoverImageField.js.map +1 -0
  196. package/dist/blog-editor/panels/ImageAltDialog.d.ts +11 -0
  197. package/dist/blog-editor/panels/ImageAltDialog.js +107 -0
  198. package/dist/blog-editor/panels/ImageAltDialog.js.map +1 -0
  199. package/dist/blog-editor/panels/LinkModal.d.ts +8 -0
  200. package/dist/blog-editor/panels/LinkModal.js +59 -0
  201. package/dist/blog-editor/panels/LinkModal.js.map +1 -0
  202. package/dist/blog-editor/panels/PostSettingsPanel.d.ts +10 -0
  203. package/dist/blog-editor/panels/PostSettingsPanel.js +181 -0
  204. package/dist/blog-editor/panels/PostSettingsPanel.js.map +1 -0
  205. package/dist/blog-editor/panels/ShareModal.d.ts +8 -0
  206. package/dist/blog-editor/panels/ShareModal.js +94 -0
  207. package/dist/blog-editor/panels/ShareModal.js.map +1 -0
  208. package/dist/blog-editor/reader-mode.module.css +174 -0
  209. package/dist/blog-editor/toolbars/EditorBubbleMenu.d.ts +7 -0
  210. package/dist/blog-editor/toolbars/EditorBubbleMenu.js +167 -0
  211. package/dist/blog-editor/toolbars/EditorBubbleMenu.js.map +1 -0
  212. package/dist/blog-editor/toolbars/EditorStickyToolbar.d.ts +18 -0
  213. package/dist/blog-editor/toolbars/EditorStickyToolbar.js +296 -0
  214. package/dist/blog-editor/toolbars/EditorStickyToolbar.js.map +1 -0
  215. package/dist/blog-editor/types.d.ts +23 -0
  216. package/dist/blog-editor/types.js +31 -0
  217. package/dist/blog-editor/types.js.map +1 -0
  218. package/dist/bookings/resource-time-grid.d.ts +42 -0
  219. package/dist/bookings/resource-time-grid.js +139 -0
  220. package/dist/bookings/resource-time-grid.js.map +1 -0
  221. package/dist/business-setup/archetype-art.d.ts +40 -0
  222. package/dist/business-setup/archetype-art.js +45 -0
  223. package/dist/business-setup/archetype-art.js.map +1 -0
  224. package/dist/business-setup/business-mark-field.d.ts +30 -0
  225. package/dist/business-setup/business-mark-field.js +58 -0
  226. package/dist/business-setup/business-mark-field.js.map +1 -0
  227. package/dist/business-setup/index.d.ts +7 -0
  228. package/dist/business-setup/index.js +17 -0
  229. package/dist/business-setup/index.js.map +1 -0
  230. package/dist/business-setup/provisionable-template.d.ts +21 -0
  231. package/dist/business-setup/provisionable-template.js +13 -0
  232. package/dist/business-setup/provisionable-template.js.map +1 -0
  233. package/dist/business-setup/setup-panel-art.d.ts +20 -0
  234. package/dist/business-setup/setup-panel-art.js +38 -0
  235. package/dist/business-setup/setup-panel-art.js.map +1 -0
  236. package/dist/business-setup/step-copy.d.ts +13 -0
  237. package/dist/business-setup/step-copy.js +23 -0
  238. package/dist/business-setup/step-copy.js.map +1 -0
  239. package/dist/business-setup/step-gate.d.ts +34 -0
  240. package/dist/business-setup/step-gate.js +21 -0
  241. package/dist/business-setup/step-gate.js.map +1 -0
  242. package/dist/business-setup/step-name.d.ts +56 -0
  243. package/dist/business-setup/step-name.js +235 -0
  244. package/dist/business-setup/step-name.js.map +1 -0
  245. package/dist/business-setup/step-plan.d.ts +28 -0
  246. package/dist/business-setup/step-plan.js +83 -0
  247. package/dist/business-setup/step-plan.js.map +1 -0
  248. package/dist/business-setup/step-shape.d.ts +21 -0
  249. package/dist/business-setup/step-shape.js +123 -0
  250. package/dist/business-setup/step-shape.js.map +1 -0
  251. package/dist/business-setup/step-template.d.ts +77 -0
  252. package/dist/business-setup/step-template.js +132 -0
  253. package/dist/business-setup/step-template.js.map +1 -0
  254. package/dist/business-setup/types.d.ts +55 -0
  255. package/dist/business-setup/types.js +17 -0
  256. package/dist/business-setup/types.js.map +1 -0
  257. package/dist/business-setup/use-business-setup.d.ts +102 -0
  258. package/dist/business-setup/use-business-setup.js +222 -0
  259. package/dist/business-setup/use-business-setup.js.map +1 -0
  260. package/dist/business-setup.d.ts +1 -0
  261. package/dist/business-setup.js +1 -0
  262. package/dist/charts/area-chart.d.ts +33 -0
  263. package/dist/charts/area-chart.js +180 -0
  264. package/dist/charts/area-chart.js.map +1 -0
  265. package/dist/charts/area-metric-card.d.ts +25 -0
  266. package/dist/charts/area-metric-card.js +88 -0
  267. package/dist/charts/area-metric-card.js.map +1 -0
  268. package/dist/charts/bar-chart.d.ts +17 -0
  269. package/dist/charts/bar-chart.js +160 -0
  270. package/dist/charts/bar-chart.js.map +1 -0
  271. package/dist/charts/cash-flow-chart.d.ts +31 -0
  272. package/dist/charts/cash-flow-chart.js +156 -0
  273. package/dist/charts/cash-flow-chart.js.map +1 -0
  274. package/dist/charts/chart-empty-state.d.ts +53 -0
  275. package/dist/charts/chart-empty-state.js +10 -0
  276. package/dist/charts/chart-empty-state.js.map +1 -0
  277. package/dist/charts/chart-theme.d.ts +40 -0
  278. package/dist/charts/chart-theme.js +72 -0
  279. package/dist/charts/chart-theme.js.map +1 -0
  280. package/dist/charts/charts.css +27 -0
  281. package/dist/charts/compare-tooltip.d.ts +32 -0
  282. package/dist/charts/compare-tooltip.js +53 -0
  283. package/dist/charts/compare-tooltip.js.map +1 -0
  284. package/dist/charts/donut-chart.d.ts +18 -0
  285. package/dist/charts/donut-chart.js +90 -0
  286. package/dist/charts/donut-chart.js.map +1 -0
  287. package/dist/charts/index.d.ts +31 -0
  288. package/dist/charts/index.js +29 -0
  289. package/dist/charts/index.js.map +1 -0
  290. package/dist/charts/labelled-bars.d.ts +20 -0
  291. package/dist/charts/labelled-bars.js +40 -0
  292. package/dist/charts/labelled-bars.js.map +1 -0
  293. package/dist/charts/rate-line.d.ts +22 -0
  294. package/dist/charts/rate-line.js +166 -0
  295. package/dist/charts/rate-line.js.map +1 -0
  296. package/dist/charts/revenue-spine-chart.d.ts +24 -0
  297. package/dist/charts/revenue-spine-chart.js +218 -0
  298. package/dist/charts/revenue-spine-chart.js.map +1 -0
  299. package/dist/charts/series-breakdown.d.ts +50 -0
  300. package/dist/charts/series-breakdown.js +293 -0
  301. package/dist/charts/series-breakdown.js.map +1 -0
  302. package/dist/charts/time-series-chart.d.ts +25 -0
  303. package/dist/charts/time-series-chart.js +267 -0
  304. package/dist/charts/time-series-chart.js.map +1 -0
  305. package/dist/charts/usage-bars.d.ts +38 -0
  306. package/dist/charts/usage-bars.js +146 -0
  307. package/dist/charts/usage-bars.js.map +1 -0
  308. package/dist/charts/usage-line.d.ts +18 -0
  309. package/dist/charts/usage-line.js +98 -0
  310. package/dist/charts/usage-line.js.map +1 -0
  311. package/dist/charts.d.ts +1 -0
  312. package/dist/charts.js +1 -0
  313. package/dist/collection-editor/collection-editor-content.d.ts +10 -0
  314. package/dist/collection-editor/collection-editor-content.js +282 -0
  315. package/dist/collection-editor/collection-editor-content.js.map +1 -0
  316. package/dist/collection-editor/collection-editor-page.d.ts +5 -0
  317. package/dist/collection-editor/collection-editor-page.js +231 -0
  318. package/dist/collection-editor/collection-editor-page.js.map +1 -0
  319. package/dist/collection-editor/collection-editor.d.ts +30 -0
  320. package/dist/collection-editor/collection-editor.js +115 -0
  321. package/dist/collection-editor/collection-editor.js.map +1 -0
  322. package/dist/collection-editor/collection-overview.d.ts +29 -0
  323. package/dist/collection-editor/collection-overview.js +334 -0
  324. package/dist/collection-editor/collection-overview.js.map +1 -0
  325. package/dist/collection-editor/collection-product-list.d.ts +9 -0
  326. package/dist/collection-editor/collection-product-list.js +130 -0
  327. package/dist/collection-editor/collection-product-list.js.map +1 -0
  328. package/dist/collection-editor/index.d.ts +2 -0
  329. package/dist/collection-editor/index.js +7 -0
  330. package/dist/collection-editor/index.js.map +1 -0
  331. package/dist/collection-editor/mobile-collection-editor.d.ts +21 -0
  332. package/dist/collection-editor/mobile-collection-editor.js +283 -0
  333. package/dist/collection-editor/mobile-collection-editor.js.map +1 -0
  334. package/dist/collection-editor/product-picker-modal.d.ts +6 -0
  335. package/dist/collection-editor/product-picker-modal.js +148 -0
  336. package/dist/collection-editor/product-picker-modal.js.map +1 -0
  337. package/dist/collection-editor.d.ts +1 -0
  338. package/dist/collection-editor.js +1 -0
  339. package/dist/command-palette/use-command-search.d.ts +88 -0
  340. package/dist/command-palette/use-command-search.js +218 -0
  341. package/dist/command-palette/use-command-search.js.map +1 -0
  342. package/dist/companion/companion-context.d.ts +29 -0
  343. package/dist/companion/companion-context.js +120 -0
  344. package/dist/companion/companion-context.js.map +1 -0
  345. package/dist/companion/companion-dock.d.ts +12 -0
  346. package/dist/companion/companion-dock.js +399 -0
  347. package/dist/companion/companion-dock.js.map +1 -0
  348. package/dist/connect/command-detail.d.ts +5 -0
  349. package/dist/connect/command-detail.js +93 -0
  350. package/dist/connect/command-detail.js.map +1 -0
  351. package/dist/connect/command-log.d.ts +5 -0
  352. package/dist/connect/command-log.js +106 -0
  353. package/dist/connect/command-log.js.map +1 -0
  354. package/dist/connect/connection-headline.d.ts +23 -0
  355. package/dist/connect/connection-headline.js +64 -0
  356. package/dist/connect/connection-headline.js.map +1 -0
  357. package/dist/connect/connection-history.d.ts +4 -0
  358. package/dist/connect/connection-history.js +64 -0
  359. package/dist/connect/connection-history.js.map +1 -0
  360. package/dist/connect/connection-resources.d.ts +4 -0
  361. package/dist/connect/connection-resources.js +92 -0
  362. package/dist/connect/connection-resources.js.map +1 -0
  363. package/dist/connect/connection-users.d.ts +5 -0
  364. package/dist/connect/connection-users.js +88 -0
  365. package/dist/connect/connection-users.js.map +1 -0
  366. package/dist/connect/consent-panel.d.ts +22 -0
  367. package/dist/connect/consent-panel.js +118 -0
  368. package/dist/connect/consent-panel.js.map +1 -0
  369. package/dist/connect/constraint-list.d.ts +19 -0
  370. package/dist/connect/constraint-list.js +64 -0
  371. package/dist/connect/constraint-list.js.map +1 -0
  372. package/dist/connect/customer-message-trace.d.ts +5 -0
  373. package/dist/connect/customer-message-trace.js +167 -0
  374. package/dist/connect/customer-message-trace.js.map +1 -0
  375. package/dist/connect/delivery-health.d.ts +1 -0
  376. package/dist/connect/delivery-health.js +69 -0
  377. package/dist/connect/delivery-health.js.map +1 -0
  378. package/dist/connect/identity-card.d.ts +4 -0
  379. package/dist/connect/identity-card.js +161 -0
  380. package/dist/connect/identity-card.js.map +1 -0
  381. package/dist/connect/needs-you.d.ts +23 -0
  382. package/dist/connect/needs-you.js +79 -0
  383. package/dist/connect/needs-you.js.map +1 -0
  384. package/dist/connect/record-source.d.ts +42 -0
  385. package/dist/connect/record-source.js +53 -0
  386. package/dist/connect/record-source.js.map +1 -0
  387. package/dist/connect/record-trace.d.ts +24 -0
  388. package/dist/connect/record-trace.js +144 -0
  389. package/dist/connect/record-trace.js.map +1 -0
  390. package/dist/connect/resend-order-confirmation-button.d.ts +4 -0
  391. package/dist/connect/resend-order-confirmation-button.js +50 -0
  392. package/dist/connect/resend-order-confirmation-button.js.map +1 -0
  393. package/dist/connect/route-health.d.ts +22 -0
  394. package/dist/connect/route-health.js +43 -0
  395. package/dist/connect/route-health.js.map +1 -0
  396. package/dist/connect/sync-panel.d.ts +4 -0
  397. package/dist/connect/sync-panel.js +153 -0
  398. package/dist/connect/sync-panel.js.map +1 -0
  399. package/dist/connect/usage-panel.d.ts +10 -0
  400. package/dist/connect/usage-panel.js +25 -0
  401. package/dist/connect/usage-panel.js.map +1 -0
  402. package/dist/contact-customer.d.ts +31 -0
  403. package/dist/contact-customer.js +78 -0
  404. package/dist/contact-customer.js.map +1 -0
  405. package/dist/content-type-page/configured-content-list.d.ts +25 -0
  406. package/dist/content-type-page/configured-content-list.js +114 -0
  407. package/dist/content-type-page/configured-content-list.js.map +1 -0
  408. package/dist/content-type-page/content-editor-overlays.d.ts +22 -0
  409. package/dist/content-type-page/content-editor-overlays.js +46 -0
  410. package/dist/content-type-page/content-editor-overlays.js.map +1 -0
  411. package/dist/content-type-page/content-type-page-state.d.ts +10 -0
  412. package/dist/content-type-page/content-type-page-state.js +52 -0
  413. package/dist/content-type-page/content-type-page-state.js.map +1 -0
  414. package/dist/content-type-page/fallback-content-list.d.ts +38 -0
  415. package/dist/content-type-page/fallback-content-list.js +309 -0
  416. package/dist/content-type-page/fallback-content-list.js.map +1 -0
  417. package/dist/content-type-page/use-content-list-model.d.ts +42 -0
  418. package/dist/content-type-page/use-content-list-model.js +206 -0
  419. package/dist/content-type-page/use-content-list-model.js.map +1 -0
  420. package/dist/content-type-page.d.ts +8 -0
  421. package/dist/content-type-page.js +798 -0
  422. package/dist/content-type-page.js.map +1 -0
  423. package/dist/content-type-stepper/behavior-steps.d.ts +3 -0
  424. package/dist/content-type-stepper/behavior-steps.js +203 -0
  425. package/dist/content-type-stepper/behavior-steps.js.map +1 -0
  426. package/dist/content-type-stepper/product-steps.d.ts +20 -0
  427. package/dist/content-type-stepper/product-steps.js +219 -0
  428. package/dist/content-type-stepper/product-steps.js.map +1 -0
  429. package/dist/content-type-stepper/types.d.ts +86 -0
  430. package/dist/content-type-stepper/types.js +28 -0
  431. package/dist/content-type-stepper/types.js.map +1 -0
  432. package/dist/content-type-stepper-panel.d.ts +3 -0
  433. package/dist/content-type-stepper-panel.js +322 -0
  434. package/dist/content-type-stepper-panel.js.map +1 -0
  435. package/dist/create-business-modal.d.ts +36 -0
  436. package/dist/create-business-modal.js +208 -0
  437. package/dist/create-business-modal.js.map +1 -0
  438. package/dist/custom-fields-step.d.ts +23 -0
  439. package/dist/custom-fields-step.js +379 -0
  440. package/dist/custom-fields-step.js.map +1 -0
  441. package/dist/customer-editor/customer-editor-content.d.ts +7 -0
  442. package/dist/customer-editor/customer-editor-content.js +160 -0
  443. package/dist/customer-editor/customer-editor-content.js.map +1 -0
  444. package/dist/customer-editor/customer-editor-page.d.ts +5 -0
  445. package/dist/customer-editor/customer-editor-page.js +224 -0
  446. package/dist/customer-editor/customer-editor-page.js.map +1 -0
  447. package/dist/customer-editor/customer-editor.d.ts +20 -0
  448. package/dist/customer-editor/customer-editor.js +96 -0
  449. package/dist/customer-editor/customer-editor.js.map +1 -0
  450. package/dist/customer-editor/index.d.ts +2 -0
  451. package/dist/customer-editor/index.js +7 -0
  452. package/dist/customer-editor/index.js.map +1 -0
  453. package/dist/customer-editor/member-plan-picker.d.ts +7 -0
  454. package/dist/customer-editor/member-plan-picker.js +118 -0
  455. package/dist/customer-editor/member-plan-picker.js.map +1 -0
  456. package/dist/customer-editor/mobile-customer-editor.d.ts +7 -0
  457. package/dist/customer-editor/mobile-customer-editor.js +138 -0
  458. package/dist/customer-editor/mobile-customer-editor.js.map +1 -0
  459. package/dist/customer-editor/phone-input.d.ts +15 -0
  460. package/dist/customer-editor/phone-input.js +254 -0
  461. package/dist/customer-editor/phone-input.js.map +1 -0
  462. package/dist/customer-editor.d.ts +1 -0
  463. package/dist/customer-editor.js +1 -0
  464. package/dist/customers/send-message-modal.d.ts +28 -0
  465. package/dist/customers/send-message-modal.js +103 -0
  466. package/dist/customers/send-message-modal.js.map +1 -0
  467. package/dist/dashboard/activity-feed.d.ts +23 -0
  468. package/dist/dashboard/activity-feed.js +147 -0
  469. package/dist/dashboard/activity-feed.js.map +1 -0
  470. package/dist/dashboard/activity-paid.d.ts +10 -0
  471. package/dist/dashboard/activity-paid.js +7 -0
  472. package/dist/dashboard/activity-paid.js.map +1 -0
  473. package/dist/dashboard/destination-alias-sync.d.ts +9 -0
  474. package/dist/dashboard/destination-alias-sync.js +88 -0
  475. package/dist/dashboard/destination-alias-sync.js.map +1 -0
  476. package/dist/dashboard/first-run-welcome.d.ts +6 -0
  477. package/dist/dashboard/first-run-welcome.js +113 -0
  478. package/dist/dashboard/first-run-welcome.js.map +1 -0
  479. package/dist/dashboard/getting-started-cta.d.ts +11 -0
  480. package/dist/dashboard/getting-started-cta.js +37 -0
  481. package/dist/dashboard/getting-started-cta.js.map +1 -0
  482. package/dist/dashboard/go-live-art.d.ts +24 -0
  483. package/dist/dashboard/go-live-art.js +93 -0
  484. package/dist/dashboard/go-live-art.js.map +1 -0
  485. package/dist/dashboard/go-live-checks-dialog.d.ts +24 -0
  486. package/dist/dashboard/go-live-checks-dialog.js +22 -0
  487. package/dist/dashboard/go-live-checks-dialog.js.map +1 -0
  488. package/dist/dashboard/go-live-now-dialog.d.ts +35 -0
  489. package/dist/dashboard/go-live-now-dialog.js +139 -0
  490. package/dist/dashboard/go-live-now-dialog.js.map +1 -0
  491. package/dist/dashboard/go-live-quick-setup-basics.d.ts +41 -0
  492. package/dist/dashboard/go-live-quick-setup-basics.js +147 -0
  493. package/dist/dashboard/go-live-quick-setup-basics.js.map +1 -0
  494. package/dist/dashboard/go-live-quick-setup.d.ts +71 -0
  495. package/dist/dashboard/go-live-quick-setup.js +340 -0
  496. package/dist/dashboard/go-live-quick-setup.js.map +1 -0
  497. package/dist/dashboard/go-live-setup-parts.d.ts +81 -0
  498. package/dist/dashboard/go-live-setup-parts.js +97 -0
  499. package/dist/dashboard/go-live-setup-parts.js.map +1 -0
  500. package/dist/dashboard/go-live-step-art.d.ts +22 -0
  501. package/dist/dashboard/go-live-step-art.js +86 -0
  502. package/dist/dashboard/go-live-step-art.js.map +1 -0
  503. package/dist/dashboard/go-live-step-dialog.d.ts +40 -0
  504. package/dist/dashboard/go-live-step-dialog.js +52 -0
  505. package/dist/dashboard/go-live-step-dialog.js.map +1 -0
  506. package/dist/dashboard/go-live-steps.d.ts +35 -0
  507. package/dist/dashboard/go-live-steps.js +93 -0
  508. package/dist/dashboard/go-live-steps.js.map +1 -0
  509. package/dist/dashboard/home/ask-assembling.d.ts +18 -0
  510. package/dist/dashboard/home/ask-assembling.js +77 -0
  511. package/dist/dashboard/home/ask-assembling.js.map +1 -0
  512. package/dist/dashboard/home/ask-attachments.d.ts +12 -0
  513. package/dist/dashboard/home/ask-attachments.js +52 -0
  514. package/dist/dashboard/home/ask-attachments.js.map +1 -0
  515. package/dist/dashboard/home/ask-capabilities.d.ts +48 -0
  516. package/dist/dashboard/home/ask-capabilities.js +61 -0
  517. package/dist/dashboard/home/ask-capabilities.js.map +1 -0
  518. package/dist/dashboard/home/ask-controls.d.ts +33 -0
  519. package/dist/dashboard/home/ask-controls.js +65 -0
  520. package/dist/dashboard/home/ask-controls.js.map +1 -0
  521. package/dist/dashboard/home/ask-dictation-flow.d.ts +24 -0
  522. package/dist/dashboard/home/ask-dictation-flow.js +210 -0
  523. package/dist/dashboard/home/ask-dictation-flow.js.map +1 -0
  524. package/dist/dashboard/home/ask-glow.d.ts +23 -0
  525. package/dist/dashboard/home/ask-glow.js +51 -0
  526. package/dist/dashboard/home/ask-glow.js.map +1 -0
  527. package/dist/dashboard/home/ask-intent.d.ts +37 -0
  528. package/dist/dashboard/home/ask-intent.js +77 -0
  529. package/dist/dashboard/home/ask-intent.js.map +1 -0
  530. package/dist/dashboard/home/ask-mode-chip.d.ts +20 -0
  531. package/dist/dashboard/home/ask-mode-chip.js +70 -0
  532. package/dist/dashboard/home/ask-mode-chip.js.map +1 -0
  533. package/dist/dashboard/home/ask-model-chip.d.ts +1 -0
  534. package/dist/dashboard/home/ask-model-chip.js +62 -0
  535. package/dist/dashboard/home/ask-model-chip.js.map +1 -0
  536. package/dist/dashboard/home/ask-placeholders.d.ts +44 -0
  537. package/dist/dashboard/home/ask-placeholders.js +40 -0
  538. package/dist/dashboard/home/ask-placeholders.js.map +1 -0
  539. package/dist/dashboard/home/ask-quick-actions.d.ts +1 -0
  540. package/dist/dashboard/home/ask-quick-actions.js +37 -0
  541. package/dist/dashboard/home/ask-quick-actions.js.map +1 -0
  542. package/dist/dashboard/home/ask-results.d.ts +37 -0
  543. package/dist/dashboard/home/ask-results.js +243 -0
  544. package/dist/dashboard/home/ask-results.js.map +1 -0
  545. package/dist/dashboard/home/ask-send-button.d.ts +36 -0
  546. package/dist/dashboard/home/ask-send-button.js +69 -0
  547. package/dist/dashboard/home/ask-send-button.js.map +1 -0
  548. package/dist/dashboard/home/ask-support-attachments.d.ts +16 -0
  549. package/dist/dashboard/home/ask-support-attachments.js +74 -0
  550. package/dist/dashboard/home/ask-support-attachments.js.map +1 -0
  551. package/dist/dashboard/home/ask-voice.d.ts +12 -0
  552. package/dist/dashboard/home/ask-voice.js +76 -0
  553. package/dist/dashboard/home/ask-voice.js.map +1 -0
  554. package/dist/dashboard/home/card-scroller.d.ts +18 -0
  555. package/dist/dashboard/home/card-scroller.js +67 -0
  556. package/dist/dashboard/home/card-scroller.js.map +1 -0
  557. package/dist/dashboard/home/demo-data.d.ts +31 -0
  558. package/dist/dashboard/home/demo-data.js +217 -0
  559. package/dist/dashboard/home/demo-data.js.map +1 -0
  560. package/dist/dashboard/home/greeting.d.ts +48 -0
  561. package/dist/dashboard/home/greeting.js +154 -0
  562. package/dist/dashboard/home/greeting.js.map +1 -0
  563. package/dist/dashboard/home/home-add-item-links.d.ts +22 -0
  564. package/dist/dashboard/home/home-add-item-links.js +26 -0
  565. package/dist/dashboard/home/home-add-item-links.js.map +1 -0
  566. package/dist/dashboard/home/home-ask.d.ts +35 -0
  567. package/dist/dashboard/home/home-ask.js +295 -0
  568. package/dist/dashboard/home/home-ask.js.map +1 -0
  569. package/dist/dashboard/home/home-board-fold.d.ts +26 -0
  570. package/dist/dashboard/home/home-board-fold.js +34 -0
  571. package/dist/dashboard/home/home-board-fold.js.map +1 -0
  572. package/dist/dashboard/home/home-card.d.ts +62 -0
  573. package/dist/dashboard/home/home-card.js +27 -0
  574. package/dist/dashboard/home/home-card.js.map +1 -0
  575. package/dist/dashboard/home/home-hero.d.ts +50 -0
  576. package/dist/dashboard/home/home-hero.js +30 -0
  577. package/dist/dashboard/home/home-hero.js.map +1 -0
  578. package/dist/dashboard/home/home-people.d.ts +1 -0
  579. package/dist/dashboard/home/home-people.js +91 -0
  580. package/dist/dashboard/home/home-people.js.map +1 -0
  581. package/dist/dashboard/home/home-quick-actions.d.ts +17 -0
  582. package/dist/dashboard/home/home-quick-actions.js +104 -0
  583. package/dist/dashboard/home/home-quick-actions.js.map +1 -0
  584. package/dist/dashboard/home/home-today.d.ts +27 -0
  585. package/dist/dashboard/home/home-today.js +51 -0
  586. package/dist/dashboard/home/home-today.js.map +1 -0
  587. package/dist/dashboard/home/host-quick-actions.d.ts +19 -0
  588. package/dist/dashboard/home/host-quick-actions.js +12 -0
  589. package/dist/dashboard/home/host-quick-actions.js.map +1 -0
  590. package/dist/dashboard/home/live-presence.d.ts +30 -0
  591. package/dist/dashboard/home/live-presence.js +64 -0
  592. package/dist/dashboard/home/live-presence.js.map +1 -0
  593. package/dist/dashboard/home/money-hero.d.ts +15 -0
  594. package/dist/dashboard/home/money-hero.js +200 -0
  595. package/dist/dashboard/home/money-hero.js.map +1 -0
  596. package/dist/dashboard/home/money-language.d.ts +32 -0
  597. package/dist/dashboard/home/money-language.js +27 -0
  598. package/dist/dashboard/home/money-language.js.map +1 -0
  599. package/dist/dashboard/home/money-snapshot.d.ts +48 -0
  600. package/dist/dashboard/home/money-snapshot.js +81 -0
  601. package/dist/dashboard/home/money-snapshot.js.map +1 -0
  602. package/dist/dashboard/home/next-up-sources.d.ts +172 -0
  603. package/dist/dashboard/home/next-up-sources.js +220 -0
  604. package/dist/dashboard/home/next-up-sources.js.map +1 -0
  605. package/dist/dashboard/home/panel.d.ts +98 -0
  606. package/dist/dashboard/home/panel.js +79 -0
  607. package/dist/dashboard/home/panel.js.map +1 -0
  608. package/dist/dashboard/home/person-activity.d.ts +27 -0
  609. package/dist/dashboard/home/person-activity.js +80 -0
  610. package/dist/dashboard/home/person-activity.js.map +1 -0
  611. package/dist/dashboard/home/search-tips.d.ts +1 -0
  612. package/dist/dashboard/home/search-tips.js +174 -0
  613. package/dist/dashboard/home/search-tips.js.map +1 -0
  614. package/dist/dashboard/home/use-ask-support.d.ts +60 -0
  615. package/dist/dashboard/home/use-ask-support.js +105 -0
  616. package/dist/dashboard/home/use-ask-support.js.map +1 -0
  617. package/dist/dashboard/home/use-business-arrival.d.ts +35 -0
  618. package/dist/dashboard/home/use-business-arrival.js +32 -0
  619. package/dist/dashboard/home/use-business-arrival.js.map +1 -0
  620. package/dist/dashboard/home/use-days-since-last-seen.d.ts +16 -0
  621. package/dist/dashboard/home/use-days-since-last-seen.js +46 -0
  622. package/dist/dashboard/home/use-days-since-last-seen.js.map +1 -0
  623. package/dist/dashboard/home/use-home-shape.d.ts +61 -0
  624. package/dist/dashboard/home/use-home-shape.js +41 -0
  625. package/dist/dashboard/home/use-home-shape.js.map +1 -0
  626. package/dist/dashboard/home/use-live-presence.d.ts +21 -0
  627. package/dist/dashboard/home/use-live-presence.js +84 -0
  628. package/dist/dashboard/home/use-live-presence.js.map +1 -0
  629. package/dist/dashboard/home/use-publish-site.d.ts +21 -0
  630. package/dist/dashboard/home/use-publish-site.js +35 -0
  631. package/dist/dashboard/home/use-publish-site.js.map +1 -0
  632. package/dist/dashboard/home/use-recent-screens.d.ts +12 -0
  633. package/dist/dashboard/home/use-recent-screens.js +70 -0
  634. package/dist/dashboard/home/use-recent-screens.js.map +1 -0
  635. package/dist/dashboard/home/widgets/activity-card.d.ts +20 -0
  636. package/dist/dashboard/home/widgets/activity-card.js +41 -0
  637. package/dist/dashboard/home/widgets/activity-card.js.map +1 -0
  638. package/dist/dashboard/home/widgets/activity-widget.d.ts +15 -0
  639. package/dist/dashboard/home/widgets/activity-widget.js +172 -0
  640. package/dist/dashboard/home/widgets/activity-widget.js.map +1 -0
  641. package/dist/dashboard/home/widgets/bill-widget.d.ts +25 -0
  642. package/dist/dashboard/home/widgets/bill-widget.js +96 -0
  643. package/dist/dashboard/home/widgets/bill-widget.js.map +1 -0
  644. package/dist/dashboard/home/widgets/credits-widget.d.ts +22 -0
  645. package/dist/dashboard/home/widgets/credits-widget.js +59 -0
  646. package/dist/dashboard/home/widgets/credits-widget.js.map +1 -0
  647. package/dist/dashboard/home/widgets/hardware-widget.d.ts +30 -0
  648. package/dist/dashboard/home/widgets/hardware-widget.js +115 -0
  649. package/dist/dashboard/home/widgets/hardware-widget.js.map +1 -0
  650. package/dist/dashboard/home/widgets/home-widgets.d.ts +14 -0
  651. package/dist/dashboard/home/widgets/home-widgets.js +237 -0
  652. package/dist/dashboard/home/widgets/home-widgets.js.map +1 -0
  653. package/dist/dashboard/home/widgets/host-widgets.d.ts +6 -0
  654. package/dist/dashboard/home/widgets/host-widgets.js +16 -0
  655. package/dist/dashboard/home/widgets/host-widgets.js.map +1 -0
  656. package/dist/dashboard/home/widgets/member-label.d.ts +11 -0
  657. package/dist/dashboard/home/widgets/member-label.js +10 -0
  658. package/dist/dashboard/home/widgets/member-label.js.map +1 -0
  659. package/dist/dashboard/home/widgets/middle-ellipsis.d.ts +5 -0
  660. package/dist/dashboard/home/widgets/middle-ellipsis.js +11 -0
  661. package/dist/dashboard/home/widgets/middle-ellipsis.js.map +1 -0
  662. package/dist/dashboard/home/widgets/money-context.d.ts +51 -0
  663. package/dist/dashboard/home/widgets/money-context.js +114 -0
  664. package/dist/dashboard/home/widgets/money-context.js.map +1 -0
  665. package/dist/dashboard/home/widgets/money-widgets.d.ts +10 -0
  666. package/dist/dashboard/home/widgets/money-widgets.js +169 -0
  667. package/dist/dashboard/home/widgets/money-widgets.js.map +1 -0
  668. package/dist/dashboard/home/widgets/owed-widget.d.ts +25 -0
  669. package/dist/dashboard/home/widgets/owed-widget.js +78 -0
  670. package/dist/dashboard/home/widgets/owed-widget.js.map +1 -0
  671. package/dist/dashboard/home/widgets/referral-modal.d.ts +30 -0
  672. package/dist/dashboard/home/widgets/referral-modal.js +91 -0
  673. package/dist/dashboard/home/widgets/referral-modal.js.map +1 -0
  674. package/dist/dashboard/home/widgets/referral-widget.d.ts +25 -0
  675. package/dist/dashboard/home/widgets/referral-widget.js +44 -0
  676. package/dist/dashboard/home/widgets/referral-widget.js.map +1 -0
  677. package/dist/dashboard/home/widgets/registry.d.ts +39 -0
  678. package/dist/dashboard/home/widgets/registry.js +392 -0
  679. package/dist/dashboard/home/widgets/registry.js.map +1 -0
  680. package/dist/dashboard/home/widgets/regular-reach.d.ts +10 -0
  681. package/dist/dashboard/home/widgets/regular-reach.js +60 -0
  682. package/dist/dashboard/home/widgets/regular-reach.js.map +1 -0
  683. package/dist/dashboard/home/widgets/regulars-widget.d.ts +13 -0
  684. package/dist/dashboard/home/widgets/regulars-widget.js +126 -0
  685. package/dist/dashboard/home/widgets/regulars-widget.js.map +1 -0
  686. package/dist/dashboard/home/widgets/revenue-series.d.ts +12 -0
  687. package/dist/dashboard/home/widgets/revenue-series.js +26 -0
  688. package/dist/dashboard/home/widgets/revenue-series.js.map +1 -0
  689. package/dist/dashboard/home/widgets/setup-steps.d.ts +86 -0
  690. package/dist/dashboard/home/widgets/setup-steps.js +175 -0
  691. package/dist/dashboard/home/widgets/setup-steps.js.map +1 -0
  692. package/dist/dashboard/home/widgets/setup-widget.d.ts +23 -0
  693. package/dist/dashboard/home/widgets/setup-widget.js +40 -0
  694. package/dist/dashboard/home/widgets/setup-widget.js.map +1 -0
  695. package/dist/dashboard/home/widgets/step-href.d.ts +4 -0
  696. package/dist/dashboard/home/widgets/step-href.js +58 -0
  697. package/dist/dashboard/home/widgets/step-href.js.map +1 -0
  698. package/dist/dashboard/home/widgets/step-labels.d.ts +6 -0
  699. package/dist/dashboard/home/widgets/step-labels.js +8 -0
  700. package/dist/dashboard/home/widgets/step-labels.js.map +1 -0
  701. package/dist/dashboard/home/widgets/team-widget.d.ts +1 -0
  702. package/dist/dashboard/home/widgets/team-widget.js +117 -0
  703. package/dist/dashboard/home/widgets/team-widget.js.map +1 -0
  704. package/dist/dashboard/home/widgets/types.d.ts +192 -0
  705. package/dist/dashboard/home/widgets/types.js +10 -0
  706. package/dist/dashboard/home/widgets/types.js.map +1 -0
  707. package/dist/dashboard/home/widgets/use-home-layout.d.ts +45 -0
  708. package/dist/dashboard/home/widgets/use-home-layout.js +220 -0
  709. package/dist/dashboard/home/widgets/use-home-layout.js.map +1 -0
  710. package/dist/dashboard/home/widgets/website-widget.d.ts +7 -0
  711. package/dist/dashboard/home/widgets/website-widget.js +229 -0
  712. package/dist/dashboard/home/widgets/website-widget.js.map +1 -0
  713. package/dist/dashboard/home/widgets/widget-art.d.ts +35 -0
  714. package/dist/dashboard/home/widgets/widget-art.js +40 -0
  715. package/dist/dashboard/home/widgets/widget-art.js.map +1 -0
  716. package/dist/dashboard/home/widgets/widget-empty.d.ts +38 -0
  717. package/dist/dashboard/home/widgets/widget-empty.js +46 -0
  718. package/dist/dashboard/home/widgets/widget-empty.js.map +1 -0
  719. package/dist/dashboard/home/widgets/widget-figure.d.ts +19 -0
  720. package/dist/dashboard/home/widgets/widget-figure.js +30 -0
  721. package/dist/dashboard/home/widgets/widget-figure.js.map +1 -0
  722. package/dist/dashboard/home/widgets/widget-frame.d.ts +50 -0
  723. package/dist/dashboard/home/widgets/widget-frame.js +38 -0
  724. package/dist/dashboard/home/widgets/widget-frame.js.map +1 -0
  725. package/dist/dashboard/home/widgets/widget-gallery.d.ts +45 -0
  726. package/dist/dashboard/home/widgets/widget-gallery.js +108 -0
  727. package/dist/dashboard/home/widgets/widget-gallery.js.map +1 -0
  728. package/dist/dashboard/home/widgets/widget-recents.d.ts +14 -0
  729. package/dist/dashboard/home/widgets/widget-recents.js +23 -0
  730. package/dist/dashboard/home/widgets/widget-recents.js.map +1 -0
  731. package/dist/dashboard/index.d.ts +5 -0
  732. package/dist/dashboard/index.js +11 -0
  733. package/dist/dashboard/index.js.map +1 -0
  734. package/dist/dashboard/page-intro-dialog.d.ts +25 -0
  735. package/dist/dashboard/page-intro-dialog.js +61 -0
  736. package/dist/dashboard/page-intro-dialog.js.map +1 -0
  737. package/dist/dashboard/page-transition-key.d.ts +7 -0
  738. package/dist/dashboard/page-transition-key.js +11 -0
  739. package/dist/dashboard/page-transition-key.js.map +1 -0
  740. package/dist/dashboard/page-transition.d.ts +40 -0
  741. package/dist/dashboard/page-transition.js +32 -0
  742. package/dist/dashboard/page-transition.js.map +1 -0
  743. package/dist/dashboard/site-setup-notice.d.ts +15 -0
  744. package/dist/dashboard/site-setup-notice.js +28 -0
  745. package/dist/dashboard/site-setup-notice.js.map +1 -0
  746. package/dist/dashboard/store-cannot-sell-gate.d.ts +39 -0
  747. package/dist/dashboard/store-cannot-sell-gate.js +59 -0
  748. package/dist/dashboard/store-cannot-sell-gate.js.map +1 -0
  749. package/dist/dashboard/take-payment-context.d.ts +3 -0
  750. package/dist/dashboard/take-payment-context.js +13 -0
  751. package/dist/dashboard/take-payment-context.js.map +1 -0
  752. package/dist/dashboard/template-category-picker.d.ts +19 -0
  753. package/dist/dashboard/template-category-picker.js +99 -0
  754. package/dist/dashboard/template-category-picker.js.map +1 -0
  755. package/dist/dashboard/template-status-card.d.ts +20 -0
  756. package/dist/dashboard/template-status-card.js +171 -0
  757. package/dist/dashboard/template-status-card.js.map +1 -0
  758. package/dist/dashboard-blockers.d.ts +39 -0
  759. package/dist/dashboard-blockers.js +74 -0
  760. package/dist/dashboard-blockers.js.map +1 -0
  761. package/dist/dashboard-empty-state.d.ts +1 -0
  762. package/dist/dashboard-empty-state.js +273 -0
  763. package/dist/dashboard-empty-state.js.map +1 -0
  764. package/dist/dashboard.d.ts +1 -0
  765. package/dist/dashboard.js +1 -0
  766. package/dist/digital-files-block.d.ts +11 -0
  767. package/dist/digital-files-block.js +201 -0
  768. package/dist/digital-files-block.js.map +1 -0
  769. package/dist/discount-editor/discount-editor-content.d.ts +8 -0
  770. package/dist/discount-editor/discount-editor-content.js +399 -0
  771. package/dist/discount-editor/discount-editor-content.js.map +1 -0
  772. package/dist/discount-editor/discount-editor-page.d.ts +5 -0
  773. package/dist/discount-editor/discount-editor-page.js +340 -0
  774. package/dist/discount-editor/discount-editor-page.js.map +1 -0
  775. package/dist/discount-editor/discount-editor.d.ts +15 -0
  776. package/dist/discount-editor/discount-editor.js +120 -0
  777. package/dist/discount-editor/discount-editor.js.map +1 -0
  778. package/dist/discount-editor/discount-performance.d.ts +20 -0
  779. package/dist/discount-editor/discount-performance.js +101 -0
  780. package/dist/discount-editor/discount-performance.js.map +1 -0
  781. package/dist/discount-editor/index.d.ts +2 -0
  782. package/dist/discount-editor/index.js +7 -0
  783. package/dist/discount-editor/index.js.map +1 -0
  784. package/dist/discount-editor/mobile-discount-editor.d.ts +8 -0
  785. package/dist/discount-editor/mobile-discount-editor.js +390 -0
  786. package/dist/discount-editor/mobile-discount-editor.js.map +1 -0
  787. package/dist/discount-editor/product-scope-picker.d.ts +7 -0
  788. package/dist/discount-editor/product-scope-picker.js +246 -0
  789. package/dist/discount-editor/product-scope-picker.js.map +1 -0
  790. package/dist/discount-editor/tier-gate-picker.d.ts +20 -0
  791. package/dist/discount-editor/tier-gate-picker.js +68 -0
  792. package/dist/discount-editor/tier-gate-picker.js.map +1 -0
  793. package/dist/discount-editor.d.ts +1 -0
  794. package/dist/discount-editor.js +1 -0
  795. package/dist/duplicate-workspace-modal.d.ts +7 -0
  796. package/dist/duplicate-workspace-modal.js +122 -0
  797. package/dist/duplicate-workspace-modal.js.map +1 -0
  798. package/dist/dynamic-form/fields-basic.d.ts +33 -0
  799. package/dist/dynamic-form/fields-basic.js +357 -0
  800. package/dist/dynamic-form/fields-basic.js.map +1 -0
  801. package/dist/dynamic-form/fields-content-select.d.ts +17 -0
  802. package/dist/dynamic-form/fields-content-select.js +399 -0
  803. package/dist/dynamic-form/fields-content-select.js.map +1 -0
  804. package/dist/dynamic-form/fields-media.d.ts +20 -0
  805. package/dist/dynamic-form/fields-media.js +337 -0
  806. package/dist/dynamic-form/fields-media.js.map +1 -0
  807. package/dist/dynamic-form/fields-reference.d.ts +10 -0
  808. package/dist/dynamic-form/fields-reference.js +271 -0
  809. package/dist/dynamic-form/fields-reference.js.map +1 -0
  810. package/dist/dynamic-form/fields-select.d.ts +13 -0
  811. package/dist/dynamic-form/fields-select.js +343 -0
  812. package/dist/dynamic-form/fields-select.js.map +1 -0
  813. package/dist/dynamic-form/index.d.ts +27 -0
  814. package/dist/dynamic-form/index.js +288 -0
  815. package/dist/dynamic-form/index.js.map +1 -0
  816. package/dist/dynamic-form/shared.d.ts +47 -0
  817. package/dist/dynamic-form/shared.js +111 -0
  818. package/dist/dynamic-form/shared.js.map +1 -0
  819. package/dist/dynamic-form.d.ts +1 -0
  820. package/dist/dynamic-form.js +1 -0
  821. package/dist/editor-agent/ask-ai-popover.d.ts +19 -0
  822. package/dist/editor-agent/ask-ai-popover.js +221 -0
  823. package/dist/editor-agent/ask-ai-popover.js.map +1 -0
  824. package/dist/editor-shared/floating-save-bar.d.ts +15 -0
  825. package/dist/editor-shared/floating-save-bar.js +47 -0
  826. package/dist/editor-shared/floating-save-bar.js.map +1 -0
  827. package/dist/editor-shared/index.d.ts +3 -0
  828. package/dist/editor-shared/index.js +9 -0
  829. package/dist/editor-shared/index.js.map +1 -0
  830. package/dist/editor-shared/mobile-editor-section.d.ts +13 -0
  831. package/dist/editor-shared/mobile-editor-section.js +73 -0
  832. package/dist/editor-shared/mobile-editor-section.js.map +1 -0
  833. package/dist/editor-shared/use-editor-dirty-tracking.d.ts +12 -0
  834. package/dist/editor-shared/use-editor-dirty-tracking.js +26 -0
  835. package/dist/editor-shared/use-editor-dirty-tracking.js.map +1 -0
  836. package/dist/editor-shared.d.ts +1 -0
  837. package/dist/editor-shared.js +1 -0
  838. package/dist/feature-toggles-step.d.ts +12 -0
  839. package/dist/feature-toggles-step.js +104 -0
  840. package/dist/feature-toggles-step.js.map +1 -0
  841. package/dist/features/booking-editor.d.ts +6 -0
  842. package/dist/features/booking-editor.js +352 -0
  843. package/dist/features/booking-editor.js.map +1 -0
  844. package/dist/features/booking-summary.d.ts +35 -0
  845. package/dist/features/booking-summary.js +106 -0
  846. package/dist/features/booking-summary.js.map +1 -0
  847. package/dist/features/calendar-sync-pane.d.ts +14 -0
  848. package/dist/features/calendar-sync-pane.js +370 -0
  849. package/dist/features/calendar-sync-pane.js.map +1 -0
  850. package/dist/features/calendar-sync.d.ts +1 -0
  851. package/dist/features/calendar-sync.js +138 -0
  852. package/dist/features/calendar-sync.js.map +1 -0
  853. package/dist/features/collection-card.d.ts +28 -0
  854. package/dist/features/collection-card.js +84 -0
  855. package/dist/features/collection-card.js.map +1 -0
  856. package/dist/features/collections-grid.d.ts +30 -0
  857. package/dist/features/collections-grid.js +218 -0
  858. package/dist/features/collections-grid.js.map +1 -0
  859. package/dist/features/collections-helpers.d.ts +89 -0
  860. package/dist/features/collections-helpers.js +84 -0
  861. package/dist/features/collections-helpers.js.map +1 -0
  862. package/dist/features/collections.d.ts +2 -0
  863. package/dist/features/collections.js +261 -0
  864. package/dist/features/collections.js.map +1 -0
  865. package/dist/features/customer-form.d.ts +6 -0
  866. package/dist/features/customer-form.js +153 -0
  867. package/dist/features/customer-form.js.map +1 -0
  868. package/dist/features/discounts/discount-form-basics-step.d.ts +10 -0
  869. package/dist/features/discounts/discount-form-basics-step.js +174 -0
  870. package/dist/features/discounts/discount-form-basics-step.js.map +1 -0
  871. package/dist/features/discounts/discount-form-modal.d.ts +9 -0
  872. package/dist/features/discounts/discount-form-modal.js +143 -0
  873. package/dist/features/discounts/discount-form-modal.js.map +1 -0
  874. package/dist/features/discounts/discount-form-rules-step.d.ts +9 -0
  875. package/dist/features/discounts/discount-form-rules-step.js +154 -0
  876. package/dist/features/discounts/discount-form-rules-step.js.map +1 -0
  877. package/dist/features/discounts/discount-form-settings-step.d.ts +8 -0
  878. package/dist/features/discounts/discount-form-settings-step.js +48 -0
  879. package/dist/features/discounts/discount-form-settings-step.js.map +1 -0
  880. package/dist/features/discounts/discount-helpers.d.ts +6 -0
  881. package/dist/features/discounts/discount-helpers.js +66 -0
  882. package/dist/features/discounts/discount-helpers.js.map +1 -0
  883. package/dist/features/discounts/discount-mark.d.ts +4 -0
  884. package/dist/features/discounts/discount-mark.js +54 -0
  885. package/dist/features/discounts/discount-mark.js.map +1 -0
  886. package/dist/features/discounts/discounts-panel.d.ts +16 -0
  887. package/dist/features/discounts/discounts-panel.js +301 -0
  888. package/dist/features/discounts/discounts-panel.js.map +1 -0
  889. package/dist/features/discounts/discounts-table.d.ts +33 -0
  890. package/dist/features/discounts/discounts-table.js +133 -0
  891. package/dist/features/discounts/discounts-table.js.map +1 -0
  892. package/dist/features/discounts.d.ts +2 -0
  893. package/dist/features/discounts.js +7 -0
  894. package/dist/features/discounts.js.map +1 -0
  895. package/dist/features/gallery.d.ts +1 -0
  896. package/dist/features/gallery.js +147 -0
  897. package/dist/features/gallery.js.map +1 -0
  898. package/dist/features/gift-card-artwork.d.ts +18 -0
  899. package/dist/features/gift-card-artwork.js +216 -0
  900. package/dist/features/gift-card-artwork.js.map +1 -0
  901. package/dist/features/gift-cards/gift-card-logic.d.ts +41 -0
  902. package/dist/features/gift-cards/gift-card-logic.js +65 -0
  903. package/dist/features/gift-cards/gift-card-logic.js.map +1 -0
  904. package/dist/features/gift-cards/gift-cards-feature.d.ts +1 -0
  905. package/dist/features/gift-cards/gift-cards-feature.js +1038 -0
  906. package/dist/features/gift-cards/gift-cards-feature.js.map +1 -0
  907. package/dist/features/gift-cards/gift-cards-panel.d.ts +14 -0
  908. package/dist/features/gift-cards/gift-cards-panel.js +224 -0
  909. package/dist/features/gift-cards/gift-cards-panel.js.map +1 -0
  910. package/dist/features/gift-cards/hint.d.ts +9 -0
  911. package/dist/features/gift-cards/hint.js +25 -0
  912. package/dist/features/gift-cards/hint.js.map +1 -0
  913. package/dist/features/gift-cards/index.d.ts +2 -0
  914. package/dist/features/gift-cards/index.js +7 -0
  915. package/dist/features/gift-cards/index.js.map +1 -0
  916. package/dist/features/gift-cards.d.ts +1 -0
  917. package/dist/features/gift-cards.js +1 -0
  918. package/dist/features/index.d.ts +8 -0
  919. package/dist/features/index.js +29 -0
  920. package/dist/features/index.js.map +1 -0
  921. package/dist/features/loyalty.d.ts +1 -0
  922. package/dist/features/loyalty.js +128 -0
  923. package/dist/features/loyalty.js.map +1 -0
  924. package/dist/features/offer-countdown.d.ts +14 -0
  925. package/dist/features/offer-countdown.js +35 -0
  926. package/dist/features/offer-countdown.js.map +1 -0
  927. package/dist/features/payments.d.ts +1 -0
  928. package/dist/features/payments.js +279 -0
  929. package/dist/features/payments.js.map +1 -0
  930. package/dist/features/product-form/basics-step.d.ts +44 -0
  931. package/dist/features/product-form/basics-step.js +381 -0
  932. package/dist/features/product-form/basics-step.js.map +1 -0
  933. package/dist/features/product-form/behaviors-step.d.ts +42 -0
  934. package/dist/features/product-form/behaviors-step.js +174 -0
  935. package/dist/features/product-form/behaviors-step.js.map +1 -0
  936. package/dist/features/product-form/currency-field.d.ts +13 -0
  937. package/dist/features/product-form/currency-field.js +51 -0
  938. package/dist/features/product-form/currency-field.js.map +1 -0
  939. package/dist/features/product-form/details-step.d.ts +35 -0
  940. package/dist/features/product-form/details-step.js +137 -0
  941. package/dist/features/product-form/details-step.js.map +1 -0
  942. package/dist/features/product-form/organize-step.d.ts +23 -0
  943. package/dist/features/product-form/organize-step.js +186 -0
  944. package/dist/features/product-form/organize-step.js.map +1 -0
  945. package/dist/features/product-form.d.ts +11 -0
  946. package/dist/features/product-form.js +802 -0
  947. package/dist/features/product-form.js.map +1 -0
  948. package/dist/features/product-picker.d.ts +26 -0
  949. package/dist/features/product-picker.js +115 -0
  950. package/dist/features/product-picker.js.map +1 -0
  951. package/dist/features/record-payment-modal.d.ts +49 -0
  952. package/dist/features/record-payment-modal.js +145 -0
  953. package/dist/features/record-payment-modal.js.map +1 -0
  954. package/dist/features/slot-picker.d.ts +42 -0
  955. package/dist/features/slot-picker.js +194 -0
  956. package/dist/features/slot-picker.js.map +1 -0
  957. package/dist/features/use-booking-form.d.ts +161 -0
  958. package/dist/features/use-booking-form.js +324 -0
  959. package/dist/features/use-booking-form.js.map +1 -0
  960. package/dist/features/use-booking-options.d.ts +14 -0
  961. package/dist/features/use-booking-options.js +57 -0
  962. package/dist/features/use-booking-options.js.map +1 -0
  963. package/dist/features/use-collections-data.d.ts +34 -0
  964. package/dist/features/use-collections-data.js +62 -0
  965. package/dist/features/use-collections-data.js.map +1 -0
  966. package/dist/features/use-collections-view.d.ts +13 -0
  967. package/dist/features/use-collections-view.js +13 -0
  968. package/dist/features/use-collections-view.js.map +1 -0
  969. package/dist/features/weekly-hours-editor.d.ts +26 -0
  970. package/dist/features/weekly-hours-editor.js +141 -0
  971. package/dist/features/weekly-hours-editor.js.map +1 -0
  972. package/dist/features.d.ts +1 -0
  973. package/dist/features.js +1 -0
  974. package/dist/feedback/admin-feedback-prompt.d.ts +1 -0
  975. package/dist/feedback/admin-feedback-prompt.js +47 -0
  976. package/dist/feedback/admin-feedback-prompt.js.map +1 -0
  977. package/dist/feedback/app-nps-dock.d.ts +40 -0
  978. package/dist/feedback/app-nps-dock.js +37 -0
  979. package/dist/feedback/app-nps-dock.js.map +1 -0
  980. package/dist/feedback/feature-adoption.d.ts +66 -0
  981. package/dist/feedback/feature-adoption.js +53 -0
  982. package/dist/feedback/feature-adoption.js.map +1 -0
  983. package/dist/feedback/feedback-docks.d.ts +24 -0
  984. package/dist/feedback/feedback-docks.js +27 -0
  985. package/dist/feedback/feedback-docks.js.map +1 -0
  986. package/dist/feedback/feedback-prompt-context.d.ts +97 -0
  987. package/dist/feedback/feedback-prompt-context.js +247 -0
  988. package/dist/feedback/feedback-prompt-context.js.map +1 -0
  989. package/dist/feedback/feedback-prompt.d.ts +64 -0
  990. package/dist/feedback/feedback-prompt.js +231 -0
  991. package/dist/feedback/feedback-prompt.js.map +1 -0
  992. package/dist/feedback/feedback-vote.d.ts +64 -0
  993. package/dist/feedback/feedback-vote.js +158 -0
  994. package/dist/feedback/feedback-vote.js.map +1 -0
  995. package/dist/feedback/flow-ces-dock.d.ts +20 -0
  996. package/dist/feedback/flow-ces-dock.js +41 -0
  997. package/dist/feedback/flow-ces-dock.js.map +1 -0
  998. package/dist/feedback/flow-ces.d.ts +43 -0
  999. package/dist/feedback/flow-ces.js +38 -0
  1000. package/dist/feedback/flow-ces.js.map +1 -0
  1001. package/dist/feedback/flow-completion.d.ts +30 -0
  1002. package/dist/feedback/flow-completion.js +35 -0
  1003. package/dist/feedback/flow-completion.js.map +1 -0
  1004. package/dist/feedback/index.d.ts +13 -0
  1005. package/dist/feedback/index.js +49 -0
  1006. package/dist/feedback/index.js.map +1 -0
  1007. package/dist/feedback/merchant-feedback-prompt.d.ts +6 -0
  1008. package/dist/feedback/merchant-feedback-prompt.js +289 -0
  1009. package/dist/feedback/merchant-feedback-prompt.js.map +1 -0
  1010. package/dist/feedback/report-adoption.d.ts +55 -0
  1011. package/dist/feedback/report-adoption.js +56 -0
  1012. package/dist/feedback/report-adoption.js.map +1 -0
  1013. package/dist/feedback/say-why.d.ts +26 -0
  1014. package/dist/feedback/say-why.js +97 -0
  1015. package/dist/feedback/say-why.js.map +1 -0
  1016. package/dist/feedback/setup-csat-dock.d.ts +25 -0
  1017. package/dist/feedback/setup-csat-dock.js +35 -0
  1018. package/dist/feedback/setup-csat-dock.js.map +1 -0
  1019. package/dist/feedback/voice-response-recorder.d.ts +11 -0
  1020. package/dist/feedback/voice-response-recorder.js +176 -0
  1021. package/dist/feedback/voice-response-recorder.js.map +1 -0
  1022. package/dist/feedback-widget.d.ts +29 -0
  1023. package/dist/feedback-widget.js +215 -0
  1024. package/dist/feedback-widget.js.map +1 -0
  1025. package/dist/feedback.d.ts +1 -0
  1026. package/dist/feedback.js +1 -0
  1027. package/dist/help/area-art.d.ts +33 -0
  1028. package/dist/help/area-art.js +32 -0
  1029. package/dist/help/area-art.js.map +1 -0
  1030. package/dist/help/area-objects.d.ts +31 -0
  1031. package/dist/help/area-objects.js +357 -0
  1032. package/dist/help/area-objects.js.map +1 -0
  1033. package/dist/help/area-palette.d.ts +48 -0
  1034. package/dist/help/area-palette.js +26 -0
  1035. package/dist/help/area-palette.js.map +1 -0
  1036. package/dist/help/assistant-chat.d.ts +12 -0
  1037. package/dist/help/assistant-chat.js +185 -0
  1038. package/dist/help/assistant-chat.js.map +1 -0
  1039. package/dist/help/assistant-reply.d.ts +21 -0
  1040. package/dist/help/assistant-reply.js +19 -0
  1041. package/dist/help/assistant-reply.js.map +1 -0
  1042. package/dist/help/case-chat-panel.d.ts +34 -0
  1043. package/dist/help/case-chat-panel.js +233 -0
  1044. package/dist/help/case-chat-panel.js.map +1 -0
  1045. package/dist/help/case-message.d.ts +12 -0
  1046. package/dist/help/case-message.js +62 -0
  1047. package/dist/help/case-message.js.map +1 -0
  1048. package/dist/help/dispute-case.d.ts +15 -0
  1049. package/dist/help/dispute-case.js +30 -0
  1050. package/dist/help/dispute-case.js.map +1 -0
  1051. package/dist/help/help-area-tile.d.ts +36 -0
  1052. package/dist/help/help-area-tile.js +86 -0
  1053. package/dist/help/help-area-tile.js.map +1 -0
  1054. package/dist/help/help-topic-row.d.ts +27 -0
  1055. package/dist/help/help-topic-row.js +111 -0
  1056. package/dist/help/help-topic-row.js.map +1 -0
  1057. package/dist/help/help-topics-view.d.ts +21 -0
  1058. package/dist/help/help-topics-view.js +151 -0
  1059. package/dist/help/help-topics-view.js.map +1 -0
  1060. package/dist/help/support-cases-view.d.ts +16 -0
  1061. package/dist/help/support-cases-view.js +181 -0
  1062. package/dist/help/support-cases-view.js.map +1 -0
  1063. package/dist/image-upload-modal.d.ts +48 -0
  1064. package/dist/image-upload-modal.js +519 -0
  1065. package/dist/image-upload-modal.js.map +1 -0
  1066. package/dist/image-upload.d.ts +53 -0
  1067. package/dist/image-upload.js +180 -0
  1068. package/dist/image-upload.js.map +1 -0
  1069. package/dist/index.d.ts +9 -0
  1070. package/dist/index.js +1 -0
  1071. package/dist/index.js.map +1 -0
  1072. package/dist/intent/index.d.ts +3 -0
  1073. package/dist/intent/index.js +9 -0
  1074. package/dist/intent/index.js.map +1 -0
  1075. package/dist/intent/intent-filter-panel.d.ts +18 -0
  1076. package/dist/intent/intent-filter-panel.js +67 -0
  1077. package/dist/intent/intent-filter-panel.js.map +1 -0
  1078. package/dist/intent/intent-order-detail.d.ts +32 -0
  1079. package/dist/intent/intent-order-detail.js +33 -0
  1080. package/dist/intent/intent-order-detail.js.map +1 -0
  1081. package/dist/intent/intent-order-list.d.ts +24 -0
  1082. package/dist/intent/intent-order-list.js +235 -0
  1083. package/dist/intent/intent-order-list.js.map +1 -0
  1084. package/dist/intent/sections/download-links-section.d.ts +14 -0
  1085. package/dist/intent/sections/download-links-section.js +65 -0
  1086. package/dist/intent/sections/download-links-section.js.map +1 -0
  1087. package/dist/intent/sections/event-tickets/attendee-list-section.d.ts +8 -0
  1088. package/dist/intent/sections/event-tickets/attendee-list-section.js +54 -0
  1089. package/dist/intent/sections/event-tickets/attendee-list-section.js.map +1 -0
  1090. package/dist/intent/sections/event-tickets/check-in-status-section.d.ts +8 -0
  1091. package/dist/intent/sections/event-tickets/check-in-status-section.js +64 -0
  1092. package/dist/intent/sections/event-tickets/check-in-status-section.js.map +1 -0
  1093. package/dist/intent/sections/event-tickets/event-details-section.d.ts +8 -0
  1094. package/dist/intent/sections/event-tickets/event-details-section.js +64 -0
  1095. package/dist/intent/sections/event-tickets/event-details-section.js.map +1 -0
  1096. package/dist/intent/sections/event-tickets/index.d.ts +4 -0
  1097. package/dist/intent/sections/event-tickets/index.js +11 -0
  1098. package/dist/intent/sections/event-tickets/index.js.map +1 -0
  1099. package/dist/intent/sections/event-tickets/ticket-info-section.d.ts +7 -0
  1100. package/dist/intent/sections/event-tickets/ticket-info-section.js +43 -0
  1101. package/dist/intent/sections/event-tickets/ticket-info-section.js.map +1 -0
  1102. package/dist/intent/sections/event-tickets.d.ts +1 -0
  1103. package/dist/intent/sections/event-tickets.js +1 -0
  1104. package/dist/intent/sections/order-items-section.d.ts +15 -0
  1105. package/dist/intent/sections/order-items-section.js +47 -0
  1106. package/dist/intent/sections/order-items-section.js.map +1 -0
  1107. package/dist/intent/sections/register-sections.d.ts +8 -0
  1108. package/dist/intent/sections/register-sections.js +24 -0
  1109. package/dist/intent/sections/register-sections.js.map +1 -0
  1110. package/dist/intent/sections/shared/activity-timeline-section.d.ts +9 -0
  1111. package/dist/intent/sections/shared/activity-timeline-section.js +80 -0
  1112. package/dist/intent/sections/shared/activity-timeline-section.js.map +1 -0
  1113. package/dist/intent/sections/shared/index.d.ts +3 -0
  1114. package/dist/intent/sections/shared/index.js +9 -0
  1115. package/dist/intent/sections/shared/index.js.map +1 -0
  1116. package/dist/intent/sections/shared/order-header-section.d.ts +7 -0
  1117. package/dist/intent/sections/shared/order-header-section.js +27 -0
  1118. package/dist/intent/sections/shared/order-header-section.js.map +1 -0
  1119. package/dist/intent/sections/shared/payment-summary-section.d.ts +12 -0
  1120. package/dist/intent/sections/shared/payment-summary-section.js +126 -0
  1121. package/dist/intent/sections/shared/payment-summary-section.js.map +1 -0
  1122. package/dist/intent/sections/shared.d.ts +1 -0
  1123. package/dist/intent/sections/shared.js +1 -0
  1124. package/dist/intent/sections/shipping-info-section.d.ts +12 -0
  1125. package/dist/intent/sections/shipping-info-section.js +64 -0
  1126. package/dist/intent/sections/shipping-info-section.js.map +1 -0
  1127. package/dist/intent/sections/subscription-details-section.d.ts +2 -0
  1128. package/dist/intent/sections/subscription-details-section.js +77 -0
  1129. package/dist/intent/sections/subscription-details-section.js.map +1 -0
  1130. package/dist/intent/use-intent-filter.d.ts +43 -0
  1131. package/dist/intent/use-intent-filter.js +43 -0
  1132. package/dist/intent/use-intent-filter.js.map +1 -0
  1133. package/dist/intent.d.ts +1 -0
  1134. package/dist/intent.js +1 -0
  1135. package/dist/intents/capture-leads.d.ts +3 -0
  1136. package/dist/intents/capture-leads.js +61 -0
  1137. package/dist/intents/capture-leads.js.map +1 -0
  1138. package/dist/intents/composed-screen.d.ts +9 -0
  1139. package/dist/intents/composed-screen.js +26 -0
  1140. package/dist/intents/composed-screen.js.map +1 -0
  1141. package/dist/intents/define.d.ts +88 -0
  1142. package/dist/intents/define.js +11 -0
  1143. package/dist/intents/define.js.map +1 -0
  1144. package/dist/intents/detail-rewrites.d.ts +11 -0
  1145. package/dist/intents/detail-rewrites.js +30 -0
  1146. package/dist/intents/detail-rewrites.js.map +1 -0
  1147. package/dist/intents/detail-rewrites.json +90 -0
  1148. package/dist/intents/digital-products.d.ts +3 -0
  1149. package/dist/intents/digital-products.js +62 -0
  1150. package/dist/intents/digital-products.js.map +1 -0
  1151. package/dist/intents/dine-in.d.ts +10 -0
  1152. package/dist/intents/dine-in.js +94 -0
  1153. package/dist/intents/dine-in.js.map +1 -0
  1154. package/dist/intents/event-tickets.d.ts +9 -0
  1155. package/dist/intents/event-tickets.js +71 -0
  1156. package/dist/intents/event-tickets.js.map +1 -0
  1157. package/dist/intents/fixed-scope.d.ts +10 -0
  1158. package/dist/intents/fixed-scope.js +24 -0
  1159. package/dist/intents/fixed-scope.js.map +1 -0
  1160. package/dist/intents/food-orders.d.ts +9 -0
  1161. package/dist/intents/food-orders.js +62 -0
  1162. package/dist/intents/food-orders.js.map +1 -0
  1163. package/dist/intents/index.d.ts +13 -0
  1164. package/dist/intents/index.js +34 -0
  1165. package/dist/intents/index.js.map +1 -0
  1166. package/dist/intents/item-owner.d.ts +27 -0
  1167. package/dist/intents/item-owner.js +43 -0
  1168. package/dist/intents/item-owner.js.map +1 -0
  1169. package/dist/intents/mount.d.ts +21 -0
  1170. package/dist/intents/mount.js +10 -0
  1171. package/dist/intents/mount.js.map +1 -0
  1172. package/dist/intents/mountable.d.ts +28 -0
  1173. package/dist/intents/mountable.js +53 -0
  1174. package/dist/intents/mountable.js.map +1 -0
  1175. package/dist/intents/rent-property.d.ts +3 -0
  1176. package/dist/intents/rent-property.js +67 -0
  1177. package/dist/intents/rent-property.js.map +1 -0
  1178. package/dist/intents/resolve.d.ts +15 -0
  1179. package/dist/intents/resolve.js +14 -0
  1180. package/dist/intents/resolve.js.map +1 -0
  1181. package/dist/intents/scope-labels.d.ts +15 -0
  1182. package/dist/intents/scope-labels.js +30 -0
  1183. package/dist/intents/scope-labels.js.map +1 -0
  1184. package/dist/intents/screens/booking-list.d.ts +16 -0
  1185. package/dist/intents/screens/booking-list.js +22 -0
  1186. package/dist/intents/screens/booking-list.js.map +1 -0
  1187. package/dist/intents/screens/item-create.d.ts +13 -0
  1188. package/dist/intents/screens/item-create.js +11 -0
  1189. package/dist/intents/screens/item-create.js.map +1 -0
  1190. package/dist/intents/screens/item-list.d.ts +15 -0
  1191. package/dist/intents/screens/item-list.js +10 -0
  1192. package/dist/intents/screens/item-list.js.map +1 -0
  1193. package/dist/intents/screens/order-list.d.ts +20 -0
  1194. package/dist/intents/screens/order-list.js +10 -0
  1195. package/dist/intents/screens/order-list.js.map +1 -0
  1196. package/dist/intents/screens/session-create.d.ts +8 -0
  1197. package/dist/intents/screens/session-create.js +11 -0
  1198. package/dist/intents/screens/session-create.js.map +1 -0
  1199. package/dist/intents/sell-products.d.ts +3 -0
  1200. package/dist/intents/sell-products.js +62 -0
  1201. package/dist/intents/sell-products.js.map +1 -0
  1202. package/dist/intents/send-invoices.d.ts +3 -0
  1203. package/dist/intents/send-invoices.js +56 -0
  1204. package/dist/intents/send-invoices.js.map +1 -0
  1205. package/dist/intents/subscriptions.d.ts +3 -0
  1206. package/dist/intents/subscriptions.js +45 -0
  1207. package/dist/intents/subscriptions.js.map +1 -0
  1208. package/dist/intents/take-bookings.d.ts +3 -0
  1209. package/dist/intents/take-bookings.js +78 -0
  1210. package/dist/intents/take-bookings.js.map +1 -0
  1211. package/dist/intents/validate.d.ts +9 -0
  1212. package/dist/intents/validate.js +35 -0
  1213. package/dist/intents/validate.js.map +1 -0
  1214. package/dist/intents.d.ts +1 -0
  1215. package/dist/intents.js +1 -0
  1216. package/dist/invoice-editor/index.d.ts +2 -0
  1217. package/dist/invoice-editor/index.js +7 -0
  1218. package/dist/invoice-editor/index.js.map +1 -0
  1219. package/dist/invoice-editor/invoice-branding-dialog.d.ts +28 -0
  1220. package/dist/invoice-editor/invoice-branding-dialog.js +147 -0
  1221. package/dist/invoice-editor/invoice-branding-dialog.js.map +1 -0
  1222. package/dist/invoice-editor/invoice-editor-content.d.ts +29 -0
  1223. package/dist/invoice-editor/invoice-editor-content.js +71 -0
  1224. package/dist/invoice-editor/invoice-editor-content.js.map +1 -0
  1225. package/dist/invoice-editor/invoice-editor-page.d.ts +28 -0
  1226. package/dist/invoice-editor/invoice-editor-page.js +207 -0
  1227. package/dist/invoice-editor/invoice-editor-page.js.map +1 -0
  1228. package/dist/invoice-editor/invoice-editor.d.ts +23 -0
  1229. package/dist/invoice-editor/invoice-editor.js +75 -0
  1230. package/dist/invoice-editor/invoice-editor.js.map +1 -0
  1231. package/dist/invoice-editor/invoice-preview.d.ts +35 -0
  1232. package/dist/invoice-editor/invoice-preview.js +67 -0
  1233. package/dist/invoice-editor/invoice-preview.js.map +1 -0
  1234. package/dist/invoice-editor/invoice-repeat-card.d.ts +18 -0
  1235. package/dist/invoice-editor/invoice-repeat-card.js +93 -0
  1236. package/dist/invoice-editor/invoice-repeat-card.js.map +1 -0
  1237. package/dist/invoice-editor/line-items-editor.d.ts +8 -0
  1238. package/dist/invoice-editor/line-items-editor.js +265 -0
  1239. package/dist/invoice-editor/line-items-editor.js.map +1 -0
  1240. package/dist/invoice-editor/mobile-invoice-editor.d.ts +7 -0
  1241. package/dist/invoice-editor/mobile-invoice-editor.js +159 -0
  1242. package/dist/invoice-editor/mobile-invoice-editor.js.map +1 -0
  1243. package/dist/invoice-editor/paper-fields.d.ts +53 -0
  1244. package/dist/invoice-editor/paper-fields.js +107 -0
  1245. package/dist/invoice-editor/paper-fields.js.map +1 -0
  1246. package/dist/invoice-editor/paper-lines.d.ts +25 -0
  1247. package/dist/invoice-editor/paper-lines.js +114 -0
  1248. package/dist/invoice-editor/paper-lines.js.map +1 -0
  1249. package/dist/invoice-editor.d.ts +1 -0
  1250. package/dist/invoice-editor.js +1 -0
  1251. package/dist/legal-modal.d.ts +10 -0
  1252. package/dist/legal-modal.js +83 -0
  1253. package/dist/legal-modal.js.map +1 -0
  1254. package/dist/live-commerce-bridge.d.ts +11 -0
  1255. package/dist/live-commerce-bridge.js +82 -0
  1256. package/dist/live-commerce-bridge.js.map +1 -0
  1257. package/dist/loyalty/redeem-points-modal.d.ts +30 -0
  1258. package/dist/loyalty/redeem-points-modal.js +113 -0
  1259. package/dist/loyalty/redeem-points-modal.js.map +1 -0
  1260. package/dist/media/media-library-picker.d.ts +29 -0
  1261. package/dist/media/media-library-picker.js +162 -0
  1262. package/dist/media/media-library-picker.js.map +1 -0
  1263. package/dist/media/media-picker-copy.d.ts +14 -0
  1264. package/dist/media/media-picker-copy.js +35 -0
  1265. package/dist/media/media-picker-copy.js.map +1 -0
  1266. package/dist/media/media-picker-footer.d.ts +14 -0
  1267. package/dist/media/media-picker-footer.js +29 -0
  1268. package/dist/media/media-picker-footer.js.map +1 -0
  1269. package/dist/media/media-picker-grid.d.ts +22 -0
  1270. package/dist/media/media-picker-grid.js +86 -0
  1271. package/dist/media/media-picker-grid.js.map +1 -0
  1272. package/dist/media/media-picker-remember.d.ts +11 -0
  1273. package/dist/media/media-picker-remember.js +34 -0
  1274. package/dist/media/media-picker-remember.js.map +1 -0
  1275. package/dist/media/use-picker-upload.d.ts +23 -0
  1276. package/dist/media/use-picker-upload.js +51 -0
  1277. package/dist/media/use-picker-upload.js.map +1 -0
  1278. package/dist/mobile/close-early.d.ts +16 -0
  1279. package/dist/mobile/close-early.js +74 -0
  1280. package/dist/mobile/close-early.js.map +1 -0
  1281. package/dist/mobile/floating-parcels.d.ts +8 -0
  1282. package/dist/mobile/floating-parcels.js +245 -0
  1283. package/dist/mobile/floating-parcels.js.map +1 -0
  1284. package/dist/mobile/hand-over-phone.d.ts +22 -0
  1285. package/dist/mobile/hand-over-phone.js +41 -0
  1286. package/dist/mobile/hand-over-phone.js.map +1 -0
  1287. package/dist/mobile/hub-page.d.ts +20 -0
  1288. package/dist/mobile/hub-page.js +84 -0
  1289. package/dist/mobile/hub-page.js.map +1 -0
  1290. package/dist/mobile/ios-grouped-list.d.ts +23 -0
  1291. package/dist/mobile/ios-grouped-list.js +65 -0
  1292. package/dist/mobile/ios-grouped-list.js.map +1 -0
  1293. package/dist/mobile/ios-link.d.ts +10 -0
  1294. package/dist/mobile/ios-link.js +29 -0
  1295. package/dist/mobile/ios-link.js.map +1 -0
  1296. package/dist/mobile/ios-screen-transition.d.ts +19 -0
  1297. package/dist/mobile/ios-screen-transition.js +55 -0
  1298. package/dist/mobile/ios-screen-transition.js.map +1 -0
  1299. package/dist/mobile/ios-sheet.d.ts +22 -0
  1300. package/dist/mobile/ios-sheet.js +58 -0
  1301. package/dist/mobile/ios-sheet.js.map +1 -0
  1302. package/dist/mobile/mobile-activity-feed.d.ts +7 -0
  1303. package/dist/mobile/mobile-activity-feed.js +115 -0
  1304. package/dist/mobile/mobile-activity-feed.js.map +1 -0
  1305. package/dist/mobile/mobile-detail-header.d.ts +20 -0
  1306. package/dist/mobile/mobile-detail-header.js +13 -0
  1307. package/dist/mobile/mobile-detail-header.js.map +1 -0
  1308. package/dist/mobile/mobile-editor-menu-context.d.ts +14 -0
  1309. package/dist/mobile/mobile-editor-menu-context.js +38 -0
  1310. package/dist/mobile/mobile-editor-menu-context.js.map +1 -0
  1311. package/dist/mobile/mobile-global-ui-context.d.ts +12 -0
  1312. package/dist/mobile/mobile-global-ui-context.js +55 -0
  1313. package/dist/mobile/mobile-global-ui-context.js.map +1 -0
  1314. package/dist/mobile/mobile-header-context.d.ts +54 -0
  1315. package/dist/mobile/mobile-header-context.js +59 -0
  1316. package/dist/mobile/mobile-header-context.js.map +1 -0
  1317. package/dist/mobile/mobile-header.d.ts +14 -0
  1318. package/dist/mobile/mobile-header.js +98 -0
  1319. package/dist/mobile/mobile-header.js.map +1 -0
  1320. package/dist/mobile/mobile-media-picker-sheet.d.ts +13 -0
  1321. package/dist/mobile/mobile-media-picker-sheet.js +471 -0
  1322. package/dist/mobile/mobile-media-picker-sheet.js.map +1 -0
  1323. package/dist/mobile/mobile-nav-bar.d.ts +16 -0
  1324. package/dist/mobile/mobile-nav-bar.js +50 -0
  1325. package/dist/mobile/mobile-nav-bar.js.map +1 -0
  1326. package/dist/mobile/mobile-page-header.d.ts +20 -0
  1327. package/dist/mobile/mobile-page-header.js +30 -0
  1328. package/dist/mobile/mobile-page-header.js.map +1 -0
  1329. package/dist/mobile/mobile-redesign-mockups/appearance-run-the-storefron-2.d.ts +15 -0
  1330. package/dist/mobile/mobile-redesign-mockups/appearance-run-the-storefron-2.js +446 -0
  1331. package/dist/mobile/mobile-redesign-mockups/appearance-run-the-storefron-2.js.map +1 -0
  1332. package/dist/mobile/mobile-redesign-mockups/appearance-run-the-storefron-3.d.ts +18 -0
  1333. package/dist/mobile/mobile-redesign-mockups/appearance-run-the-storefron-3.js +434 -0
  1334. package/dist/mobile/mobile-redesign-mockups/appearance-run-the-storefron-3.js.map +1 -0
  1335. package/dist/mobile/mobile-redesign-mockups/appearance-run-the-storefron.d.ts +10 -0
  1336. package/dist/mobile/mobile-redesign-mockups/appearance-run-the-storefron.js +348 -0
  1337. package/dist/mobile/mobile-redesign-mockups/appearance-run-the-storefron.js.map +1 -0
  1338. package/dist/mobile/mobile-redesign-mockups/apple-white-theme-preview-sc.d.ts +10 -0
  1339. package/dist/mobile/mobile-redesign-mockups/apple-white-theme-preview-sc.js +446 -0
  1340. package/dist/mobile/mobile-redesign-mockups/apple-white-theme-preview-sc.js.map +1 -0
  1341. package/dist/mobile/mobile-redesign-mockups/billing-hub-2.d.ts +36 -0
  1342. package/dist/mobile/mobile-redesign-mockups/billing-hub-2.js +309 -0
  1343. package/dist/mobile/mobile-redesign-mockups/billing-hub-2.js.map +1 -0
  1344. package/dist/mobile/mobile-redesign-mockups/billing-hub.d.ts +45 -0
  1345. package/dist/mobile/mobile-redesign-mockups/billing-hub.js +486 -0
  1346. package/dist/mobile/mobile-redesign-mockups/billing-hub.js.map +1 -0
  1347. package/dist/mobile/mobile-redesign-mockups/blog-list.d.ts +17 -0
  1348. package/dist/mobile/mobile-redesign-mockups/blog-list.js +380 -0
  1349. package/dist/mobile/mobile-redesign-mockups/blog-list.js.map +1 -0
  1350. package/dist/mobile/mobile-redesign-mockups/cancel-booking-sheet.d.ts +11 -0
  1351. package/dist/mobile/mobile-redesign-mockups/cancel-booking-sheet.js +475 -0
  1352. package/dist/mobile/mobile-redesign-mockups/cancel-booking-sheet.js.map +1 -0
  1353. package/dist/mobile/mobile-redesign-mockups/catalog-browse-and-detail.d.ts +2 -0
  1354. package/dist/mobile/mobile-redesign-mockups/catalog-browse-and-detail.js +115 -0
  1355. package/dist/mobile/mobile-redesign-mockups/catalog-browse-and-detail.js.map +1 -0
  1356. package/dist/mobile/mobile-redesign-mockups/catalog-single-intent.d.ts +29 -0
  1357. package/dist/mobile/mobile-redesign-mockups/catalog-single-intent.js +321 -0
  1358. package/dist/mobile/mobile-redesign-mockups/catalog-single-intent.js.map +1 -0
  1359. package/dist/mobile/mobile-redesign-mockups/compose-sheet-universal-acti.d.ts +22 -0
  1360. package/dist/mobile/mobile-redesign-mockups/compose-sheet-universal-acti.js +273 -0
  1361. package/dist/mobile/mobile-redesign-mockups/compose-sheet-universal-acti.js.map +1 -0
  1362. package/dist/mobile/mobile-redesign-mockups/configure-domain-wizard-2.d.ts +10 -0
  1363. package/dist/mobile/mobile-redesign-mockups/configure-domain-wizard-2.js +365 -0
  1364. package/dist/mobile/mobile-redesign-mockups/configure-domain-wizard-2.js.map +1 -0
  1365. package/dist/mobile/mobile-redesign-mockups/configure-domain-wizard.d.ts +9 -0
  1366. package/dist/mobile/mobile-redesign-mockups/configure-domain-wizard.js +272 -0
  1367. package/dist/mobile/mobile-redesign-mockups/configure-domain-wizard.js.map +1 -0
  1368. package/dist/mobile/mobile-redesign-mockups/configure-tax-rates.d.ts +9 -0
  1369. package/dist/mobile/mobile-redesign-mockups/configure-tax-rates.js +188 -0
  1370. package/dist/mobile/mobile-redesign-mockups/configure-tax-rates.js.map +1 -0
  1371. package/dist/mobile/mobile-redesign-mockups/crm-customer-profile-full.d.ts +15 -0
  1372. package/dist/mobile/mobile-redesign-mockups/crm-customer-profile-full.js +383 -0
  1373. package/dist/mobile/mobile-redesign-mockups/crm-customer-profile-full.js.map +1 -0
  1374. package/dist/mobile/mobile-redesign-mockups/crm-customer-timeline-tab.d.ts +10 -0
  1375. package/dist/mobile/mobile-redesign-mockups/crm-customer-timeline-tab.js +331 -0
  1376. package/dist/mobile/mobile-redesign-mockups/crm-customer-timeline-tab.js.map +1 -0
  1377. package/dist/mobile/mobile-redesign-mockups/crm-send-message-sheet.d.ts +17 -0
  1378. package/dist/mobile/mobile-redesign-mockups/crm-send-message-sheet.js +456 -0
  1379. package/dist/mobile/mobile-redesign-mockups/crm-send-message-sheet.js.map +1 -0
  1380. package/dist/mobile/mobile-redesign-mockups/detail-order.d.ts +15 -0
  1381. package/dist/mobile/mobile-redesign-mockups/detail-order.js +447 -0
  1382. package/dist/mobile/mobile-redesign-mockups/detail-order.js.map +1 -0
  1383. package/dist/mobile/mobile-redesign-mockups/discounts-list.d.ts +17 -0
  1384. package/dist/mobile/mobile-redesign-mockups/discounts-list.js +316 -0
  1385. package/dist/mobile/mobile-redesign-mockups/discounts-list.js.map +1 -0
  1386. package/dist/mobile/mobile-redesign-mockups/drill-chrome-sub-app-header-.d.ts +31 -0
  1387. package/dist/mobile/mobile-redesign-mockups/drill-chrome-sub-app-header-.js +273 -0
  1388. package/dist/mobile/mobile-redesign-mockups/drill-chrome-sub-app-header-.js.map +1 -0
  1389. package/dist/mobile/mobile-redesign-mockups/editor-blog-long-form.d.ts +10 -0
  1390. package/dist/mobile/mobile-redesign-mockups/editor-blog-long-form.js +260 -0
  1391. package/dist/mobile/mobile-redesign-mockups/editor-blog-long-form.js.map +1 -0
  1392. package/dist/mobile/mobile-redesign-mockups/events-detail-attendees-chec-2.d.ts +16 -0
  1393. package/dist/mobile/mobile-redesign-mockups/events-detail-attendees-chec-2.js +410 -0
  1394. package/dist/mobile/mobile-redesign-mockups/events-detail-attendees-chec-2.js.map +1 -0
  1395. package/dist/mobile/mobile-redesign-mockups/events-detail-attendees-chec-3.d.ts +16 -0
  1396. package/dist/mobile/mobile-redesign-mockups/events-detail-attendees-chec-3.js +297 -0
  1397. package/dist/mobile/mobile-redesign-mockups/events-detail-attendees-chec-3.js.map +1 -0
  1398. package/dist/mobile/mobile-redesign-mockups/events-detail-attendees-chec.d.ts +27 -0
  1399. package/dist/mobile/mobile-redesign-mockups/events-detail-attendees-chec.js +313 -0
  1400. package/dist/mobile/mobile-redesign-mockups/events-detail-attendees-chec.js.map +1 -0
  1401. package/dist/mobile/mobile-redesign-mockups/global-search.d.ts +18 -0
  1402. package/dist/mobile/mobile-redesign-mockups/global-search.js +300 -0
  1403. package/dist/mobile/mobile-redesign-mockups/global-search.js.map +1 -0
  1404. package/dist/mobile/mobile-redesign-mockups/index.d.ts +13 -0
  1405. package/dist/mobile/mobile-redesign-mockups/index.js +26 -0
  1406. package/dist/mobile/mobile-redesign-mockups/index.js.map +1 -0
  1407. package/dist/mobile/mobile-redesign-mockups/insights-sales-drill.d.ts +17 -0
  1408. package/dist/mobile/mobile-redesign-mockups/insights-sales-drill.js +286 -0
  1409. package/dist/mobile/mobile-redesign-mockups/insights-sales-drill.js.map +1 -0
  1410. package/dist/mobile/mobile-redesign-mockups/loyalty-earn-rule-editor.d.ts +10 -0
  1411. package/dist/mobile/mobile-redesign-mockups/loyalty-earn-rule-editor.js +339 -0
  1412. package/dist/mobile/mobile-redesign-mockups/loyalty-earn-rule-editor.js.map +1 -0
  1413. package/dist/mobile/mobile-redesign-mockups/loyalty-first-class-on-the-pho.d.ts +2 -0
  1414. package/dist/mobile/mobile-redesign-mockups/loyalty-first-class-on-the-pho.js +433 -0
  1415. package/dist/mobile/mobile-redesign-mockups/loyalty-first-class-on-the-pho.js.map +1 -0
  1416. package/dist/mobile/mobile-redesign-mockups/loyalty-member-detail.d.ts +9 -0
  1417. package/dist/mobile/mobile-redesign-mockups/loyalty-member-detail.js +238 -0
  1418. package/dist/mobile/mobile-redesign-mockups/loyalty-member-detail.js.map +1 -0
  1419. package/dist/mobile/mobile-redesign-mockups/manage-multi-intent-sell-boo.d.ts +24 -0
  1420. package/dist/mobile/mobile-redesign-mockups/manage-multi-intent-sell-boo.js +357 -0
  1421. package/dist/mobile/mobile-redesign-mockups/manage-multi-intent-sell-boo.js.map +1 -0
  1422. package/dist/mobile/mobile-redesign-mockups/marketing-hub.d.ts +15 -0
  1423. package/dist/mobile/mobile-redesign-mockups/marketing-hub.js +268 -0
  1424. package/dist/mobile/mobile-redesign-mockups/marketing-hub.js.map +1 -0
  1425. package/dist/mobile/mobile-redesign-mockups/matte-charcoal-apple-white.d.ts +2 -0
  1426. package/dist/mobile/mobile-redesign-mockups/matte-charcoal-apple-white.js +452 -0
  1427. package/dist/mobile/mobile-redesign-mockups/matte-charcoal-apple-white.js.map +1 -0
  1428. package/dist/mobile/mobile-redesign-mockups/media-library.d.ts +14 -0
  1429. package/dist/mobile/mobile-redesign-mockups/media-library.js +86 -0
  1430. package/dist/mobile/mobile-redesign-mockups/media-library.js.map +1 -0
  1431. package/dist/mobile/mobile-redesign-mockups/money-payout-detail.d.ts +22 -0
  1432. package/dist/mobile/mobile-redesign-mockups/money-payout-detail.js +367 -0
  1433. package/dist/mobile/mobile-redesign-mockups/money-payout-detail.js.map +1 -0
  1434. package/dist/mobile/mobile-redesign-mockups/pill-presets-tailwind-utilit.d.ts +46 -0
  1435. package/dist/mobile/mobile-redesign-mockups/pill-presets-tailwind-utilit.js +226 -0
  1436. package/dist/mobile/mobile-redesign-mockups/pill-presets-tailwind-utilit.js.map +1 -0
  1437. package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-2.d.ts +10 -0
  1438. package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-2.js +418 -0
  1439. package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-2.js.map +1 -0
  1440. package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-3.d.ts +10 -0
  1441. package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-3.js +438 -0
  1442. package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-3.js.map +1 -0
  1443. package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-4.d.ts +9 -0
  1444. package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-4.js +315 -0
  1445. package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-4.js.map +1 -0
  1446. package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-5.d.ts +10 -0
  1447. package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-5.js +429 -0
  1448. package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-5.js.map +1 -0
  1449. package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou.d.ts +9 -0
  1450. package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou.js +266 -0
  1451. package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou.js.map +1 -0
  1452. package/dist/mobile/mobile-redesign-mockups/products-list-detail-2.d.ts +17 -0
  1453. package/dist/mobile/mobile-redesign-mockups/products-list-detail-2.js +390 -0
  1454. package/dist/mobile/mobile-redesign-mockups/products-list-detail-2.js.map +1 -0
  1455. package/dist/mobile/mobile-redesign-mockups/products-list-detail.d.ts +22 -0
  1456. package/dist/mobile/mobile-redesign-mockups/products-list-detail.js +254 -0
  1457. package/dist/mobile/mobile-redesign-mockups/products-list-detail.js.map +1 -0
  1458. package/dist/mobile/mobile-redesign-mockups/recover-sheets-shared-chrome.d.ts +34 -0
  1459. package/dist/mobile/mobile-redesign-mockups/recover-sheets-shared-chrome.js +264 -0
  1460. package/dist/mobile/mobile-redesign-mockups/recover-sheets-shared-chrome.js.map +1 -0
  1461. package/dist/mobile/mobile-redesign-mockups/staff-member-profile.d.ts +9 -0
  1462. package/dist/mobile/mobile-redesign-mockups/staff-member-profile.js +291 -0
  1463. package/dist/mobile/mobile-redesign-mockups/staff-member-profile.js.map +1 -0
  1464. package/dist/mobile/mobile-redesign-mockups/today-first-run-empty-state.d.ts +16 -0
  1465. package/dist/mobile/mobile-redesign-mockups/today-first-run-empty-state.js +335 -0
  1466. package/dist/mobile/mobile-redesign-mockups/today-first-run-empty-state.js.map +1 -0
  1467. package/dist/mobile/mobile-redesign-mockups/today-multi-intent.d.ts +21 -0
  1468. package/dist/mobile/mobile-redesign-mockups/today-multi-intent.js +382 -0
  1469. package/dist/mobile/mobile-redesign-mockups/today-multi-intent.js.map +1 -0
  1470. package/dist/mobile/mobile-redesign-mockups/today-per-intent-variants.d.ts +21 -0
  1471. package/dist/mobile/mobile-redesign-mockups/today-per-intent-variants.js +429 -0
  1472. package/dist/mobile/mobile-redesign-mockups/today-per-intent-variants.js.map +1 -0
  1473. package/dist/mobile/mobile-redesign-mockups/today-single-intent.d.ts +27 -0
  1474. package/dist/mobile/mobile-redesign-mockups/today-single-intent.js +236 -0
  1475. package/dist/mobile/mobile-redesign-mockups/today-single-intent.js.map +1 -0
  1476. package/dist/mobile/mobile-redesign-mockups/tranche-1-me-empty-events-pe.d.ts +15 -0
  1477. package/dist/mobile/mobile-redesign-mockups/tranche-1-me-empty-events-pe.js +424 -0
  1478. package/dist/mobile/mobile-redesign-mockups/tranche-1-me-empty-events-pe.js.map +1 -0
  1479. package/dist/mobile/mobile-redesign-mockups/tranche-2-inbox-search-produ-2.d.ts +23 -0
  1480. package/dist/mobile/mobile-redesign-mockups/tranche-2-inbox-search-produ-2.js +318 -0
  1481. package/dist/mobile/mobile-redesign-mockups/tranche-2-inbox-search-produ-2.js.map +1 -0
  1482. package/dist/mobile/mobile-redesign-mockups/tranche-2-inbox-search-produ.d.ts +31 -0
  1483. package/dist/mobile/mobile-redesign-mockups/tranche-2-inbox-search-produ.js +457 -0
  1484. package/dist/mobile/mobile-redesign-mockups/tranche-2-inbox-search-produ.js.map +1 -0
  1485. package/dist/mobile/mobile-redesign-mockups/wizard-payments.d.ts +29 -0
  1486. package/dist/mobile/mobile-redesign-mockups/wizard-payments.js +287 -0
  1487. package/dist/mobile/mobile-redesign-mockups/wizard-payments.js.map +1 -0
  1488. package/dist/mobile/mobile-redesign-mockups.d.ts +1 -0
  1489. package/dist/mobile/mobile-redesign-mockups.js +1 -0
  1490. package/dist/mobile/mobile-redesign-theme.d.ts +1 -0
  1491. package/dist/mobile/mobile-redesign-theme.js +2 -0
  1492. package/dist/mobile/mobile-redesign-theme.js.map +1 -0
  1493. package/dist/mobile/mobile-screen-frame.d.ts +11 -0
  1494. package/dist/mobile/mobile-screen-frame.js +165 -0
  1495. package/dist/mobile/mobile-screen-frame.js.map +1 -0
  1496. package/dist/mobile/mobile-screen-header.d.ts +9 -0
  1497. package/dist/mobile/mobile-screen-header.js +9 -0
  1498. package/dist/mobile/mobile-screen-header.js.map +1 -0
  1499. package/dist/mobile/mobile-shell.d.ts +12 -0
  1500. package/dist/mobile/mobile-shell.js +11 -0
  1501. package/dist/mobile/mobile-shell.js.map +1 -0
  1502. package/dist/mobile/mobile-theme-provider.d.ts +32 -0
  1503. package/dist/mobile/mobile-theme-provider.js +123 -0
  1504. package/dist/mobile/mobile-theme-provider.js.map +1 -0
  1505. package/dist/mobile/nav-group.d.ts +23 -0
  1506. package/dist/mobile/nav-group.js +41 -0
  1507. package/dist/mobile/nav-group.js.map +1 -0
  1508. package/dist/mobile/primitives/bottom-sheet.d.ts +34 -0
  1509. package/dist/mobile/primitives/bottom-sheet.js +126 -0
  1510. package/dist/mobile/primitives/bottom-sheet.js.map +1 -0
  1511. package/dist/mobile/primitives/bottom-tab-bar.d.ts +15 -0
  1512. package/dist/mobile/primitives/bottom-tab-bar.js +461 -0
  1513. package/dist/mobile/primitives/bottom-tab-bar.js.map +1 -0
  1514. package/dist/mobile/primitives/chrome.d.ts +24 -0
  1515. package/dist/mobile/primitives/chrome.js +115 -0
  1516. package/dist/mobile/primitives/chrome.js.map +1 -0
  1517. package/dist/mobile/primitives/domain.d.ts +83 -0
  1518. package/dist/mobile/primitives/domain.js +571 -0
  1519. package/dist/mobile/primitives/domain.js.map +1 -0
  1520. package/dist/mobile/primitives/index.d.ts +28 -0
  1521. package/dist/mobile/primitives/index.js +120 -0
  1522. package/dist/mobile/primitives/index.js.map +1 -0
  1523. package/dist/mobile/primitives/inline.d.ts +91 -0
  1524. package/dist/mobile/primitives/inline.js +348 -0
  1525. package/dist/mobile/primitives/inline.js.map +1 -0
  1526. package/dist/mobile/primitives/inputs.d.ts +82 -0
  1527. package/dist/mobile/primitives/inputs.js +292 -0
  1528. package/dist/mobile/primitives/inputs.js.map +1 -0
  1529. package/dist/mobile/primitives/intent-switcher.d.ts +27 -0
  1530. package/dist/mobile/primitives/intent-switcher.js +74 -0
  1531. package/dist/mobile/primitives/intent-switcher.js.map +1 -0
  1532. package/dist/mobile/primitives/layout.d.ts +33 -0
  1533. package/dist/mobile/primitives/layout.js +157 -0
  1534. package/dist/mobile/primitives/layout.js.map +1 -0
  1535. package/dist/mobile/primitives/progressive-list.d.ts +26 -0
  1536. package/dist/mobile/primitives/progressive-list.js +50 -0
  1537. package/dist/mobile/primitives/progressive-list.js.map +1 -0
  1538. package/dist/mobile/primitives/screen-frame.d.ts +50 -0
  1539. package/dist/mobile/primitives/screen-frame.js +164 -0
  1540. package/dist/mobile/primitives/screen-frame.js.map +1 -0
  1541. package/dist/mobile/primitives/status-chip.d.ts +42 -0
  1542. package/dist/mobile/primitives/status-chip.js +78 -0
  1543. package/dist/mobile/primitives/status-chip.js.map +1 -0
  1544. package/dist/mobile/primitives/sticky-cta-bar.d.ts +44 -0
  1545. package/dist/mobile/primitives/sticky-cta-bar.js +40 -0
  1546. package/dist/mobile/primitives/sticky-cta-bar.js.map +1 -0
  1547. package/dist/mobile/primitives/swipe-row.d.ts +29 -0
  1548. package/dist/mobile/primitives/swipe-row.js +66 -0
  1549. package/dist/mobile/primitives/swipe-row.js.map +1 -0
  1550. package/dist/mobile/primitives/use-mobile-back.d.ts +21 -0
  1551. package/dist/mobile/primitives/use-mobile-back.js +17 -0
  1552. package/dist/mobile/primitives/use-mobile-back.js.map +1 -0
  1553. package/dist/mobile/primitives.d.ts +1 -0
  1554. package/dist/mobile/primitives.js +1 -0
  1555. package/dist/mobile/pull-to-refresh-context.d.ts +15 -0
  1556. package/dist/mobile/pull-to-refresh-context.js +134 -0
  1557. package/dist/mobile/pull-to-refresh-context.js.map +1 -0
  1558. package/dist/mobile/pull-to-refresh-indicator.d.ts +12 -0
  1559. package/dist/mobile/pull-to-refresh-indicator.js +35 -0
  1560. package/dist/mobile/pull-to-refresh-indicator.js.map +1 -0
  1561. package/dist/mobile/quick-actions-sheet.d.ts +12 -0
  1562. package/dist/mobile/quick-actions-sheet.js +92 -0
  1563. package/dist/mobile/quick-actions-sheet.js.map +1 -0
  1564. package/dist/mobile/quick-add-item.d.ts +23 -0
  1565. package/dist/mobile/quick-add-item.js +110 -0
  1566. package/dist/mobile/quick-add-item.js.map +1 -0
  1567. package/dist/mobile/screen-frame-host.d.ts +67 -0
  1568. package/dist/mobile/screen-frame-host.js +431 -0
  1569. package/dist/mobile/screen-frame-host.js.map +1 -0
  1570. package/dist/mobile/screens/analytics-drill.d.ts +48 -0
  1571. package/dist/mobile/screens/analytics-drill.js +319 -0
  1572. package/dist/mobile/screens/analytics-drill.js.map +1 -0
  1573. package/dist/mobile/screens/attendees-list.d.ts +27 -0
  1574. package/dist/mobile/screens/attendees-list.js +243 -0
  1575. package/dist/mobile/screens/attendees-list.js.map +1 -0
  1576. package/dist/mobile/screens/billing-flows.d.ts +91 -0
  1577. package/dist/mobile/screens/billing-flows.js +1934 -0
  1578. package/dist/mobile/screens/billing-flows.js.map +1 -0
  1579. package/dist/mobile/screens/billing.d.ts +32 -0
  1580. package/dist/mobile/screens/billing.js +355 -0
  1581. package/dist/mobile/screens/billing.js.map +1 -0
  1582. package/dist/mobile/screens/blog-editor.d.ts +30 -0
  1583. package/dist/mobile/screens/blog-editor.js +462 -0
  1584. package/dist/mobile/screens/blog-editor.js.map +1 -0
  1585. package/dist/mobile/screens/booking-detail.d.ts +49 -0
  1586. package/dist/mobile/screens/booking-detail.js +446 -0
  1587. package/dist/mobile/screens/booking-detail.js.map +1 -0
  1588. package/dist/mobile/screens/calendar.d.ts +23 -0
  1589. package/dist/mobile/screens/calendar.js +696 -0
  1590. package/dist/mobile/screens/calendar.js.map +1 -0
  1591. package/dist/mobile/screens/campaigns.d.ts +13 -0
  1592. package/dist/mobile/screens/campaigns.js +335 -0
  1593. package/dist/mobile/screens/campaigns.js.map +1 -0
  1594. package/dist/mobile/screens/catalog-rows.d.ts +37 -0
  1595. package/dist/mobile/screens/catalog-rows.js +366 -0
  1596. package/dist/mobile/screens/catalog-rows.js.map +1 -0
  1597. package/dist/mobile/screens/catalog.d.ts +67 -0
  1598. package/dist/mobile/screens/catalog.js +597 -0
  1599. package/dist/mobile/screens/catalog.js.map +1 -0
  1600. package/dist/mobile/screens/check-in.d.ts +43 -0
  1601. package/dist/mobile/screens/check-in.js +438 -0
  1602. package/dist/mobile/screens/check-in.js.map +1 -0
  1603. package/dist/mobile/screens/customer-detail.d.ts +38 -0
  1604. package/dist/mobile/screens/customer-detail.js +1046 -0
  1605. package/dist/mobile/screens/customer-detail.js.map +1 -0
  1606. package/dist/mobile/screens/customers.d.ts +28 -0
  1607. package/dist/mobile/screens/customers.js +284 -0
  1608. package/dist/mobile/screens/customers.js.map +1 -0
  1609. package/dist/mobile/screens/domains.d.ts +23 -0
  1610. package/dist/mobile/screens/domains.js +146 -0
  1611. package/dist/mobile/screens/domains.js.map +1 -0
  1612. package/dist/mobile/screens/event-detail.d.ts +38 -0
  1613. package/dist/mobile/screens/event-detail.js +652 -0
  1614. package/dist/mobile/screens/event-detail.js.map +1 -0
  1615. package/dist/mobile/screens/global-search.d.ts +27 -0
  1616. package/dist/mobile/screens/global-search.js +276 -0
  1617. package/dist/mobile/screens/global-search.js.map +1 -0
  1618. package/dist/mobile/screens/insights.d.ts +24 -0
  1619. package/dist/mobile/screens/insights.js +419 -0
  1620. package/dist/mobile/screens/insights.js.map +1 -0
  1621. package/dist/mobile/screens/manage-rows.d.ts +29 -0
  1622. package/dist/mobile/screens/manage-rows.js +229 -0
  1623. package/dist/mobile/screens/manage-rows.js.map +1 -0
  1624. package/dist/mobile/screens/manage.d.ts +141 -0
  1625. package/dist/mobile/screens/manage.js +524 -0
  1626. package/dist/mobile/screens/manage.js.map +1 -0
  1627. package/dist/mobile/screens/me.d.ts +20 -0
  1628. package/dist/mobile/screens/me.js +363 -0
  1629. package/dist/mobile/screens/me.js.map +1 -0
  1630. package/dist/mobile/screens/money.d.ts +29 -0
  1631. package/dist/mobile/screens/money.js +298 -0
  1632. package/dist/mobile/screens/money.js.map +1 -0
  1633. package/dist/mobile/screens/order-detail-parts.d.ts +43 -0
  1634. package/dist/mobile/screens/order-detail-parts.js +379 -0
  1635. package/dist/mobile/screens/order-detail-parts.js.map +1 -0
  1636. package/dist/mobile/screens/order-detail.d.ts +52 -0
  1637. package/dist/mobile/screens/order-detail.js +421 -0
  1638. package/dist/mobile/screens/order-detail.js.map +1 -0
  1639. package/dist/mobile/screens/payments.d.ts +61 -0
  1640. package/dist/mobile/screens/payments.js +719 -0
  1641. package/dist/mobile/screens/payments.js.map +1 -0
  1642. package/dist/mobile/screens/product-detail-options.d.ts +11 -0
  1643. package/dist/mobile/screens/product-detail-options.js +177 -0
  1644. package/dist/mobile/screens/product-detail-options.js.map +1 -0
  1645. package/dist/mobile/screens/product-detail-panels.d.ts +10 -0
  1646. package/dist/mobile/screens/product-detail-panels.js +567 -0
  1647. package/dist/mobile/screens/product-detail-panels.js.map +1 -0
  1648. package/dist/mobile/screens/product-detail-types.d.ts +23 -0
  1649. package/dist/mobile/screens/product-detail-types.js +1 -0
  1650. package/dist/mobile/screens/product-detail-types.js.map +1 -0
  1651. package/dist/mobile/screens/product-detail.d.ts +20 -0
  1652. package/dist/mobile/screens/product-detail.js +171 -0
  1653. package/dist/mobile/screens/product-detail.js.map +1 -0
  1654. package/dist/mobile/screens/segments.d.ts +26 -0
  1655. package/dist/mobile/screens/segments.js +240 -0
  1656. package/dist/mobile/screens/segments.js.map +1 -0
  1657. package/dist/mobile/screens/store.d.ts +34 -0
  1658. package/dist/mobile/screens/store.js +326 -0
  1659. package/dist/mobile/screens/store.js.map +1 -0
  1660. package/dist/mobile/screens/subscriptions.d.ts +31 -0
  1661. package/dist/mobile/screens/subscriptions.js +242 -0
  1662. package/dist/mobile/screens/subscriptions.js.map +1 -0
  1663. package/dist/mobile/screens/today-digital.d.ts +37 -0
  1664. package/dist/mobile/screens/today-digital.js +320 -0
  1665. package/dist/mobile/screens/today-digital.js.map +1 -0
  1666. package/dist/mobile/screens/today-property.d.ts +36 -0
  1667. package/dist/mobile/screens/today-property.js +338 -0
  1668. package/dist/mobile/screens/today-property.js.map +1 -0
  1669. package/dist/mobile/screens/today-subscriptions.d.ts +39 -0
  1670. package/dist/mobile/screens/today-subscriptions.js +326 -0
  1671. package/dist/mobile/screens/today-subscriptions.js.map +1 -0
  1672. package/dist/mobile/screens/today.d.ts +42 -0
  1673. package/dist/mobile/screens/today.js +743 -0
  1674. package/dist/mobile/screens/today.js.map +1 -0
  1675. package/dist/mobile/setup-progress-card.d.ts +7 -0
  1676. package/dist/mobile/setup-progress-card.js +95 -0
  1677. package/dist/mobile/setup-progress-card.js.map +1 -0
  1678. package/dist/mobile/shell-chrome.d.ts +4 -0
  1679. package/dist/mobile/shell-chrome.js +145 -0
  1680. package/dist/mobile/shell-chrome.js.map +1 -0
  1681. package/dist/mobile/site-action-dialog.d.ts +8 -0
  1682. package/dist/mobile/site-action-dialog.js +74 -0
  1683. package/dist/mobile/site-action-dialog.js.map +1 -0
  1684. package/dist/mobile/workspace-switcher-sheet.d.ts +15 -0
  1685. package/dist/mobile/workspace-switcher-sheet.js +249 -0
  1686. package/dist/mobile/workspace-switcher-sheet.js.map +1 -0
  1687. package/dist/motion/index.d.ts +1 -0
  1688. package/dist/motion/index.js +9 -0
  1689. package/dist/motion/index.js.map +1 -0
  1690. package/dist/motion/primitives.d.ts +32 -0
  1691. package/dist/motion/primitives.js +102 -0
  1692. package/dist/motion/primitives.js.map +1 -0
  1693. package/dist/motion.d.ts +1 -0
  1694. package/dist/motion.js +1 -0
  1695. package/dist/my-access-card.d.ts +17 -0
  1696. package/dist/my-access-card.js +38 -0
  1697. package/dist/my-access-card.js.map +1 -0
  1698. package/dist/notification-drawer.d.ts +16 -0
  1699. package/dist/notification-drawer.js +301 -0
  1700. package/dist/notification-drawer.js.map +1 -0
  1701. package/dist/notifications-dropdown.d.ts +6 -0
  1702. package/dist/notifications-dropdown.js +169 -0
  1703. package/dist/notifications-dropdown.js.map +1 -0
  1704. package/dist/order-editor/order-editor.d.ts +16 -0
  1705. package/dist/order-editor/order-editor.js +378 -0
  1706. package/dist/order-editor/order-editor.js.map +1 -0
  1707. package/dist/page-builder/constants.d.ts +4 -0
  1708. package/dist/page-builder/constants.js +93 -0
  1709. package/dist/page-builder/constants.js.map +1 -0
  1710. package/dist/page-builder/cta-target-picker.d.ts +34 -0
  1711. package/dist/page-builder/cta-target-picker.js +142 -0
  1712. package/dist/page-builder/cta-target-picker.js.map +1 -0
  1713. package/dist/page-builder/field-renderer.d.ts +27 -0
  1714. package/dist/page-builder/field-renderer.js +404 -0
  1715. package/dist/page-builder/field-renderer.js.map +1 -0
  1716. package/dist/permission-change-notice.d.ts +14 -0
  1717. package/dist/permission-change-notice.js +36 -0
  1718. package/dist/permission-change-notice.js.map +1 -0
  1719. package/dist/plan-editor/helpers.d.ts +52 -0
  1720. package/dist/plan-editor/helpers.js +73 -0
  1721. package/dist/plan-editor/helpers.js.map +1 -0
  1722. package/dist/plan-editor/index.d.ts +1 -0
  1723. package/dist/plan-editor/index.js +5 -0
  1724. package/dist/plan-editor/index.js.map +1 -0
  1725. package/dist/plan-editor/plan-editor-page.d.ts +5 -0
  1726. package/dist/plan-editor/plan-editor-page.js +142 -0
  1727. package/dist/plan-editor/plan-editor-page.js.map +1 -0
  1728. package/dist/plan-editor/sections/badges-section.d.ts +7 -0
  1729. package/dist/plan-editor/sections/badges-section.js +57 -0
  1730. package/dist/plan-editor/sections/badges-section.js.map +1 -0
  1731. package/dist/plan-editor/sections/basics-section.d.ts +2 -0
  1732. package/dist/plan-editor/sections/basics-section.js +30 -0
  1733. package/dist/plan-editor/sections/basics-section.js.map +1 -0
  1734. package/dist/plan-editor/sections/eligible-items-section.d.ts +6 -0
  1735. package/dist/plan-editor/sections/eligible-items-section.js +164 -0
  1736. package/dist/plan-editor/sections/eligible-items-section.js.map +1 -0
  1737. package/dist/plan-editor/sections/index.d.ts +9 -0
  1738. package/dist/plan-editor/sections/index.js +21 -0
  1739. package/dist/plan-editor/sections/index.js.map +1 -0
  1740. package/dist/plan-editor/sections/member-benefits-section.d.ts +2 -0
  1741. package/dist/plan-editor/sections/member-benefits-section.js +156 -0
  1742. package/dist/plan-editor/sections/member-benefits-section.js.map +1 -0
  1743. package/dist/plan-editor/sections/plan-preview.d.ts +26 -0
  1744. package/dist/plan-editor/sections/plan-preview.js +61 -0
  1745. package/dist/plan-editor/sections/plan-preview.js.map +1 -0
  1746. package/dist/plan-editor/sections/pricing-model-section.d.ts +16 -0
  1747. package/dist/plan-editor/sections/pricing-model-section.js +44 -0
  1748. package/dist/plan-editor/sections/pricing-model-section.js.map +1 -0
  1749. package/dist/plan-editor/sections/pricing-section.d.ts +2 -0
  1750. package/dist/plan-editor/sections/pricing-section.js +110 -0
  1751. package/dist/plan-editor/sections/pricing-section.js.map +1 -0
  1752. package/dist/plan-editor/sections/sibling-group-section.d.ts +14 -0
  1753. package/dist/plan-editor/sections/sibling-group-section.js +107 -0
  1754. package/dist/plan-editor/sections/sibling-group-section.js.map +1 -0
  1755. package/dist/plan-editor/sections/trial-features-section.d.ts +2 -0
  1756. package/dist/plan-editor/sections/trial-features-section.js +95 -0
  1757. package/dist/plan-editor/sections/trial-features-section.js.map +1 -0
  1758. package/dist/plan-editor/sections.d.ts +1 -0
  1759. package/dist/plan-editor/sections.js +1 -0
  1760. package/dist/plan-editor/types.d.ts +7 -0
  1761. package/dist/plan-editor/types.js +1 -0
  1762. package/dist/plan-editor/types.js.map +1 -0
  1763. package/dist/plan-editor/use-plan-form.d.ts +20 -0
  1764. package/dist/plan-editor/use-plan-form.js +184 -0
  1765. package/dist/plan-editor/use-plan-form.js.map +1 -0
  1766. package/dist/plan-editor/use-plan-groups.d.ts +19 -0
  1767. package/dist/plan-editor/use-plan-groups.js +40 -0
  1768. package/dist/plan-editor/use-plan-groups.js.map +1 -0
  1769. package/dist/plan-editor/use-plan-products.d.ts +17 -0
  1770. package/dist/plan-editor/use-plan-products.js +49 -0
  1771. package/dist/plan-editor/use-plan-products.js.map +1 -0
  1772. package/dist/plan-editor.d.ts +1 -0
  1773. package/dist/plan-editor.js +1 -0
  1774. package/dist/potter/index.d.ts +11 -0
  1775. package/dist/potter/index.js +7 -0
  1776. package/dist/potter/index.js.map +1 -0
  1777. package/dist/potter/potter-answer.d.ts +96 -0
  1778. package/dist/potter/potter-answer.js +64 -0
  1779. package/dist/potter/potter-answer.js.map +1 -0
  1780. package/dist/potter/potter-attach.d.ts +107 -0
  1781. package/dist/potter/potter-attach.js +99 -0
  1782. package/dist/potter/potter-attach.js.map +1 -0
  1783. package/dist/potter/potter-attachment-chip.d.ts +35 -0
  1784. package/dist/potter/potter-attachment-chip.js +134 -0
  1785. package/dist/potter/potter-attachment-chip.js.map +1 -0
  1786. package/dist/potter/potter-block-breakdown.d.ts +34 -0
  1787. package/dist/potter/potter-block-breakdown.js +65 -0
  1788. package/dist/potter/potter-block-breakdown.js.map +1 -0
  1789. package/dist/potter/potter-block-door.d.ts +52 -0
  1790. package/dist/potter/potter-block-door.js +56 -0
  1791. package/dist/potter/potter-block-door.js.map +1 -0
  1792. package/dist/potter/potter-block-draft.d.ts +61 -0
  1793. package/dist/potter/potter-block-draft.js +219 -0
  1794. package/dist/potter/potter-block-draft.js.map +1 -0
  1795. package/dist/potter/potter-blocks.d.ts +139 -0
  1796. package/dist/potter/potter-blocks.js +73 -0
  1797. package/dist/potter/potter-blocks.js.map +1 -0
  1798. package/dist/potter/potter-boot.d.ts +31 -0
  1799. package/dist/potter/potter-boot.js +71 -0
  1800. package/dist/potter/potter-boot.js.map +1 -0
  1801. package/dist/potter/potter-chrome.d.ts +63 -0
  1802. package/dist/potter/potter-chrome.js +36 -0
  1803. package/dist/potter/potter-chrome.js.map +1 -0
  1804. package/dist/potter/potter-composer.d.ts +117 -0
  1805. package/dist/potter/potter-composer.js +252 -0
  1806. package/dist/potter/potter-composer.js.map +1 -0
  1807. package/dist/potter/potter-context.d.ts +162 -0
  1808. package/dist/potter/potter-context.js +239 -0
  1809. package/dist/potter/potter-context.js.map +1 -0
  1810. package/dist/potter/potter-conversation.d.ts +81 -0
  1811. package/dist/potter/potter-conversation.js +237 -0
  1812. package/dist/potter/potter-conversation.js.map +1 -0
  1813. package/dist/potter/potter-data.d.ts +62 -0
  1814. package/dist/potter/potter-data.js +63 -0
  1815. package/dist/potter/potter-data.js.map +1 -0
  1816. package/dist/potter/potter-history.d.ts +51 -0
  1817. package/dist/potter/potter-history.js +98 -0
  1818. package/dist/potter/potter-history.js.map +1 -0
  1819. package/dist/potter/potter-image-grid.d.ts +41 -0
  1820. package/dist/potter/potter-image-grid.js +54 -0
  1821. package/dist/potter/potter-image-grid.js.map +1 -0
  1822. package/dist/potter/potter-intro.d.ts +51 -0
  1823. package/dist/potter/potter-intro.js +68 -0
  1824. package/dist/potter/potter-intro.js.map +1 -0
  1825. package/dist/potter/potter-launcher.d.ts +20 -0
  1826. package/dist/potter/potter-launcher.js +147 -0
  1827. package/dist/potter/potter-launcher.js.map +1 -0
  1828. package/dist/potter/potter-photo-keep.d.ts +19 -0
  1829. package/dist/potter/potter-photo-keep.js +49 -0
  1830. package/dist/potter/potter-photo-keep.js.map +1 -0
  1831. package/dist/potter/potter-queue.d.ts +41 -0
  1832. package/dist/potter/potter-queue.js +98 -0
  1833. package/dist/potter/potter-queue.js.map +1 -0
  1834. package/dist/potter/potter-screen.d.ts +1 -0
  1835. package/dist/potter/potter-screen.js +194 -0
  1836. package/dist/potter/potter-screen.js.map +1 -0
  1837. package/dist/potter/potter-sheet-chip.d.ts +30 -0
  1838. package/dist/potter/potter-sheet-chip.js +63 -0
  1839. package/dist/potter/potter-sheet-chip.js.map +1 -0
  1840. package/dist/potter/potter-steps.d.ts +3 -0
  1841. package/dist/potter/potter-steps.js +98 -0
  1842. package/dist/potter/potter-steps.js.map +1 -0
  1843. package/dist/potter/potter-surface.d.ts +77 -0
  1844. package/dist/potter/potter-surface.js +110 -0
  1845. package/dist/potter/potter-surface.js.map +1 -0
  1846. package/dist/potter/potter-thread.d.ts +27 -0
  1847. package/dist/potter/potter-thread.js +247 -0
  1848. package/dist/potter/potter-thread.js.map +1 -0
  1849. package/dist/potter/potter-tools.d.ts +71 -0
  1850. package/dist/potter/potter-tools.js +184 -0
  1851. package/dist/potter/potter-tools.js.map +1 -0
  1852. package/dist/potter/potter-turn-actions.d.ts +4 -0
  1853. package/dist/potter/potter-turn-actions.js +137 -0
  1854. package/dist/potter/potter-turn-actions.js.map +1 -0
  1855. package/dist/potter/use-potter-ask.d.ts +59 -0
  1856. package/dist/potter/use-potter-ask.js +231 -0
  1857. package/dist/potter/use-potter-ask.js.map +1 -0
  1858. package/dist/potter/use-potter-turn.d.ts +17 -0
  1859. package/dist/potter/use-potter-turn.js +165 -0
  1860. package/dist/potter/use-potter-turn.js.map +1 -0
  1861. package/dist/potter.d.ts +1 -0
  1862. package/dist/potter.js +1 -0
  1863. package/dist/preview-layout/index.d.ts +2 -0
  1864. package/dist/preview-layout/index.js +5 -0
  1865. package/dist/preview-layout/index.js.map +1 -0
  1866. package/dist/preview-layout/preview-layout.d.ts +27 -0
  1867. package/dist/preview-layout/preview-layout.js +180 -0
  1868. package/dist/preview-layout/preview-layout.js.map +1 -0
  1869. package/dist/preview-layout.d.ts +1 -0
  1870. package/dist/preview-layout.js +1 -0
  1871. package/dist/product-editor/camera/apply-product-scan.d.ts +17 -0
  1872. package/dist/product-editor/camera/apply-product-scan.js +17 -0
  1873. package/dist/product-editor/camera/apply-product-scan.js.map +1 -0
  1874. package/dist/product-editor/camera/camera-capture.d.ts +23 -0
  1875. package/dist/product-editor/camera/camera-capture.js +160 -0
  1876. package/dist/product-editor/camera/camera-capture.js.map +1 -0
  1877. package/dist/product-editor/camera/camera-start.d.ts +13 -0
  1878. package/dist/product-editor/camera/camera-start.js +74 -0
  1879. package/dist/product-editor/camera/camera-start.js.map +1 -0
  1880. package/dist/product-editor/camera/choose-photos.d.ts +13 -0
  1881. package/dist/product-editor/camera/choose-photos.js +44 -0
  1882. package/dist/product-editor/camera/choose-photos.js.map +1 -0
  1883. package/dist/product-editor/camera/product-camera.d.ts +14 -0
  1884. package/dist/product-editor/camera/product-camera.js +21 -0
  1885. package/dist/product-editor/camera/product-camera.js.map +1 -0
  1886. package/dist/product-editor/camera/product-qr.d.ts +60 -0
  1887. package/dist/product-editor/camera/product-qr.js +111 -0
  1888. package/dist/product-editor/camera/product-qr.js.map +1 -0
  1889. package/dist/product-editor/camera/qr-decoder.d.ts +10 -0
  1890. package/dist/product-editor/camera/qr-decoder.js +46 -0
  1891. package/dist/product-editor/camera/qr-decoder.js.map +1 -0
  1892. package/dist/product-editor/camera/use-camera.d.ts +10 -0
  1893. package/dist/product-editor/camera/use-camera.js +66 -0
  1894. package/dist/product-editor/camera/use-camera.js.map +1 -0
  1895. package/dist/product-editor/camera/use-product-scan.d.ts +8 -0
  1896. package/dist/product-editor/camera/use-product-scan.js +30 -0
  1897. package/dist/product-editor/camera/use-product-scan.js.map +1 -0
  1898. package/dist/product-editor/camera/use-qr-scan.d.ts +5 -0
  1899. package/dist/product-editor/camera/use-qr-scan.js +42 -0
  1900. package/dist/product-editor/camera/use-qr-scan.js.map +1 -0
  1901. package/dist/product-editor/floating-save-bar.d.ts +1 -0
  1902. package/dist/product-editor/floating-save-bar.js +5 -0
  1903. package/dist/product-editor/floating-save-bar.js.map +1 -0
  1904. package/dist/product-editor/index.d.ts +2 -0
  1905. package/dist/product-editor/index.js +7 -0
  1906. package/dist/product-editor/index.js.map +1 -0
  1907. package/dist/product-editor/mobile-category-picker.d.ts +20 -0
  1908. package/dist/product-editor/mobile-category-picker.js +136 -0
  1909. package/dist/product-editor/mobile-category-picker.js.map +1 -0
  1910. package/dist/product-editor/mobile-editor-section.d.ts +1 -0
  1911. package/dist/product-editor/mobile-editor-section.js +5 -0
  1912. package/dist/product-editor/mobile-editor-section.js.map +1 -0
  1913. package/dist/product-editor/mobile-hero-editor.d.ts +8 -0
  1914. package/dist/product-editor/mobile-hero-editor.js +84 -0
  1915. package/dist/product-editor/mobile-hero-editor.js.map +1 -0
  1916. package/dist/product-editor/mobile-product-editor-behavior-sections.d.ts +7 -0
  1917. package/dist/product-editor/mobile-product-editor-behavior-sections.js +109 -0
  1918. package/dist/product-editor/mobile-product-editor-behavior-sections.js.map +1 -0
  1919. package/dist/product-editor/mobile-product-editor-content.d.ts +28 -0
  1920. package/dist/product-editor/mobile-product-editor-content.js +219 -0
  1921. package/dist/product-editor/mobile-product-editor-content.js.map +1 -0
  1922. package/dist/product-editor/mobile-product-editor-sections.d.ts +28 -0
  1923. package/dist/product-editor/mobile-product-editor-sections.js +382 -0
  1924. package/dist/product-editor/mobile-product-editor-sections.js.map +1 -0
  1925. package/dist/product-editor/mobile-status-toggle.d.ts +6 -0
  1926. package/dist/product-editor/mobile-status-toggle.js +39 -0
  1927. package/dist/product-editor/mobile-status-toggle.js.map +1 -0
  1928. package/dist/product-editor/product-editor-content.d.ts +56 -0
  1929. package/dist/product-editor/product-editor-content.js +368 -0
  1930. package/dist/product-editor/product-editor-content.js.map +1 -0
  1931. package/dist/product-editor/product-editor-page-utils.d.ts +6 -0
  1932. package/dist/product-editor/product-editor-page-utils.js +30 -0
  1933. package/dist/product-editor/product-editor-page-utils.js.map +1 -0
  1934. package/dist/product-editor/product-editor-page.d.ts +5 -0
  1935. package/dist/product-editor/product-editor-page.js +374 -0
  1936. package/dist/product-editor/product-editor-page.js.map +1 -0
  1937. package/dist/product-editor/product-editor.d.ts +33 -0
  1938. package/dist/product-editor/product-editor.js +160 -0
  1939. package/dist/product-editor/product-editor.js.map +1 -0
  1940. package/dist/product-editor/public-link-row.d.ts +7 -0
  1941. package/dist/product-editor/public-link-row.js +141 -0
  1942. package/dist/product-editor/public-link-row.js.map +1 -0
  1943. package/dist/product-editor/save-button.d.ts +22 -0
  1944. package/dist/product-editor/save-button.js +154 -0
  1945. package/dist/product-editor/save-button.js.map +1 -0
  1946. package/dist/product-editor/section-summaries.d.ts +11 -0
  1947. package/dist/product-editor/section-summaries.js +39 -0
  1948. package/dist/product-editor/section-summaries.js.map +1 -0
  1949. package/dist/product-editor/sections/add-ons-section.d.ts +29 -0
  1950. package/dist/product-editor/sections/add-ons-section.js +164 -0
  1951. package/dist/product-editor/sections/add-ons-section.js.map +1 -0
  1952. package/dist/product-editor/sections/assignment-section.d.ts +20 -0
  1953. package/dist/product-editor/sections/assignment-section.js +104 -0
  1954. package/dist/product-editor/sections/assignment-section.js.map +1 -0
  1955. package/dist/product-editor/sections/behavior-section.d.ts +48 -0
  1956. package/dist/product-editor/sections/behavior-section.js +287 -0
  1957. package/dist/product-editor/sections/behavior-section.js.map +1 -0
  1958. package/dist/product-editor/sections/category-section.d.ts +26 -0
  1959. package/dist/product-editor/sections/category-section.js +141 -0
  1960. package/dist/product-editor/sections/category-section.js.map +1 -0
  1961. package/dist/product-editor/sections/custom-fields-section.d.ts +11 -0
  1962. package/dist/product-editor/sections/custom-fields-section.js +35 -0
  1963. package/dist/product-editor/sections/custom-fields-section.js.map +1 -0
  1964. package/dist/product-editor/sections/features-section.d.ts +14 -0
  1965. package/dist/product-editor/sections/features-section.js +146 -0
  1966. package/dist/product-editor/sections/features-section.js.map +1 -0
  1967. package/dist/product-editor/sections/folded-section.d.ts +27 -0
  1968. package/dist/product-editor/sections/folded-section.js +37 -0
  1969. package/dist/product-editor/sections/folded-section.js.map +1 -0
  1970. package/dist/product-editor/sections/gallery-to-media.d.ts +8 -0
  1971. package/dist/product-editor/sections/gallery-to-media.js +18 -0
  1972. package/dist/product-editor/sections/gallery-to-media.js.map +1 -0
  1973. package/dist/product-editor/sections/general-section.d.ts +18 -0
  1974. package/dist/product-editor/sections/general-section.js +129 -0
  1975. package/dist/product-editor/sections/general-section.js.map +1 -0
  1976. package/dist/product-editor/sections/item-preview.d.ts +35 -0
  1977. package/dist/product-editor/sections/item-preview.js +55 -0
  1978. package/dist/product-editor/sections/item-preview.js.map +1 -0
  1979. package/dist/product-editor/sections/media-section.d.ts +30 -0
  1980. package/dist/product-editor/sections/media-section.js +165 -0
  1981. package/dist/product-editor/sections/media-section.js.map +1 -0
  1982. package/dist/product-editor/sections/organize-section.d.ts +20 -0
  1983. package/dist/product-editor/sections/organize-section.js +93 -0
  1984. package/dist/product-editor/sections/organize-section.js.map +1 -0
  1985. package/dist/product-editor/sections/pricing-inventory-section.d.ts +18 -0
  1986. package/dist/product-editor/sections/pricing-inventory-section.js +111 -0
  1987. package/dist/product-editor/sections/pricing-inventory-section.js.map +1 -0
  1988. package/dist/product-editor/sections/section-header.d.ts +22 -0
  1989. package/dist/product-editor/sections/section-header.js +18 -0
  1990. package/dist/product-editor/sections/section-header.js.map +1 -0
  1991. package/dist/product-editor/sections/template-fields-section.d.ts +25 -0
  1992. package/dist/product-editor/sections/template-fields-section.js +117 -0
  1993. package/dist/product-editor/sections/template-fields-section.js.map +1 -0
  1994. package/dist/product-editor/sections/use-media-ingest.d.ts +11 -0
  1995. package/dist/product-editor/sections/use-media-ingest.js +83 -0
  1996. package/dist/product-editor/sections/use-media-ingest.js.map +1 -0
  1997. package/dist/product-editor/sections/variants-section.d.ts +17 -0
  1998. package/dist/product-editor/sections/variants-section.js +319 -0
  1999. package/dist/product-editor/sections/variants-section.js.map +1 -0
  2000. package/dist/product-editor/sections/variants-table.d.ts +9 -0
  2001. package/dist/product-editor/sections/variants-table.js +109 -0
  2002. package/dist/product-editor/sections/variants-table.js.map +1 -0
  2003. package/dist/product-editor/use-product-editor-categories.d.ts +20 -0
  2004. package/dist/product-editor/use-product-editor-categories.js +103 -0
  2005. package/dist/product-editor/use-product-editor-categories.js.map +1 -0
  2006. package/dist/product-editor.d.ts +1 -0
  2007. package/dist/product-editor.js +1 -0
  2008. package/dist/product-research/privacy-settings-screen.d.ts +5 -0
  2009. package/dist/product-research/privacy-settings-screen.js +156 -0
  2010. package/dist/product-research/privacy-settings-screen.js.map +1 -0
  2011. package/dist/resource-scheduling/schedule-editor.d.ts +8 -0
  2012. package/dist/resource-scheduling/schedule-editor.js +149 -0
  2013. package/dist/resource-scheduling/schedule-editor.js.map +1 -0
  2014. package/dist/route-access-guard.d.ts +18 -0
  2015. package/dist/route-access-guard.js +50 -0
  2016. package/dist/route-access-guard.js.map +1 -0
  2017. package/dist/safe-html.d.ts +15 -0
  2018. package/dist/safe-html.js +16 -0
  2019. package/dist/safe-html.js.map +1 -0
  2020. package/dist/settings-field-renderer.d.ts +8 -0
  2021. package/dist/settings-field-renderer.js +103 -0
  2022. package/dist/settings-field-renderer.js.map +1 -0
  2023. package/dist/shared/answers-list.d.ts +22 -0
  2024. package/dist/shared/answers-list.js +28 -0
  2025. package/dist/shared/answers-list.js.map +1 -0
  2026. package/dist/shared/coming-soon-page.d.ts +17 -0
  2027. package/dist/shared/coming-soon-page.js +25 -0
  2028. package/dist/shared/coming-soon-page.js.map +1 -0
  2029. package/dist/shared/coming-soon.d.ts +15 -0
  2030. package/dist/shared/coming-soon.js +22 -0
  2031. package/dist/shared/coming-soon.js.map +1 -0
  2032. package/dist/shared/customer-picker.d.ts +43 -0
  2033. package/dist/shared/customer-picker.js +131 -0
  2034. package/dist/shared/customer-picker.js.map +1 -0
  2035. package/dist/shared/stat-card.d.ts +50 -0
  2036. package/dist/shared/stat-card.js +91 -0
  2037. package/dist/shared/stat-card.js.map +1 -0
  2038. package/dist/shared/status-badge.d.ts +96 -0
  2039. package/dist/shared/status-badge.js +71 -0
  2040. package/dist/shared/status-badge.js.map +1 -0
  2041. package/dist/shared/status-colors.d.ts +39 -0
  2042. package/dist/shared/status-colors.js +457 -0
  2043. package/dist/shared/status-colors.js.map +1 -0
  2044. package/dist/shared/storage-meter.d.ts +43 -0
  2045. package/dist/shared/storage-meter.js +129 -0
  2046. package/dist/shared/storage-meter.js.map +1 -0
  2047. package/dist/shell/account-menu-rows.d.ts +33 -0
  2048. package/dist/shell/account-menu-rows.js +22 -0
  2049. package/dist/shell/account-menu-rows.js.map +1 -0
  2050. package/dist/shell/bell-mark.d.ts +14 -0
  2051. package/dist/shell/bell-mark.js +22 -0
  2052. package/dist/shell/bell-mark.js.map +1 -0
  2053. package/dist/shell/foot-resources-menu.d.ts +18 -0
  2054. package/dist/shell/foot-resources-menu.js +215 -0
  2055. package/dist/shell/foot-resources-menu.js.map +1 -0
  2056. package/dist/shell/foot-theme-menu.d.ts +10 -0
  2057. package/dist/shell/foot-theme-menu.js +90 -0
  2058. package/dist/shell/foot-theme-menu.js.map +1 -0
  2059. package/dist/shell/icons.d.ts +50 -0
  2060. package/dist/shell/icons.js +276 -0
  2061. package/dist/shell/icons.js.map +1 -0
  2062. package/dist/shell/keyboard-shortcuts-dialog.d.ts +4 -0
  2063. package/dist/shell/keyboard-shortcuts-dialog.js +46 -0
  2064. package/dist/shell/keyboard-shortcuts-dialog.js.map +1 -0
  2065. package/dist/shell/moved-settings.d.ts +2 -0
  2066. package/dist/shell/moved-settings.js +29 -0
  2067. package/dist/shell/moved-settings.js.map +1 -0
  2068. package/dist/shell/notification-kinds.d.ts +12 -0
  2069. package/dist/shell/notification-kinds.js +48 -0
  2070. package/dist/shell/notification-kinds.js.map +1 -0
  2071. package/dist/shell/notification-row.d.ts +14 -0
  2072. package/dist/shell/notification-row.js +50 -0
  2073. package/dist/shell/notification-row.js.map +1 -0
  2074. package/dist/shell/plan-upgrade-link.d.ts +8 -0
  2075. package/dist/shell/plan-upgrade-link.js +29 -0
  2076. package/dist/shell/plan-upgrade-link.js.map +1 -0
  2077. package/dist/shell/product-switcher.d.ts +21 -0
  2078. package/dist/shell/product-switcher.js +299 -0
  2079. package/dist/shell/product-switcher.js.map +1 -0
  2080. package/dist/shell/record-payment-picker.d.ts +4 -0
  2081. package/dist/shell/record-payment-picker.js +76 -0
  2082. package/dist/shell/record-payment-picker.js.map +1 -0
  2083. package/dist/shell/search-create-commands.d.ts +16 -0
  2084. package/dist/shell/search-create-commands.js +133 -0
  2085. package/dist/shell/search-create-commands.js.map +1 -0
  2086. package/dist/shell/search-head.d.ts +22 -0
  2087. package/dist/shell/search-head.js +101 -0
  2088. package/dist/shell/search-head.js.map +1 -0
  2089. package/dist/shell/search-panel.d.ts +23 -0
  2090. package/dist/shell/search-panel.js +189 -0
  2091. package/dist/shell/search-panel.js.map +1 -0
  2092. package/dist/shell/search-scopes.d.ts +27 -0
  2093. package/dist/shell/search-scopes.js +14 -0
  2094. package/dist/shell/search-scopes.js.map +1 -0
  2095. package/dist/shell/search-whats-new.d.ts +48 -0
  2096. package/dist/shell/search-whats-new.js +105 -0
  2097. package/dist/shell/search-whats-new.js.map +1 -0
  2098. package/dist/shell/secondary-shell.d.ts +26 -0
  2099. package/dist/shell/secondary-shell.js +116 -0
  2100. package/dist/shell/secondary-shell.js.map +1 -0
  2101. package/dist/shell/settings-modal-context.d.ts +35 -0
  2102. package/dist/shell/settings-modal-context.js +137 -0
  2103. package/dist/shell/settings-modal-context.js.map +1 -0
  2104. package/dist/shell/settings-panels.d.ts +4 -0
  2105. package/dist/shell/settings-panels.js +86 -0
  2106. package/dist/shell/settings-panels.js.map +1 -0
  2107. package/dist/shell/settings-rows.d.ts +41 -0
  2108. package/dist/shell/settings-rows.js +193 -0
  2109. package/dist/shell/settings-rows.js.map +1 -0
  2110. package/dist/shell/shell.css +2907 -0
  2111. package/dist/shell/sidebar-ask.d.ts +6 -0
  2112. package/dist/shell/sidebar-ask.js +120 -0
  2113. package/dist/shell/sidebar-ask.js.map +1 -0
  2114. package/dist/shell/sidebar-cards.d.ts +32 -0
  2115. package/dist/shell/sidebar-cards.js +37 -0
  2116. package/dist/shell/sidebar-cards.js.map +1 -0
  2117. package/dist/shell/sidebar-footer.d.ts +58 -0
  2118. package/dist/shell/sidebar-footer.js +49 -0
  2119. package/dist/shell/sidebar-footer.js.map +1 -0
  2120. package/dist/shell/sidebar-seam-toggle.d.ts +18 -0
  2121. package/dist/shell/sidebar-seam-toggle.js +25 -0
  2122. package/dist/shell/sidebar-seam-toggle.js.map +1 -0
  2123. package/dist/shell/switcher-location-group.d.ts +28 -0
  2124. package/dist/shell/switcher-location-group.js +152 -0
  2125. package/dist/shell/switcher-location-group.js.map +1 -0
  2126. package/dist/shell/switcher-scrim.d.ts +2 -0
  2127. package/dist/shell/switcher-scrim.js +21 -0
  2128. package/dist/shell/switcher-scrim.js.map +1 -0
  2129. package/dist/shell/switcher-workspace-list.d.ts +50 -0
  2130. package/dist/shell/switcher-workspace-list.js +115 -0
  2131. package/dist/shell/switcher-workspace-list.js.map +1 -0
  2132. package/dist/shell/take-payment-button.d.ts +32 -0
  2133. package/dist/shell/take-payment-button.js +83 -0
  2134. package/dist/shell/take-payment-button.js.map +1 -0
  2135. package/dist/shell/unified-settings-modal.d.ts +18 -0
  2136. package/dist/shell/unified-settings-modal.js +195 -0
  2137. package/dist/shell/unified-settings-modal.js.map +1 -0
  2138. package/dist/shell/use-support-unread.d.ts +14 -0
  2139. package/dist/shell/use-support-unread.js +23 -0
  2140. package/dist/shell/use-support-unread.js.map +1 -0
  2141. package/dist/shell/workspace-mark.d.ts +22 -0
  2142. package/dist/shell/workspace-mark.js +20 -0
  2143. package/dist/shell/workspace-mark.js.map +1 -0
  2144. package/dist/sidebar/active-href.d.ts +28 -0
  2145. package/dist/sidebar/active-href.js +44 -0
  2146. package/dist/sidebar/active-href.js.map +1 -0
  2147. package/dist/sidebar/archetype-collections.d.ts +44 -0
  2148. package/dist/sidebar/archetype-collections.js +50 -0
  2149. package/dist/sidebar/archetype-collections.js.map +1 -0
  2150. package/dist/sidebar/build-intent-groups.d.ts +12 -0
  2151. package/dist/sidebar/build-intent-groups.js +227 -0
  2152. package/dist/sidebar/build-intent-groups.js.map +1 -0
  2153. package/dist/sidebar/build-nav-groups.d.ts +37 -0
  2154. package/dist/sidebar/build-nav-groups.js +204 -0
  2155. package/dist/sidebar/build-nav-groups.js.map +1 -0
  2156. package/dist/sidebar/commerce-build-navigation.d.ts +2 -0
  2157. package/dist/sidebar/commerce-build-navigation.js +16 -0
  2158. package/dist/sidebar/commerce-build-navigation.js.map +1 -0
  2159. package/dist/sidebar/composed-groups.d.ts +20 -0
  2160. package/dist/sidebar/composed-groups.js +54 -0
  2161. package/dist/sidebar/composed-groups.js.map +1 -0
  2162. package/dist/sidebar/config.d.ts +180 -0
  2163. package/dist/sidebar/config.js +186 -0
  2164. package/dist/sidebar/config.js.map +1 -0
  2165. package/dist/sidebar/customize-row.d.ts +27 -0
  2166. package/dist/sidebar/customize-row.js +29 -0
  2167. package/dist/sidebar/customize-row.js.map +1 -0
  2168. package/dist/sidebar/declared-screens.d.ts +33 -0
  2169. package/dist/sidebar/declared-screens.js +68 -0
  2170. package/dist/sidebar/declared-screens.js.map +1 -0
  2171. package/dist/sidebar/flatten-work-groups.d.ts +48 -0
  2172. package/dist/sidebar/flatten-work-groups.js +58 -0
  2173. package/dist/sidebar/flatten-work-groups.js.map +1 -0
  2174. package/dist/sidebar/home-row.d.ts +10 -0
  2175. package/dist/sidebar/home-row.js +28 -0
  2176. package/dist/sidebar/home-row.js.map +1 -0
  2177. package/dist/sidebar/inbox-row.d.ts +44 -0
  2178. package/dist/sidebar/inbox-row.js +54 -0
  2179. package/dist/sidebar/inbox-row.js.map +1 -0
  2180. package/dist/sidebar/intent-navigation-utils.d.ts +21 -0
  2181. package/dist/sidebar/intent-navigation-utils.js +20 -0
  2182. package/dist/sidebar/intent-navigation-utils.js.map +1 -0
  2183. package/dist/sidebar/inventory-hub.d.ts +16 -0
  2184. package/dist/sidebar/inventory-hub.js +50 -0
  2185. package/dist/sidebar/inventory-hub.js.map +1 -0
  2186. package/dist/sidebar/more-group.d.ts +22 -0
  2187. package/dist/sidebar/more-group.js +40 -0
  2188. package/dist/sidebar/more-group.js.map +1 -0
  2189. package/dist/sidebar/nav-gates.d.ts +30 -0
  2190. package/dist/sidebar/nav-gates.js +18 -0
  2191. package/dist/sidebar/nav-gates.js.map +1 -0
  2192. package/dist/sidebar/nav-highlights.d.ts +49 -0
  2193. package/dist/sidebar/nav-highlights.js +77 -0
  2194. package/dist/sidebar/nav-highlights.js.map +1 -0
  2195. package/dist/sidebar/nav-pending-row.d.ts +12 -0
  2196. package/dist/sidebar/nav-pending-row.js +205 -0
  2197. package/dist/sidebar/nav-pending-row.js.map +1 -0
  2198. package/dist/sidebar/nav-permissions.d.ts +28 -0
  2199. package/dist/sidebar/nav-permissions.js +64 -0
  2200. package/dist/sidebar/nav-permissions.js.map +1 -0
  2201. package/dist/sidebar/nav-renderer-deps.d.ts +41 -0
  2202. package/dist/sidebar/nav-renderer-deps.js +1 -0
  2203. package/dist/sidebar/nav-renderer-deps.js.map +1 -0
  2204. package/dist/sidebar/nav-renderers.d.ts +55 -0
  2205. package/dist/sidebar/nav-renderers.js +207 -0
  2206. package/dist/sidebar/nav-renderers.js.map +1 -0
  2207. package/dist/sidebar/nav-section.d.ts +62 -0
  2208. package/dist/sidebar/nav-section.js +126 -0
  2209. package/dist/sidebar/nav-section.js.map +1 -0
  2210. package/dist/sidebar/nav-test-support.d.ts +15 -0
  2211. package/dist/sidebar/nav-test-support.js +105 -0
  2212. package/dist/sidebar/nav-test-support.js.map +1 -0
  2213. package/dist/sidebar/navigation-types.d.ts +32 -0
  2214. package/dist/sidebar/navigation-types.js +1 -0
  2215. package/dist/sidebar/navigation-types.js.map +1 -0
  2216. package/dist/sidebar/orders-payments-hub.d.ts +58 -0
  2217. package/dist/sidebar/orders-payments-hub.js +59 -0
  2218. package/dist/sidebar/orders-payments-hub.js.map +1 -0
  2219. package/dist/sidebar/rail-body.d.ts +54 -0
  2220. package/dist/sidebar/rail-body.js +202 -0
  2221. package/dist/sidebar/rail-body.js.map +1 -0
  2222. package/dist/sidebar/rail-editable.d.ts +48 -0
  2223. package/dist/sidebar/rail-editable.js +109 -0
  2224. package/dist/sidebar/rail-editable.js.map +1 -0
  2225. package/dist/sidebar/rail-editor.d.ts +19 -0
  2226. package/dist/sidebar/rail-editor.js +70 -0
  2227. package/dist/sidebar/rail-editor.js.map +1 -0
  2228. package/dist/sidebar/rail-edits.d.ts +88 -0
  2229. package/dist/sidebar/rail-edits.js +129 -0
  2230. package/dist/sidebar/rail-edits.js.map +1 -0
  2231. package/dist/sidebar/rail-label.d.ts +14 -0
  2232. package/dist/sidebar/rail-label.js +15 -0
  2233. package/dist/sidebar/rail-label.js.map +1 -0
  2234. package/dist/sidebar/rail-rows.d.ts +52 -0
  2235. package/dist/sidebar/rail-rows.js +47 -0
  2236. package/dist/sidebar/rail-rows.js.map +1 -0
  2237. package/dist/sidebar/route-context.d.ts +20 -0
  2238. package/dist/sidebar/route-context.js +16 -0
  2239. package/dist/sidebar/route-context.js.map +1 -0
  2240. package/dist/sidebar/row-entrance.d.ts +42 -0
  2241. package/dist/sidebar/row-entrance.js +41 -0
  2242. package/dist/sidebar/row-entrance.js.map +1 -0
  2243. package/dist/sidebar/settings-nav.d.ts +22 -0
  2244. package/dist/sidebar/settings-nav.js +87 -0
  2245. package/dist/sidebar/settings-nav.js.map +1 -0
  2246. package/dist/sidebar/setup-contact-dialog.d.ts +13 -0
  2247. package/dist/sidebar/setup-contact-dialog.js +90 -0
  2248. package/dist/sidebar/setup-contact-dialog.js.map +1 -0
  2249. package/dist/sidebar/setup-extra-steps.d.ts +20 -0
  2250. package/dist/sidebar/setup-extra-steps.js +45 -0
  2251. package/dist/sidebar/setup-extra-steps.js.map +1 -0
  2252. package/dist/sidebar/setup-progress.d.ts +28 -0
  2253. package/dist/sidebar/setup-progress.js +349 -0
  2254. package/dist/sidebar/setup-progress.js.map +1 -0
  2255. package/dist/sidebar/setup-step-sections.d.ts +20 -0
  2256. package/dist/sidebar/setup-step-sections.js +96 -0
  2257. package/dist/sidebar/setup-step-sections.js.map +1 -0
  2258. package/dist/sidebar/spine-customers.d.ts +7 -0
  2259. package/dist/sidebar/spine-customers.js +81 -0
  2260. package/dist/sidebar/spine-customers.js.map +1 -0
  2261. package/dist/sidebar/spine-groups.d.ts +23 -0
  2262. package/dist/sidebar/spine-groups.js +290 -0
  2263. package/dist/sidebar/spine-groups.js.map +1 -0
  2264. package/dist/sidebar/spine-hardware.d.ts +2 -0
  2265. package/dist/sidebar/spine-hardware.js +52 -0
  2266. package/dist/sidebar/spine-hardware.js.map +1 -0
  2267. package/dist/sidebar/spine-marketing.d.ts +7 -0
  2268. package/dist/sidebar/spine-marketing.js +131 -0
  2269. package/dist/sidebar/spine-marketing.js.map +1 -0
  2270. package/dist/sidebar/spine-money.d.ts +18 -0
  2271. package/dist/sidebar/spine-money.js +168 -0
  2272. package/dist/sidebar/spine-money.js.map +1 -0
  2273. package/dist/sidebar/spine-operations.d.ts +10 -0
  2274. package/dist/sidebar/spine-operations.js +90 -0
  2275. package/dist/sidebar/spine-operations.js.map +1 -0
  2276. package/dist/sidebar/spine-website.d.ts +6 -0
  2277. package/dist/sidebar/spine-website.js +90 -0
  2278. package/dist/sidebar/spine-website.js.map +1 -0
  2279. package/dist/sidebar/takes-money.d.ts +15 -0
  2280. package/dist/sidebar/takes-money.js +12 -0
  2281. package/dist/sidebar/takes-money.js.map +1 -0
  2282. package/dist/sidebar/use-nav-badges.d.ts +22 -0
  2283. package/dist/sidebar/use-nav-badges.js +60 -0
  2284. package/dist/sidebar/use-nav-badges.js.map +1 -0
  2285. package/dist/sidebar/use-nav-notifications.d.ts +1 -0
  2286. package/dist/sidebar/use-nav-notifications.js +110 -0
  2287. package/dist/sidebar/use-nav-notifications.js.map +1 -0
  2288. package/dist/sidebar/use-new-nav-rows.d.ts +13 -0
  2289. package/dist/sidebar/use-new-nav-rows.js +53 -0
  2290. package/dist/sidebar/use-new-nav-rows.js.map +1 -0
  2291. package/dist/sidebar/use-open-hub.d.ts +12 -0
  2292. package/dist/sidebar/use-open-hub.js +18 -0
  2293. package/dist/sidebar/use-open-hub.js.map +1 -0
  2294. package/dist/sidebar/use-resource-rows.d.ts +36 -0
  2295. package/dist/sidebar/use-resource-rows.js +62 -0
  2296. package/dist/sidebar/use-resource-rows.js.map +1 -0
  2297. package/dist/sidebar/work-rows.d.ts +17 -0
  2298. package/dist/sidebar/work-rows.js +17 -0
  2299. package/dist/sidebar/work-rows.js.map +1 -0
  2300. package/dist/sidebar.d.ts +6 -0
  2301. package/dist/sidebar.js +337 -0
  2302. package/dist/sidebar.js.map +1 -0
  2303. package/dist/staff-welcome.d.ts +28 -0
  2304. package/dist/staff-welcome.js +86 -0
  2305. package/dist/staff-welcome.js.map +1 -0
  2306. package/dist/storefront-preview/preview-refresh.d.ts +7 -0
  2307. package/dist/storefront-preview/preview-refresh.js +30 -0
  2308. package/dist/storefront-preview/preview-refresh.js.map +1 -0
  2309. package/dist/storefront-preview/storefront-preview.d.ts +57 -0
  2310. package/dist/storefront-preview/storefront-preview.js +380 -0
  2311. package/dist/storefront-preview/storefront-preview.js.map +1 -0
  2312. package/dist/storefront-preview/storefront-thumbnail.d.ts +16 -0
  2313. package/dist/storefront-preview/storefront-thumbnail.js +57 -0
  2314. package/dist/storefront-preview/storefront-thumbnail.js.map +1 -0
  2315. package/dist/styles/mobile/theme.d.ts +31 -0
  2316. package/dist/styles/mobile/theme.js +112 -0
  2317. package/dist/styles/mobile/theme.js.map +1 -0
  2318. package/dist/styles/reader-mode.module.css +174 -0
  2319. package/dist/support/case-composer.d.ts +80 -0
  2320. package/dist/support/case-composer.js +255 -0
  2321. package/dist/support/case-composer.js.map +1 -0
  2322. package/dist/support/support-case-ui.d.ts +18 -0
  2323. package/dist/support/support-case-ui.js +51 -0
  2324. package/dist/support/support-case-ui.js.map +1 -0
  2325. package/dist/take-payment.d.ts +21 -0
  2326. package/dist/take-payment.js +72 -0
  2327. package/dist/take-payment.js.map +1 -0
  2328. package/dist/template-editor/canvas-banner.d.ts +34 -0
  2329. package/dist/template-editor/canvas-banner.js +112 -0
  2330. package/dist/template-editor/canvas-banner.js.map +1 -0
  2331. package/dist/template-editor/copy-preview-link-button.d.ts +17 -0
  2332. package/dist/template-editor/copy-preview-link-button.js +57 -0
  2333. package/dist/template-editor/copy-preview-link-button.js.map +1 -0
  2334. package/dist/template-editor/publish-dialog.d.ts +20 -0
  2335. package/dist/template-editor/publish-dialog.js +223 -0
  2336. package/dist/template-editor/publish-dialog.js.map +1 -0
  2337. package/dist/template-editor/status-pill.d.ts +12 -0
  2338. package/dist/template-editor/status-pill.js +65 -0
  2339. package/dist/template-editor/status-pill.js.map +1 -0
  2340. package/dist/template-editor/template-preview-inspector.d.ts +10 -0
  2341. package/dist/template-editor/template-preview-inspector.js +166 -0
  2342. package/dist/template-editor/template-preview-inspector.js.map +1 -0
  2343. package/dist/templates/category-label.d.ts +18 -0
  2344. package/dist/templates/category-label.js +20 -0
  2345. package/dist/templates/category-label.js.map +1 -0
  2346. package/dist/templates/create-own.d.ts +5 -0
  2347. package/dist/templates/create-own.js +82 -0
  2348. package/dist/templates/create-own.js.map +1 -0
  2349. package/dist/templates/template-brief.d.ts +43 -0
  2350. package/dist/templates/template-brief.js +109 -0
  2351. package/dist/templates/template-brief.js.map +1 -0
  2352. package/dist/templates/template-gallery.d.ts +112 -0
  2353. package/dist/templates/template-gallery.js +274 -0
  2354. package/dist/templates/template-gallery.js.map +1 -0
  2355. package/dist/templates/template-live-thumb.d.ts +44 -0
  2356. package/dist/templates/template-live-thumb.js +186 -0
  2357. package/dist/templates/template-live-thumb.js.map +1 -0
  2358. package/dist/templates/template-preview-dialog.d.ts +25 -0
  2359. package/dist/templates/template-preview-dialog.js +70 -0
  2360. package/dist/templates/template-preview-dialog.js.map +1 -0
  2361. package/dist/templates/template-preview-panel.d.ts +75 -0
  2362. package/dist/templates/template-preview-panel.js +151 -0
  2363. package/dist/templates/template-preview-panel.js.map +1 -0
  2364. package/dist/templates/template-preview-split.d.ts +27 -0
  2365. package/dist/templates/template-preview-split.js +121 -0
  2366. package/dist/templates/template-preview-split.js.map +1 -0
  2367. package/dist/templates/template-still.d.ts +18 -0
  2368. package/dist/templates/template-still.js +36 -0
  2369. package/dist/templates/template-still.js.map +1 -0
  2370. package/dist/templates/template-tile-source.d.ts +24 -0
  2371. package/dist/templates/template-tile-source.js +18 -0
  2372. package/dist/templates/template-tile-source.js.map +1 -0
  2373. package/dist/templates/template-tile.d.ts +71 -0
  2374. package/dist/templates/template-tile.js +91 -0
  2375. package/dist/templates/template-tile.js.map +1 -0
  2376. package/dist/templates/template-toolbar.d.ts +28 -0
  2377. package/dist/templates/template-toolbar.js +60 -0
  2378. package/dist/templates/template-toolbar.js.map +1 -0
  2379. package/dist/templates/use-growing-shelf.d.ts +13 -0
  2380. package/dist/templates/use-growing-shelf.js +29 -0
  2381. package/dist/templates/use-growing-shelf.js.map +1 -0
  2382. package/dist/templates/use-mobile-template-preview.d.ts +18 -0
  2383. package/dist/templates/use-mobile-template-preview.js +24 -0
  2384. package/dist/templates/use-mobile-template-preview.js.map +1 -0
  2385. package/dist/templates/use-recent-templates.d.ts +9 -0
  2386. package/dist/templates/use-recent-templates.js +28 -0
  2387. package/dist/templates/use-recent-templates.js.map +1 -0
  2388. package/dist/templates/workflow-canvas.css +168 -0
  2389. package/dist/templates/workflow-canvas.d.ts +14 -0
  2390. package/dist/templates/workflow-canvas.js +168 -0
  2391. package/dist/templates/workflow-canvas.js.map +1 -0
  2392. package/dist/viewer-banner.d.ts +6 -0
  2393. package/dist/viewer-banner.js +19 -0
  2394. package/dist/viewer-banner.js.map +1 -0
  2395. package/dist/voice/voice-composer.d.ts +47 -0
  2396. package/dist/voice/voice-composer.js +202 -0
  2397. package/dist/voice/voice-composer.js.map +1 -0
  2398. package/dist/voice/waveform.d.ts +34 -0
  2399. package/dist/voice/waveform.js +107 -0
  2400. package/dist/voice/waveform.js.map +1 -0
  2401. package/dist/workspace-setup/step-intent.d.ts +16 -0
  2402. package/dist/workspace-setup/step-intent.js +176 -0
  2403. package/dist/workspace-setup/step-intent.js.map +1 -0
  2404. package/package.json +83 -0
@@ -0,0 +1,110 @@
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { AnimatePresence, motion, useReducedMotion } from "motion/react";
4
+ import { Select } from "@withpotter/ui-kit/select";
5
+ import { CurrencyInput } from "@withpotter/ui-kit/currency-input";
6
+ import { EditorSection, Field } from "@withpotter/ui-kit";
7
+ import { useTenantCurrency } from "@withpotter/hooks/use-tenant-currency";
8
+ import { springs } from "@withpotter/lib/motion";
9
+ const INTERVAL_OPTIONS = [
10
+ { value: "daily", label: "Daily" },
11
+ { value: "weekly", label: "Weekly" },
12
+ { value: "monthly", label: "Monthly" },
13
+ { value: "quarterly", label: "Quarterly" },
14
+ { value: "biannually", label: "Every 6 months" },
15
+ { value: "annually", label: "Annually" }
16
+ ];
17
+ const CURRENCY_OPTIONS = [
18
+ { value: "NGN", label: "NGN" },
19
+ { value: "USD", label: "USD" },
20
+ { value: "GBP", label: "GBP" },
21
+ { value: "EUR", label: "EUR" }
22
+ ];
23
+ function PricingSection({ form, setForm, isEditing }) {
24
+ const reduce = useReducedMotion();
25
+ const tenantCurrency = useTenantCurrency();
26
+ if (isEditing) return null;
27
+ const isSumOfItems = form.pricingKind === "sum-of-items";
28
+ const transition = reduce ? { duration: 0 } : springs.gentle;
29
+ const foreign = form.currency !== tenantCurrency;
30
+ return /* @__PURE__ */ jsx(EditorSection, { title: "Pricing", children: /* @__PURE__ */ jsxs(
31
+ motion.div,
32
+ {
33
+ layout: true,
34
+ transition,
35
+ className: "flex flex-col gap-3 sm:flex-row",
36
+ children: [
37
+ /* @__PURE__ */ jsx(AnimatePresence, { initial: false, mode: "popLayout", children: !isSumOfItems && /* @__PURE__ */ jsx(
38
+ motion.div,
39
+ {
40
+ layout: true,
41
+ initial: { opacity: 0, scale: 0.96 },
42
+ animate: { opacity: 1, scale: 1 },
43
+ exit: { opacity: 0, scale: 0.96 },
44
+ transition,
45
+ className: "flex-1",
46
+ children: /* @__PURE__ */ jsx(
47
+ Field,
48
+ {
49
+ label: "Amount",
50
+ required: true,
51
+ hint: foreign ? void 0 : `Charged in ${tenantCurrency}.`,
52
+ children: /* @__PURE__ */ jsx(
53
+ CurrencyInput,
54
+ {
55
+ value: typeof form.amount === "string" ? parseFloat(form.amount) || void 0 : form.amount,
56
+ onChange: (value) => setForm((f) => ({ ...f, amount: value?.toString() || "" })),
57
+ placeholder: "5000",
58
+ currencyCode: form.currency
59
+ }
60
+ )
61
+ }
62
+ )
63
+ },
64
+ "amount"
65
+ ) }),
66
+ /* @__PURE__ */ jsx(AnimatePresence, { initial: false, mode: "popLayout", children: foreign && /* @__PURE__ */ jsx(
67
+ motion.div,
68
+ {
69
+ layout: true,
70
+ initial: { opacity: 0, scale: 0.96 },
71
+ animate: { opacity: 1, scale: 1 },
72
+ exit: { opacity: 0, scale: 0.96 },
73
+ transition,
74
+ className: "flex-1",
75
+ children: /* @__PURE__ */ jsx(
76
+ Field,
77
+ {
78
+ label: "Currency",
79
+ hint: `Your business bills in ${tenantCurrency}.`,
80
+ children: /* @__PURE__ */ jsx(
81
+ Select,
82
+ {
83
+ value: form.currency,
84
+ onChange: (v) => setForm((f) => ({ ...f, currency: v })),
85
+ options: CURRENCY_OPTIONS,
86
+ placeholder: "Currency"
87
+ }
88
+ )
89
+ }
90
+ )
91
+ },
92
+ "currency"
93
+ ) }),
94
+ /* @__PURE__ */ jsx(motion.div, { layout: true, transition, className: "flex-1", children: /* @__PURE__ */ jsx(Field, { label: "Billing cycle", children: /* @__PURE__ */ jsx(
95
+ Select,
96
+ {
97
+ value: form.interval,
98
+ onChange: (v) => setForm((f) => ({ ...f, interval: v })),
99
+ options: INTERVAL_OPTIONS,
100
+ placeholder: "Cycle"
101
+ }
102
+ ) }) })
103
+ ]
104
+ }
105
+ ) });
106
+ }
107
+ export {
108
+ PricingSection
109
+ };
110
+ //# sourceMappingURL=pricing-section.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/plan-editor/sections/pricing-section.tsx"],"sourcesContent":["'use client';\n\nimport { AnimatePresence, motion, useReducedMotion } from 'motion/react';\nimport { Select } from '@withpotter/ui-kit/select';\nimport { CurrencyInput } from '@withpotter/ui-kit/currency-input';\nimport { EditorSection, Field } from '@withpotter/ui-kit';\nimport { useTenantCurrency } from '@withpotter/hooks/use-tenant-currency';\nimport { springs } from '@withpotter/lib/motion';\nimport type { PlanSectionProps } from '../types';\n\n/** The six Paystack recognises, which is the whole of what a plan can be. */\nconst INTERVAL_OPTIONS = [\n { value: 'daily', label: 'Daily' },\n { value: 'weekly', label: 'Weekly' },\n { value: 'monthly', label: 'Monthly' },\n { value: 'quarterly', label: 'Quarterly' },\n { value: 'biannually', label: 'Every 6 months' },\n { value: 'annually', label: 'Annually' },\n];\n\nconst CURRENCY_OPTIONS = [\n { value: 'NGN', label: 'NGN' },\n { value: 'USD', label: 'USD' },\n { value: 'GBP', label: 'GBP' },\n { value: 'EUR', label: 'EUR' },\n];\n\nexport function PricingSection({ form, setForm, isEditing }: PlanSectionProps) {\n const reduce = useReducedMotion();\n const tenantCurrency = useTenantCurrency();\n // Pricing is locked once a plan exists (Paystack plan code is bound to it).\n if (isEditing) return null;\n const isSumOfItems = form.pricingKind === 'sum-of-items';\n const transition = reduce ? { duration: 0 } : springs.gentle;\n\n /**\n * ONE CYCLE, NO MULTIPLIER, AND THAT IS DELIBERATE.\n *\n * `merchant_plans.interval_count` exists, the create DTO accepts it, and\n * `formatInterval` will happily render \"Every 2 months\" — so a \"Bill every\n * N\" field looks like the obvious missing control. It is not, and it was\n * briefly built here before this comment replaced it.\n *\n * Paystack's plan API has no interval count. `PaystackProvider.createPlan`\n * sends `{ name, amount, interval, currency }` and nothing else, and a\n * member's `nextPaymentDate` is read back from Paystack's own\n * `next_payment_date` rather than computed locally — see\n * `paystack-webhook.service.ts`. So a plan stored as \"every 2 weeks\" is a\n * WEEKLY plan at the gateway and the member's card is charged every week,\n * while this dashboard says fortnightly. The one place `intervalCount` is\n * honoured is `merchant-subscription-payment.handler`, which is Box\n * billing the merchant — a different table and a different lifecycle.\n *\n * A cadence multiplier needs a gateway that can express one. Until then the\n * field would be a promise the charge does not keep, so the cycle is the\n * six Paystack recognises and nothing else.\n */\n /**\n * The currency is the workspace's, and the picker only exists for a plan\n * that already disagrees with it.\n *\n * Settings → Regional calls its currency \"used for all pricing across your\n * site and checkout\", and Paystack settles a subaccount in the currency it\n * was opened in — so a per-plan choice of four could build a plan the\n * account cannot settle, and nothing on this screen said so.\n */\n const foreign = form.currency !== tenantCurrency;\n\n return (\n <EditorSection title=\"Pricing\">\n {/* The amount LEAVES and the fields that stay slide across to fill the\n row. It used to be two different grids swapped by a ternary, so\n switching model re-laid the whole row in one frame: three columns\n became two and the currency you were looking at was suddenly\n somewhere else. `popLayout` takes the departing field out of flow\n first, so the others travel to their new width on the same spring\n that moves the selection above them. */}\n <motion.div\n layout\n transition={transition}\n className=\"flex flex-col gap-3 sm:flex-row\"\n >\n <AnimatePresence initial={false} mode=\"popLayout\">\n {!isSumOfItems && (\n <motion.div\n key=\"amount\"\n layout\n initial={{ opacity: 0, scale: 0.96 }}\n animate={{ opacity: 1, scale: 1 }}\n exit={{ opacity: 0, scale: 0.96 }}\n transition={transition}\n className=\"flex-1\"\n >\n <Field\n label=\"Amount\"\n required\n hint={foreign ? undefined : `Charged in ${tenantCurrency}.`}\n >\n <CurrencyInput\n value={\n typeof form.amount === 'string'\n ? parseFloat(form.amount) || undefined\n : form.amount\n }\n onChange={(value) =>\n setForm((f) => ({ ...f, amount: value?.toString() || '' }))\n }\n placeholder=\"5000\"\n currencyCode={form.currency}\n />\n </Field>\n </motion.div>\n )}\n </AnimatePresence>\n <AnimatePresence initial={false} mode=\"popLayout\">\n {foreign && (\n <motion.div\n key=\"currency\"\n layout\n initial={{ opacity: 0, scale: 0.96 }}\n animate={{ opacity: 1, scale: 1 }}\n exit={{ opacity: 0, scale: 0.96 }}\n transition={transition}\n className=\"flex-1\"\n >\n <Field\n label=\"Currency\"\n hint={`Your business bills in ${tenantCurrency}.`}\n >\n <Select\n value={form.currency}\n onChange={(v) => setForm((f) => ({ ...f, currency: v }))}\n options={CURRENCY_OPTIONS}\n placeholder=\"Currency\"\n />\n </Field>\n </motion.div>\n )}\n </AnimatePresence>\n <motion.div layout transition={transition} className=\"flex-1\">\n <Field label=\"Billing cycle\">\n <Select\n value={form.interval}\n onChange={(v) => setForm((f) => ({ ...f, interval: v }))}\n options={INTERVAL_OPTIONS}\n placeholder=\"Cycle\"\n />\n </Field>\n </motion.div>\n </motion.div>\n </EditorSection>\n );\n}\n"],"mappings":"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","names":[]}
@@ -0,0 +1,14 @@
1
+ import type { PlanSectionProps } from '../types';
2
+ /**
3
+ * Two plans that are the same offer at a different price or a different
4
+ * cadence, shown together on the storefront so a customer can switch.
5
+ *
6
+ * This asked for a Group ID and a Group label as free text — a merchant
7
+ * inventing a primary key, then re-typing it exactly on the second plan for
8
+ * the pair to exist at all. The groups are already in the data, so the second
9
+ * plan picks the first one's from a list, and a new one is minted from the
10
+ * name rather than typed twice.
11
+ */
12
+ export declare function SiblingGroupSection({ form, setForm, tenantSlug, }: PlanSectionProps & {
13
+ tenantSlug: string | undefined;
14
+ }): import("react").JSX.Element;
@@ -0,0 +1,107 @@
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { useState } from "react";
4
+ import { Select } from "@withpotter/ui-kit/select";
5
+ import { EditorSection, Field, Input, Reveal } from "@withpotter/ui-kit";
6
+ import { usePlanGroups, slugifyGroup } from "../use-plan-groups";
7
+ const NEW_GROUP = "__new";
8
+ function SiblingGroupSection({
9
+ form,
10
+ setForm,
11
+ tenantSlug
12
+ }) {
13
+ const groups = usePlanGroups(tenantSlug);
14
+ const [creating, setCreating] = useState(false);
15
+ const inGroup = creating || Boolean(form.groupId);
16
+ const value = creating ? NEW_GROUP : form.groupId || "";
17
+ const pick = (next) => {
18
+ if (next === NEW_GROUP) {
19
+ setCreating(true);
20
+ setForm((f) => ({ ...f, groupId: "", groupLabel: "" }));
21
+ return;
22
+ }
23
+ setCreating(false);
24
+ if (!next) {
25
+ setForm((f) => ({ ...f, groupId: "", groupLabel: "", groupRole: "" }));
26
+ return;
27
+ }
28
+ const group = groups.find((g) => g.id === next);
29
+ setForm((f) => ({
30
+ ...f,
31
+ groupId: next,
32
+ groupLabel: group?.label ?? next
33
+ }));
34
+ };
35
+ const name = (label) => setForm((f) => ({
36
+ ...f,
37
+ groupLabel: label,
38
+ groupId: slugifyGroup(label)
39
+ }));
40
+ return /* @__PURE__ */ jsxs(EditorSection, { title: "Show with other plans", children: [
41
+ /* @__PURE__ */ jsx(
42
+ Field,
43
+ {
44
+ label: "Group",
45
+ hint: "Plans in one group sit side by side on your storefront, so a customer can compare them and pick one, e.g. monthly or yearly.",
46
+ children: /* @__PURE__ */ jsx(
47
+ Select,
48
+ {
49
+ value,
50
+ onChange: pick,
51
+ placeholder: "On its own",
52
+ options: [
53
+ { value: "", label: "On its own" },
54
+ ...groups.map((g) => ({
55
+ value: g.id,
56
+ label: `${g.label} (${g.count})`
57
+ })),
58
+ { value: NEW_GROUP, label: "New group\u2026" }
59
+ ]
60
+ }
61
+ )
62
+ }
63
+ ),
64
+ /* @__PURE__ */ jsx(Reveal, { show: creating, children: /* @__PURE__ */ jsx(
65
+ Field,
66
+ {
67
+ label: "Group name",
68
+ hint: "What the pair is called on the storefront, e.g. Build My Supply.",
69
+ children: /* @__PURE__ */ jsx(
70
+ Input,
71
+ {
72
+ type: "text",
73
+ value: form.groupLabel,
74
+ onChange: (e) => name(e.target.value),
75
+ placeholder: "e.g. Build My Supply",
76
+ className: "w-full"
77
+ }
78
+ )
79
+ }
80
+ ) }),
81
+ /* @__PURE__ */ jsx(Reveal, { show: inGroup, children: /* @__PURE__ */ jsx(Field, { label: "What differs", children: /* @__PURE__ */ jsx(
82
+ Select,
83
+ {
84
+ value: form.groupRole || "",
85
+ onChange: (v) => setForm((f) => ({
86
+ ...f,
87
+ groupRole: v
88
+ })),
89
+ placeholder: "Pick one",
90
+ options: [
91
+ {
92
+ value: "cadence-sibling",
93
+ label: "How often \u2014 monthly, twice a month"
94
+ },
95
+ {
96
+ value: "tier-sibling",
97
+ label: "How much they get \u2014 basic, premium"
98
+ }
99
+ ]
100
+ }
101
+ ) }) })
102
+ ] });
103
+ }
104
+ export {
105
+ SiblingGroupSection
106
+ };
107
+ //# sourceMappingURL=sibling-group-section.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/plan-editor/sections/sibling-group-section.tsx"],"sourcesContent":["'use client';\n\nimport { useState } from 'react';\nimport { Select } from '@withpotter/ui-kit/select';\nimport { EditorSection, Field, Input, Reveal } from '@withpotter/ui-kit';\nimport type { PlanFormData } from '@withpotter/pages-finance/dashboard/(finance)/subscriptions/_components/helpers';\nimport { usePlanGroups, slugifyGroup } from '../use-plan-groups';\nimport type { PlanSectionProps } from '../types';\n\nconst NEW_GROUP = '__new';\n\n/**\n * Two plans that are the same offer at a different price or a different\n * cadence, shown together on the storefront so a customer can switch.\n *\n * This asked for a Group ID and a Group label as free text — a merchant\n * inventing a primary key, then re-typing it exactly on the second plan for\n * the pair to exist at all. The groups are already in the data, so the second\n * plan picks the first one's from a list, and a new one is minted from the\n * name rather than typed twice.\n */\nexport function SiblingGroupSection({\n form,\n setForm,\n tenantSlug,\n}: PlanSectionProps & { tenantSlug: string | undefined }) {\n const groups = usePlanGroups(tenantSlug);\n const [creating, setCreating] = useState(false);\n\n const inGroup = creating || Boolean(form.groupId);\n const value = creating ? NEW_GROUP : form.groupId || '';\n\n const pick = (next: string) => {\n if (next === NEW_GROUP) {\n setCreating(true);\n setForm((f) => ({ ...f, groupId: '', groupLabel: '' }));\n return;\n }\n setCreating(false);\n if (!next) {\n setForm((f) => ({ ...f, groupId: '', groupLabel: '', groupRole: '' }));\n return;\n }\n const group = groups.find((g) => g.id === next);\n setForm((f) => ({\n ...f,\n groupId: next,\n groupLabel: group?.label ?? next,\n }));\n };\n\n const name = (label: string) =>\n setForm((f) => ({\n ...f,\n groupLabel: label,\n groupId: slugifyGroup(label),\n }));\n\n return (\n <EditorSection title=\"Show with other plans\">\n <Field\n label=\"Group\"\n hint=\"Plans in one group sit side by side on your storefront, so a customer can compare them and pick one, e.g. monthly or yearly.\"\n >\n <Select\n value={value}\n onChange={pick}\n placeholder=\"On its own\"\n options={[\n { value: '', label: 'On its own' },\n ...groups.map((g) => ({\n value: g.id,\n label: `${g.label} (${g.count})`,\n })),\n { value: NEW_GROUP, label: 'New group…' },\n ]}\n />\n </Field>\n\n <Reveal show={creating}>\n <Field\n label=\"Group name\"\n hint=\"What the pair is called on the storefront, e.g. Build My Supply.\"\n >\n <Input\n type=\"text\"\n value={form.groupLabel}\n onChange={(e) => name(e.target.value)}\n placeholder=\"e.g. Build My Supply\"\n className=\"w-full\"\n />\n </Field>\n </Reveal>\n\n <Reveal show={inGroup}>\n <Field label=\"What differs\">\n <Select\n value={form.groupRole || ''}\n onChange={(v) =>\n setForm((f) => ({\n ...f,\n groupRole: v as PlanFormData['groupRole'],\n }))\n }\n placeholder=\"Pick one\"\n options={[\n {\n value: 'cadence-sibling',\n label: 'How often — monthly, twice a month',\n },\n {\n value: 'tier-sibling',\n label: 'How much they get — basic, premium',\n },\n ]}\n />\n </Field>\n </Reveal>\n </EditorSection>\n );\n}\n"],"mappings":";AA2DI,SAKI,KALJ;AAzDJ,SAAS,gBAAgB;AACzB,SAAS,cAAc;AACvB,SAAS,eAAe,OAAO,OAAO,cAAc;AAEpD,SAAS,eAAe,oBAAoB;AAG5C,MAAM,YAAY;AAYX,SAAS,oBAAoB;AAAA,EAClC;AAAA,EACA;AAAA,EACA;AACF,GAA0D;AACxD,QAAM,SAAS,cAAc,UAAU;AACvC,QAAM,CAAC,UAAU,WAAW,IAAI,SAAS,KAAK;AAE9C,QAAM,UAAU,YAAY,QAAQ,KAAK,OAAO;AAChD,QAAM,QAAQ,WAAW,YAAY,KAAK,WAAW;AAErD,QAAM,OAAO,CAAC,SAAiB;AAC7B,QAAI,SAAS,WAAW;AACtB,kBAAY,IAAI;AAChB,cAAQ,CAAC,OAAO,EAAE,GAAG,GAAG,SAAS,IAAI,YAAY,GAAG,EAAE;AACtD;AAAA,IACF;AACA,gBAAY,KAAK;AACjB,QAAI,CAAC,MAAM;AACT,cAAQ,CAAC,OAAO,EAAE,GAAG,GAAG,SAAS,IAAI,YAAY,IAAI,WAAW,GAAG,EAAE;AACrE;AAAA,IACF;AACA,UAAM,QAAQ,OAAO,KAAK,CAAC,MAAM,EAAE,OAAO,IAAI;AAC9C,YAAQ,CAAC,OAAO;AAAA,MACd,GAAG;AAAA,MACH,SAAS;AAAA,MACT,YAAY,OAAO,SAAS;AAAA,IAC9B,EAAE;AAAA,EACJ;AAEA,QAAM,OAAO,CAAC,UACZ,QAAQ,CAAC,OAAO;AAAA,IACd,GAAG;AAAA,IACH,YAAY;AAAA,IACZ,SAAS,aAAa,KAAK;AAAA,EAC7B,EAAE;AAEJ,SACE,qBAAC,iBAAc,OAAM,yBACnB;AAAA;AAAA,MAAC;AAAA;AAAA,QACC,OAAM;AAAA,QACN,MAAK;AAAA,QAEL;AAAA,UAAC;AAAA;AAAA,YACC;AAAA,YACA,UAAU;AAAA,YACV,aAAY;AAAA,YACZ,SAAS;AAAA,cACP,EAAE,OAAO,IAAI,OAAO,aAAa;AAAA,cACjC,GAAG,OAAO,IAAI,CAAC,OAAO;AAAA,gBACpB,OAAO,EAAE;AAAA,gBACT,OAAO,GAAG,EAAE,KAAK,KAAK,EAAE,KAAK;AAAA,cAC/B,EAAE;AAAA,cACF,EAAE,OAAO,WAAW,OAAO,kBAAa;AAAA,YAC1C;AAAA;AAAA,QACF;AAAA;AAAA,IACF;AAAA,IAEA,oBAAC,UAAO,MAAM,UACZ;AAAA,MAAC;AAAA;AAAA,QACC,OAAM;AAAA,QACN,MAAK;AAAA,QAEL;AAAA,UAAC;AAAA;AAAA,YACC,MAAK;AAAA,YACL,OAAO,KAAK;AAAA,YACZ,UAAU,CAAC,MAAM,KAAK,EAAE,OAAO,KAAK;AAAA,YACpC,aAAY;AAAA,YACZ,WAAU;AAAA;AAAA,QACZ;AAAA;AAAA,IACF,GACF;AAAA,IAEA,oBAAC,UAAO,MAAM,SACZ,8BAAC,SAAM,OAAM,gBACX;AAAA,MAAC;AAAA;AAAA,QACC,OAAO,KAAK,aAAa;AAAA,QACzB,UAAU,CAAC,MACT,QAAQ,CAAC,OAAO;AAAA,UACd,GAAG;AAAA,UACH,WAAW;AAAA,QACb,EAAE;AAAA,QAEJ,aAAY;AAAA,QACZ,SAAS;AAAA,UACP;AAAA,YACE,OAAO;AAAA,YACP,OAAO;AAAA,UACT;AAAA,UACA;AAAA,YACE,OAAO;AAAA,YACP,OAAO;AAAA,UACT;AAAA,QACF;AAAA;AAAA,IACF,GACF,GACF;AAAA,KACF;AAEJ;","names":[]}
@@ -0,0 +1,2 @@
1
+ import type { PlanSectionProps } from '../types';
2
+ export declare function TrialFeaturesSection({ form, setForm }: PlanSectionProps): import("react").JSX.Element;
@@ -0,0 +1,95 @@
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { AnimatePresence, motion } from "motion/react";
4
+ import { X } from "lucide-react";
5
+ import {
6
+ AddChip,
7
+ Checkbox,
8
+ EditorSection,
9
+ Field,
10
+ Input
11
+ } from "@withpotter/ui-kit";
12
+ import { springs } from "@withpotter/lib/motion";
13
+ function TrialFeaturesSection({ form, setForm }) {
14
+ const addFeature = () => setForm((f) => ({
15
+ ...f,
16
+ features: [...f.features, { name: "", included: true }]
17
+ }));
18
+ const updateFeature = (idx, key, value) => setForm((f) => {
19
+ const updated = [...f.features];
20
+ updated[idx] = { ...updated[idx], [key]: value };
21
+ return { ...f, features: updated };
22
+ });
23
+ const removeFeature = (idx) => setForm((f) => ({
24
+ ...f,
25
+ features: f.features.filter((_, i) => i !== idx)
26
+ }));
27
+ return /* @__PURE__ */ jsxs(EditorSection, { title: "Trial & features", children: [
28
+ /* @__PURE__ */ jsx(Field, { label: "Trial days", hint: "Free days before the first charge.", children: /* @__PURE__ */ jsx(
29
+ Input,
30
+ {
31
+ type: "number",
32
+ min: 0,
33
+ value: form.trialDays,
34
+ onChange: (e) => setForm((f) => ({ ...f, trialDays: e.target.value })),
35
+ onBlur: () => setForm((f) => ({
36
+ ...f,
37
+ // A negative trial is a charge in the past. The spinner offered
38
+ // one and the API took it.
39
+ trialDays: f.trialDays ? String(Math.max(0, Number(f.trialDays) || 0)) : ""
40
+ })),
41
+ placeholder: "0",
42
+ className: "w-full"
43
+ }
44
+ ) }),
45
+ /* @__PURE__ */ jsx(Field, { label: "Features", children: /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
46
+ /* @__PURE__ */ jsx(AnimatePresence, { initial: false, children: form.features.map((f, i) => /* @__PURE__ */ jsxs(
47
+ motion.div,
48
+ {
49
+ layout: true,
50
+ initial: { opacity: 0, height: 0 },
51
+ animate: { opacity: 1, height: "auto" },
52
+ exit: { opacity: 0, height: 0 },
53
+ transition: springs.snappy,
54
+ className: "flex items-center gap-2 overflow-hidden",
55
+ children: [
56
+ /* @__PURE__ */ jsx(
57
+ Checkbox,
58
+ {
59
+ checked: f.included,
60
+ onChange: (e) => updateFeature(i, "included", e.target.checked),
61
+ "aria-label": f.name ? `${f.name} included` : "Feature included"
62
+ }
63
+ ),
64
+ /* @__PURE__ */ jsx(
65
+ Input,
66
+ {
67
+ type: "text",
68
+ value: f.name,
69
+ onChange: (e) => updateFeature(i, "name", e.target.value),
70
+ placeholder: "Feature name",
71
+ className: "flex-1"
72
+ }
73
+ ),
74
+ /* @__PURE__ */ jsx(
75
+ "button",
76
+ {
77
+ type: "button",
78
+ onClick: () => removeFeature(i),
79
+ "aria-label": f.name ? `Remove ${f.name}` : "Remove feature",
80
+ className: "text-[var(--text-muted)] hover:text-[var(--error)]",
81
+ children: /* @__PURE__ */ jsx(X, { className: "size-4" })
82
+ }
83
+ )
84
+ ]
85
+ },
86
+ i
87
+ )) }),
88
+ /* @__PURE__ */ jsx(AddChip, { onClick: addFeature, children: "Add feature" })
89
+ ] }) })
90
+ ] });
91
+ }
92
+ export {
93
+ TrialFeaturesSection
94
+ };
95
+ //# sourceMappingURL=trial-features-section.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/plan-editor/sections/trial-features-section.tsx"],"sourcesContent":["'use client';\n\nimport { AnimatePresence, motion } from 'motion/react';\nimport { X } from 'lucide-react';\nimport type { PlanSectionProps } from '../types';\nimport {\n AddChip,\n Checkbox,\n EditorSection,\n Field,\n Input,\n} from '@withpotter/ui-kit';\n\nimport { springs } from '@withpotter/lib/motion';\n\nexport function TrialFeaturesSection({ form, setForm }: PlanSectionProps) {\n const addFeature = () =>\n setForm((f) => ({\n ...f,\n features: [...f.features, { name: '', included: true }],\n }));\n const updateFeature = (idx: number, key: string, value: unknown) =>\n setForm((f) => {\n const updated = [...f.features];\n updated[idx] = { ...updated[idx], [key]: value };\n return { ...f, features: updated };\n });\n const removeFeature = (idx: number) =>\n setForm((f) => ({\n ...f,\n features: f.features.filter((_, i) => i !== idx),\n }));\n\n return (\n <EditorSection title=\"Trial & features\">\n <Field label=\"Trial days\" hint=\"Free days before the first charge.\">\n <Input\n type=\"number\"\n min={0}\n value={form.trialDays}\n onChange={(e) =>\n setForm((f) => ({ ...f, trialDays: e.target.value }))\n }\n onBlur={() =>\n setForm((f) => ({\n ...f,\n // A negative trial is a charge in the past. The spinner offered\n // one and the API took it.\n trialDays: f.trialDays\n ? String(Math.max(0, Number(f.trialDays) || 0))\n : '',\n }))\n }\n placeholder=\"0\"\n className=\"w-full\"\n />\n </Field>\n <Field label=\"Features\">\n <div className=\"space-y-2\">\n <AnimatePresence initial={false}>\n {form.features.map((f, i) => (\n <motion.div\n key={i}\n layout\n initial={{ opacity: 0, height: 0 }}\n animate={{ opacity: 1, height: 'auto' }}\n exit={{ opacity: 0, height: 0 }}\n transition={springs.snappy}\n className=\"flex items-center gap-2 overflow-hidden\"\n >\n <Checkbox\n checked={f.included}\n onChange={(e) =>\n updateFeature(i, 'included', e.target.checked)\n }\n aria-label={\n f.name ? `${f.name} included` : 'Feature included'\n }\n />\n <Input\n type=\"text\"\n value={f.name}\n onChange={(e) => updateFeature(i, 'name', e.target.value)}\n placeholder=\"Feature name\"\n className=\"flex-1\"\n />\n <button\n type=\"button\"\n onClick={() => removeFeature(i)}\n aria-label={f.name ? `Remove ${f.name}` : 'Remove feature'}\n className=\"text-[var(--text-muted)] hover:text-[var(--error)]\"\n >\n <X className=\"size-4\" />\n </button>\n </motion.div>\n ))}\n </AnimatePresence>\n {/* The chip is the offer, and it is the same one the product editor\n makes. This was a bare brand-coloured text link — the only\n \"+ Add\" in the editor drawn that way. */}\n <AddChip onClick={addFeature}>Add feature</AddChip>\n </div>\n </Field>\n </EditorSection>\n );\n}\n"],"mappings":"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","names":[]}
@@ -0,0 +1 @@
1
+ export * from './sections/index';
@@ -0,0 +1 @@
1
+ export * from './sections/index.js';
@@ -0,0 +1,7 @@
1
+ import type { Dispatch, SetStateAction } from 'react';
2
+ import type { PlanFormData } from '@withpotter/pages-finance/dashboard/(finance)/subscriptions/_components/helpers';
3
+ export interface PlanSectionProps {
4
+ form: PlanFormData;
5
+ setForm: Dispatch<SetStateAction<PlanFormData>>;
6
+ isEditing: boolean;
7
+ }
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,20 @@
1
+ import { type PlanFormData } from '@withpotter/pages-finance/dashboard/(finance)/subscriptions/_components/helpers';
2
+ interface UsePlanFormOptions {
3
+ mode: 'create' | 'edit';
4
+ tenantSlug: string | undefined;
5
+ planId: string | undefined;
6
+ }
7
+ export declare function usePlanForm({ mode, tenantSlug, planId }: UsePlanFormOptions): {
8
+ form: PlanFormData;
9
+ setForm: import("react").Dispatch<import("react").SetStateAction<PlanFormData>>;
10
+ isEditing: boolean;
11
+ loadingPlan: boolean;
12
+ loadError: string | null;
13
+ saving: boolean;
14
+ saveDisabled: boolean;
15
+ blocker: string | null;
16
+ handleSave: () => Promise<void>;
17
+ isDirty: boolean;
18
+ isSumOfItems: boolean;
19
+ };
20
+ export {};
@@ -0,0 +1,184 @@
1
+ "use client";
2
+ import { useCallback, useEffect, useState } from "react";
3
+ import { useRouter } from "next/navigation";
4
+ import { useToast } from "@withpotter/ui-kit/use-toast";
5
+ import { useEditorDirtyTracking } from "@withpotter/components/editor-shared";
6
+ import { merchantSubscriptionsApi } from "@withpotter/lib/api/merchant-subscriptions";
7
+ import { useTenantCurrency } from "@withpotter/hooks/use-tenant-currency";
8
+ import {
9
+ EMPTY_PLAN_FORM
10
+ } from "@withpotter/pages-finance/dashboard/(finance)/subscriptions/_components/helpers";
11
+ function planToForm(plan) {
12
+ return {
13
+ name: plan.name,
14
+ description: plan.description || "",
15
+ amount: String(plan.amount / 100),
16
+ currency: plan.currency,
17
+ interval: plan.interval,
18
+ intervalCount: String(plan.intervalCount),
19
+ features: plan.features || [],
20
+ trialDays: plan.trialDays ? String(plan.trialDays) : "",
21
+ pricingKind: plan.pricingKind ?? "fixed",
22
+ productIds: plan.includes?.productIds ?? [],
23
+ minItems: plan.includes?.minItems != null ? String(plan.includes.minItems) : "",
24
+ maxItems: plan.includes?.maxItems != null ? String(plan.includes.maxItems) : "",
25
+ subscriptionDiscountPercent: plan.subscriptionDiscountPercent != null ? String(plan.subscriptionDiscountPercent) : "",
26
+ badges: plan.badges ?? [],
27
+ groupId: plan.groupId ?? "",
28
+ groupLabel: plan.groupLabel ?? "",
29
+ groupRole: plan.groupRole ?? "",
30
+ // The id the plan already has, kept. Re-minting it from the name is how a
31
+ // corrected typo used to become a different benefit.
32
+ benefits: (plan.benefits ?? []).map((b) => ({ id: b.id, name: b.name })),
33
+ memberDiscountPercent: plan.memberDiscountPercent != null ? String(plan.memberDiscountPercent) : "",
34
+ freeServicesPerMonth: plan.freeServicesPerMonth != null ? String(plan.freeServicesPerMonth) : "",
35
+ priorityBooking: Boolean(plan.priorityBooking)
36
+ };
37
+ }
38
+ function usePlanForm({ mode, tenantSlug, planId }) {
39
+ const router = useRouter();
40
+ const { toast } = useToast();
41
+ const isEditing = mode === "edit";
42
+ const tenantCurrency = useTenantCurrency();
43
+ const [form, setForm] = useState(() => ({
44
+ ...EMPTY_PLAN_FORM,
45
+ currency: tenantCurrency
46
+ }));
47
+ const [loadingPlan, setLoadingPlan] = useState(isEditing);
48
+ const [loadError, setLoadError] = useState(null);
49
+ const [saving, setSaving] = useState(false);
50
+ useEffect(() => {
51
+ if (!isEditing || !tenantSlug || !planId) return;
52
+ let cancelled = false;
53
+ setLoadingPlan(true);
54
+ setLoadError(null);
55
+ merchantSubscriptionsApi.getPlan(tenantSlug, planId).then((plan) => {
56
+ if (!cancelled) setForm(planToForm(plan));
57
+ }).catch((e) => {
58
+ if (!cancelled)
59
+ setLoadError(e instanceof Error ? e.message : "Failed to load plan");
60
+ }).finally(() => {
61
+ if (!cancelled) setLoadingPlan(false);
62
+ });
63
+ return () => {
64
+ cancelled = true;
65
+ };
66
+ }, [isEditing, tenantSlug, planId]);
67
+ const { isDirty, resetDirty } = useEditorDirtyTracking([form]);
68
+ const isSumOfItems = form.pricingKind === "sum-of-items";
69
+ const minItems = Number(form.minItems) || 0;
70
+ const maxItems = Number(form.maxItems) || 0;
71
+ const blocker = !form.name ? "Give the plan a name." : !isEditing && !isSumOfItems && !form.amount ? "Set an amount to charge each cycle." : isSumOfItems && form.productIds.length === 0 ? "Pick at least one item this plan covers." : (
72
+ /**
73
+ * The API's own rule, said before the API says it.
74
+ *
75
+ * `PlanIncludesDto` requires 1 ≤ minItems ≤ maxItems ≤ the number of
76
+ * eligible items, and the editor was sending `undefined` for both
77
+ * whenever the boxes were blank — which is every sum-of-items plan a
78
+ * merchant did not think to fill in. That came back a 400 rendered
79
+ * as "Failed to save plan", naming no field.
80
+ */
81
+ isSumOfItems && (minItems < 1 || maxItems < 1) ? "Say how many items a member picks each cycle." : isSumOfItems && maxItems < minItems ? "The most items cannot be fewer than the fewest." : isSumOfItems && maxItems > form.productIds.length ? "The most items cannot exceed the items you picked." : null
82
+ );
83
+ const saveDisabled = saving || blocker !== null;
84
+ const handleSave = useCallback(async () => {
85
+ if (!tenantSlug || saveDisabled) return;
86
+ setSaving(true);
87
+ const includes = isSumOfItems ? {
88
+ productIds: form.productIds,
89
+ minItems,
90
+ maxItems
91
+ } : null;
92
+ const discount = form.subscriptionDiscountPercent ? Number(form.subscriptionDiscountPercent) : null;
93
+ const badges = form.badges.length > 0 ? form.badges : null;
94
+ const groupId = form.groupId || null;
95
+ const groupLabel = form.groupLabel || null;
96
+ const groupRole = form.groupRole || null;
97
+ const membership = {
98
+ benefits: form.benefits,
99
+ memberDiscountPercent: form.memberDiscountPercent ? Number(form.memberDiscountPercent) : void 0,
100
+ freeServicesPerMonth: form.freeServicesPerMonth ? Number(form.freeServicesPerMonth) : void 0,
101
+ priorityBooking: form.priorityBooking
102
+ };
103
+ try {
104
+ if (isEditing && planId) {
105
+ await merchantSubscriptionsApi.updatePlan(tenantSlug, planId, {
106
+ name: form.name,
107
+ description: form.description || void 0,
108
+ features: form.features,
109
+ trialDays: form.trialDays ? Number(form.trialDays) : void 0,
110
+ includes,
111
+ subscriptionDiscountPercent: discount,
112
+ badges,
113
+ groupId,
114
+ groupLabel,
115
+ groupRole,
116
+ ...membership
117
+ });
118
+ toast({ title: "Plan updated" });
119
+ resetDirty();
120
+ } else {
121
+ await merchantSubscriptionsApi.createPlan(tenantSlug, {
122
+ name: form.name,
123
+ description: form.description || void 0,
124
+ // Sum-of-items cycle amount is computed at subscribe time from
125
+ // snapshot prices; store 0 as a placeholder.
126
+ amount: isSumOfItems ? 0 : Math.round(Number(form.amount) * 100),
127
+ currency: form.currency,
128
+ interval: form.interval,
129
+ intervalCount: Number(form.intervalCount) || 1,
130
+ features: form.features,
131
+ trialDays: form.trialDays ? Number(form.trialDays) : void 0,
132
+ pricingKind: form.pricingKind,
133
+ includes,
134
+ subscriptionDiscountPercent: discount,
135
+ badges,
136
+ groupId,
137
+ groupLabel,
138
+ groupRole,
139
+ ...membership
140
+ });
141
+ toast({ title: "Plan created" });
142
+ resetDirty();
143
+ router.push("/dashboard/subscriptions/plans");
144
+ }
145
+ } catch (e) {
146
+ toast({
147
+ title: "Error",
148
+ description: e instanceof Error ? e.message : "Failed to save plan",
149
+ variant: "destructive"
150
+ });
151
+ } finally {
152
+ setSaving(false);
153
+ }
154
+ }, [
155
+ tenantSlug,
156
+ saveDisabled,
157
+ isSumOfItems,
158
+ minItems,
159
+ maxItems,
160
+ form,
161
+ isEditing,
162
+ planId,
163
+ toast,
164
+ resetDirty,
165
+ router
166
+ ]);
167
+ return {
168
+ form,
169
+ setForm,
170
+ isEditing,
171
+ loadingPlan,
172
+ loadError,
173
+ saving,
174
+ saveDisabled,
175
+ blocker,
176
+ handleSave,
177
+ isDirty,
178
+ isSumOfItems
179
+ };
180
+ }
181
+ export {
182
+ usePlanForm
183
+ };
184
+ //# sourceMappingURL=use-plan-form.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/plan-editor/use-plan-form.ts"],"sourcesContent":["'use client';\n\nimport { useCallback, useEffect, useState } from 'react';\nimport { useRouter } from 'next/navigation';\nimport { useToast } from '@withpotter/ui-kit/use-toast';\nimport { useEditorDirtyTracking } from '@withpotter/components/editor-shared';\nimport { merchantSubscriptionsApi } from '@withpotter/lib/api/merchant-subscriptions';\nimport type { MerchantPlan } from '@withpotter/lib/api/types';\nimport { useTenantCurrency } from '@withpotter/hooks/use-tenant-currency';\nimport {\n EMPTY_PLAN_FORM,\n type PlanFormData,\n} from '@withpotter/pages-finance/dashboard/(finance)/subscriptions/_components/helpers';\n\nfunction planToForm(plan: MerchantPlan): PlanFormData {\n return {\n name: plan.name,\n description: plan.description || '',\n amount: String(plan.amount / 100),\n currency: plan.currency,\n interval: plan.interval,\n intervalCount: String(plan.intervalCount),\n features: plan.features || [],\n trialDays: plan.trialDays ? String(plan.trialDays) : '',\n pricingKind: plan.pricingKind ?? 'fixed',\n productIds: plan.includes?.productIds ?? [],\n minItems:\n plan.includes?.minItems != null ? String(plan.includes.minItems) : '',\n maxItems:\n plan.includes?.maxItems != null ? String(plan.includes.maxItems) : '',\n subscriptionDiscountPercent:\n plan.subscriptionDiscountPercent != null\n ? String(plan.subscriptionDiscountPercent)\n : '',\n badges: plan.badges ?? [],\n groupId: plan.groupId ?? '',\n groupLabel: plan.groupLabel ?? '',\n groupRole: plan.groupRole ?? '',\n // The id the plan already has, kept. Re-minting it from the name is how a\n // corrected typo used to become a different benefit.\n benefits: (plan.benefits ?? []).map((b) => ({ id: b.id, name: b.name })),\n memberDiscountPercent:\n plan.memberDiscountPercent != null\n ? String(plan.memberDiscountPercent)\n : '',\n freeServicesPerMonth:\n plan.freeServicesPerMonth != null\n ? String(plan.freeServicesPerMonth)\n : '',\n priorityBooking: Boolean(plan.priorityBooking),\n };\n}\n\ninterface UsePlanFormOptions {\n mode: 'create' | 'edit';\n tenantSlug: string | undefined;\n planId: string | undefined;\n}\n\nexport function usePlanForm({ mode, tenantSlug, planId }: UsePlanFormOptions) {\n const router = useRouter();\n const { toast } = useToast();\n const isEditing = mode === 'edit';\n\n /**\n * The workspace's currency, not a per-plan choice.\n *\n * Settings → Regional says the currency is \"used for all pricing across your\n * site and checkout\", and Paystack settles a subaccount in the currency it\n * was opened in. A per-plan picker offering four of them let a merchant\n * build a plan their account cannot settle — so the plan opens in the\n * workspace's, and the picker only appears for a plan that already carries\n * something else.\n */\n const tenantCurrency = useTenantCurrency();\n const [form, setForm] = useState<PlanFormData>(() => ({\n ...EMPTY_PLAN_FORM,\n currency: tenantCurrency,\n }));\n const [loadingPlan, setLoadingPlan] = useState(isEditing);\n const [loadError, setLoadError] = useState<string | null>(null);\n const [saving, setSaving] = useState(false);\n\n // ---- Load plan on edit -------------------------------------------------\n useEffect(() => {\n if (!isEditing || !tenantSlug || !planId) return;\n let cancelled = false;\n setLoadingPlan(true);\n setLoadError(null);\n merchantSubscriptionsApi\n .getPlan(tenantSlug, planId)\n .then((plan) => {\n if (!cancelled) setForm(planToForm(plan));\n })\n .catch((e: unknown) => {\n if (!cancelled)\n setLoadError(e instanceof Error ? e.message : 'Failed to load plan');\n })\n .finally(() => {\n if (!cancelled) setLoadingPlan(false);\n });\n return () => {\n cancelled = true;\n };\n }, [isEditing, tenantSlug, planId]);\n\n const { isDirty, resetDirty } = useEditorDirtyTracking([form]);\n\n const isSumOfItems = form.pricingKind === 'sum-of-items';\n\n /**\n * Why the button is dead, in the merchant's words.\n *\n * `saveDisabled` was a boolean and nothing else, so all three reasons — no\n * name, no amount, a sum-of-items plan with nothing in it — presented as a\n * greyed button with no field marked and no line of text. The blocker is\n * derived rather than stored so it cannot disagree with the disabled state\n * it explains.\n */\n const minItems = Number(form.minItems) || 0;\n const maxItems = Number(form.maxItems) || 0;\n\n const blocker = !form.name\n ? 'Give the plan a name.'\n : !isEditing && !isSumOfItems && !form.amount\n ? 'Set an amount to charge each cycle.'\n : isSumOfItems && form.productIds.length === 0\n ? 'Pick at least one item this plan covers.'\n : /**\n * The API's own rule, said before the API says it.\n *\n * `PlanIncludesDto` requires 1 ≤ minItems ≤ maxItems ≤ the number of\n * eligible items, and the editor was sending `undefined` for both\n * whenever the boxes were blank — which is every sum-of-items plan a\n * merchant did not think to fill in. That came back a 400 rendered\n * as \"Failed to save plan\", naming no field.\n */\n isSumOfItems && (minItems < 1 || maxItems < 1)\n ? 'Say how many items a member picks each cycle.'\n : isSumOfItems && maxItems < minItems\n ? 'The most items cannot be fewer than the fewest.'\n : isSumOfItems && maxItems > form.productIds.length\n ? 'The most items cannot exceed the items you picked.'\n : null;\n\n const saveDisabled = saving || blocker !== null;\n\n const handleSave = useCallback(async () => {\n if (!tenantSlug || saveDisabled) return;\n setSaving(true);\n\n const includes = isSumOfItems\n ? {\n productIds: form.productIds,\n minItems,\n maxItems,\n }\n : null;\n const discount = form.subscriptionDiscountPercent\n ? Number(form.subscriptionDiscountPercent)\n : null;\n const badges = form.badges.length > 0 ? form.badges : null;\n const groupId = form.groupId || null;\n const groupLabel = form.groupLabel || null;\n const groupRole = form.groupRole || null;\n\n /**\n * What the member gets. The id is minted once, when the benefit is added,\n * and travels with it — renaming a benefit is a rename, not a delete and\n * an insert.\n */\n const membership = {\n benefits: form.benefits,\n memberDiscountPercent: form.memberDiscountPercent\n ? Number(form.memberDiscountPercent)\n : undefined,\n freeServicesPerMonth: form.freeServicesPerMonth\n ? Number(form.freeServicesPerMonth)\n : undefined,\n priorityBooking: form.priorityBooking,\n };\n\n try {\n if (isEditing && planId) {\n await merchantSubscriptionsApi.updatePlan(tenantSlug, planId, {\n name: form.name,\n description: form.description || undefined,\n features: form.features,\n trialDays: form.trialDays ? Number(form.trialDays) : undefined,\n includes,\n subscriptionDiscountPercent: discount,\n badges,\n groupId,\n groupLabel,\n groupRole,\n ...membership,\n });\n toast({ title: 'Plan updated' });\n resetDirty();\n } else {\n await merchantSubscriptionsApi.createPlan(tenantSlug, {\n name: form.name,\n description: form.description || undefined,\n // Sum-of-items cycle amount is computed at subscribe time from\n // snapshot prices; store 0 as a placeholder.\n amount: isSumOfItems ? 0 : Math.round(Number(form.amount) * 100),\n currency: form.currency,\n interval: form.interval,\n intervalCount: Number(form.intervalCount) || 1,\n features: form.features,\n trialDays: form.trialDays ? Number(form.trialDays) : undefined,\n pricingKind: form.pricingKind,\n includes,\n subscriptionDiscountPercent: discount,\n badges,\n groupId,\n groupLabel,\n groupRole,\n ...membership,\n });\n toast({ title: 'Plan created' });\n resetDirty();\n router.push('/dashboard/subscriptions/plans');\n }\n } catch (e) {\n // The API says which rule was broken. Swallowing it for a fixed string\n // is how a cross-field failure reads as a network problem.\n toast({\n title: 'Error',\n description: e instanceof Error ? e.message : 'Failed to save plan',\n variant: 'destructive',\n });\n } finally {\n setSaving(false);\n }\n }, [\n tenantSlug,\n saveDisabled,\n isSumOfItems,\n minItems,\n maxItems,\n form,\n isEditing,\n planId,\n toast,\n resetDirty,\n router,\n ]);\n\n return {\n form,\n setForm,\n isEditing,\n loadingPlan,\n loadError,\n saving,\n saveDisabled,\n blocker,\n handleSave,\n isDirty,\n isSumOfItems,\n };\n}\n"],"mappings":";AAEA,SAAS,aAAa,WAAW,gBAAgB;AACjD,SAAS,iBAAiB;AAC1B,SAAS,gBAAgB;AACzB,SAAS,8BAA8B;AACvC,SAAS,gCAAgC;AAEzC,SAAS,yBAAyB;AAClC;AAAA,EACE;AAAA,OAEK;AAEP,SAAS,WAAW,MAAkC;AACpD,SAAO;AAAA,IACL,MAAM,KAAK;AAAA,IACX,aAAa,KAAK,eAAe;AAAA,IACjC,QAAQ,OAAO,KAAK,SAAS,GAAG;AAAA,IAChC,UAAU,KAAK;AAAA,IACf,UAAU,KAAK;AAAA,IACf,eAAe,OAAO,KAAK,aAAa;AAAA,IACxC,UAAU,KAAK,YAAY,CAAC;AAAA,IAC5B,WAAW,KAAK,YAAY,OAAO,KAAK,SAAS,IAAI;AAAA,IACrD,aAAa,KAAK,eAAe;AAAA,IACjC,YAAY,KAAK,UAAU,cAAc,CAAC;AAAA,IAC1C,UACE,KAAK,UAAU,YAAY,OAAO,OAAO,KAAK,SAAS,QAAQ,IAAI;AAAA,IACrE,UACE,KAAK,UAAU,YAAY,OAAO,OAAO,KAAK,SAAS,QAAQ,IAAI;AAAA,IACrE,6BACE,KAAK,+BAA+B,OAChC,OAAO,KAAK,2BAA2B,IACvC;AAAA,IACN,QAAQ,KAAK,UAAU,CAAC;AAAA,IACxB,SAAS,KAAK,WAAW;AAAA,IACzB,YAAY,KAAK,cAAc;AAAA,IAC/B,WAAW,KAAK,aAAa;AAAA;AAAA;AAAA,IAG7B,WAAW,KAAK,YAAY,CAAC,GAAG,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,MAAM,EAAE,KAAK,EAAE;AAAA,IACvE,uBACE,KAAK,yBAAyB,OAC1B,OAAO,KAAK,qBAAqB,IACjC;AAAA,IACN,sBACE,KAAK,wBAAwB,OACzB,OAAO,KAAK,oBAAoB,IAChC;AAAA,IACN,iBAAiB,QAAQ,KAAK,eAAe;AAAA,EAC/C;AACF;AAQO,SAAS,YAAY,EAAE,MAAM,YAAY,OAAO,GAAuB;AAC5E,QAAM,SAAS,UAAU;AACzB,QAAM,EAAE,MAAM,IAAI,SAAS;AAC3B,QAAM,YAAY,SAAS;AAY3B,QAAM,iBAAiB,kBAAkB;AACzC,QAAM,CAAC,MAAM,OAAO,IAAI,SAAuB,OAAO;AAAA,IACpD,GAAG;AAAA,IACH,UAAU;AAAA,EACZ,EAAE;AACF,QAAM,CAAC,aAAa,cAAc,IAAI,SAAS,SAAS;AACxD,QAAM,CAAC,WAAW,YAAY,IAAI,SAAwB,IAAI;AAC9D,QAAM,CAAC,QAAQ,SAAS,IAAI,SAAS,KAAK;AAG1C,YAAU,MAAM;AACd,QAAI,CAAC,aAAa,CAAC,cAAc,CAAC,OAAQ;AAC1C,QAAI,YAAY;AAChB,mBAAe,IAAI;AACnB,iBAAa,IAAI;AACjB,6BACG,QAAQ,YAAY,MAAM,EAC1B,KAAK,CAAC,SAAS;AACd,UAAI,CAAC,UAAW,SAAQ,WAAW,IAAI,CAAC;AAAA,IAC1C,CAAC,EACA,MAAM,CAAC,MAAe;AACrB,UAAI,CAAC;AACH,qBAAa,aAAa,QAAQ,EAAE,UAAU,qBAAqB;AAAA,IACvE,CAAC,EACA,QAAQ,MAAM;AACb,UAAI,CAAC,UAAW,gBAAe,KAAK;AAAA,IACtC,CAAC;AACH,WAAO,MAAM;AACX,kBAAY;AAAA,IACd;AAAA,EACF,GAAG,CAAC,WAAW,YAAY,MAAM,CAAC;AAElC,QAAM,EAAE,SAAS,WAAW,IAAI,uBAAuB,CAAC,IAAI,CAAC;AAE7D,QAAM,eAAe,KAAK,gBAAgB;AAW1C,QAAM,WAAW,OAAO,KAAK,QAAQ,KAAK;AAC1C,QAAM,WAAW,OAAO,KAAK,QAAQ,KAAK;AAE1C,QAAM,UAAU,CAAC,KAAK,OAClB,0BACA,CAAC,aAAa,CAAC,gBAAgB,CAAC,KAAK,SACnC,wCACA,gBAAgB,KAAK,WAAW,WAAW,IACzC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAUA,iBAAiB,WAAW,KAAK,WAAW,KAC1C,kDACA,gBAAgB,WAAW,WACzB,oDACA,gBAAgB,WAAW,KAAK,WAAW,SACzC,uDACA;AAAA;AAEd,QAAM,eAAe,UAAU,YAAY;AAE3C,QAAM,aAAa,YAAY,YAAY;AACzC,QAAI,CAAC,cAAc,aAAc;AACjC,cAAU,IAAI;AAEd,UAAM,WAAW,eACb;AAAA,MACE,YAAY,KAAK;AAAA,MACjB;AAAA,MACA;AAAA,IACF,IACA;AACJ,UAAM,WAAW,KAAK,8BAClB,OAAO,KAAK,2BAA2B,IACvC;AACJ,UAAM,SAAS,KAAK,OAAO,SAAS,IAAI,KAAK,SAAS;AACtD,UAAM,UAAU,KAAK,WAAW;AAChC,UAAM,aAAa,KAAK,cAAc;AACtC,UAAM,YAAY,KAAK,aAAa;AAOpC,UAAM,aAAa;AAAA,MACjB,UAAU,KAAK;AAAA,MACf,uBAAuB,KAAK,wBACxB,OAAO,KAAK,qBAAqB,IACjC;AAAA,MACJ,sBAAsB,KAAK,uBACvB,OAAO,KAAK,oBAAoB,IAChC;AAAA,MACJ,iBAAiB,KAAK;AAAA,IACxB;AAEA,QAAI;AACF,UAAI,aAAa,QAAQ;AACvB,cAAM,yBAAyB,WAAW,YAAY,QAAQ;AAAA,UAC5D,MAAM,KAAK;AAAA,UACX,aAAa,KAAK,eAAe;AAAA,UACjC,UAAU,KAAK;AAAA,UACf,WAAW,KAAK,YAAY,OAAO,KAAK,SAAS,IAAI;AAAA,UACrD;AAAA,UACA,6BAA6B;AAAA,UAC7B;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA,GAAG;AAAA,QACL,CAAC;AACD,cAAM,EAAE,OAAO,eAAe,CAAC;AAC/B,mBAAW;AAAA,MACb,OAAO;AACL,cAAM,yBAAyB,WAAW,YAAY;AAAA,UACpD,MAAM,KAAK;AAAA,UACX,aAAa,KAAK,eAAe;AAAA;AAAA;AAAA,UAGjC,QAAQ,eAAe,IAAI,KAAK,MAAM,OAAO,KAAK,MAAM,IAAI,GAAG;AAAA,UAC/D,UAAU,KAAK;AAAA,UACf,UAAU,KAAK;AAAA,UACf,eAAe,OAAO,KAAK,aAAa,KAAK;AAAA,UAC7C,UAAU,KAAK;AAAA,UACf,WAAW,KAAK,YAAY,OAAO,KAAK,SAAS,IAAI;AAAA,UACrD,aAAa,KAAK;AAAA,UAClB;AAAA,UACA,6BAA6B;AAAA,UAC7B;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA,GAAG;AAAA,QACL,CAAC;AACD,cAAM,EAAE,OAAO,eAAe,CAAC;AAC/B,mBAAW;AACX,eAAO,KAAK,gCAAgC;AAAA,MAC9C;AAAA,IACF,SAAS,GAAG;AAGV,YAAM;AAAA,QACJ,OAAO;AAAA,QACP,aAAa,aAAa,QAAQ,EAAE,UAAU;AAAA,QAC9C,SAAS;AAAA,MACX,CAAC;AAAA,IACH,UAAE;AACA,gBAAU,KAAK;AAAA,IACjB;AAAA,EACF,GAAG;AAAA,IACD;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AAED,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;","names":[]}