@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,220 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useCallback, useMemo, useSyncExternalStore } from "react";
|
|
3
|
+
import { hostWidgets, widgetDef } from "./registry";
|
|
4
|
+
const VERSION = 8;
|
|
5
|
+
function storageKey(accountId, tenantSlug) {
|
|
6
|
+
return `pb_home_layout:${accountId}:${tenantSlug}`;
|
|
7
|
+
}
|
|
8
|
+
const ARCHETYPE_DEFAULTS = {
|
|
9
|
+
// Time-shaped businesses. The day IS the job, so it takes a wide card.
|
|
10
|
+
"take-bookings": [
|
|
11
|
+
{ id: "activity", size: "wide" },
|
|
12
|
+
{ id: "revenue", size: "wide" },
|
|
13
|
+
{ id: "website", size: "narrow" },
|
|
14
|
+
{ id: "setup", size: "narrow" },
|
|
15
|
+
{ id: "regulars", size: "narrow" },
|
|
16
|
+
{ id: "team", size: "narrow" }
|
|
17
|
+
],
|
|
18
|
+
"event-tickets": [
|
|
19
|
+
{ id: "activity", size: "wide" },
|
|
20
|
+
{ id: "revenue", size: "wide" },
|
|
21
|
+
{ id: "website", size: "narrow" },
|
|
22
|
+
{ id: "setup", size: "narrow" },
|
|
23
|
+
{ id: "regulars", size: "narrow" },
|
|
24
|
+
{ id: "team", size: "narrow" }
|
|
25
|
+
],
|
|
26
|
+
"rent-property": [
|
|
27
|
+
{ id: "activity", size: "wide" },
|
|
28
|
+
{ id: "revenue", size: "wide" },
|
|
29
|
+
{ id: "website", size: "narrow" },
|
|
30
|
+
{ id: "setup", size: "narrow" },
|
|
31
|
+
{ id: "regulars", size: "narrow" },
|
|
32
|
+
{ id: "team", size: "narrow" }
|
|
33
|
+
],
|
|
34
|
+
"dine-in": [
|
|
35
|
+
{ id: "activity", size: "wide" },
|
|
36
|
+
{ id: "revenue", size: "wide" },
|
|
37
|
+
{ id: "website", size: "narrow" },
|
|
38
|
+
{ id: "setup", size: "narrow" },
|
|
39
|
+
{ id: "regulars", size: "narrow" },
|
|
40
|
+
{ id: "team", size: "narrow" }
|
|
41
|
+
],
|
|
42
|
+
"food-orders": [
|
|
43
|
+
{ id: "activity", size: "wide" },
|
|
44
|
+
{ id: "revenue", size: "wide" },
|
|
45
|
+
{ id: "website", size: "narrow" },
|
|
46
|
+
{ id: "setup", size: "narrow" },
|
|
47
|
+
{ id: "regulars", size: "narrow" },
|
|
48
|
+
{ id: "team", size: "narrow" }
|
|
49
|
+
],
|
|
50
|
+
// Stock-shaped. Running out is what stops the day, so the count is on the
|
|
51
|
+
// board rather than one click away in Inventory.
|
|
52
|
+
"sell-products": [
|
|
53
|
+
{ id: "activity", size: "wide" },
|
|
54
|
+
{ id: "revenue", size: "wide" },
|
|
55
|
+
{ id: "website", size: "narrow" },
|
|
56
|
+
{ id: "setup", size: "narrow" },
|
|
57
|
+
{ id: "regulars", size: "narrow" },
|
|
58
|
+
{ id: "team", size: "narrow" }
|
|
59
|
+
],
|
|
60
|
+
// Money-shaped. Nothing sits on a clock; what matters is size and mix.
|
|
61
|
+
"send-invoices": [
|
|
62
|
+
{ id: "activity", size: "wide" },
|
|
63
|
+
{ id: "revenue", size: "wide" },
|
|
64
|
+
{ id: "website", size: "narrow" },
|
|
65
|
+
{ id: "setup", size: "narrow" },
|
|
66
|
+
{ id: "regulars", size: "narrow" },
|
|
67
|
+
{ id: "team", size: "narrow" }
|
|
68
|
+
],
|
|
69
|
+
subscriptions: [
|
|
70
|
+
{ id: "activity", size: "wide" },
|
|
71
|
+
{ id: "revenue", size: "wide" },
|
|
72
|
+
{ id: "website", size: "narrow" },
|
|
73
|
+
{ id: "setup", size: "narrow" },
|
|
74
|
+
{ id: "regulars", size: "narrow" },
|
|
75
|
+
{ id: "team", size: "narrow" }
|
|
76
|
+
],
|
|
77
|
+
"digital-products": [
|
|
78
|
+
{ id: "activity", size: "wide" },
|
|
79
|
+
{ id: "revenue", size: "wide" },
|
|
80
|
+
{ id: "website", size: "narrow" },
|
|
81
|
+
{ id: "setup", size: "narrow" },
|
|
82
|
+
{ id: "regulars", size: "narrow" },
|
|
83
|
+
{ id: "team", size: "narrow" }
|
|
84
|
+
],
|
|
85
|
+
"capture-leads": [
|
|
86
|
+
{ id: "activity", size: "wide" },
|
|
87
|
+
{ id: "revenue", size: "wide" },
|
|
88
|
+
{ id: "website", size: "narrow" },
|
|
89
|
+
{ id: "setup", size: "narrow" },
|
|
90
|
+
{ id: "regulars", size: "narrow" },
|
|
91
|
+
{ id: "team", size: "narrow" }
|
|
92
|
+
],
|
|
93
|
+
default: [
|
|
94
|
+
{ id: "activity", size: "wide" },
|
|
95
|
+
{ id: "revenue", size: "wide" },
|
|
96
|
+
{ id: "website", size: "narrow" },
|
|
97
|
+
{ id: "setup", size: "narrow" },
|
|
98
|
+
{ id: "regulars", size: "narrow" },
|
|
99
|
+
{ id: "team", size: "narrow" }
|
|
100
|
+
]
|
|
101
|
+
};
|
|
102
|
+
const FALLBACK = ARCHETYPE_DEFAULTS.default;
|
|
103
|
+
const MAX_WIDGETS = 5;
|
|
104
|
+
function sizeForIndex(index) {
|
|
105
|
+
return index < 2 ? "wide" : "narrow";
|
|
106
|
+
}
|
|
107
|
+
function defaultLayout(ctx) {
|
|
108
|
+
const keys = ctx.intentConfig.all.map((c) => c.key);
|
|
109
|
+
const out = [];
|
|
110
|
+
for (const k of keys) {
|
|
111
|
+
for (const w of ARCHETYPE_DEFAULTS[k] ?? []) {
|
|
112
|
+
if (!out.some((o) => o.id === w.id)) out.push(w);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
if (out.length === 0) out.push(...FALLBACK);
|
|
116
|
+
for (const h of hostWidgets()) {
|
|
117
|
+
if (h.byDefault && !out.some((o) => o.id === h.id)) {
|
|
118
|
+
out.push({ id: h.id, size: h.defaultSize });
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
return out.filter((w) => widgetDef(w.id)?.available(ctx)).slice(0, MAX_WIDGETS);
|
|
122
|
+
}
|
|
123
|
+
const listeners = /* @__PURE__ */ new Set();
|
|
124
|
+
function emit() {
|
|
125
|
+
for (const l of listeners) l();
|
|
126
|
+
}
|
|
127
|
+
function subscribe(cb) {
|
|
128
|
+
listeners.add(cb);
|
|
129
|
+
window.addEventListener("storage", cb);
|
|
130
|
+
return () => {
|
|
131
|
+
listeners.delete(cb);
|
|
132
|
+
window.removeEventListener("storage", cb);
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
function readRaw(key) {
|
|
136
|
+
if (!key) return null;
|
|
137
|
+
try {
|
|
138
|
+
return window.localStorage.getItem(key);
|
|
139
|
+
} catch {
|
|
140
|
+
return null;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
function parseLayout(raw) {
|
|
144
|
+
if (!raw) return null;
|
|
145
|
+
try {
|
|
146
|
+
const parsed = JSON.parse(raw);
|
|
147
|
+
if (parsed?.v !== VERSION || !Array.isArray(parsed.widgets)) return null;
|
|
148
|
+
return parsed.widgets.filter((w) => !!widgetDef(w.id));
|
|
149
|
+
} catch {
|
|
150
|
+
return null;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
function useHomeLayout(accountId, tenantSlug, ctx) {
|
|
154
|
+
const key = accountId && tenantSlug ? storageKey(accountId, tenantSlug) : null;
|
|
155
|
+
const raw = useSyncExternalStore(
|
|
156
|
+
subscribe,
|
|
157
|
+
() => readRaw(key),
|
|
158
|
+
() => null
|
|
159
|
+
);
|
|
160
|
+
const layout = useMemo(() => parseLayout(raw), [raw]);
|
|
161
|
+
const persist = useCallback(
|
|
162
|
+
(widgets) => {
|
|
163
|
+
if (!key) return;
|
|
164
|
+
try {
|
|
165
|
+
window.localStorage.setItem(
|
|
166
|
+
key,
|
|
167
|
+
JSON.stringify({ v: VERSION, widgets })
|
|
168
|
+
);
|
|
169
|
+
} catch {
|
|
170
|
+
}
|
|
171
|
+
emit();
|
|
172
|
+
},
|
|
173
|
+
[key]
|
|
174
|
+
);
|
|
175
|
+
const base = layout ?? defaultLayout(ctx);
|
|
176
|
+
const resolved = base.filter((w) => widgetDef(w.id)?.available(ctx)).map((w, i) => ({ ...w, size: sizeForIndex(i) }));
|
|
177
|
+
const add = (id, size) => {
|
|
178
|
+
if (base.length >= MAX_WIDGETS || base.some((w) => w.id === id)) return;
|
|
179
|
+
persist([...base, { id, size }]);
|
|
180
|
+
};
|
|
181
|
+
const remove = (id) => persist(base.filter((w) => w.id !== id));
|
|
182
|
+
const resize = (id, size) => persist(base.map((w) => w.id === id ? { ...w, size } : w));
|
|
183
|
+
const move = (id, toIndex) => {
|
|
184
|
+
const from = base.findIndex((w) => w.id === id);
|
|
185
|
+
if (from === -1) return;
|
|
186
|
+
const to = Math.max(0, Math.min(base.length - 1, toIndex));
|
|
187
|
+
if (from === to) return;
|
|
188
|
+
const next = [...base];
|
|
189
|
+
const [moved] = next.splice(from, 1);
|
|
190
|
+
next.splice(to, 0, moved);
|
|
191
|
+
persist(next);
|
|
192
|
+
};
|
|
193
|
+
const reset = useCallback(() => {
|
|
194
|
+
if (key) {
|
|
195
|
+
try {
|
|
196
|
+
window.localStorage.removeItem(key);
|
|
197
|
+
} catch {
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
emit();
|
|
201
|
+
}, [key]);
|
|
202
|
+
return {
|
|
203
|
+
widgets: resolved,
|
|
204
|
+
placed: new Set(resolved.map((w) => w.id)),
|
|
205
|
+
add,
|
|
206
|
+
remove,
|
|
207
|
+
resize,
|
|
208
|
+
move,
|
|
209
|
+
reset,
|
|
210
|
+
/** True once this merchant has arranged their own board. */
|
|
211
|
+
customised: layout != null
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
export {
|
|
215
|
+
MAX_WIDGETS,
|
|
216
|
+
defaultLayout,
|
|
217
|
+
sizeForIndex,
|
|
218
|
+
useHomeLayout
|
|
219
|
+
};
|
|
220
|
+
//# sourceMappingURL=use-home-layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/dashboard/home/widgets/use-home-layout.ts"],"sourcesContent":["'use client';\n\nimport { useCallback, useMemo, useSyncExternalStore } from 'react';\nimport type {\n PlacedWidget,\n WidgetId,\n WidgetSize,\n WidgetContext,\n} from './types';\nimport { hostWidgets, widgetDef } from './registry';\n\n/**\n * The saved board.\n *\n * \"HOW WILL THEY KNOW WHAT THEY NEED?\" — Prince Abraham, and it is the question\n * that kills most widget dashboards. The answer this file implements is that\n * MOST MERCHANTS NEVER TOUCH IT. The default has to be right on its own, and\n * configuration exists for the minority who outgrow it, exactly as on a phone\n * where most people never add a widget and the home screen is still good.\n *\n * So the default is a function of the ARCHETYPE, not a fixed list: a club\n * running courts and a shop selling things do not open the same business, and\n * `intentConfig` already knows which is which.\n *\n * WHERE THIS IS STORED, and why it is honest. Per account AND per tenant, in\n * localStorage. That is deliberate for the first cut: arranging your own home\n * is a per-person preference (an owner and a front-desk hire want different\n * boards, and they share a workspace), and no endpoint exists for per-person\n * preferences yet. The shape below is what a `PUT /me/preferences` would take\n * verbatim, so moving it server-side later changes this file and nothing else.\n *\n * The known cost, stated rather than hidden: a board arranged on a laptop does\n * not follow you to a phone. That is acceptable for an arrangement preference\n * and would not be for anything a merchant could lose work over.\n */\n\n/**\n * Bump this whenever the SHAPE of a saved board changes.\n *\n * v2: the size vocabulary went from three classes (sm/md/lg) to Shopify's two\n * (wide/narrow). A board saved under v1 carries sizes that no longer exist, and\n * because an unknown size matches neither span it silently rendered every\n * widget one column wide. A stale board must be discarded, not reinterpreted.\n *\n * v3: `setup` was removed and `website` added. A v2 board would keep a widget\n * the registry no longer defines and miss the only one that can carry the two\n * chores the setup rail used to hold.\n *\n * v4: the board became five cards and stopped defaulting to three order\n * metrics. Every v3 board was saved from a default that appended `website` to\n * an already-full five, so every one of them is six cards long with `avg-order`\n * — revenue ÷ sales, arithmetic on its own neighbours — sitting in it. That is\n * not a layout anyone chose, it is the bug persisted, so it is discarded\n * rather than trimmed: trimming would have to guess which card the merchant\n * meant to keep, and the answer for a board nobody arranged is \"the default\".\n *\n * v5: Today gave its slot to Activity, Quick actions and the order count came\n * off the defaults entirely, and the board's fifth cell became the widget\n * library rather than a widget. A v4 board leads with a card that is no longer\n * the default and carries two that were removed for saying what other cards\n * already said.\n *\n * v6: five widgets were deleted outright — Today, the order count, Average\n * order, Quick actions and Recents — so a v5 board can hold ids the registry no\n * longer defines. Revenue also became wide everywhere, and a saved board would\n * keep it narrow beside a wide Activity.\n *\n * v7: Low on stock and Money owed were deleted, and Where sales come from\n * became a default — so a v6 board can hold two ids the registry no longer\n * defines and is missing the card that fills the trio row.\n *\n * v8: Where sales come from was deleted in turn — it could only ever report\n * \"Direct · 100%\" for a business whose customers arrive by WhatsApp — and Gone\n * quiet took the marketing slot. A v7 board holds a dead id and, worse, sits at\n * four cards on a board specified to hold five.\n */\nconst VERSION = 8;\n\ninterface StoredLayout {\n v: number;\n widgets: PlacedWidget[];\n}\n\nfunction storageKey(accountId: string, tenantSlug: string) {\n return `pb_home_layout:${accountId}:${tenantSlug}`;\n}\n\n/**\n * Defaults per archetype. Five each, and never six — see `defaultLayout`.\n *\n * Keyed on the archetype keys a business actually runs, not on\n * `intentConfig.primary`, which is whichever was ticked first and not what the\n * screen is about. A business that is several things gets the union, deduped,\n * in the order below.\n *\n * SETUP IS THE FOURTH CARD, and it is the only default that removes itself:\n * `available` goes false once every step is settled, so a running business\n * never sees it and a new one opens on the thing it most needs. That frees the\n * slot for the add tile rather than leaving a hole.\n *\n * THE ORDER COUNT IS NOT A DEFAULT EITHER. Activity already lists the orders\n * themselves, by name and amount, so a card reading \"Orders 148\" beside it is\n * the same fact with the detail removed. It stays in the gallery.\n *\n * QUICK ACTIONS IS NOT A DEFAULT. Its slot is the add tile now. A launcher of\n * four links restates a sidebar that already lists every one of them, and the\n * one action that genuinely was not on the sidebar — Take payment — is pinned\n * to the rail on every screen. It stays in the gallery for anyone who wants it.\n *\n * SIX LISTED, FIVE PLACED, and the extra one is not a mistake. `defaultLayout`\n * FILTERS before it slices, so a widget that has nothing to say drops out and\n * the next in line takes its place — Setup disappears the moment a business\n * finishes setting up, and without a spare the board would quietly fall to\n * four and leave the trio row short. Team is that spare: always available,\n * never urgent, and exactly the card you want back once the chores are done.\n *\n * FIVE, AND THE SHAPE IS THE POINT: two wide over three narrow, which is the\n * grid Shopify's home uses and the one `sizeForIndex` encodes. Four widgets\n * left the second row a card short and the board looked truncated rather than\n * arranged — the trio row is only a trio if something fills it.\n *\n * THE TOP ROW IS ALWAYS ACTIVITY AND MONEY, both wide, side by side. Two\n * archetypes had Revenue narrow, which put the money card in the trio row\n * under a wide Activity — so the two things a merchant opens the home to see\n * were in different rows at different sizes for no reason a merchant could\n * name. The board's first row answers \"what happened\" and \"what did it earn\",\n * and those are a pair.\n *\n * ACTIVITY LEADS, NOT TODAY. Today answered \"what is waiting on you\"; Activity\n * answers \"what has happened\", and the second turned out to be the one a\n * merchant actually opens the home for — the waiting work is already on the\n * screen that owns it, one click away, where the history is nowhere else at\n * all. Today stays in the gallery for anyone whose day genuinely is a queue.\n *\n * The blockers Today was carrying moved WITH the slot rather than being\n * dropped: they are pinned above Activity's timeline. See `activity-widget`.\n *\n * NO BOARD LEADS WITH THREE ORDER METRICS ANY MORE. Every default used to be\n * Today + Revenue + Sales count + Average order, which is one clock and three\n * numbers all derived from the same table — and `avg-order` is the worst of\n * them, because it is literally revenue ÷ sales, arithmetic performed on the\n * two cards sitting next to it. A card whose value you can compute by looking\n * at its neighbours is not a fifth thing to know, it is the same thing again.\n * It stays in the gallery for anyone who wants it; it stops being the default.\n *\n * Website takes the freed slot, which also fixes the sixth card: it is the one\n * widget that can carry the \"design your site\" and \"get a domain\" chores, so it\n * was being APPENDED to five and making six. Now it is one of the five.\n */\nconst ARCHETYPE_DEFAULTS: Record<string, PlacedWidget[]> = {\n // Time-shaped businesses. The day IS the job, so it takes a wide card.\n 'take-bookings': [\n { id: 'activity', size: 'wide' },\n { id: 'revenue', size: 'wide' },\n { id: 'website', size: 'narrow' },\n { id: 'setup', size: 'narrow' },\n { id: 'regulars', size: 'narrow' },\n { id: 'team', size: 'narrow' },\n ],\n 'event-tickets': [\n { id: 'activity', size: 'wide' },\n { id: 'revenue', size: 'wide' },\n { id: 'website', size: 'narrow' },\n { id: 'setup', size: 'narrow' },\n { id: 'regulars', size: 'narrow' },\n { id: 'team', size: 'narrow' },\n ],\n 'rent-property': [\n { id: 'activity', size: 'wide' },\n { id: 'revenue', size: 'wide' },\n { id: 'website', size: 'narrow' },\n { id: 'setup', size: 'narrow' },\n { id: 'regulars', size: 'narrow' },\n { id: 'team', size: 'narrow' },\n ],\n 'dine-in': [\n { id: 'activity', size: 'wide' },\n { id: 'revenue', size: 'wide' },\n { id: 'website', size: 'narrow' },\n { id: 'setup', size: 'narrow' },\n { id: 'regulars', size: 'narrow' },\n { id: 'team', size: 'narrow' },\n ],\n 'food-orders': [\n { id: 'activity', size: 'wide' },\n { id: 'revenue', size: 'wide' },\n { id: 'website', size: 'narrow' },\n { id: 'setup', size: 'narrow' },\n { id: 'regulars', size: 'narrow' },\n { id: 'team', size: 'narrow' },\n ],\n\n // Stock-shaped. Running out is what stops the day, so the count is on the\n // board rather than one click away in Inventory.\n 'sell-products': [\n { id: 'activity', size: 'wide' },\n { id: 'revenue', size: 'wide' },\n { id: 'website', size: 'narrow' },\n { id: 'setup', size: 'narrow' },\n { id: 'regulars', size: 'narrow' },\n { id: 'team', size: 'narrow' },\n ],\n\n // Money-shaped. Nothing sits on a clock; what matters is size and mix.\n 'send-invoices': [\n { id: 'activity', size: 'wide' },\n { id: 'revenue', size: 'wide' },\n { id: 'website', size: 'narrow' },\n { id: 'setup', size: 'narrow' },\n { id: 'regulars', size: 'narrow' },\n { id: 'team', size: 'narrow' },\n ],\n subscriptions: [\n { id: 'activity', size: 'wide' },\n { id: 'revenue', size: 'wide' },\n { id: 'website', size: 'narrow' },\n { id: 'setup', size: 'narrow' },\n { id: 'regulars', size: 'narrow' },\n { id: 'team', size: 'narrow' },\n ],\n 'digital-products': [\n { id: 'activity', size: 'wide' },\n { id: 'revenue', size: 'wide' },\n { id: 'website', size: 'narrow' },\n { id: 'setup', size: 'narrow' },\n { id: 'regulars', size: 'narrow' },\n { id: 'team', size: 'narrow' },\n ],\n 'capture-leads': [\n { id: 'activity', size: 'wide' },\n { id: 'revenue', size: 'wide' },\n { id: 'website', size: 'narrow' },\n { id: 'setup', size: 'narrow' },\n { id: 'regulars', size: 'narrow' },\n { id: 'team', size: 'narrow' },\n ],\n default: [\n { id: 'activity', size: 'wide' },\n { id: 'revenue', size: 'wide' },\n { id: 'website', size: 'narrow' },\n { id: 'setup', size: 'narrow' },\n { id: 'regulars', size: 'narrow' },\n { id: 'team', size: 'narrow' },\n ],\n};\n\n/**\n * TWO WIDE, THEN THREE NARROW. That shape is not incidental, it is the layout:\n * Shopify's home is a pair of 478px cards over a trio of 312px ones, and every\n * default here fills exactly those five slots. A merchant who never touches the\n * board gets that page; the board exists so the ones who care can change which\n * five.\n *\n * Sizes are stated per placement rather than taken from each widget's own\n * default, because the same widget belongs in a different row depending on the\n * business — a restaurant's Quick actions earn a wide card, a shop's do not.\n */\nconst FALLBACK: PlacedWidget[] = ARCHETYPE_DEFAULTS.default;\n\n/**\n * FIVE. Two wide over three narrow, and the cap is real rather than implied.\n *\n * It used to be implied, and the implication broke twice over: a multi-model\n * business takes the UNION of its archetypes' defaults, which can run past\n * five on its own, and Website was then appended on top of whatever that came\n * to. A shop that also takes bookings opened on six or seven cards — a fourth\n * card orphaned on the second row, which reads as a layout bug rather than as\n * a board.\n *\n * So the union is taken, then sliced. Order matters because the slice is what\n * enforces the shape: each archetype's list is already written most-important\n * first, so the widgets that survive are the ones that businesses running that\n * combination need most.\n */\n/**\n * FIVE widgets, and the add tile lives in whatever cell is still free.\n *\n * The board is two wide over three narrow. Defaults fill four of those five, so\n * the last narrow cell is the entry to the widget library — put a fifth widget\n * there and the tile steps aside, because at that point the board is what the\n * merchant asked for and an empty invitation beside it is clutter.\n *\n * This is a CAP, not a target: `defaultLayout` slices to it, and the gallery\n * stops offering once five are placed. See `home-widgets.tsx`.\n */\nexport const MAX_WIDGETS = 5;\n\n/** Two wide, then narrow. The grid's shape, as a rule. */\nexport function sizeForIndex(index: number): WidgetSize {\n return index < 2 ? 'wide' : 'narrow';\n}\n\nexport function defaultLayout(ctx: WidgetContext): PlacedWidget[] {\n const keys = ctx.intentConfig.all.map((c) => c.key);\n const out: PlacedWidget[] = [];\n for (const k of keys) {\n for (const w of ARCHETYPE_DEFAULTS[k] ?? []) {\n if (!out.some((o) => o.id === w.id)) out.push(w);\n }\n }\n if (out.length === 0) out.push(...FALLBACK);\n // A host's own widgets (the wallet) come after the built-in ones, so they only ever fill room\n // the defaults left, never take a place from them.\n for (const h of hostWidgets()) {\n if (h.byDefault && !out.some((o) => o.id === h.id)) {\n out.push({ id: h.id, size: h.defaultSize });\n }\n }\n // Filter BEFORE slicing: a widget the business cannot use must not consume\n // one of the five and leave the board four long.\n return out\n .filter((w) => widgetDef(w.id)?.available(ctx))\n .slice(0, MAX_WIDGETS);\n}\n\n/**\n * localStorage is an external store, so it is read through the API React\n * provides for external stores rather than mirrored into state by an effect.\n * That is not pedantry: the effect version renders the default board first and\n * replaces it a frame later, a visible flicker on every load. The server\n * snapshot is `null`, so SSR renders the archetype default and hydration swaps\n * in the saved board without a mismatch.\n */\nconst listeners = new Set<() => void>();\n\nfunction emit() {\n for (const l of listeners) l();\n}\n\nfunction subscribe(cb: () => void) {\n listeners.add(cb);\n // Another tab arranging the same board is the same event as this one doing it.\n window.addEventListener('storage', cb);\n return () => {\n listeners.delete(cb);\n window.removeEventListener('storage', cb);\n };\n}\n\nfunction readRaw(key: string | null): string | null {\n if (!key) return null;\n try {\n return window.localStorage.getItem(key);\n } catch {\n return null;\n }\n}\n\nfunction parseLayout(raw: string | null): PlacedWidget[] | null {\n if (!raw) return null;\n try {\n const parsed = JSON.parse(raw) as StoredLayout;\n if (parsed?.v !== VERSION || !Array.isArray(parsed.widgets)) return null;\n // Drop anything the registry no longer defines, so a widget deleted from\n // the catalogue cannot wedge a saved board.\n return parsed.widgets.filter((w) => !!widgetDef(w.id));\n } catch {\n // A corrupt board is not worth a broken home.\n return null;\n }\n}\n\nexport function useHomeLayout(\n accountId: string | undefined,\n tenantSlug: string | undefined,\n ctx: WidgetContext,\n) {\n const key =\n accountId && tenantSlug ? storageKey(accountId, tenantSlug) : null;\n\n // A string snapshot, so referential stability is free.\n const raw = useSyncExternalStore(\n subscribe,\n () => readRaw(key),\n () => null,\n );\n const layout = useMemo(() => parseLayout(raw), [raw]);\n\n const persist = useCallback(\n (widgets: PlacedWidget[]) => {\n if (!key) return;\n try {\n window.localStorage.setItem(\n key,\n JSON.stringify({ v: VERSION, widgets } satisfies StoredLayout),\n );\n } catch {\n // Private mode, or a full quota. Nothing is lost that matters.\n }\n emit();\n },\n [key],\n );\n\n // The board actually rendered: the saved one, or the archetype's default.\n // Widgets that have stopped having anything to say (setup finished, stock\n // replenished) fall out HERE rather than being deleted from the save, so a\n // merchant who placed one gets it back when it matters again.\n const base = layout ?? defaultLayout(ctx);\n\n /**\n * SIZE IS A FUNCTION OF POSITION, not a property a widget carries.\n *\n * The grid is two wide over three narrow, and that shape IS the layout — so\n * the first two slots are wide and everything after them is narrow, always.\n * Storing a size per widget let the two disagree: a card set narrow and then\n * dragged into the top row made that row 3 + 2 with a hole in it. Only one of\n * position and size can be authoritative, and position is the one being\n * dragged.\n *\n * It also removes a control. There is nothing to resize any more — you choose\n * where a card goes and the board decides how big that place is, which is one\n * decision instead of two that could contradict each other.\n *\n * The stored `size` is left alone rather than migrated out: it is harmless,\n * and rewriting every saved board to drop a field nothing reads is a\n * migration with no user-visible payoff.\n */\n const resolved = base\n .filter((w) => widgetDef(w.id)?.available(ctx))\n .map((w, i) => ({ ...w, size: sizeForIndex(i) }));\n\n // Plain functions, not `useCallback`. `base` is rebuilt every render by\n // design (it folds in whatever the context now makes available), so memoising\n // on it buys nothing and only tells the compiler a lie about stability.\n /**\n * Capped, and enforced HERE rather than only in the gallery's UI. A cap that\n * only exists as a disabled button is a cap a second entry point walks past\n * — and the board already has two ways in (the add tile and the gallery).\n */\n const add = (id: WidgetId, size: WidgetSize) => {\n if (base.length >= MAX_WIDGETS || base.some((w) => w.id === id)) return;\n persist([...base, { id, size }]);\n };\n\n const remove = (id: WidgetId) => persist(base.filter((w) => w.id !== id));\n\n const resize = (id: WidgetId, size: WidgetSize) =>\n persist(base.map((w) => (w.id === id ? { ...w, size } : w)));\n\n /**\n * Put one widget where another is, sliding the rest along.\n *\n * A SPLICE, NOT A SWAP, and the difference is visible. Swapping two cards\n * moves the one you dropped on all the way back to where you started, which\n * nobody asks for: dragging the last card to the front should push everything\n * down one, not fling the first card to the end. This is the same reordering\n * every list with a handle has taught people to expect.\n */\n const move = (id: WidgetId, toIndex: number) => {\n const from = base.findIndex((w) => w.id === id);\n if (from === -1) return;\n const to = Math.max(0, Math.min(base.length - 1, toIndex));\n if (from === to) return;\n const next = [...base];\n const [moved] = next.splice(from, 1);\n next.splice(to, 0, moved);\n persist(next);\n };\n\n const reset = useCallback(() => {\n if (key) {\n try {\n window.localStorage.removeItem(key);\n } catch {\n /* nothing to undo */\n }\n }\n emit();\n }, [key]);\n\n return {\n widgets: resolved,\n placed: new Set(resolved.map((w) => w.id)),\n add,\n remove,\n resize,\n move,\n reset,\n /** True once this merchant has arranged their own board. */\n customised: layout != null,\n };\n}\n"],"mappings":"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","names":[]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare function WebsiteWidget({ storefrontUrl, hasCustomDomain, siteImage, businessName, }: {
|
|
2
|
+
storefrontUrl?: string | null;
|
|
3
|
+
hasCustomDomain: boolean;
|
|
4
|
+
/** The business's own image. Absent is normal and draws a mark instead. */
|
|
5
|
+
siteImage?: string | null;
|
|
6
|
+
businessName?: string;
|
|
7
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useMemo } from "react";
|
|
4
|
+
import {
|
|
5
|
+
ArrowRight,
|
|
6
|
+
ArrowUpRight,
|
|
7
|
+
Eye,
|
|
8
|
+
Globe,
|
|
9
|
+
Lock,
|
|
10
|
+
ShoppingBag,
|
|
11
|
+
TrendingDown,
|
|
12
|
+
TrendingUp
|
|
13
|
+
} from "lucide-react";
|
|
14
|
+
import { useAuth } from "@withpotter/lib/auth-context";
|
|
15
|
+
import { analyticsApi } from "@withpotter/lib/api/analytics";
|
|
16
|
+
import { useApiQuery } from "@withpotter/hooks/use-api-query";
|
|
17
|
+
import { middleEllipsis } from "./middle-ellipsis";
|
|
18
|
+
import { Panel, PanelAction } from "../panel";
|
|
19
|
+
function useWeeklyTraffic(enabled) {
|
|
20
|
+
const iso = (d) => d.toISOString().slice(0, 10);
|
|
21
|
+
const today = iso(/* @__PURE__ */ new Date());
|
|
22
|
+
const windows = useMemo(() => {
|
|
23
|
+
const end = /* @__PURE__ */ new Date(`${today}T00:00:00.000Z`);
|
|
24
|
+
const days = (n) => new Date(end.getTime() - n * 864e5);
|
|
25
|
+
return {
|
|
26
|
+
now: { startDate: iso(days(6)), endDate: today },
|
|
27
|
+
before: { startDate: iso(days(13)), endDate: iso(days(7)) }
|
|
28
|
+
};
|
|
29
|
+
}, [today]);
|
|
30
|
+
const { data: now } = useApiQuery(
|
|
31
|
+
["home-traffic", today],
|
|
32
|
+
(slug) => analyticsApi.getDashboard(slug, windows.now),
|
|
33
|
+
{ enabled, retry: false }
|
|
34
|
+
);
|
|
35
|
+
const { data: before } = useApiQuery(
|
|
36
|
+
["home-traffic-previous", today],
|
|
37
|
+
(slug) => analyticsApi.getDashboard(slug, windows.before),
|
|
38
|
+
{ enabled, retry: false }
|
|
39
|
+
);
|
|
40
|
+
return useMemo(() => {
|
|
41
|
+
if (!now) return null;
|
|
42
|
+
const sources = now.trafficSources ?? [];
|
|
43
|
+
const pages = now.topPages ?? [];
|
|
44
|
+
return {
|
|
45
|
+
views: now.overview?.totalPageViews ?? 0,
|
|
46
|
+
prior: before?.overview?.totalPageViews ?? 0,
|
|
47
|
+
visitors: now.overview?.uniqueVisitors ?? 0,
|
|
48
|
+
series: (now.pageViewsTimeSeries ?? []).map((p) => p.value ?? 0),
|
|
49
|
+
topSource: sources.length ? { source: sources[0].source, percentage: sources[0].percentage } : void 0,
|
|
50
|
+
topPage: pages.length ? pages[0].pageUrl : void 0,
|
|
51
|
+
carts: now.funnel?.addToCart ?? 0,
|
|
52
|
+
orders: now.funnel?.checkoutComplete ?? 0
|
|
53
|
+
};
|
|
54
|
+
}, [now, before]);
|
|
55
|
+
}
|
|
56
|
+
function TrafficDelta({ now, prior }) {
|
|
57
|
+
if (prior <= 0 || now === prior) return null;
|
|
58
|
+
const pct = Math.round((now - prior) / prior * 100);
|
|
59
|
+
const up = pct > 0;
|
|
60
|
+
return /* @__PURE__ */ jsxs(
|
|
61
|
+
"span",
|
|
62
|
+
{
|
|
63
|
+
className: `ml-auto inline-flex items-center gap-0.5 text-sm font-medium tabular-nums ${up ? "text-[var(--success)]" : "text-[var(--text-tertiary)]"}`,
|
|
64
|
+
children: [
|
|
65
|
+
up ? /* @__PURE__ */ jsx(TrendingUp, { className: "h-[11px] w-[11px]" }) : /* @__PURE__ */ jsx(TrendingDown, { className: "h-[11px] w-[11px]" }),
|
|
66
|
+
Math.abs(pct),
|
|
67
|
+
"%"
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
const MIN_FOR_RATE = 30;
|
|
73
|
+
function Step({ value, label }) {
|
|
74
|
+
return /* @__PURE__ */ jsxs("span", { className: "shrink-0", children: [
|
|
75
|
+
/* @__PURE__ */ jsx("span", { className: "font-medium tabular-nums text-[var(--text-secondary)]", children: value.toLocaleString() }),
|
|
76
|
+
" ",
|
|
77
|
+
label
|
|
78
|
+
] });
|
|
79
|
+
}
|
|
80
|
+
function Count({
|
|
81
|
+
icon: Icon,
|
|
82
|
+
value,
|
|
83
|
+
label
|
|
84
|
+
}) {
|
|
85
|
+
return /* @__PURE__ */ jsxs("p", { className: "flex items-baseline gap-2", children: [
|
|
86
|
+
/* @__PURE__ */ jsx(
|
|
87
|
+
Icon,
|
|
88
|
+
{
|
|
89
|
+
"aria-hidden": true,
|
|
90
|
+
className: "size-4 shrink-0 self-center text-[var(--text-muted)]"
|
|
91
|
+
}
|
|
92
|
+
),
|
|
93
|
+
/* @__PURE__ */ jsx("span", { className: "text-xl font-semibold tabular-nums tracking-[-0.02em] text-[var(--text-primary)]", children: value.toLocaleString() }),
|
|
94
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm text-[var(--text-tertiary)]", children: label })
|
|
95
|
+
] });
|
|
96
|
+
}
|
|
97
|
+
function WebsiteWidget({
|
|
98
|
+
storefrontUrl,
|
|
99
|
+
hasCustomDomain,
|
|
100
|
+
siteImage,
|
|
101
|
+
businessName
|
|
102
|
+
}) {
|
|
103
|
+
const { tenant } = useAuth();
|
|
104
|
+
const isOpen = tenant?.status === "active";
|
|
105
|
+
const host = storefrontUrl?.replace(/^https?:\/\//, "").replace(/\/$/, "");
|
|
106
|
+
const traffic = useWeeklyTraffic(!!storefrontUrl);
|
|
107
|
+
return /* @__PURE__ */ jsxs(
|
|
108
|
+
Panel,
|
|
109
|
+
{
|
|
110
|
+
title: "Website",
|
|
111
|
+
className: "h-full",
|
|
112
|
+
bodyClassName: "flex flex-col min-h-0",
|
|
113
|
+
children: [
|
|
114
|
+
/* @__PURE__ */ jsxs(
|
|
115
|
+
"a",
|
|
116
|
+
{
|
|
117
|
+
href: storefrontUrl ?? "#",
|
|
118
|
+
target: "_blank",
|
|
119
|
+
rel: "noreferrer",
|
|
120
|
+
className: "surface-interactive group/site flex items-stretch gap-0 overflow-hidden bg-[var(--bg-muted)]",
|
|
121
|
+
children: [
|
|
122
|
+
/* @__PURE__ */ jsx("span", { className: "grid h-[68px] w-[68px] shrink-0 place-items-center overflow-hidden bg-[var(--bg-base)]", children: siteImage ? (
|
|
123
|
+
// eslint-disable-next-line @next/next/no-img-element
|
|
124
|
+
/* @__PURE__ */ jsx(
|
|
125
|
+
"img",
|
|
126
|
+
{
|
|
127
|
+
src: siteImage,
|
|
128
|
+
alt: "",
|
|
129
|
+
className: "h-full w-full object-cover transition-transform duration-[var(--motion-slow)] ease-out group-hover/site:scale-105"
|
|
130
|
+
}
|
|
131
|
+
)
|
|
132
|
+
) : /* @__PURE__ */ jsx(
|
|
133
|
+
Globe,
|
|
134
|
+
{
|
|
135
|
+
className: "size-5 text-[var(--text-muted)]",
|
|
136
|
+
strokeWidth: 1.5
|
|
137
|
+
}
|
|
138
|
+
) }),
|
|
139
|
+
/* @__PURE__ */ jsxs("span", { className: "flex min-w-0 flex-1 flex-col justify-center gap-0.5 px-3 py-2", children: [
|
|
140
|
+
/* @__PURE__ */ jsx("span", { className: "truncate text-md font-medium text-[var(--text-primary)]", children: businessName ?? "Your website" }),
|
|
141
|
+
/* @__PURE__ */ jsx("span", { className: "flex min-w-0 items-center gap-1", children: isOpen && host ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
142
|
+
/* @__PURE__ */ jsx(
|
|
143
|
+
Lock,
|
|
144
|
+
{
|
|
145
|
+
"aria-hidden": true,
|
|
146
|
+
className: "h-[9px] w-[9px] shrink-0 text-[var(--success)]"
|
|
147
|
+
}
|
|
148
|
+
),
|
|
149
|
+
/* @__PURE__ */ jsx(
|
|
150
|
+
"span",
|
|
151
|
+
{
|
|
152
|
+
title: host,
|
|
153
|
+
className: "min-w-0 truncate text-sm text-[var(--text-tertiary)]",
|
|
154
|
+
children: middleEllipsis(host)
|
|
155
|
+
}
|
|
156
|
+
)
|
|
157
|
+
] }) : (
|
|
158
|
+
/* "Not published yet" was a FACT with no way to act on it, and
|
|
159
|
+
the only control that could open the site was a modal that
|
|
160
|
+
appeared once and never again. A merchant who dismissed it had
|
|
161
|
+
no route to publishing from the dashboard at all.
|
|
162
|
+
|
|
163
|
+
Shopify's own onboarding guidance is dismissible cards rather
|
|
164
|
+
than modals, and this is already the card about the site. So
|
|
165
|
+
the state and the act that resolves it are in one place. */
|
|
166
|
+
/* The address exists before the site is open, and showing it
|
|
167
|
+
under a padlock said the opposite of the truth. While it is
|
|
168
|
+
shut the line says so; the address is no use until it is. */
|
|
169
|
+
/* @__PURE__ */ jsx("span", { className: "min-w-0 truncate text-sm text-[var(--text-tertiary)]", children: "Not open yet" })
|
|
170
|
+
) })
|
|
171
|
+
] }),
|
|
172
|
+
/* @__PURE__ */ jsx("span", { className: "grid w-8 shrink-0 place-items-center text-[var(--text-muted)] transition-colors group-hover/site:text-[var(--text-primary)]", children: /* @__PURE__ */ jsx(ArrowUpRight, {}) })
|
|
173
|
+
]
|
|
174
|
+
}
|
|
175
|
+
),
|
|
176
|
+
traffic && traffic.views >= MIN_FOR_RATE ? /* @__PURE__ */ jsxs("div", { className: "mt-3", children: [
|
|
177
|
+
/* @__PURE__ */ jsxs("p", { className: "flex items-baseline gap-2", children: [
|
|
178
|
+
/* @__PURE__ */ jsxs("span", { className: "text-3xl font-semibold leading-none tracking-[-0.02em] tabular-nums text-[var(--text-primary)]", children: [
|
|
179
|
+
(traffic.orders / traffic.views * 100).toFixed(1),
|
|
180
|
+
"%"
|
|
181
|
+
] }),
|
|
182
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm text-[var(--text-tertiary)]", children: "bought" }),
|
|
183
|
+
/* @__PURE__ */ jsx(TrafficDelta, { now: traffic.views, prior: traffic.prior })
|
|
184
|
+
] }),
|
|
185
|
+
/* @__PURE__ */ jsxs("p", { className: "mt-2 flex items-center gap-2 text-sm text-[var(--text-tertiary)]", children: [
|
|
186
|
+
/* @__PURE__ */ jsx(Step, { value: traffic.views, label: "visits" }),
|
|
187
|
+
/* @__PURE__ */ jsx(ArrowRight, { "aria-hidden": true, className: "h-[11px] w-[11px] shrink-0" }),
|
|
188
|
+
/* @__PURE__ */ jsx(Step, { value: traffic.carts, label: "carts" }),
|
|
189
|
+
/* @__PURE__ */ jsx(ArrowRight, { "aria-hidden": true, className: "h-[11px] w-[11px] shrink-0" }),
|
|
190
|
+
/* @__PURE__ */ jsx(Step, { value: traffic.orders, label: "orders" })
|
|
191
|
+
] }),
|
|
192
|
+
traffic.topSource && /* @__PURE__ */ jsxs("p", { className: "mt-2 truncate text-sm text-[var(--text-muted)]", children: [
|
|
193
|
+
"Most from",
|
|
194
|
+
" ",
|
|
195
|
+
/* @__PURE__ */ jsx("span", { className: "font-medium text-[var(--text-secondary)]", children: traffic.topSource.source }),
|
|
196
|
+
" ",
|
|
197
|
+
"\xB7 ",
|
|
198
|
+
Math.round(traffic.topSource.percentage),
|
|
199
|
+
"%"
|
|
200
|
+
] })
|
|
201
|
+
] }) : traffic && // Too little traffic to divide by, so it reports the count and says
|
|
202
|
+
// so rather than dressing a tiny sample as a rate.
|
|
203
|
+
/* @__PURE__ */ jsx("div", { className: "mt-3", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-baseline gap-x-6 gap-y-1", children: [
|
|
204
|
+
/* @__PURE__ */ jsx(
|
|
205
|
+
Count,
|
|
206
|
+
{
|
|
207
|
+
icon: Eye,
|
|
208
|
+
value: traffic.views,
|
|
209
|
+
label: `${traffic.views === 1 ? "visit" : "visits"} this week`
|
|
210
|
+
}
|
|
211
|
+
),
|
|
212
|
+
/* @__PURE__ */ jsx(
|
|
213
|
+
Count,
|
|
214
|
+
{
|
|
215
|
+
icon: ShoppingBag,
|
|
216
|
+
value: traffic.orders,
|
|
217
|
+
label: traffic.orders === 1 ? "order" : "orders"
|
|
218
|
+
}
|
|
219
|
+
)
|
|
220
|
+
] }) }),
|
|
221
|
+
!hasCustomDomain && /* @__PURE__ */ jsx("div", { className: "mt-auto pt-3", children: /* @__PURE__ */ jsx(PanelAction, { href: "/dashboard/business/domains", children: "Add your own domain" }) })
|
|
222
|
+
]
|
|
223
|
+
}
|
|
224
|
+
);
|
|
225
|
+
}
|
|
226
|
+
export {
|
|
227
|
+
WebsiteWidget
|
|
228
|
+
};
|
|
229
|
+
//# sourceMappingURL=website-widget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/dashboard/home/widgets/website-widget.tsx"],"sourcesContent":["'use client';\n\nimport { useMemo } from 'react';\nimport {\n ArrowRight,\n ArrowUpRight,\n Eye,\n Globe,\n Lock,\n ShoppingBag,\n TrendingDown,\n TrendingUp,\n} from 'lucide-react';\nimport type { LucideIcon } from 'lucide-react';\nimport { useAuth } from '@withpotter/lib/auth-context';\nimport { analyticsApi } from '@withpotter/lib/api/analytics';\nimport { useApiQuery } from '@withpotter/hooks/use-api-query';\nimport { middleEllipsis } from './middle-ellipsis';\nimport { Panel, PanelAction } from '../panel';\n\n/**\n * The storefront, once there is one.\n *\n * WHY THIS WIDGET EXISTS. Deleting the \"Finish setting up\" panel only works if\n * every chore it held has somewhere better to be. Three of the four did:\n * \"add your first product\" belongs to Today, \"take payments\" is already in\n * Blocked because it stops money outright, and both are boxes whose empty state\n * the chore can occupy. \"Design your site\" and \"get a domain\" had nowhere — no\n * widget on the board was ever going to show their result — so the panel could\n * only have been relocated, not removed. This is the box those two fill.\n */\n/**\n * Views over the trailing week.\n *\n * IT FETCHES ITS OWN, a deliberate exception to the board's rule against\n * per-widget requests. That rule exists because six widgets reading money would\n * mean six copies of one request, which is why `MoneyBoardProvider` exists.\n * Nothing else on the board wants page views, so a provider for one consumer\n * would be ceremony — and `getHomeSummary`, which the money widgets share, does\n * not carry them.\n *\n * SEVEN DAYS, not the money board's window, and the two do not have to agree.\n * The money widgets share one range precisely so revenue-over-30 never appears\n * beside orders-over-7; this card is not part of that sentence.\n */\ninterface Traffic {\n /** Visits over the trailing seven days. */\n views: number;\n /** The same window, one week earlier, for the change. */\n prior: number;\n /** Distinct people, as opposed to page loads. */\n visitors: number;\n /** One point per day, oldest first. Drives the sparkline. */\n series: number[];\n /** Where most of them came from, and what share that was. */\n topSource?: { source: string; percentage: number };\n /** The page they looked at most. */\n topPage?: string;\n /** Sessions that reached a cart, and sessions that bought. */\n carts: number;\n orders: number;\n}\n\nfunction useWeeklyTraffic(enabled: boolean) {\n /*\n * Two windows, so the number can say which way it is going. A visit count\n * with no comparison is a fact you cannot act on: 40 is good or bad only\n * against last week.\n *\n * Through the query cache rather than an effect. `/analytics/dashboard` is a\n * twenty-odd-field payload and this asked for two of them on every mount of\n * the home, with nothing holding the answer — dev's double invoke made it\n * four requests for a card most merchants scroll past. Keyed by the day,\n * which is the resolution a week-long comparison has, so returning to the\n * home inside the same day costs nothing.\n */\n const iso = (d: Date) => d.toISOString().slice(0, 10);\n const today = iso(new Date());\n const windows = useMemo(() => {\n const end = new Date(`${today}T00:00:00.000Z`);\n const days = (n: number) => new Date(end.getTime() - n * 86_400_000);\n return {\n now: { startDate: iso(days(6)), endDate: today },\n before: { startDate: iso(days(13)), endDate: iso(days(7)) },\n };\n }, [today]);\n\n // Silent on failure, both of them: this card's job is the storefront, and a\n // failed traffic read must not turn a working Website card into an error.\n const { data: now } = useApiQuery(\n ['home-traffic', today],\n (slug) => analyticsApi.getDashboard(slug, windows.now),\n { enabled, retry: false },\n );\n const { data: before } = useApiQuery(\n ['home-traffic-previous', today],\n (slug) => analyticsApi.getDashboard(slug, windows.before),\n { enabled, retry: false },\n );\n\n return useMemo<Traffic | null>(() => {\n if (!now) return null;\n // All of this arrives in the SAME response as the view count, so the card\n // gets four more facts for no extra request. It would have been a waste to\n // fetch `overview` and throw the rest of the payload away.\n const sources = now.trafficSources ?? [];\n const pages = now.topPages ?? [];\n return {\n views: now.overview?.totalPageViews ?? 0,\n prior: before?.overview?.totalPageViews ?? 0,\n visitors: now.overview?.uniqueVisitors ?? 0,\n series: (now.pageViewsTimeSeries ?? []).map((p) => p.value ?? 0),\n topSource: sources.length\n ? { source: sources[0].source, percentage: sources[0].percentage }\n : undefined,\n topPage: pages.length ? pages[0].pageUrl : undefined,\n carts: now.funnel?.addToCart ?? 0,\n orders: now.funnel?.checkoutComplete ?? 0,\n };\n }, [now, before]);\n}\n\n/**\n * Week on week, and it stays silent when it cannot be honest.\n *\n * A first week has no prior to compare against, and rendering \"+100%\" against\n * zero is a number that means nothing dressed as a number that means something.\n * The analytics rule is that a figure ships only if it can change what someone\n * does next; a delta off no baseline cannot.\n */\nfunction TrafficDelta({ now, prior }: { now: number; prior: number }) {\n if (prior <= 0 || now === prior) return null;\n const pct = Math.round(((now - prior) / prior) * 100);\n const up = pct > 0;\n return (\n <span\n className={`ml-auto inline-flex items-center gap-0.5 text-sm font-medium tabular-nums ${\n up ? 'text-[var(--success)]' : 'text-[var(--text-tertiary)]'\n }`}\n >\n {up ? (\n <TrendingUp className=\"h-[11px] w-[11px]\" />\n ) : (\n <TrendingDown className=\"h-[11px] w-[11px]\" />\n )}\n {Math.abs(pct)}%\n </span>\n );\n}\n\n/**\n * Below this, a conversion rate is arithmetic on noise. One sale in nine visits\n * is 11.1%, which reads as a triumph and means nothing.\n */\nconst MIN_FOR_RATE = 30;\n\n/** One step of the funnel: the count, then what it counts. */\nfunction Step({ value, label }: { value: number; label: string }) {\n return (\n <span className=\"shrink-0\">\n <span className=\"font-medium tabular-nums text-[var(--text-secondary)]\">\n {value.toLocaleString()}\n </span>{' '}\n {label}\n </span>\n );\n}\n\n/**\n * A headline count and what it counts, for the pre-conversion state.\n *\n * THE GLYPH LEADS, and it is the one its own screen already uses: `Eye` is\n * what the Traffic tab marks views with, `ShoppingBag` is what the Activity\n * widget draws beside `order_placed`. Two counts sitting side by side are\n * told apart at a glance by shape long before anyone reads either label —\n * which is the whole reason to have them — and picking a third icon for a\n * concept the app has already settled would cost that.\n *\n * `self-center` because the row is baseline-aligned: the number and its label\n * share a baseline, which is the detail that makes them read as one phrase,\n * and a 16px glyph hung off that same line sits low against a 24px figure.\n */\nfunction Count({\n icon: Icon,\n value,\n label,\n}: {\n icon: LucideIcon;\n value: number;\n label: string;\n}) {\n return (\n <p className=\"flex items-baseline gap-2\">\n <Icon\n aria-hidden\n className=\"size-4 shrink-0 self-center text-[var(--text-muted)]\"\n />\n {/* 17px, not 20. Two of these sit side by side now, and at `text-2xl`\n they were the loudest thing in a card whose subject is the site\n above them — a week's visit count competing with the storefront it\n describes. One step down the scale (John, 2026-08-25) still reads as\n a figure against a 13px label. */}\n <span className=\"text-xl font-semibold tabular-nums tracking-[-0.02em] text-[var(--text-primary)]\">\n {value.toLocaleString()}\n </span>\n <span className=\"text-sm text-[var(--text-tertiary)]\">{label}</span>\n </p>\n );\n}\n\nexport function WebsiteWidget({\n storefrontUrl,\n hasCustomDomain,\n siteImage,\n businessName,\n}: {\n storefrontUrl?: string | null;\n hasCustomDomain: boolean;\n /** The business's own image. Absent is normal and draws a mark instead. */\n siteImage?: string | null;\n businessName?: string;\n}) {\n const { tenant } = useAuth();\n const isOpen = tenant?.status === 'active';\n const host = storefrontUrl?.replace(/^https?:\\/\\//, '').replace(/\\/$/, '');\n // Only asked for once the site is published: there is no traffic to a\n // storefront that does not exist, and asking would spend a request to be\n // told zero.\n const traffic = useWeeklyTraffic(!!storefrontUrl);\n\n return (\n <Panel\n title=\"Website\"\n className=\"h-full\"\n bodyClassName=\"flex flex-col min-h-0\"\n >\n {/*\n IT IS A LINK PREVIEW — the card that appears when somebody pastes your\n address into WhatsApp or Slack.\n\n Two designs came before this and both did too much. The first was four\n unrelated rows: a pill, a number, a link, a button. The second made the\n card a browser window — chrome, viewport, the image standing upright\n inside it — which looked like a site but answered nothing, because a\n merchant does not need to be shown that websites live in browsers.\n\n The link preview is the right frame because it is the one a merchant\n already knows and the one that matters: it is how the business appears\n the moment anyone shares it. Horizontal, image left, name and address\n right — so the card is literally a rehearsal of the thing it describes.\n\n Three facts, in the order they are wanted: what it looks like shared,\n where it lives, and whether anyone came. Nothing else.\n */}\n <a\n href={storefrontUrl ?? '#'}\n target=\"_blank\"\n rel=\"noreferrer\"\n /* THE PREVIEW IS GREY, not the panel's own fill. It carried\n `surface-interactive`, whose background is `--card-bg` — the exact\n fill of the `Panel` it sits inside — so the only thing separating\n the two was a hairline, and the card read as having no background at\n all. `--bg-muted` is the grey either side of that: #efefef on white,\n #202023 on the dark ground. The chip stands ON the panel, which is\n what a thing you can click should look like. */\n className=\"surface-interactive group/site flex items-stretch gap-0 overflow-hidden bg-[var(--bg-muted)]\"\n >\n {/* Square, and fixed. A share card's thumbnail never grows with the\n title; letting it would make two businesses' cards different shapes\n for no reason a reader could name. */}\n <span className=\"grid h-[68px] w-[68px] shrink-0 place-items-center overflow-hidden bg-[var(--bg-base)]\">\n {siteImage ? (\n // eslint-disable-next-line @next/next/no-img-element\n <img\n src={siteImage}\n alt=\"\"\n className=\"h-full w-full object-cover transition-transform duration-[var(--motion-slow)] ease-out group-hover/site:scale-105\"\n />\n ) : (\n <Globe className=\"size-5 text-[var(--text-muted)]\"\n strokeWidth={1.5}\n />\n )}\n </span>\n\n <span className=\"flex min-w-0 flex-1 flex-col justify-center gap-0.5 px-3 py-2\">\n <span className=\"truncate text-md font-medium text-[var(--text-primary)]\">\n {businessName ?? 'Your website'}\n </span>\n <span className=\"flex min-w-0 items-center gap-1\">\n {isOpen && host ? (\n <>\n <Lock\n aria-hidden\n className=\"h-[9px] w-[9px] shrink-0 text-[var(--success)]\"\n />\n <span\n title={host}\n className=\"min-w-0 truncate text-sm text-[var(--text-tertiary)]\"\n >\n {middleEllipsis(host)}\n </span>\n </>\n ) : (\n /* \"Not published yet\" was a FACT with no way to act on it, and\n the only control that could open the site was a modal that\n appeared once and never again. A merchant who dismissed it had\n no route to publishing from the dashboard at all.\n\n Shopify's own onboarding guidance is dismissible cards rather\n than modals, and this is already the card about the site. So\n the state and the act that resolves it are in one place. */\n /* The address exists before the site is open, and showing it\n under a padlock said the opposite of the truth. While it is\n shut the line says so; the address is no use until it is. */\n <span className=\"min-w-0 truncate text-sm text-[var(--text-tertiary)]\">\n Not open yet\n </span>\n )}\n </span>\n </span>\n\n <span className=\"grid w-8 shrink-0 place-items-center text-[var(--text-muted)] transition-colors group-hover/site:text-[var(--text-primary)]\">\n <ArrowUpRight />\n </span>\n </a>\n\n {/* NO CONTROL UNDER THE PREVIEW.\n\n There was an \"Open my site\" button here, then — after John cut it —\n the same act surviving as an \"Open it now\" text link. Both are gone\n on his call, 2026-08-25. The card's job is to SHOW the storefront;\n \"Not open yet\" is the line that states it, and publishing is a\n once-ever act that was holding a permanent row on a board where\n every other card leads with content. Opening the site lives on the\n Website hub, which the preview itself links into. */}\n\n {/* THE QUESTION TRAFFIC IS ACTUALLY ASKING.\n A visit count is a vanity number: 480 is good or bad depending\n entirely on what the 480 did, and a merchant cannot act on it. What\n they can act on is the CONVERSION — the share of people who came and\n bought — because a high number says do more of whatever brought them\n and a low one says the site is not closing.\n\n So conversion leads and visits are the context under it, which is the\n inverse of what this card did. The funnel arrives in the same request\n as the view count and was being thrown away.\n\n Only when there is enough traffic to divide by. A rate off nine\n visits is noise with a decimal point, and reporting \"11.1%\" from one\n sale in nine would be worse than reporting nothing. */}\n {traffic && traffic.views >= MIN_FOR_RATE ? (\n <div className=\"mt-3\">\n <p className=\"flex items-baseline gap-2\">\n <span className=\"text-3xl font-semibold leading-none tracking-[-0.02em] tabular-nums text-[var(--text-primary)]\">\n {((traffic.orders / traffic.views) * 100).toFixed(1)}%\n </span>\n <span className=\"text-sm text-[var(--text-tertiary)]\">bought</span>\n <TrafficDelta now={traffic.views} prior={traffic.prior} />\n </p>\n\n {/* The drop-off, as three counts on one line. Where people leave is\n the whole diagnosis: visits high and carts low is a catalogue\n problem, carts high and orders low is a checkout problem, and one\n rate alone cannot tell those apart. */}\n <p className=\"mt-2 flex items-center gap-2 text-sm text-[var(--text-tertiary)]\">\n <Step value={traffic.views} label=\"visits\" />\n <ArrowRight aria-hidden className=\"h-[11px] w-[11px] shrink-0\" />\n <Step value={traffic.carts} label=\"carts\" />\n <ArrowRight aria-hidden className=\"h-[11px] w-[11px] shrink-0\" />\n <Step value={traffic.orders} label=\"orders\" />\n </p>\n\n {traffic.topSource && (\n <p className=\"mt-2 truncate text-sm text-[var(--text-muted)]\">\n Most from{' '}\n <span className=\"font-medium text-[var(--text-secondary)]\">\n {traffic.topSource.source}\n </span>{' '}\n · {Math.round(traffic.topSource.percentage)}%\n </p>\n )}\n </div>\n ) : (\n traffic && (\n // Too little traffic to divide by, so it reports the count and says\n // so rather than dressing a tiny sample as a rate.\n <div className=\"mt-3\">\n {/* TWO COUNTS, not one. Visits alone says people arrived and\n stops there; the merchant's actual question underneath it is\n whether any of them bought. Below `MIN_FOR_RATE` the two\n cannot honestly be divided into a percentage — that is what\n the line beneath says — but they can both be stated, and a\n week of 14 visits and 2 orders is a different week from 14\n and 0 in every way that matters. Same window, same request:\n `checkoutComplete` off the funnel already in the payload. */}\n {/* NO \"not enough traffic to measure conversion\" UNDER THIS.\n Cut on John's call, 2026-08-25. It explained an absence — why\n the card was not showing a percentage — to someone who had not\n asked for one and could not act on the answer. The counts are\n the card's whole claim at this stage; a line apologising for\n the number it is not showing makes a week of real visits read\n as a shortfall. The rate appears on its own once there is\n enough traffic to divide by, and needs no trailer before then. */}\n <div className=\"flex flex-wrap items-baseline gap-x-6 gap-y-1\">\n <Count\n icon={Eye}\n value={traffic.views}\n label={`${traffic.views === 1 ? 'visit' : 'visits'} this week`}\n />\n <Count\n icon={ShoppingBag}\n value={traffic.orders}\n label={traffic.orders === 1 ? 'order' : 'orders'}\n />\n </div>\n </div>\n )\n )}\n\n {/* No \"View site\" button.\n The share-card preview above IS the link — it is an `<a>` to the\n storefront and always has been — so a button underneath was a second\n control for the same click, on a card whose whole argument is that it\n shows you the thing rather than describing it. John, looking at it:\n *\"the open site button on the website card is not needed, people can\n legit click on section that shows the site\"*.\n\n \"Add your own domain\" stays, and is not the same case: it is the one\n job on this card the preview cannot do. */}\n {!hasCustomDomain && (\n <div className=\"mt-auto pt-3\">\n <PanelAction href=\"/dashboard/business/domains\">\n Add your own domain\n </PanelAction>\n </div>\n )}\n </Panel>\n );\n}\n"],"mappings":"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","names":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The drawn card art, moved out of the setup rail.
|
|
3
|
+
*
|
|
4
|
+
* It was built for "Finish setting up", a panel that no longer exists: the four
|
|
5
|
+
* chores it held now live as the EMPTY STATES of the widgets that will show
|
|
6
|
+
* their result, so the box a merchant fixes is the box that then fills with
|
|
7
|
+
* their data. The art comes with them, which is also the answer to why our
|
|
8
|
+
* cards looked empty beside Shopify's — theirs carry a picture and ours carried
|
|
9
|
+
* a header rule and two rows.
|
|
10
|
+
*
|
|
11
|
+
* Everything here is drawn from our own tokens. It replaced eleven of Shopify's
|
|
12
|
+
* admin PNGs that had been shipping on staging; see the history of this file.
|
|
13
|
+
*
|
|
14
|
+
* NOTHING HERE CARRIES A FIGURE. Three miniatures did: a product tile with a
|
|
15
|
+
* price, a payout with an amount and an account's last four digits, and a
|
|
16
|
+
* regular last seen "72d ago". They were drawings, but on a home that reports a
|
|
17
|
+
* business's money an invented amount beside a real one is a number the
|
|
18
|
+
* merchant has to work out is not theirs. They are gone, and nothing added to
|
|
19
|
+
* this file may show an amount, a count, a date or an account.
|
|
20
|
+
*/
|
|
21
|
+
/** Text, at miniature scale. The only honest way to draw a word this small. */
|
|
22
|
+
export declare function Bar({ className }: {
|
|
23
|
+
className: string;
|
|
24
|
+
}): import("react").JSX.Element;
|
|
25
|
+
/** Two pages to pick between. They spread apart under the cursor. */
|
|
26
|
+
export declare function ThemeMiniature(): import("react").JSX.Element;
|
|
27
|
+
/** A pointer, drawn. What it replaces was a photograph of one. */
|
|
28
|
+
export declare function Pointer({ className }: {
|
|
29
|
+
className?: string;
|
|
30
|
+
}): import("react").JSX.Element;
|
|
31
|
+
/**
|
|
32
|
+
* Whether any of the given backend onboarding steps is completed. The backend
|
|
33
|
+
* is the source of truth for progress; the boolean props below (hasProduct etc.)
|
|
34
|
+
* corroborate it so a card still reads done even if a step key is missing.
|
|
35
|
+
*/
|