@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.
- package/dist/ServiceWorkerRegistrar.d.ts +6 -0
- package/dist/ServiceWorkerRegistrar.js +31 -0
- package/dist/ServiceWorkerRegistrar.js.map +1 -0
- package/dist/ai-soon/ai-coming-soon.d.ts +11 -0
- package/dist/ai-soon/ai-coming-soon.js +142 -0
- package/dist/ai-soon/ai-coming-soon.js.map +1 -0
- package/dist/ai-soon/catch-game.d.ts +9 -0
- package/dist/ai-soon/catch-game.js +194 -0
- package/dist/ai-soon/catch-game.js.map +1 -0
- package/dist/ai-soon/hero-scene.d.ts +12 -0
- package/dist/ai-soon/hero-scene.js +236 -0
- package/dist/ai-soon/hero-scene.js.map +1 -0
- package/dist/analytics/PostHogProvider.d.ts +28 -0
- package/dist/analytics/PostHogProvider.js +126 -0
- package/dist/analytics/PostHogProvider.js.map +1 -0
- package/dist/analytics/event-analytics-panel.d.ts +27 -0
- package/dist/analytics/event-analytics-panel.js +137 -0
- package/dist/analytics/event-analytics-panel.js.map +1 -0
- package/dist/analytics/index.d.ts +3 -0
- package/dist/analytics/index.js +17 -0
- package/dist/analytics/index.js.map +1 -0
- package/dist/analytics/product-insights-consent-prompt.d.ts +14 -0
- package/dist/analytics/product-insights-consent-prompt.js +104 -0
- package/dist/analytics/product-insights-consent-prompt.js.map +1 -0
- package/dist/analytics/product-insights-policy.d.ts +16 -0
- package/dist/analytics/product-insights-policy.js +127 -0
- package/dist/analytics/product-insights-policy.js.map +1 -0
- package/dist/analytics/product-performance-panel.d.ts +35 -0
- package/dist/analytics/product-performance-panel.js +162 -0
- package/dist/analytics/product-performance-panel.js.map +1 -0
- package/dist/analytics/share-links-panel.d.ts +19 -0
- package/dist/analytics/share-links-panel.js +192 -0
- package/dist/analytics/share-links-panel.js.map +1 -0
- package/dist/analytics.d.ts +1 -0
- package/dist/analytics.js +1 -0
- package/dist/auth/dark-entry-theme.d.ts +1 -0
- package/dist/auth/dark-entry-theme.js +19 -0
- package/dist/auth/dark-entry-theme.js.map +1 -0
- package/dist/auth/google-signin-button.d.ts +22 -0
- package/dist/auth/google-signin-button.js +103 -0
- package/dist/auth/google-signin-button.js.map +1 -0
- package/dist/batch-run-provider.d.ts +64 -0
- package/dist/batch-run-provider.js +189 -0
- package/dist/batch-run-provider.js.map +1 -0
- package/dist/behaviors/address-suggestions.d.ts +12 -0
- package/dist/behaviors/address-suggestions.js +41 -0
- package/dist/behaviors/address-suggestions.js.map +1 -0
- package/dist/behaviors/behavior-config-section.d.ts +75 -0
- package/dist/behaviors/behavior-config-section.js +197 -0
- package/dist/behaviors/behavior-config-section.js.map +1 -0
- package/dist/behaviors/blocked-dates-field.d.ts +6 -0
- package/dist/behaviors/blocked-dates-field.js +73 -0
- package/dist/behaviors/blocked-dates-field.js.map +1 -0
- package/dist/behaviors/bookable-config-panel.d.ts +50 -0
- package/dist/behaviors/bookable-config-panel.js +634 -0
- package/dist/behaviors/bookable-config-panel.js.map +1 -0
- package/dist/behaviors/booking-actions.d.ts +74 -0
- package/dist/behaviors/booking-actions.js +350 -0
- package/dist/behaviors/booking-actions.js.map +1 -0
- package/dist/behaviors/booking-location-field.d.ts +5 -0
- package/dist/behaviors/booking-location-field.js +183 -0
- package/dist/behaviors/booking-location-field.js.map +1 -0
- package/dist/behaviors/booking-mode-selector.d.ts +5 -0
- package/dist/behaviors/booking-mode-selector.js +62 -0
- package/dist/behaviors/booking-mode-selector.js.map +1 -0
- package/dist/behaviors/downloadable-config-panel.d.ts +9 -0
- package/dist/behaviors/downloadable-config-panel.js +66 -0
- package/dist/behaviors/downloadable-config-panel.js.map +1 -0
- package/dist/behaviors/eligible-resources-picker.d.ts +13 -0
- package/dist/behaviors/eligible-resources-picker.js +87 -0
- package/dist/behaviors/eligible-resources-picker.js.map +1 -0
- package/dist/behaviors/gating-config-section.d.ts +24 -0
- package/dist/behaviors/gating-config-section.js +160 -0
- package/dist/behaviors/gating-config-section.js.map +1 -0
- package/dist/behaviors/index.d.ts +27 -0
- package/dist/behaviors/index.js +42 -0
- package/dist/behaviors/index.js.map +1 -0
- package/dist/behaviors/lead-capture-block.d.ts +33 -0
- package/dist/behaviors/lead-capture-block.js +284 -0
- package/dist/behaviors/lead-capture-block.js.map +1 -0
- package/dist/behaviors/rentable-config-panel.d.ts +12 -0
- package/dist/behaviors/rentable-config-panel.js +189 -0
- package/dist/behaviors/rentable-config-panel.js.map +1 -0
- package/dist/behaviors/resource-requirements-section.d.ts +16 -0
- package/dist/behaviors/resource-requirements-section.js +163 -0
- package/dist/behaviors/resource-requirements-section.js.map +1 -0
- package/dist/behaviors/service-staffing-section.d.ts +17 -0
- package/dist/behaviors/service-staffing-section.js +78 -0
- package/dist/behaviors/service-staffing-section.js.map +1 -0
- package/dist/behaviors/shippable-config-panel.d.ts +9 -0
- package/dist/behaviors/shippable-config-panel.js +111 -0
- package/dist/behaviors/shippable-config-panel.js.map +1 -0
- package/dist/behaviors/solo-availability-section.d.ts +1 -0
- package/dist/behaviors/solo-availability-section.js +90 -0
- package/dist/behaviors/solo-availability-section.js.map +1 -0
- package/dist/behaviors/staff-assignment-section.d.ts +18 -0
- package/dist/behaviors/staff-assignment-section.js +186 -0
- package/dist/behaviors/staff-assignment-section.js.map +1 -0
- package/dist/behaviors/subscribable-config-panel.d.ts +15 -0
- package/dist/behaviors/subscribable-config-panel.js +91 -0
- package/dist/behaviors/subscribable-config-panel.js.map +1 -0
- package/dist/behaviors/ticketed-config-panel.d.ts +18 -0
- package/dist/behaviors/ticketed-config-panel.js +854 -0
- package/dist/behaviors/ticketed-config-panel.js.map +1 -0
- package/dist/behaviors/use-rentable-siblings.d.ts +19 -0
- package/dist/behaviors/use-rentable-siblings.js +37 -0
- package/dist/behaviors/use-rentable-siblings.js.map +1 -0
- package/dist/behaviors.d.ts +1 -0
- package/dist/behaviors.js +1 -0
- package/dist/billing/cancel-subscription-dialog.d.ts +8 -0
- package/dist/billing/cancel-subscription-dialog.js +39 -0
- package/dist/billing/cancel-subscription-dialog.js.map +1 -0
- package/dist/billing/change-plan-dialog.d.ts +13 -0
- package/dist/billing/change-plan-dialog.js +45 -0
- package/dist/billing/change-plan-dialog.js.map +1 -0
- package/dist/billing/credits-tab.d.ts +8 -0
- package/dist/billing/credits-tab.js +53 -0
- package/dist/billing/credits-tab.js.map +1 -0
- package/dist/billing/email-billing-tab.d.ts +7 -0
- package/dist/billing/email-billing-tab.js +100 -0
- package/dist/billing/email-billing-tab.js.map +1 -0
- package/dist/billing/email-credits-modal.d.ts +13 -0
- package/dist/billing/email-credits-modal.js +146 -0
- package/dist/billing/email-credits-modal.js.map +1 -0
- package/dist/billing/helpers.d.ts +304 -0
- package/dist/billing/helpers.js +236 -0
- package/dist/billing/helpers.js.map +1 -0
- package/dist/billing/index.d.ts +15 -0
- package/dist/billing/index.js +40 -0
- package/dist/billing/index.js.map +1 -0
- package/dist/billing/invoices-tab.d.ts +11 -0
- package/dist/billing/invoices-tab.js +68 -0
- package/dist/billing/invoices-tab.js.map +1 -0
- package/dist/billing/messaging-billing-tab.d.ts +6 -0
- package/dist/billing/messaging-billing-tab.js +224 -0
- package/dist/billing/messaging-billing-tab.js.map +1 -0
- package/dist/billing/messaging-credits-modal.d.ts +13 -0
- package/dist/billing/messaging-credits-modal.js +159 -0
- package/dist/billing/messaging-credits-modal.js.map +1 -0
- package/dist/billing/overview-tab.d.ts +21 -0
- package/dist/billing/overview-tab.js +313 -0
- package/dist/billing/overview-tab.js.map +1 -0
- package/dist/billing/payment-methods-tab.d.ts +14 -0
- package/dist/billing/payment-methods-tab.js +129 -0
- package/dist/billing/payment-methods-tab.js.map +1 -0
- package/dist/billing/payments-tab.d.ts +22 -0
- package/dist/billing/payments-tab.js +83 -0
- package/dist/billing/payments-tab.js.map +1 -0
- package/dist/billing/plans-tab.d.ts +10 -0
- package/dist/billing/plans-tab.js +171 -0
- package/dist/billing/plans-tab.js.map +1 -0
- package/dist/billing/rates-tab.d.ts +13 -0
- package/dist/billing/rates-tab.js +359 -0
- package/dist/billing/rates-tab.js.map +1 -0
- package/dist/billing/storage-purchase-modal.d.ts +16 -0
- package/dist/billing/storage-purchase-modal.js +139 -0
- package/dist/billing/storage-purchase-modal.js.map +1 -0
- package/dist/billing.d.ts +1 -0
- package/dist/billing.js +1 -0
- package/dist/blog-editor/BlogTiptapEditor.d.ts +13 -0
- package/dist/blog-editor/BlogTiptapEditor.js +507 -0
- package/dist/blog-editor/BlogTiptapEditor.js.map +1 -0
- package/dist/blog-editor/extensions/editor-shortcuts.d.ts +3 -0
- package/dist/blog-editor/extensions/editor-shortcuts.js +20 -0
- package/dist/blog-editor/extensions/editor-shortcuts.js.map +1 -0
- package/dist/blog-editor/extensions/empty-line-plus-menu.d.ts +9 -0
- package/dist/blog-editor/extensions/empty-line-plus-menu.js +57 -0
- package/dist/blog-editor/extensions/empty-line-plus-menu.js.map +1 -0
- package/dist/blog-editor/extensions/image-upload.d.ts +18 -0
- package/dist/blog-editor/extensions/image-upload.js +240 -0
- package/dist/blog-editor/extensions/image-upload.js.map +1 -0
- package/dist/blog-editor/extensions/markdown-paste.d.ts +2 -0
- package/dist/blog-editor/extensions/markdown-paste.js +38 -0
- package/dist/blog-editor/extensions/markdown-paste.js.map +1 -0
- package/dist/blog-editor/extensions/slash-command.d.ts +19 -0
- package/dist/blog-editor/extensions/slash-command.js +57 -0
- package/dist/blog-editor/extensions/slash-command.js.map +1 -0
- package/dist/blog-editor/hooks/use-blog-draft.d.ts +19 -0
- package/dist/blog-editor/hooks/use-blog-draft.js +118 -0
- package/dist/blog-editor/hooks/use-blog-draft.js.map +1 -0
- package/dist/blog-editor/hooks/use-image-upload.d.ts +8 -0
- package/dist/blog-editor/hooks/use-image-upload.js +35 -0
- package/dist/blog-editor/hooks/use-image-upload.js.map +1 -0
- package/dist/blog-editor/markdown.d.ts +2 -0
- package/dist/blog-editor/markdown.js +108 -0
- package/dist/blog-editor/markdown.js.map +1 -0
- package/dist/blog-editor/menus/EditorCommandMenu.d.ts +15 -0
- package/dist/blog-editor/menus/EditorCommandMenu.js +40 -0
- package/dist/blog-editor/menus/EditorCommandMenu.js.map +1 -0
- package/dist/blog-editor/menus/EditorContextMenu.d.ts +11 -0
- package/dist/blog-editor/menus/EditorContextMenu.js +170 -0
- package/dist/blog-editor/menus/EditorContextMenu.js.map +1 -0
- package/dist/blog-editor/panels/CoverImageField.d.ts +9 -0
- package/dist/blog-editor/panels/CoverImageField.js +305 -0
- package/dist/blog-editor/panels/CoverImageField.js.map +1 -0
- package/dist/blog-editor/panels/ImageAltDialog.d.ts +11 -0
- package/dist/blog-editor/panels/ImageAltDialog.js +107 -0
- package/dist/blog-editor/panels/ImageAltDialog.js.map +1 -0
- package/dist/blog-editor/panels/LinkModal.d.ts +8 -0
- package/dist/blog-editor/panels/LinkModal.js +59 -0
- package/dist/blog-editor/panels/LinkModal.js.map +1 -0
- package/dist/blog-editor/panels/PostSettingsPanel.d.ts +10 -0
- package/dist/blog-editor/panels/PostSettingsPanel.js +181 -0
- package/dist/blog-editor/panels/PostSettingsPanel.js.map +1 -0
- package/dist/blog-editor/panels/ShareModal.d.ts +8 -0
- package/dist/blog-editor/panels/ShareModal.js +94 -0
- package/dist/blog-editor/panels/ShareModal.js.map +1 -0
- package/dist/blog-editor/reader-mode.module.css +174 -0
- package/dist/blog-editor/toolbars/EditorBubbleMenu.d.ts +7 -0
- package/dist/blog-editor/toolbars/EditorBubbleMenu.js +167 -0
- package/dist/blog-editor/toolbars/EditorBubbleMenu.js.map +1 -0
- package/dist/blog-editor/toolbars/EditorStickyToolbar.d.ts +18 -0
- package/dist/blog-editor/toolbars/EditorStickyToolbar.js +296 -0
- package/dist/blog-editor/toolbars/EditorStickyToolbar.js.map +1 -0
- package/dist/blog-editor/types.d.ts +23 -0
- package/dist/blog-editor/types.js +31 -0
- package/dist/blog-editor/types.js.map +1 -0
- package/dist/bookings/resource-time-grid.d.ts +42 -0
- package/dist/bookings/resource-time-grid.js +139 -0
- package/dist/bookings/resource-time-grid.js.map +1 -0
- package/dist/business-setup/archetype-art.d.ts +40 -0
- package/dist/business-setup/archetype-art.js +45 -0
- package/dist/business-setup/archetype-art.js.map +1 -0
- package/dist/business-setup/business-mark-field.d.ts +30 -0
- package/dist/business-setup/business-mark-field.js +58 -0
- package/dist/business-setup/business-mark-field.js.map +1 -0
- package/dist/business-setup/index.d.ts +7 -0
- package/dist/business-setup/index.js +17 -0
- package/dist/business-setup/index.js.map +1 -0
- package/dist/business-setup/provisionable-template.d.ts +21 -0
- package/dist/business-setup/provisionable-template.js +13 -0
- package/dist/business-setup/provisionable-template.js.map +1 -0
- package/dist/business-setup/setup-panel-art.d.ts +20 -0
- package/dist/business-setup/setup-panel-art.js +38 -0
- package/dist/business-setup/setup-panel-art.js.map +1 -0
- package/dist/business-setup/step-copy.d.ts +13 -0
- package/dist/business-setup/step-copy.js +23 -0
- package/dist/business-setup/step-copy.js.map +1 -0
- package/dist/business-setup/step-gate.d.ts +34 -0
- package/dist/business-setup/step-gate.js +21 -0
- package/dist/business-setup/step-gate.js.map +1 -0
- package/dist/business-setup/step-name.d.ts +56 -0
- package/dist/business-setup/step-name.js +235 -0
- package/dist/business-setup/step-name.js.map +1 -0
- package/dist/business-setup/step-plan.d.ts +28 -0
- package/dist/business-setup/step-plan.js +83 -0
- package/dist/business-setup/step-plan.js.map +1 -0
- package/dist/business-setup/step-shape.d.ts +21 -0
- package/dist/business-setup/step-shape.js +123 -0
- package/dist/business-setup/step-shape.js.map +1 -0
- package/dist/business-setup/step-template.d.ts +77 -0
- package/dist/business-setup/step-template.js +132 -0
- package/dist/business-setup/step-template.js.map +1 -0
- package/dist/business-setup/types.d.ts +55 -0
- package/dist/business-setup/types.js +17 -0
- package/dist/business-setup/types.js.map +1 -0
- package/dist/business-setup/use-business-setup.d.ts +102 -0
- package/dist/business-setup/use-business-setup.js +222 -0
- package/dist/business-setup/use-business-setup.js.map +1 -0
- package/dist/business-setup.d.ts +1 -0
- package/dist/business-setup.js +1 -0
- package/dist/charts/area-chart.d.ts +33 -0
- package/dist/charts/area-chart.js +180 -0
- package/dist/charts/area-chart.js.map +1 -0
- package/dist/charts/area-metric-card.d.ts +25 -0
- package/dist/charts/area-metric-card.js +88 -0
- package/dist/charts/area-metric-card.js.map +1 -0
- package/dist/charts/bar-chart.d.ts +17 -0
- package/dist/charts/bar-chart.js +160 -0
- package/dist/charts/bar-chart.js.map +1 -0
- package/dist/charts/cash-flow-chart.d.ts +31 -0
- package/dist/charts/cash-flow-chart.js +156 -0
- package/dist/charts/cash-flow-chart.js.map +1 -0
- package/dist/charts/chart-empty-state.d.ts +53 -0
- package/dist/charts/chart-empty-state.js +10 -0
- package/dist/charts/chart-empty-state.js.map +1 -0
- package/dist/charts/chart-theme.d.ts +40 -0
- package/dist/charts/chart-theme.js +72 -0
- package/dist/charts/chart-theme.js.map +1 -0
- package/dist/charts/charts.css +27 -0
- package/dist/charts/compare-tooltip.d.ts +32 -0
- package/dist/charts/compare-tooltip.js +53 -0
- package/dist/charts/compare-tooltip.js.map +1 -0
- package/dist/charts/donut-chart.d.ts +18 -0
- package/dist/charts/donut-chart.js +90 -0
- package/dist/charts/donut-chart.js.map +1 -0
- package/dist/charts/index.d.ts +31 -0
- package/dist/charts/index.js +29 -0
- package/dist/charts/index.js.map +1 -0
- package/dist/charts/labelled-bars.d.ts +20 -0
- package/dist/charts/labelled-bars.js +40 -0
- package/dist/charts/labelled-bars.js.map +1 -0
- package/dist/charts/rate-line.d.ts +22 -0
- package/dist/charts/rate-line.js +166 -0
- package/dist/charts/rate-line.js.map +1 -0
- package/dist/charts/revenue-spine-chart.d.ts +24 -0
- package/dist/charts/revenue-spine-chart.js +218 -0
- package/dist/charts/revenue-spine-chart.js.map +1 -0
- package/dist/charts/series-breakdown.d.ts +50 -0
- package/dist/charts/series-breakdown.js +293 -0
- package/dist/charts/series-breakdown.js.map +1 -0
- package/dist/charts/time-series-chart.d.ts +25 -0
- package/dist/charts/time-series-chart.js +267 -0
- package/dist/charts/time-series-chart.js.map +1 -0
- package/dist/charts/usage-bars.d.ts +38 -0
- package/dist/charts/usage-bars.js +146 -0
- package/dist/charts/usage-bars.js.map +1 -0
- package/dist/charts/usage-line.d.ts +18 -0
- package/dist/charts/usage-line.js +98 -0
- package/dist/charts/usage-line.js.map +1 -0
- package/dist/charts.d.ts +1 -0
- package/dist/charts.js +1 -0
- package/dist/collection-editor/collection-editor-content.d.ts +10 -0
- package/dist/collection-editor/collection-editor-content.js +282 -0
- package/dist/collection-editor/collection-editor-content.js.map +1 -0
- package/dist/collection-editor/collection-editor-page.d.ts +5 -0
- package/dist/collection-editor/collection-editor-page.js +231 -0
- package/dist/collection-editor/collection-editor-page.js.map +1 -0
- package/dist/collection-editor/collection-editor.d.ts +30 -0
- package/dist/collection-editor/collection-editor.js +115 -0
- package/dist/collection-editor/collection-editor.js.map +1 -0
- package/dist/collection-editor/collection-overview.d.ts +29 -0
- package/dist/collection-editor/collection-overview.js +334 -0
- package/dist/collection-editor/collection-overview.js.map +1 -0
- package/dist/collection-editor/collection-product-list.d.ts +9 -0
- package/dist/collection-editor/collection-product-list.js +130 -0
- package/dist/collection-editor/collection-product-list.js.map +1 -0
- package/dist/collection-editor/index.d.ts +2 -0
- package/dist/collection-editor/index.js +7 -0
- package/dist/collection-editor/index.js.map +1 -0
- package/dist/collection-editor/mobile-collection-editor.d.ts +21 -0
- package/dist/collection-editor/mobile-collection-editor.js +283 -0
- package/dist/collection-editor/mobile-collection-editor.js.map +1 -0
- package/dist/collection-editor/product-picker-modal.d.ts +6 -0
- package/dist/collection-editor/product-picker-modal.js +148 -0
- package/dist/collection-editor/product-picker-modal.js.map +1 -0
- package/dist/collection-editor.d.ts +1 -0
- package/dist/collection-editor.js +1 -0
- package/dist/command-palette/use-command-search.d.ts +88 -0
- package/dist/command-palette/use-command-search.js +218 -0
- package/dist/command-palette/use-command-search.js.map +1 -0
- package/dist/companion/companion-context.d.ts +29 -0
- package/dist/companion/companion-context.js +120 -0
- package/dist/companion/companion-context.js.map +1 -0
- package/dist/companion/companion-dock.d.ts +12 -0
- package/dist/companion/companion-dock.js +399 -0
- package/dist/companion/companion-dock.js.map +1 -0
- package/dist/connect/command-detail.d.ts +5 -0
- package/dist/connect/command-detail.js +93 -0
- package/dist/connect/command-detail.js.map +1 -0
- package/dist/connect/command-log.d.ts +5 -0
- package/dist/connect/command-log.js +106 -0
- package/dist/connect/command-log.js.map +1 -0
- package/dist/connect/connection-headline.d.ts +23 -0
- package/dist/connect/connection-headline.js +64 -0
- package/dist/connect/connection-headline.js.map +1 -0
- package/dist/connect/connection-history.d.ts +4 -0
- package/dist/connect/connection-history.js +64 -0
- package/dist/connect/connection-history.js.map +1 -0
- package/dist/connect/connection-resources.d.ts +4 -0
- package/dist/connect/connection-resources.js +92 -0
- package/dist/connect/connection-resources.js.map +1 -0
- package/dist/connect/connection-users.d.ts +5 -0
- package/dist/connect/connection-users.js +88 -0
- package/dist/connect/connection-users.js.map +1 -0
- package/dist/connect/consent-panel.d.ts +22 -0
- package/dist/connect/consent-panel.js +118 -0
- package/dist/connect/consent-panel.js.map +1 -0
- package/dist/connect/constraint-list.d.ts +19 -0
- package/dist/connect/constraint-list.js +64 -0
- package/dist/connect/constraint-list.js.map +1 -0
- package/dist/connect/customer-message-trace.d.ts +5 -0
- package/dist/connect/customer-message-trace.js +167 -0
- package/dist/connect/customer-message-trace.js.map +1 -0
- package/dist/connect/delivery-health.d.ts +1 -0
- package/dist/connect/delivery-health.js +69 -0
- package/dist/connect/delivery-health.js.map +1 -0
- package/dist/connect/identity-card.d.ts +4 -0
- package/dist/connect/identity-card.js +161 -0
- package/dist/connect/identity-card.js.map +1 -0
- package/dist/connect/needs-you.d.ts +23 -0
- package/dist/connect/needs-you.js +79 -0
- package/dist/connect/needs-you.js.map +1 -0
- package/dist/connect/record-source.d.ts +42 -0
- package/dist/connect/record-source.js +53 -0
- package/dist/connect/record-source.js.map +1 -0
- package/dist/connect/record-trace.d.ts +24 -0
- package/dist/connect/record-trace.js +144 -0
- package/dist/connect/record-trace.js.map +1 -0
- package/dist/connect/resend-order-confirmation-button.d.ts +4 -0
- package/dist/connect/resend-order-confirmation-button.js +50 -0
- package/dist/connect/resend-order-confirmation-button.js.map +1 -0
- package/dist/connect/route-health.d.ts +22 -0
- package/dist/connect/route-health.js +43 -0
- package/dist/connect/route-health.js.map +1 -0
- package/dist/connect/sync-panel.d.ts +4 -0
- package/dist/connect/sync-panel.js +153 -0
- package/dist/connect/sync-panel.js.map +1 -0
- package/dist/connect/usage-panel.d.ts +10 -0
- package/dist/connect/usage-panel.js +25 -0
- package/dist/connect/usage-panel.js.map +1 -0
- package/dist/contact-customer.d.ts +31 -0
- package/dist/contact-customer.js +78 -0
- package/dist/contact-customer.js.map +1 -0
- package/dist/content-type-page/configured-content-list.d.ts +25 -0
- package/dist/content-type-page/configured-content-list.js +114 -0
- package/dist/content-type-page/configured-content-list.js.map +1 -0
- package/dist/content-type-page/content-editor-overlays.d.ts +22 -0
- package/dist/content-type-page/content-editor-overlays.js +46 -0
- package/dist/content-type-page/content-editor-overlays.js.map +1 -0
- package/dist/content-type-page/content-type-page-state.d.ts +10 -0
- package/dist/content-type-page/content-type-page-state.js +52 -0
- package/dist/content-type-page/content-type-page-state.js.map +1 -0
- package/dist/content-type-page/fallback-content-list.d.ts +38 -0
- package/dist/content-type-page/fallback-content-list.js +309 -0
- package/dist/content-type-page/fallback-content-list.js.map +1 -0
- package/dist/content-type-page/use-content-list-model.d.ts +42 -0
- package/dist/content-type-page/use-content-list-model.js +206 -0
- package/dist/content-type-page/use-content-list-model.js.map +1 -0
- package/dist/content-type-page.d.ts +8 -0
- package/dist/content-type-page.js +798 -0
- package/dist/content-type-page.js.map +1 -0
- package/dist/content-type-stepper/behavior-steps.d.ts +3 -0
- package/dist/content-type-stepper/behavior-steps.js +203 -0
- package/dist/content-type-stepper/behavior-steps.js.map +1 -0
- package/dist/content-type-stepper/product-steps.d.ts +20 -0
- package/dist/content-type-stepper/product-steps.js +219 -0
- package/dist/content-type-stepper/product-steps.js.map +1 -0
- package/dist/content-type-stepper/types.d.ts +86 -0
- package/dist/content-type-stepper/types.js +28 -0
- package/dist/content-type-stepper/types.js.map +1 -0
- package/dist/content-type-stepper-panel.d.ts +3 -0
- package/dist/content-type-stepper-panel.js +322 -0
- package/dist/content-type-stepper-panel.js.map +1 -0
- package/dist/create-business-modal.d.ts +36 -0
- package/dist/create-business-modal.js +208 -0
- package/dist/create-business-modal.js.map +1 -0
- package/dist/custom-fields-step.d.ts +23 -0
- package/dist/custom-fields-step.js +379 -0
- package/dist/custom-fields-step.js.map +1 -0
- package/dist/customer-editor/customer-editor-content.d.ts +7 -0
- package/dist/customer-editor/customer-editor-content.js +160 -0
- package/dist/customer-editor/customer-editor-content.js.map +1 -0
- package/dist/customer-editor/customer-editor-page.d.ts +5 -0
- package/dist/customer-editor/customer-editor-page.js +224 -0
- package/dist/customer-editor/customer-editor-page.js.map +1 -0
- package/dist/customer-editor/customer-editor.d.ts +20 -0
- package/dist/customer-editor/customer-editor.js +96 -0
- package/dist/customer-editor/customer-editor.js.map +1 -0
- package/dist/customer-editor/index.d.ts +2 -0
- package/dist/customer-editor/index.js +7 -0
- package/dist/customer-editor/index.js.map +1 -0
- package/dist/customer-editor/member-plan-picker.d.ts +7 -0
- package/dist/customer-editor/member-plan-picker.js +118 -0
- package/dist/customer-editor/member-plan-picker.js.map +1 -0
- package/dist/customer-editor/mobile-customer-editor.d.ts +7 -0
- package/dist/customer-editor/mobile-customer-editor.js +138 -0
- package/dist/customer-editor/mobile-customer-editor.js.map +1 -0
- package/dist/customer-editor/phone-input.d.ts +15 -0
- package/dist/customer-editor/phone-input.js +254 -0
- package/dist/customer-editor/phone-input.js.map +1 -0
- package/dist/customer-editor.d.ts +1 -0
- package/dist/customer-editor.js +1 -0
- package/dist/customers/send-message-modal.d.ts +28 -0
- package/dist/customers/send-message-modal.js +103 -0
- package/dist/customers/send-message-modal.js.map +1 -0
- package/dist/dashboard/activity-feed.d.ts +23 -0
- package/dist/dashboard/activity-feed.js +147 -0
- package/dist/dashboard/activity-feed.js.map +1 -0
- package/dist/dashboard/activity-paid.d.ts +10 -0
- package/dist/dashboard/activity-paid.js +7 -0
- package/dist/dashboard/activity-paid.js.map +1 -0
- package/dist/dashboard/destination-alias-sync.d.ts +9 -0
- package/dist/dashboard/destination-alias-sync.js +88 -0
- package/dist/dashboard/destination-alias-sync.js.map +1 -0
- package/dist/dashboard/first-run-welcome.d.ts +6 -0
- package/dist/dashboard/first-run-welcome.js +113 -0
- package/dist/dashboard/first-run-welcome.js.map +1 -0
- package/dist/dashboard/getting-started-cta.d.ts +11 -0
- package/dist/dashboard/getting-started-cta.js +37 -0
- package/dist/dashboard/getting-started-cta.js.map +1 -0
- package/dist/dashboard/go-live-art.d.ts +24 -0
- package/dist/dashboard/go-live-art.js +93 -0
- package/dist/dashboard/go-live-art.js.map +1 -0
- package/dist/dashboard/go-live-checks-dialog.d.ts +24 -0
- package/dist/dashboard/go-live-checks-dialog.js +22 -0
- package/dist/dashboard/go-live-checks-dialog.js.map +1 -0
- package/dist/dashboard/go-live-now-dialog.d.ts +35 -0
- package/dist/dashboard/go-live-now-dialog.js +139 -0
- package/dist/dashboard/go-live-now-dialog.js.map +1 -0
- package/dist/dashboard/go-live-quick-setup-basics.d.ts +41 -0
- package/dist/dashboard/go-live-quick-setup-basics.js +147 -0
- package/dist/dashboard/go-live-quick-setup-basics.js.map +1 -0
- package/dist/dashboard/go-live-quick-setup.d.ts +71 -0
- package/dist/dashboard/go-live-quick-setup.js +340 -0
- package/dist/dashboard/go-live-quick-setup.js.map +1 -0
- package/dist/dashboard/go-live-setup-parts.d.ts +81 -0
- package/dist/dashboard/go-live-setup-parts.js +97 -0
- package/dist/dashboard/go-live-setup-parts.js.map +1 -0
- package/dist/dashboard/go-live-step-art.d.ts +22 -0
- package/dist/dashboard/go-live-step-art.js +86 -0
- package/dist/dashboard/go-live-step-art.js.map +1 -0
- package/dist/dashboard/go-live-step-dialog.d.ts +40 -0
- package/dist/dashboard/go-live-step-dialog.js +52 -0
- package/dist/dashboard/go-live-step-dialog.js.map +1 -0
- package/dist/dashboard/go-live-steps.d.ts +35 -0
- package/dist/dashboard/go-live-steps.js +93 -0
- package/dist/dashboard/go-live-steps.js.map +1 -0
- package/dist/dashboard/home/ask-assembling.d.ts +18 -0
- package/dist/dashboard/home/ask-assembling.js +77 -0
- package/dist/dashboard/home/ask-assembling.js.map +1 -0
- package/dist/dashboard/home/ask-attachments.d.ts +12 -0
- package/dist/dashboard/home/ask-attachments.js +52 -0
- package/dist/dashboard/home/ask-attachments.js.map +1 -0
- package/dist/dashboard/home/ask-capabilities.d.ts +48 -0
- package/dist/dashboard/home/ask-capabilities.js +61 -0
- package/dist/dashboard/home/ask-capabilities.js.map +1 -0
- package/dist/dashboard/home/ask-controls.d.ts +33 -0
- package/dist/dashboard/home/ask-controls.js +65 -0
- package/dist/dashboard/home/ask-controls.js.map +1 -0
- package/dist/dashboard/home/ask-dictation-flow.d.ts +24 -0
- package/dist/dashboard/home/ask-dictation-flow.js +210 -0
- package/dist/dashboard/home/ask-dictation-flow.js.map +1 -0
- package/dist/dashboard/home/ask-glow.d.ts +23 -0
- package/dist/dashboard/home/ask-glow.js +51 -0
- package/dist/dashboard/home/ask-glow.js.map +1 -0
- package/dist/dashboard/home/ask-intent.d.ts +37 -0
- package/dist/dashboard/home/ask-intent.js +77 -0
- package/dist/dashboard/home/ask-intent.js.map +1 -0
- package/dist/dashboard/home/ask-mode-chip.d.ts +20 -0
- package/dist/dashboard/home/ask-mode-chip.js +70 -0
- package/dist/dashboard/home/ask-mode-chip.js.map +1 -0
- package/dist/dashboard/home/ask-model-chip.d.ts +1 -0
- package/dist/dashboard/home/ask-model-chip.js +62 -0
- package/dist/dashboard/home/ask-model-chip.js.map +1 -0
- package/dist/dashboard/home/ask-placeholders.d.ts +44 -0
- package/dist/dashboard/home/ask-placeholders.js +40 -0
- package/dist/dashboard/home/ask-placeholders.js.map +1 -0
- package/dist/dashboard/home/ask-quick-actions.d.ts +1 -0
- package/dist/dashboard/home/ask-quick-actions.js +37 -0
- package/dist/dashboard/home/ask-quick-actions.js.map +1 -0
- package/dist/dashboard/home/ask-results.d.ts +37 -0
- package/dist/dashboard/home/ask-results.js +243 -0
- package/dist/dashboard/home/ask-results.js.map +1 -0
- package/dist/dashboard/home/ask-send-button.d.ts +36 -0
- package/dist/dashboard/home/ask-send-button.js +69 -0
- package/dist/dashboard/home/ask-send-button.js.map +1 -0
- package/dist/dashboard/home/ask-support-attachments.d.ts +16 -0
- package/dist/dashboard/home/ask-support-attachments.js +74 -0
- package/dist/dashboard/home/ask-support-attachments.js.map +1 -0
- package/dist/dashboard/home/ask-voice.d.ts +12 -0
- package/dist/dashboard/home/ask-voice.js +76 -0
- package/dist/dashboard/home/ask-voice.js.map +1 -0
- package/dist/dashboard/home/card-scroller.d.ts +18 -0
- package/dist/dashboard/home/card-scroller.js +67 -0
- package/dist/dashboard/home/card-scroller.js.map +1 -0
- package/dist/dashboard/home/demo-data.d.ts +31 -0
- package/dist/dashboard/home/demo-data.js +217 -0
- package/dist/dashboard/home/demo-data.js.map +1 -0
- package/dist/dashboard/home/greeting.d.ts +48 -0
- package/dist/dashboard/home/greeting.js +154 -0
- package/dist/dashboard/home/greeting.js.map +1 -0
- package/dist/dashboard/home/home-add-item-links.d.ts +22 -0
- package/dist/dashboard/home/home-add-item-links.js +26 -0
- package/dist/dashboard/home/home-add-item-links.js.map +1 -0
- package/dist/dashboard/home/home-ask.d.ts +35 -0
- package/dist/dashboard/home/home-ask.js +295 -0
- package/dist/dashboard/home/home-ask.js.map +1 -0
- package/dist/dashboard/home/home-board-fold.d.ts +26 -0
- package/dist/dashboard/home/home-board-fold.js +34 -0
- package/dist/dashboard/home/home-board-fold.js.map +1 -0
- package/dist/dashboard/home/home-card.d.ts +62 -0
- package/dist/dashboard/home/home-card.js +27 -0
- package/dist/dashboard/home/home-card.js.map +1 -0
- package/dist/dashboard/home/home-hero.d.ts +50 -0
- package/dist/dashboard/home/home-hero.js +30 -0
- package/dist/dashboard/home/home-hero.js.map +1 -0
- package/dist/dashboard/home/home-people.d.ts +1 -0
- package/dist/dashboard/home/home-people.js +91 -0
- package/dist/dashboard/home/home-people.js.map +1 -0
- package/dist/dashboard/home/home-quick-actions.d.ts +17 -0
- package/dist/dashboard/home/home-quick-actions.js +104 -0
- package/dist/dashboard/home/home-quick-actions.js.map +1 -0
- package/dist/dashboard/home/home-today.d.ts +27 -0
- package/dist/dashboard/home/home-today.js +51 -0
- package/dist/dashboard/home/home-today.js.map +1 -0
- package/dist/dashboard/home/host-quick-actions.d.ts +19 -0
- package/dist/dashboard/home/host-quick-actions.js +12 -0
- package/dist/dashboard/home/host-quick-actions.js.map +1 -0
- package/dist/dashboard/home/live-presence.d.ts +30 -0
- package/dist/dashboard/home/live-presence.js +64 -0
- package/dist/dashboard/home/live-presence.js.map +1 -0
- package/dist/dashboard/home/money-hero.d.ts +15 -0
- package/dist/dashboard/home/money-hero.js +200 -0
- package/dist/dashboard/home/money-hero.js.map +1 -0
- package/dist/dashboard/home/money-language.d.ts +32 -0
- package/dist/dashboard/home/money-language.js +27 -0
- package/dist/dashboard/home/money-language.js.map +1 -0
- package/dist/dashboard/home/money-snapshot.d.ts +48 -0
- package/dist/dashboard/home/money-snapshot.js +81 -0
- package/dist/dashboard/home/money-snapshot.js.map +1 -0
- package/dist/dashboard/home/next-up-sources.d.ts +172 -0
- package/dist/dashboard/home/next-up-sources.js +220 -0
- package/dist/dashboard/home/next-up-sources.js.map +1 -0
- package/dist/dashboard/home/panel.d.ts +98 -0
- package/dist/dashboard/home/panel.js +79 -0
- package/dist/dashboard/home/panel.js.map +1 -0
- package/dist/dashboard/home/person-activity.d.ts +27 -0
- package/dist/dashboard/home/person-activity.js +80 -0
- package/dist/dashboard/home/person-activity.js.map +1 -0
- package/dist/dashboard/home/search-tips.d.ts +1 -0
- package/dist/dashboard/home/search-tips.js +174 -0
- package/dist/dashboard/home/search-tips.js.map +1 -0
- package/dist/dashboard/home/use-ask-support.d.ts +60 -0
- package/dist/dashboard/home/use-ask-support.js +105 -0
- package/dist/dashboard/home/use-ask-support.js.map +1 -0
- package/dist/dashboard/home/use-business-arrival.d.ts +35 -0
- package/dist/dashboard/home/use-business-arrival.js +32 -0
- package/dist/dashboard/home/use-business-arrival.js.map +1 -0
- package/dist/dashboard/home/use-days-since-last-seen.d.ts +16 -0
- package/dist/dashboard/home/use-days-since-last-seen.js +46 -0
- package/dist/dashboard/home/use-days-since-last-seen.js.map +1 -0
- package/dist/dashboard/home/use-home-shape.d.ts +61 -0
- package/dist/dashboard/home/use-home-shape.js +41 -0
- package/dist/dashboard/home/use-home-shape.js.map +1 -0
- package/dist/dashboard/home/use-live-presence.d.ts +21 -0
- package/dist/dashboard/home/use-live-presence.js +84 -0
- package/dist/dashboard/home/use-live-presence.js.map +1 -0
- package/dist/dashboard/home/use-publish-site.d.ts +21 -0
- package/dist/dashboard/home/use-publish-site.js +35 -0
- package/dist/dashboard/home/use-publish-site.js.map +1 -0
- package/dist/dashboard/home/use-recent-screens.d.ts +12 -0
- package/dist/dashboard/home/use-recent-screens.js +70 -0
- package/dist/dashboard/home/use-recent-screens.js.map +1 -0
- package/dist/dashboard/home/widgets/activity-card.d.ts +20 -0
- package/dist/dashboard/home/widgets/activity-card.js +41 -0
- package/dist/dashboard/home/widgets/activity-card.js.map +1 -0
- package/dist/dashboard/home/widgets/activity-widget.d.ts +15 -0
- package/dist/dashboard/home/widgets/activity-widget.js +172 -0
- package/dist/dashboard/home/widgets/activity-widget.js.map +1 -0
- package/dist/dashboard/home/widgets/bill-widget.d.ts +25 -0
- package/dist/dashboard/home/widgets/bill-widget.js +96 -0
- package/dist/dashboard/home/widgets/bill-widget.js.map +1 -0
- package/dist/dashboard/home/widgets/credits-widget.d.ts +22 -0
- package/dist/dashboard/home/widgets/credits-widget.js +59 -0
- package/dist/dashboard/home/widgets/credits-widget.js.map +1 -0
- package/dist/dashboard/home/widgets/hardware-widget.d.ts +30 -0
- package/dist/dashboard/home/widgets/hardware-widget.js +115 -0
- package/dist/dashboard/home/widgets/hardware-widget.js.map +1 -0
- package/dist/dashboard/home/widgets/home-widgets.d.ts +14 -0
- package/dist/dashboard/home/widgets/home-widgets.js +237 -0
- package/dist/dashboard/home/widgets/home-widgets.js.map +1 -0
- package/dist/dashboard/home/widgets/host-widgets.d.ts +6 -0
- package/dist/dashboard/home/widgets/host-widgets.js +16 -0
- package/dist/dashboard/home/widgets/host-widgets.js.map +1 -0
- package/dist/dashboard/home/widgets/member-label.d.ts +11 -0
- package/dist/dashboard/home/widgets/member-label.js +10 -0
- package/dist/dashboard/home/widgets/member-label.js.map +1 -0
- package/dist/dashboard/home/widgets/middle-ellipsis.d.ts +5 -0
- package/dist/dashboard/home/widgets/middle-ellipsis.js +11 -0
- package/dist/dashboard/home/widgets/middle-ellipsis.js.map +1 -0
- package/dist/dashboard/home/widgets/money-context.d.ts +51 -0
- package/dist/dashboard/home/widgets/money-context.js +114 -0
- package/dist/dashboard/home/widgets/money-context.js.map +1 -0
- package/dist/dashboard/home/widgets/money-widgets.d.ts +10 -0
- package/dist/dashboard/home/widgets/money-widgets.js +169 -0
- package/dist/dashboard/home/widgets/money-widgets.js.map +1 -0
- package/dist/dashboard/home/widgets/owed-widget.d.ts +25 -0
- package/dist/dashboard/home/widgets/owed-widget.js +78 -0
- package/dist/dashboard/home/widgets/owed-widget.js.map +1 -0
- package/dist/dashboard/home/widgets/referral-modal.d.ts +30 -0
- package/dist/dashboard/home/widgets/referral-modal.js +91 -0
- package/dist/dashboard/home/widgets/referral-modal.js.map +1 -0
- package/dist/dashboard/home/widgets/referral-widget.d.ts +25 -0
- package/dist/dashboard/home/widgets/referral-widget.js +44 -0
- package/dist/dashboard/home/widgets/referral-widget.js.map +1 -0
- package/dist/dashboard/home/widgets/registry.d.ts +39 -0
- package/dist/dashboard/home/widgets/registry.js +392 -0
- package/dist/dashboard/home/widgets/registry.js.map +1 -0
- package/dist/dashboard/home/widgets/regular-reach.d.ts +10 -0
- package/dist/dashboard/home/widgets/regular-reach.js +60 -0
- package/dist/dashboard/home/widgets/regular-reach.js.map +1 -0
- package/dist/dashboard/home/widgets/regulars-widget.d.ts +13 -0
- package/dist/dashboard/home/widgets/regulars-widget.js +126 -0
- package/dist/dashboard/home/widgets/regulars-widget.js.map +1 -0
- package/dist/dashboard/home/widgets/revenue-series.d.ts +12 -0
- package/dist/dashboard/home/widgets/revenue-series.js +26 -0
- package/dist/dashboard/home/widgets/revenue-series.js.map +1 -0
- package/dist/dashboard/home/widgets/setup-steps.d.ts +86 -0
- package/dist/dashboard/home/widgets/setup-steps.js +175 -0
- package/dist/dashboard/home/widgets/setup-steps.js.map +1 -0
- package/dist/dashboard/home/widgets/setup-widget.d.ts +23 -0
- package/dist/dashboard/home/widgets/setup-widget.js +40 -0
- package/dist/dashboard/home/widgets/setup-widget.js.map +1 -0
- package/dist/dashboard/home/widgets/step-href.d.ts +4 -0
- package/dist/dashboard/home/widgets/step-href.js +58 -0
- package/dist/dashboard/home/widgets/step-href.js.map +1 -0
- package/dist/dashboard/home/widgets/step-labels.d.ts +6 -0
- package/dist/dashboard/home/widgets/step-labels.js +8 -0
- package/dist/dashboard/home/widgets/step-labels.js.map +1 -0
- package/dist/dashboard/home/widgets/team-widget.d.ts +1 -0
- package/dist/dashboard/home/widgets/team-widget.js +117 -0
- package/dist/dashboard/home/widgets/team-widget.js.map +1 -0
- package/dist/dashboard/home/widgets/types.d.ts +192 -0
- package/dist/dashboard/home/widgets/types.js +10 -0
- package/dist/dashboard/home/widgets/types.js.map +1 -0
- package/dist/dashboard/home/widgets/use-home-layout.d.ts +45 -0
- package/dist/dashboard/home/widgets/use-home-layout.js +220 -0
- package/dist/dashboard/home/widgets/use-home-layout.js.map +1 -0
- package/dist/dashboard/home/widgets/website-widget.d.ts +7 -0
- package/dist/dashboard/home/widgets/website-widget.js +229 -0
- package/dist/dashboard/home/widgets/website-widget.js.map +1 -0
- package/dist/dashboard/home/widgets/widget-art.d.ts +35 -0
- package/dist/dashboard/home/widgets/widget-art.js +40 -0
- package/dist/dashboard/home/widgets/widget-art.js.map +1 -0
- package/dist/dashboard/home/widgets/widget-empty.d.ts +38 -0
- package/dist/dashboard/home/widgets/widget-empty.js +46 -0
- package/dist/dashboard/home/widgets/widget-empty.js.map +1 -0
- package/dist/dashboard/home/widgets/widget-figure.d.ts +19 -0
- package/dist/dashboard/home/widgets/widget-figure.js +30 -0
- package/dist/dashboard/home/widgets/widget-figure.js.map +1 -0
- package/dist/dashboard/home/widgets/widget-frame.d.ts +50 -0
- package/dist/dashboard/home/widgets/widget-frame.js +38 -0
- package/dist/dashboard/home/widgets/widget-frame.js.map +1 -0
- package/dist/dashboard/home/widgets/widget-gallery.d.ts +45 -0
- package/dist/dashboard/home/widgets/widget-gallery.js +108 -0
- package/dist/dashboard/home/widgets/widget-gallery.js.map +1 -0
- package/dist/dashboard/home/widgets/widget-recents.d.ts +14 -0
- package/dist/dashboard/home/widgets/widget-recents.js +23 -0
- package/dist/dashboard/home/widgets/widget-recents.js.map +1 -0
- package/dist/dashboard/index.d.ts +5 -0
- package/dist/dashboard/index.js +11 -0
- package/dist/dashboard/index.js.map +1 -0
- package/dist/dashboard/page-intro-dialog.d.ts +25 -0
- package/dist/dashboard/page-intro-dialog.js +61 -0
- package/dist/dashboard/page-intro-dialog.js.map +1 -0
- package/dist/dashboard/page-transition-key.d.ts +7 -0
- package/dist/dashboard/page-transition-key.js +11 -0
- package/dist/dashboard/page-transition-key.js.map +1 -0
- package/dist/dashboard/page-transition.d.ts +40 -0
- package/dist/dashboard/page-transition.js +32 -0
- package/dist/dashboard/page-transition.js.map +1 -0
- package/dist/dashboard/site-setup-notice.d.ts +15 -0
- package/dist/dashboard/site-setup-notice.js +28 -0
- package/dist/dashboard/site-setup-notice.js.map +1 -0
- package/dist/dashboard/store-cannot-sell-gate.d.ts +39 -0
- package/dist/dashboard/store-cannot-sell-gate.js +59 -0
- package/dist/dashboard/store-cannot-sell-gate.js.map +1 -0
- package/dist/dashboard/take-payment-context.d.ts +3 -0
- package/dist/dashboard/take-payment-context.js +13 -0
- package/dist/dashboard/take-payment-context.js.map +1 -0
- package/dist/dashboard/template-category-picker.d.ts +19 -0
- package/dist/dashboard/template-category-picker.js +99 -0
- package/dist/dashboard/template-category-picker.js.map +1 -0
- package/dist/dashboard/template-status-card.d.ts +20 -0
- package/dist/dashboard/template-status-card.js +171 -0
- package/dist/dashboard/template-status-card.js.map +1 -0
- package/dist/dashboard-blockers.d.ts +39 -0
- package/dist/dashboard-blockers.js +74 -0
- package/dist/dashboard-blockers.js.map +1 -0
- package/dist/dashboard-empty-state.d.ts +1 -0
- package/dist/dashboard-empty-state.js +273 -0
- package/dist/dashboard-empty-state.js.map +1 -0
- package/dist/dashboard.d.ts +1 -0
- package/dist/dashboard.js +1 -0
- package/dist/digital-files-block.d.ts +11 -0
- package/dist/digital-files-block.js +201 -0
- package/dist/digital-files-block.js.map +1 -0
- package/dist/discount-editor/discount-editor-content.d.ts +8 -0
- package/dist/discount-editor/discount-editor-content.js +399 -0
- package/dist/discount-editor/discount-editor-content.js.map +1 -0
- package/dist/discount-editor/discount-editor-page.d.ts +5 -0
- package/dist/discount-editor/discount-editor-page.js +340 -0
- package/dist/discount-editor/discount-editor-page.js.map +1 -0
- package/dist/discount-editor/discount-editor.d.ts +15 -0
- package/dist/discount-editor/discount-editor.js +120 -0
- package/dist/discount-editor/discount-editor.js.map +1 -0
- package/dist/discount-editor/discount-performance.d.ts +20 -0
- package/dist/discount-editor/discount-performance.js +101 -0
- package/dist/discount-editor/discount-performance.js.map +1 -0
- package/dist/discount-editor/index.d.ts +2 -0
- package/dist/discount-editor/index.js +7 -0
- package/dist/discount-editor/index.js.map +1 -0
- package/dist/discount-editor/mobile-discount-editor.d.ts +8 -0
- package/dist/discount-editor/mobile-discount-editor.js +390 -0
- package/dist/discount-editor/mobile-discount-editor.js.map +1 -0
- package/dist/discount-editor/product-scope-picker.d.ts +7 -0
- package/dist/discount-editor/product-scope-picker.js +246 -0
- package/dist/discount-editor/product-scope-picker.js.map +1 -0
- package/dist/discount-editor/tier-gate-picker.d.ts +20 -0
- package/dist/discount-editor/tier-gate-picker.js +68 -0
- package/dist/discount-editor/tier-gate-picker.js.map +1 -0
- package/dist/discount-editor.d.ts +1 -0
- package/dist/discount-editor.js +1 -0
- package/dist/duplicate-workspace-modal.d.ts +7 -0
- package/dist/duplicate-workspace-modal.js +122 -0
- package/dist/duplicate-workspace-modal.js.map +1 -0
- package/dist/dynamic-form/fields-basic.d.ts +33 -0
- package/dist/dynamic-form/fields-basic.js +357 -0
- package/dist/dynamic-form/fields-basic.js.map +1 -0
- package/dist/dynamic-form/fields-content-select.d.ts +17 -0
- package/dist/dynamic-form/fields-content-select.js +399 -0
- package/dist/dynamic-form/fields-content-select.js.map +1 -0
- package/dist/dynamic-form/fields-media.d.ts +20 -0
- package/dist/dynamic-form/fields-media.js +337 -0
- package/dist/dynamic-form/fields-media.js.map +1 -0
- package/dist/dynamic-form/fields-reference.d.ts +10 -0
- package/dist/dynamic-form/fields-reference.js +271 -0
- package/dist/dynamic-form/fields-reference.js.map +1 -0
- package/dist/dynamic-form/fields-select.d.ts +13 -0
- package/dist/dynamic-form/fields-select.js +343 -0
- package/dist/dynamic-form/fields-select.js.map +1 -0
- package/dist/dynamic-form/index.d.ts +27 -0
- package/dist/dynamic-form/index.js +288 -0
- package/dist/dynamic-form/index.js.map +1 -0
- package/dist/dynamic-form/shared.d.ts +47 -0
- package/dist/dynamic-form/shared.js +111 -0
- package/dist/dynamic-form/shared.js.map +1 -0
- package/dist/dynamic-form.d.ts +1 -0
- package/dist/dynamic-form.js +1 -0
- package/dist/editor-agent/ask-ai-popover.d.ts +19 -0
- package/dist/editor-agent/ask-ai-popover.js +221 -0
- package/dist/editor-agent/ask-ai-popover.js.map +1 -0
- package/dist/editor-shared/floating-save-bar.d.ts +15 -0
- package/dist/editor-shared/floating-save-bar.js +47 -0
- package/dist/editor-shared/floating-save-bar.js.map +1 -0
- package/dist/editor-shared/index.d.ts +3 -0
- package/dist/editor-shared/index.js +9 -0
- package/dist/editor-shared/index.js.map +1 -0
- package/dist/editor-shared/mobile-editor-section.d.ts +13 -0
- package/dist/editor-shared/mobile-editor-section.js +73 -0
- package/dist/editor-shared/mobile-editor-section.js.map +1 -0
- package/dist/editor-shared/use-editor-dirty-tracking.d.ts +12 -0
- package/dist/editor-shared/use-editor-dirty-tracking.js +26 -0
- package/dist/editor-shared/use-editor-dirty-tracking.js.map +1 -0
- package/dist/editor-shared.d.ts +1 -0
- package/dist/editor-shared.js +1 -0
- package/dist/feature-toggles-step.d.ts +12 -0
- package/dist/feature-toggles-step.js +104 -0
- package/dist/feature-toggles-step.js.map +1 -0
- package/dist/features/booking-editor.d.ts +6 -0
- package/dist/features/booking-editor.js +352 -0
- package/dist/features/booking-editor.js.map +1 -0
- package/dist/features/booking-summary.d.ts +35 -0
- package/dist/features/booking-summary.js +106 -0
- package/dist/features/booking-summary.js.map +1 -0
- package/dist/features/calendar-sync-pane.d.ts +14 -0
- package/dist/features/calendar-sync-pane.js +370 -0
- package/dist/features/calendar-sync-pane.js.map +1 -0
- package/dist/features/calendar-sync.d.ts +1 -0
- package/dist/features/calendar-sync.js +138 -0
- package/dist/features/calendar-sync.js.map +1 -0
- package/dist/features/collection-card.d.ts +28 -0
- package/dist/features/collection-card.js +84 -0
- package/dist/features/collection-card.js.map +1 -0
- package/dist/features/collections-grid.d.ts +30 -0
- package/dist/features/collections-grid.js +218 -0
- package/dist/features/collections-grid.js.map +1 -0
- package/dist/features/collections-helpers.d.ts +89 -0
- package/dist/features/collections-helpers.js +84 -0
- package/dist/features/collections-helpers.js.map +1 -0
- package/dist/features/collections.d.ts +2 -0
- package/dist/features/collections.js +261 -0
- package/dist/features/collections.js.map +1 -0
- package/dist/features/customer-form.d.ts +6 -0
- package/dist/features/customer-form.js +153 -0
- package/dist/features/customer-form.js.map +1 -0
- package/dist/features/discounts/discount-form-basics-step.d.ts +10 -0
- package/dist/features/discounts/discount-form-basics-step.js +174 -0
- package/dist/features/discounts/discount-form-basics-step.js.map +1 -0
- package/dist/features/discounts/discount-form-modal.d.ts +9 -0
- package/dist/features/discounts/discount-form-modal.js +143 -0
- package/dist/features/discounts/discount-form-modal.js.map +1 -0
- package/dist/features/discounts/discount-form-rules-step.d.ts +9 -0
- package/dist/features/discounts/discount-form-rules-step.js +154 -0
- package/dist/features/discounts/discount-form-rules-step.js.map +1 -0
- package/dist/features/discounts/discount-form-settings-step.d.ts +8 -0
- package/dist/features/discounts/discount-form-settings-step.js +48 -0
- package/dist/features/discounts/discount-form-settings-step.js.map +1 -0
- package/dist/features/discounts/discount-helpers.d.ts +6 -0
- package/dist/features/discounts/discount-helpers.js +66 -0
- package/dist/features/discounts/discount-helpers.js.map +1 -0
- package/dist/features/discounts/discount-mark.d.ts +4 -0
- package/dist/features/discounts/discount-mark.js +54 -0
- package/dist/features/discounts/discount-mark.js.map +1 -0
- package/dist/features/discounts/discounts-panel.d.ts +16 -0
- package/dist/features/discounts/discounts-panel.js +301 -0
- package/dist/features/discounts/discounts-panel.js.map +1 -0
- package/dist/features/discounts/discounts-table.d.ts +33 -0
- package/dist/features/discounts/discounts-table.js +133 -0
- package/dist/features/discounts/discounts-table.js.map +1 -0
- package/dist/features/discounts.d.ts +2 -0
- package/dist/features/discounts.js +7 -0
- package/dist/features/discounts.js.map +1 -0
- package/dist/features/gallery.d.ts +1 -0
- package/dist/features/gallery.js +147 -0
- package/dist/features/gallery.js.map +1 -0
- package/dist/features/gift-card-artwork.d.ts +18 -0
- package/dist/features/gift-card-artwork.js +216 -0
- package/dist/features/gift-card-artwork.js.map +1 -0
- package/dist/features/gift-cards/gift-card-logic.d.ts +41 -0
- package/dist/features/gift-cards/gift-card-logic.js +65 -0
- package/dist/features/gift-cards/gift-card-logic.js.map +1 -0
- package/dist/features/gift-cards/gift-cards-feature.d.ts +1 -0
- package/dist/features/gift-cards/gift-cards-feature.js +1038 -0
- package/dist/features/gift-cards/gift-cards-feature.js.map +1 -0
- package/dist/features/gift-cards/gift-cards-panel.d.ts +14 -0
- package/dist/features/gift-cards/gift-cards-panel.js +224 -0
- package/dist/features/gift-cards/gift-cards-panel.js.map +1 -0
- package/dist/features/gift-cards/hint.d.ts +9 -0
- package/dist/features/gift-cards/hint.js +25 -0
- package/dist/features/gift-cards/hint.js.map +1 -0
- package/dist/features/gift-cards/index.d.ts +2 -0
- package/dist/features/gift-cards/index.js +7 -0
- package/dist/features/gift-cards/index.js.map +1 -0
- package/dist/features/gift-cards.d.ts +1 -0
- package/dist/features/gift-cards.js +1 -0
- package/dist/features/index.d.ts +8 -0
- package/dist/features/index.js +29 -0
- package/dist/features/index.js.map +1 -0
- package/dist/features/loyalty.d.ts +1 -0
- package/dist/features/loyalty.js +128 -0
- package/dist/features/loyalty.js.map +1 -0
- package/dist/features/offer-countdown.d.ts +14 -0
- package/dist/features/offer-countdown.js +35 -0
- package/dist/features/offer-countdown.js.map +1 -0
- package/dist/features/payments.d.ts +1 -0
- package/dist/features/payments.js +279 -0
- package/dist/features/payments.js.map +1 -0
- package/dist/features/product-form/basics-step.d.ts +44 -0
- package/dist/features/product-form/basics-step.js +381 -0
- package/dist/features/product-form/basics-step.js.map +1 -0
- package/dist/features/product-form/behaviors-step.d.ts +42 -0
- package/dist/features/product-form/behaviors-step.js +174 -0
- package/dist/features/product-form/behaviors-step.js.map +1 -0
- package/dist/features/product-form/currency-field.d.ts +13 -0
- package/dist/features/product-form/currency-field.js +51 -0
- package/dist/features/product-form/currency-field.js.map +1 -0
- package/dist/features/product-form/details-step.d.ts +35 -0
- package/dist/features/product-form/details-step.js +137 -0
- package/dist/features/product-form/details-step.js.map +1 -0
- package/dist/features/product-form/organize-step.d.ts +23 -0
- package/dist/features/product-form/organize-step.js +186 -0
- package/dist/features/product-form/organize-step.js.map +1 -0
- package/dist/features/product-form.d.ts +11 -0
- package/dist/features/product-form.js +802 -0
- package/dist/features/product-form.js.map +1 -0
- package/dist/features/product-picker.d.ts +26 -0
- package/dist/features/product-picker.js +115 -0
- package/dist/features/product-picker.js.map +1 -0
- package/dist/features/record-payment-modal.d.ts +49 -0
- package/dist/features/record-payment-modal.js +145 -0
- package/dist/features/record-payment-modal.js.map +1 -0
- package/dist/features/slot-picker.d.ts +42 -0
- package/dist/features/slot-picker.js +194 -0
- package/dist/features/slot-picker.js.map +1 -0
- package/dist/features/use-booking-form.d.ts +161 -0
- package/dist/features/use-booking-form.js +324 -0
- package/dist/features/use-booking-form.js.map +1 -0
- package/dist/features/use-booking-options.d.ts +14 -0
- package/dist/features/use-booking-options.js +57 -0
- package/dist/features/use-booking-options.js.map +1 -0
- package/dist/features/use-collections-data.d.ts +34 -0
- package/dist/features/use-collections-data.js +62 -0
- package/dist/features/use-collections-data.js.map +1 -0
- package/dist/features/use-collections-view.d.ts +13 -0
- package/dist/features/use-collections-view.js +13 -0
- package/dist/features/use-collections-view.js.map +1 -0
- package/dist/features/weekly-hours-editor.d.ts +26 -0
- package/dist/features/weekly-hours-editor.js +141 -0
- package/dist/features/weekly-hours-editor.js.map +1 -0
- package/dist/features.d.ts +1 -0
- package/dist/features.js +1 -0
- package/dist/feedback/admin-feedback-prompt.d.ts +1 -0
- package/dist/feedback/admin-feedback-prompt.js +47 -0
- package/dist/feedback/admin-feedback-prompt.js.map +1 -0
- package/dist/feedback/app-nps-dock.d.ts +40 -0
- package/dist/feedback/app-nps-dock.js +37 -0
- package/dist/feedback/app-nps-dock.js.map +1 -0
- package/dist/feedback/feature-adoption.d.ts +66 -0
- package/dist/feedback/feature-adoption.js +53 -0
- package/dist/feedback/feature-adoption.js.map +1 -0
- package/dist/feedback/feedback-docks.d.ts +24 -0
- package/dist/feedback/feedback-docks.js +27 -0
- package/dist/feedback/feedback-docks.js.map +1 -0
- package/dist/feedback/feedback-prompt-context.d.ts +97 -0
- package/dist/feedback/feedback-prompt-context.js +247 -0
- package/dist/feedback/feedback-prompt-context.js.map +1 -0
- package/dist/feedback/feedback-prompt.d.ts +64 -0
- package/dist/feedback/feedback-prompt.js +231 -0
- package/dist/feedback/feedback-prompt.js.map +1 -0
- package/dist/feedback/feedback-vote.d.ts +64 -0
- package/dist/feedback/feedback-vote.js +158 -0
- package/dist/feedback/feedback-vote.js.map +1 -0
- package/dist/feedback/flow-ces-dock.d.ts +20 -0
- package/dist/feedback/flow-ces-dock.js +41 -0
- package/dist/feedback/flow-ces-dock.js.map +1 -0
- package/dist/feedback/flow-ces.d.ts +43 -0
- package/dist/feedback/flow-ces.js +38 -0
- package/dist/feedback/flow-ces.js.map +1 -0
- package/dist/feedback/flow-completion.d.ts +30 -0
- package/dist/feedback/flow-completion.js +35 -0
- package/dist/feedback/flow-completion.js.map +1 -0
- package/dist/feedback/index.d.ts +13 -0
- package/dist/feedback/index.js +49 -0
- package/dist/feedback/index.js.map +1 -0
- package/dist/feedback/merchant-feedback-prompt.d.ts +6 -0
- package/dist/feedback/merchant-feedback-prompt.js +289 -0
- package/dist/feedback/merchant-feedback-prompt.js.map +1 -0
- package/dist/feedback/report-adoption.d.ts +55 -0
- package/dist/feedback/report-adoption.js +56 -0
- package/dist/feedback/report-adoption.js.map +1 -0
- package/dist/feedback/say-why.d.ts +26 -0
- package/dist/feedback/say-why.js +97 -0
- package/dist/feedback/say-why.js.map +1 -0
- package/dist/feedback/setup-csat-dock.d.ts +25 -0
- package/dist/feedback/setup-csat-dock.js +35 -0
- package/dist/feedback/setup-csat-dock.js.map +1 -0
- package/dist/feedback/voice-response-recorder.d.ts +11 -0
- package/dist/feedback/voice-response-recorder.js +176 -0
- package/dist/feedback/voice-response-recorder.js.map +1 -0
- package/dist/feedback-widget.d.ts +29 -0
- package/dist/feedback-widget.js +215 -0
- package/dist/feedback-widget.js.map +1 -0
- package/dist/feedback.d.ts +1 -0
- package/dist/feedback.js +1 -0
- package/dist/help/area-art.d.ts +33 -0
- package/dist/help/area-art.js +32 -0
- package/dist/help/area-art.js.map +1 -0
- package/dist/help/area-objects.d.ts +31 -0
- package/dist/help/area-objects.js +357 -0
- package/dist/help/area-objects.js.map +1 -0
- package/dist/help/area-palette.d.ts +48 -0
- package/dist/help/area-palette.js +26 -0
- package/dist/help/area-palette.js.map +1 -0
- package/dist/help/assistant-chat.d.ts +12 -0
- package/dist/help/assistant-chat.js +185 -0
- package/dist/help/assistant-chat.js.map +1 -0
- package/dist/help/assistant-reply.d.ts +21 -0
- package/dist/help/assistant-reply.js +19 -0
- package/dist/help/assistant-reply.js.map +1 -0
- package/dist/help/case-chat-panel.d.ts +34 -0
- package/dist/help/case-chat-panel.js +233 -0
- package/dist/help/case-chat-panel.js.map +1 -0
- package/dist/help/case-message.d.ts +12 -0
- package/dist/help/case-message.js +62 -0
- package/dist/help/case-message.js.map +1 -0
- package/dist/help/dispute-case.d.ts +15 -0
- package/dist/help/dispute-case.js +30 -0
- package/dist/help/dispute-case.js.map +1 -0
- package/dist/help/help-area-tile.d.ts +36 -0
- package/dist/help/help-area-tile.js +86 -0
- package/dist/help/help-area-tile.js.map +1 -0
- package/dist/help/help-topic-row.d.ts +27 -0
- package/dist/help/help-topic-row.js +111 -0
- package/dist/help/help-topic-row.js.map +1 -0
- package/dist/help/help-topics-view.d.ts +21 -0
- package/dist/help/help-topics-view.js +151 -0
- package/dist/help/help-topics-view.js.map +1 -0
- package/dist/help/support-cases-view.d.ts +16 -0
- package/dist/help/support-cases-view.js +181 -0
- package/dist/help/support-cases-view.js.map +1 -0
- package/dist/image-upload-modal.d.ts +48 -0
- package/dist/image-upload-modal.js +519 -0
- package/dist/image-upload-modal.js.map +1 -0
- package/dist/image-upload.d.ts +53 -0
- package/dist/image-upload.js +180 -0
- package/dist/image-upload.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -0
- package/dist/intent/index.d.ts +3 -0
- package/dist/intent/index.js +9 -0
- package/dist/intent/index.js.map +1 -0
- package/dist/intent/intent-filter-panel.d.ts +18 -0
- package/dist/intent/intent-filter-panel.js +67 -0
- package/dist/intent/intent-filter-panel.js.map +1 -0
- package/dist/intent/intent-order-detail.d.ts +32 -0
- package/dist/intent/intent-order-detail.js +33 -0
- package/dist/intent/intent-order-detail.js.map +1 -0
- package/dist/intent/intent-order-list.d.ts +24 -0
- package/dist/intent/intent-order-list.js +235 -0
- package/dist/intent/intent-order-list.js.map +1 -0
- package/dist/intent/sections/download-links-section.d.ts +14 -0
- package/dist/intent/sections/download-links-section.js +65 -0
- package/dist/intent/sections/download-links-section.js.map +1 -0
- package/dist/intent/sections/event-tickets/attendee-list-section.d.ts +8 -0
- package/dist/intent/sections/event-tickets/attendee-list-section.js +54 -0
- package/dist/intent/sections/event-tickets/attendee-list-section.js.map +1 -0
- package/dist/intent/sections/event-tickets/check-in-status-section.d.ts +8 -0
- package/dist/intent/sections/event-tickets/check-in-status-section.js +64 -0
- package/dist/intent/sections/event-tickets/check-in-status-section.js.map +1 -0
- package/dist/intent/sections/event-tickets/event-details-section.d.ts +8 -0
- package/dist/intent/sections/event-tickets/event-details-section.js +64 -0
- package/dist/intent/sections/event-tickets/event-details-section.js.map +1 -0
- package/dist/intent/sections/event-tickets/index.d.ts +4 -0
- package/dist/intent/sections/event-tickets/index.js +11 -0
- package/dist/intent/sections/event-tickets/index.js.map +1 -0
- package/dist/intent/sections/event-tickets/ticket-info-section.d.ts +7 -0
- package/dist/intent/sections/event-tickets/ticket-info-section.js +43 -0
- package/dist/intent/sections/event-tickets/ticket-info-section.js.map +1 -0
- package/dist/intent/sections/event-tickets.d.ts +1 -0
- package/dist/intent/sections/event-tickets.js +1 -0
- package/dist/intent/sections/order-items-section.d.ts +15 -0
- package/dist/intent/sections/order-items-section.js +47 -0
- package/dist/intent/sections/order-items-section.js.map +1 -0
- package/dist/intent/sections/register-sections.d.ts +8 -0
- package/dist/intent/sections/register-sections.js +24 -0
- package/dist/intent/sections/register-sections.js.map +1 -0
- package/dist/intent/sections/shared/activity-timeline-section.d.ts +9 -0
- package/dist/intent/sections/shared/activity-timeline-section.js +80 -0
- package/dist/intent/sections/shared/activity-timeline-section.js.map +1 -0
- package/dist/intent/sections/shared/index.d.ts +3 -0
- package/dist/intent/sections/shared/index.js +9 -0
- package/dist/intent/sections/shared/index.js.map +1 -0
- package/dist/intent/sections/shared/order-header-section.d.ts +7 -0
- package/dist/intent/sections/shared/order-header-section.js +27 -0
- package/dist/intent/sections/shared/order-header-section.js.map +1 -0
- package/dist/intent/sections/shared/payment-summary-section.d.ts +12 -0
- package/dist/intent/sections/shared/payment-summary-section.js +126 -0
- package/dist/intent/sections/shared/payment-summary-section.js.map +1 -0
- package/dist/intent/sections/shared.d.ts +1 -0
- package/dist/intent/sections/shared.js +1 -0
- package/dist/intent/sections/shipping-info-section.d.ts +12 -0
- package/dist/intent/sections/shipping-info-section.js +64 -0
- package/dist/intent/sections/shipping-info-section.js.map +1 -0
- package/dist/intent/sections/subscription-details-section.d.ts +2 -0
- package/dist/intent/sections/subscription-details-section.js +77 -0
- package/dist/intent/sections/subscription-details-section.js.map +1 -0
- package/dist/intent/use-intent-filter.d.ts +43 -0
- package/dist/intent/use-intent-filter.js +43 -0
- package/dist/intent/use-intent-filter.js.map +1 -0
- package/dist/intent.d.ts +1 -0
- package/dist/intent.js +1 -0
- package/dist/intents/capture-leads.d.ts +3 -0
- package/dist/intents/capture-leads.js +61 -0
- package/dist/intents/capture-leads.js.map +1 -0
- package/dist/intents/composed-screen.d.ts +9 -0
- package/dist/intents/composed-screen.js +26 -0
- package/dist/intents/composed-screen.js.map +1 -0
- package/dist/intents/define.d.ts +88 -0
- package/dist/intents/define.js +11 -0
- package/dist/intents/define.js.map +1 -0
- package/dist/intents/detail-rewrites.d.ts +11 -0
- package/dist/intents/detail-rewrites.js +30 -0
- package/dist/intents/detail-rewrites.js.map +1 -0
- package/dist/intents/detail-rewrites.json +90 -0
- package/dist/intents/digital-products.d.ts +3 -0
- package/dist/intents/digital-products.js +62 -0
- package/dist/intents/digital-products.js.map +1 -0
- package/dist/intents/dine-in.d.ts +10 -0
- package/dist/intents/dine-in.js +94 -0
- package/dist/intents/dine-in.js.map +1 -0
- package/dist/intents/event-tickets.d.ts +9 -0
- package/dist/intents/event-tickets.js +71 -0
- package/dist/intents/event-tickets.js.map +1 -0
- package/dist/intents/fixed-scope.d.ts +10 -0
- package/dist/intents/fixed-scope.js +24 -0
- package/dist/intents/fixed-scope.js.map +1 -0
- package/dist/intents/food-orders.d.ts +9 -0
- package/dist/intents/food-orders.js +62 -0
- package/dist/intents/food-orders.js.map +1 -0
- package/dist/intents/index.d.ts +13 -0
- package/dist/intents/index.js +34 -0
- package/dist/intents/index.js.map +1 -0
- package/dist/intents/item-owner.d.ts +27 -0
- package/dist/intents/item-owner.js +43 -0
- package/dist/intents/item-owner.js.map +1 -0
- package/dist/intents/mount.d.ts +21 -0
- package/dist/intents/mount.js +10 -0
- package/dist/intents/mount.js.map +1 -0
- package/dist/intents/mountable.d.ts +28 -0
- package/dist/intents/mountable.js +53 -0
- package/dist/intents/mountable.js.map +1 -0
- package/dist/intents/rent-property.d.ts +3 -0
- package/dist/intents/rent-property.js +67 -0
- package/dist/intents/rent-property.js.map +1 -0
- package/dist/intents/resolve.d.ts +15 -0
- package/dist/intents/resolve.js +14 -0
- package/dist/intents/resolve.js.map +1 -0
- package/dist/intents/scope-labels.d.ts +15 -0
- package/dist/intents/scope-labels.js +30 -0
- package/dist/intents/scope-labels.js.map +1 -0
- package/dist/intents/screens/booking-list.d.ts +16 -0
- package/dist/intents/screens/booking-list.js +22 -0
- package/dist/intents/screens/booking-list.js.map +1 -0
- package/dist/intents/screens/item-create.d.ts +13 -0
- package/dist/intents/screens/item-create.js +11 -0
- package/dist/intents/screens/item-create.js.map +1 -0
- package/dist/intents/screens/item-list.d.ts +15 -0
- package/dist/intents/screens/item-list.js +10 -0
- package/dist/intents/screens/item-list.js.map +1 -0
- package/dist/intents/screens/order-list.d.ts +20 -0
- package/dist/intents/screens/order-list.js +10 -0
- package/dist/intents/screens/order-list.js.map +1 -0
- package/dist/intents/screens/session-create.d.ts +8 -0
- package/dist/intents/screens/session-create.js +11 -0
- package/dist/intents/screens/session-create.js.map +1 -0
- package/dist/intents/sell-products.d.ts +3 -0
- package/dist/intents/sell-products.js +62 -0
- package/dist/intents/sell-products.js.map +1 -0
- package/dist/intents/send-invoices.d.ts +3 -0
- package/dist/intents/send-invoices.js +56 -0
- package/dist/intents/send-invoices.js.map +1 -0
- package/dist/intents/subscriptions.d.ts +3 -0
- package/dist/intents/subscriptions.js +45 -0
- package/dist/intents/subscriptions.js.map +1 -0
- package/dist/intents/take-bookings.d.ts +3 -0
- package/dist/intents/take-bookings.js +78 -0
- package/dist/intents/take-bookings.js.map +1 -0
- package/dist/intents/validate.d.ts +9 -0
- package/dist/intents/validate.js +35 -0
- package/dist/intents/validate.js.map +1 -0
- package/dist/intents.d.ts +1 -0
- package/dist/intents.js +1 -0
- package/dist/invoice-editor/index.d.ts +2 -0
- package/dist/invoice-editor/index.js +7 -0
- package/dist/invoice-editor/index.js.map +1 -0
- package/dist/invoice-editor/invoice-branding-dialog.d.ts +28 -0
- package/dist/invoice-editor/invoice-branding-dialog.js +147 -0
- package/dist/invoice-editor/invoice-branding-dialog.js.map +1 -0
- package/dist/invoice-editor/invoice-editor-content.d.ts +29 -0
- package/dist/invoice-editor/invoice-editor-content.js +71 -0
- package/dist/invoice-editor/invoice-editor-content.js.map +1 -0
- package/dist/invoice-editor/invoice-editor-page.d.ts +28 -0
- package/dist/invoice-editor/invoice-editor-page.js +207 -0
- package/dist/invoice-editor/invoice-editor-page.js.map +1 -0
- package/dist/invoice-editor/invoice-editor.d.ts +23 -0
- package/dist/invoice-editor/invoice-editor.js +75 -0
- package/dist/invoice-editor/invoice-editor.js.map +1 -0
- package/dist/invoice-editor/invoice-preview.d.ts +35 -0
- package/dist/invoice-editor/invoice-preview.js +67 -0
- package/dist/invoice-editor/invoice-preview.js.map +1 -0
- package/dist/invoice-editor/invoice-repeat-card.d.ts +18 -0
- package/dist/invoice-editor/invoice-repeat-card.js +93 -0
- package/dist/invoice-editor/invoice-repeat-card.js.map +1 -0
- package/dist/invoice-editor/line-items-editor.d.ts +8 -0
- package/dist/invoice-editor/line-items-editor.js +265 -0
- package/dist/invoice-editor/line-items-editor.js.map +1 -0
- package/dist/invoice-editor/mobile-invoice-editor.d.ts +7 -0
- package/dist/invoice-editor/mobile-invoice-editor.js +159 -0
- package/dist/invoice-editor/mobile-invoice-editor.js.map +1 -0
- package/dist/invoice-editor/paper-fields.d.ts +53 -0
- package/dist/invoice-editor/paper-fields.js +107 -0
- package/dist/invoice-editor/paper-fields.js.map +1 -0
- package/dist/invoice-editor/paper-lines.d.ts +25 -0
- package/dist/invoice-editor/paper-lines.js +114 -0
- package/dist/invoice-editor/paper-lines.js.map +1 -0
- package/dist/invoice-editor.d.ts +1 -0
- package/dist/invoice-editor.js +1 -0
- package/dist/legal-modal.d.ts +10 -0
- package/dist/legal-modal.js +83 -0
- package/dist/legal-modal.js.map +1 -0
- package/dist/live-commerce-bridge.d.ts +11 -0
- package/dist/live-commerce-bridge.js +82 -0
- package/dist/live-commerce-bridge.js.map +1 -0
- package/dist/loyalty/redeem-points-modal.d.ts +30 -0
- package/dist/loyalty/redeem-points-modal.js +113 -0
- package/dist/loyalty/redeem-points-modal.js.map +1 -0
- package/dist/media/media-library-picker.d.ts +29 -0
- package/dist/media/media-library-picker.js +162 -0
- package/dist/media/media-library-picker.js.map +1 -0
- package/dist/media/media-picker-copy.d.ts +14 -0
- package/dist/media/media-picker-copy.js +35 -0
- package/dist/media/media-picker-copy.js.map +1 -0
- package/dist/media/media-picker-footer.d.ts +14 -0
- package/dist/media/media-picker-footer.js +29 -0
- package/dist/media/media-picker-footer.js.map +1 -0
- package/dist/media/media-picker-grid.d.ts +22 -0
- package/dist/media/media-picker-grid.js +86 -0
- package/dist/media/media-picker-grid.js.map +1 -0
- package/dist/media/media-picker-remember.d.ts +11 -0
- package/dist/media/media-picker-remember.js +34 -0
- package/dist/media/media-picker-remember.js.map +1 -0
- package/dist/media/use-picker-upload.d.ts +23 -0
- package/dist/media/use-picker-upload.js +51 -0
- package/dist/media/use-picker-upload.js.map +1 -0
- package/dist/mobile/close-early.d.ts +16 -0
- package/dist/mobile/close-early.js +74 -0
- package/dist/mobile/close-early.js.map +1 -0
- package/dist/mobile/floating-parcels.d.ts +8 -0
- package/dist/mobile/floating-parcels.js +245 -0
- package/dist/mobile/floating-parcels.js.map +1 -0
- package/dist/mobile/hand-over-phone.d.ts +22 -0
- package/dist/mobile/hand-over-phone.js +41 -0
- package/dist/mobile/hand-over-phone.js.map +1 -0
- package/dist/mobile/hub-page.d.ts +20 -0
- package/dist/mobile/hub-page.js +84 -0
- package/dist/mobile/hub-page.js.map +1 -0
- package/dist/mobile/ios-grouped-list.d.ts +23 -0
- package/dist/mobile/ios-grouped-list.js +65 -0
- package/dist/mobile/ios-grouped-list.js.map +1 -0
- package/dist/mobile/ios-link.d.ts +10 -0
- package/dist/mobile/ios-link.js +29 -0
- package/dist/mobile/ios-link.js.map +1 -0
- package/dist/mobile/ios-screen-transition.d.ts +19 -0
- package/dist/mobile/ios-screen-transition.js +55 -0
- package/dist/mobile/ios-screen-transition.js.map +1 -0
- package/dist/mobile/ios-sheet.d.ts +22 -0
- package/dist/mobile/ios-sheet.js +58 -0
- package/dist/mobile/ios-sheet.js.map +1 -0
- package/dist/mobile/mobile-activity-feed.d.ts +7 -0
- package/dist/mobile/mobile-activity-feed.js +115 -0
- package/dist/mobile/mobile-activity-feed.js.map +1 -0
- package/dist/mobile/mobile-detail-header.d.ts +20 -0
- package/dist/mobile/mobile-detail-header.js +13 -0
- package/dist/mobile/mobile-detail-header.js.map +1 -0
- package/dist/mobile/mobile-editor-menu-context.d.ts +14 -0
- package/dist/mobile/mobile-editor-menu-context.js +38 -0
- package/dist/mobile/mobile-editor-menu-context.js.map +1 -0
- package/dist/mobile/mobile-global-ui-context.d.ts +12 -0
- package/dist/mobile/mobile-global-ui-context.js +55 -0
- package/dist/mobile/mobile-global-ui-context.js.map +1 -0
- package/dist/mobile/mobile-header-context.d.ts +54 -0
- package/dist/mobile/mobile-header-context.js +59 -0
- package/dist/mobile/mobile-header-context.js.map +1 -0
- package/dist/mobile/mobile-header.d.ts +14 -0
- package/dist/mobile/mobile-header.js +98 -0
- package/dist/mobile/mobile-header.js.map +1 -0
- package/dist/mobile/mobile-media-picker-sheet.d.ts +13 -0
- package/dist/mobile/mobile-media-picker-sheet.js +471 -0
- package/dist/mobile/mobile-media-picker-sheet.js.map +1 -0
- package/dist/mobile/mobile-nav-bar.d.ts +16 -0
- package/dist/mobile/mobile-nav-bar.js +50 -0
- package/dist/mobile/mobile-nav-bar.js.map +1 -0
- package/dist/mobile/mobile-page-header.d.ts +20 -0
- package/dist/mobile/mobile-page-header.js +30 -0
- package/dist/mobile/mobile-page-header.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/appearance-run-the-storefron-2.d.ts +15 -0
- package/dist/mobile/mobile-redesign-mockups/appearance-run-the-storefron-2.js +446 -0
- package/dist/mobile/mobile-redesign-mockups/appearance-run-the-storefron-2.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/appearance-run-the-storefron-3.d.ts +18 -0
- package/dist/mobile/mobile-redesign-mockups/appearance-run-the-storefron-3.js +434 -0
- package/dist/mobile/mobile-redesign-mockups/appearance-run-the-storefron-3.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/appearance-run-the-storefron.d.ts +10 -0
- package/dist/mobile/mobile-redesign-mockups/appearance-run-the-storefron.js +348 -0
- package/dist/mobile/mobile-redesign-mockups/appearance-run-the-storefron.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/apple-white-theme-preview-sc.d.ts +10 -0
- package/dist/mobile/mobile-redesign-mockups/apple-white-theme-preview-sc.js +446 -0
- package/dist/mobile/mobile-redesign-mockups/apple-white-theme-preview-sc.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/billing-hub-2.d.ts +36 -0
- package/dist/mobile/mobile-redesign-mockups/billing-hub-2.js +309 -0
- package/dist/mobile/mobile-redesign-mockups/billing-hub-2.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/billing-hub.d.ts +45 -0
- package/dist/mobile/mobile-redesign-mockups/billing-hub.js +486 -0
- package/dist/mobile/mobile-redesign-mockups/billing-hub.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/blog-list.d.ts +17 -0
- package/dist/mobile/mobile-redesign-mockups/blog-list.js +380 -0
- package/dist/mobile/mobile-redesign-mockups/blog-list.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/cancel-booking-sheet.d.ts +11 -0
- package/dist/mobile/mobile-redesign-mockups/cancel-booking-sheet.js +475 -0
- package/dist/mobile/mobile-redesign-mockups/cancel-booking-sheet.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/catalog-browse-and-detail.d.ts +2 -0
- package/dist/mobile/mobile-redesign-mockups/catalog-browse-and-detail.js +115 -0
- package/dist/mobile/mobile-redesign-mockups/catalog-browse-and-detail.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/catalog-single-intent.d.ts +29 -0
- package/dist/mobile/mobile-redesign-mockups/catalog-single-intent.js +321 -0
- package/dist/mobile/mobile-redesign-mockups/catalog-single-intent.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/compose-sheet-universal-acti.d.ts +22 -0
- package/dist/mobile/mobile-redesign-mockups/compose-sheet-universal-acti.js +273 -0
- package/dist/mobile/mobile-redesign-mockups/compose-sheet-universal-acti.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/configure-domain-wizard-2.d.ts +10 -0
- package/dist/mobile/mobile-redesign-mockups/configure-domain-wizard-2.js +365 -0
- package/dist/mobile/mobile-redesign-mockups/configure-domain-wizard-2.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/configure-domain-wizard.d.ts +9 -0
- package/dist/mobile/mobile-redesign-mockups/configure-domain-wizard.js +272 -0
- package/dist/mobile/mobile-redesign-mockups/configure-domain-wizard.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/configure-tax-rates.d.ts +9 -0
- package/dist/mobile/mobile-redesign-mockups/configure-tax-rates.js +188 -0
- package/dist/mobile/mobile-redesign-mockups/configure-tax-rates.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/crm-customer-profile-full.d.ts +15 -0
- package/dist/mobile/mobile-redesign-mockups/crm-customer-profile-full.js +383 -0
- package/dist/mobile/mobile-redesign-mockups/crm-customer-profile-full.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/crm-customer-timeline-tab.d.ts +10 -0
- package/dist/mobile/mobile-redesign-mockups/crm-customer-timeline-tab.js +331 -0
- package/dist/mobile/mobile-redesign-mockups/crm-customer-timeline-tab.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/crm-send-message-sheet.d.ts +17 -0
- package/dist/mobile/mobile-redesign-mockups/crm-send-message-sheet.js +456 -0
- package/dist/mobile/mobile-redesign-mockups/crm-send-message-sheet.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/detail-order.d.ts +15 -0
- package/dist/mobile/mobile-redesign-mockups/detail-order.js +447 -0
- package/dist/mobile/mobile-redesign-mockups/detail-order.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/discounts-list.d.ts +17 -0
- package/dist/mobile/mobile-redesign-mockups/discounts-list.js +316 -0
- package/dist/mobile/mobile-redesign-mockups/discounts-list.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/drill-chrome-sub-app-header-.d.ts +31 -0
- package/dist/mobile/mobile-redesign-mockups/drill-chrome-sub-app-header-.js +273 -0
- package/dist/mobile/mobile-redesign-mockups/drill-chrome-sub-app-header-.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/editor-blog-long-form.d.ts +10 -0
- package/dist/mobile/mobile-redesign-mockups/editor-blog-long-form.js +260 -0
- package/dist/mobile/mobile-redesign-mockups/editor-blog-long-form.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/events-detail-attendees-chec-2.d.ts +16 -0
- package/dist/mobile/mobile-redesign-mockups/events-detail-attendees-chec-2.js +410 -0
- package/dist/mobile/mobile-redesign-mockups/events-detail-attendees-chec-2.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/events-detail-attendees-chec-3.d.ts +16 -0
- package/dist/mobile/mobile-redesign-mockups/events-detail-attendees-chec-3.js +297 -0
- package/dist/mobile/mobile-redesign-mockups/events-detail-attendees-chec-3.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/events-detail-attendees-chec.d.ts +27 -0
- package/dist/mobile/mobile-redesign-mockups/events-detail-attendees-chec.js +313 -0
- package/dist/mobile/mobile-redesign-mockups/events-detail-attendees-chec.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/global-search.d.ts +18 -0
- package/dist/mobile/mobile-redesign-mockups/global-search.js +300 -0
- package/dist/mobile/mobile-redesign-mockups/global-search.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/index.d.ts +13 -0
- package/dist/mobile/mobile-redesign-mockups/index.js +26 -0
- package/dist/mobile/mobile-redesign-mockups/index.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/insights-sales-drill.d.ts +17 -0
- package/dist/mobile/mobile-redesign-mockups/insights-sales-drill.js +286 -0
- package/dist/mobile/mobile-redesign-mockups/insights-sales-drill.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/loyalty-earn-rule-editor.d.ts +10 -0
- package/dist/mobile/mobile-redesign-mockups/loyalty-earn-rule-editor.js +339 -0
- package/dist/mobile/mobile-redesign-mockups/loyalty-earn-rule-editor.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/loyalty-first-class-on-the-pho.d.ts +2 -0
- package/dist/mobile/mobile-redesign-mockups/loyalty-first-class-on-the-pho.js +433 -0
- package/dist/mobile/mobile-redesign-mockups/loyalty-first-class-on-the-pho.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/loyalty-member-detail.d.ts +9 -0
- package/dist/mobile/mobile-redesign-mockups/loyalty-member-detail.js +238 -0
- package/dist/mobile/mobile-redesign-mockups/loyalty-member-detail.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/manage-multi-intent-sell-boo.d.ts +24 -0
- package/dist/mobile/mobile-redesign-mockups/manage-multi-intent-sell-boo.js +357 -0
- package/dist/mobile/mobile-redesign-mockups/manage-multi-intent-sell-boo.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/marketing-hub.d.ts +15 -0
- package/dist/mobile/mobile-redesign-mockups/marketing-hub.js +268 -0
- package/dist/mobile/mobile-redesign-mockups/marketing-hub.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/matte-charcoal-apple-white.d.ts +2 -0
- package/dist/mobile/mobile-redesign-mockups/matte-charcoal-apple-white.js +452 -0
- package/dist/mobile/mobile-redesign-mockups/matte-charcoal-apple-white.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/media-library.d.ts +14 -0
- package/dist/mobile/mobile-redesign-mockups/media-library.js +86 -0
- package/dist/mobile/mobile-redesign-mockups/media-library.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/money-payout-detail.d.ts +22 -0
- package/dist/mobile/mobile-redesign-mockups/money-payout-detail.js +367 -0
- package/dist/mobile/mobile-redesign-mockups/money-payout-detail.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/pill-presets-tailwind-utilit.d.ts +46 -0
- package/dist/mobile/mobile-redesign-mockups/pill-presets-tailwind-utilit.js +226 -0
- package/dist/mobile/mobile-redesign-mockups/pill-presets-tailwind-utilit.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-2.d.ts +10 -0
- package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-2.js +418 -0
- package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-2.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-3.d.ts +10 -0
- package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-3.js +438 -0
- package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-3.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-4.d.ts +9 -0
- package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-4.js +315 -0
- package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-4.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-5.d.ts +10 -0
- package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-5.js +429 -0
- package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou-5.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou.d.ts +9 -0
- package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou.js +266 -0
- package/dist/mobile/mobile-redesign-mockups/plan-calendar-schedule-resou.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/products-list-detail-2.d.ts +17 -0
- package/dist/mobile/mobile-redesign-mockups/products-list-detail-2.js +390 -0
- package/dist/mobile/mobile-redesign-mockups/products-list-detail-2.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/products-list-detail.d.ts +22 -0
- package/dist/mobile/mobile-redesign-mockups/products-list-detail.js +254 -0
- package/dist/mobile/mobile-redesign-mockups/products-list-detail.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/recover-sheets-shared-chrome.d.ts +34 -0
- package/dist/mobile/mobile-redesign-mockups/recover-sheets-shared-chrome.js +264 -0
- package/dist/mobile/mobile-redesign-mockups/recover-sheets-shared-chrome.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/staff-member-profile.d.ts +9 -0
- package/dist/mobile/mobile-redesign-mockups/staff-member-profile.js +291 -0
- package/dist/mobile/mobile-redesign-mockups/staff-member-profile.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/today-first-run-empty-state.d.ts +16 -0
- package/dist/mobile/mobile-redesign-mockups/today-first-run-empty-state.js +335 -0
- package/dist/mobile/mobile-redesign-mockups/today-first-run-empty-state.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/today-multi-intent.d.ts +21 -0
- package/dist/mobile/mobile-redesign-mockups/today-multi-intent.js +382 -0
- package/dist/mobile/mobile-redesign-mockups/today-multi-intent.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/today-per-intent-variants.d.ts +21 -0
- package/dist/mobile/mobile-redesign-mockups/today-per-intent-variants.js +429 -0
- package/dist/mobile/mobile-redesign-mockups/today-per-intent-variants.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/today-single-intent.d.ts +27 -0
- package/dist/mobile/mobile-redesign-mockups/today-single-intent.js +236 -0
- package/dist/mobile/mobile-redesign-mockups/today-single-intent.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/tranche-1-me-empty-events-pe.d.ts +15 -0
- package/dist/mobile/mobile-redesign-mockups/tranche-1-me-empty-events-pe.js +424 -0
- package/dist/mobile/mobile-redesign-mockups/tranche-1-me-empty-events-pe.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/tranche-2-inbox-search-produ-2.d.ts +23 -0
- package/dist/mobile/mobile-redesign-mockups/tranche-2-inbox-search-produ-2.js +318 -0
- package/dist/mobile/mobile-redesign-mockups/tranche-2-inbox-search-produ-2.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/tranche-2-inbox-search-produ.d.ts +31 -0
- package/dist/mobile/mobile-redesign-mockups/tranche-2-inbox-search-produ.js +457 -0
- package/dist/mobile/mobile-redesign-mockups/tranche-2-inbox-search-produ.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups/wizard-payments.d.ts +29 -0
- package/dist/mobile/mobile-redesign-mockups/wizard-payments.js +287 -0
- package/dist/mobile/mobile-redesign-mockups/wizard-payments.js.map +1 -0
- package/dist/mobile/mobile-redesign-mockups.d.ts +1 -0
- package/dist/mobile/mobile-redesign-mockups.js +1 -0
- package/dist/mobile/mobile-redesign-theme.d.ts +1 -0
- package/dist/mobile/mobile-redesign-theme.js +2 -0
- package/dist/mobile/mobile-redesign-theme.js.map +1 -0
- package/dist/mobile/mobile-screen-frame.d.ts +11 -0
- package/dist/mobile/mobile-screen-frame.js +165 -0
- package/dist/mobile/mobile-screen-frame.js.map +1 -0
- package/dist/mobile/mobile-screen-header.d.ts +9 -0
- package/dist/mobile/mobile-screen-header.js +9 -0
- package/dist/mobile/mobile-screen-header.js.map +1 -0
- package/dist/mobile/mobile-shell.d.ts +12 -0
- package/dist/mobile/mobile-shell.js +11 -0
- package/dist/mobile/mobile-shell.js.map +1 -0
- package/dist/mobile/mobile-theme-provider.d.ts +32 -0
- package/dist/mobile/mobile-theme-provider.js +123 -0
- package/dist/mobile/mobile-theme-provider.js.map +1 -0
- package/dist/mobile/nav-group.d.ts +23 -0
- package/dist/mobile/nav-group.js +41 -0
- package/dist/mobile/nav-group.js.map +1 -0
- package/dist/mobile/primitives/bottom-sheet.d.ts +34 -0
- package/dist/mobile/primitives/bottom-sheet.js +126 -0
- package/dist/mobile/primitives/bottom-sheet.js.map +1 -0
- package/dist/mobile/primitives/bottom-tab-bar.d.ts +15 -0
- package/dist/mobile/primitives/bottom-tab-bar.js +461 -0
- package/dist/mobile/primitives/bottom-tab-bar.js.map +1 -0
- package/dist/mobile/primitives/chrome.d.ts +24 -0
- package/dist/mobile/primitives/chrome.js +115 -0
- package/dist/mobile/primitives/chrome.js.map +1 -0
- package/dist/mobile/primitives/domain.d.ts +83 -0
- package/dist/mobile/primitives/domain.js +571 -0
- package/dist/mobile/primitives/domain.js.map +1 -0
- package/dist/mobile/primitives/index.d.ts +28 -0
- package/dist/mobile/primitives/index.js +120 -0
- package/dist/mobile/primitives/index.js.map +1 -0
- package/dist/mobile/primitives/inline.d.ts +91 -0
- package/dist/mobile/primitives/inline.js +348 -0
- package/dist/mobile/primitives/inline.js.map +1 -0
- package/dist/mobile/primitives/inputs.d.ts +82 -0
- package/dist/mobile/primitives/inputs.js +292 -0
- package/dist/mobile/primitives/inputs.js.map +1 -0
- package/dist/mobile/primitives/intent-switcher.d.ts +27 -0
- package/dist/mobile/primitives/intent-switcher.js +74 -0
- package/dist/mobile/primitives/intent-switcher.js.map +1 -0
- package/dist/mobile/primitives/layout.d.ts +33 -0
- package/dist/mobile/primitives/layout.js +157 -0
- package/dist/mobile/primitives/layout.js.map +1 -0
- package/dist/mobile/primitives/progressive-list.d.ts +26 -0
- package/dist/mobile/primitives/progressive-list.js +50 -0
- package/dist/mobile/primitives/progressive-list.js.map +1 -0
- package/dist/mobile/primitives/screen-frame.d.ts +50 -0
- package/dist/mobile/primitives/screen-frame.js +164 -0
- package/dist/mobile/primitives/screen-frame.js.map +1 -0
- package/dist/mobile/primitives/status-chip.d.ts +42 -0
- package/dist/mobile/primitives/status-chip.js +78 -0
- package/dist/mobile/primitives/status-chip.js.map +1 -0
- package/dist/mobile/primitives/sticky-cta-bar.d.ts +44 -0
- package/dist/mobile/primitives/sticky-cta-bar.js +40 -0
- package/dist/mobile/primitives/sticky-cta-bar.js.map +1 -0
- package/dist/mobile/primitives/swipe-row.d.ts +29 -0
- package/dist/mobile/primitives/swipe-row.js +66 -0
- package/dist/mobile/primitives/swipe-row.js.map +1 -0
- package/dist/mobile/primitives/use-mobile-back.d.ts +21 -0
- package/dist/mobile/primitives/use-mobile-back.js +17 -0
- package/dist/mobile/primitives/use-mobile-back.js.map +1 -0
- package/dist/mobile/primitives.d.ts +1 -0
- package/dist/mobile/primitives.js +1 -0
- package/dist/mobile/pull-to-refresh-context.d.ts +15 -0
- package/dist/mobile/pull-to-refresh-context.js +134 -0
- package/dist/mobile/pull-to-refresh-context.js.map +1 -0
- package/dist/mobile/pull-to-refresh-indicator.d.ts +12 -0
- package/dist/mobile/pull-to-refresh-indicator.js +35 -0
- package/dist/mobile/pull-to-refresh-indicator.js.map +1 -0
- package/dist/mobile/quick-actions-sheet.d.ts +12 -0
- package/dist/mobile/quick-actions-sheet.js +92 -0
- package/dist/mobile/quick-actions-sheet.js.map +1 -0
- package/dist/mobile/quick-add-item.d.ts +23 -0
- package/dist/mobile/quick-add-item.js +110 -0
- package/dist/mobile/quick-add-item.js.map +1 -0
- package/dist/mobile/screen-frame-host.d.ts +67 -0
- package/dist/mobile/screen-frame-host.js +431 -0
- package/dist/mobile/screen-frame-host.js.map +1 -0
- package/dist/mobile/screens/analytics-drill.d.ts +48 -0
- package/dist/mobile/screens/analytics-drill.js +319 -0
- package/dist/mobile/screens/analytics-drill.js.map +1 -0
- package/dist/mobile/screens/attendees-list.d.ts +27 -0
- package/dist/mobile/screens/attendees-list.js +243 -0
- package/dist/mobile/screens/attendees-list.js.map +1 -0
- package/dist/mobile/screens/billing-flows.d.ts +91 -0
- package/dist/mobile/screens/billing-flows.js +1934 -0
- package/dist/mobile/screens/billing-flows.js.map +1 -0
- package/dist/mobile/screens/billing.d.ts +32 -0
- package/dist/mobile/screens/billing.js +355 -0
- package/dist/mobile/screens/billing.js.map +1 -0
- package/dist/mobile/screens/blog-editor.d.ts +30 -0
- package/dist/mobile/screens/blog-editor.js +462 -0
- package/dist/mobile/screens/blog-editor.js.map +1 -0
- package/dist/mobile/screens/booking-detail.d.ts +49 -0
- package/dist/mobile/screens/booking-detail.js +446 -0
- package/dist/mobile/screens/booking-detail.js.map +1 -0
- package/dist/mobile/screens/calendar.d.ts +23 -0
- package/dist/mobile/screens/calendar.js +696 -0
- package/dist/mobile/screens/calendar.js.map +1 -0
- package/dist/mobile/screens/campaigns.d.ts +13 -0
- package/dist/mobile/screens/campaigns.js +335 -0
- package/dist/mobile/screens/campaigns.js.map +1 -0
- package/dist/mobile/screens/catalog-rows.d.ts +37 -0
- package/dist/mobile/screens/catalog-rows.js +366 -0
- package/dist/mobile/screens/catalog-rows.js.map +1 -0
- package/dist/mobile/screens/catalog.d.ts +67 -0
- package/dist/mobile/screens/catalog.js +597 -0
- package/dist/mobile/screens/catalog.js.map +1 -0
- package/dist/mobile/screens/check-in.d.ts +43 -0
- package/dist/mobile/screens/check-in.js +438 -0
- package/dist/mobile/screens/check-in.js.map +1 -0
- package/dist/mobile/screens/customer-detail.d.ts +38 -0
- package/dist/mobile/screens/customer-detail.js +1046 -0
- package/dist/mobile/screens/customer-detail.js.map +1 -0
- package/dist/mobile/screens/customers.d.ts +28 -0
- package/dist/mobile/screens/customers.js +284 -0
- package/dist/mobile/screens/customers.js.map +1 -0
- package/dist/mobile/screens/domains.d.ts +23 -0
- package/dist/mobile/screens/domains.js +146 -0
- package/dist/mobile/screens/domains.js.map +1 -0
- package/dist/mobile/screens/event-detail.d.ts +38 -0
- package/dist/mobile/screens/event-detail.js +652 -0
- package/dist/mobile/screens/event-detail.js.map +1 -0
- package/dist/mobile/screens/global-search.d.ts +27 -0
- package/dist/mobile/screens/global-search.js +276 -0
- package/dist/mobile/screens/global-search.js.map +1 -0
- package/dist/mobile/screens/insights.d.ts +24 -0
- package/dist/mobile/screens/insights.js +419 -0
- package/dist/mobile/screens/insights.js.map +1 -0
- package/dist/mobile/screens/manage-rows.d.ts +29 -0
- package/dist/mobile/screens/manage-rows.js +229 -0
- package/dist/mobile/screens/manage-rows.js.map +1 -0
- package/dist/mobile/screens/manage.d.ts +141 -0
- package/dist/mobile/screens/manage.js +524 -0
- package/dist/mobile/screens/manage.js.map +1 -0
- package/dist/mobile/screens/me.d.ts +20 -0
- package/dist/mobile/screens/me.js +363 -0
- package/dist/mobile/screens/me.js.map +1 -0
- package/dist/mobile/screens/money.d.ts +29 -0
- package/dist/mobile/screens/money.js +298 -0
- package/dist/mobile/screens/money.js.map +1 -0
- package/dist/mobile/screens/order-detail-parts.d.ts +43 -0
- package/dist/mobile/screens/order-detail-parts.js +379 -0
- package/dist/mobile/screens/order-detail-parts.js.map +1 -0
- package/dist/mobile/screens/order-detail.d.ts +52 -0
- package/dist/mobile/screens/order-detail.js +421 -0
- package/dist/mobile/screens/order-detail.js.map +1 -0
- package/dist/mobile/screens/payments.d.ts +61 -0
- package/dist/mobile/screens/payments.js +719 -0
- package/dist/mobile/screens/payments.js.map +1 -0
- package/dist/mobile/screens/product-detail-options.d.ts +11 -0
- package/dist/mobile/screens/product-detail-options.js +177 -0
- package/dist/mobile/screens/product-detail-options.js.map +1 -0
- package/dist/mobile/screens/product-detail-panels.d.ts +10 -0
- package/dist/mobile/screens/product-detail-panels.js +567 -0
- package/dist/mobile/screens/product-detail-panels.js.map +1 -0
- package/dist/mobile/screens/product-detail-types.d.ts +23 -0
- package/dist/mobile/screens/product-detail-types.js +1 -0
- package/dist/mobile/screens/product-detail-types.js.map +1 -0
- package/dist/mobile/screens/product-detail.d.ts +20 -0
- package/dist/mobile/screens/product-detail.js +171 -0
- package/dist/mobile/screens/product-detail.js.map +1 -0
- package/dist/mobile/screens/segments.d.ts +26 -0
- package/dist/mobile/screens/segments.js +240 -0
- package/dist/mobile/screens/segments.js.map +1 -0
- package/dist/mobile/screens/store.d.ts +34 -0
- package/dist/mobile/screens/store.js +326 -0
- package/dist/mobile/screens/store.js.map +1 -0
- package/dist/mobile/screens/subscriptions.d.ts +31 -0
- package/dist/mobile/screens/subscriptions.js +242 -0
- package/dist/mobile/screens/subscriptions.js.map +1 -0
- package/dist/mobile/screens/today-digital.d.ts +37 -0
- package/dist/mobile/screens/today-digital.js +320 -0
- package/dist/mobile/screens/today-digital.js.map +1 -0
- package/dist/mobile/screens/today-property.d.ts +36 -0
- package/dist/mobile/screens/today-property.js +338 -0
- package/dist/mobile/screens/today-property.js.map +1 -0
- package/dist/mobile/screens/today-subscriptions.d.ts +39 -0
- package/dist/mobile/screens/today-subscriptions.js +326 -0
- package/dist/mobile/screens/today-subscriptions.js.map +1 -0
- package/dist/mobile/screens/today.d.ts +42 -0
- package/dist/mobile/screens/today.js +743 -0
- package/dist/mobile/screens/today.js.map +1 -0
- package/dist/mobile/setup-progress-card.d.ts +7 -0
- package/dist/mobile/setup-progress-card.js +95 -0
- package/dist/mobile/setup-progress-card.js.map +1 -0
- package/dist/mobile/shell-chrome.d.ts +4 -0
- package/dist/mobile/shell-chrome.js +145 -0
- package/dist/mobile/shell-chrome.js.map +1 -0
- package/dist/mobile/site-action-dialog.d.ts +8 -0
- package/dist/mobile/site-action-dialog.js +74 -0
- package/dist/mobile/site-action-dialog.js.map +1 -0
- package/dist/mobile/workspace-switcher-sheet.d.ts +15 -0
- package/dist/mobile/workspace-switcher-sheet.js +249 -0
- package/dist/mobile/workspace-switcher-sheet.js.map +1 -0
- package/dist/motion/index.d.ts +1 -0
- package/dist/motion/index.js +9 -0
- package/dist/motion/index.js.map +1 -0
- package/dist/motion/primitives.d.ts +32 -0
- package/dist/motion/primitives.js +102 -0
- package/dist/motion/primitives.js.map +1 -0
- package/dist/motion.d.ts +1 -0
- package/dist/motion.js +1 -0
- package/dist/my-access-card.d.ts +17 -0
- package/dist/my-access-card.js +38 -0
- package/dist/my-access-card.js.map +1 -0
- package/dist/notification-drawer.d.ts +16 -0
- package/dist/notification-drawer.js +301 -0
- package/dist/notification-drawer.js.map +1 -0
- package/dist/notifications-dropdown.d.ts +6 -0
- package/dist/notifications-dropdown.js +169 -0
- package/dist/notifications-dropdown.js.map +1 -0
- package/dist/order-editor/order-editor.d.ts +16 -0
- package/dist/order-editor/order-editor.js +378 -0
- package/dist/order-editor/order-editor.js.map +1 -0
- package/dist/page-builder/constants.d.ts +4 -0
- package/dist/page-builder/constants.js +93 -0
- package/dist/page-builder/constants.js.map +1 -0
- package/dist/page-builder/cta-target-picker.d.ts +34 -0
- package/dist/page-builder/cta-target-picker.js +142 -0
- package/dist/page-builder/cta-target-picker.js.map +1 -0
- package/dist/page-builder/field-renderer.d.ts +27 -0
- package/dist/page-builder/field-renderer.js +404 -0
- package/dist/page-builder/field-renderer.js.map +1 -0
- package/dist/permission-change-notice.d.ts +14 -0
- package/dist/permission-change-notice.js +36 -0
- package/dist/permission-change-notice.js.map +1 -0
- package/dist/plan-editor/helpers.d.ts +52 -0
- package/dist/plan-editor/helpers.js +73 -0
- package/dist/plan-editor/helpers.js.map +1 -0
- package/dist/plan-editor/index.d.ts +1 -0
- package/dist/plan-editor/index.js +5 -0
- package/dist/plan-editor/index.js.map +1 -0
- package/dist/plan-editor/plan-editor-page.d.ts +5 -0
- package/dist/plan-editor/plan-editor-page.js +142 -0
- package/dist/plan-editor/plan-editor-page.js.map +1 -0
- package/dist/plan-editor/sections/badges-section.d.ts +7 -0
- package/dist/plan-editor/sections/badges-section.js +57 -0
- package/dist/plan-editor/sections/badges-section.js.map +1 -0
- package/dist/plan-editor/sections/basics-section.d.ts +2 -0
- package/dist/plan-editor/sections/basics-section.js +30 -0
- package/dist/plan-editor/sections/basics-section.js.map +1 -0
- package/dist/plan-editor/sections/eligible-items-section.d.ts +6 -0
- package/dist/plan-editor/sections/eligible-items-section.js +164 -0
- package/dist/plan-editor/sections/eligible-items-section.js.map +1 -0
- package/dist/plan-editor/sections/index.d.ts +9 -0
- package/dist/plan-editor/sections/index.js +21 -0
- package/dist/plan-editor/sections/index.js.map +1 -0
- package/dist/plan-editor/sections/member-benefits-section.d.ts +2 -0
- package/dist/plan-editor/sections/member-benefits-section.js +156 -0
- package/dist/plan-editor/sections/member-benefits-section.js.map +1 -0
- package/dist/plan-editor/sections/plan-preview.d.ts +26 -0
- package/dist/plan-editor/sections/plan-preview.js +61 -0
- package/dist/plan-editor/sections/plan-preview.js.map +1 -0
- package/dist/plan-editor/sections/pricing-model-section.d.ts +16 -0
- package/dist/plan-editor/sections/pricing-model-section.js +44 -0
- package/dist/plan-editor/sections/pricing-model-section.js.map +1 -0
- package/dist/plan-editor/sections/pricing-section.d.ts +2 -0
- package/dist/plan-editor/sections/pricing-section.js +110 -0
- package/dist/plan-editor/sections/pricing-section.js.map +1 -0
- package/dist/plan-editor/sections/sibling-group-section.d.ts +14 -0
- package/dist/plan-editor/sections/sibling-group-section.js +107 -0
- package/dist/plan-editor/sections/sibling-group-section.js.map +1 -0
- package/dist/plan-editor/sections/trial-features-section.d.ts +2 -0
- package/dist/plan-editor/sections/trial-features-section.js +95 -0
- package/dist/plan-editor/sections/trial-features-section.js.map +1 -0
- package/dist/plan-editor/sections.d.ts +1 -0
- package/dist/plan-editor/sections.js +1 -0
- package/dist/plan-editor/types.d.ts +7 -0
- package/dist/plan-editor/types.js +1 -0
- package/dist/plan-editor/types.js.map +1 -0
- package/dist/plan-editor/use-plan-form.d.ts +20 -0
- package/dist/plan-editor/use-plan-form.js +184 -0
- package/dist/plan-editor/use-plan-form.js.map +1 -0
- package/dist/plan-editor/use-plan-groups.d.ts +19 -0
- package/dist/plan-editor/use-plan-groups.js +40 -0
- package/dist/plan-editor/use-plan-groups.js.map +1 -0
- package/dist/plan-editor/use-plan-products.d.ts +17 -0
- package/dist/plan-editor/use-plan-products.js +49 -0
- package/dist/plan-editor/use-plan-products.js.map +1 -0
- package/dist/plan-editor.d.ts +1 -0
- package/dist/plan-editor.js +1 -0
- package/dist/potter/index.d.ts +11 -0
- package/dist/potter/index.js +7 -0
- package/dist/potter/index.js.map +1 -0
- package/dist/potter/potter-answer.d.ts +96 -0
- package/dist/potter/potter-answer.js +64 -0
- package/dist/potter/potter-answer.js.map +1 -0
- package/dist/potter/potter-attach.d.ts +107 -0
- package/dist/potter/potter-attach.js +99 -0
- package/dist/potter/potter-attach.js.map +1 -0
- package/dist/potter/potter-attachment-chip.d.ts +35 -0
- package/dist/potter/potter-attachment-chip.js +134 -0
- package/dist/potter/potter-attachment-chip.js.map +1 -0
- package/dist/potter/potter-block-breakdown.d.ts +34 -0
- package/dist/potter/potter-block-breakdown.js +65 -0
- package/dist/potter/potter-block-breakdown.js.map +1 -0
- package/dist/potter/potter-block-door.d.ts +52 -0
- package/dist/potter/potter-block-door.js +56 -0
- package/dist/potter/potter-block-door.js.map +1 -0
- package/dist/potter/potter-block-draft.d.ts +61 -0
- package/dist/potter/potter-block-draft.js +219 -0
- package/dist/potter/potter-block-draft.js.map +1 -0
- package/dist/potter/potter-blocks.d.ts +139 -0
- package/dist/potter/potter-blocks.js +73 -0
- package/dist/potter/potter-blocks.js.map +1 -0
- package/dist/potter/potter-boot.d.ts +31 -0
- package/dist/potter/potter-boot.js +71 -0
- package/dist/potter/potter-boot.js.map +1 -0
- package/dist/potter/potter-chrome.d.ts +63 -0
- package/dist/potter/potter-chrome.js +36 -0
- package/dist/potter/potter-chrome.js.map +1 -0
- package/dist/potter/potter-composer.d.ts +117 -0
- package/dist/potter/potter-composer.js +252 -0
- package/dist/potter/potter-composer.js.map +1 -0
- package/dist/potter/potter-context.d.ts +162 -0
- package/dist/potter/potter-context.js +239 -0
- package/dist/potter/potter-context.js.map +1 -0
- package/dist/potter/potter-conversation.d.ts +81 -0
- package/dist/potter/potter-conversation.js +237 -0
- package/dist/potter/potter-conversation.js.map +1 -0
- package/dist/potter/potter-data.d.ts +62 -0
- package/dist/potter/potter-data.js +63 -0
- package/dist/potter/potter-data.js.map +1 -0
- package/dist/potter/potter-history.d.ts +51 -0
- package/dist/potter/potter-history.js +98 -0
- package/dist/potter/potter-history.js.map +1 -0
- package/dist/potter/potter-image-grid.d.ts +41 -0
- package/dist/potter/potter-image-grid.js +54 -0
- package/dist/potter/potter-image-grid.js.map +1 -0
- package/dist/potter/potter-intro.d.ts +51 -0
- package/dist/potter/potter-intro.js +68 -0
- package/dist/potter/potter-intro.js.map +1 -0
- package/dist/potter/potter-launcher.d.ts +20 -0
- package/dist/potter/potter-launcher.js +147 -0
- package/dist/potter/potter-launcher.js.map +1 -0
- package/dist/potter/potter-photo-keep.d.ts +19 -0
- package/dist/potter/potter-photo-keep.js +49 -0
- package/dist/potter/potter-photo-keep.js.map +1 -0
- package/dist/potter/potter-queue.d.ts +41 -0
- package/dist/potter/potter-queue.js +98 -0
- package/dist/potter/potter-queue.js.map +1 -0
- package/dist/potter/potter-screen.d.ts +1 -0
- package/dist/potter/potter-screen.js +194 -0
- package/dist/potter/potter-screen.js.map +1 -0
- package/dist/potter/potter-sheet-chip.d.ts +30 -0
- package/dist/potter/potter-sheet-chip.js +63 -0
- package/dist/potter/potter-sheet-chip.js.map +1 -0
- package/dist/potter/potter-steps.d.ts +3 -0
- package/dist/potter/potter-steps.js +98 -0
- package/dist/potter/potter-steps.js.map +1 -0
- package/dist/potter/potter-surface.d.ts +77 -0
- package/dist/potter/potter-surface.js +110 -0
- package/dist/potter/potter-surface.js.map +1 -0
- package/dist/potter/potter-thread.d.ts +27 -0
- package/dist/potter/potter-thread.js +247 -0
- package/dist/potter/potter-thread.js.map +1 -0
- package/dist/potter/potter-tools.d.ts +71 -0
- package/dist/potter/potter-tools.js +184 -0
- package/dist/potter/potter-tools.js.map +1 -0
- package/dist/potter/potter-turn-actions.d.ts +4 -0
- package/dist/potter/potter-turn-actions.js +137 -0
- package/dist/potter/potter-turn-actions.js.map +1 -0
- package/dist/potter/use-potter-ask.d.ts +59 -0
- package/dist/potter/use-potter-ask.js +231 -0
- package/dist/potter/use-potter-ask.js.map +1 -0
- package/dist/potter/use-potter-turn.d.ts +17 -0
- package/dist/potter/use-potter-turn.js +165 -0
- package/dist/potter/use-potter-turn.js.map +1 -0
- package/dist/potter.d.ts +1 -0
- package/dist/potter.js +1 -0
- package/dist/preview-layout/index.d.ts +2 -0
- package/dist/preview-layout/index.js +5 -0
- package/dist/preview-layout/index.js.map +1 -0
- package/dist/preview-layout/preview-layout.d.ts +27 -0
- package/dist/preview-layout/preview-layout.js +180 -0
- package/dist/preview-layout/preview-layout.js.map +1 -0
- package/dist/preview-layout.d.ts +1 -0
- package/dist/preview-layout.js +1 -0
- package/dist/product-editor/camera/apply-product-scan.d.ts +17 -0
- package/dist/product-editor/camera/apply-product-scan.js +17 -0
- package/dist/product-editor/camera/apply-product-scan.js.map +1 -0
- package/dist/product-editor/camera/camera-capture.d.ts +23 -0
- package/dist/product-editor/camera/camera-capture.js +160 -0
- package/dist/product-editor/camera/camera-capture.js.map +1 -0
- package/dist/product-editor/camera/camera-start.d.ts +13 -0
- package/dist/product-editor/camera/camera-start.js +74 -0
- package/dist/product-editor/camera/camera-start.js.map +1 -0
- package/dist/product-editor/camera/choose-photos.d.ts +13 -0
- package/dist/product-editor/camera/choose-photos.js +44 -0
- package/dist/product-editor/camera/choose-photos.js.map +1 -0
- package/dist/product-editor/camera/product-camera.d.ts +14 -0
- package/dist/product-editor/camera/product-camera.js +21 -0
- package/dist/product-editor/camera/product-camera.js.map +1 -0
- package/dist/product-editor/camera/product-qr.d.ts +60 -0
- package/dist/product-editor/camera/product-qr.js +111 -0
- package/dist/product-editor/camera/product-qr.js.map +1 -0
- package/dist/product-editor/camera/qr-decoder.d.ts +10 -0
- package/dist/product-editor/camera/qr-decoder.js +46 -0
- package/dist/product-editor/camera/qr-decoder.js.map +1 -0
- package/dist/product-editor/camera/use-camera.d.ts +10 -0
- package/dist/product-editor/camera/use-camera.js +66 -0
- package/dist/product-editor/camera/use-camera.js.map +1 -0
- package/dist/product-editor/camera/use-product-scan.d.ts +8 -0
- package/dist/product-editor/camera/use-product-scan.js +30 -0
- package/dist/product-editor/camera/use-product-scan.js.map +1 -0
- package/dist/product-editor/camera/use-qr-scan.d.ts +5 -0
- package/dist/product-editor/camera/use-qr-scan.js +42 -0
- package/dist/product-editor/camera/use-qr-scan.js.map +1 -0
- package/dist/product-editor/floating-save-bar.d.ts +1 -0
- package/dist/product-editor/floating-save-bar.js +5 -0
- package/dist/product-editor/floating-save-bar.js.map +1 -0
- package/dist/product-editor/index.d.ts +2 -0
- package/dist/product-editor/index.js +7 -0
- package/dist/product-editor/index.js.map +1 -0
- package/dist/product-editor/mobile-category-picker.d.ts +20 -0
- package/dist/product-editor/mobile-category-picker.js +136 -0
- package/dist/product-editor/mobile-category-picker.js.map +1 -0
- package/dist/product-editor/mobile-editor-section.d.ts +1 -0
- package/dist/product-editor/mobile-editor-section.js +5 -0
- package/dist/product-editor/mobile-editor-section.js.map +1 -0
- package/dist/product-editor/mobile-hero-editor.d.ts +8 -0
- package/dist/product-editor/mobile-hero-editor.js +84 -0
- package/dist/product-editor/mobile-hero-editor.js.map +1 -0
- package/dist/product-editor/mobile-product-editor-behavior-sections.d.ts +7 -0
- package/dist/product-editor/mobile-product-editor-behavior-sections.js +109 -0
- package/dist/product-editor/mobile-product-editor-behavior-sections.js.map +1 -0
- package/dist/product-editor/mobile-product-editor-content.d.ts +28 -0
- package/dist/product-editor/mobile-product-editor-content.js +219 -0
- package/dist/product-editor/mobile-product-editor-content.js.map +1 -0
- package/dist/product-editor/mobile-product-editor-sections.d.ts +28 -0
- package/dist/product-editor/mobile-product-editor-sections.js +382 -0
- package/dist/product-editor/mobile-product-editor-sections.js.map +1 -0
- package/dist/product-editor/mobile-status-toggle.d.ts +6 -0
- package/dist/product-editor/mobile-status-toggle.js +39 -0
- package/dist/product-editor/mobile-status-toggle.js.map +1 -0
- package/dist/product-editor/product-editor-content.d.ts +56 -0
- package/dist/product-editor/product-editor-content.js +368 -0
- package/dist/product-editor/product-editor-content.js.map +1 -0
- package/dist/product-editor/product-editor-page-utils.d.ts +6 -0
- package/dist/product-editor/product-editor-page-utils.js +30 -0
- package/dist/product-editor/product-editor-page-utils.js.map +1 -0
- package/dist/product-editor/product-editor-page.d.ts +5 -0
- package/dist/product-editor/product-editor-page.js +374 -0
- package/dist/product-editor/product-editor-page.js.map +1 -0
- package/dist/product-editor/product-editor.d.ts +33 -0
- package/dist/product-editor/product-editor.js +160 -0
- package/dist/product-editor/product-editor.js.map +1 -0
- package/dist/product-editor/public-link-row.d.ts +7 -0
- package/dist/product-editor/public-link-row.js +141 -0
- package/dist/product-editor/public-link-row.js.map +1 -0
- package/dist/product-editor/save-button.d.ts +22 -0
- package/dist/product-editor/save-button.js +154 -0
- package/dist/product-editor/save-button.js.map +1 -0
- package/dist/product-editor/section-summaries.d.ts +11 -0
- package/dist/product-editor/section-summaries.js +39 -0
- package/dist/product-editor/section-summaries.js.map +1 -0
- package/dist/product-editor/sections/add-ons-section.d.ts +29 -0
- package/dist/product-editor/sections/add-ons-section.js +164 -0
- package/dist/product-editor/sections/add-ons-section.js.map +1 -0
- package/dist/product-editor/sections/assignment-section.d.ts +20 -0
- package/dist/product-editor/sections/assignment-section.js +104 -0
- package/dist/product-editor/sections/assignment-section.js.map +1 -0
- package/dist/product-editor/sections/behavior-section.d.ts +48 -0
- package/dist/product-editor/sections/behavior-section.js +287 -0
- package/dist/product-editor/sections/behavior-section.js.map +1 -0
- package/dist/product-editor/sections/category-section.d.ts +26 -0
- package/dist/product-editor/sections/category-section.js +141 -0
- package/dist/product-editor/sections/category-section.js.map +1 -0
- package/dist/product-editor/sections/custom-fields-section.d.ts +11 -0
- package/dist/product-editor/sections/custom-fields-section.js +35 -0
- package/dist/product-editor/sections/custom-fields-section.js.map +1 -0
- package/dist/product-editor/sections/features-section.d.ts +14 -0
- package/dist/product-editor/sections/features-section.js +146 -0
- package/dist/product-editor/sections/features-section.js.map +1 -0
- package/dist/product-editor/sections/folded-section.d.ts +27 -0
- package/dist/product-editor/sections/folded-section.js +37 -0
- package/dist/product-editor/sections/folded-section.js.map +1 -0
- package/dist/product-editor/sections/gallery-to-media.d.ts +8 -0
- package/dist/product-editor/sections/gallery-to-media.js +18 -0
- package/dist/product-editor/sections/gallery-to-media.js.map +1 -0
- package/dist/product-editor/sections/general-section.d.ts +18 -0
- package/dist/product-editor/sections/general-section.js +129 -0
- package/dist/product-editor/sections/general-section.js.map +1 -0
- package/dist/product-editor/sections/item-preview.d.ts +35 -0
- package/dist/product-editor/sections/item-preview.js +55 -0
- package/dist/product-editor/sections/item-preview.js.map +1 -0
- package/dist/product-editor/sections/media-section.d.ts +30 -0
- package/dist/product-editor/sections/media-section.js +165 -0
- package/dist/product-editor/sections/media-section.js.map +1 -0
- package/dist/product-editor/sections/organize-section.d.ts +20 -0
- package/dist/product-editor/sections/organize-section.js +93 -0
- package/dist/product-editor/sections/organize-section.js.map +1 -0
- package/dist/product-editor/sections/pricing-inventory-section.d.ts +18 -0
- package/dist/product-editor/sections/pricing-inventory-section.js +111 -0
- package/dist/product-editor/sections/pricing-inventory-section.js.map +1 -0
- package/dist/product-editor/sections/section-header.d.ts +22 -0
- package/dist/product-editor/sections/section-header.js +18 -0
- package/dist/product-editor/sections/section-header.js.map +1 -0
- package/dist/product-editor/sections/template-fields-section.d.ts +25 -0
- package/dist/product-editor/sections/template-fields-section.js +117 -0
- package/dist/product-editor/sections/template-fields-section.js.map +1 -0
- package/dist/product-editor/sections/use-media-ingest.d.ts +11 -0
- package/dist/product-editor/sections/use-media-ingest.js +83 -0
- package/dist/product-editor/sections/use-media-ingest.js.map +1 -0
- package/dist/product-editor/sections/variants-section.d.ts +17 -0
- package/dist/product-editor/sections/variants-section.js +319 -0
- package/dist/product-editor/sections/variants-section.js.map +1 -0
- package/dist/product-editor/sections/variants-table.d.ts +9 -0
- package/dist/product-editor/sections/variants-table.js +109 -0
- package/dist/product-editor/sections/variants-table.js.map +1 -0
- package/dist/product-editor/use-product-editor-categories.d.ts +20 -0
- package/dist/product-editor/use-product-editor-categories.js +103 -0
- package/dist/product-editor/use-product-editor-categories.js.map +1 -0
- package/dist/product-editor.d.ts +1 -0
- package/dist/product-editor.js +1 -0
- package/dist/product-research/privacy-settings-screen.d.ts +5 -0
- package/dist/product-research/privacy-settings-screen.js +156 -0
- package/dist/product-research/privacy-settings-screen.js.map +1 -0
- package/dist/resource-scheduling/schedule-editor.d.ts +8 -0
- package/dist/resource-scheduling/schedule-editor.js +149 -0
- package/dist/resource-scheduling/schedule-editor.js.map +1 -0
- package/dist/route-access-guard.d.ts +18 -0
- package/dist/route-access-guard.js +50 -0
- package/dist/route-access-guard.js.map +1 -0
- package/dist/safe-html.d.ts +15 -0
- package/dist/safe-html.js +16 -0
- package/dist/safe-html.js.map +1 -0
- package/dist/settings-field-renderer.d.ts +8 -0
- package/dist/settings-field-renderer.js +103 -0
- package/dist/settings-field-renderer.js.map +1 -0
- package/dist/shared/answers-list.d.ts +22 -0
- package/dist/shared/answers-list.js +28 -0
- package/dist/shared/answers-list.js.map +1 -0
- package/dist/shared/coming-soon-page.d.ts +17 -0
- package/dist/shared/coming-soon-page.js +25 -0
- package/dist/shared/coming-soon-page.js.map +1 -0
- package/dist/shared/coming-soon.d.ts +15 -0
- package/dist/shared/coming-soon.js +22 -0
- package/dist/shared/coming-soon.js.map +1 -0
- package/dist/shared/customer-picker.d.ts +43 -0
- package/dist/shared/customer-picker.js +131 -0
- package/dist/shared/customer-picker.js.map +1 -0
- package/dist/shared/stat-card.d.ts +50 -0
- package/dist/shared/stat-card.js +91 -0
- package/dist/shared/stat-card.js.map +1 -0
- package/dist/shared/status-badge.d.ts +96 -0
- package/dist/shared/status-badge.js +71 -0
- package/dist/shared/status-badge.js.map +1 -0
- package/dist/shared/status-colors.d.ts +39 -0
- package/dist/shared/status-colors.js +457 -0
- package/dist/shared/status-colors.js.map +1 -0
- package/dist/shared/storage-meter.d.ts +43 -0
- package/dist/shared/storage-meter.js +129 -0
- package/dist/shared/storage-meter.js.map +1 -0
- package/dist/shell/account-menu-rows.d.ts +33 -0
- package/dist/shell/account-menu-rows.js +22 -0
- package/dist/shell/account-menu-rows.js.map +1 -0
- package/dist/shell/bell-mark.d.ts +14 -0
- package/dist/shell/bell-mark.js +22 -0
- package/dist/shell/bell-mark.js.map +1 -0
- package/dist/shell/foot-resources-menu.d.ts +18 -0
- package/dist/shell/foot-resources-menu.js +215 -0
- package/dist/shell/foot-resources-menu.js.map +1 -0
- package/dist/shell/foot-theme-menu.d.ts +10 -0
- package/dist/shell/foot-theme-menu.js +90 -0
- package/dist/shell/foot-theme-menu.js.map +1 -0
- package/dist/shell/icons.d.ts +50 -0
- package/dist/shell/icons.js +276 -0
- package/dist/shell/icons.js.map +1 -0
- package/dist/shell/keyboard-shortcuts-dialog.d.ts +4 -0
- package/dist/shell/keyboard-shortcuts-dialog.js +46 -0
- package/dist/shell/keyboard-shortcuts-dialog.js.map +1 -0
- package/dist/shell/moved-settings.d.ts +2 -0
- package/dist/shell/moved-settings.js +29 -0
- package/dist/shell/moved-settings.js.map +1 -0
- package/dist/shell/notification-kinds.d.ts +12 -0
- package/dist/shell/notification-kinds.js +48 -0
- package/dist/shell/notification-kinds.js.map +1 -0
- package/dist/shell/notification-row.d.ts +14 -0
- package/dist/shell/notification-row.js +50 -0
- package/dist/shell/notification-row.js.map +1 -0
- package/dist/shell/plan-upgrade-link.d.ts +8 -0
- package/dist/shell/plan-upgrade-link.js +29 -0
- package/dist/shell/plan-upgrade-link.js.map +1 -0
- package/dist/shell/product-switcher.d.ts +21 -0
- package/dist/shell/product-switcher.js +299 -0
- package/dist/shell/product-switcher.js.map +1 -0
- package/dist/shell/record-payment-picker.d.ts +4 -0
- package/dist/shell/record-payment-picker.js +76 -0
- package/dist/shell/record-payment-picker.js.map +1 -0
- package/dist/shell/search-create-commands.d.ts +16 -0
- package/dist/shell/search-create-commands.js +133 -0
- package/dist/shell/search-create-commands.js.map +1 -0
- package/dist/shell/search-head.d.ts +22 -0
- package/dist/shell/search-head.js +101 -0
- package/dist/shell/search-head.js.map +1 -0
- package/dist/shell/search-panel.d.ts +23 -0
- package/dist/shell/search-panel.js +189 -0
- package/dist/shell/search-panel.js.map +1 -0
- package/dist/shell/search-scopes.d.ts +27 -0
- package/dist/shell/search-scopes.js +14 -0
- package/dist/shell/search-scopes.js.map +1 -0
- package/dist/shell/search-whats-new.d.ts +48 -0
- package/dist/shell/search-whats-new.js +105 -0
- package/dist/shell/search-whats-new.js.map +1 -0
- package/dist/shell/secondary-shell.d.ts +26 -0
- package/dist/shell/secondary-shell.js +116 -0
- package/dist/shell/secondary-shell.js.map +1 -0
- package/dist/shell/settings-modal-context.d.ts +35 -0
- package/dist/shell/settings-modal-context.js +137 -0
- package/dist/shell/settings-modal-context.js.map +1 -0
- package/dist/shell/settings-panels.d.ts +4 -0
- package/dist/shell/settings-panels.js +86 -0
- package/dist/shell/settings-panels.js.map +1 -0
- package/dist/shell/settings-rows.d.ts +41 -0
- package/dist/shell/settings-rows.js +193 -0
- package/dist/shell/settings-rows.js.map +1 -0
- package/dist/shell/shell.css +2907 -0
- package/dist/shell/sidebar-ask.d.ts +6 -0
- package/dist/shell/sidebar-ask.js +120 -0
- package/dist/shell/sidebar-ask.js.map +1 -0
- package/dist/shell/sidebar-cards.d.ts +32 -0
- package/dist/shell/sidebar-cards.js +37 -0
- package/dist/shell/sidebar-cards.js.map +1 -0
- package/dist/shell/sidebar-footer.d.ts +58 -0
- package/dist/shell/sidebar-footer.js +49 -0
- package/dist/shell/sidebar-footer.js.map +1 -0
- package/dist/shell/sidebar-seam-toggle.d.ts +18 -0
- package/dist/shell/sidebar-seam-toggle.js +25 -0
- package/dist/shell/sidebar-seam-toggle.js.map +1 -0
- package/dist/shell/switcher-location-group.d.ts +28 -0
- package/dist/shell/switcher-location-group.js +152 -0
- package/dist/shell/switcher-location-group.js.map +1 -0
- package/dist/shell/switcher-scrim.d.ts +2 -0
- package/dist/shell/switcher-scrim.js +21 -0
- package/dist/shell/switcher-scrim.js.map +1 -0
- package/dist/shell/switcher-workspace-list.d.ts +50 -0
- package/dist/shell/switcher-workspace-list.js +115 -0
- package/dist/shell/switcher-workspace-list.js.map +1 -0
- package/dist/shell/take-payment-button.d.ts +32 -0
- package/dist/shell/take-payment-button.js +83 -0
- package/dist/shell/take-payment-button.js.map +1 -0
- package/dist/shell/unified-settings-modal.d.ts +18 -0
- package/dist/shell/unified-settings-modal.js +195 -0
- package/dist/shell/unified-settings-modal.js.map +1 -0
- package/dist/shell/use-support-unread.d.ts +14 -0
- package/dist/shell/use-support-unread.js +23 -0
- package/dist/shell/use-support-unread.js.map +1 -0
- package/dist/shell/workspace-mark.d.ts +22 -0
- package/dist/shell/workspace-mark.js +20 -0
- package/dist/shell/workspace-mark.js.map +1 -0
- package/dist/sidebar/active-href.d.ts +28 -0
- package/dist/sidebar/active-href.js +44 -0
- package/dist/sidebar/active-href.js.map +1 -0
- package/dist/sidebar/archetype-collections.d.ts +44 -0
- package/dist/sidebar/archetype-collections.js +50 -0
- package/dist/sidebar/archetype-collections.js.map +1 -0
- package/dist/sidebar/build-intent-groups.d.ts +12 -0
- package/dist/sidebar/build-intent-groups.js +227 -0
- package/dist/sidebar/build-intent-groups.js.map +1 -0
- package/dist/sidebar/build-nav-groups.d.ts +37 -0
- package/dist/sidebar/build-nav-groups.js +204 -0
- package/dist/sidebar/build-nav-groups.js.map +1 -0
- package/dist/sidebar/commerce-build-navigation.d.ts +2 -0
- package/dist/sidebar/commerce-build-navigation.js +16 -0
- package/dist/sidebar/commerce-build-navigation.js.map +1 -0
- package/dist/sidebar/composed-groups.d.ts +20 -0
- package/dist/sidebar/composed-groups.js +54 -0
- package/dist/sidebar/composed-groups.js.map +1 -0
- package/dist/sidebar/config.d.ts +180 -0
- package/dist/sidebar/config.js +186 -0
- package/dist/sidebar/config.js.map +1 -0
- package/dist/sidebar/customize-row.d.ts +27 -0
- package/dist/sidebar/customize-row.js +29 -0
- package/dist/sidebar/customize-row.js.map +1 -0
- package/dist/sidebar/declared-screens.d.ts +33 -0
- package/dist/sidebar/declared-screens.js +68 -0
- package/dist/sidebar/declared-screens.js.map +1 -0
- package/dist/sidebar/flatten-work-groups.d.ts +48 -0
- package/dist/sidebar/flatten-work-groups.js +58 -0
- package/dist/sidebar/flatten-work-groups.js.map +1 -0
- package/dist/sidebar/home-row.d.ts +10 -0
- package/dist/sidebar/home-row.js +28 -0
- package/dist/sidebar/home-row.js.map +1 -0
- package/dist/sidebar/inbox-row.d.ts +44 -0
- package/dist/sidebar/inbox-row.js +54 -0
- package/dist/sidebar/inbox-row.js.map +1 -0
- package/dist/sidebar/intent-navigation-utils.d.ts +21 -0
- package/dist/sidebar/intent-navigation-utils.js +20 -0
- package/dist/sidebar/intent-navigation-utils.js.map +1 -0
- package/dist/sidebar/inventory-hub.d.ts +16 -0
- package/dist/sidebar/inventory-hub.js +50 -0
- package/dist/sidebar/inventory-hub.js.map +1 -0
- package/dist/sidebar/more-group.d.ts +22 -0
- package/dist/sidebar/more-group.js +40 -0
- package/dist/sidebar/more-group.js.map +1 -0
- package/dist/sidebar/nav-gates.d.ts +30 -0
- package/dist/sidebar/nav-gates.js +18 -0
- package/dist/sidebar/nav-gates.js.map +1 -0
- package/dist/sidebar/nav-highlights.d.ts +49 -0
- package/dist/sidebar/nav-highlights.js +77 -0
- package/dist/sidebar/nav-highlights.js.map +1 -0
- package/dist/sidebar/nav-pending-row.d.ts +12 -0
- package/dist/sidebar/nav-pending-row.js +205 -0
- package/dist/sidebar/nav-pending-row.js.map +1 -0
- package/dist/sidebar/nav-permissions.d.ts +28 -0
- package/dist/sidebar/nav-permissions.js +64 -0
- package/dist/sidebar/nav-permissions.js.map +1 -0
- package/dist/sidebar/nav-renderer-deps.d.ts +41 -0
- package/dist/sidebar/nav-renderer-deps.js +1 -0
- package/dist/sidebar/nav-renderer-deps.js.map +1 -0
- package/dist/sidebar/nav-renderers.d.ts +55 -0
- package/dist/sidebar/nav-renderers.js +207 -0
- package/dist/sidebar/nav-renderers.js.map +1 -0
- package/dist/sidebar/nav-section.d.ts +62 -0
- package/dist/sidebar/nav-section.js +126 -0
- package/dist/sidebar/nav-section.js.map +1 -0
- package/dist/sidebar/nav-test-support.d.ts +15 -0
- package/dist/sidebar/nav-test-support.js +105 -0
- package/dist/sidebar/nav-test-support.js.map +1 -0
- package/dist/sidebar/navigation-types.d.ts +32 -0
- package/dist/sidebar/navigation-types.js +1 -0
- package/dist/sidebar/navigation-types.js.map +1 -0
- package/dist/sidebar/orders-payments-hub.d.ts +58 -0
- package/dist/sidebar/orders-payments-hub.js +59 -0
- package/dist/sidebar/orders-payments-hub.js.map +1 -0
- package/dist/sidebar/rail-body.d.ts +54 -0
- package/dist/sidebar/rail-body.js +202 -0
- package/dist/sidebar/rail-body.js.map +1 -0
- package/dist/sidebar/rail-editable.d.ts +48 -0
- package/dist/sidebar/rail-editable.js +109 -0
- package/dist/sidebar/rail-editable.js.map +1 -0
- package/dist/sidebar/rail-editor.d.ts +19 -0
- package/dist/sidebar/rail-editor.js +70 -0
- package/dist/sidebar/rail-editor.js.map +1 -0
- package/dist/sidebar/rail-edits.d.ts +88 -0
- package/dist/sidebar/rail-edits.js +129 -0
- package/dist/sidebar/rail-edits.js.map +1 -0
- package/dist/sidebar/rail-label.d.ts +14 -0
- package/dist/sidebar/rail-label.js +15 -0
- package/dist/sidebar/rail-label.js.map +1 -0
- package/dist/sidebar/rail-rows.d.ts +52 -0
- package/dist/sidebar/rail-rows.js +47 -0
- package/dist/sidebar/rail-rows.js.map +1 -0
- package/dist/sidebar/route-context.d.ts +20 -0
- package/dist/sidebar/route-context.js +16 -0
- package/dist/sidebar/route-context.js.map +1 -0
- package/dist/sidebar/row-entrance.d.ts +42 -0
- package/dist/sidebar/row-entrance.js +41 -0
- package/dist/sidebar/row-entrance.js.map +1 -0
- package/dist/sidebar/settings-nav.d.ts +22 -0
- package/dist/sidebar/settings-nav.js +87 -0
- package/dist/sidebar/settings-nav.js.map +1 -0
- package/dist/sidebar/setup-contact-dialog.d.ts +13 -0
- package/dist/sidebar/setup-contact-dialog.js +90 -0
- package/dist/sidebar/setup-contact-dialog.js.map +1 -0
- package/dist/sidebar/setup-extra-steps.d.ts +20 -0
- package/dist/sidebar/setup-extra-steps.js +45 -0
- package/dist/sidebar/setup-extra-steps.js.map +1 -0
- package/dist/sidebar/setup-progress.d.ts +28 -0
- package/dist/sidebar/setup-progress.js +349 -0
- package/dist/sidebar/setup-progress.js.map +1 -0
- package/dist/sidebar/setup-step-sections.d.ts +20 -0
- package/dist/sidebar/setup-step-sections.js +96 -0
- package/dist/sidebar/setup-step-sections.js.map +1 -0
- package/dist/sidebar/spine-customers.d.ts +7 -0
- package/dist/sidebar/spine-customers.js +81 -0
- package/dist/sidebar/spine-customers.js.map +1 -0
- package/dist/sidebar/spine-groups.d.ts +23 -0
- package/dist/sidebar/spine-groups.js +290 -0
- package/dist/sidebar/spine-groups.js.map +1 -0
- package/dist/sidebar/spine-hardware.d.ts +2 -0
- package/dist/sidebar/spine-hardware.js +52 -0
- package/dist/sidebar/spine-hardware.js.map +1 -0
- package/dist/sidebar/spine-marketing.d.ts +7 -0
- package/dist/sidebar/spine-marketing.js +131 -0
- package/dist/sidebar/spine-marketing.js.map +1 -0
- package/dist/sidebar/spine-money.d.ts +18 -0
- package/dist/sidebar/spine-money.js +168 -0
- package/dist/sidebar/spine-money.js.map +1 -0
- package/dist/sidebar/spine-operations.d.ts +10 -0
- package/dist/sidebar/spine-operations.js +90 -0
- package/dist/sidebar/spine-operations.js.map +1 -0
- package/dist/sidebar/spine-website.d.ts +6 -0
- package/dist/sidebar/spine-website.js +90 -0
- package/dist/sidebar/spine-website.js.map +1 -0
- package/dist/sidebar/takes-money.d.ts +15 -0
- package/dist/sidebar/takes-money.js +12 -0
- package/dist/sidebar/takes-money.js.map +1 -0
- package/dist/sidebar/use-nav-badges.d.ts +22 -0
- package/dist/sidebar/use-nav-badges.js +60 -0
- package/dist/sidebar/use-nav-badges.js.map +1 -0
- package/dist/sidebar/use-nav-notifications.d.ts +1 -0
- package/dist/sidebar/use-nav-notifications.js +110 -0
- package/dist/sidebar/use-nav-notifications.js.map +1 -0
- package/dist/sidebar/use-new-nav-rows.d.ts +13 -0
- package/dist/sidebar/use-new-nav-rows.js +53 -0
- package/dist/sidebar/use-new-nav-rows.js.map +1 -0
- package/dist/sidebar/use-open-hub.d.ts +12 -0
- package/dist/sidebar/use-open-hub.js +18 -0
- package/dist/sidebar/use-open-hub.js.map +1 -0
- package/dist/sidebar/use-resource-rows.d.ts +36 -0
- package/dist/sidebar/use-resource-rows.js +62 -0
- package/dist/sidebar/use-resource-rows.js.map +1 -0
- package/dist/sidebar/work-rows.d.ts +17 -0
- package/dist/sidebar/work-rows.js +17 -0
- package/dist/sidebar/work-rows.js.map +1 -0
- package/dist/sidebar.d.ts +6 -0
- package/dist/sidebar.js +337 -0
- package/dist/sidebar.js.map +1 -0
- package/dist/staff-welcome.d.ts +28 -0
- package/dist/staff-welcome.js +86 -0
- package/dist/staff-welcome.js.map +1 -0
- package/dist/storefront-preview/preview-refresh.d.ts +7 -0
- package/dist/storefront-preview/preview-refresh.js +30 -0
- package/dist/storefront-preview/preview-refresh.js.map +1 -0
- package/dist/storefront-preview/storefront-preview.d.ts +57 -0
- package/dist/storefront-preview/storefront-preview.js +380 -0
- package/dist/storefront-preview/storefront-preview.js.map +1 -0
- package/dist/storefront-preview/storefront-thumbnail.d.ts +16 -0
- package/dist/storefront-preview/storefront-thumbnail.js +57 -0
- package/dist/storefront-preview/storefront-thumbnail.js.map +1 -0
- package/dist/styles/mobile/theme.d.ts +31 -0
- package/dist/styles/mobile/theme.js +112 -0
- package/dist/styles/mobile/theme.js.map +1 -0
- package/dist/styles/reader-mode.module.css +174 -0
- package/dist/support/case-composer.d.ts +80 -0
- package/dist/support/case-composer.js +255 -0
- package/dist/support/case-composer.js.map +1 -0
- package/dist/support/support-case-ui.d.ts +18 -0
- package/dist/support/support-case-ui.js +51 -0
- package/dist/support/support-case-ui.js.map +1 -0
- package/dist/take-payment.d.ts +21 -0
- package/dist/take-payment.js +72 -0
- package/dist/take-payment.js.map +1 -0
- package/dist/template-editor/canvas-banner.d.ts +34 -0
- package/dist/template-editor/canvas-banner.js +112 -0
- package/dist/template-editor/canvas-banner.js.map +1 -0
- package/dist/template-editor/copy-preview-link-button.d.ts +17 -0
- package/dist/template-editor/copy-preview-link-button.js +57 -0
- package/dist/template-editor/copy-preview-link-button.js.map +1 -0
- package/dist/template-editor/publish-dialog.d.ts +20 -0
- package/dist/template-editor/publish-dialog.js +223 -0
- package/dist/template-editor/publish-dialog.js.map +1 -0
- package/dist/template-editor/status-pill.d.ts +12 -0
- package/dist/template-editor/status-pill.js +65 -0
- package/dist/template-editor/status-pill.js.map +1 -0
- package/dist/template-editor/template-preview-inspector.d.ts +10 -0
- package/dist/template-editor/template-preview-inspector.js +166 -0
- package/dist/template-editor/template-preview-inspector.js.map +1 -0
- package/dist/templates/category-label.d.ts +18 -0
- package/dist/templates/category-label.js +20 -0
- package/dist/templates/category-label.js.map +1 -0
- package/dist/templates/create-own.d.ts +5 -0
- package/dist/templates/create-own.js +82 -0
- package/dist/templates/create-own.js.map +1 -0
- package/dist/templates/template-brief.d.ts +43 -0
- package/dist/templates/template-brief.js +109 -0
- package/dist/templates/template-brief.js.map +1 -0
- package/dist/templates/template-gallery.d.ts +112 -0
- package/dist/templates/template-gallery.js +274 -0
- package/dist/templates/template-gallery.js.map +1 -0
- package/dist/templates/template-live-thumb.d.ts +44 -0
- package/dist/templates/template-live-thumb.js +186 -0
- package/dist/templates/template-live-thumb.js.map +1 -0
- package/dist/templates/template-preview-dialog.d.ts +25 -0
- package/dist/templates/template-preview-dialog.js +70 -0
- package/dist/templates/template-preview-dialog.js.map +1 -0
- package/dist/templates/template-preview-panel.d.ts +75 -0
- package/dist/templates/template-preview-panel.js +151 -0
- package/dist/templates/template-preview-panel.js.map +1 -0
- package/dist/templates/template-preview-split.d.ts +27 -0
- package/dist/templates/template-preview-split.js +121 -0
- package/dist/templates/template-preview-split.js.map +1 -0
- package/dist/templates/template-still.d.ts +18 -0
- package/dist/templates/template-still.js +36 -0
- package/dist/templates/template-still.js.map +1 -0
- package/dist/templates/template-tile-source.d.ts +24 -0
- package/dist/templates/template-tile-source.js +18 -0
- package/dist/templates/template-tile-source.js.map +1 -0
- package/dist/templates/template-tile.d.ts +71 -0
- package/dist/templates/template-tile.js +91 -0
- package/dist/templates/template-tile.js.map +1 -0
- package/dist/templates/template-toolbar.d.ts +28 -0
- package/dist/templates/template-toolbar.js +60 -0
- package/dist/templates/template-toolbar.js.map +1 -0
- package/dist/templates/use-growing-shelf.d.ts +13 -0
- package/dist/templates/use-growing-shelf.js +29 -0
- package/dist/templates/use-growing-shelf.js.map +1 -0
- package/dist/templates/use-mobile-template-preview.d.ts +18 -0
- package/dist/templates/use-mobile-template-preview.js +24 -0
- package/dist/templates/use-mobile-template-preview.js.map +1 -0
- package/dist/templates/use-recent-templates.d.ts +9 -0
- package/dist/templates/use-recent-templates.js +28 -0
- package/dist/templates/use-recent-templates.js.map +1 -0
- package/dist/templates/workflow-canvas.css +168 -0
- package/dist/templates/workflow-canvas.d.ts +14 -0
- package/dist/templates/workflow-canvas.js +168 -0
- package/dist/templates/workflow-canvas.js.map +1 -0
- package/dist/viewer-banner.d.ts +6 -0
- package/dist/viewer-banner.js +19 -0
- package/dist/viewer-banner.js.map +1 -0
- package/dist/voice/voice-composer.d.ts +47 -0
- package/dist/voice/voice-composer.js +202 -0
- package/dist/voice/voice-composer.js.map +1 -0
- package/dist/voice/waveform.d.ts +34 -0
- package/dist/voice/waveform.js +107 -0
- package/dist/voice/waveform.js.map +1 -0
- package/dist/workspace-setup/step-intent.d.ts +16 -0
- package/dist/workspace-setup/step-intent.js +176 -0
- package/dist/workspace-setup/step-intent.js.map +1 -0
- package/package.json +83 -0
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect, useRef, useState } from "react";
|
|
4
|
+
import { resolveWebUrl } from "@withpotter/lib/web-url";
|
|
5
|
+
import { tileSource } from "./template-tile-source";
|
|
6
|
+
const BASE_WIDTH = 1280;
|
|
7
|
+
const RENDER_GRACE_MS = 6e3;
|
|
8
|
+
function TemplateLiveThumb({
|
|
9
|
+
url,
|
|
10
|
+
preview,
|
|
11
|
+
image,
|
|
12
|
+
name
|
|
13
|
+
}) {
|
|
14
|
+
const ref = useRef(null);
|
|
15
|
+
const videoRef = useRef(null);
|
|
16
|
+
const [scale, setScale] = useState(0.3);
|
|
17
|
+
const [shouldLoadVideo, setShouldLoadVideo] = useState(false);
|
|
18
|
+
const [isVisible, setIsVisible] = useState(false);
|
|
19
|
+
const [videoFailed, setVideoFailed] = useState(false);
|
|
20
|
+
const [posterFailed, setPosterFailed] = useState(false);
|
|
21
|
+
const [rendered, setRendered] = useState(null);
|
|
22
|
+
const candidates = (Array.isArray(image) ? image : [image]).filter(
|
|
23
|
+
(src) => !!src
|
|
24
|
+
);
|
|
25
|
+
const [failedCount, setFailedCount] = useState(0);
|
|
26
|
+
const still = candidates[failedCount] ?? null;
|
|
27
|
+
const media = preview ? {
|
|
28
|
+
poster: `${resolveWebUrl()}${preview.poster}`,
|
|
29
|
+
webm: preview.webm ? `${resolveWebUrl()}${preview.webm}` : void 0,
|
|
30
|
+
mp4: preview.mp4 ? `${resolveWebUrl()}${preview.mp4}` : void 0
|
|
31
|
+
} : null;
|
|
32
|
+
useEffect(() => {
|
|
33
|
+
if (!preview) return;
|
|
34
|
+
const connection = navigator.connection;
|
|
35
|
+
if (window.matchMedia("(prefers-reduced-motion: reduce)").matches || connection?.saveData === true) {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
const host = ref.current;
|
|
39
|
+
if (!host) return;
|
|
40
|
+
const loadObserver = new IntersectionObserver(
|
|
41
|
+
([entry]) => {
|
|
42
|
+
if (!entry.isIntersecting) return;
|
|
43
|
+
setShouldLoadVideo(true);
|
|
44
|
+
loadObserver.disconnect();
|
|
45
|
+
},
|
|
46
|
+
{ rootMargin: "600px 0px" }
|
|
47
|
+
);
|
|
48
|
+
const visibilityObserver = new IntersectionObserver(
|
|
49
|
+
([entry]) => setIsVisible(entry.isIntersecting),
|
|
50
|
+
{ threshold: 0.01 }
|
|
51
|
+
);
|
|
52
|
+
loadObserver.observe(host);
|
|
53
|
+
visibilityObserver.observe(host);
|
|
54
|
+
return () => {
|
|
55
|
+
loadObserver.disconnect();
|
|
56
|
+
visibilityObserver.disconnect();
|
|
57
|
+
};
|
|
58
|
+
}, [preview]);
|
|
59
|
+
useEffect(() => {
|
|
60
|
+
const video = videoRef.current;
|
|
61
|
+
if (!video) return;
|
|
62
|
+
const syncPlayback = () => {
|
|
63
|
+
if (isVisible && document.visibilityState === "visible") {
|
|
64
|
+
void video.play().catch((error) => {
|
|
65
|
+
if (error instanceof DOMException && error.name === "AbortError") {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
setVideoFailed(true);
|
|
69
|
+
});
|
|
70
|
+
} else {
|
|
71
|
+
video.pause();
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
syncPlayback();
|
|
75
|
+
document.addEventListener("visibilitychange", syncPlayback);
|
|
76
|
+
return () => document.removeEventListener("visibilitychange", syncPlayback);
|
|
77
|
+
}, [isVisible, shouldLoadVideo]);
|
|
78
|
+
useEffect(() => {
|
|
79
|
+
const el = ref.current;
|
|
80
|
+
if (!el) return;
|
|
81
|
+
const ro = new ResizeObserver(([entry]) => {
|
|
82
|
+
if (entry) setScale(entry.contentRect.width / BASE_WIDTH);
|
|
83
|
+
});
|
|
84
|
+
ro.observe(el);
|
|
85
|
+
return () => ro.disconnect();
|
|
86
|
+
}, []);
|
|
87
|
+
useEffect(() => {
|
|
88
|
+
if (still) return;
|
|
89
|
+
const t = setTimeout(
|
|
90
|
+
() => setRendered((r) => r === null ? false : r),
|
|
91
|
+
RENDER_GRACE_MS
|
|
92
|
+
);
|
|
93
|
+
return () => clearTimeout(t);
|
|
94
|
+
}, [still]);
|
|
95
|
+
const source = tileSource({
|
|
96
|
+
hasVideo: !!media && (!!media.mp4 || !!media.webm),
|
|
97
|
+
hasPoster: !!media?.poster,
|
|
98
|
+
videoWanted: !!media && shouldLoadVideo,
|
|
99
|
+
videoFailed,
|
|
100
|
+
posterFailed,
|
|
101
|
+
stillAvailable: !!still,
|
|
102
|
+
renderGaveUp: rendered === false
|
|
103
|
+
});
|
|
104
|
+
return /* @__PURE__ */ jsx(
|
|
105
|
+
"div",
|
|
106
|
+
{
|
|
107
|
+
ref,
|
|
108
|
+
className: "relative aspect-[16/9] w-full overflow-hidden bg-white",
|
|
109
|
+
children: source === "video" && media ? /* @__PURE__ */ jsxs(
|
|
110
|
+
"video",
|
|
111
|
+
{
|
|
112
|
+
ref: videoRef,
|
|
113
|
+
className: "absolute inset-0 h-full w-full object-cover object-top",
|
|
114
|
+
muted: true,
|
|
115
|
+
loop: true,
|
|
116
|
+
playsInline: true,
|
|
117
|
+
preload: "metadata",
|
|
118
|
+
poster: media.poster,
|
|
119
|
+
"aria-hidden": true,
|
|
120
|
+
onError: () => setVideoFailed(true),
|
|
121
|
+
onCanPlay: () => {
|
|
122
|
+
if (!isVisible || document.visibilityState !== "visible") return;
|
|
123
|
+
void videoRef.current?.play().catch((error) => {
|
|
124
|
+
if (error instanceof DOMException && error.name === "AbortError") {
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
setVideoFailed(true);
|
|
128
|
+
});
|
|
129
|
+
},
|
|
130
|
+
children: [
|
|
131
|
+
media.mp4 ? /* @__PURE__ */ jsx("source", { src: media.mp4, type: "video/mp4" }) : null,
|
|
132
|
+
media.webm ? /* @__PURE__ */ jsx("source", { src: media.webm, type: "video/webm" }) : null
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
) : source === "poster" && media ? (
|
|
136
|
+
// eslint-disable-next-line @next/next/no-img-element
|
|
137
|
+
/* @__PURE__ */ jsx(
|
|
138
|
+
"img",
|
|
139
|
+
{
|
|
140
|
+
src: media.poster,
|
|
141
|
+
alt: "",
|
|
142
|
+
"aria-hidden": true,
|
|
143
|
+
loading: "lazy",
|
|
144
|
+
onError: () => setPosterFailed(true),
|
|
145
|
+
className: "absolute inset-0 h-full w-full object-cover object-top"
|
|
146
|
+
}
|
|
147
|
+
)
|
|
148
|
+
) : source === "still" && still ? (
|
|
149
|
+
// eslint-disable-next-line @next/next/no-img-element
|
|
150
|
+
/* @__PURE__ */ jsx(
|
|
151
|
+
"img",
|
|
152
|
+
{
|
|
153
|
+
src: still,
|
|
154
|
+
alt: "",
|
|
155
|
+
"aria-hidden": true,
|
|
156
|
+
loading: "lazy",
|
|
157
|
+
onError: () => setFailedCount((n) => n + 1),
|
|
158
|
+
className: "absolute inset-0 h-full w-full object-cover object-top"
|
|
159
|
+
}
|
|
160
|
+
)
|
|
161
|
+
) : source === "unavailable" ? /* @__PURE__ */ jsx("div", { className: "absolute inset-0 flex items-center justify-center bg-[var(--bg-elevated)] px-3 text-center", children: /* @__PURE__ */ jsxs("span", { className: "text-xs text-[var(--text-tertiary)]", children: [
|
|
162
|
+
name ?? "Preview",
|
|
163
|
+
" unavailable"
|
|
164
|
+
] }) }) : /* @__PURE__ */ jsx(
|
|
165
|
+
"iframe",
|
|
166
|
+
{
|
|
167
|
+
src: url,
|
|
168
|
+
tabIndex: -1,
|
|
169
|
+
"aria-hidden": true,
|
|
170
|
+
loading: "lazy",
|
|
171
|
+
onLoad: () => setRendered(true),
|
|
172
|
+
className: "pointer-events-none absolute left-0 top-0 origin-top-left border-0",
|
|
173
|
+
style: {
|
|
174
|
+
width: BASE_WIDTH,
|
|
175
|
+
height: BASE_WIDTH * (5 / 3),
|
|
176
|
+
transform: `scale(${scale})`
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
)
|
|
180
|
+
}
|
|
181
|
+
);
|
|
182
|
+
}
|
|
183
|
+
export {
|
|
184
|
+
TemplateLiveThumb
|
|
185
|
+
};
|
|
186
|
+
//# sourceMappingURL=template-live-thumb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/templates/template-live-thumb.tsx"],"sourcesContent":["'use client';\n\nimport { useEffect, useRef, useState } from 'react';\nimport { resolveWebUrl } from '@withpotter/lib/web-url';\nimport { tileSource } from './template-tile-source';\n\nconst BASE_WIDTH = 1280;\n/** Long enough for a cold render, short enough not to hold a blank tile. */\nconst RENDER_GRACE_MS = 6000;\n\nexport interface TemplatePreviewMedia {\n poster: string;\n webm?: string;\n mp4?: string;\n width: number;\n height: number;\n durationMs: number;\n sourceHash: string;\n}\n\n/**\n * A template's picture.\n *\n * PREFERS A STILL, FALLS BACK TO A LIVE RENDER. It used to be a live\n * `/preview/{id}` iframe unconditionally, which meant a gallery booted a full\n * storefront render per tile just to show a thumbnail. Slow on a Lagos\n * connection, uncacheable, and — the part that actually bit — a hard runtime\n * dependency on the renderer for a static need. With web-render down or\n * mid-deploy, every tile in the product was a blank white box.\n *\n * So: a real image when one exists, the live render only when it does not, and\n * a legible placeholder when neither answers. The live path stays because it is\n * genuinely useful (it can never be stale, and it is right for the preview\n * panel where someone asked to see the thing work), but it is no longer the\n * only way a template can be seen.\n */\nexport function TemplateLiveThumb({\n url,\n preview,\n image,\n name,\n}: {\n url: string;\n preview?: TemplatePreviewMedia | null;\n /**\n * Pictures to try, best first. When one loads, nothing is rendered live.\n *\n * A LIST, not one path, because there are two places a real picture can come\n * from and only one of them was being read. `stillFor` points at a still\n * generated into this app's own `public/templates/`, which has to be\n * regenerated by hand whenever a template is added — so the three most recent\n * templates had no still, fell straight through to the live iframe, and every\n * one of them showed as a blank white box. Meanwhile the template package\n * itself ships `thumbnail.png`, a clean full-page capture, and nothing in this\n * app ever asked for it.\n */\n image?: string | (string | null | undefined)[] | null;\n /** Named in the placeholder, so a failed tile is still identifiable. */\n name?: string;\n}) {\n const ref = useRef<HTMLDivElement>(null);\n const videoRef = useRef<HTMLVideoElement>(null);\n const [scale, setScale] = useState(0.3);\n const [shouldLoadVideo, setShouldLoadVideo] = useState(false);\n const [isVisible, setIsVisible] = useState(false);\n const [videoFailed, setVideoFailed] = useState(false);\n /** The poster is its own failure: a video that is not there must not take a working poster with it. */\n const [posterFailed, setPosterFailed] = useState(false);\n /** null while the frame is given a chance, false once it is not coming. */\n const [rendered, setRendered] = useState<boolean | null>(null);\n /**\n * A picture that 404s must fall through to the next one, not sit there broken.\n *\n * `stillFor` always returns a path — it cannot know whether the file exists —\n * so the `image` prop is never falsy and the stated precedence (picture, then\n * live render, then placeholder) silently collapsed to its first step.\n */\n const candidates = (Array.isArray(image) ? image : [image]).filter(\n (src): src is string => !!src,\n );\n const [failedCount, setFailedCount] = useState(0);\n const still = candidates[failedCount] ?? null;\n const media = preview\n ? {\n poster: `${resolveWebUrl()}${preview.poster}`,\n webm: preview.webm ? `${resolveWebUrl()}${preview.webm}` : undefined,\n mp4: preview.mp4 ? `${resolveWebUrl()}${preview.mp4}` : undefined,\n }\n : null;\n\n useEffect(() => {\n if (!preview) return;\n const connection = (\n navigator as Navigator & { connection?: { saveData?: boolean } }\n ).connection;\n if (\n window.matchMedia('(prefers-reduced-motion: reduce)').matches ||\n connection?.saveData === true\n ) {\n return;\n }\n const host = ref.current;\n if (!host) return;\n const loadObserver = new IntersectionObserver(\n ([entry]) => {\n if (!entry.isIntersecting) return;\n setShouldLoadVideo(true);\n loadObserver.disconnect();\n },\n { rootMargin: '600px 0px' },\n );\n const visibilityObserver = new IntersectionObserver(\n ([entry]) => setIsVisible(entry.isIntersecting),\n { threshold: 0.01 },\n );\n loadObserver.observe(host);\n visibilityObserver.observe(host);\n return () => {\n loadObserver.disconnect();\n visibilityObserver.disconnect();\n };\n }, [preview]);\n\n useEffect(() => {\n const video = videoRef.current;\n if (!video) return;\n const syncPlayback = () => {\n if (isVisible && document.visibilityState === 'visible') {\n void video.play().catch((error: unknown) => {\n if (error instanceof DOMException && error.name === 'AbortError') {\n return;\n }\n setVideoFailed(true);\n });\n } else {\n video.pause();\n }\n };\n syncPlayback();\n document.addEventListener('visibilitychange', syncPlayback);\n return () => document.removeEventListener('visibilitychange', syncPlayback);\n }, [isVisible, shouldLoadVideo]);\n\n useEffect(() => {\n const el = ref.current;\n if (!el) return;\n const ro = new ResizeObserver(([entry]) => {\n if (entry) setScale(entry.contentRect.width / BASE_WIDTH);\n });\n ro.observe(el);\n return () => ro.disconnect();\n }, []);\n\n useEffect(() => {\n if (still) return;\n // A refused connection never fires onLoad, so the only way to know the\n // render is not coming is to stop waiting for it.\n const t = setTimeout(\n () => setRendered((r) => (r === null ? false : r)),\n RENDER_GRACE_MS,\n );\n return () => clearTimeout(t);\n }, [still]);\n\n const source = tileSource({\n hasVideo: !!media && (!!media.mp4 || !!media.webm),\n hasPoster: !!media?.poster,\n videoWanted: !!media && shouldLoadVideo,\n videoFailed,\n posterFailed,\n stillAvailable: !!still,\n renderGaveUp: rendered === false,\n });\n\n return (\n <div\n ref={ref}\n className=\"relative aspect-[16/9] w-full overflow-hidden bg-white\"\n >\n {source === 'video' && media ? (\n <video\n ref={videoRef}\n className=\"absolute inset-0 h-full w-full object-cover object-top\"\n muted\n loop\n playsInline\n preload=\"metadata\"\n poster={media.poster}\n aria-hidden\n onError={() => setVideoFailed(true)}\n onCanPlay={() => {\n if (!isVisible || document.visibilityState !== 'visible') return;\n void videoRef.current?.play().catch((error: unknown) => {\n if (\n error instanceof DOMException &&\n error.name === 'AbortError'\n ) {\n return;\n }\n setVideoFailed(true);\n });\n }}\n >\n {media.mp4 ? <source src={media.mp4} type=\"video/mp4\" /> : null}\n {media.webm ? <source src={media.webm} type=\"video/webm\" /> : null}\n </video>\n ) : source === 'poster' && media ? (\n // eslint-disable-next-line @next/next/no-img-element\n <img\n src={media.poster}\n alt=\"\"\n aria-hidden\n loading=\"lazy\"\n onError={() => setPosterFailed(true)}\n className=\"absolute inset-0 h-full w-full object-cover object-top\"\n />\n ) : source === 'still' && still ? (\n // eslint-disable-next-line @next/next/no-img-element\n <img\n src={still}\n alt=\"\"\n aria-hidden\n loading=\"lazy\"\n // Try the next candidate, then the live render, then the placeholder.\n onError={() => setFailedCount((n) => n + 1)}\n className=\"absolute inset-0 h-full w-full object-cover object-top\"\n />\n ) : source === 'unavailable' ? (\n <div className=\"absolute inset-0 flex items-center justify-center bg-[var(--bg-elevated)] px-3 text-center\">\n <span className=\"text-xs text-[var(--text-tertiary)]\">\n {name ?? 'Preview'} unavailable\n </span>\n </div>\n ) : (\n <iframe\n src={url}\n tabIndex={-1}\n aria-hidden\n loading=\"lazy\"\n onLoad={() => setRendered(true)}\n className=\"pointer-events-none absolute left-0 top-0 origin-top-left border-0\"\n style={{\n width: BASE_WIDTH,\n height: BASE_WIDTH * (5 / 3),\n transform: `scale(${scale})`,\n }}\n />\n )}\n </div>\n );\n}\n"],"mappings":";AAoLQ,SAuBe,KAvBf;AAlLR,SAAS,WAAW,QAAQ,gBAAgB;AAC5C,SAAS,qBAAqB;AAC9B,SAAS,kBAAkB;AAE3B,MAAM,aAAa;AAEnB,MAAM,kBAAkB;AA4BjB,SAAS,kBAAkB;AAAA,EAChC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAkBG;AACD,QAAM,MAAM,OAAuB,IAAI;AACvC,QAAM,WAAW,OAAyB,IAAI;AAC9C,QAAM,CAAC,OAAO,QAAQ,IAAI,SAAS,GAAG;AACtC,QAAM,CAAC,iBAAiB,kBAAkB,IAAI,SAAS,KAAK;AAC5D,QAAM,CAAC,WAAW,YAAY,IAAI,SAAS,KAAK;AAChD,QAAM,CAAC,aAAa,cAAc,IAAI,SAAS,KAAK;AAEpD,QAAM,CAAC,cAAc,eAAe,IAAI,SAAS,KAAK;AAEtD,QAAM,CAAC,UAAU,WAAW,IAAI,SAAyB,IAAI;AAQ7D,QAAM,cAAc,MAAM,QAAQ,KAAK,IAAI,QAAQ,CAAC,KAAK,GAAG;AAAA,IAC1D,CAAC,QAAuB,CAAC,CAAC;AAAA,EAC5B;AACA,QAAM,CAAC,aAAa,cAAc,IAAI,SAAS,CAAC;AAChD,QAAM,QAAQ,WAAW,WAAW,KAAK;AACzC,QAAM,QAAQ,UACV;AAAA,IACE,QAAQ,GAAG,cAAc,CAAC,GAAG,QAAQ,MAAM;AAAA,IAC3C,MAAM,QAAQ,OAAO,GAAG,cAAc,CAAC,GAAG,QAAQ,IAAI,KAAK;AAAA,IAC3D,KAAK,QAAQ,MAAM,GAAG,cAAc,CAAC,GAAG,QAAQ,GAAG,KAAK;AAAA,EAC1D,IACA;AAEJ,YAAU,MAAM;AACd,QAAI,CAAC,QAAS;AACd,UAAM,aACJ,UACA;AACF,QACE,OAAO,WAAW,kCAAkC,EAAE,WACtD,YAAY,aAAa,MACzB;AACA;AAAA,IACF;AACA,UAAM,OAAO,IAAI;AACjB,QAAI,CAAC,KAAM;AACX,UAAM,eAAe,IAAI;AAAA,MACvB,CAAC,CAAC,KAAK,MAAM;AACX,YAAI,CAAC,MAAM,eAAgB;AAC3B,2BAAmB,IAAI;AACvB,qBAAa,WAAW;AAAA,MAC1B;AAAA,MACA,EAAE,YAAY,YAAY;AAAA,IAC5B;AACA,UAAM,qBAAqB,IAAI;AAAA,MAC7B,CAAC,CAAC,KAAK,MAAM,aAAa,MAAM,cAAc;AAAA,MAC9C,EAAE,WAAW,KAAK;AAAA,IACpB;AACA,iBAAa,QAAQ,IAAI;AACzB,uBAAmB,QAAQ,IAAI;AAC/B,WAAO,MAAM;AACX,mBAAa,WAAW;AACxB,yBAAmB,WAAW;AAAA,IAChC;AAAA,EACF,GAAG,CAAC,OAAO,CAAC;AAEZ,YAAU,MAAM;AACd,UAAM,QAAQ,SAAS;AACvB,QAAI,CAAC,MAAO;AACZ,UAAM,eAAe,MAAM;AACzB,UAAI,aAAa,SAAS,oBAAoB,WAAW;AACvD,aAAK,MAAM,KAAK,EAAE,MAAM,CAAC,UAAmB;AAC1C,cAAI,iBAAiB,gBAAgB,MAAM,SAAS,cAAc;AAChE;AAAA,UACF;AACA,yBAAe,IAAI;AAAA,QACrB,CAAC;AAAA,MACH,OAAO;AACL,cAAM,MAAM;AAAA,MACd;AAAA,IACF;AACA,iBAAa;AACb,aAAS,iBAAiB,oBAAoB,YAAY;AAC1D,WAAO,MAAM,SAAS,oBAAoB,oBAAoB,YAAY;AAAA,EAC5E,GAAG,CAAC,WAAW,eAAe,CAAC;AAE/B,YAAU,MAAM;AACd,UAAM,KAAK,IAAI;AACf,QAAI,CAAC,GAAI;AACT,UAAM,KAAK,IAAI,eAAe,CAAC,CAAC,KAAK,MAAM;AACzC,UAAI,MAAO,UAAS,MAAM,YAAY,QAAQ,UAAU;AAAA,IAC1D,CAAC;AACD,OAAG,QAAQ,EAAE;AACb,WAAO,MAAM,GAAG,WAAW;AAAA,EAC7B,GAAG,CAAC,CAAC;AAEL,YAAU,MAAM;AACd,QAAI,MAAO;AAGX,UAAM,IAAI;AAAA,MACR,MAAM,YAAY,CAAC,MAAO,MAAM,OAAO,QAAQ,CAAE;AAAA,MACjD;AAAA,IACF;AACA,WAAO,MAAM,aAAa,CAAC;AAAA,EAC7B,GAAG,CAAC,KAAK,CAAC;AAEV,QAAM,SAAS,WAAW;AAAA,IACxB,UAAU,CAAC,CAAC,UAAU,CAAC,CAAC,MAAM,OAAO,CAAC,CAAC,MAAM;AAAA,IAC7C,WAAW,CAAC,CAAC,OAAO;AAAA,IACpB,aAAa,CAAC,CAAC,SAAS;AAAA,IACxB;AAAA,IACA;AAAA,IACA,gBAAgB,CAAC,CAAC;AAAA,IAClB,cAAc,aAAa;AAAA,EAC7B,CAAC;AAED,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,WAAU;AAAA,MAET,qBAAW,WAAW,QACrB;AAAA,QAAC;AAAA;AAAA,UACC,KAAK;AAAA,UACL,WAAU;AAAA,UACV,OAAK;AAAA,UACL,MAAI;AAAA,UACJ,aAAW;AAAA,UACX,SAAQ;AAAA,UACR,QAAQ,MAAM;AAAA,UACd,eAAW;AAAA,UACX,SAAS,MAAM,eAAe,IAAI;AAAA,UAClC,WAAW,MAAM;AACf,gBAAI,CAAC,aAAa,SAAS,oBAAoB,UAAW;AAC1D,iBAAK,SAAS,SAAS,KAAK,EAAE,MAAM,CAAC,UAAmB;AACtD,kBACE,iBAAiB,gBACjB,MAAM,SAAS,cACf;AACA;AAAA,cACF;AACA,6BAAe,IAAI;AAAA,YACrB,CAAC;AAAA,UACH;AAAA,UAEC;AAAA,kBAAM,MAAM,oBAAC,YAAO,KAAK,MAAM,KAAK,MAAK,aAAY,IAAK;AAAA,YAC1D,MAAM,OAAO,oBAAC,YAAO,KAAK,MAAM,MAAM,MAAK,cAAa,IAAK;AAAA;AAAA;AAAA,MAChE,IACE,WAAW,YAAY;AAAA;AAAA,QAEzB;AAAA,UAAC;AAAA;AAAA,YACC,KAAK,MAAM;AAAA,YACX,KAAI;AAAA,YACJ,eAAW;AAAA,YACX,SAAQ;AAAA,YACR,SAAS,MAAM,gBAAgB,IAAI;AAAA,YACnC,WAAU;AAAA;AAAA,QACZ;AAAA,UACE,WAAW,WAAW;AAAA;AAAA,QAExB;AAAA,UAAC;AAAA;AAAA,YACC,KAAK;AAAA,YACL,KAAI;AAAA,YACJ,eAAW;AAAA,YACX,SAAQ;AAAA,YAER,SAAS,MAAM,eAAe,CAAC,MAAM,IAAI,CAAC;AAAA,YAC1C,WAAU;AAAA;AAAA,QACZ;AAAA,UACE,WAAW,gBACb,oBAAC,SAAI,WAAU,8FACb,+BAAC,UAAK,WAAU,uCACb;AAAA,gBAAQ;AAAA,QAAU;AAAA,SACrB,GACF,IAEA;AAAA,QAAC;AAAA;AAAA,UACC,KAAK;AAAA,UACL,UAAU;AAAA,UACV,eAAW;AAAA,UACX,SAAQ;AAAA,UACR,QAAQ,MAAM,YAAY,IAAI;AAAA,UAC9B,WAAU;AAAA,UACV,OAAO;AAAA,YACL,OAAO;AAAA,YACP,QAAQ,cAAc,IAAI;AAAA,YAC1B,WAAW,SAAS,KAAK;AAAA,UAC3B;AAAA;AAAA,MACF;AAAA;AAAA,EAEJ;AAEJ;","names":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { RegistryTemplate } from '@withpotter/lib/template-context';
|
|
2
|
+
/**
|
|
3
|
+
* One template, opened over the shelf it came from.
|
|
4
|
+
*
|
|
5
|
+
* Split out of `template-gallery` on the 500-line rule, and the seam is a real
|
|
6
|
+
* one: the gallery is a list — filtering, paging, which tile is chosen — and
|
|
7
|
+
* this is the single thing being LOOKED at, with the controls that belong to
|
|
8
|
+
* looking. Nothing here needs to know how the shelf was narrowed.
|
|
9
|
+
*/
|
|
10
|
+
export declare function TemplatePreviewDialog({ open, onClose, template, canStep, onStep, previewUrl, isCurrent, isOwned, using, onUse, useLabel, useIsPrimary, useBlockedReason, }: {
|
|
11
|
+
open: boolean;
|
|
12
|
+
onClose: () => void;
|
|
13
|
+
template: RegistryTemplate | null;
|
|
14
|
+
/** False when the shelf holds one template and there is nowhere to step. */
|
|
15
|
+
canStep: boolean;
|
|
16
|
+
onStep: (step: 1 | -1) => void;
|
|
17
|
+
previewUrl: string;
|
|
18
|
+
isCurrent: boolean;
|
|
19
|
+
isOwned: boolean;
|
|
20
|
+
using: boolean;
|
|
21
|
+
onUse: () => void;
|
|
22
|
+
useLabel?: string;
|
|
23
|
+
useIsPrimary?: boolean;
|
|
24
|
+
useBlockedReason?: string | null;
|
|
25
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { ChevronLeft, ChevronRight } from "lucide-react";
|
|
4
|
+
import { Dialog, DialogContent, DialogTitle } from "@withpotter/ui-kit/dialog";
|
|
5
|
+
import { useIsMobile } from "@withpotter/hooks/use-mobile";
|
|
6
|
+
import { TemplatePreviewPanel } from "./template-preview-panel";
|
|
7
|
+
import { TemplatePreviewSplit } from "./template-preview-split";
|
|
8
|
+
function TemplatePreviewDialog({
|
|
9
|
+
open,
|
|
10
|
+
onClose,
|
|
11
|
+
template,
|
|
12
|
+
canStep,
|
|
13
|
+
onStep,
|
|
14
|
+
previewUrl,
|
|
15
|
+
isCurrent,
|
|
16
|
+
isOwned,
|
|
17
|
+
using,
|
|
18
|
+
onUse,
|
|
19
|
+
useLabel,
|
|
20
|
+
useIsPrimary,
|
|
21
|
+
useBlockedReason
|
|
22
|
+
}) {
|
|
23
|
+
const isMobile = useIsMobile();
|
|
24
|
+
return /* @__PURE__ */ jsx(Dialog, { open, onOpenChange: (v) => !v && onClose(), children: /* @__PURE__ */ jsx(DialogContent, { className: "max-w-6xl overflow-visible p-0", children: template && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
25
|
+
/* @__PURE__ */ jsxs(DialogTitle, { className: "sr-only", children: [
|
|
26
|
+
template.name,
|
|
27
|
+
" preview"
|
|
28
|
+
] }),
|
|
29
|
+
canStep && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
30
|
+
/* @__PURE__ */ jsx(
|
|
31
|
+
"button",
|
|
32
|
+
{
|
|
33
|
+
type: "button",
|
|
34
|
+
"aria-label": "Previous template",
|
|
35
|
+
onClick: () => onStep(-1),
|
|
36
|
+
className: "absolute -left-14 top-1/2 z-10 hidden size-10 -translate-y-1/2 place-items-center rounded-full bg-[var(--bg-base)]/80 text-[var(--text-primary)] shadow-md backdrop-blur transition-colors hover:bg-[var(--bg-base)] sm:grid",
|
|
37
|
+
children: /* @__PURE__ */ jsx(ChevronLeft, { className: "size-4" })
|
|
38
|
+
}
|
|
39
|
+
),
|
|
40
|
+
/* @__PURE__ */ jsx(
|
|
41
|
+
"button",
|
|
42
|
+
{
|
|
43
|
+
type: "button",
|
|
44
|
+
"aria-label": "Next template",
|
|
45
|
+
onClick: () => onStep(1),
|
|
46
|
+
className: "absolute -right-14 top-1/2 z-10 hidden size-10 -translate-y-1/2 place-items-center rounded-full bg-[var(--bg-base)]/80 text-[var(--text-primary)] shadow-md backdrop-blur transition-colors hover:bg-[var(--bg-base)] sm:grid",
|
|
47
|
+
children: /* @__PURE__ */ jsx(ChevronRight, { className: "size-4" })
|
|
48
|
+
}
|
|
49
|
+
)
|
|
50
|
+
] }),
|
|
51
|
+
(() => {
|
|
52
|
+
const shared = {
|
|
53
|
+
template,
|
|
54
|
+
previewUrl,
|
|
55
|
+
isCurrent,
|
|
56
|
+
isOwned,
|
|
57
|
+
using,
|
|
58
|
+
onUse,
|
|
59
|
+
useLabel,
|
|
60
|
+
useIsPrimary,
|
|
61
|
+
useBlockedReason
|
|
62
|
+
};
|
|
63
|
+
return isMobile ? /* @__PURE__ */ jsx(TemplatePreviewPanel, { ...shared, size: "stage" }) : /* @__PURE__ */ jsx(TemplatePreviewSplit, { ...shared });
|
|
64
|
+
})()
|
|
65
|
+
] }) }) });
|
|
66
|
+
}
|
|
67
|
+
export {
|
|
68
|
+
TemplatePreviewDialog
|
|
69
|
+
};
|
|
70
|
+
//# sourceMappingURL=template-preview-dialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/templates/template-preview-dialog.tsx"],"sourcesContent":["'use client';\n\nimport { ChevronLeft, ChevronRight } from 'lucide-react';\nimport type { RegistryTemplate } from '@withpotter/lib/template-context';\nimport { Dialog, DialogContent, DialogTitle } from '@withpotter/ui-kit/dialog';\nimport { useIsMobile } from '@withpotter/hooks/use-mobile';\nimport { TemplatePreviewPanel } from './template-preview-panel';\nimport { TemplatePreviewSplit } from './template-preview-split';\n\n/**\n * One template, opened over the shelf it came from.\n *\n * Split out of `template-gallery` on the 500-line rule, and the seam is a real\n * one: the gallery is a list — filtering, paging, which tile is chosen — and\n * this is the single thing being LOOKED at, with the controls that belong to\n * looking. Nothing here needs to know how the shelf was narrowed.\n */\nexport function TemplatePreviewDialog({\n open,\n onClose,\n template,\n canStep,\n onStep,\n previewUrl,\n isCurrent,\n isOwned,\n using,\n onUse,\n useLabel,\n useIsPrimary,\n useBlockedReason,\n}: {\n open: boolean;\n onClose: () => void;\n template: RegistryTemplate | null;\n /** False when the shelf holds one template and there is nowhere to step. */\n canStep: boolean;\n onStep: (step: 1 | -1) => void;\n previewUrl: string;\n isCurrent: boolean;\n isOwned: boolean;\n using: boolean;\n onUse: () => void;\n useLabel?: string;\n useIsPrimary?: boolean;\n useBlockedReason?: string | null;\n}) {\n const isMobile = useIsMobile();\n\n return (\n <Dialog open={open} onOpenChange={(v) => !v && onClose()}>\n {/* `overflow-visible` ON PURPOSE, and it is what lets the arrows be\n outside. `DialogContent` ships `max-h-[calc(100dvh-2rem)]\n overflow-y-auto` so a tall dialog can scroll — and CSS will not let\n one axis be `auto` while the other is `visible`, so `overflow-x`\n computes to `auto` too and silently clips anything positioned past the\n panel edge. The arrows were rendering and being cut off.\n\n Safe here because this dialog cannot outgrow the viewport: the render\n is capped at `72vh` and the footer is one row. */}\n <DialogContent className=\"max-w-6xl overflow-visible p-0\">\n {template && (\n <>\n {/* THE DIALOG HAS TO BE NAMED. Radix logs a hard warning without it\n and a screen reader announces an unlabelled dialog, which is the\n whole point of reaching for the primitive. The name is already\n on screen in the footer, so this is the same string, hidden. */}\n <DialogTitle className=\"sr-only\">\n {template.name} preview\n </DialogTitle>\n\n {/* STEP THROUGH THE SHELF WITHOUT LEAVING IT.\n John, 2026-09-08: *\"the modal can have front and back arow to\n move to the next temaplte\"*. Comparing two templates meant\n closing, finding the next tile and opening it again — three acts\n for the one thing anybody does here, which is look at them one\n after another.\n\n They WRAP on purpose: the shelf is a ring of options, not a\n document with a beginning, and somebody on the last template\n pressing next wants the first one, not a dead control.\n\n OUTSIDE THE PANEL (John, 2026-09-08). Inside, they sat on the\n storefront being judged — two chips laid over the thing the\n whole modal exists to show, covering its left and right edges,\n which on a web page is where the navigation and the cart live.\n Out on the scrim they are unmistakably controls of the VIEWER\n rather than parts of the page. At `max-w-5xl` on a 1440 screen\n there is 208px of scrim each side, so a 56px offset clears the\n panel and still lands well inside the viewport; below `sm` there\n is no room for that and no hover to find them with, so they are\n hidden and the shelf underneath is the way back. */}\n {canStep && (\n <>\n <button\n type=\"button\"\n aria-label=\"Previous template\"\n onClick={() => onStep(-1)}\n className=\"absolute -left-14 top-1/2 z-10 hidden size-10 -translate-y-1/2 place-items-center rounded-full bg-[var(--bg-base)]/80 text-[var(--text-primary)] shadow-md backdrop-blur transition-colors hover:bg-[var(--bg-base)] sm:grid\"\n >\n <ChevronLeft className=\"size-4\" />\n </button>\n <button\n type=\"button\"\n aria-label=\"Next template\"\n onClick={() => onStep(1)}\n className=\"absolute -right-14 top-1/2 z-10 hidden size-10 -translate-y-1/2 place-items-center rounded-full bg-[var(--bg-base)]/80 text-[var(--text-primary)] shadow-md backdrop-blur transition-colors hover:bg-[var(--bg-base)] sm:grid\"\n >\n <ChevronRight className=\"size-4\" />\n </button>\n </>\n )}\n\n {(() => {\n const shared = {\n template,\n previewUrl,\n isCurrent,\n isOwned,\n using,\n onUse,\n useLabel,\n useIsPrimary,\n useBlockedReason,\n };\n return isMobile ? (\n <TemplatePreviewPanel {...shared} size=\"stage\" />\n ) : (\n <TemplatePreviewSplit {...shared} />\n );\n })()}\n </>\n )}\n </DialogContent>\n </Dialog>\n );\n}\n"],"mappings":";AAmEY,SA0BE,UAOI,KAjCN;AAjEZ,SAAS,aAAa,oBAAoB;AAE1C,SAAS,QAAQ,eAAe,mBAAmB;AACnD,SAAS,mBAAmB;AAC5B,SAAS,4BAA4B;AACrC,SAAS,4BAA4B;AAU9B,SAAS,sBAAsB;AAAA,EACpC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAeG;AACD,QAAM,WAAW,YAAY;AAE7B,SACE,oBAAC,UAAO,MAAY,cAAc,CAAC,MAAM,CAAC,KAAK,QAAQ,GAUrD,8BAAC,iBAAc,WAAU,kCACtB,sBACC,iCAKE;AAAA,yBAAC,eAAY,WAAU,WACpB;AAAA,eAAS;AAAA,MAAK;AAAA,OACjB;AAAA,IAuBC,WACC,iCACE;AAAA;AAAA,QAAC;AAAA;AAAA,UACC,MAAK;AAAA,UACL,cAAW;AAAA,UACX,SAAS,MAAM,OAAO,EAAE;AAAA,UACxB,WAAU;AAAA,UAEV,8BAAC,eAAY,WAAU,UAAS;AAAA;AAAA,MAClC;AAAA,MACA;AAAA,QAAC;AAAA;AAAA,UACC,MAAK;AAAA,UACL,cAAW;AAAA,UACX,SAAS,MAAM,OAAO,CAAC;AAAA,UACvB,WAAU;AAAA,UAEV,8BAAC,gBAAa,WAAU,UAAS;AAAA;AAAA,MACnC;AAAA,OACF;AAAA,KAGA,MAAM;AACN,YAAM,SAAS;AAAA,QACb;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AACA,aAAO,WACL,oBAAC,wBAAsB,GAAG,QAAQ,MAAK,SAAQ,IAE/C,oBAAC,wBAAsB,GAAG,QAAQ;AAAA,IAEtC,GAAG;AAAA,KACL,GAEJ,GACF;AAEJ;","names":[]}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { RegistryTemplate } from '@withpotter/lib/template-context';
|
|
2
|
+
interface TemplatePreviewPanelProps {
|
|
3
|
+
template: RegistryTemplate;
|
|
4
|
+
previewUrl: string;
|
|
5
|
+
isCurrent: boolean;
|
|
6
|
+
isOwned: boolean;
|
|
7
|
+
using: boolean;
|
|
8
|
+
onUse: () => void;
|
|
9
|
+
/** Setup says "Start with this"; the gallery says "Use this template". Same
|
|
10
|
+
* panel, because the difference is a word, not a surface. */
|
|
11
|
+
useLabel?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Whether this panel's action is the page's primary move.
|
|
14
|
+
*
|
|
15
|
+
* On the dashboard it is: choosing a template is the whole errand, and there
|
|
16
|
+
* is no other commit on screen. Inside setup there IS one — the flow's own
|
|
17
|
+
* Continue — and both were rendering as primary at once, so opening a preview
|
|
18
|
+
* put two bright buttons on screen that did the same thing. The flow keeps
|
|
19
|
+
* the primary and this becomes the quieter way to take it from where you are
|
|
20
|
+
* already looking.
|
|
21
|
+
*/
|
|
22
|
+
useIsPrimary?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Why this person cannot switch template, or null when they can.
|
|
25
|
+
*
|
|
26
|
+
* The api gates the switch on `canManageBusinessProfile | canManageSettings`,
|
|
27
|
+
* so a staff member pressing this got a refusal instead of a template. Said
|
|
28
|
+
* here, in place of the button, for the reason the note below already gives:
|
|
29
|
+
* a control you cannot press is not a control.
|
|
30
|
+
*/
|
|
31
|
+
useBlockedReason?: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* `panel` sits above a grid of other templates and shares the screen with
|
|
34
|
+
* them. `stage` IS the screen — the shelf has been replaced by this one
|
|
35
|
+
* template — so the render gets the height the grid gave up, and the
|
|
36
|
+
* description earns its place.
|
|
37
|
+
*/
|
|
38
|
+
size?: 'panel' | 'stage';
|
|
39
|
+
/** The way out, drawn above the render. Omit on `panel`, where the grid is
|
|
40
|
+
* still on screen underneath and is its own way back. */
|
|
41
|
+
onBack?: () => void;
|
|
42
|
+
/**
|
|
43
|
+
* Kept on the contract, unread since the workflow view was removed.
|
|
44
|
+
*
|
|
45
|
+
* The workflow belongs to the ARCHETYPE, not to the template — two bookings
|
|
46
|
+
* templates run the identical one, and a padel club and a salon differ in
|
|
47
|
+
* what they look like rather than in what happens after somebody books. So
|
|
48
|
+
* this takes the merchant's own intents rather than reading anything off the
|
|
49
|
+
* template. With none, the toggle does not render: there is nothing to draw.
|
|
50
|
+
*/
|
|
51
|
+
intents?: string[];
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The opened-up template — the site itself, running, with its name and the Use
|
|
55
|
+
* action under it. Lives above the gallery so the rest of the templates flow
|
|
56
|
+
* beneath it.
|
|
57
|
+
*
|
|
58
|
+
* IT ONLY APPEARS WHEN ASKED FOR. The gallery drove this off whatever was
|
|
59
|
+
* selected, and onboarding preselects the archetype's match, so the step opened
|
|
60
|
+
* on one template's panel with the shelf pushed off the bottom of the screen —
|
|
61
|
+
* under a heading reading "Pick a starting point". `previewId` separates the
|
|
62
|
+
* two: chosen is a badge on a tile, previewed is a thing you tapped.
|
|
63
|
+
*
|
|
64
|
+
* Everything else here got smaller. A device toggle, an author line and a
|
|
65
|
+
* description all sat around a live render of the site, describing in words
|
|
66
|
+
* what was on screen in full. What is left is the render and the decision.
|
|
67
|
+
*
|
|
68
|
+
* TWO SIZES, because it does two jobs. As a `panel` it sits above the shelf and
|
|
69
|
+
* shares the screen with it. As a `stage` it has REPLACED the shelf — one click
|
|
70
|
+
* on a tile and this is the whole view — so it takes the height the grid gave
|
|
71
|
+
* up, carries the way back, and earns its description back, there being nothing
|
|
72
|
+
* else on screen to read it against.
|
|
73
|
+
*/
|
|
74
|
+
export declare function TemplatePreviewPanel({ template, previewUrl, isCurrent, isOwned, using, onUse, useLabel, useIsPrimary, useBlockedReason, size, onBack, }: TemplatePreviewPanelProps): import("react").JSX.Element;
|
|
75
|
+
export {};
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect, useState } from "react";
|
|
4
|
+
import { motion, useReducedMotion } from "motion/react";
|
|
5
|
+
import { ArrowLeft, ExternalLink } from "lucide-react";
|
|
6
|
+
import { springs } from "@withpotter/lib/motion";
|
|
7
|
+
import { Button } from "@withpotter/ui-kit/button";
|
|
8
|
+
import { Badge } from "@withpotter/ui-kit/badge";
|
|
9
|
+
import { TemplateStill } from "./template-still";
|
|
10
|
+
const PREVIEW_H = 2600;
|
|
11
|
+
const RENDER_GRACE_MS = 6e3;
|
|
12
|
+
const formatNgn = (n) => `\u20A6${n.toLocaleString("en-NG")}`;
|
|
13
|
+
function TemplatePreviewPanel({
|
|
14
|
+
template,
|
|
15
|
+
previewUrl,
|
|
16
|
+
isCurrent,
|
|
17
|
+
isOwned,
|
|
18
|
+
using,
|
|
19
|
+
onUse,
|
|
20
|
+
useLabel,
|
|
21
|
+
useIsPrimary = true,
|
|
22
|
+
useBlockedReason,
|
|
23
|
+
size = "panel",
|
|
24
|
+
onBack
|
|
25
|
+
}) {
|
|
26
|
+
const [live, setLive] = useState("pending");
|
|
27
|
+
const reduce = useReducedMotion();
|
|
28
|
+
const [shownId, setShownId] = useState(template.id);
|
|
29
|
+
if (shownId !== template.id) {
|
|
30
|
+
setShownId(template.id);
|
|
31
|
+
setLive("pending");
|
|
32
|
+
}
|
|
33
|
+
useEffect(() => {
|
|
34
|
+
const t = setTimeout(
|
|
35
|
+
() => setLive((s) => s === "pending" ? "failed" : s),
|
|
36
|
+
RENDER_GRACE_MS
|
|
37
|
+
);
|
|
38
|
+
return () => clearTimeout(t);
|
|
39
|
+
}, [previewUrl]);
|
|
40
|
+
const price = template.price ?? 0;
|
|
41
|
+
const needsPurchase = price > 0 && !isOwned;
|
|
42
|
+
const frame = live === "failed" ? /* @__PURE__ */ jsx(
|
|
43
|
+
TemplateStill,
|
|
44
|
+
{
|
|
45
|
+
template,
|
|
46
|
+
className: "h-full w-full object-cover object-top"
|
|
47
|
+
}
|
|
48
|
+
) : (
|
|
49
|
+
/* IT SCROLLS ITSELF. John, 2026-09-08: *"make sure the tempalte is auto
|
|
50
|
+
scrolling on its own to show the site"*.
|
|
51
|
+
|
|
52
|
+
The frame shows the top ~700px of a storefront, which is a hero and
|
|
53
|
+
part of a nav — the same thing every template has. What tells one apart
|
|
54
|
+
from another is what comes after it, and nobody scrolls a preview they
|
|
55
|
+
opened to glance at.
|
|
56
|
+
|
|
57
|
+
The TRANSFORM moves, not the iframe's scroll position: the preview is a
|
|
58
|
+
different origin, so its scrollTop is unreachable from here by design.
|
|
59
|
+
Rendering it at `PREVIEW_H` inside a clipped box and translating that
|
|
60
|
+
box upward is our own element moving, which needs no permission and
|
|
61
|
+
stays on the compositor.
|
|
62
|
+
|
|
63
|
+
It plays once and stops at the bottom rather than looping. A panel that
|
|
64
|
+
scrolls forever is a carousel, and a carousel makes you wait for the
|
|
65
|
+
part you wanted to look at. */
|
|
66
|
+
/* @__PURE__ */ jsx(
|
|
67
|
+
motion.iframe,
|
|
68
|
+
{
|
|
69
|
+
src: previewUrl,
|
|
70
|
+
title: `${template.name} preview`,
|
|
71
|
+
onLoad: () => setLive("ok"),
|
|
72
|
+
className: "w-full border-0 bg-white",
|
|
73
|
+
style: { height: PREVIEW_H },
|
|
74
|
+
initial: { y: 0 },
|
|
75
|
+
animate: reduce || live !== "ok" ? { y: 0 } : { y: -(PREVIEW_H - 720) },
|
|
76
|
+
transition: reduce ? { duration: 0 } : { duration: 14, ease: "linear", delay: 1.2 },
|
|
77
|
+
allow: "autoplay; fullscreen"
|
|
78
|
+
}
|
|
79
|
+
)
|
|
80
|
+
);
|
|
81
|
+
return /* @__PURE__ */ jsxs("section", { className: "flex flex-col overflow-hidden rounded-2xl border border-[var(--border-default)] bg-[var(--bg-base)] shadow-[var(--shadow-stage)]", children: [
|
|
82
|
+
onBack && /* @__PURE__ */ jsx("div", { className: "flex border-b border-[var(--border-subtle)] px-4 py-2", children: /* @__PURE__ */ jsxs(
|
|
83
|
+
"button",
|
|
84
|
+
{
|
|
85
|
+
type: "button",
|
|
86
|
+
onClick: onBack,
|
|
87
|
+
className: "inline-flex items-center gap-2 text-sm text-[var(--text-tertiary)] transition-colors hover:text-[var(--text-primary)]",
|
|
88
|
+
children: [
|
|
89
|
+
/* @__PURE__ */ jsx(ArrowLeft, {}),
|
|
90
|
+
"All templates"
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
) }),
|
|
94
|
+
/* @__PURE__ */ jsx(
|
|
95
|
+
motion.div,
|
|
96
|
+
{
|
|
97
|
+
className: (
|
|
98
|
+
/* ON THE STAGE THE ACTION SITS ABOVE THE RENDER, not under it.
|
|
99
|
+
The frame is 72vh of iframe, and an iframe eats the scroll gesture
|
|
100
|
+
that would reach anything below it — so on a phone the merchant who
|
|
101
|
+
tapped a template met a full-screen site with no visible way on,
|
|
102
|
+
and the only control still in view was "Skip for now". They pressed
|
|
103
|
+
it, which threw away the choice they had just made. `order-last`
|
|
104
|
+
moves only the frame: name, decision, site. */
|
|
105
|
+
size === "stage" ? "order-last h-[72vh] min-h-[560px]" : "h-[62vh] min-h-[460px]"
|
|
106
|
+
),
|
|
107
|
+
initial: { opacity: 0 },
|
|
108
|
+
animate: { opacity: 1 },
|
|
109
|
+
transition: springs.gentle,
|
|
110
|
+
children: /* @__PURE__ */ jsx("div", { className: "h-full w-full overflow-hidden bg-white", children: frame })
|
|
111
|
+
},
|
|
112
|
+
template.id
|
|
113
|
+
),
|
|
114
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center justify-between gap-4 border-t border-[var(--border-subtle)] px-4 py-3", children: [
|
|
115
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col gap-0.5", children: [
|
|
116
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
117
|
+
/* @__PURE__ */ jsx("p", { className: "text-lg font-semibold text-[var(--text-primary)]", children: template.name }),
|
|
118
|
+
isCurrent && /* @__PURE__ */ jsx(Badge, { variant: "success", children: "Current" })
|
|
119
|
+
] }),
|
|
120
|
+
size === "stage" && template.description && /* @__PURE__ */ jsx("p", { className: "line-clamp-2 max-w-[52ch] text-sm text-[var(--text-tertiary)]", children: template.description })
|
|
121
|
+
] }),
|
|
122
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
123
|
+
/* @__PURE__ */ jsx(
|
|
124
|
+
Button,
|
|
125
|
+
{
|
|
126
|
+
variant: "secondary",
|
|
127
|
+
size: "md",
|
|
128
|
+
icon: /* @__PURE__ */ jsx(ExternalLink, { className: "h-[15px] w-[15px]" }),
|
|
129
|
+
className: "hidden sm:inline-flex",
|
|
130
|
+
onClick: () => window.open(previewUrl, "_blank", "noopener"),
|
|
131
|
+
children: "Open preview"
|
|
132
|
+
}
|
|
133
|
+
),
|
|
134
|
+
isCurrent ? null : useBlockedReason ? /* @__PURE__ */ jsx("p", { className: "text-xs text-[var(--text-tertiary)]", children: useBlockedReason }) : /* @__PURE__ */ jsx(
|
|
135
|
+
Button,
|
|
136
|
+
{
|
|
137
|
+
variant: useIsPrimary ? "primary" : "secondary",
|
|
138
|
+
size: "md",
|
|
139
|
+
loading: using,
|
|
140
|
+
onClick: onUse,
|
|
141
|
+
children: needsPurchase ? `Buy \xB7 ${formatNgn(price)}` : useLabel ?? "Use this template"
|
|
142
|
+
}
|
|
143
|
+
)
|
|
144
|
+
] })
|
|
145
|
+
] })
|
|
146
|
+
] });
|
|
147
|
+
}
|
|
148
|
+
export {
|
|
149
|
+
TemplatePreviewPanel
|
|
150
|
+
};
|
|
151
|
+
//# sourceMappingURL=template-preview-panel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/templates/template-preview-panel.tsx"],"sourcesContent":["'use client';\n\nimport { useEffect, useState } from 'react';\nimport { motion, useReducedMotion } from 'motion/react';\nimport { ArrowLeft, ExternalLink } from 'lucide-react';\nimport { springs } from '@withpotter/lib/motion';\nimport { Button } from '@withpotter/ui-kit/button';\nimport { Badge } from '@withpotter/ui-kit/badge';\nimport type { RegistryTemplate } from '@withpotter/lib/template-context';\nimport { TemplateStill } from './template-still';\n\n/** Same six seconds the gallery thumbnail waits. Long enough for a cold\n * render, short enough not to hold a blank panel. */\n/**\n * How much of the storefront the frame holds while it scrolls itself.\n *\n * 2600px is roughly three screens of a template — hero, the section under it,\n * and enough of the next to show the page has a rhythm. Taller than that and\n * the pass either crawls or has to move fast enough to be unreadable.\n */\nconst PREVIEW_H = 2600;\n\nconst RENDER_GRACE_MS = 6000;\n\ninterface TemplatePreviewPanelProps {\n template: RegistryTemplate;\n previewUrl: string;\n isCurrent: boolean;\n isOwned: boolean;\n using: boolean;\n onUse: () => void;\n /** Setup says \"Start with this\"; the gallery says \"Use this template\". Same\n * panel, because the difference is a word, not a surface. */\n useLabel?: string;\n /**\n * Whether this panel's action is the page's primary move.\n *\n * On the dashboard it is: choosing a template is the whole errand, and there\n * is no other commit on screen. Inside setup there IS one — the flow's own\n * Continue — and both were rendering as primary at once, so opening a preview\n * put two bright buttons on screen that did the same thing. The flow keeps\n * the primary and this becomes the quieter way to take it from where you are\n * already looking.\n */\n useIsPrimary?: boolean;\n /**\n * Why this person cannot switch template, or null when they can.\n *\n * The api gates the switch on `canManageBusinessProfile | canManageSettings`,\n * so a staff member pressing this got a refusal instead of a template. Said\n * here, in place of the button, for the reason the note below already gives:\n * a control you cannot press is not a control.\n */\n useBlockedReason?: string | null;\n /**\n * `panel` sits above a grid of other templates and shares the screen with\n * them. `stage` IS the screen — the shelf has been replaced by this one\n * template — so the render gets the height the grid gave up, and the\n * description earns its place.\n */\n size?: 'panel' | 'stage';\n /** The way out, drawn above the render. Omit on `panel`, where the grid is\n * still on screen underneath and is its own way back. */\n onBack?: () => void;\n /**\n * Kept on the contract, unread since the workflow view was removed.\n *\n * The workflow belongs to the ARCHETYPE, not to the template — two bookings\n * templates run the identical one, and a padel club and a salon differ in\n * what they look like rather than in what happens after somebody books. So\n * this takes the merchant's own intents rather than reading anything off the\n * template. With none, the toggle does not render: there is nothing to draw.\n */\n intents?: string[];\n}\n\nconst formatNgn = (n: number) => `₦${n.toLocaleString('en-NG')}`;\n\n/**\n * The opened-up template — the site itself, running, with its name and the Use\n * action under it. Lives above the gallery so the rest of the templates flow\n * beneath it.\n *\n * IT ONLY APPEARS WHEN ASKED FOR. The gallery drove this off whatever was\n * selected, and onboarding preselects the archetype's match, so the step opened\n * on one template's panel with the shelf pushed off the bottom of the screen —\n * under a heading reading \"Pick a starting point\". `previewId` separates the\n * two: chosen is a badge on a tile, previewed is a thing you tapped.\n *\n * Everything else here got smaller. A device toggle, an author line and a\n * description all sat around a live render of the site, describing in words\n * what was on screen in full. What is left is the render and the decision.\n *\n * TWO SIZES, because it does two jobs. As a `panel` it sits above the shelf and\n * shares the screen with it. As a `stage` it has REPLACED the shelf — one click\n * on a tile and this is the whole view — so it takes the height the grid gave\n * up, carries the way back, and earns its description back, there being nothing\n * else on screen to read it against.\n */\nexport function TemplatePreviewPanel({\n template,\n previewUrl,\n isCurrent,\n isOwned,\n using,\n onUse,\n useLabel,\n useIsPrimary = true,\n useBlockedReason,\n size = 'panel',\n onBack,\n}: TemplatePreviewPanelProps) {\n const [live, setLive] = useState<'pending' | 'ok' | 'failed'>('pending');\n\n // Opening a different template has to forget the last one's verdict, or a\n // template whose render failed would condemn every template picked after it.\n // Adjusted during render rather than in an effect so the new template never\n // paints one frame wearing the old one's fallback.\n const reduce = useReducedMotion();\n const [shownId, setShownId] = useState(template.id);\n if (shownId !== template.id) {\n setShownId(template.id);\n setLive('pending');\n }\n\n useEffect(() => {\n // A refused connection never fires onLoad, so the only way to know the\n // render is not coming is to stop waiting for it.\n const t = setTimeout(\n () => setLive((s) => (s === 'pending' ? 'failed' : s)),\n RENDER_GRACE_MS,\n );\n return () => clearTimeout(t);\n }, [previewUrl]);\n\n const price = template.price ?? 0;\n const needsPurchase = price > 0 && !isOwned;\n\n /**\n * THE PANEL IS LIVE. The tile is a picture; this is the site.\n *\n * It briefly ran the tile's still-first precedence, on the argument that a\n * gallery should not need the renderer to be up. That argument holds for\n * eleven thumbnails and collapses here: someone who opened a template asked to\n * SEE it, and a static capture of the top 900px is not a site — you cannot\n * scroll it, the menu does not open, and the thing being judged is whether\n * this is somewhere a customer could buy. The still is the fallback now, in\n * the one case that justifies it: the renderer did not answer.\n */\n const frame =\n live === 'failed' ? (\n <TemplateStill\n template={template}\n className=\"h-full w-full object-cover object-top\"\n />\n ) : (\n /* IT SCROLLS ITSELF. John, 2026-09-08: *\"make sure the tempalte is auto\n scrolling on its own to show the site\"*.\n \n The frame shows the top ~700px of a storefront, which is a hero and\n part of a nav — the same thing every template has. What tells one apart\n from another is what comes after it, and nobody scrolls a preview they\n opened to glance at.\n \n The TRANSFORM moves, not the iframe's scroll position: the preview is a\n different origin, so its scrollTop is unreachable from here by design.\n Rendering it at `PREVIEW_H` inside a clipped box and translating that\n box upward is our own element moving, which needs no permission and\n stays on the compositor.\n \n It plays once and stops at the bottom rather than looping. A panel that\n scrolls forever is a carousel, and a carousel makes you wait for the\n part you wanted to look at. */\n <motion.iframe\n src={previewUrl}\n title={`${template.name} preview`}\n onLoad={() => setLive('ok')}\n className=\"w-full border-0 bg-white\"\n style={{ height: PREVIEW_H }}\n initial={{ y: 0 }}\n animate={reduce || live !== 'ok' ? { y: 0 } : { y: -(PREVIEW_H - 720) }}\n transition={\n reduce\n ? { duration: 0 }\n : { duration: 14, ease: 'linear', delay: 1.2 }\n }\n allow=\"autoplay; fullscreen\"\n />\n );\n\n return (\n <section className=\"flex flex-col overflow-hidden rounded-2xl border border-[var(--border-default)] bg-[var(--bg-base)] shadow-[var(--shadow-stage)]\">\n {/* The way back OUT of one template, which the stage owes and the panel\n does not: the panel leaves the shelf on screen underneath it, so the\n shelf is its own way back. */}\n {onBack && (\n <div className=\"flex border-b border-[var(--border-subtle)] px-4 py-2\">\n <button\n type=\"button\"\n onClick={onBack}\n className=\"inline-flex items-center gap-2 text-sm text-[var(--text-tertiary)] transition-colors hover:text-[var(--text-primary)]\"\n >\n <ArrowLeft />\n All templates\n </button>\n </div>\n )}\n {/* No device toggle. It was two icons that changed nothing a merchant is\n deciding here — nobody rejects a template because they have not seen\n its phone layout at this point in setup, and it cost the panel a whole\n chrome bar above the thing it exists to show. The site is responsive;\n the place to look at it on a phone is on a phone. */}\n {/* NO WORKFLOW VIEW (John, 2026-09-07: *\"remove the workflow seciton we\n dont need it\"*). It drew the archetype's flow on a canvas beside the\n template — a second full-height surface, on the one screen whose only\n question is \"this one?\". It also answered about the ARCHETYPE rather\n than the template, so switching template left it unchanged, which is\n the tell that it was not part of this decision. */}\n\n <motion.div\n key={template.id}\n /* TALLER, both of them — John, 2026-09-03: *\"this section can be\n longer height wise.\"* At 46vh the render cut off inside the first\n screen of the site: a merchant saw the header, the trust strip and\n the top of \"Shop by category\", which is enough to tell one template\n from another and not enough to judge one. The point of a live render\n over a still is that it is the real page, and a real page you cannot\n see a section of is a still with extra steps. `stage` moves with it\n so the two keep their order — the stage has replaced the shelf and\n must never be the shorter of the two. */\n className={\n /* ON THE STAGE THE ACTION SITS ABOVE THE RENDER, not under it.\n The frame is 72vh of iframe, and an iframe eats the scroll gesture\n that would reach anything below it — so on a phone the merchant who\n tapped a template met a full-screen site with no visible way on,\n and the only control still in view was \"Skip for now\". They pressed\n it, which threw away the choice they had just made. `order-last`\n moves only the frame: name, decision, site. */\n size === 'stage'\n ? 'order-last h-[72vh] min-h-[560px]'\n : 'h-[62vh] min-h-[460px]'\n }\n initial={{ opacity: 0 }}\n animate={{ opacity: 1 }}\n transition={springs.gentle}\n >\n {/* CLIPPED. The frame is rendered at PREVIEW_H and slid upward, so\n without this the extra 1900px paints straight over the footer —\n the name and both actions disappeared under a storefront. */}\n <div className=\"h-full w-full overflow-hidden bg-white\">{frame}</div>\n </motion.div>\n\n {/* Identity + actions.\n Name and action only. The author line said \"by Box Studio\" on every\n template, and the description repeated in prose what the merchant is\n looking directly at — a full-bleed render of the site sits six pixels\n above it. At this point in setup the question is \"this one?\", and two\n lines of copy are answering a question nobody asked. */}\n <div className=\"flex flex-wrap items-center justify-between gap-4 border-t border-[var(--border-subtle)] px-4 py-3\">\n <div className=\"flex min-w-0 flex-col gap-0.5\">\n <div className=\"flex min-w-0 items-center gap-2\">\n <p className=\"text-lg font-semibold text-[var(--text-primary)]\">\n {template.name}\n </p>\n {isCurrent && <Badge variant=\"success\">Current</Badge>}\n </div>\n {/* ON THE STAGE ONLY.\n The argument for cutting this stands wherever the grid is still\n on screen: a line of prose describing the site, six pixels under a\n full-bleed render of that site, while eleven other tiles are\n waiting to be compared. On the stage there is nothing to compare\n against and nothing else to read — the description is the only\n thing here that says what the template is FOR rather than what it\n looks like. */}\n {size === 'stage' && template.description && (\n <p className=\"line-clamp-2 max-w-[52ch] text-sm text-[var(--text-tertiary)]\">\n {template.description}\n </p>\n )}\n </div>\n\n <div className=\"flex items-center gap-2\">\n <Button\n variant=\"secondary\"\n size=\"md\"\n icon={<ExternalLink className=\"h-[15px] w-[15px]\" />}\n className=\"hidden sm:inline-flex\"\n onClick={() => window.open(previewUrl, '_blank', 'noopener')}\n >\n Open preview\n </Button>\n {/* NOTHING WHERE THE BADGE ALREADY SPOKE.\n The row used to carry a disabled \"In use\" button beside a\n \"Current\" badge on the same line, saying one thing twice — John:\n *\"current and in use is redundant, pick one\"*. The badge stays,\n because it belongs to the template's name; the button goes,\n because a control you cannot press is not a control.\n\n The star went with it. A rating is an opinion the product asks\n for, and asking for one in a toolbar — between an action and a\n badge, while the merchant is looking at something else — is the\n shape the whole prompt system exists to avoid. It is asked after\n the flow now, from the dock, like every other question we ask.\n John: *\"it should either be a pop up on the middle center of the\n page or below and should be after a flow\"*. */}\n {isCurrent ? null : useBlockedReason ? (\n <p className=\"text-xs text-[var(--text-tertiary)]\">\n {useBlockedReason}\n </p>\n ) : (\n <Button\n variant={useIsPrimary ? 'primary' : 'secondary'}\n size=\"md\"\n loading={using}\n onClick={onUse}\n >\n {needsPurchase\n ? `Buy · ${formatNgn(price)}`\n : (useLabel ?? 'Use this template')}\n </Button>\n )}\n </div>\n </div>\n </section>\n );\n}\n"],"mappings":";AAuJM,cA8CI,YA9CJ;AArJN,SAAS,WAAW,gBAAgB;AACpC,SAAS,QAAQ,wBAAwB;AACzC,SAAS,WAAW,oBAAoB;AACxC,SAAS,eAAe;AACxB,SAAS,cAAc;AACvB,SAAS,aAAa;AAEtB,SAAS,qBAAqB;AAW9B,MAAM,YAAY;AAElB,MAAM,kBAAkB;AAsDxB,MAAM,YAAY,CAAC,MAAc,SAAI,EAAE,eAAe,OAAO,CAAC;AAuBvD,SAAS,qBAAqB;AAAA,EACnC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf;AAAA,EACA,OAAO;AAAA,EACP;AACF,GAA8B;AAC5B,QAAM,CAAC,MAAM,OAAO,IAAI,SAAsC,SAAS;AAMvE,QAAM,SAAS,iBAAiB;AAChC,QAAM,CAAC,SAAS,UAAU,IAAI,SAAS,SAAS,EAAE;AAClD,MAAI,YAAY,SAAS,IAAI;AAC3B,eAAW,SAAS,EAAE;AACtB,YAAQ,SAAS;AAAA,EACnB;AAEA,YAAU,MAAM;AAGd,UAAM,IAAI;AAAA,MACR,MAAM,QAAQ,CAAC,MAAO,MAAM,YAAY,WAAW,CAAE;AAAA,MACrD;AAAA,IACF;AACA,WAAO,MAAM,aAAa,CAAC;AAAA,EAC7B,GAAG,CAAC,UAAU,CAAC;AAEf,QAAM,QAAQ,SAAS,SAAS;AAChC,QAAM,gBAAgB,QAAQ,KAAK,CAAC;AAapC,QAAM,QACJ,SAAS,WACP;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,WAAU;AAAA;AAAA,EACZ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAmBA;AAAA,MAAC,OAAO;AAAA,MAAP;AAAA,QACC,KAAK;AAAA,QACL,OAAO,GAAG,SAAS,IAAI;AAAA,QACvB,QAAQ,MAAM,QAAQ,IAAI;AAAA,QAC1B,WAAU;AAAA,QACV,OAAO,EAAE,QAAQ,UAAU;AAAA,QAC3B,SAAS,EAAE,GAAG,EAAE;AAAA,QAChB,SAAS,UAAU,SAAS,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,KAAK;AAAA,QACtE,YACE,SACI,EAAE,UAAU,EAAE,IACd,EAAE,UAAU,IAAI,MAAM,UAAU,OAAO,IAAI;AAAA,QAEjD,OAAM;AAAA;AAAA,IACR;AAAA;AAGJ,SACE,qBAAC,aAAQ,WAAU,oIAIhB;AAAA,cACC,oBAAC,SAAI,WAAU,yDACb;AAAA,MAAC;AAAA;AAAA,QACC,MAAK;AAAA,QACL,SAAS;AAAA,QACT,WAAU;AAAA,QAEV;AAAA,8BAAC,aAAU;AAAA,UAAE;AAAA;AAAA;AAAA,IAEf,GACF;AAAA,IAcF;AAAA,MAAC,OAAO;AAAA,MAAP;AAAA,QAWC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,UAQE,SAAS,UACL,sCACA;AAAA;AAAA,QAEN,SAAS,EAAE,SAAS,EAAE;AAAA,QACtB,SAAS,EAAE,SAAS,EAAE;AAAA,QACtB,YAAY,QAAQ;AAAA,QAKpB,8BAAC,SAAI,WAAU,0CAA0C,iBAAM;AAAA;AAAA,MA7B1D,SAAS;AAAA,IA8BhB;AAAA,IAQA,qBAAC,SAAI,WAAU,sGACb;AAAA,2BAAC,SAAI,WAAU,iCACb;AAAA,6BAAC,SAAI,WAAU,mCACb;AAAA,8BAAC,OAAE,WAAU,oDACV,mBAAS,MACZ;AAAA,UACC,aAAa,oBAAC,SAAM,SAAQ,WAAU,qBAAO;AAAA,WAChD;AAAA,QASC,SAAS,WAAW,SAAS,eAC5B,oBAAC,OAAE,WAAU,iEACV,mBAAS,aACZ;AAAA,SAEJ;AAAA,MAEA,qBAAC,SAAI,WAAU,2BACb;AAAA;AAAA,UAAC;AAAA;AAAA,YACC,SAAQ;AAAA,YACR,MAAK;AAAA,YACL,MAAM,oBAAC,gBAAa,WAAU,qBAAoB;AAAA,YAClD,WAAU;AAAA,YACV,SAAS,MAAM,OAAO,KAAK,YAAY,UAAU,UAAU;AAAA,YAC5D;AAAA;AAAA,QAED;AAAA,QAeC,YAAY,OAAO,mBAClB,oBAAC,OAAE,WAAU,uCACV,4BACH,IAEA;AAAA,UAAC;AAAA;AAAA,YACC,SAAS,eAAe,YAAY;AAAA,YACpC,MAAK;AAAA,YACL,SAAS;AAAA,YACT,SAAS;AAAA,YAER,0BACG,YAAS,UAAU,KAAK,CAAC,KACxB,YAAY;AAAA;AAAA,QACnB;AAAA,SAEJ;AAAA,OACF;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { RegistryTemplate } from '@withpotter/lib/template-context';
|
|
2
|
+
interface TemplatePreviewSplitProps {
|
|
3
|
+
template: RegistryTemplate;
|
|
4
|
+
previewUrl: string;
|
|
5
|
+
isCurrent: boolean;
|
|
6
|
+
isOwned: boolean;
|
|
7
|
+
using: boolean;
|
|
8
|
+
onUse: () => void;
|
|
9
|
+
useLabel?: string;
|
|
10
|
+
useIsPrimary?: boolean;
|
|
11
|
+
useBlockedReason?: string | null;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The desktop template dialog: the template's details on the left, the site
|
|
15
|
+
* running on the right.
|
|
16
|
+
*
|
|
17
|
+
* The stacked panel spent its top on a render and its bottom on one row of
|
|
18
|
+
* name and buttons, so the description and tags the registry already carries
|
|
19
|
+
* never had a place to be read. Side by side, the left column holds what the
|
|
20
|
+
* template is — name, author, what it is for, what it suits — and the decision;
|
|
21
|
+
* the right column is the whole height for the site.
|
|
22
|
+
*
|
|
23
|
+
* Desktop only. Below `lg` the dialog keeps the stacked panel, where the action
|
|
24
|
+
* sits above the render so an iframe cannot swallow the gesture that reaches it.
|
|
25
|
+
*/
|
|
26
|
+
export declare function TemplatePreviewSplit({ template, previewUrl, isCurrent, isOwned, using, onUse, useLabel, useIsPrimary, useBlockedReason, }: TemplatePreviewSplitProps): import("react").JSX.Element;
|
|
27
|
+
export {};
|