@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,247 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import {
|
|
4
|
+
createContext,
|
|
5
|
+
useCallback,
|
|
6
|
+
useContext,
|
|
7
|
+
useEffect,
|
|
8
|
+
useMemo,
|
|
9
|
+
useRef,
|
|
10
|
+
useState
|
|
11
|
+
} from "react";
|
|
12
|
+
import { useAuth } from "@withpotter/lib/auth-context";
|
|
13
|
+
import posthog from "posthog-js";
|
|
14
|
+
import {
|
|
15
|
+
feedbackApi
|
|
16
|
+
} from "@withpotter/lib/api";
|
|
17
|
+
const FeedbackPromptContext = createContext(
|
|
18
|
+
null
|
|
19
|
+
);
|
|
20
|
+
function FeedbackPromptProvider({
|
|
21
|
+
children
|
|
22
|
+
}) {
|
|
23
|
+
const { user, loading, tenant } = useAuth();
|
|
24
|
+
const [records, setRecords] = useState({});
|
|
25
|
+
const [ready, setReady] = useState(false);
|
|
26
|
+
const liveKeyRef = useRef(null);
|
|
27
|
+
const livePriorityRef = useRef(0);
|
|
28
|
+
const [liveKey, setLiveKey] = useState(null);
|
|
29
|
+
const [adoption, setAdoption] = useState(null);
|
|
30
|
+
const seenSent = useRef(/* @__PURE__ */ new Set());
|
|
31
|
+
useEffect(() => {
|
|
32
|
+
if (loading || !user) return;
|
|
33
|
+
let cancelled = false;
|
|
34
|
+
void (async () => {
|
|
35
|
+
try {
|
|
36
|
+
const states = await feedbackApi.listPrompts();
|
|
37
|
+
if (cancelled) return;
|
|
38
|
+
const list = Array.isArray(states) ? states : [];
|
|
39
|
+
const next = {};
|
|
40
|
+
for (const state of list) {
|
|
41
|
+
next[state.promptKey] = {
|
|
42
|
+
eligible: state.eligible,
|
|
43
|
+
seenCount: state.seenCount
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
setRecords(next);
|
|
47
|
+
} catch {
|
|
48
|
+
} finally {
|
|
49
|
+
if (!cancelled) setReady(true);
|
|
50
|
+
}
|
|
51
|
+
})();
|
|
52
|
+
return () => {
|
|
53
|
+
cancelled = true;
|
|
54
|
+
};
|
|
55
|
+
}, [loading, user]);
|
|
56
|
+
const isEligible = useCallback(
|
|
57
|
+
(promptKey) => {
|
|
58
|
+
const record = records[promptKey];
|
|
59
|
+
return record ? record.eligible : true;
|
|
60
|
+
},
|
|
61
|
+
[records]
|
|
62
|
+
);
|
|
63
|
+
const seenCount = useCallback(
|
|
64
|
+
(promptKey) => records[promptKey]?.seenCount ?? 0,
|
|
65
|
+
[records]
|
|
66
|
+
);
|
|
67
|
+
const claim = useCallback((promptKey, priority = 0) => {
|
|
68
|
+
if (liveKeyRef.current !== null && liveKeyRef.current !== promptKey && priority <= livePriorityRef.current)
|
|
69
|
+
return false;
|
|
70
|
+
liveKeyRef.current = promptKey;
|
|
71
|
+
livePriorityRef.current = priority;
|
|
72
|
+
setLiveKey(promptKey);
|
|
73
|
+
return true;
|
|
74
|
+
}, []);
|
|
75
|
+
const release = useCallback((promptKey) => {
|
|
76
|
+
if (liveKeyRef.current !== promptKey) return;
|
|
77
|
+
liveKeyRef.current = null;
|
|
78
|
+
livePriorityRef.current = 0;
|
|
79
|
+
setLiveKey(null);
|
|
80
|
+
}, []);
|
|
81
|
+
const reportAdoption = useCallback((ratio) => {
|
|
82
|
+
setAdoption((current) => current === ratio ? current : ratio);
|
|
83
|
+
}, []);
|
|
84
|
+
const markSeen = useCallback((promptKey) => {
|
|
85
|
+
if (seenSent.current.has(promptKey)) return;
|
|
86
|
+
seenSent.current.add(promptKey);
|
|
87
|
+
void feedbackApi.markSeen(promptKey).catch(() => {
|
|
88
|
+
});
|
|
89
|
+
}, []);
|
|
90
|
+
const closeLocally = useCallback((promptKey) => {
|
|
91
|
+
setRecords((current) => ({
|
|
92
|
+
...current,
|
|
93
|
+
[promptKey]: {
|
|
94
|
+
eligible: false,
|
|
95
|
+
seenCount: current[promptKey]?.seenCount ?? 0
|
|
96
|
+
}
|
|
97
|
+
}));
|
|
98
|
+
if (liveKeyRef.current === promptKey) {
|
|
99
|
+
liveKeyRef.current = null;
|
|
100
|
+
livePriorityRef.current = 0;
|
|
101
|
+
setLiveKey(null);
|
|
102
|
+
}
|
|
103
|
+
}, []);
|
|
104
|
+
const surroundings = useCallback(() => {
|
|
105
|
+
if (typeof window === "undefined") return {};
|
|
106
|
+
const mask = (path) => path.split("/").map(
|
|
107
|
+
(seg) => /^[0-9a-f]{8}-[0-9a-f]{4}/i.test(seg) || /^\d+$/.test(seg) ? "[id]" : seg
|
|
108
|
+
).join("/");
|
|
109
|
+
let timeZone;
|
|
110
|
+
try {
|
|
111
|
+
timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
112
|
+
} catch {
|
|
113
|
+
}
|
|
114
|
+
return {
|
|
115
|
+
viewport: `${window.innerWidth}x${window.innerHeight}`,
|
|
116
|
+
locale: navigator.language,
|
|
117
|
+
timeZone,
|
|
118
|
+
theme: document.documentElement.dataset.theme,
|
|
119
|
+
route: mask(window.location.pathname).slice(0, 120),
|
|
120
|
+
posthogSessionId: posthog.get_session_id?.() || void 0
|
|
121
|
+
};
|
|
122
|
+
}, []);
|
|
123
|
+
const submit = useCallback(
|
|
124
|
+
async (data) => {
|
|
125
|
+
if (!data.subjectType) closeLocally(data.promptKey);
|
|
126
|
+
const signal = await feedbackApi.recordSignal(
|
|
127
|
+
{
|
|
128
|
+
...surroundings(),
|
|
129
|
+
...data,
|
|
130
|
+
pageUrl: data.pageUrl ?? (typeof window === "undefined" ? void 0 : window.location.href)
|
|
131
|
+
},
|
|
132
|
+
// The workspace they were in when they answered. Without it the api
|
|
133
|
+
// has no tenant on the request and the score is refused outright —
|
|
134
|
+
// see the note on `recordSignal`.
|
|
135
|
+
tenant?.slug
|
|
136
|
+
);
|
|
137
|
+
return signal?.id ?? null;
|
|
138
|
+
},
|
|
139
|
+
[closeLocally, surroundings, tenant?.slug]
|
|
140
|
+
);
|
|
141
|
+
const dismiss = useCallback(
|
|
142
|
+
async (promptKey, snoozeDays) => {
|
|
143
|
+
closeLocally(promptKey);
|
|
144
|
+
await feedbackApi.dismissPrompt(promptKey, snoozeDays);
|
|
145
|
+
},
|
|
146
|
+
[closeLocally]
|
|
147
|
+
);
|
|
148
|
+
const value = useMemo(
|
|
149
|
+
() => ({
|
|
150
|
+
ready,
|
|
151
|
+
isEligible,
|
|
152
|
+
seenCount,
|
|
153
|
+
claim,
|
|
154
|
+
release,
|
|
155
|
+
liveKey,
|
|
156
|
+
adoption,
|
|
157
|
+
reportAdoption,
|
|
158
|
+
markSeen,
|
|
159
|
+
submit,
|
|
160
|
+
dismiss
|
|
161
|
+
}),
|
|
162
|
+
[
|
|
163
|
+
ready,
|
|
164
|
+
isEligible,
|
|
165
|
+
seenCount,
|
|
166
|
+
claim,
|
|
167
|
+
release,
|
|
168
|
+
liveKey,
|
|
169
|
+
adoption,
|
|
170
|
+
reportAdoption,
|
|
171
|
+
markSeen,
|
|
172
|
+
submit,
|
|
173
|
+
dismiss
|
|
174
|
+
]
|
|
175
|
+
);
|
|
176
|
+
return /* @__PURE__ */ jsx(FeedbackPromptContext.Provider, { value, children });
|
|
177
|
+
}
|
|
178
|
+
function useFeedbackPrompt(promptKey, options = {}) {
|
|
179
|
+
const context = useContext(FeedbackPromptContext);
|
|
180
|
+
const { when = true, priority = 0 } = options;
|
|
181
|
+
const claim = context?.claim;
|
|
182
|
+
const release = context?.release;
|
|
183
|
+
const markSeen = context?.markSeen;
|
|
184
|
+
const liveKey = context?.liveKey ?? null;
|
|
185
|
+
const eligible = Boolean(context?.ready && context.isEligible(promptKey));
|
|
186
|
+
const wants = eligible && when;
|
|
187
|
+
useEffect(() => {
|
|
188
|
+
if (!claim || !markSeen || !wants || liveKey === promptKey) return;
|
|
189
|
+
if (claim(promptKey, priority)) markSeen(promptKey);
|
|
190
|
+
}, [claim, liveKey, markSeen, wants, promptKey, priority]);
|
|
191
|
+
useEffect(() => {
|
|
192
|
+
if (!wants) release?.(promptKey);
|
|
193
|
+
}, [release, wants, promptKey]);
|
|
194
|
+
useEffect(
|
|
195
|
+
() => () => {
|
|
196
|
+
release?.(promptKey);
|
|
197
|
+
},
|
|
198
|
+
[release, promptKey]
|
|
199
|
+
);
|
|
200
|
+
const visible = wants && liveKey === promptKey;
|
|
201
|
+
return {
|
|
202
|
+
visible,
|
|
203
|
+
seenCount: context?.seenCount(promptKey) ?? 0,
|
|
204
|
+
submit: async (data) => {
|
|
205
|
+
if (!context) return null;
|
|
206
|
+
return context.submit({ ...data, promptKey });
|
|
207
|
+
},
|
|
208
|
+
dismiss: async (snoozeDays) => {
|
|
209
|
+
if (!context) return;
|
|
210
|
+
await context.dismiss(promptKey, snoozeDays);
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
function useFeedbackSignal() {
|
|
215
|
+
const context = useContext(FeedbackPromptContext);
|
|
216
|
+
return {
|
|
217
|
+
record: async (data) => {
|
|
218
|
+
if (!context) return null;
|
|
219
|
+
return context.submit(data);
|
|
220
|
+
}
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
function useReportAdoption() {
|
|
224
|
+
const context = useContext(FeedbackPromptContext);
|
|
225
|
+
return context?.reportAdoption ?? (() => {
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
function useFeatureAdoption() {
|
|
229
|
+
const context = useContext(FeedbackPromptContext);
|
|
230
|
+
return context?.adoption ?? null;
|
|
231
|
+
}
|
|
232
|
+
function usePromptEligible() {
|
|
233
|
+
const context = useContext(FeedbackPromptContext);
|
|
234
|
+
return useCallback(
|
|
235
|
+
(promptKey) => context?.isEligible(promptKey) ?? true,
|
|
236
|
+
[context]
|
|
237
|
+
);
|
|
238
|
+
}
|
|
239
|
+
export {
|
|
240
|
+
FeedbackPromptProvider,
|
|
241
|
+
useFeatureAdoption,
|
|
242
|
+
useFeedbackPrompt,
|
|
243
|
+
useFeedbackSignal,
|
|
244
|
+
usePromptEligible,
|
|
245
|
+
useReportAdoption
|
|
246
|
+
};
|
|
247
|
+
//# sourceMappingURL=feedback-prompt-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/feedback/feedback-prompt-context.tsx"],"sourcesContent":["'use client';\n\nimport {\n createContext,\n useCallback,\n useContext,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from 'react';\nimport { useAuth } from '@withpotter/lib/auth-context';\nimport posthog from 'posthog-js';\nimport {\n feedbackApi,\n type CreateFeedbackSignal,\n type FeedbackPromptState,\n} from '@withpotter/lib/api';\n\n/** Local mirror of the server's verdict on one prompt. */\ninterface PromptRecord {\n eligible: boolean;\n seenCount: number;\n}\n\ninterface FeedbackPromptContextValue {\n ready: boolean;\n /**\n * May this prompt be shown at all — has the account answered or dismissed it\n * on any device. Says nothing about whether another prompt is already on\n * screen; that is `claim`'s job.\n */\n isEligible: (promptKey: string) => boolean;\n seenCount: (promptKey: string) => number;\n /**\n * Ask for the one live slot. Returns whether this prompt got it. Released on\n * unmount via the returned function.\n */\n claim: (promptKey: string, priority?: number) => boolean;\n release: (promptKey: string) => void;\n /** Which prompt currently holds the one live slot, if any. */\n liveKey: string | null;\n /**\n * How much of the product this workspace has used, 0..1, or null while\n * unknown. Reported by the home, which already loads everything it is\n * measured from; read by prompts that should not ask a newcomer.\n */\n adoption: number | null;\n reportAdoption: (ratio: number) => void;\n markSeen: (promptKey: string) => void;\n /** Resolves to the recorded signal's id, so a comment can be attached to it. */\n submit: (data: CreateFeedbackSignal) => Promise<string | null>;\n dismiss: (promptKey: string, snoozeDays?: number) => Promise<void>;\n}\n\nconst FeedbackPromptContext = createContext<FeedbackPromptContextValue | null>(\n null,\n);\n\n/**\n * ONE REQUEST, AND ONE PROMPT AT A TIME.\n *\n * Both halves of this provider exist to stop a feature designed to be\n * everywhere from behaving like it.\n *\n * THE REQUEST. `GET /feedback/prompts` is read once per session and shared.\n * The alternative — every prompt asking about itself — would have added a\n * request per sprinkle to a dashboard whose home already reads 29 endpoints\n * and whose catalogue reads 19, against a limiter that allows 100 a minute per\n * IP. The feature would have started costing pages their data.\n *\n * THE SLOT. Only one prompt may be live anywhere in the app. Two questions on\n * one screen is not twice the feedback, it is a survey, and the second one\n * teaches people to close the first without reading it. Prompts claim the slot\n * as they mount and release it as they unmount, so navigating away from an\n * unanswered one frees it for the next screen rather than burning it.\n *\n * NOTHING HERE THROWS. A prompt is the least important thing on any screen it\n * appears on: if the list fails to load, every prompt stays hidden and the page\n * is untouched. Failing loudly would mean a feedback widget could take down the\n * orders screen.\n */\nexport function FeedbackPromptProvider({\n children,\n}: {\n children: React.ReactNode;\n}) {\n const { user, loading, tenant } = useAuth();\n const [records, setRecords] = useState<Record<string, PromptRecord>>({});\n const [ready, setReady] = useState(false);\n /**\n * The one live slot, held in a ref rather than state.\n *\n * `claim` has to answer \"did I get it\" SYNCHRONOUSLY, in the effect that\n * asked. A state updater cannot do that — the answer would be read out of a\n * closure during the render phase, and StrictMode's double-invoke would let\n * two prompts both believe they won. Nothing renders from this value, so\n * state buys nothing and costs correctness.\n */\n const liveKeyRef = useRef<string | null>(null);\n const livePriorityRef = useRef(0);\n /**\n * The same value as state, which is what prompts actually RENDER from.\n *\n * The pair looks redundant and is not. The ref decides — synchronously, in\n * whichever effect asked first. The state publishes that decision, so a\n * prompt that lost the slot re-renders and reappears the moment the winner\n * closes, and so no prompt has to keep a `held` boolean of its own. Deriving\n * visibility from context state rather than local state is also what keeps\n * the whole mechanism out of setState-inside-an-effect.\n */\n const [liveKey, setLiveKey] = useState<string | null>(null);\n /**\n * Null until the home has measured it, and a prompt that needs it stays\n * hidden while it is null. Unknown is NOT \"assume they qualify\": asking\n * everybody on first paint is the exact failure the bar exists to prevent.\n */\n const [adoption, setAdoption] = useState<number | null>(null);\n /** Keys already reported as seen this session, so a re-render is not a view. */\n const seenSent = useRef<Set<string>>(new Set());\n\n useEffect(() => {\n if (loading || !user) return;\n let cancelled = false;\n\n void (async () => {\n try {\n const states = await feedbackApi.listPrompts();\n if (cancelled) return;\n // A 200 carrying the wrong body is not caught by the type, so the\n // shape is checked rather than trusted: a non-array here would make\n // every prompt in the app eligible forever.\n const list: FeedbackPromptState[] = Array.isArray(states) ? states : [];\n const next: Record<string, PromptRecord> = {};\n for (const state of list) {\n next[state.promptKey] = {\n eligible: state.eligible,\n seenCount: state.seenCount,\n };\n }\n setRecords(next);\n } catch {\n // Silence is correct here — see the note above.\n } finally {\n if (!cancelled) setReady(true);\n }\n })();\n\n return () => {\n cancelled = true;\n };\n }, [loading, user]);\n\n const isEligible = useCallback(\n (promptKey: string) => {\n // Unknown means never asked, which is askable. Any other reading would\n // require a backfill before a new prompt could ever ship.\n const record = records[promptKey];\n return record ? record.eligible : true;\n },\n [records],\n );\n\n const seenCount = useCallback(\n (promptKey: string) => records[promptKey]?.seenCount ?? 0,\n [records],\n );\n\n const claim = useCallback((promptKey: string, priority = 0) => {\n if (\n liveKeyRef.current !== null &&\n liveKeyRef.current !== promptKey &&\n priority <= livePriorityRef.current\n )\n return false;\n liveKeyRef.current = promptKey;\n livePriorityRef.current = priority;\n setLiveKey(promptKey);\n return true;\n }, []);\n\n const release = useCallback((promptKey: string) => {\n if (liveKeyRef.current !== promptKey) return;\n liveKeyRef.current = null;\n livePriorityRef.current = 0;\n setLiveKey(null);\n }, []);\n\n const reportAdoption = useCallback((ratio: number) => {\n // Only on a real change, so the home re-rendering does not churn every\n // consumer of this context.\n setAdoption((current) => (current === ratio ? current : ratio));\n }, []);\n\n const markSeen = useCallback((promptKey: string) => {\n if (seenSent.current.has(promptKey)) return;\n seenSent.current.add(promptKey);\n void feedbackApi.markSeen(promptKey).catch(() => {});\n }, []);\n\n /**\n * Close the prompt locally BEFORE the request settles.\n *\n * A prompt that stays on screen while its answer is in flight invites a\n * second press, and the merchant has already told us what they think — the\n * only thing left to do is get out of the way. If the write fails they are\n * not asked again this session, which is the right way round: losing one\n * score is cheaper than asking the same person twice.\n */\n const closeLocally = useCallback((promptKey: string) => {\n setRecords((current) => ({\n ...current,\n [promptKey]: {\n eligible: false,\n seenCount: current[promptKey]?.seenCount ?? 0,\n },\n }));\n if (liveKeyRef.current === promptKey) {\n liveKeyRef.current = null;\n livePriorityRef.current = 0;\n setLiveKey(null);\n }\n }, []);\n\n /**\n * THE ROOM THE ANSWER WAS GIVEN IN.\n *\n * A score on its own is a number. The same 3 out of 7 means \"our importer is\n * hard\" from a desk in the afternoon and \"I was doing this on a phone at\n * midnight\" from a 390px viewport in Lagos, and nothing on the server can\n * tell those apart — the request carries a user agent and no room.\n *\n * The route is a PATTERN, not the address: `/dashboard/orders/[id]` groups\n * four hundred complaints about the order screen, where four hundred order\n * ids group nothing. Ids are masked here rather than on the server because\n * the server cannot know which segment was an id.\n */\n const surroundings = useCallback((): Partial<CreateFeedbackSignal> => {\n if (typeof window === 'undefined') return {};\n const mask = (path: string) =>\n path\n .split('/')\n .map((seg) =>\n /^[0-9a-f]{8}-[0-9a-f]{4}/i.test(seg) || /^\\d+$/.test(seg)\n ? '[id]'\n : seg,\n )\n .join('/');\n let timeZone: string | undefined;\n try {\n timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;\n } catch {\n /* an engine without a timezone database is not worth a broken score */\n }\n return {\n viewport: `${window.innerWidth}x${window.innerHeight}`,\n locale: navigator.language,\n timeZone,\n theme: document.documentElement.dataset.theme,\n route: mask(window.location.pathname).slice(0, 120),\n posthogSessionId: posthog.get_session_id?.() || undefined,\n };\n }, []);\n\n const submit = useCallback(\n async (data: CreateFeedbackSignal) => {\n // A signal about a SUBJECT (a thumb on one answer) is per-thing and must\n // not close the prompt — the next answer gets its own thumbs. Mirrors\n // the same test on the server, so the two cannot disagree.\n if (!data.subjectType) closeLocally(data.promptKey);\n const signal = await feedbackApi.recordSignal(\n {\n ...surroundings(),\n ...data,\n pageUrl:\n data.pageUrl ??\n (typeof window === 'undefined' ? undefined : window.location.href),\n },\n // The workspace they were in when they answered. Without it the api\n // has no tenant on the request and the score is refused outright —\n // see the note on `recordSignal`.\n tenant?.slug,\n );\n return signal?.id ?? null;\n },\n [closeLocally, surroundings, tenant?.slug],\n );\n\n const dismiss = useCallback(\n async (promptKey: string, snoozeDays?: number) => {\n closeLocally(promptKey);\n await feedbackApi.dismissPrompt(promptKey, snoozeDays);\n },\n [closeLocally],\n );\n\n const value = useMemo(\n () => ({\n ready,\n isEligible,\n seenCount,\n claim,\n release,\n liveKey,\n adoption,\n reportAdoption,\n markSeen,\n submit,\n dismiss,\n }),\n [\n ready,\n isEligible,\n seenCount,\n claim,\n release,\n liveKey,\n adoption,\n reportAdoption,\n markSeen,\n submit,\n dismiss,\n ],\n );\n\n return (\n <FeedbackPromptContext.Provider value={value}>\n {children}\n </FeedbackPromptContext.Provider>\n );\n}\n\n/**\n * Whether this prompt should be on screen right now, and what to do when it is\n * answered.\n *\n * Returns `visible: false` outside the provider rather than throwing. A prompt\n * is furniture: a screen rendered in a test, a storybook, or the marketing site\n * should quietly have no prompt, not crash.\n */\nexport function useFeedbackPrompt(\n promptKey: string,\n options: {\n /**\n * The screen's own condition — \"the import finished\", \"this account is\n * older than a fortnight\". Kept out of the server because only the screen\n * knows it, and out of the component because a prompt that mounts and then\n * hides has already burned the one live slot.\n */\n when?: boolean;\n priority?: number;\n } = {},\n) {\n const context = useContext(FeedbackPromptContext);\n const { when = true, priority = 0 } = options;\n const claim = context?.claim;\n const release = context?.release;\n const markSeen = context?.markSeen;\n const liveKey = context?.liveKey ?? null;\n\n const eligible = Boolean(context?.ready && context.isEligible(promptKey));\n const wants = eligible && when;\n\n useEffect(() => {\n if (!claim || !markSeen || !wants || liveKey === promptKey) return;\n if (claim(promptKey, priority)) markSeen(promptKey);\n }, [claim, liveKey, markSeen, wants, promptKey, priority]);\n\n useEffect(() => {\n if (!wants) release?.(promptKey);\n }, [release, wants, promptKey]);\n\n useEffect(\n () => () => {\n release?.(promptKey);\n },\n [release, promptKey],\n );\n\n /**\n * Read off the provider rather than a local `held` flag. Local state would\n * have to be set from inside this effect, which is both the lint rule's\n * complaint and a real one: the flag would then be a second copy of a fact\n * the provider already knows, free to disagree with it.\n */\n const visible = wants && liveKey === promptKey;\n\n return {\n visible,\n seenCount: context?.seenCount(promptKey) ?? 0,\n submit: async (\n data: Omit<CreateFeedbackSignal, 'promptKey'>,\n ): Promise<string | null> => {\n if (!context) return null;\n return context.submit({ ...data, promptKey });\n },\n dismiss: async (snoozeDays?: number): Promise<void> => {\n if (!context) return;\n await context.dismiss(promptKey, snoozeDays);\n },\n };\n}\n\n/**\n * Record a score with none of the prompt machinery.\n *\n * THE OTHER HALF OF THE FEATURE, and the distinction is worth stating because\n * getting it wrong is how a product ends up with thumbs that fight each other:\n *\n * `useFeedbackPrompt` is for a question the PRODUCT asks, once per account —\n * an NPS, a CSAT after a payout. It competes for the one live slot, it\n * remembers it was asked, and it interrupts.\n *\n * This is for a verdict on ONE OBJECT that lives in the content — was this\n * help topic any good, was that answer right. It takes no slot, it is never\n * suppressed, and there can be twenty on a page, because they are not\n * interruptions: they are part of the thing they sit under. Routing those\n * through the slot would have meant one help topic in a list of seventeen\n * getting a thumb and the rest silently not.\n *\n * Returns a no-op outside the provider, so a screen rendered in a test has no\n * prompts and no crash.\n */\nexport function useFeedbackSignal() {\n const context = useContext(FeedbackPromptContext);\n return {\n record: async (data: CreateFeedbackSignal): Promise<string | null> => {\n if (!context) return null;\n return context.submit(data);\n },\n };\n}\n\n/**\n * Report how much of the product this workspace has used.\n *\n * Called by the home, which already loads every number it is measured from.\n * Prompts read it through `useFeatureAdoption`; nothing else needs it.\n */\nexport function useReportAdoption() {\n const context = useContext(FeedbackPromptContext);\n return context?.reportAdoption ?? (() => {});\n}\n\n/** How much of the product this workspace has used, or null while unknown. */\nexport function useFeatureAdoption(): number | null {\n const context = useContext(FeedbackPromptContext);\n return context?.adoption ?? null;\n}\n\n/**\n * Whether a key could still be asked of this account.\n *\n * For a prompt deciding whether a MORE SPECIFIC question owns the moment it is\n * about to take. The NPS uses it: a flow that carries its own \"how easy was\n * that?\" answers for itself the first time, and the product question waits\n * until that one is spent. Without it the merchant answers the specific\n * question, the slot is released, and the general one arrives on top of the\n * thank-you — two questions for one ending, which is the thing the slot exists\n * to prevent.\n *\n * Unknown reads as askable, matching `isEligible`: while the records are still\n * loading, the specific question is assumed to be coming.\n */\nexport function usePromptEligible(): (promptKey: string) => boolean {\n const context = useContext(FeedbackPromptContext);\n return useCallback(\n (promptKey: string) => context?.isEligible(promptKey) ?? true,\n [context],\n );\n}\n"],"mappings":"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","names":[]}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { type ScoreTone } from '@withpotter/ui-kit/score-scale';
|
|
2
|
+
import { type FeedbackSignalKind } from '@withpotter/lib/api';
|
|
3
|
+
/**
|
|
4
|
+
* One question, asked once, that gets out of the way.
|
|
5
|
+
*
|
|
6
|
+
* THE SHELL IS SHARED AND THE QUESTION IS NOT. Every prompt in the product —
|
|
7
|
+
* the NPS on the home, the CSAT after a payout, "how easy was that import" —
|
|
8
|
+
* is this component with a different `kind` and a different sentence. Three
|
|
9
|
+
* bespoke prompt cards is how you get three answers to what dismiss means,
|
|
10
|
+
* three comment boxes with different placeholders, and one of them quietly not
|
|
11
|
+
* remembering it was already answered.
|
|
12
|
+
*
|
|
13
|
+
* THE ORDER OF OPERATIONS IS THE DESIGN.
|
|
14
|
+
*
|
|
15
|
+
* 1. The score is recorded THE MOMENT it is pressed. Not on "Send", not on
|
|
16
|
+
* unmount. Most people press a number and never write anything, and a
|
|
17
|
+
* flow that held the answer back until the comment step resolved would
|
|
18
|
+
* have thrown away the majority of its own data.
|
|
19
|
+
* 2. The comment box then appears, already knowing which answer it belongs
|
|
20
|
+
* to, and attaches to it. Skipping it is a complete interaction — the
|
|
21
|
+
* button says "Skip", not "Cancel", because nothing is being abandoned.
|
|
22
|
+
* 3. A short thank-you, then it leaves on its own.
|
|
23
|
+
*
|
|
24
|
+
* DISMISSING IS "NOT NOW" BY DEFAULT. The × snoozes rather than kills, because
|
|
25
|
+
* the honest reading of somebody closing a prompt mid-task is that they are
|
|
26
|
+
* mid-task. Pass `snoozeDays={undefined}` where a prompt genuinely gets one
|
|
27
|
+
* chance.
|
|
28
|
+
*/
|
|
29
|
+
export declare function FeedbackPrompt({ promptKey, kind, question, when, commentPrompt, allowVoice, minLabel, maxLabel, toneFor, subject, layout, presentation, snoozeDays, priority, className, }: {
|
|
30
|
+
promptKey: string;
|
|
31
|
+
kind: FeedbackSignalKind;
|
|
32
|
+
/** The whole question, as a sentence. */
|
|
33
|
+
question: string;
|
|
34
|
+
/** The screen's own condition — the thing only this screen knows. */
|
|
35
|
+
when?: boolean;
|
|
36
|
+
/** What the box asks for once a score is in. Omit to skip the step. */
|
|
37
|
+
commentPrompt?: string;
|
|
38
|
+
/** Allow a spoken explanation. Defaults to the existing comment-step behavior. */
|
|
39
|
+
allowVoice?: boolean;
|
|
40
|
+
minLabel?: string;
|
|
41
|
+
maxLabel?: string;
|
|
42
|
+
toneFor?: (value: number) => ScoreTone;
|
|
43
|
+
/** What was rated, when the answer is about one object not the product. */
|
|
44
|
+
subject?: {
|
|
45
|
+
type: string;
|
|
46
|
+
id: string;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* `inline` sits in the page's flow where the thing being asked about is.
|
|
50
|
+
* `dock` floats bottom-centre, for a question that belongs to no one screen.
|
|
51
|
+
*
|
|
52
|
+
* Bottom-CENTRE and not the corner: the bottom-right belongs to Box's
|
|
53
|
+
* launcher on mobile and reads as a help desk everywhere else, and two owners
|
|
54
|
+
* for one piece of screen is not a spacing problem to be nudged apart.
|
|
55
|
+
*/
|
|
56
|
+
layout?: 'inline' | 'dock';
|
|
57
|
+
/** Admin-authored campaigns use a focused popup; product prompts stay cards. */
|
|
58
|
+
presentation?: 'card' | 'campaign-modal';
|
|
59
|
+
/** Days until a dismissed prompt returns. `undefined` means never. */
|
|
60
|
+
snoozeDays?: number;
|
|
61
|
+
/** Higher-priority questions may replace a generic prompt in the live slot. */
|
|
62
|
+
priority?: number;
|
|
63
|
+
className?: string;
|
|
64
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect, useState } from "react";
|
|
4
|
+
import Image from "next/image";
|
|
5
|
+
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
6
|
+
import { Check, X } from "lucide-react";
|
|
7
|
+
import { Button } from "@withpotter/ui-kit/button";
|
|
8
|
+
import { Card } from "@withpotter/ui-kit/card";
|
|
9
|
+
import { ScoreScale } from "@withpotter/ui-kit/score-scale";
|
|
10
|
+
import { RatingInput } from "@withpotter/ui-kit/star-rating";
|
|
11
|
+
import { ThumbVote } from "@withpotter/ui-kit/thumb-vote";
|
|
12
|
+
import {
|
|
13
|
+
Dialog,
|
|
14
|
+
DialogContent,
|
|
15
|
+
DialogDescription,
|
|
16
|
+
DialogHeader,
|
|
17
|
+
DialogTitle
|
|
18
|
+
} from "@withpotter/ui-kit/dialog";
|
|
19
|
+
import { SayWhy } from "./say-why";
|
|
20
|
+
import { springs } from "@withpotter/lib/motion";
|
|
21
|
+
import { cn } from "@withpotter/lib/utils";
|
|
22
|
+
import { useFeedbackPrompt } from "./feedback-prompt-context";
|
|
23
|
+
const SCALES = {
|
|
24
|
+
nps: { min: 0, max: 10 },
|
|
25
|
+
csat: { min: 1, max: 5 },
|
|
26
|
+
ces: { min: 1, max: 7 },
|
|
27
|
+
thumb: { min: -1, max: 1 },
|
|
28
|
+
star: { min: 1, max: 5 }
|
|
29
|
+
};
|
|
30
|
+
function FeedbackPrompt({
|
|
31
|
+
promptKey,
|
|
32
|
+
kind,
|
|
33
|
+
question,
|
|
34
|
+
when = true,
|
|
35
|
+
commentPrompt,
|
|
36
|
+
allowVoice,
|
|
37
|
+
minLabel,
|
|
38
|
+
maxLabel,
|
|
39
|
+
toneFor,
|
|
40
|
+
subject,
|
|
41
|
+
layout = "inline",
|
|
42
|
+
presentation = "card",
|
|
43
|
+
snoozeDays = 14,
|
|
44
|
+
priority = 0,
|
|
45
|
+
className
|
|
46
|
+
}) {
|
|
47
|
+
const prompt = useFeedbackPrompt(promptKey, { when, priority });
|
|
48
|
+
const [stage, setStage] = useState("asking");
|
|
49
|
+
const [score, setScore] = useState(null);
|
|
50
|
+
const [signalId, setSignalId] = useState(null);
|
|
51
|
+
const reduce = useReducedMotion();
|
|
52
|
+
const voiceEnabled = allowVoice ?? Boolean(commentPrompt);
|
|
53
|
+
const hasContextStep = Boolean(commentPrompt) || voiceEnabled;
|
|
54
|
+
useEffect(() => {
|
|
55
|
+
if (stage !== "thanking") return;
|
|
56
|
+
const timer = setTimeout(() => setStage("gone"), 1600);
|
|
57
|
+
return () => clearTimeout(timer);
|
|
58
|
+
}, [stage]);
|
|
59
|
+
const scale = SCALES[kind];
|
|
60
|
+
const handleScore = (value) => {
|
|
61
|
+
setScore(value);
|
|
62
|
+
void prompt.submit({
|
|
63
|
+
kind,
|
|
64
|
+
score: value,
|
|
65
|
+
subjectType: subject?.type,
|
|
66
|
+
subjectId: subject?.id
|
|
67
|
+
}).then(setSignalId).catch(() => {
|
|
68
|
+
});
|
|
69
|
+
setStage(hasContextStep ? "commenting" : "thanking");
|
|
70
|
+
};
|
|
71
|
+
const handleDismiss = () => {
|
|
72
|
+
setStage("gone");
|
|
73
|
+
void prompt.dismiss(snoozeDays).catch(() => {
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
const showing = stage !== "gone" && (prompt.visible || stage !== "asking");
|
|
77
|
+
const body = /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-3", children: [
|
|
78
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-3", children: [
|
|
79
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-[var(--text-primary)]", children: stage === "thanking" ? "Thank you." : question }),
|
|
80
|
+
stage === "asking" && /* @__PURE__ */ jsx(
|
|
81
|
+
Button,
|
|
82
|
+
{
|
|
83
|
+
variant: "ghost",
|
|
84
|
+
size: "icon",
|
|
85
|
+
"aria-label": "Not now",
|
|
86
|
+
onClick: handleDismiss,
|
|
87
|
+
children: /* @__PURE__ */ jsx(X, {})
|
|
88
|
+
}
|
|
89
|
+
)
|
|
90
|
+
] }),
|
|
91
|
+
/* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", initial: false, children: stage === "thanking" ? /* @__PURE__ */ jsxs(
|
|
92
|
+
motion.div,
|
|
93
|
+
{
|
|
94
|
+
initial: { opacity: 0, y: 6 },
|
|
95
|
+
animate: { opacity: 1, y: 0 },
|
|
96
|
+
exit: { opacity: 0 },
|
|
97
|
+
transition: reduce ? { duration: 0 } : springs.gentle,
|
|
98
|
+
className: "flex items-center gap-2 text-sm text-[var(--text-secondary)]",
|
|
99
|
+
children: [
|
|
100
|
+
/* @__PURE__ */ jsx("span", { className: "grid size-5 place-items-center rounded-full bg-[var(--success-bg)] text-[var(--success)]", children: /* @__PURE__ */ jsx(Check, { className: "size-4" }) }),
|
|
101
|
+
"It goes straight to the people building this."
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"thanks"
|
|
105
|
+
) : /* @__PURE__ */ jsxs(
|
|
106
|
+
motion.div,
|
|
107
|
+
{
|
|
108
|
+
layout: true,
|
|
109
|
+
initial: false,
|
|
110
|
+
transition: reduce ? { duration: 0 } : springs.gentle,
|
|
111
|
+
className: "flex flex-col gap-3",
|
|
112
|
+
children: [
|
|
113
|
+
kind === "star" ? /* @__PURE__ */ jsx(
|
|
114
|
+
RatingInput,
|
|
115
|
+
{
|
|
116
|
+
value: score,
|
|
117
|
+
onChange: handleScore,
|
|
118
|
+
label: question,
|
|
119
|
+
disabled: stage !== "asking"
|
|
120
|
+
}
|
|
121
|
+
) : kind === "thumb" ? /* @__PURE__ */ jsx(
|
|
122
|
+
ThumbVote,
|
|
123
|
+
{
|
|
124
|
+
value: score === null ? null : score > 0 ? "up" : "down",
|
|
125
|
+
onVote: (value) => value && handleScore(value === "up" ? 1 : -1),
|
|
126
|
+
disabled: stage !== "asking"
|
|
127
|
+
}
|
|
128
|
+
) : /* @__PURE__ */ jsx(
|
|
129
|
+
ScoreScale,
|
|
130
|
+
{
|
|
131
|
+
min: scale.min,
|
|
132
|
+
max: scale.max,
|
|
133
|
+
value: score,
|
|
134
|
+
onChange: handleScore,
|
|
135
|
+
label: question,
|
|
136
|
+
minLabel,
|
|
137
|
+
maxLabel,
|
|
138
|
+
toneFor,
|
|
139
|
+
disabled: stage !== "asking"
|
|
140
|
+
}
|
|
141
|
+
),
|
|
142
|
+
stage === "commenting" && hasContextStep && /* The same step `FeedbackVote` uses. It was written twice —
|
|
143
|
+
textarea, recorder, Send/Skip — and two copies of "can I
|
|
144
|
+
explain this" is how the two drift on what Skip means. */
|
|
145
|
+
/* @__PURE__ */ jsx(
|
|
146
|
+
SayWhy,
|
|
147
|
+
{
|
|
148
|
+
signalId,
|
|
149
|
+
placeholder: commentPrompt || "What led to your answer?",
|
|
150
|
+
allowComment: Boolean(commentPrompt),
|
|
151
|
+
allowVoice: voiceEnabled,
|
|
152
|
+
onDone: () => setStage("thanking")
|
|
153
|
+
}
|
|
154
|
+
)
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
"answer"
|
|
158
|
+
) })
|
|
159
|
+
] });
|
|
160
|
+
if (presentation === "campaign-modal") {
|
|
161
|
+
return /* @__PURE__ */ jsx(
|
|
162
|
+
Dialog,
|
|
163
|
+
{
|
|
164
|
+
open: showing,
|
|
165
|
+
onOpenChange: (open) => {
|
|
166
|
+
if (!open && stage === "asking") handleDismiss();
|
|
167
|
+
},
|
|
168
|
+
children: /* @__PURE__ */ jsxs(DialogContent, { className: "w-[calc(100%-2rem)] max-w-xl gap-0 overflow-hidden p-0", children: [
|
|
169
|
+
/* @__PURE__ */ jsx("div", { className: "grid min-h-36 place-items-center bg-[var(--accent-secondary)] px-6 py-4", children: /* @__PURE__ */ jsx(
|
|
170
|
+
Image,
|
|
171
|
+
{
|
|
172
|
+
src: "/_placeholders/3dicons/megaphone.png",
|
|
173
|
+
alt: "Feedback campaign announcement",
|
|
174
|
+
width: 144,
|
|
175
|
+
height: 144,
|
|
176
|
+
className: "h-28 w-28 object-contain sm:h-32 sm:w-32",
|
|
177
|
+
priority: true
|
|
178
|
+
}
|
|
179
|
+
) }),
|
|
180
|
+
/* @__PURE__ */ jsxs("div", { className: "p-4 sm:p-6", children: [
|
|
181
|
+
/* @__PURE__ */ jsxs(DialogHeader, { className: "mb-4 pr-7 text-left", children: [
|
|
182
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs font-semibold uppercase text-[var(--accent-primary)]", children: "Box feedback" }),
|
|
183
|
+
/* @__PURE__ */ jsx(DialogTitle, { children: "We'd value your input" }),
|
|
184
|
+
/* @__PURE__ */ jsx(DialogDescription, { children: "Share a quick response to help us improve your merchant experience." })
|
|
185
|
+
] }),
|
|
186
|
+
body
|
|
187
|
+
] })
|
|
188
|
+
] })
|
|
189
|
+
}
|
|
190
|
+
);
|
|
191
|
+
}
|
|
192
|
+
return /* @__PURE__ */ jsx(AnimatePresence, { children: showing && /* @__PURE__ */ jsx(
|
|
193
|
+
motion.div,
|
|
194
|
+
{
|
|
195
|
+
initial: reduce ? { opacity: 0 } : { opacity: 0, y: layout === "dock" ? 24 : 8 },
|
|
196
|
+
animate: { opacity: 1, y: 0 },
|
|
197
|
+
exit: reduce ? { opacity: 0 } : { opacity: 0, y: 8, scale: 0.98 },
|
|
198
|
+
transition: reduce ? { duration: 0 } : springs.gentle,
|
|
199
|
+
className: cn(
|
|
200
|
+
layout === "dock" && // Centred, so it never argues with whatever owns the right
|
|
201
|
+
// corner — Box's launcher on a phone, a help desk everywhere
|
|
202
|
+
// else.
|
|
203
|
+
"fixed inset-x-4 z-[80] mx-auto max-w-md",
|
|
204
|
+
layout === "dock" && /**
|
|
205
|
+
* `--mb-safe-bottom`, not a number of my own.
|
|
206
|
+
*
|
|
207
|
+
* This was `calc(84px + env(safe-area-inset-bottom))`, which is
|
|
208
|
+
* a guess at the tab bar written out by hand. The real reserved
|
|
209
|
+
* zone is 54px of bar plus an 18px gap plus the inset — 72 —
|
|
210
|
+
* so the dock floated twelve pixels higher than `StickyCtaBar`
|
|
211
|
+
* and everything else anchored down there, which reads as a
|
|
212
|
+
* misalignment rather than as a choice. The token exists for
|
|
213
|
+
* exactly this and moves if the bar ever changes height.
|
|
214
|
+
*/
|
|
215
|
+
"bottom-[var(--mb-safe-bottom)] lg:bottom-6",
|
|
216
|
+
className
|
|
217
|
+
),
|
|
218
|
+
children: /* @__PURE__ */ jsx(
|
|
219
|
+
Card,
|
|
220
|
+
{
|
|
221
|
+
className: layout === "dock" ? "shadow-[var(--shadow-lg)]" : "",
|
|
222
|
+
children: body
|
|
223
|
+
}
|
|
224
|
+
)
|
|
225
|
+
}
|
|
226
|
+
) });
|
|
227
|
+
}
|
|
228
|
+
export {
|
|
229
|
+
FeedbackPrompt
|
|
230
|
+
};
|
|
231
|
+
//# sourceMappingURL=feedback-prompt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/feedback/feedback-prompt.tsx"],"sourcesContent":["'use client';\n\nimport { useEffect, useState } from 'react';\nimport Image from 'next/image';\nimport { AnimatePresence, motion, useReducedMotion } from 'motion/react';\nimport { Check, X } from 'lucide-react';\n// Concrete modules, not the `@withpotter/ui-kit` barrel. `ui/report-page` imports\n// this package for the vote at the foot of every report, so going through the\n// barrel would close a cycle — ui/index -> report-page -> feedback -> ui/index\n// — and the module that loses the race initialises as undefined. The failure\n// is a component rendering as nothing, at runtime, on whichever screen happens\n// to import first, which is the worst shape a bug can take.\nimport { Button } from '@withpotter/ui-kit/button';\nimport { Card } from '@withpotter/ui-kit/card';\nimport { ScoreScale, type ScoreTone } from '@withpotter/ui-kit/score-scale';\nimport { RatingInput } from '@withpotter/ui-kit/star-rating';\nimport { ThumbVote, type ThumbValue } from '@withpotter/ui-kit/thumb-vote';\nimport {\n Dialog,\n DialogContent,\n DialogDescription,\n DialogHeader,\n DialogTitle,\n} from '@withpotter/ui-kit/dialog';\nimport { type FeedbackSignalKind } from '@withpotter/lib/api';\nimport { SayWhy } from './say-why';\nimport { springs } from '@withpotter/lib/motion';\nimport { cn } from '@withpotter/lib/utils';\nimport { useFeedbackPrompt } from './feedback-prompt-context';\n\n/** The bounds each kind is asked on. Mirrors SIGNAL_SCALES on the API. */\nconst SCALES: Record<FeedbackSignalKind, { min: number; max: number }> = {\n nps: { min: 0, max: 10 },\n csat: { min: 1, max: 5 },\n ces: { min: 1, max: 7 },\n thumb: { min: -1, max: 1 },\n star: { min: 1, max: 5 },\n};\n\ntype Stage = 'asking' | 'commenting' | 'thanking' | 'gone';\n\n/**\n * One question, asked once, that gets out of the way.\n *\n * THE SHELL IS SHARED AND THE QUESTION IS NOT. Every prompt in the product —\n * the NPS on the home, the CSAT after a payout, \"how easy was that import\" —\n * is this component with a different `kind` and a different sentence. Three\n * bespoke prompt cards is how you get three answers to what dismiss means,\n * three comment boxes with different placeholders, and one of them quietly not\n * remembering it was already answered.\n *\n * THE ORDER OF OPERATIONS IS THE DESIGN.\n *\n * 1. The score is recorded THE MOMENT it is pressed. Not on \"Send\", not on\n * unmount. Most people press a number and never write anything, and a\n * flow that held the answer back until the comment step resolved would\n * have thrown away the majority of its own data.\n * 2. The comment box then appears, already knowing which answer it belongs\n * to, and attaches to it. Skipping it is a complete interaction — the\n * button says \"Skip\", not \"Cancel\", because nothing is being abandoned.\n * 3. A short thank-you, then it leaves on its own.\n *\n * DISMISSING IS \"NOT NOW\" BY DEFAULT. The × snoozes rather than kills, because\n * the honest reading of somebody closing a prompt mid-task is that they are\n * mid-task. Pass `snoozeDays={undefined}` where a prompt genuinely gets one\n * chance.\n */\nexport function FeedbackPrompt({\n promptKey,\n kind,\n question,\n when = true,\n commentPrompt,\n allowVoice,\n minLabel,\n maxLabel,\n toneFor,\n subject,\n layout = 'inline',\n presentation = 'card',\n snoozeDays = 14,\n priority = 0,\n className,\n}: {\n promptKey: string;\n kind: FeedbackSignalKind;\n /** The whole question, as a sentence. */\n question: string;\n /** The screen's own condition — the thing only this screen knows. */\n when?: boolean;\n /** What the box asks for once a score is in. Omit to skip the step. */\n commentPrompt?: string;\n /** Allow a spoken explanation. Defaults to the existing comment-step behavior. */\n allowVoice?: boolean;\n minLabel?: string;\n maxLabel?: string;\n toneFor?: (value: number) => ScoreTone;\n /** What was rated, when the answer is about one object not the product. */\n subject?: { type: string; id: string };\n /**\n * `inline` sits in the page's flow where the thing being asked about is.\n * `dock` floats bottom-centre, for a question that belongs to no one screen.\n *\n * Bottom-CENTRE and not the corner: the bottom-right belongs to Box's\n * launcher on mobile and reads as a help desk everywhere else, and two owners\n * for one piece of screen is not a spacing problem to be nudged apart.\n */\n layout?: 'inline' | 'dock';\n /** Admin-authored campaigns use a focused popup; product prompts stay cards. */\n presentation?: 'card' | 'campaign-modal';\n /** Days until a dismissed prompt returns. `undefined` means never. */\n snoozeDays?: number;\n /** Higher-priority questions may replace a generic prompt in the live slot. */\n priority?: number;\n className?: string;\n}) {\n const prompt = useFeedbackPrompt(promptKey, { when, priority });\n const [stage, setStage] = useState<Stage>('asking');\n const [score, setScore] = useState<number | null>(null);\n /**\n * State, not a ref: the comment step RENDERS from it now, and a ref read\n * during render is a value React cannot promise is current.\n */\n const [signalId, setSignalId] = useState<string | null>(null);\n const reduce = useReducedMotion();\n const voiceEnabled = allowVoice ?? Boolean(commentPrompt);\n const hasContextStep = Boolean(commentPrompt) || voiceEnabled;\n\n // The thank-you leaves on its own. Long enough to read four words, short\n // enough that nobody waits for it.\n useEffect(() => {\n if (stage !== 'thanking') return;\n const timer = setTimeout(() => setStage('gone'), 1600);\n return () => clearTimeout(timer);\n }, [stage]);\n\n const scale = SCALES[kind];\n\n const handleScore = (value: number) => {\n setScore(value);\n // Fire and move on. The merchant has answered; making them watch a\n // spinner for the part they already did would be the product taking\n // longer to say thank you than they took to answer.\n void prompt\n .submit({\n kind,\n score: value,\n subjectType: subject?.type,\n subjectId: subject?.id,\n })\n .then(setSignalId)\n .catch(() => {});\n setStage(hasContextStep ? 'commenting' : 'thanking');\n };\n\n const handleDismiss = () => {\n setStage('gone');\n void prompt.dismiss(snoozeDays).catch(() => {});\n };\n\n /**\n * `visible` goes false the instant a score is recorded — the provider closes\n * the prompt locally so nothing can answer it twice — so the local stage is\n * what keeps the card on screen through the comment and the thank-you.\n */\n const showing = stage !== 'gone' && (prompt.visible || stage !== 'asking');\n\n const body = (\n <div className=\"flex flex-col gap-3\">\n <div className=\"flex items-start justify-between gap-3\">\n <p className=\"text-sm font-medium text-[var(--text-primary)]\">\n {stage === 'thanking' ? 'Thank you.' : question}\n </p>\n {stage === 'asking' && (\n <Button\n variant=\"ghost\"\n size=\"icon\"\n aria-label=\"Not now\"\n onClick={handleDismiss}\n >\n <X />\n </Button>\n )}\n </div>\n\n <AnimatePresence mode=\"wait\" initial={false}>\n {stage === 'thanking' ? (\n <motion.div\n key=\"thanks\"\n initial={{ opacity: 0, y: 6 }}\n animate={{ opacity: 1, y: 0 }}\n exit={{ opacity: 0 }}\n transition={reduce ? { duration: 0 } : springs.gentle}\n className=\"flex items-center gap-2 text-sm text-[var(--text-secondary)]\"\n >\n <span className=\"grid size-5 place-items-center rounded-full bg-[var(--success-bg)] text-[var(--success)]\">\n <Check className=\"size-4\" />\n </span>\n It goes straight to the people building this.\n </motion.div>\n ) : (\n <motion.div\n key=\"answer\"\n layout\n initial={false}\n transition={reduce ? { duration: 0 } : springs.gentle}\n className=\"flex flex-col gap-3\"\n >\n {kind === 'star' ? (\n <RatingInput\n value={score}\n onChange={handleScore}\n label={question}\n disabled={stage !== 'asking'}\n />\n ) : kind === 'thumb' ? (\n <ThumbVote\n value={\n score === null\n ? null\n : ((score > 0 ? 'up' : 'down') as ThumbValue)\n }\n onVote={(value) =>\n value && handleScore(value === 'up' ? 1 : -1)\n }\n disabled={stage !== 'asking'}\n />\n ) : (\n <ScoreScale\n min={scale.min}\n max={scale.max}\n value={score}\n onChange={handleScore}\n label={question}\n minLabel={minLabel}\n maxLabel={maxLabel}\n toneFor={toneFor}\n disabled={stage !== 'asking'}\n />\n )}\n\n {stage === 'commenting' && hasContextStep && (\n /* The same step `FeedbackVote` uses. It was written twice —\n textarea, recorder, Send/Skip — and two copies of \"can I\n explain this\" is how the two drift on what Skip means. */\n <SayWhy\n signalId={signalId}\n placeholder={commentPrompt || 'What led to your answer?'}\n allowComment={Boolean(commentPrompt)}\n allowVoice={voiceEnabled}\n onDone={() => setStage('thanking')}\n />\n )}\n </motion.div>\n )}\n </AnimatePresence>\n </div>\n );\n\n if (presentation === 'campaign-modal') {\n return (\n <Dialog\n open={showing}\n onOpenChange={(open) => {\n if (!open && stage === 'asking') handleDismiss();\n }}\n >\n <DialogContent className=\"w-[calc(100%-2rem)] max-w-xl gap-0 overflow-hidden p-0\">\n <div className=\"grid min-h-36 place-items-center bg-[var(--accent-secondary)] px-6 py-4\">\n <Image\n src=\"/_placeholders/3dicons/megaphone.png\"\n alt=\"Feedback campaign announcement\"\n width={144}\n height={144}\n className=\"h-28 w-28 object-contain sm:h-32 sm:w-32\"\n priority\n />\n </div>\n <div className=\"p-4 sm:p-6\">\n <DialogHeader className=\"mb-4 pr-7 text-left\">\n <p className=\"text-xs font-semibold uppercase text-[var(--accent-primary)]\">\n Box feedback\n </p>\n <DialogTitle>We'd value your input</DialogTitle>\n <DialogDescription>\n Share a quick response to help us improve your merchant\n experience.\n </DialogDescription>\n </DialogHeader>\n {body}\n </div>\n </DialogContent>\n </Dialog>\n );\n }\n\n return (\n <AnimatePresence>\n {showing && (\n <motion.div\n // It ARRIVES rather than appearing. A prompt that cuts in mid-task\n // reads as an error dialog; one that rises reads as an offer.\n initial={\n reduce\n ? { opacity: 0 }\n : { opacity: 0, y: layout === 'dock' ? 24 : 8 }\n }\n animate={{ opacity: 1, y: 0 }}\n exit={reduce ? { opacity: 0 } : { opacity: 0, y: 8, scale: 0.98 }}\n transition={reduce ? { duration: 0 } : springs.gentle}\n className={cn(\n layout === 'dock' &&\n // Centred, so it never argues with whatever owns the right\n // corner — Box's launcher on a phone, a help desk everywhere\n // else.\n 'fixed inset-x-4 z-[80] mx-auto max-w-md',\n layout === 'dock' &&\n /**\n * `--mb-safe-bottom`, not a number of my own.\n *\n * This was `calc(84px + env(safe-area-inset-bottom))`, which is\n * a guess at the tab bar written out by hand. The real reserved\n * zone is 54px of bar plus an 18px gap plus the inset — 72 —\n * so the dock floated twelve pixels higher than `StickyCtaBar`\n * and everything else anchored down there, which reads as a\n * misalignment rather than as a choice. The token exists for\n * exactly this and moves if the bar ever changes height.\n */\n 'bottom-[var(--mb-safe-bottom)] lg:bottom-6',\n className,\n )}\n >\n <Card\n className={layout === 'dock' ? 'shadow-[var(--shadow-lg)]' : ''}\n >\n {body}\n </Card>\n </motion.div>\n )}\n </AnimatePresence>\n );\n}\n"],"mappings":"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","names":[]}
|