@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 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/dashboard/home/use-home-shape.ts"],"sourcesContent":["'use client';\n\n/**\n * The home's organizing decision: the page's SHAPE is a function of business\n * state, not a fixed stack of panels.\n *\n * Before this existed the home rendered every section unconditionally, so a\n * brand-new business met four stacked empty states (goal, revenue chart,\n * activity, customers) and read as broken on day one, while an operating\n * business still had onboarding cards competing with its money.\n *\n * Three stages, each with a different job:\n *\n * setup Nothing sellable exists yet. Setup cards carry the page, and\n * the money band and board still render, because a real zero is\n * information. Empty PANELS (feed, people) are withheld.\n * launched Something is sellable but nothing has happened yet. Same shape;\n * the job is the first sale.\n * operating Real money or real activity exists. Every panel shows.\n *\n * The distinction that matters: suppress empty PANELS, never suppress real\n * FIGURES. An earlier pass hid the money band before the first sale and turned\n * a too-empty page into a genuinely empty one.\n *\n * Stage is derived from signals that are true for EVERY archetype — a padel\n * club records bookings, a shop records orders, an invoicing business records\n * paid invoices. `hasActivity` is what keeps a cash-heavy or booking-first\n * business from being stuck in `launched` just because online revenue is zero.\n */\n\nexport type HomeStage = 'setup' | 'launched' | 'operating';\n\nexport interface HomeShapeInput {\n /** A sellable thing exists (product, service, package, room, event). */\n hasSellable: boolean;\n /** Lifetime/period revenue from paid orders and invoices. */\n revenue: number;\n /** Orders in the current period. */\n orders: number;\n /** Bookings starting today (bookings-first archetypes). */\n todaysBookings: number;\n /** Upcoming bookings on the books. */\n upcomingBookingsCount: number;\n /** Tabs open right now (dine-in). */\n openTabsCount: number;\n /** Timeline entries that represent real commerce, not setup noise. */\n activityCount: number;\n}\n\nexport interface HomeShape {\n stage: HomeStage;\n /** Setup cards carry the page. */\n showSetup: boolean;\n /**\n * The money band. Always true: a real £0 is information, and hiding it left\n * a brand-new business staring at a blank page.\n */\n showMoney: boolean;\n /**\n * Individual PANELS that would render an empty state are dropped instead, so\n * absence never stacks up into the page's dominant texture. Deliberately\n * scoped to panels: figures (money) are always shown.\n */\n hideEmptyPanels: boolean;\n}\n\nexport function resolveHomeShape(input: HomeShapeInput): HomeShape {\n const {\n hasSellable,\n revenue,\n orders,\n todaysBookings,\n upcomingBookingsCount,\n openTabsCount,\n activityCount,\n } = input;\n\n // Money OR operational motion. A club with a full court sheet and no online\n // revenue is operating; treating it as \"launched\" would hide its own board.\n const isOperating =\n revenue > 0 ||\n orders > 0 ||\n todaysBookings > 0 ||\n upcomingBookingsCount > 0 ||\n openTabsCount > 0 ||\n activityCount > 0;\n\n const stage: HomeStage = !hasSellable\n ? 'setup'\n : isOperating\n ? 'operating'\n : 'launched';\n\n return {\n stage,\n\n // ALWAYS offered; `SetupCards` renders null once every step is done.\n //\n // This used to be `stage !== 'operating'`, which conflated two unrelated\n // things: whether a business is trading, and whether it has finished\n // setting up. A club taking bookings daily that still has no domain and no\n // payout account was shown neither card. Setup disappears when setup is\n // COMPLETE — and since it now sits below the money band, it isn't competing\n // with anything for the top of the page.\n showSetup: true,\n\n // ALWAYS. £0 is a fact about the business, not an absence — the money band\n // is the spine of this page and belongs there from day one. An earlier pass\n // hid it before the first sale, which turned a too-empty page into a\n // genuinely empty one. What we do NOT want is empty panels stacking up;\n // that is what `hideEmptyPanels` is for, below.\n showMoney: true,\n\n // Drops individual panels that have nothing in them — the feed, the people\n // panel, and any empty board widget — until the business is operating. This\n // is the narrow version of the rule: suppress empty PANELS, never suppress\n // real figures.\n hideEmptyPanels: stage !== 'operating',\n };\n}\n"],"mappings":";AAkEO,SAAS,iBAAiB,OAAkC;AACjE,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,IAAI;AAIJ,QAAM,cACJ,UAAU,KACV,SAAS,KACT,iBAAiB,KACjB,wBAAwB,KACxB,gBAAgB,KAChB,gBAAgB;AAElB,QAAM,QAAmB,CAAC,cACtB,UACA,cACE,cACA;AAEN,SAAO;AAAA,IACL;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAUA,WAAW;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOX,WAAW;AAAA;AAAA;AAAA;AAAA;AAAA,IAMX,iBAAiB,UAAU;AAAA,EAC7B;AACF;","names":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface Presence {
|
|
2
|
+
/** Distinct sessions active inside the window. */
|
|
3
|
+
count: number;
|
|
4
|
+
/**
|
|
5
|
+
* True when the count is a floor rather than a total: the payload filled up
|
|
6
|
+
* and the oldest event in it is still inside the window, so there is traffic
|
|
7
|
+
* we cannot see. The label says "60+" rather than quietly under-reporting.
|
|
8
|
+
*/
|
|
9
|
+
capped: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Where most of them are, named the way a person would name it.
|
|
12
|
+
*
|
|
13
|
+
* The page TITLE when the event carried one, its path when it did not. The
|
|
14
|
+
* first version showed the path, and on screen "3 people are on your site,
|
|
15
|
+
* /products/ceramic-bowl" reads like a server log: the merchant has to parse
|
|
16
|
+
* a URL to learn something they know by name. The title is already in the
|
|
17
|
+
* payload, so this was information we had and were throwing away.
|
|
18
|
+
*/
|
|
19
|
+
topPlace: string | null;
|
|
20
|
+
}
|
|
21
|
+
export declare function useLivePresence(enabled: boolean): Presence | null;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useMemo } from "react";
|
|
3
|
+
import { useApiQuery } from "@withpotter/hooks/use-api-query";
|
|
4
|
+
import { analyticsApi } from "@withpotter/lib/api/analytics";
|
|
5
|
+
const WINDOW_MS = 5 * 60 * 1e3;
|
|
6
|
+
const LIMIT = 60;
|
|
7
|
+
function pathOf(event) {
|
|
8
|
+
if (!event.pageUrl) return null;
|
|
9
|
+
try {
|
|
10
|
+
return new URL(event.pageUrl, "https://x.invalid").pathname || null;
|
|
11
|
+
} catch {
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function nameOf(path, title) {
|
|
16
|
+
if (title?.trim()) return title.trim();
|
|
17
|
+
return path === "/" ? "the front page" : path;
|
|
18
|
+
}
|
|
19
|
+
function useLivePresence(enabled) {
|
|
20
|
+
const { data, dataUpdatedAt } = useApiQuery(
|
|
21
|
+
["home-live-presence"],
|
|
22
|
+
(slug) => analyticsApi.getRecentEvents(slug, LIMIT),
|
|
23
|
+
{
|
|
24
|
+
enabled,
|
|
25
|
+
/*
|
|
26
|
+
* `live`, not a cadence of its own. `useApiQuery` owns one number for
|
|
27
|
+
* every surface that re-reads itself — 30s, no polling while the tab is
|
|
28
|
+
* backgrounded, refetch on focus — and the note above it is explicit
|
|
29
|
+
* that a per-page `setInterval` is the thing to avoid. A presence line
|
|
30
|
+
* inventing 20 seconds because it feels more live is how a dashboard
|
|
31
|
+
* ends up with four opinions about what "now" means, and this codebase
|
|
32
|
+
* has already measured what that costs in requests.
|
|
33
|
+
*
|
|
34
|
+
* Refetch-on-focus matters more than the interval here: the merchant
|
|
35
|
+
* comes back to the tab and the first thing they see is current, rather
|
|
36
|
+
* than up to thirty seconds stale.
|
|
37
|
+
*/
|
|
38
|
+
live: true,
|
|
39
|
+
// Silent on failure. This is a grace note on the home, and a hero that
|
|
40
|
+
// turns into an error message because a secondary read timed out is
|
|
41
|
+
// worse than one that says nothing.
|
|
42
|
+
retry: false
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
return useMemo(() => {
|
|
46
|
+
if (!data) return null;
|
|
47
|
+
const cutoff = dataUpdatedAt - WINDOW_MS;
|
|
48
|
+
const live = data.filter((e) => new Date(e.createdAt).getTime() >= cutoff);
|
|
49
|
+
if (!live.length) return { count: 0, capped: false, topPlace: null };
|
|
50
|
+
const sessions = new Set(live.map((e) => e.sessionId));
|
|
51
|
+
const perPath = /* @__PURE__ */ new Map();
|
|
52
|
+
for (const e of live) {
|
|
53
|
+
const path = pathOf(e);
|
|
54
|
+
if (!path) continue;
|
|
55
|
+
const entry = perPath.get(path) ?? {
|
|
56
|
+
seen: /* @__PURE__ */ new Set(),
|
|
57
|
+
name: nameOf(path, e.pageTitle)
|
|
58
|
+
};
|
|
59
|
+
entry.seen.add(e.sessionId);
|
|
60
|
+
perPath.set(path, entry);
|
|
61
|
+
}
|
|
62
|
+
let topPlace = null;
|
|
63
|
+
let best = 0;
|
|
64
|
+
for (const entry of perPath.values()) {
|
|
65
|
+
if (entry.seen.size > best) {
|
|
66
|
+
best = entry.seen.size;
|
|
67
|
+
topPlace = entry.name;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
count: sessions.size,
|
|
72
|
+
// Every event we were given is inside the window, so the list was cut
|
|
73
|
+
// off by the limit rather than by time.
|
|
74
|
+
capped: data.length >= LIMIT && live.length === data.length,
|
|
75
|
+
// One session on a page is not "where everyone is". Said only when it
|
|
76
|
+
// describes at least two people, or when it is the only person there.
|
|
77
|
+
topPlace: best >= 2 || sessions.size === 1 ? topPlace : null
|
|
78
|
+
};
|
|
79
|
+
}, [data, dataUpdatedAt]);
|
|
80
|
+
}
|
|
81
|
+
export {
|
|
82
|
+
useLivePresence
|
|
83
|
+
};
|
|
84
|
+
//# sourceMappingURL=use-live-presence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/dashboard/home/use-live-presence.ts"],"sourcesContent":["'use client';\n\nimport { useMemo } from 'react';\nimport { useApiQuery } from '@withpotter/hooks/use-api-query';\nimport { analyticsApi } from '@withpotter/lib/api/analytics';\nimport type { RecentEvent } from '@withpotter/lib/api/types';\n\n/**\n * Who is on the storefront right now.\n *\n * WHY THIS AND NOT THE STATS BAND. John asked whether Shopify's home strip —\n * Sessions, Total sales, Orders, Conversion rate — belonged on ours, and the\n * answer was no: his own screenshot had a green \"+120%\" sitting next to NGN 0,\n * which is eleven sessions dressed as a trend. Every figure on that bar is a\n * PERFORMANCE measure over a window, and performance over a window is what\n * Analytics is for. Presence is the exception and the one thing on that bar\n * worth having: it is not an average, it cannot be flattered by a slow month,\n * and it answers the only question the home actually asks — is anything\n * happening.\n *\n * NO NEW ENDPOINT. `/analytics/recent-events` has existed since analytics\n * shipped and nothing in the dashboard called it. Each event carries\n * `sessionId` and `createdAt`, so \"on the site now\" is distinct sessions inside\n * a five-minute window — a filter, not a round trip. Building a `/live` route\n * for this would have meant a migration-free API change, a deploy, and a\n * second definition of \"now\" to keep in step with this one.\n *\n * FIVE MINUTES is the industry's own answer (GA's realtime view, Plausible's,\n * Fathom's) and it is chosen for a reason: a page view is a moment, not a\n * duration, so presence has to be inferred from recency. Shorter and a person\n * reading one long page blinks out while they are still reading; longer and the\n * count keeps people who left.\n */\n\n/** How recent an event must be for its session to count as here. */\nconst WINDOW_MS = 5 * 60 * 1000;\n\n/**\n * How many events to ask for.\n *\n * The window is counted here, not by the server, so this is also the ceiling on\n * what can be counted: sixty events inside five minutes and the oldest one\n * returned is still inside the window, which means there were more we did not\n * see. That case is reported rather than hidden — see `capped` below.\n */\nconst LIMIT = 60;\n\nexport interface Presence {\n /** Distinct sessions active inside the window. */\n count: number;\n /**\n * True when the count is a floor rather than a total: the payload filled up\n * and the oldest event in it is still inside the window, so there is traffic\n * we cannot see. The label says \"60+\" rather than quietly under-reporting.\n */\n capped: boolean;\n /**\n * Where most of them are, named the way a person would name it.\n *\n * The page TITLE when the event carried one, its path when it did not. The\n * first version showed the path, and on screen \"3 people are on your site,\n * /products/ceramic-bowl\" reads like a server log: the merchant has to parse\n * a URL to learn something they know by name. The title is already in the\n * payload, so this was information we had and were throwing away.\n */\n topPlace: string | null;\n}\n\n/**\n * The identity of a page, for grouping: its path.\n *\n * Grouping on the URL rather than the title because two events for one page can\n * disagree about the title (a storefront that appends the business name, an\n * edit between visits) and would then count as two places.\n */\nfunction pathOf(event: RecentEvent): string | null {\n if (!event.pageUrl) return null;\n try {\n // Events store an absolute URL sometimes and a path other times, so this\n // has to survive both. A relative URL needs a base to parse against; the\n // base is thrown away.\n return new URL(event.pageUrl, 'https://x.invalid').pathname || null;\n } catch {\n return null;\n }\n}\n\n/** What to CALL that page: its title, or a readable fall back to the path. */\nfunction nameOf(path: string, title: string | undefined): string {\n if (title?.trim()) return title.trim();\n return path === '/' ? 'the front page' : path;\n}\n\nexport function useLivePresence(enabled: boolean): Presence | null {\n const { data, dataUpdatedAt } = useApiQuery(\n ['home-live-presence'],\n (slug) => analyticsApi.getRecentEvents(slug, LIMIT),\n {\n enabled,\n /*\n * `live`, not a cadence of its own. `useApiQuery` owns one number for\n * every surface that re-reads itself — 30s, no polling while the tab is\n * backgrounded, refetch on focus — and the note above it is explicit\n * that a per-page `setInterval` is the thing to avoid. A presence line\n * inventing 20 seconds because it feels more live is how a dashboard\n * ends up with four opinions about what \"now\" means, and this codebase\n * has already measured what that costs in requests.\n *\n * Refetch-on-focus matters more than the interval here: the merchant\n * comes back to the tab and the first thing they see is current, rather\n * than up to thirty seconds stale.\n */\n live: true,\n // Silent on failure. This is a grace note on the home, and a hero that\n // turns into an error message because a secondary read timed out is\n // worse than one that says nothing.\n retry: false,\n },\n );\n\n return useMemo(() => {\n if (!data) return null;\n /*\n * THE WINDOW IS MEASURED FROM THE FETCH, not from now.\n *\n * `Date.now()` here was impure-during-render — the lint rule is right, and\n * it was also subtly wrong on its own terms. A render can happen at any\n * moment after the payload arrived, so a component that re-rendered for an\n * unrelated reason would recompute the same data against a later cutoff\n * and quietly drop people who were still there. Anchoring to\n * `dataUpdatedAt` makes the reading a pure function of the response, which\n * is what it always was: these are the sessions that were live when the\n * server answered.\n */\n const cutoff = dataUpdatedAt - WINDOW_MS;\n const live = data.filter((e) => new Date(e.createdAt).getTime() >= cutoff);\n if (!live.length) return { count: 0, capped: false, topPlace: null };\n\n const sessions = new Set(live.map((e) => e.sessionId));\n\n // Counting SESSIONS, then finding the busiest path across them. Not the\n // most common path among events, which would let one person refreshing a\n // page out-vote three people reading three others.\n const perPath = new Map<string, { seen: Set<string>; name: string }>();\n for (const e of live) {\n const path = pathOf(e);\n if (!path) continue;\n const entry = perPath.get(path) ?? {\n seen: new Set<string>(),\n name: nameOf(path, e.pageTitle),\n };\n entry.seen.add(e.sessionId);\n perPath.set(path, entry);\n }\n let topPlace: string | null = null;\n let best = 0;\n for (const entry of perPath.values()) {\n if (entry.seen.size > best) {\n best = entry.seen.size;\n topPlace = entry.name;\n }\n }\n\n return {\n count: sessions.size,\n // Every event we were given is inside the window, so the list was cut\n // off by the limit rather than by time.\n capped: data.length >= LIMIT && live.length === data.length,\n // One session on a page is not \"where everyone is\". Said only when it\n // describes at least two people, or when it is the only person there.\n topPlace: best >= 2 || sessions.size === 1 ? topPlace : null,\n };\n }, [data, dataUpdatedAt]);\n}\n"],"mappings":";AAEA,SAAS,eAAe;AACxB,SAAS,mBAAmB;AAC5B,SAAS,oBAAoB;AA+B7B,MAAM,YAAY,IAAI,KAAK;AAU3B,MAAM,QAAQ;AA8Bd,SAAS,OAAO,OAAmC;AACjD,MAAI,CAAC,MAAM,QAAS,QAAO;AAC3B,MAAI;AAIF,WAAO,IAAI,IAAI,MAAM,SAAS,mBAAmB,EAAE,YAAY;AAAA,EACjE,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AAGA,SAAS,OAAO,MAAc,OAAmC;AAC/D,MAAI,OAAO,KAAK,EAAG,QAAO,MAAM,KAAK;AACrC,SAAO,SAAS,MAAM,mBAAmB;AAC3C;AAEO,SAAS,gBAAgB,SAAmC;AACjE,QAAM,EAAE,MAAM,cAAc,IAAI;AAAA,IAC9B,CAAC,oBAAoB;AAAA,IACrB,CAAC,SAAS,aAAa,gBAAgB,MAAM,KAAK;AAAA,IAClD;AAAA,MACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAcA,MAAM;AAAA;AAAA;AAAA;AAAA,MAIN,OAAO;AAAA,IACT;AAAA,EACF;AAEA,SAAO,QAAQ,MAAM;AACnB,QAAI,CAAC,KAAM,QAAO;AAalB,UAAM,SAAS,gBAAgB;AAC/B,UAAM,OAAO,KAAK,OAAO,CAAC,MAAM,IAAI,KAAK,EAAE,SAAS,EAAE,QAAQ,KAAK,MAAM;AACzE,QAAI,CAAC,KAAK,OAAQ,QAAO,EAAE,OAAO,GAAG,QAAQ,OAAO,UAAU,KAAK;AAEnE,UAAM,WAAW,IAAI,IAAI,KAAK,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC;AAKrD,UAAM,UAAU,oBAAI,IAAiD;AACrE,eAAW,KAAK,MAAM;AACpB,YAAM,OAAO,OAAO,CAAC;AACrB,UAAI,CAAC,KAAM;AACX,YAAM,QAAQ,QAAQ,IAAI,IAAI,KAAK;AAAA,QACjC,MAAM,oBAAI,IAAY;AAAA,QACtB,MAAM,OAAO,MAAM,EAAE,SAAS;AAAA,MAChC;AACA,YAAM,KAAK,IAAI,EAAE,SAAS;AAC1B,cAAQ,IAAI,MAAM,KAAK;AAAA,IACzB;AACA,QAAI,WAA0B;AAC9B,QAAI,OAAO;AACX,eAAW,SAAS,QAAQ,OAAO,GAAG;AACpC,UAAI,MAAM,KAAK,OAAO,MAAM;AAC1B,eAAO,MAAM,KAAK;AAClB,mBAAW,MAAM;AAAA,MACnB;AAAA,IACF;AAEA,WAAO;AAAA,MACL,OAAO,SAAS;AAAA;AAAA;AAAA,MAGhB,QAAQ,KAAK,UAAU,SAAS,KAAK,WAAW,KAAK;AAAA;AAAA;AAAA,MAGrD,UAAU,QAAQ,KAAK,SAAS,SAAS,IAAI,WAAW;AAAA,IAC1D;AAAA,EACF,GAAG,CAAC,MAAM,aAAa,CAAC;AAC1B;","names":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Opening the site: one field, and now one code path.
|
|
3
|
+
*
|
|
4
|
+
* Two surfaces ask for this — the arrival modal and the dashboard's
|
|
5
|
+
* site-is-not-open notice — and they are the same message at different moments.
|
|
6
|
+
* They must not drift, and neither should own the request: the home page
|
|
7
|
+
* already had a publish handler buried in its data hook, which the layout could
|
|
8
|
+
* not reach.
|
|
9
|
+
*
|
|
10
|
+
* Returns the same shape that handler did, so a caller can name the one refusal
|
|
11
|
+
* a merchant can act on. Publishing requires a verified email; passwordless
|
|
12
|
+
* accounts are verified by the login code itself, so this should be rare, but a
|
|
13
|
+
* generic failure would leave someone stuck with nothing to do about it.
|
|
14
|
+
*/
|
|
15
|
+
export declare function usePublishSite(): {
|
|
16
|
+
publish: (next: boolean) => Promise<{
|
|
17
|
+
error?: string;
|
|
18
|
+
needsVerification?: boolean;
|
|
19
|
+
}>;
|
|
20
|
+
publishing: boolean;
|
|
21
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useCallback, useState } from "react";
|
|
3
|
+
import { tenantApi } from "@withpotter/lib/api/tenant";
|
|
4
|
+
import { useAuth } from "@withpotter/lib/auth-context";
|
|
5
|
+
function usePublishSite() {
|
|
6
|
+
const { tenant, refreshTenant } = useAuth();
|
|
7
|
+
const [publishing, setPublishing] = useState(false);
|
|
8
|
+
const publish = useCallback(
|
|
9
|
+
async (next) => {
|
|
10
|
+
if (!tenant?.slug) return {};
|
|
11
|
+
setPublishing(true);
|
|
12
|
+
try {
|
|
13
|
+
await tenantApi.update(tenant.slug, {
|
|
14
|
+
status: next ? "active" : "pending"
|
|
15
|
+
});
|
|
16
|
+
await refreshTenant();
|
|
17
|
+
return {};
|
|
18
|
+
} catch (err) {
|
|
19
|
+
const message = err instanceof Error ? err.message : "Could not open your site";
|
|
20
|
+
return {
|
|
21
|
+
error: message,
|
|
22
|
+
needsVerification: /verif|email/i.test(message)
|
|
23
|
+
};
|
|
24
|
+
} finally {
|
|
25
|
+
setPublishing(false);
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
[tenant?.slug, refreshTenant]
|
|
29
|
+
);
|
|
30
|
+
return { publish, publishing };
|
|
31
|
+
}
|
|
32
|
+
export {
|
|
33
|
+
usePublishSite
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=use-publish-site.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/dashboard/home/use-publish-site.ts"],"sourcesContent":["'use client';\n\nimport { useCallback, useState } from 'react';\nimport { tenantApi } from '@withpotter/lib/api/tenant';\nimport { useAuth } from '@withpotter/lib/auth-context';\n\n/**\n * Opening the site: one field, and now one code path.\n *\n * Two surfaces ask for this — the arrival modal and the dashboard's\n * site-is-not-open notice — and they are the same message at different moments.\n * They must not drift, and neither should own the request: the home page\n * already had a publish handler buried in its data hook, which the layout could\n * not reach.\n *\n * Returns the same shape that handler did, so a caller can name the one refusal\n * a merchant can act on. Publishing requires a verified email; passwordless\n * accounts are verified by the login code itself, so this should be rare, but a\n * generic failure would leave someone stuck with nothing to do about it.\n */\nexport function usePublishSite() {\n const { tenant, refreshTenant } = useAuth();\n const [publishing, setPublishing] = useState(false);\n\n const publish = useCallback(\n async (\n next: boolean,\n ): Promise<{ error?: string; needsVerification?: boolean }> => {\n if (!tenant?.slug) return {};\n setPublishing(true);\n try {\n await tenantApi.update(tenant.slug, {\n status: next ? 'active' : 'pending',\n });\n await refreshTenant();\n return {};\n } catch (err) {\n const message =\n err instanceof Error ? err.message : 'Could not open your site';\n return {\n error: message,\n needsVerification: /verif|email/i.test(message),\n };\n } finally {\n setPublishing(false);\n }\n },\n [tenant?.slug, refreshTenant],\n );\n\n return { publish, publishing };\n}\n"],"mappings":";AAEA,SAAS,aAAa,gBAAgB;AACtC,SAAS,iBAAiB;AAC1B,SAAS,eAAe;AAgBjB,SAAS,iBAAiB;AAC/B,QAAM,EAAE,QAAQ,cAAc,IAAI,QAAQ;AAC1C,QAAM,CAAC,YAAY,aAAa,IAAI,SAAS,KAAK;AAElD,QAAM,UAAU;AAAA,IACd,OACE,SAC6D;AAC7D,UAAI,CAAC,QAAQ,KAAM,QAAO,CAAC;AAC3B,oBAAc,IAAI;AAClB,UAAI;AACF,cAAM,UAAU,OAAO,OAAO,MAAM;AAAA,UAClC,QAAQ,OAAO,WAAW;AAAA,QAC5B,CAAC;AACD,cAAM,cAAc;AACpB,eAAO,CAAC;AAAA,MACV,SAAS,KAAK;AACZ,cAAM,UACJ,eAAe,QAAQ,IAAI,UAAU;AACvC,eAAO;AAAA,UACL,OAAO;AAAA,UACP,mBAAmB,eAAe,KAAK,OAAO;AAAA,QAChD;AAAA,MACF,UAAE;AACA,sBAAc,KAAK;AAAA,MACrB;AAAA,IACF;AAAA,IACA,CAAC,QAAQ,MAAM,aAAa;AAAA,EAC9B;AAEA,SAAO,EAAE,SAAS,WAAW;AAC/B;","names":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface RecentScreen {
|
|
2
|
+
href: string;
|
|
3
|
+
label: string;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Records the current screen. Call ONCE, from the dashboard layout, above any
|
|
7
|
+
* branch — the layout renders a mobile tree and a desktop tree, and a recorder
|
|
8
|
+
* placed inside either one only ever sees half the app.
|
|
9
|
+
*/
|
|
10
|
+
export declare function useRecordRecentScreen(slug: string | undefined, pathname: string | undefined): void;
|
|
11
|
+
/** Reads the list. Empty on the first visit, which the column handles. */
|
|
12
|
+
export declare function useRecentScreens(slug: string | undefined): RecentScreen[];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useEffect, useSyncExternalStore } from "react";
|
|
3
|
+
import { useResumeLastScreen } from "@withpotter/hooks/use-resume-last-screen";
|
|
4
|
+
const LIMIT = 5;
|
|
5
|
+
const KEY = (slug) => `pb_recent_screens:${slug}`;
|
|
6
|
+
const EMPTY = [];
|
|
7
|
+
const cache = /* @__PURE__ */ new Map();
|
|
8
|
+
const listeners = /* @__PURE__ */ new Set();
|
|
9
|
+
function snapshot(slug) {
|
|
10
|
+
let hit = cache.get(slug);
|
|
11
|
+
if (!hit) {
|
|
12
|
+
hit = read(slug);
|
|
13
|
+
cache.set(slug, hit);
|
|
14
|
+
}
|
|
15
|
+
return hit;
|
|
16
|
+
}
|
|
17
|
+
function publish(slug, next) {
|
|
18
|
+
cache.set(slug, next);
|
|
19
|
+
listeners.forEach((l) => l());
|
|
20
|
+
}
|
|
21
|
+
function subscribe(onChange) {
|
|
22
|
+
listeners.add(onChange);
|
|
23
|
+
return () => listeners.delete(onChange);
|
|
24
|
+
}
|
|
25
|
+
function read(slug) {
|
|
26
|
+
try {
|
|
27
|
+
const raw = localStorage.getItem(KEY(slug));
|
|
28
|
+
if (!raw) return [];
|
|
29
|
+
const parsed = JSON.parse(raw);
|
|
30
|
+
if (!Array.isArray(parsed)) return [];
|
|
31
|
+
return parsed.filter(
|
|
32
|
+
(r) => !!r && typeof r.href === "string" && typeof r.label === "string"
|
|
33
|
+
);
|
|
34
|
+
} catch {
|
|
35
|
+
return [];
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
function useRecordRecentScreen(slug, pathname) {
|
|
39
|
+
useResumeLastScreen(slug, pathname);
|
|
40
|
+
useEffect(() => {
|
|
41
|
+
if (!slug || !pathname) return;
|
|
42
|
+
if (pathname === "/dashboard") return;
|
|
43
|
+
const id = window.setTimeout(() => {
|
|
44
|
+
const label = (document.title || "").split("\xB7")[0].trim();
|
|
45
|
+
if (!label) return;
|
|
46
|
+
const next = [
|
|
47
|
+
{ href: pathname, label },
|
|
48
|
+
...read(slug).filter((r) => r.href !== pathname)
|
|
49
|
+
].slice(0, LIMIT);
|
|
50
|
+
try {
|
|
51
|
+
localStorage.setItem(KEY(slug), JSON.stringify(next));
|
|
52
|
+
} catch {
|
|
53
|
+
}
|
|
54
|
+
publish(slug, next);
|
|
55
|
+
}, 120);
|
|
56
|
+
return () => window.clearTimeout(id);
|
|
57
|
+
}, [slug, pathname]);
|
|
58
|
+
}
|
|
59
|
+
function useRecentScreens(slug) {
|
|
60
|
+
return useSyncExternalStore(
|
|
61
|
+
subscribe,
|
|
62
|
+
() => slug ? snapshot(slug) : EMPTY,
|
|
63
|
+
() => EMPTY
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
export {
|
|
67
|
+
useRecentScreens,
|
|
68
|
+
useRecordRecentScreen
|
|
69
|
+
};
|
|
70
|
+
//# sourceMappingURL=use-recent-screens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/dashboard/home/use-recent-screens.ts"],"sourcesContent":["'use client';\n\nimport { useEffect, useSyncExternalStore } from 'react';\nimport { useResumeLastScreen } from '@withpotter/hooks/use-resume-last-screen';\n\n/**\n * Where you have just been, per workspace.\n *\n * WHY IT EXISTS. The reference console's third column is Recents, and it is the\n * only genuinely personalised thing on that page: your resources and your create\n * affordances are the same every morning, but where you were yesterday is not.\n * Box had no equivalent, and \"the thing I was in the middle of\" is the most\n * common reason a merchant opens the dashboard at all.\n *\n * HOW THE LABEL IS RESOLVED. From `document.title`, not from a route table. Every\n * dashboard screen already names its own browser tab, and there is a test in\n * `tab-title-coverage.test.ts` that fails the build if one does not, so the title\n * is a guarantee this can lean on. A route table would have to be kept in step\n * with ~50 screens by hand and would silently rot; this cannot, because the thing\n * it reads is already enforced.\n *\n * Titles are `Screen · Business`, so the business half is dropped: the workspace\n * name on every row of a list of your own screens is noise.\n *\n * KEYED BY TENANT. Switching workspace must not show the other workspace's\n * screens, for the same reason the money snapshot is keyed by tenant.\n *\n * localStorage, deliberately. This is a convenience, not a record. It should not\n * cost a request, it should not sync, and losing it should cost nothing.\n */\n\nconst LIMIT = 5;\nconst KEY = (slug: string) => `pb_recent_screens:${slug}`;\n\nexport interface RecentScreen {\n href: string;\n label: string;\n}\n\n/**\n * A tiny store over localStorage, rather than state synced in an effect.\n *\n * Two things force this. `useSyncExternalStore` needs `getSnapshot` to return a\n * STABLE reference or it re-renders forever, so the parsed list is cached per\n * slug and only replaced when something is actually recorded. And a server\n * snapshot has to exist and be empty, because localStorage does not exist there\n * and returning a fresh array would fail hydration.\n *\n * The payoff beyond correctness: recording a screen now updates any mounted\n * reader, so the home does not show a stale list after a client navigation.\n */\nconst EMPTY: RecentScreen[] = [];\nconst cache = new Map<string, RecentScreen[]>();\nconst listeners = new Set<() => void>();\n\nfunction snapshot(slug: string): RecentScreen[] {\n let hit = cache.get(slug);\n if (!hit) {\n hit = read(slug);\n cache.set(slug, hit);\n }\n return hit;\n}\n\nfunction publish(slug: string, next: RecentScreen[]) {\n cache.set(slug, next);\n listeners.forEach((l) => l());\n}\n\nfunction subscribe(onChange: () => void) {\n listeners.add(onChange);\n return () => listeners.delete(onChange);\n}\n\nfunction read(slug: string): RecentScreen[] {\n try {\n const raw = localStorage.getItem(KEY(slug));\n if (!raw) return [];\n const parsed: unknown = JSON.parse(raw);\n if (!Array.isArray(parsed)) return [];\n return parsed.filter(\n (r): r is RecentScreen =>\n !!r &&\n typeof (r as RecentScreen).href === 'string' &&\n typeof (r as RecentScreen).label === 'string',\n );\n } catch {\n // A corrupt or unavailable store must never take the home down with it.\n return [];\n }\n}\n\n/**\n * Records the current screen. Call ONCE, from the dashboard layout, above any\n * branch — the layout renders a mobile tree and a desktop tree, and a recorder\n * placed inside either one only ever sees half the app.\n */\nexport function useRecordRecentScreen(\n slug: string | undefined,\n pathname: string | undefined,\n) {\n // Where you were is remembered here too: the installed app starts over at\n // Home after the phone drops it, and this puts it back on that screen.\n useResumeLastScreen(slug, pathname);\n\n useEffect(() => {\n if (!slug || !pathname) return;\n // The home is where this list is READ. Listing it would push out a real\n // destination on every visit and eventually fill the column with itself.\n if (pathname === '/dashboard') return;\n\n // The title is set by the screen, not by this effect, so it lands a tick\n // late on a client transition. One frame is enough and costs nothing.\n const id = window.setTimeout(() => {\n const label = (document.title || '').split('·')[0].trim();\n if (!label) return;\n\n const next = [\n { href: pathname, label },\n ...read(slug).filter((r) => r.href !== pathname),\n ].slice(0, LIMIT);\n\n try {\n localStorage.setItem(KEY(slug), JSON.stringify(next));\n } catch {\n // Private mode, or a full quota. Recents are not worth an error.\n }\n publish(slug, next);\n }, 120);\n\n return () => window.clearTimeout(id);\n }, [slug, pathname]);\n}\n\n/** Reads the list. Empty on the first visit, which the column handles. */\nexport function useRecentScreens(slug: string | undefined): RecentScreen[] {\n return useSyncExternalStore(\n subscribe,\n () => (slug ? snapshot(slug) : EMPTY),\n () => EMPTY,\n );\n}\n"],"mappings":";AAEA,SAAS,WAAW,4BAA4B;AAChD,SAAS,2BAA2B;AA4BpC,MAAM,QAAQ;AACd,MAAM,MAAM,CAAC,SAAiB,qBAAqB,IAAI;AAmBvD,MAAM,QAAwB,CAAC;AAC/B,MAAM,QAAQ,oBAAI,IAA4B;AAC9C,MAAM,YAAY,oBAAI,IAAgB;AAEtC,SAAS,SAAS,MAA8B;AAC9C,MAAI,MAAM,MAAM,IAAI,IAAI;AACxB,MAAI,CAAC,KAAK;AACR,UAAM,KAAK,IAAI;AACf,UAAM,IAAI,MAAM,GAAG;AAAA,EACrB;AACA,SAAO;AACT;AAEA,SAAS,QAAQ,MAAc,MAAsB;AACnD,QAAM,IAAI,MAAM,IAAI;AACpB,YAAU,QAAQ,CAAC,MAAM,EAAE,CAAC;AAC9B;AAEA,SAAS,UAAU,UAAsB;AACvC,YAAU,IAAI,QAAQ;AACtB,SAAO,MAAM,UAAU,OAAO,QAAQ;AACxC;AAEA,SAAS,KAAK,MAA8B;AAC1C,MAAI;AACF,UAAM,MAAM,aAAa,QAAQ,IAAI,IAAI,CAAC;AAC1C,QAAI,CAAC,IAAK,QAAO,CAAC;AAClB,UAAM,SAAkB,KAAK,MAAM,GAAG;AACtC,QAAI,CAAC,MAAM,QAAQ,MAAM,EAAG,QAAO,CAAC;AACpC,WAAO,OAAO;AAAA,MACZ,CAAC,MACC,CAAC,CAAC,KACF,OAAQ,EAAmB,SAAS,YACpC,OAAQ,EAAmB,UAAU;AAAA,IACzC;AAAA,EACF,QAAQ;AAEN,WAAO,CAAC;AAAA,EACV;AACF;AAOO,SAAS,sBACd,MACA,UACA;AAGA,sBAAoB,MAAM,QAAQ;AAElC,YAAU,MAAM;AACd,QAAI,CAAC,QAAQ,CAAC,SAAU;AAGxB,QAAI,aAAa,aAAc;AAI/B,UAAM,KAAK,OAAO,WAAW,MAAM;AACjC,YAAM,SAAS,SAAS,SAAS,IAAI,MAAM,MAAG,EAAE,CAAC,EAAE,KAAK;AACxD,UAAI,CAAC,MAAO;AAEZ,YAAM,OAAO;AAAA,QACX,EAAE,MAAM,UAAU,MAAM;AAAA,QACxB,GAAG,KAAK,IAAI,EAAE,OAAO,CAAC,MAAM,EAAE,SAAS,QAAQ;AAAA,MACjD,EAAE,MAAM,GAAG,KAAK;AAEhB,UAAI;AACF,qBAAa,QAAQ,IAAI,IAAI,GAAG,KAAK,UAAU,IAAI,CAAC;AAAA,MACtD,QAAQ;AAAA,MAER;AACA,cAAQ,MAAM,IAAI;AAAA,IACpB,GAAG,GAAG;AAEN,WAAO,MAAM,OAAO,aAAa,EAAE;AAAA,EACrC,GAAG,CAAC,MAAM,QAAQ,CAAC;AACrB;AAGO,SAAS,iBAAiB,MAA0C;AACzE,SAAO;AAAA,IACL;AAAA,IACA,MAAO,OAAO,SAAS,IAAI,IAAI;AAAA,IAC/B,MAAM;AAAA,EACR;AACF;","names":[]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ActivityItem } from '@withpotter/components/dashboard/activity-feed';
|
|
2
|
+
import type { NextUpItem } from '../next-up-sources';
|
|
3
|
+
/**
|
|
4
|
+
* The Activity card, plus the dialog its blockers open.
|
|
5
|
+
*
|
|
6
|
+
* The dialog lives HERE rather than on the home page for two reasons. The page
|
|
7
|
+
* is at the 500-line limit and this is not the concern to spend the last lines
|
|
8
|
+
* on; more importantly the blocker button is the only thing that opens it, and
|
|
9
|
+
* a dialog mounted three files away from its single trigger is how a surface
|
|
10
|
+
* ends up with no importers at all — which is exactly what happened to this one
|
|
11
|
+
* on the first pass.
|
|
12
|
+
*
|
|
13
|
+
* `ActivityWidget` stays a pure renderer. It is handed a callback and knows
|
|
14
|
+
* nothing about readiness, tenants or what a shipping zone is.
|
|
15
|
+
*/
|
|
16
|
+
export declare function ActivityCard({ items, blockers, limit, }: {
|
|
17
|
+
items: ActivityItem[];
|
|
18
|
+
blockers: NextUpItem[];
|
|
19
|
+
limit: number;
|
|
20
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useState } from "react";
|
|
4
|
+
import { useAuth } from "@withpotter/lib/auth-context";
|
|
5
|
+
import { ActivityWidget } from "./activity-widget";
|
|
6
|
+
import { GoLiveChecksDialog } from "@withpotter/components/dashboard/go-live-checks-dialog";
|
|
7
|
+
import { useStorefrontReadiness } from "@withpotter/pages-core/dashboard/_hooks/use-storefront-readiness";
|
|
8
|
+
function ActivityCard({
|
|
9
|
+
items,
|
|
10
|
+
blockers,
|
|
11
|
+
limit
|
|
12
|
+
}) {
|
|
13
|
+
const { tenant } = useAuth();
|
|
14
|
+
const [open, setOpen] = useState(false);
|
|
15
|
+
const { readiness, recheck } = useStorefrontReadiness();
|
|
16
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
17
|
+
/* @__PURE__ */ jsx(
|
|
18
|
+
ActivityWidget,
|
|
19
|
+
{
|
|
20
|
+
items,
|
|
21
|
+
blockers,
|
|
22
|
+
limit,
|
|
23
|
+
onFixBlocker: () => setOpen(true)
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
/* @__PURE__ */ jsx(
|
|
27
|
+
GoLiveChecksDialog,
|
|
28
|
+
{
|
|
29
|
+
open,
|
|
30
|
+
onOpenChange: setOpen,
|
|
31
|
+
readiness,
|
|
32
|
+
tenantSlug: tenant?.slug ?? "",
|
|
33
|
+
onFixed: recheck
|
|
34
|
+
}
|
|
35
|
+
)
|
|
36
|
+
] });
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
ActivityCard
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=activity-card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/dashboard/home/widgets/activity-card.tsx"],"sourcesContent":["'use client';\n\nimport { useState } from 'react';\nimport { useAuth } from '@withpotter/lib/auth-context';\nimport { ActivityWidget } from './activity-widget';\nimport { GoLiveChecksDialog } from '@withpotter/components/dashboard/go-live-checks-dialog';\nimport { useStorefrontReadiness } from '@withpotter/pages-core/dashboard/_hooks/use-storefront-readiness';\nimport type { ActivityItem } from '@withpotter/components/dashboard/activity-feed';\nimport type { NextUpItem } from '../next-up-sources';\n\n/**\n * The Activity card, plus the dialog its blockers open.\n *\n * The dialog lives HERE rather than on the home page for two reasons. The page\n * is at the 500-line limit and this is not the concern to spend the last lines\n * on; more importantly the blocker button is the only thing that opens it, and\n * a dialog mounted three files away from its single trigger is how a surface\n * ends up with no importers at all — which is exactly what happened to this one\n * on the first pass.\n *\n * `ActivityWidget` stays a pure renderer. It is handed a callback and knows\n * nothing about readiness, tenants or what a shipping zone is.\n */\nexport function ActivityCard({\n items,\n blockers,\n limit,\n}: {\n items: ActivityItem[];\n blockers: NextUpItem[];\n limit: number;\n}) {\n const { tenant } = useAuth();\n const [open, setOpen] = useState(false);\n const { readiness, recheck } = useStorefrontReadiness();\n\n return (\n <>\n <ActivityWidget\n items={items}\n blockers={blockers}\n limit={limit}\n onFixBlocker={() => setOpen(true)}\n />\n\n {/* Kept mounted and passed `open`, so the exit animation runs instead of\n the panel being ripped out of the tree the moment it closes. */}\n <GoLiveChecksDialog\n open={open}\n onOpenChange={setOpen}\n readiness={readiness}\n tenantSlug={tenant?.slug ?? ''}\n onFixed={recheck}\n />\n </>\n );\n}\n"],"mappings":";AAqCI,mBACE,KADF;AAnCJ,SAAS,gBAAgB;AACzB,SAAS,eAAe;AACxB,SAAS,sBAAsB;AAC/B,SAAS,0BAA0B;AACnC,SAAS,8BAA8B;AAiBhC,SAAS,aAAa;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AACF,GAIG;AACD,QAAM,EAAE,OAAO,IAAI,QAAQ;AAC3B,QAAM,CAAC,MAAM,OAAO,IAAI,SAAS,KAAK;AACtC,QAAM,EAAE,WAAW,QAAQ,IAAI,uBAAuB;AAEtD,SACE,iCACE;AAAA;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA;AAAA,QACA;AAAA,QACA,cAAc,MAAM,QAAQ,IAAI;AAAA;AAAA,IAClC;AAAA,IAIA;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,cAAc;AAAA,QACd;AAAA,QACA,YAAY,QAAQ,QAAQ;AAAA,QAC5B,SAAS;AAAA;AAAA,IACX;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ActivityItem } from '@withpotter/components/dashboard/activity-feed';
|
|
2
|
+
import type { NextUpItem } from '../next-up-sources';
|
|
3
|
+
export declare function ActivityWidget({ items, blockers, limit, onFixBlocker, }: {
|
|
4
|
+
items: ActivityItem[];
|
|
5
|
+
/** Things stopping money. Pinned above the timeline; never sorted into it. */
|
|
6
|
+
blockers?: NextUpItem[];
|
|
7
|
+
/** Narrow cards hold fewer rows than wide ones. */
|
|
8
|
+
limit: number;
|
|
9
|
+
/**
|
|
10
|
+
* Opens the go-live checks. Undefined on a surface that cannot host the
|
|
11
|
+
* dialog, in which case every blocker falls back to its own href — which is
|
|
12
|
+
* a real settings screen, not a dead end.
|
|
13
|
+
*/
|
|
14
|
+
onFixBlocker?: () => void;
|
|
15
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import Link from "next/link";
|
|
4
|
+
import {
|
|
5
|
+
Package,
|
|
6
|
+
PencilLine,
|
|
7
|
+
ShoppingBag,
|
|
8
|
+
CircleCheck,
|
|
9
|
+
UserPlus,
|
|
10
|
+
UserCheck,
|
|
11
|
+
RefreshCw,
|
|
12
|
+
Receipt,
|
|
13
|
+
Send
|
|
14
|
+
} from "lucide-react";
|
|
15
|
+
import { Button } from "@withpotter/ui-kit";
|
|
16
|
+
import { Panel, PanelEmpty } from "../panel";
|
|
17
|
+
import { Badge } from "@withpotter/ui-kit";
|
|
18
|
+
const MARK = {
|
|
19
|
+
product_added: { icon: Package },
|
|
20
|
+
product_updated: { icon: PencilLine },
|
|
21
|
+
order_placed: { icon: ShoppingBag },
|
|
22
|
+
order_completed: { icon: CircleCheck, money: true },
|
|
23
|
+
member_signup: { icon: UserPlus },
|
|
24
|
+
member_converted: { icon: UserCheck },
|
|
25
|
+
subscription_created: { icon: RefreshCw, money: true },
|
|
26
|
+
invoice_paid: { icon: Receipt, money: true },
|
|
27
|
+
invoice_sent: { icon: Send }
|
|
28
|
+
};
|
|
29
|
+
function dayLabel(iso) {
|
|
30
|
+
const d = new Date(iso);
|
|
31
|
+
const today = /* @__PURE__ */ new Date();
|
|
32
|
+
const startOf = (x) => new Date(x.getFullYear(), x.getMonth(), x.getDate()).getTime();
|
|
33
|
+
const days = Math.round((startOf(today) - startOf(d)) / 864e5);
|
|
34
|
+
if (days <= 0) return "Today";
|
|
35
|
+
if (days === 1) return "Yesterday";
|
|
36
|
+
if (days < 7) return d.toLocaleDateString(void 0, { weekday: "long" });
|
|
37
|
+
return d.toLocaleDateString(void 0, { month: "short", day: "numeric" });
|
|
38
|
+
}
|
|
39
|
+
function timeLabel(iso) {
|
|
40
|
+
return new Date(iso).toLocaleTimeString(void 0, {
|
|
41
|
+
hour: "numeric",
|
|
42
|
+
minute: "2-digit"
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function overdueLabel(item) {
|
|
46
|
+
if (!item.overdue || !item.at) return null;
|
|
47
|
+
const days = Math.floor(
|
|
48
|
+
(Date.now() - new Date(item.at).getTime()) / 864e5
|
|
49
|
+
);
|
|
50
|
+
if (days < 1) return "due today";
|
|
51
|
+
return `${days}d overdue`;
|
|
52
|
+
}
|
|
53
|
+
const FIXABLE_IN_PLACE = /* @__PURE__ */ new Set(["alert-delivery", "alert-payouts"]);
|
|
54
|
+
function ActivityWidget({
|
|
55
|
+
items,
|
|
56
|
+
blockers = [],
|
|
57
|
+
limit,
|
|
58
|
+
onFixBlocker
|
|
59
|
+
}) {
|
|
60
|
+
const blocked = blockers.slice(0, 2);
|
|
61
|
+
const shown = items.slice(0, Math.max(1, limit - blocked.length));
|
|
62
|
+
const blockedBlock = blocked.length > 0 && /* @__PURE__ */ jsx("ul", { className: "mb-3 space-y-2 border-b border-[var(--border-subtle)] pb-3", children: blocked.map((b, i) => /* @__PURE__ */ jsxs("li", { className: "flex items-start justify-between gap-3", children: [
|
|
63
|
+
/* @__PURE__ */ jsxs("span", { className: "min-w-0", children: [
|
|
64
|
+
/* @__PURE__ */ jsxs("span", { className: "flex items-center gap-2", children: [
|
|
65
|
+
/* @__PURE__ */ jsx("span", { className: "min-w-0 truncate text-sm font-medium text-[var(--text-primary)]", children: b.title }),
|
|
66
|
+
b.required && /* @__PURE__ */ jsx(Badge, { variant: "error", className: "shrink-0", children: "Required" }),
|
|
67
|
+
overdueLabel(b) && /* @__PURE__ */ jsx("span", { className: "shrink-0 text-2xs font-medium tabular-nums text-[var(--error)]", children: overdueLabel(b) })
|
|
68
|
+
] }),
|
|
69
|
+
b.meta && /* @__PURE__ */ jsx("span", { className: "block truncate text-sm text-[var(--text-tertiary)]", children: b.meta })
|
|
70
|
+
] }),
|
|
71
|
+
onFixBlocker && FIXABLE_IN_PLACE.has(b.id) ? /* @__PURE__ */ jsx(
|
|
72
|
+
Button,
|
|
73
|
+
{
|
|
74
|
+
size: "sm",
|
|
75
|
+
variant: i === 0 ? "primary" : "secondary",
|
|
76
|
+
className: "shrink-0",
|
|
77
|
+
onClick: onFixBlocker,
|
|
78
|
+
children: b.action ?? "Fix"
|
|
79
|
+
}
|
|
80
|
+
) : /* @__PURE__ */ jsx(
|
|
81
|
+
Button,
|
|
82
|
+
{
|
|
83
|
+
asChild: true,
|
|
84
|
+
size: "sm",
|
|
85
|
+
variant: i === 0 ? "primary" : "secondary",
|
|
86
|
+
className: "shrink-0",
|
|
87
|
+
children: /* @__PURE__ */ jsx(Link, { href: b.href, children: b.action ?? "Fix" })
|
|
88
|
+
}
|
|
89
|
+
)
|
|
90
|
+
] }, b.id)) });
|
|
91
|
+
if (shown.length === 0 || items.length === 0) {
|
|
92
|
+
return /* @__PURE__ */ jsxs(Panel, { title: "Recent activity", children: [
|
|
93
|
+
blockedBlock,
|
|
94
|
+
/* @__PURE__ */ jsx(
|
|
95
|
+
PanelEmpty,
|
|
96
|
+
{
|
|
97
|
+
title: "Nothing has happened yet",
|
|
98
|
+
description: "Orders, payments and new customers will appear here as they come in."
|
|
99
|
+
}
|
|
100
|
+
)
|
|
101
|
+
] });
|
|
102
|
+
}
|
|
103
|
+
const rows = shown.map((item, i) => {
|
|
104
|
+
const day = dayLabel(item.timestamp);
|
|
105
|
+
return {
|
|
106
|
+
item,
|
|
107
|
+
day,
|
|
108
|
+
showDay: i === 0 || day !== dayLabel(shown[i - 1].timestamp),
|
|
109
|
+
last: i === shown.length - 1
|
|
110
|
+
};
|
|
111
|
+
});
|
|
112
|
+
return /* @__PURE__ */ jsxs(
|
|
113
|
+
Panel,
|
|
114
|
+
{
|
|
115
|
+
title: "Recent activity",
|
|
116
|
+
bodyClassName: "overflow-y-auto pt-1 pb-5 [-webkit-mask-image:linear-gradient(to_bottom,#000_calc(100%_-_20px),transparent)] [mask-image:linear-gradient(to_bottom,#000_calc(100%_-_20px),transparent)]",
|
|
117
|
+
children: [
|
|
118
|
+
blockedBlock,
|
|
119
|
+
/* @__PURE__ */ jsx("ol", { className: "relative", children: rows.map(({ item: a, day, showDay: newDay, last }) => {
|
|
120
|
+
const { icon: Icon, money } = MARK[a.type] ?? MARK.order_placed;
|
|
121
|
+
const row = /* @__PURE__ */ jsxs("div", { className: "flex gap-3", children: [
|
|
122
|
+
/* @__PURE__ */ jsxs("div", { className: "relative flex w-5 shrink-0 justify-center", children: [
|
|
123
|
+
!last && /* @__PURE__ */ jsx(
|
|
124
|
+
"span",
|
|
125
|
+
{
|
|
126
|
+
"aria-hidden": true,
|
|
127
|
+
className: "absolute left-1/2 top-5 h-[calc(100%-8px)] w-px -translate-x-1/2 bg-[var(--border-subtle)]"
|
|
128
|
+
}
|
|
129
|
+
),
|
|
130
|
+
/* @__PURE__ */ jsx(
|
|
131
|
+
"span",
|
|
132
|
+
{
|
|
133
|
+
"aria-hidden": true,
|
|
134
|
+
className: `relative z-10 mt-1 grid h-5 w-5 place-items-center rounded-full ${money ? "bg-[var(--success-bg,var(--bg-muted))] text-[var(--success)]" : "bg-[var(--bg-muted)] text-[var(--text-tertiary)]"}`,
|
|
135
|
+
children: /* @__PURE__ */ jsx(Icon, { className: "h-[11px] w-[11px]", strokeWidth: 2 })
|
|
136
|
+
}
|
|
137
|
+
)
|
|
138
|
+
] }),
|
|
139
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1 pb-3", children: [
|
|
140
|
+
/* @__PURE__ */ jsxs("p", { className: "flex items-baseline justify-between gap-2", children: [
|
|
141
|
+
/* @__PURE__ */ jsx(
|
|
142
|
+
"span",
|
|
143
|
+
{
|
|
144
|
+
className: `min-w-0 truncate text-sm ${a.unpaid ? "text-[var(--text-tertiary)]" : "font-medium text-[var(--text-primary)]"}`,
|
|
145
|
+
children: a.title
|
|
146
|
+
}
|
|
147
|
+
),
|
|
148
|
+
/* @__PURE__ */ jsx("span", { className: "shrink-0 text-2xs tabular-nums text-[var(--text-muted)]", children: timeLabel(a.timestamp) })
|
|
149
|
+
] }),
|
|
150
|
+
/* @__PURE__ */ jsx("p", { className: "truncate text-sm text-[var(--text-tertiary)]", children: a.description })
|
|
151
|
+
] })
|
|
152
|
+
] });
|
|
153
|
+
return /* @__PURE__ */ jsxs("li", { children: [
|
|
154
|
+
newDay && /* @__PURE__ */ jsx("p", { className: "pb-2 pt-1 text-2xs font-medium uppercase tracking-wide text-[var(--text-muted)] first:pt-0", children: day }),
|
|
155
|
+
a.href ? /* @__PURE__ */ jsx(
|
|
156
|
+
Link,
|
|
157
|
+
{
|
|
158
|
+
href: a.href,
|
|
159
|
+
className: "-mx-2 block rounded-lg px-2 transition-colors hover:bg-[var(--interactive-hover)]",
|
|
160
|
+
children: row
|
|
161
|
+
}
|
|
162
|
+
) : /* @__PURE__ */ jsx("div", { className: "-mx-2 px-2", children: row })
|
|
163
|
+
] }, a.id);
|
|
164
|
+
}) })
|
|
165
|
+
]
|
|
166
|
+
}
|
|
167
|
+
);
|
|
168
|
+
}
|
|
169
|
+
export {
|
|
170
|
+
ActivityWidget
|
|
171
|
+
};
|
|
172
|
+
//# sourceMappingURL=activity-widget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/dashboard/home/widgets/activity-widget.tsx"],"sourcesContent":["'use client';\n\nimport Link from 'next/link';\nimport {\n Package,\n PencilLine,\n ShoppingBag,\n CircleCheck,\n UserPlus,\n UserCheck,\n RefreshCw,\n Receipt,\n Send,\n type LucideIcon,\n} from 'lucide-react';\nimport type { ActivityItem } from '@withpotter/components/dashboard/activity-feed';\nimport type { NextUpItem } from '../next-up-sources';\nimport { Button } from '@withpotter/ui-kit';\nimport { Panel, PanelEmpty } from '../panel';\nimport { Badge } from '@withpotter/ui-kit';\n\n/**\n * What has happened, as a timeline.\n *\n * WHY IT EXISTS ALONGSIDE \"Today\". Those two cards answer different questions\n * and the home needs both: Today is what is WAITING on you, Activity is what\n * already went. Merging them was tried and is the mistake this replaces — a\n * single list with now as the pivot puts \"Tuesday 22:00, Tunde Ogunleye\" and\n * \"invoice paid 20 minutes ago\" in one column under one heading, so the reader\n * has to check each row's tense before they know whether it is a task.\n *\n * WHAT MAKES IT A TIMELINE RATHER THAN A LIST, and this is the depth the old\n * feed never had:\n *\n * A RAIL. A hairline runs behind the icon column and stops at the last node,\n * so the rows read as one sequence rather than as five unrelated rows that\n * happen to be stacked. It is the cheapest possible signal that these are\n * ordered in time and it is the one every activity feed worth copying has.\n *\n * TYPED, COLOURED NODES. `ActivityItem.type` already carries nine kinds and\n * nothing rendered them — the desktop feed dropped the emoji and drew\n * nothing in its place. Money is green, because money arriving is the one\n * event on this list a merchant scans for; everything else is neutral, so the\n * green means something. Colour that appears on every row means nothing.\n *\n * DAY HEADINGS. Cloudflare's Recents and Square's Tasks both fail here —\n * \"3d ago\" on row four with no break above it makes a five-row list look\n * like five things that happened this morning. A heading per day is what\n * turns a stack of timestamps into a history.\n *\n * The rows are links where the object still exists and plain rows where it does\n * not, rather than every row being a link to somewhere approximate.\n *\n * BLOCKERS RIDE ON TOP, and they have to, because this card replaced Today on\n * the default board and Today was carrying them. Losing them would have made\n * the home stop answering the second half of its own question — \"what do I do\n * next, AND is anything wrong?\" — which is the half a merchant cannot find\n * anywhere else.\n *\n * They are Square's ranked task rows: a title, one line of CONSEQUENCE, and a\n * real button with a verb on it. `NextUpItem` already carries all three\n * (`title`, `meta`, `action`), and the treatment is deliberately unlike the\n * timeline below — a blocker is not something that happened, it is something\n * that is still happening to you. Only the first gets a primary button, as on\n * Square: two primaries side by side is two things that are both the most\n * important thing.\n */\n\n/**\n * Nine kinds, nine marks. `emoji` is on the type and is deliberately not used:\n * it exists for the mobile feed, and an emoji at 13px in a dense column reads\n * as a smudge rather than as a symbol.\n */\nconst MARK: Record<\n ActivityItem['type'],\n { icon: LucideIcon; money?: boolean }\n> = {\n product_added: { icon: Package },\n product_updated: { icon: PencilLine },\n order_placed: { icon: ShoppingBag },\n order_completed: { icon: CircleCheck, money: true },\n member_signup: { icon: UserPlus },\n member_converted: { icon: UserCheck },\n subscription_created: { icon: RefreshCw, money: true },\n invoice_paid: { icon: Receipt, money: true },\n invoice_sent: { icon: Send },\n};\n\n/**\n * Which day a timestamp belongs to, in the reader's own words.\n *\n * Deliberately only three answers. \"Wednesday\" for something eight days old is\n * a puzzle, not a heading — past a week the date is the only honest label.\n */\nfunction dayLabel(iso: string): string {\n const d = new Date(iso);\n const today = new Date();\n const startOf = (x: Date) =>\n new Date(x.getFullYear(), x.getMonth(), x.getDate()).getTime();\n const days = Math.round((startOf(today) - startOf(d)) / 86_400_000);\n if (days <= 0) return 'Today';\n if (days === 1) return 'Yesterday';\n if (days < 7) return d.toLocaleDateString(undefined, { weekday: 'long' });\n return d.toLocaleDateString(undefined, { month: 'short', day: 'numeric' });\n}\n\nfunction timeLabel(iso: string): string {\n return new Date(iso).toLocaleTimeString(undefined, {\n hour: 'numeric',\n minute: '2-digit',\n });\n}\n\n/**\n * How overdue something is, in whole days, or null when it has no clock.\n *\n * Only for items carrying a real `at`. A blocker like \"set up payouts\" has no\n * due date and never gets a countdown — Square can say \"2 days until offline\n * payments are automatically allowed\" because a real policy deadline exists\n * behind it, and manufacturing an equivalent here would be inventing urgency.\n */\nfunction overdueLabel(item: NextUpItem): string | null {\n if (!item.overdue || !item.at) return null;\n const days = Math.floor(\n (Date.now() - new Date(item.at).getTime()) / 86_400_000,\n );\n if (days < 1) return 'due today';\n return `${days}d overdue`;\n}\n\n/**\n * The blockers the go-live dialog can actually resolve.\n *\n * Both are \"your store cannot sell\", and both are fixable in two or three\n * fields without leaving the page — so they open the dialog rather than\n * navigating to a settings screen. Anything else keeps its link.\n */\nconst FIXABLE_IN_PLACE = new Set(['alert-delivery', 'alert-payouts']);\n\nexport function ActivityWidget({\n items,\n blockers = [],\n limit,\n onFixBlocker,\n}: {\n items: ActivityItem[];\n /** Things stopping money. Pinned above the timeline; never sorted into it. */\n blockers?: NextUpItem[];\n /** Narrow cards hold fewer rows than wide ones. */\n limit: number;\n /**\n * Opens the go-live checks. Undefined on a surface that cannot host the\n * dialog, in which case every blocker falls back to its own href — which is\n * a real settings screen, not a dead end.\n */\n onFixBlocker?: () => void;\n}) {\n // Two at most. A card that opens with four chores is a to-do list wearing a\n // history's title, and the rest are still on the screens that own them.\n const blocked = blockers.slice(0, 2);\n // Blockers eat rows: the card is a fixed height and cannot grow to fit both.\n const shown = items.slice(0, Math.max(1, limit - blocked.length));\n\n const blockedBlock = blocked.length > 0 && (\n <ul className=\"mb-3 space-y-2 border-b border-[var(--border-subtle)] pb-3\">\n {blocked.map((b, i) => (\n <li key={b.id} className=\"flex items-start justify-between gap-3\">\n <span className=\"min-w-0\">\n <span className=\"flex items-center gap-2\">\n <span className=\"min-w-0 truncate text-sm font-medium text-[var(--text-primary)]\">\n {b.title}\n </span>\n {/* SQUARE'S `Required` PILL, and the flag was already on the data.\n `NextUpItem.required` has been set on the payouts blocker all\n along and nothing has ever rendered it, so the one task that\n genuinely stops money read exactly like the one that does not.\n A blocker list where every row looks equally urgent is a list\n with no ranking, whatever order it is sorted in. */}\n {b.required && (\n <Badge variant=\"error\" className=\"shrink-0\">\n Required\n </Badge>\n )}\n {/* HOW LONG, where the clock is real. Square's tasks carry a\n deadline — \"2 days until offline payments are automatically\n allowed\" — and ours carried none. The honest half of that is\n elapsed time on items that HAVE a date: an invoice knows when\n it was due. Blockers have no date and are given no countdown,\n because inventing one would be the fabrication this avoids. */}\n {overdueLabel(b) && (\n <span className=\"shrink-0 text-2xs font-medium tabular-nums text-[var(--error)]\">\n {overdueLabel(b)}\n </span>\n )}\n </span>\n {b.meta && (\n <span className=\"block truncate text-sm text-[var(--text-tertiary)]\">\n {b.meta}\n </span>\n )}\n </span>\n {onFixBlocker && FIXABLE_IN_PLACE.has(b.id) ? (\n <Button\n size=\"sm\"\n variant={i === 0 ? 'primary' : 'secondary'}\n className=\"shrink-0\"\n onClick={onFixBlocker}\n >\n {b.action ?? 'Fix'}\n </Button>\n ) : (\n <Button\n asChild\n size=\"sm\"\n variant={i === 0 ? 'primary' : 'secondary'}\n className=\"shrink-0\"\n >\n <Link href={b.href}>{b.action ?? 'Fix'}</Link>\n </Button>\n )}\n </li>\n ))}\n </ul>\n );\n\n if (shown.length === 0 || items.length === 0) {\n return (\n <Panel title=\"Recent activity\">\n {blockedBlock}\n <PanelEmpty\n title=\"Nothing has happened yet\"\n description=\"Orders, payments and new customers will appear here as they come in.\"\n />\n </Panel>\n );\n }\n\n /**\n * Day headings resolved BEFORE the JSX, by comparing each row to the one\n * above it, rather than by carrying a `lastDay` variable through the map.\n * A mutable binding written inside a render callback is exactly what the\n * immutability rule exists to catch: it survives across renders and makes\n * the output depend on how many times the list has been walked.\n */\n const rows = shown.map((item, i) => {\n const day = dayLabel(item.timestamp);\n return {\n item,\n day,\n showDay: i === 0 || day !== dayLabel(shown[i - 1].timestamp),\n last: i === shown.length - 1,\n };\n });\n\n return (\n <Panel\n title=\"Recent activity\"\n /* The card scrolls. A row cut off at its edge looked like a mistake, so the last 20px fades\n out and the card has that much empty padding: with every row in view the fade falls on\n nothing, and with more below, the half row dissolves instead of ending mid-sentence. */\n bodyClassName=\"overflow-y-auto pt-1 pb-5 [-webkit-mask-image:linear-gradient(to_bottom,#000_calc(100%_-_20px),transparent)] [mask-image:linear-gradient(to_bottom,#000_calc(100%_-_20px),transparent)]\"\n >\n {blockedBlock}\n <ol className=\"relative\">\n {rows.map(({ item: a, day, showDay: newDay, last }) => {\n const { icon: Icon, money } = MARK[a.type] ?? MARK.order_placed;\n\n const row = (\n <div className=\"flex gap-3\">\n {/* The rail and the node. The line is drawn by the node's own\n ::before via a sibling span rather than as a border on the\n row, so it can stop at the last item instead of running into\n the card's bottom padding and looking cut off. */}\n <div className=\"relative flex w-5 shrink-0 justify-center\">\n {!last && (\n <span\n aria-hidden\n className=\"absolute left-1/2 top-5 h-[calc(100%-8px)] w-px -translate-x-1/2 bg-[var(--border-subtle)]\"\n />\n )}\n <span\n aria-hidden\n className={`relative z-10 mt-1 grid h-5 w-5 place-items-center rounded-full ${\n money\n ? 'bg-[var(--success-bg,var(--bg-muted))] text-[var(--success)]'\n : 'bg-[var(--bg-muted)] text-[var(--text-tertiary)]'\n }`}\n >\n <Icon className=\"h-[11px] w-[11px]\" strokeWidth={2} />\n </span>\n </div>\n\n <div className=\"min-w-0 flex-1 pb-3\">\n <p className=\"flex items-baseline justify-between gap-2\">\n <span\n className={`min-w-0 truncate text-sm ${\n a.unpaid\n ? 'text-[var(--text-tertiary)]'\n : 'font-medium text-[var(--text-primary)]'\n }`}\n >\n {a.title}\n </span>\n <span className=\"shrink-0 text-2xs tabular-nums text-[var(--text-muted)]\">\n {timeLabel(a.timestamp)}\n </span>\n </p>\n <p className=\"truncate text-sm text-[var(--text-tertiary)]\">\n {a.description}\n </p>\n </div>\n </div>\n );\n\n return (\n <li key={a.id}>\n {newDay && (\n <p className=\"pb-2 pt-1 text-2xs font-medium uppercase tracking-wide text-[var(--text-muted)] first:pt-0\">\n {day}\n </p>\n )}\n {a.href ? (\n <Link\n href={a.href}\n className=\"-mx-2 block rounded-lg px-2 transition-colors hover:bg-[var(--interactive-hover)]\"\n >\n {row}\n </Link>\n ) : (\n <div className=\"-mx-2 px-2\">{row}</div>\n )}\n </li>\n );\n })}\n </ol>\n </Panel>\n );\n}\n"],"mappings":";AAwKY,SACE,KADF;AAtKZ,OAAO,UAAU;AACjB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAGP,SAAS,cAAc;AACvB,SAAS,OAAO,kBAAkB;AAClC,SAAS,aAAa;AAsDtB,MAAM,OAGF;AAAA,EACF,eAAe,EAAE,MAAM,QAAQ;AAAA,EAC/B,iBAAiB,EAAE,MAAM,WAAW;AAAA,EACpC,cAAc,EAAE,MAAM,YAAY;AAAA,EAClC,iBAAiB,EAAE,MAAM,aAAa,OAAO,KAAK;AAAA,EAClD,eAAe,EAAE,MAAM,SAAS;AAAA,EAChC,kBAAkB,EAAE,MAAM,UAAU;AAAA,EACpC,sBAAsB,EAAE,MAAM,WAAW,OAAO,KAAK;AAAA,EACrD,cAAc,EAAE,MAAM,SAAS,OAAO,KAAK;AAAA,EAC3C,cAAc,EAAE,MAAM,KAAK;AAC7B;AAQA,SAAS,SAAS,KAAqB;AACrC,QAAM,IAAI,IAAI,KAAK,GAAG;AACtB,QAAM,QAAQ,oBAAI,KAAK;AACvB,QAAM,UAAU,CAAC,MACf,IAAI,KAAK,EAAE,YAAY,GAAG,EAAE,SAAS,GAAG,EAAE,QAAQ,CAAC,EAAE,QAAQ;AAC/D,QAAM,OAAO,KAAK,OAAO,QAAQ,KAAK,IAAI,QAAQ,CAAC,KAAK,KAAU;AAClE,MAAI,QAAQ,EAAG,QAAO;AACtB,MAAI,SAAS,EAAG,QAAO;AACvB,MAAI,OAAO,EAAG,QAAO,EAAE,mBAAmB,QAAW,EAAE,SAAS,OAAO,CAAC;AACxE,SAAO,EAAE,mBAAmB,QAAW,EAAE,OAAO,SAAS,KAAK,UAAU,CAAC;AAC3E;AAEA,SAAS,UAAU,KAAqB;AACtC,SAAO,IAAI,KAAK,GAAG,EAAE,mBAAmB,QAAW;AAAA,IACjD,MAAM;AAAA,IACN,QAAQ;AAAA,EACV,CAAC;AACH;AAUA,SAAS,aAAa,MAAiC;AACrD,MAAI,CAAC,KAAK,WAAW,CAAC,KAAK,GAAI,QAAO;AACtC,QAAM,OAAO,KAAK;AAAA,KACf,KAAK,IAAI,IAAI,IAAI,KAAK,KAAK,EAAE,EAAE,QAAQ,KAAK;AAAA,EAC/C;AACA,MAAI,OAAO,EAAG,QAAO;AACrB,SAAO,GAAG,IAAI;AAChB;AASA,MAAM,mBAAmB,oBAAI,IAAI,CAAC,kBAAkB,eAAe,CAAC;AAE7D,SAAS,eAAe;AAAA,EAC7B;AAAA,EACA,WAAW,CAAC;AAAA,EACZ;AAAA,EACA;AACF,GAYG;AAGD,QAAM,UAAU,SAAS,MAAM,GAAG,CAAC;AAEnC,QAAM,QAAQ,MAAM,MAAM,GAAG,KAAK,IAAI,GAAG,QAAQ,QAAQ,MAAM,CAAC;AAEhE,QAAM,eAAe,QAAQ,SAAS,KACpC,oBAAC,QAAG,WAAU,8DACX,kBAAQ,IAAI,CAAC,GAAG,MACf,qBAAC,QAAc,WAAU,0CACvB;AAAA,yBAAC,UAAK,WAAU,WACd;AAAA,2BAAC,UAAK,WAAU,2BACd;AAAA,4BAAC,UAAK,WAAU,mEACb,YAAE,OACL;AAAA,QAOC,EAAE,YACD,oBAAC,SAAM,SAAQ,SAAQ,WAAU,YAAW,sBAE5C;AAAA,QAQD,aAAa,CAAC,KACb,oBAAC,UAAK,WAAU,kEACb,uBAAa,CAAC,GACjB;AAAA,SAEJ;AAAA,MACC,EAAE,QACD,oBAAC,UAAK,WAAU,sDACb,YAAE,MACL;AAAA,OAEJ;AAAA,IACC,gBAAgB,iBAAiB,IAAI,EAAE,EAAE,IACxC;AAAA,MAAC;AAAA;AAAA,QACC,MAAK;AAAA,QACL,SAAS,MAAM,IAAI,YAAY;AAAA,QAC/B,WAAU;AAAA,QACV,SAAS;AAAA,QAER,YAAE,UAAU;AAAA;AAAA,IACf,IAEA;AAAA,MAAC;AAAA;AAAA,QACC,SAAO;AAAA,QACP,MAAK;AAAA,QACL,SAAS,MAAM,IAAI,YAAY;AAAA,QAC/B,WAAU;AAAA,QAEV,8BAAC,QAAK,MAAM,EAAE,MAAO,YAAE,UAAU,OAAM;AAAA;AAAA,IACzC;AAAA,OApDK,EAAE,EAsDX,CACD,GACH;AAGF,MAAI,MAAM,WAAW,KAAK,MAAM,WAAW,GAAG;AAC5C,WACE,qBAAC,SAAM,OAAM,mBACV;AAAA;AAAA,MACD;AAAA,QAAC;AAAA;AAAA,UACC,OAAM;AAAA,UACN,aAAY;AAAA;AAAA,MACd;AAAA,OACF;AAAA,EAEJ;AASA,QAAM,OAAO,MAAM,IAAI,CAAC,MAAM,MAAM;AAClC,UAAM,MAAM,SAAS,KAAK,SAAS;AACnC,WAAO;AAAA,MACL;AAAA,MACA;AAAA,MACA,SAAS,MAAM,KAAK,QAAQ,SAAS,MAAM,IAAI,CAAC,EAAE,SAAS;AAAA,MAC3D,MAAM,MAAM,MAAM,SAAS;AAAA,IAC7B;AAAA,EACF,CAAC;AAED,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAM;AAAA,MAIN,eAAc;AAAA,MAEb;AAAA;AAAA,QACD,oBAAC,QAAG,WAAU,YACX,eAAK,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,SAAS,QAAQ,KAAK,MAAM;AACrD,gBAAM,EAAE,MAAM,MAAM,MAAM,IAAI,KAAK,EAAE,IAAI,KAAK,KAAK;AAEnD,gBAAM,MACJ,qBAAC,SAAI,WAAU,cAKb;AAAA,iCAAC,SAAI,WAAU,6CACZ;AAAA,eAAC,QACA;AAAA,gBAAC;AAAA;AAAA,kBACC,eAAW;AAAA,kBACX,WAAU;AAAA;AAAA,cACZ;AAAA,cAEF;AAAA,gBAAC;AAAA;AAAA,kBACC,eAAW;AAAA,kBACX,WAAW,mEACT,QACI,iEACA,kDACN;AAAA,kBAEA,8BAAC,QAAK,WAAU,qBAAoB,aAAa,GAAG;AAAA;AAAA,cACtD;AAAA,eACF;AAAA,YAEA,qBAAC,SAAI,WAAU,uBACb;AAAA,mCAAC,OAAE,WAAU,6CACX;AAAA;AAAA,kBAAC;AAAA;AAAA,oBACC,WAAW,4BACT,EAAE,SACE,gCACA,wCACN;AAAA,oBAEC,YAAE;AAAA;AAAA,gBACL;AAAA,gBACA,oBAAC,UAAK,WAAU,2DACb,oBAAU,EAAE,SAAS,GACxB;AAAA,iBACF;AAAA,cACA,oBAAC,OAAE,WAAU,gDACV,YAAE,aACL;AAAA,eACF;AAAA,aACF;AAGF,iBACE,qBAAC,QACE;AAAA,sBACC,oBAAC,OAAE,WAAU,8FACV,eACH;AAAA,YAED,EAAE,OACD;AAAA,cAAC;AAAA;AAAA,gBACC,MAAM,EAAE;AAAA,gBACR,WAAU;AAAA,gBAET;AAAA;AAAA,YACH,IAEA,oBAAC,SAAI,WAAU,cAAc,eAAI;AAAA,eAd5B,EAAE,EAgBX;AAAA,QAEJ,CAAC,GACH;AAAA;AAAA;AAAA,EACF;AAEJ;","names":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What Box costs this period, and when it lands.
|
|
3
|
+
*
|
|
4
|
+
* THE ONE BILL ON THIS PAGE THE MERCHANT PAYS. Every other money card here is
|
|
5
|
+
* money coming IN — revenue is what arrived, "Money owed" is what has not
|
|
6
|
+
* arrived yet. This is the other direction, and it was reachable only by
|
|
7
|
+
* opening Settings, then Billing, which is three clicks from a screen whose
|
|
8
|
+
* whole job is "is anything wrong".
|
|
9
|
+
*
|
|
10
|
+
* It passes the analytics rule — a number ships only if it can change what
|
|
11
|
+
* someone does — on the DATE rather than on the figure. "You will be charged
|
|
12
|
+
* ₦16,000" is history you cannot act on; "in 2 days" is a deadline, and the
|
|
13
|
+
* two states that need a human are both here: a plan that is ending, and no
|
|
14
|
+
* plan at all.
|
|
15
|
+
*
|
|
16
|
+
* TWO REQUESTS, NOT THREE. Whether a card is saved is the other thing worth
|
|
17
|
+
* shouting about, and it costs a third call on a page this codebase has
|
|
18
|
+
* already measured into a rate limiter. The subscription's own status says
|
|
19
|
+
* enough — a bill that cannot be charged does not stay `active` for long — and
|
|
20
|
+
* the card is one click away on the screen this points at.
|
|
21
|
+
*
|
|
22
|
+
* The query keys are Billing's own, so opening the home warms that page and
|
|
23
|
+
* arriving there from here shows the same figures without a second fetch.
|
|
24
|
+
*/
|
|
25
|
+
export declare function BillWidget(): import("react").JSX.Element;
|