@endora-commerce/admin-shell 0.0.0-stage → 0.100.0
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/LICENSE +21 -0
- package/README.md +49 -2
- package/dist/AdminRoot.d.ts +45 -0
- package/dist/AdminRoot.d.ts.map +1 -0
- package/dist/AdminRoot.js +39 -0
- package/dist/AdminRoot.js.map +1 -0
- package/dist/App.d.ts +42 -0
- package/dist/App.d.ts.map +1 -0
- package/dist/App.js +94 -0
- package/dist/App.js.map +1 -0
- package/dist/components/AppShell.d.ts +5 -0
- package/dist/components/AppShell.d.ts.map +1 -0
- package/dist/components/AppShell.js +1259 -0
- package/dist/components/AppShell.js.map +1 -0
- package/dist/components/BrandLogo.d.ts +21 -0
- package/dist/components/BrandLogo.d.ts.map +1 -0
- package/dist/components/BrandLogo.js +21 -0
- package/dist/components/BrandLogo.js.map +1 -0
- package/dist/components/FederatedSignIn.d.ts +42 -0
- package/dist/components/FederatedSignIn.d.ts.map +1 -0
- package/dist/components/FederatedSignIn.js +56 -0
- package/dist/components/FederatedSignIn.js.map +1 -0
- package/dist/components/FileDropzone.d.ts +17 -0
- package/dist/components/FileDropzone.d.ts.map +1 -0
- package/dist/components/FileDropzone.js +17 -0
- package/dist/components/FileDropzone.js.map +1 -0
- package/dist/components/IdleLogout.d.ts +2 -0
- package/dist/components/IdleLogout.d.ts.map +1 -0
- package/dist/components/IdleLogout.js +90 -0
- package/dist/components/IdleLogout.js.map +1 -0
- package/dist/components/ImpersonationBanner.d.ts +13 -0
- package/dist/components/ImpersonationBanner.d.ts.map +1 -0
- package/dist/components/ImpersonationBanner.js +10 -0
- package/dist/components/ImpersonationBanner.js.map +1 -0
- package/dist/components/LanguagePicker.d.ts +3 -0
- package/dist/components/LanguagePicker.d.ts.map +1 -0
- package/dist/components/LanguagePicker.js +127 -0
- package/dist/components/LanguagePicker.js.map +1 -0
- package/dist/components/LoginPage.d.ts +11 -0
- package/dist/components/LoginPage.d.ts.map +1 -0
- package/dist/components/LoginPage.js +44 -0
- package/dist/components/LoginPage.js.map +1 -0
- package/dist/components/PaginationFooter.d.ts +18 -0
- package/dist/components/PaginationFooter.d.ts.map +1 -0
- package/dist/components/PaginationFooter.js +17 -0
- package/dist/components/PaginationFooter.js.map +1 -0
- package/dist/components/ResponsiveTable.d.ts +18 -0
- package/dist/components/ResponsiveTable.d.ts.map +1 -0
- package/dist/components/ResponsiveTable.js +17 -0
- package/dist/components/ResponsiveTable.js.map +1 -0
- package/dist/components/RowActionMenu.d.ts +18 -0
- package/dist/components/RowActionMenu.d.ts.map +1 -0
- package/dist/components/RowActionMenu.js +17 -0
- package/dist/components/RowActionMenu.js.map +1 -0
- package/dist/components/SpeechToTextButton.d.ts +14 -0
- package/dist/components/SpeechToTextButton.d.ts.map +1 -0
- package/dist/components/SpeechToTextButton.js +19 -0
- package/dist/components/SpeechToTextButton.js.map +1 -0
- package/dist/components/StickyFormActions.d.ts +18 -0
- package/dist/components/StickyFormActions.d.ts.map +1 -0
- package/dist/components/StickyFormActions.js +17 -0
- package/dist/components/StickyFormActions.js.map +1 -0
- package/dist/components/TouchReorderButtons.d.ts +18 -0
- package/dist/components/TouchReorderButtons.d.ts.map +1 -0
- package/dist/components/TouchReorderButtons.js +17 -0
- package/dist/components/TouchReorderButtons.js.map +1 -0
- package/dist/components/admin-user-picker/AdminUserPicker.d.ts +18 -0
- package/dist/components/admin-user-picker/AdminUserPicker.d.ts.map +1 -0
- package/dist/components/admin-user-picker/AdminUserPicker.js +17 -0
- package/dist/components/admin-user-picker/AdminUserPicker.js.map +1 -0
- package/dist/components/asset-picker/AssetFieldPicker.d.ts +21 -0
- package/dist/components/asset-picker/AssetFieldPicker.d.ts.map +1 -0
- package/dist/components/asset-picker/AssetFieldPicker.js +20 -0
- package/dist/components/asset-picker/AssetFieldPicker.js.map +1 -0
- package/dist/components/category-picker/CategorySelect.d.ts +18 -0
- package/dist/components/category-picker/CategorySelect.d.ts.map +1 -0
- package/dist/components/category-picker/CategorySelect.js +17 -0
- package/dist/components/category-picker/CategorySelect.js.map +1 -0
- package/dist/components/category-tree-picker/CategoryTreePicker.d.ts +18 -0
- package/dist/components/category-tree-picker/CategoryTreePicker.d.ts.map +1 -0
- package/dist/components/category-tree-picker/CategoryTreePicker.js +17 -0
- package/dist/components/category-tree-picker/CategoryTreePicker.js.map +1 -0
- package/dist/components/category-tree-picker/category-tree-utils.d.ts +18 -0
- package/dist/components/category-tree-picker/category-tree-utils.d.ts.map +1 -0
- package/dist/components/category-tree-picker/category-tree-utils.js +17 -0
- package/dist/components/category-tree-picker/category-tree-utils.js.map +1 -0
- package/dist/components/category-tree-picker/index.d.ts +18 -0
- package/dist/components/category-tree-picker/index.d.ts.map +1 -0
- package/dist/components/category-tree-picker/index.js +17 -0
- package/dist/components/category-tree-picker/index.js.map +1 -0
- package/dist/components/charts/echart.d.ts +18 -0
- package/dist/components/charts/echart.d.ts.map +1 -0
- package/dist/components/charts/echart.js +17 -0
- package/dist/components/charts/echart.js.map +1 -0
- package/dist/components/cms-picker/CmsBlockPicker.d.ts +19 -0
- package/dist/components/cms-picker/CmsBlockPicker.d.ts.map +1 -0
- package/dist/components/cms-picker/CmsBlockPicker.js +18 -0
- package/dist/components/cms-picker/CmsBlockPicker.js.map +1 -0
- package/dist/components/cms-picker/CmsPagePicker.d.ts +19 -0
- package/dist/components/cms-picker/CmsPagePicker.d.ts.map +1 -0
- package/dist/components/cms-picker/CmsPagePicker.js +18 -0
- package/dist/components/cms-picker/CmsPagePicker.js.map +1 -0
- package/dist/components/country-select/index.d.ts +18 -0
- package/dist/components/country-select/index.d.ts.map +1 -0
- package/dist/components/country-select/index.js +17 -0
- package/dist/components/country-select/index.js.map +1 -0
- package/dist/components/customer-group-picker/CustomerGroupPicker.d.ts +18 -0
- package/dist/components/customer-group-picker/CustomerGroupPicker.d.ts.map +1 -0
- package/dist/components/customer-group-picker/CustomerGroupPicker.js +17 -0
- package/dist/components/customer-group-picker/CustomerGroupPicker.js.map +1 -0
- package/dist/components/customer-picker/CustomerPicker.d.ts +18 -0
- package/dist/components/customer-picker/CustomerPicker.d.ts.map +1 -0
- package/dist/components/customer-picker/CustomerPicker.js +17 -0
- package/dist/components/customer-picker/CustomerPicker.js.map +1 -0
- package/dist/components/hooks/useFocusTrap.d.ts +17 -0
- package/dist/components/hooks/useFocusTrap.d.ts.map +1 -0
- package/dist/components/hooks/useFocusTrap.js +17 -0
- package/dist/components/hooks/useFocusTrap.js.map +1 -0
- package/dist/components/hooks/useSpeechToText.d.ts +15 -0
- package/dist/components/hooks/useSpeechToText.d.ts.map +1 -0
- package/dist/components/hooks/useSpeechToText.js +63 -0
- package/dist/components/hooks/useSpeechToText.js.map +1 -0
- package/dist/components/hooks/useViewportTier.d.ts +18 -0
- package/dist/components/hooks/useViewportTier.d.ts.map +1 -0
- package/dist/components/hooks/useViewportTier.js +17 -0
- package/dist/components/hooks/useViewportTier.js.map +1 -0
- package/dist/components/notifications/NotificationBell.d.ts +13 -0
- package/dist/components/notifications/NotificationBell.d.ts.map +1 -0
- package/dist/components/notifications/NotificationBell.js +154 -0
- package/dist/components/notifications/NotificationBell.js.map +1 -0
- package/dist/components/notifications/index.d.ts +3 -0
- package/dist/components/notifications/index.d.ts.map +1 -0
- package/dist/components/notifications/index.js +3 -0
- package/dist/components/notifications/index.js.map +1 -0
- package/dist/components/notifications/useAdminNotifications.d.ts +41 -0
- package/dist/components/notifications/useAdminNotifications.d.ts.map +1 -0
- package/dist/components/notifications/useAdminNotifications.js +86 -0
- package/dist/components/notifications/useAdminNotifications.js.map +1 -0
- package/dist/components/organization-picker/OrganizationPicker.d.ts +19 -0
- package/dist/components/organization-picker/OrganizationPicker.d.ts.map +1 -0
- package/dist/components/organization-picker/OrganizationPicker.js +18 -0
- package/dist/components/organization-picker/OrganizationPicker.js.map +1 -0
- package/dist/components/organization-picker/OrganizationPickerMulti.d.ts +19 -0
- package/dist/components/organization-picker/OrganizationPickerMulti.d.ts.map +1 -0
- package/dist/components/organization-picker/OrganizationPickerMulti.js +18 -0
- package/dist/components/organization-picker/OrganizationPickerMulti.js.map +1 -0
- package/dist/components/organization-picker/OrganizationStatusBadge.d.ts +19 -0
- package/dist/components/organization-picker/OrganizationStatusBadge.d.ts.map +1 -0
- package/dist/components/organization-picker/OrganizationStatusBadge.js +18 -0
- package/dist/components/organization-picker/OrganizationStatusBadge.js.map +1 -0
- package/dist/components/organization-picker/index.d.ts +19 -0
- package/dist/components/organization-picker/index.d.ts.map +1 -0
- package/dist/components/organization-picker/index.js +18 -0
- package/dist/components/organization-picker/index.js.map +1 -0
- package/dist/components/organization-picker/useOrganizationsQuery.d.ts +19 -0
- package/dist/components/organization-picker/useOrganizationsQuery.d.ts.map +1 -0
- package/dist/components/organization-picker/useOrganizationsQuery.js +18 -0
- package/dist/components/organization-picker/useOrganizationsQuery.js.map +1 -0
- package/dist/components/payment-method-availability/MethodAvailabilityCell.d.ts +17 -0
- package/dist/components/payment-method-availability/MethodAvailabilityCell.d.ts.map +1 -0
- package/dist/components/payment-method-availability/MethodAvailabilityCell.js +17 -0
- package/dist/components/payment-method-availability/MethodAvailabilityCell.js.map +1 -0
- package/dist/components/prompt-actions/PromptModePanel.d.ts +24 -0
- package/dist/components/prompt-actions/PromptModePanel.d.ts.map +1 -0
- package/dist/components/prompt-actions/PromptModePanel.js +115 -0
- package/dist/components/prompt-actions/PromptModePanel.js.map +1 -0
- package/dist/components/prompt-actions/PromptPlanPreview.d.ts +20 -0
- package/dist/components/prompt-actions/PromptPlanPreview.d.ts.map +1 -0
- package/dist/components/prompt-actions/PromptPlanPreview.js +12 -0
- package/dist/components/prompt-actions/PromptPlanPreview.js.map +1 -0
- package/dist/components/reorder/ReorderAnnouncer.d.ts +18 -0
- package/dist/components/reorder/ReorderAnnouncer.d.ts.map +1 -0
- package/dist/components/reorder/ReorderAnnouncer.js +17 -0
- package/dist/components/reorder/ReorderAnnouncer.js.map +1 -0
- package/dist/components/reorder/useReorderList.d.ts +18 -0
- package/dist/components/reorder/useReorderList.d.ts.map +1 -0
- package/dist/components/reorder/useReorderList.js +17 -0
- package/dist/components/reorder/useReorderList.js.map +1 -0
- package/dist/components/rule-builder/RuleBuilder.d.ts +18 -0
- package/dist/components/rule-builder/RuleBuilder.d.ts.map +1 -0
- package/dist/components/rule-builder/RuleBuilder.js +17 -0
- package/dist/components/rule-builder/RuleBuilder.js.map +1 -0
- package/dist/components/sales-channel-picker/SalesChannelPicker.d.ts +19 -0
- package/dist/components/sales-channel-picker/SalesChannelPicker.d.ts.map +1 -0
- package/dist/components/sales-channel-picker/SalesChannelPicker.js +18 -0
- package/dist/components/sales-channel-picker/SalesChannelPicker.js.map +1 -0
- package/dist/components/scope-notice/ScopeNotice.d.ts +18 -0
- package/dist/components/scope-notice/ScopeNotice.d.ts.map +1 -0
- package/dist/components/scope-notice/ScopeNotice.js +17 -0
- package/dist/components/scope-notice/ScopeNotice.js.map +1 -0
- package/dist/components/ui/alert.d.ts +18 -0
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/alert.js +17 -0
- package/dist/components/ui/alert.js.map +1 -0
- package/dist/components/ui/badge.d.ts +18 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/badge.js +17 -0
- package/dist/components/ui/badge.js.map +1 -0
- package/dist/components/ui/button.d.ts +18 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.js +17 -0
- package/dist/components/ui/button.js.map +1 -0
- package/dist/components/ui/card.d.ts +17 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/card.js +17 -0
- package/dist/components/ui/card.js.map +1 -0
- package/dist/components/ui/checkbox.d.ts +17 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/checkbox.js +17 -0
- package/dist/components/ui/checkbox.js.map +1 -0
- package/dist/components/ui/collapsible.d.ts +5 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -0
- package/dist/components/ui/collapsible.js +5 -0
- package/dist/components/ui/collapsible.js.map +1 -0
- package/dist/components/ui/color-picker.d.ts +17 -0
- package/dist/components/ui/color-picker.d.ts.map +1 -0
- package/dist/components/ui/color-picker.js +17 -0
- package/dist/components/ui/color-picker.js.map +1 -0
- package/dist/components/ui/combobox.d.ts +18 -0
- package/dist/components/ui/combobox.d.ts.map +1 -0
- package/dist/components/ui/combobox.js +17 -0
- package/dist/components/ui/combobox.js.map +1 -0
- package/dist/components/ui/input.d.ts +17 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/input.js +17 -0
- package/dist/components/ui/input.js.map +1 -0
- package/dist/components/ui/label.d.ts +17 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +17 -0
- package/dist/components/ui/label.js.map +1 -0
- package/dist/components/ui/multi-select.d.ts +18 -0
- package/dist/components/ui/multi-select.d.ts.map +1 -0
- package/dist/components/ui/multi-select.js +17 -0
- package/dist/components/ui/multi-select.js.map +1 -0
- package/dist/components/ui/page-header.d.ts +18 -0
- package/dist/components/ui/page-header.d.ts.map +1 -0
- package/dist/components/ui/page-header.js +17 -0
- package/dist/components/ui/page-header.js.map +1 -0
- package/dist/components/ui/route-tabs.d.ts +18 -0
- package/dist/components/ui/route-tabs.d.ts.map +1 -0
- package/dist/components/ui/route-tabs.js +17 -0
- package/dist/components/ui/route-tabs.js.map +1 -0
- package/dist/components/ui/save-button-group.d.ts +18 -0
- package/dist/components/ui/save-button-group.d.ts.map +1 -0
- package/dist/components/ui/save-button-group.js +17 -0
- package/dist/components/ui/save-button-group.js.map +1 -0
- package/dist/components/ui/select.d.ts +17 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/select.js +17 -0
- package/dist/components/ui/select.js.map +1 -0
- package/dist/components/ui/separator.d.ts +17 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/separator.js +17 -0
- package/dist/components/ui/separator.js.map +1 -0
- package/dist/components/ui/table.d.ts +17 -0
- package/dist/components/ui/table.d.ts.map +1 -0
- package/dist/components/ui/table.js +17 -0
- package/dist/components/ui/table.js.map +1 -0
- package/dist/components/ui/textarea.d.ts +17 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/textarea.js +17 -0
- package/dist/components/ui/textarea.js.map +1 -0
- package/dist/i18n/TranslationProvider.d.ts +18 -0
- package/dist/i18n/TranslationProvider.d.ts.map +1 -0
- package/dist/i18n/TranslationProvider.js +17 -0
- package/dist/i18n/TranslationProvider.js.map +1 -0
- package/dist/i18n/app-language-context.d.ts +18 -0
- package/dist/i18n/app-language-context.d.ts.map +1 -0
- package/dist/i18n/app-language-context.js +17 -0
- package/dist/i18n/app-language-context.js.map +1 -0
- package/dist/i18n/interpolate.d.ts +17 -0
- package/dist/i18n/interpolate.d.ts.map +1 -0
- package/dist/i18n/interpolate.js +17 -0
- package/dist/i18n/interpolate.js.map +1 -0
- package/dist/i18n/language-storage.d.ts +17 -0
- package/dist/i18n/language-storage.d.ts.map +1 -0
- package/dist/i18n/language-storage.js +17 -0
- package/dist/i18n/language-storage.js.map +1 -0
- package/dist/i18n/preauth-login-copy.d.ts +36 -0
- package/dist/i18n/preauth-login-copy.d.ts.map +1 -0
- package/dist/i18n/preauth-login-copy.js +36 -0
- package/dist/i18n/preauth-login-copy.js.map +1 -0
- package/dist/i18n/resolver.d.ts +18 -0
- package/dist/i18n/resolver.d.ts.map +1 -0
- package/dist/i18n/resolver.js +17 -0
- package/dist/i18n/resolver.js.map +1 -0
- package/dist/i18n/types.d.ts +17 -0
- package/dist/i18n/types.d.ts.map +1 -0
- package/dist/i18n/types.js +2 -0
- package/dist/i18n/types.js.map +1 -0
- package/dist/i18n/useTranslation.d.ts +17 -0
- package/dist/i18n/useTranslation.d.ts.map +1 -0
- package/dist/i18n/useTranslation.js +17 -0
- package/dist/i18n/useTranslation.js.map +1 -0
- package/dist/index.d.ts +55 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +51 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/admin-actions/AdminActionsProvider.d.ts +29 -0
- package/dist/lib/admin-actions/AdminActionsProvider.d.ts.map +1 -0
- package/dist/lib/admin-actions/AdminActionsProvider.js +51 -0
- package/dist/lib/admin-actions/AdminActionsProvider.js.map +1 -0
- package/dist/lib/admin-actions/api.d.ts +10 -0
- package/dist/lib/admin-actions/api.d.ts.map +1 -0
- package/dist/lib/admin-actions/api.js +13 -0
- package/dist/lib/admin-actions/api.js.map +1 -0
- package/dist/lib/admin-actions/icon-map.d.ts +17 -0
- package/dist/lib/admin-actions/icon-map.d.ts.map +1 -0
- package/dist/lib/admin-actions/icon-map.js +17 -0
- package/dist/lib/admin-actions/icon-map.js.map +1 -0
- package/dist/lib/admin-actions/useAdminActions.d.ts +17 -0
- package/dist/lib/admin-actions/useAdminActions.d.ts.map +1 -0
- package/dist/lib/admin-actions/useAdminActions.js +34 -0
- package/dist/lib/admin-actions/useAdminActions.js.map +1 -0
- package/dist/lib/api-client.d.ts +17 -0
- package/dist/lib/api-client.d.ts.map +1 -0
- package/dist/lib/api-client.js +17 -0
- package/dist/lib/api-client.js.map +1 -0
- package/dist/lib/auth.d.ts +18 -0
- package/dist/lib/auth.d.ts.map +1 -0
- package/dist/lib/auth.js +17 -0
- package/dist/lib/auth.js.map +1 -0
- package/dist/lib/federated-sign-in/api.d.ts +4 -0
- package/dist/lib/federated-sign-in/api.d.ts.map +1 -0
- package/dist/lib/federated-sign-in/api.js +38 -0
- package/dist/lib/federated-sign-in/api.js.map +1 -0
- package/dist/lib/federated-sign-in/index.d.ts +4 -0
- package/dist/lib/federated-sign-in/index.d.ts.map +1 -0
- package/dist/lib/federated-sign-in/index.js +4 -0
- package/dist/lib/federated-sign-in/index.js.map +1 -0
- package/dist/lib/federated-sign-in/resolve.d.ts +47 -0
- package/dist/lib/federated-sign-in/resolve.d.ts.map +1 -0
- package/dist/lib/federated-sign-in/resolve.js +24 -0
- package/dist/lib/federated-sign-in/resolve.js.map +1 -0
- package/dist/lib/federated-sign-in/useFederatedSignIn.d.ts +15 -0
- package/dist/lib/federated-sign-in/useFederatedSignIn.d.ts.map +1 -0
- package/dist/lib/federated-sign-in/useFederatedSignIn.js +37 -0
- package/dist/lib/federated-sign-in/useFederatedSignIn.js.map +1 -0
- package/dist/lib/format.d.ts +17 -0
- package/dist/lib/format.d.ts.map +1 -0
- package/dist/lib/format.js +17 -0
- package/dist/lib/format.js.map +1 -0
- package/dist/lib/module-presence/index.d.ts +19 -0
- package/dist/lib/module-presence/index.d.ts.map +1 -0
- package/dist/lib/module-presence/index.js +18 -0
- package/dist/lib/module-presence/index.js.map +1 -0
- package/dist/lib/module-registry/index.d.ts +84 -0
- package/dist/lib/module-registry/index.d.ts.map +1 -0
- package/dist/lib/module-registry/index.js +104 -0
- package/dist/lib/module-registry/index.js.map +1 -0
- package/dist/lib/money.d.ts +17 -0
- package/dist/lib/money.d.ts.map +1 -0
- package/dist/lib/money.js +17 -0
- package/dist/lib/money.js.map +1 -0
- package/dist/lib/prompt-actions/api.d.ts +10 -0
- package/dist/lib/prompt-actions/api.d.ts.map +1 -0
- package/dist/lib/prompt-actions/api.js +41 -0
- package/dist/lib/prompt-actions/api.js.map +1 -0
- package/dist/lib/prompt-actions/usePromptRequest.d.ts +26 -0
- package/dist/lib/prompt-actions/usePromptRequest.d.ts.map +1 -0
- package/dist/lib/prompt-actions/usePromptRequest.js +113 -0
- package/dist/lib/prompt-actions/usePromptRequest.js.map +1 -0
- package/dist/lib/surface-visibility.d.ts +15 -0
- package/dist/lib/surface-visibility.d.ts.map +1 -0
- package/dist/lib/surface-visibility.js +14 -0
- package/dist/lib/surface-visibility.js.map +1 -0
- package/dist/lib/text-normalization.d.ts +17 -0
- package/dist/lib/text-normalization.d.ts.map +1 -0
- package/dist/lib/text-normalization.js +17 -0
- package/dist/lib/text-normalization.js.map +1 -0
- package/dist/lib/use-page-size-preference.d.ts +16 -0
- package/dist/lib/use-page-size-preference.d.ts.map +1 -0
- package/dist/lib/use-page-size-preference.js +15 -0
- package/dist/lib/use-page-size-preference.js.map +1 -0
- package/dist/lib/use-unsaved-changes-prompt.d.ts +17 -0
- package/dist/lib/use-unsaved-changes-prompt.d.ts.map +1 -0
- package/dist/lib/use-unsaved-changes-prompt.js +17 -0
- package/dist/lib/use-unsaved-changes-prompt.js.map +1 -0
- package/dist/lib/utils.d.ts +17 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +17 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/lib/uuid.d.ts +17 -0
- package/dist/lib/uuid.d.ts.map +1 -0
- package/dist/lib/uuid.js +17 -0
- package/dist/lib/uuid.js.map +1 -0
- package/dist/modules/home/HomePage.d.ts +3 -0
- package/dist/modules/home/HomePage.d.ts.map +1 -0
- package/dist/modules/home/HomePage.js +137 -0
- package/dist/modules/home/HomePage.js.map +1 -0
- package/dist/modules/home/RecentActivityCard.d.ts +3 -0
- package/dist/modules/home/RecentActivityCard.d.ts.map +1 -0
- package/dist/modules/home/RecentActivityCard.js +94 -0
- package/dist/modules/home/RecentActivityCard.js.map +1 -0
- package/dist/modules/home/activity-render.d.ts +69 -0
- package/dist/modules/home/activity-render.d.ts.map +1 -0
- package/dist/modules/home/activity-render.js +53 -0
- package/dist/modules/home/activity-render.js.map +1 -0
- package/dist/modules/home/useRecentActivity.d.ts +41 -0
- package/dist/modules/home/useRecentActivity.d.ts.map +1 -0
- package/dist/modules/home/useRecentActivity.js +57 -0
- package/dist/modules/home/useRecentActivity.js.map +1 -0
- package/dist/modules/platform/ModuleActivationControl.d.ts +28 -0
- package/dist/modules/platform/ModuleActivationControl.d.ts.map +1 -0
- package/dist/modules/platform/ModuleActivationControl.js +88 -0
- package/dist/modules/platform/ModuleActivationControl.js.map +1 -0
- package/dist/modules/platform/ModulesPage.d.ts +76 -0
- package/dist/modules/platform/ModulesPage.d.ts.map +1 -0
- package/dist/modules/platform/ModulesPage.js +175 -0
- package/dist/modules/platform/ModulesPage.js.map +1 -0
- package/dist/modules/platform/RecentActivityVisibilityControl.d.ts +38 -0
- package/dist/modules/platform/RecentActivityVisibilityControl.d.ts.map +1 -0
- package/dist/modules/platform/RecentActivityVisibilityControl.js +26 -0
- package/dist/modules/platform/RecentActivityVisibilityControl.js.map +1 -0
- package/dist/modules/platform/api.d.ts +27 -0
- package/dist/modules/platform/api.d.ts.map +1 -0
- package/dist/modules/platform/api.js +33 -0
- package/dist/modules/platform/api.js.map +1 -0
- package/dist/modules/profile/ProfilePage.d.ts +11 -0
- package/dist/modules/profile/ProfilePage.d.ts.map +1 -0
- package/dist/modules/profile/ProfilePage.js +140 -0
- package/dist/modules/profile/ProfilePage.js.map +1 -0
- package/dist/registerSw.d.ts +7 -0
- package/dist/registerSw.d.ts.map +1 -0
- package/dist/registerSw.js +20 -0
- package/dist/registerSw.js.map +1 -0
- package/package.json +74 -3
- package/tailwind.css +14 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { PromptActionRequestDto } from '@endora-commerce/contracts';
|
|
3
|
+
/**
|
|
4
|
+
* The palette's prompt mode (feature 043, research §R9): input →
|
|
5
|
+
* interpreting → plan preview / clarification / terminal message →
|
|
6
|
+
* executing → result. Composed from existing primitives (Button, palette
|
|
7
|
+
* styles); the only net-new visual primitive is PromptPlanPreview.
|
|
8
|
+
*
|
|
9
|
+
* Esc handling lives in the parent CommandPalette: in prompt mode it calls
|
|
10
|
+
* `onExit` (back to classic search) instead of closing.
|
|
11
|
+
*/
|
|
12
|
+
interface Props {
|
|
13
|
+
onExit: () => void;
|
|
14
|
+
/** FR-018: a finished request opened from the completion notice. */
|
|
15
|
+
initialRequest?: PromptActionRequestDto;
|
|
16
|
+
/**
|
|
17
|
+
* Pre-fills the prompt input — used when the operator opened prompt mode via
|
|
18
|
+
* the `/ai <command>` palette shortcut so the typed command carries over.
|
|
19
|
+
*/
|
|
20
|
+
initialPrompt?: string;
|
|
21
|
+
}
|
|
22
|
+
export declare function PromptModePanel({ onExit, initialRequest, initialPrompt }: Props): ReactNode;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=PromptModePanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PromptModePanel.d.ts","sourceRoot":"","sources":["../../../src/components/prompt-actions/PromptModePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpE,OAAO,KAAK,EAAE,sBAAsB,EAAmB,MAAM,4BAA4B,CAAC;AAQ1F;;;;;;;;GAQG;AAEH,UAAU,KAAK;IACb,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,oEAAoE;IACpE,cAAc,CAAC,EAAE,sBAAsB,CAAC;IACxC;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,eAAe,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,aAAa,EAAE,EAAE,KAAK,GAAG,SAAS,CAwQ3F"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useRef, useState } from 'react';
|
|
3
|
+
import { Loader2, Sparkles } from 'lucide-react';
|
|
4
|
+
import { Button } from '../ui/button.js';
|
|
5
|
+
import { useTranslation } from '../../i18n/useTranslation.js';
|
|
6
|
+
import { markPromptRequestSeen } from '../../lib/prompt-actions/api.js';
|
|
7
|
+
import { usePromptRequest } from '../../lib/prompt-actions/usePromptRequest.js';
|
|
8
|
+
import { PromptPlanPreview } from './PromptPlanPreview.js';
|
|
9
|
+
import { SpeechToTextButton } from '../SpeechToTextButton.js';
|
|
10
|
+
export function PromptModePanel({ onExit, initialRequest, initialPrompt }) {
|
|
11
|
+
const t = useTranslation('prompt_actions');
|
|
12
|
+
const [prompt, setPrompt] = useState(initialPrompt ?? '');
|
|
13
|
+
const [freeText, setFreeText] = useState('');
|
|
14
|
+
const inputRef = useRef(null);
|
|
15
|
+
const { phase, request, errorCode, submit, clarify, confirm, cancel, reset, load } = usePromptRequest();
|
|
16
|
+
useEffect(() => {
|
|
17
|
+
if (!initialRequest)
|
|
18
|
+
return;
|
|
19
|
+
load(initialRequest);
|
|
20
|
+
// Opening the outcome acknowledges the notice.
|
|
21
|
+
void markPromptRequestSeen(initialRequest.id).catch(() => undefined);
|
|
22
|
+
}, [initialRequest, load]);
|
|
23
|
+
useEffect(() => {
|
|
24
|
+
inputRef.current?.focus();
|
|
25
|
+
}, [phase]);
|
|
26
|
+
const busy = phase === 'interpreting' || phase === 'executing';
|
|
27
|
+
const handleCancelPlan = () => {
|
|
28
|
+
// FR-004/US1-AC3: cancel returns to the input with the prompt preserved.
|
|
29
|
+
void cancel();
|
|
30
|
+
};
|
|
31
|
+
const handleClose = () => {
|
|
32
|
+
reset();
|
|
33
|
+
onExit();
|
|
34
|
+
};
|
|
35
|
+
const terminalMessageKey = () => {
|
|
36
|
+
if (phase === 'request_error') {
|
|
37
|
+
if (errorCode === 'PROMPT_REQUEST_IN_FLIGHT')
|
|
38
|
+
return 'panel.inFlight';
|
|
39
|
+
if (errorCode === 'PROMPT_PLAN_EXPIRED')
|
|
40
|
+
return 'panel.planExpired';
|
|
41
|
+
if (errorCode === 'PROMPT_PERMISSION_REVOKED')
|
|
42
|
+
return 'panel.refused';
|
|
43
|
+
return 'panel.providerError';
|
|
44
|
+
}
|
|
45
|
+
if (phase !== 'finished' || !request)
|
|
46
|
+
return null;
|
|
47
|
+
switch (request.status) {
|
|
48
|
+
case 'completed':
|
|
49
|
+
return 'panel.success';
|
|
50
|
+
case 'completed_with_errors':
|
|
51
|
+
return 'panel.successWithErrors';
|
|
52
|
+
case 'unsupported':
|
|
53
|
+
return 'panel.unsupported';
|
|
54
|
+
case 'refused':
|
|
55
|
+
return 'panel.refused';
|
|
56
|
+
case 'failed':
|
|
57
|
+
return 'panel.failed';
|
|
58
|
+
case 'cancelled':
|
|
59
|
+
return null;
|
|
60
|
+
case 'expired':
|
|
61
|
+
return 'panel.planExpired';
|
|
62
|
+
default:
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
const resultSummary = () => {
|
|
67
|
+
const ops = request?.result?.operations ?? [];
|
|
68
|
+
if (ops.length === 0)
|
|
69
|
+
return null;
|
|
70
|
+
let succeeded = 0;
|
|
71
|
+
let failed = 0;
|
|
72
|
+
const failures = [];
|
|
73
|
+
for (const op of ops) {
|
|
74
|
+
const sub = op.summary;
|
|
75
|
+
if (sub) {
|
|
76
|
+
succeeded += sub.succeeded;
|
|
77
|
+
failed += sub.failed;
|
|
78
|
+
for (const f of sub.failures ?? []) {
|
|
79
|
+
failures.push({ key: `${op.toolId}-${f.id}`, message: `${f.label ?? f.id}: ${f.reason}` });
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
else if (op.status === 'succeeded') {
|
|
83
|
+
succeeded += 1;
|
|
84
|
+
}
|
|
85
|
+
else if (op.status === 'failed') {
|
|
86
|
+
failed += 1;
|
|
87
|
+
if (op.message)
|
|
88
|
+
failures.push({ key: op.toolId, message: op.message });
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
return (_jsxs("div", { "data-testid": "prompt-result-summary", style: { fontSize: 12, marginTop: 8 }, children: [_jsx("span", { children: t('panel.resultSucceeded', { count: succeeded }) }), failed > 0 ? (_jsxs(_Fragment, { children: [_jsx("span", { children: " \u00B7 " }), _jsx("span", { children: t('panel.resultFailed', { count: failed }) }), _jsx("ul", { style: { margin: '6px 0 0 16px', color: 'var(--fg-muted)' }, children: failures.map((f) => (_jsx("li", { children: f.message }, f.key))) })] })) : null] }));
|
|
92
|
+
};
|
|
93
|
+
const message = terminalMessageKey();
|
|
94
|
+
return (_jsxs("div", { "data-testid": "prompt-mode-panel", children: [_jsxs("div", { className: "b2b-palette__input", children: [_jsx(Sparkles, { size: 18, style: { color: 'var(--fg-muted)' } }), _jsx("input", { ref: inputRef, "data-testid": "prompt-input", placeholder: t('panel.inputPlaceholder'), value: prompt, disabled: busy || phase === 'awaiting_confirmation', onChange: (e) => setPrompt(e.target.value), onKeyDown: (e) => {
|
|
95
|
+
if (e.key === 'Enter' && prompt.trim() && phase === 'idle') {
|
|
96
|
+
e.preventDefault();
|
|
97
|
+
void submit(prompt.trim());
|
|
98
|
+
}
|
|
99
|
+
} }), !busy && phase !== 'awaiting_confirmation' ? (_jsx(SpeechToTextButton, { startTitle: t('panel.voiceInput'), stopTitle: t('panel.voiceInputStop'), onTranscript: (text) => {
|
|
100
|
+
setPrompt((p) => (p ? `${p} ${text}` : text));
|
|
101
|
+
inputRef.current?.focus();
|
|
102
|
+
} })) : null, _jsx("span", { className: "b2b-kbd-sm", children: "esc" })] }), phase === 'idle' ? (_jsxs("div", { style: { display: 'flex', gap: 8, padding: '10px 16px' }, children: [_jsx(Button, { type: "button", size: "sm", disabled: !prompt.trim(), onClick: () => void submit(prompt.trim()), children: t('panel.submit') }), _jsx(Button, { type: "button", size: "sm", variant: "ghost", onClick: handleClose, children: t('panel.back') })] })) : null, busy ? (_jsxs("div", { "data-testid": "prompt-busy", style: {
|
|
103
|
+
display: 'flex',
|
|
104
|
+
alignItems: 'center',
|
|
105
|
+
gap: 8,
|
|
106
|
+
padding: '14px 16px',
|
|
107
|
+
fontSize: 13,
|
|
108
|
+
color: 'var(--fg-muted)',
|
|
109
|
+
}, children: [_jsx(Loader2, { size: 16, className: "animate-spin" }), phase === 'interpreting' ? t('panel.interpreting') : t('panel.executing')] })) : null, phase === 'awaiting_confirmation' && request?.plan ? (_jsx(PromptPlanPreview, { plan: request.plan, busy: false, onConfirm: () => void confirm(), onCancel: handleCancelPlan })) : null, phase === 'needs_clarification' && request?.clarification ? (_jsxs("div", { "data-testid": "prompt-clarification", style: { padding: '12px 16px' }, children: [_jsx("div", { style: { fontSize: 12, color: 'var(--fg-muted)', marginBottom: 6 }, children: t('panel.clarificationHeading') }), _jsx("div", { style: { fontSize: 13, fontWeight: 600, marginBottom: 8 }, children: request.clarification.question }), request.clarification.kind === 'entity_choice' &&
|
|
110
|
+
(request.clarification.candidates?.length ?? 0) > 0 ? (_jsx("div", { style: { display: 'flex', flexDirection: 'column', gap: 4 }, children: request.clarification.candidates.map((c) => (_jsx("button", { type: "button", className: "b2b-palette__item", style: { width: '100%', textAlign: 'left' }, onClick: () => void clarify({ selectedCandidateId: c.id }), children: _jsxs("div", { children: [_jsx("div", { children: c.label }), c.hint ? (_jsx("div", { style: { fontSize: 11, color: 'var(--fg-muted)' }, children: c.hint })) : null] }) }, c.id))) })) : (_jsxs("div", { style: { display: 'flex', gap: 8 }, children: [_jsx("input", { "data-testid": "prompt-clarification-text", className: "b2b-input", style: { flex: 1, fontSize: 13 }, placeholder: t('panel.clarificationFreeTextPlaceholder'), value: freeText, onChange: (e) => setFreeText(e.target.value) }), _jsx(Button, { type: "button", size: "sm", disabled: !freeText.trim(), onClick: () => void clarify({ text: freeText.trim() }), children: t('panel.clarificationSubmit') })] })), _jsx("div", { style: { marginTop: 10 }, children: _jsx(Button, { type: "button", size: "sm", variant: "ghost", onClick: handleCancelPlan, children: t('panel.cancel') }) })] })) : null, message ? (_jsxs("div", { "data-testid": "prompt-message", style: { padding: '12px 16px', fontSize: 13 }, children: [_jsx("div", { children: t(message) }), request?.error && (request.status === 'unsupported' || request.status === 'failed') ? (_jsx("div", { style: { fontSize: 12, color: 'var(--fg-muted)', marginTop: 4 }, children: request.error })) : null, resultSummary(), _jsxs("div", { style: { marginTop: 10 }, children: [_jsx(Button, { type: "button", size: "sm", variant: "ghost", onClick: () => {
|
|
111
|
+
reset();
|
|
112
|
+
setPrompt('');
|
|
113
|
+
}, children: t('panel.back') }), _jsx(Button, { type: "button", size: "sm", variant: "ghost", onClick: handleClose, style: { marginLeft: 8 }, children: t('panel.close') })] })] })) : null] }));
|
|
114
|
+
}
|
|
115
|
+
//# sourceMappingURL=PromptModePanel.js.map
|
|
@@ -0,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AAY,CAAC,GACT,EACT,KAAC,MAAM,IACL,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,IAAI,EACT,OAAO,EAAC,OAAO,EACf,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,EAAE,UAAU,EAAE,CAAC,EAAE,YAEvB,CAAC,CAAC,aAAa,CAAC,GACV,IACL,IACF,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { PromptActionPlan } from '@endora-commerce/contracts';
|
|
3
|
+
/**
|
|
4
|
+
* Confirmable plan card (feature 043, US1/US2 — FR-004).
|
|
5
|
+
*
|
|
6
|
+
* Net-new primitive, justified in plan.md (Principle IX): no existing Admin
|
|
7
|
+
* UI component renders a pre-execution diff/confirmation card inside the
|
|
8
|
+
* command palette without breaking its keyboard model. Everything shown here
|
|
9
|
+
* is SERVER-COMPUTED (headline, current values, affected counts, samples) —
|
|
10
|
+
* model prose never reaches this card (research §R8).
|
|
11
|
+
*/
|
|
12
|
+
interface Props {
|
|
13
|
+
plan: PromptActionPlan;
|
|
14
|
+
busy: boolean;
|
|
15
|
+
onConfirm: () => void;
|
|
16
|
+
onCancel: () => void;
|
|
17
|
+
}
|
|
18
|
+
export declare function PromptPlanPreview({ plan, busy, onConfirm, onCancel }: Props): ReactNode;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=PromptPlanPreview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PromptPlanPreview.d.ts","sourceRoot":"","sources":["../../../src/components/prompt-actions/PromptPlanPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAInE;;;;;;;;GAQG;AAEH,UAAU,KAAK;IACb,IAAI,EAAE,gBAAgB,CAAC;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,KAAK,GAAG,SAAS,CAuDvF"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Button } from '../ui/button.js';
|
|
3
|
+
import { useTranslation } from '../../i18n/useTranslation.js';
|
|
4
|
+
export function PromptPlanPreview({ plan, busy, onConfirm, onCancel }) {
|
|
5
|
+
const t = useTranslation('prompt_actions');
|
|
6
|
+
return (_jsxs("div", { "data-testid": "prompt-plan-preview", style: { padding: '12px 16px' }, children: [_jsx("div", { style: { fontSize: 12, color: 'var(--fg-muted)', marginBottom: 8 }, children: t('panel.planHeading') }), _jsx("div", { style: { display: 'flex', flexDirection: 'column', gap: 10 }, children: plan.operations.map((op, i) => (_jsxs("div", { style: {
|
|
7
|
+
border: '1px solid var(--border)',
|
|
8
|
+
borderRadius: 8,
|
|
9
|
+
padding: '10px 12px',
|
|
10
|
+
}, children: [_jsx("div", { style: { fontSize: 13, fontWeight: 600 }, children: op.preview.headline }), op.preview.current !== undefined ? (_jsxs("div", { style: { fontSize: 12, color: 'var(--fg-muted)', marginTop: 4 }, children: [t('panel.currentValue'), ' ', _jsx("code", { style: { fontSize: 11 }, children: JSON.stringify(op.preview.current) })] })) : null, op.preview.affectedCount > 1 ? (_jsx("div", { style: { fontSize: 12, marginTop: 4 }, children: t('panel.affectedCount', { count: op.preview.affectedCount }) })) : null, op.preview.sample && op.preview.sample.length > 0 ? (_jsxs("div", { style: { fontSize: 12, color: 'var(--fg-muted)', marginTop: 6 }, children: [_jsx("div", { children: t('panel.sampleHeading') }), _jsx("ul", { style: { margin: '4px 0 0 16px', padding: 0 }, children: op.preview.sample.map((s) => (_jsx("li", { children: s.label }, s.id))) })] })) : null] }, `${op.toolId}-${i}`))) }), _jsx("div", { style: { fontSize: 11, color: 'var(--fg-muted)', marginTop: 10 }, children: t('panel.expiresHint') }), _jsxs("div", { style: { display: 'flex', gap: 8, marginTop: 12 }, children: [_jsx(Button, { type: "button", size: "sm", onClick: onConfirm, disabled: busy, children: t('panel.confirm') }), _jsx(Button, { type: "button", size: "sm", variant: "ghost", onClick: onCancel, disabled: busy, children: t('panel.cancel') })] })] }));
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=PromptPlanPreview.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PromptPlanPreview.js","sourceRoot":"","sources":["../../../src/components/prompt-actions/PromptPlanPreview.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAmB9D,MAAM,UAAU,iBAAiB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAS;IAC1E,MAAM,CAAC,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAC;IAC3C,OAAO,CACL,8BAAiB,qBAAqB,EAAC,KAAK,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,aACpE,cAAK,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,CAAC,EAAE,YACpE,CAAC,CAAC,mBAAmB,CAAC,GACnB,EACN,cAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,EAAE,YAC9D,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAC9B,eAEE,KAAK,EAAE;wBACL,MAAM,EAAE,yBAAyB;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CAAC,CAAC,EAAE,EAAE,CAAC,CAC5B,uBAAgB,CAAC,CAAC,KAAK,IAAd,CAAC,CAAC,EAAE,CAAgB,CAC9B,CAAC,GACC,IACD,CACP,CAAC,CAAC,CAAC,IAAI,KA5BH,GAAG,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,CA6BpB,CACP,CAAC,GACE,EACN,cAAK,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,EAAE,EAAE,YAClE,CAAC,CAAC,mBAAmB,CAAC,GACnB,EACN,eAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,aACpD,KAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,IAAI,EAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,YAC/D,CAAC,CAAC,eAAe,CAAC,GACZ,EACT,KAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,IAAI,EAAC,OAAO,EAAC,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,YAC9E,CAAC,CAAC,cAAc,CAAC,GACX,IACL,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export shim — this file's implementation now lives in
|
|
3
|
+
* `@endora-commerce/admin-kit/components` (feature 091, Phase 1b).
|
|
4
|
+
*
|
|
5
|
+
* The design system moved into the package so that a module package's `./admin` layer
|
|
6
|
+
* can reach it by a bare specifier through an `exports` map (FR-008): `@/` is a Vite and
|
|
7
|
+
* `tsc` alias that an installed package cannot resolve. Every existing `@/…` specifier in
|
|
8
|
+
* this application arrives here and is forwarded, so nothing outside had to be rewritten
|
|
9
|
+
* — the shape feature 080 used for the platform relocation.
|
|
10
|
+
*
|
|
11
|
+
* **The forwarding is the identity, not a copy.** These names are the package's own
|
|
12
|
+
* bindings; `admin/test/kit/admin-kit-shims.test.ts` asserts reference equality across
|
|
13
|
+
* the seam, because a second React context or a second `z.enum` passes every structural
|
|
14
|
+
* comparison and still breaks at runtime.
|
|
15
|
+
*/
|
|
16
|
+
export { ReorderAnnouncer } from '@endora-commerce/admin-kit/components';
|
|
17
|
+
export type { ReorderAnnouncerProps } from '@endora-commerce/admin-kit/components';
|
|
18
|
+
//# sourceMappingURL=ReorderAnnouncer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReorderAnnouncer.d.ts","sourceRoot":"","sources":["../../../src/components/reorder/ReorderAnnouncer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,YAAY,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export shim — this file's implementation now lives in
|
|
3
|
+
* `@endora-commerce/admin-kit/components` (feature 091, Phase 1b).
|
|
4
|
+
*
|
|
5
|
+
* The design system moved into the package so that a module package's `./admin` layer
|
|
6
|
+
* can reach it by a bare specifier through an `exports` map (FR-008): `@/` is a Vite and
|
|
7
|
+
* `tsc` alias that an installed package cannot resolve. Every existing `@/…` specifier in
|
|
8
|
+
* this application arrives here and is forwarded, so nothing outside had to be rewritten
|
|
9
|
+
* — the shape feature 080 used for the platform relocation.
|
|
10
|
+
*
|
|
11
|
+
* **The forwarding is the identity, not a copy.** These names are the package's own
|
|
12
|
+
* bindings; `admin/test/kit/admin-kit-shims.test.ts` asserts reference equality across
|
|
13
|
+
* the seam, because a second React context or a second `z.enum` passes every structural
|
|
14
|
+
* comparison and still breaks at runtime.
|
|
15
|
+
*/
|
|
16
|
+
export { ReorderAnnouncer } from '@endora-commerce/admin-kit/components';
|
|
17
|
+
//# sourceMappingURL=ReorderAnnouncer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReorderAnnouncer.js","sourceRoot":"","sources":["../../../src/components/reorder/ReorderAnnouncer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export shim — this file's implementation now lives in
|
|
3
|
+
* `@endora-commerce/admin-kit/components` (feature 091, Phase 1b).
|
|
4
|
+
*
|
|
5
|
+
* The design system moved into the package so that a module package's `./admin` layer
|
|
6
|
+
* can reach it by a bare specifier through an `exports` map (FR-008): `@/` is a Vite and
|
|
7
|
+
* `tsc` alias that an installed package cannot resolve. Every existing `@/…` specifier in
|
|
8
|
+
* this application arrives here and is forwarded, so nothing outside had to be rewritten
|
|
9
|
+
* — the shape feature 080 used for the platform relocation.
|
|
10
|
+
*
|
|
11
|
+
* **The forwarding is the identity, not a copy.** These names are the package's own
|
|
12
|
+
* bindings; `admin/test/kit/admin-kit-shims.test.ts` asserts reference equality across
|
|
13
|
+
* the seam, because a second React context or a second `z.enum` passes every structural
|
|
14
|
+
* comparison and still breaks at runtime.
|
|
15
|
+
*/
|
|
16
|
+
export { moveItem, useReorderList } from '@endora-commerce/admin-kit/components';
|
|
17
|
+
export type { ReorderHandleProps, ReorderItemProps, ReorderKeyboardEvent, ReorderLabelContext, ReorderLabels, ReorderListOptions, UseReorderListOptions, UseReorderListResult } from '@endora-commerce/admin-kit/components';
|
|
18
|
+
//# sourceMappingURL=useReorderList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReorderList.d.ts","sourceRoot":"","sources":["../../../src/components/reorder/useReorderList.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACjF,YAAY,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,aAAa,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export shim — this file's implementation now lives in
|
|
3
|
+
* `@endora-commerce/admin-kit/components` (feature 091, Phase 1b).
|
|
4
|
+
*
|
|
5
|
+
* The design system moved into the package so that a module package's `./admin` layer
|
|
6
|
+
* can reach it by a bare specifier through an `exports` map (FR-008): `@/` is a Vite and
|
|
7
|
+
* `tsc` alias that an installed package cannot resolve. Every existing `@/…` specifier in
|
|
8
|
+
* this application arrives here and is forwarded, so nothing outside had to be rewritten
|
|
9
|
+
* — the shape feature 080 used for the platform relocation.
|
|
10
|
+
*
|
|
11
|
+
* **The forwarding is the identity, not a copy.** These names are the package's own
|
|
12
|
+
* bindings; `admin/test/kit/admin-kit-shims.test.ts` asserts reference equality across
|
|
13
|
+
* the seam, because a second React context or a second `z.enum` passes every structural
|
|
14
|
+
* comparison and still breaks at runtime.
|
|
15
|
+
*/
|
|
16
|
+
export { moveItem, useReorderList } from '@endora-commerce/admin-kit/components';
|
|
17
|
+
//# sourceMappingURL=useReorderList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReorderList.js","sourceRoot":"","sources":["../../../src/components/reorder/useReorderList.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export shim — this file's implementation now lives in
|
|
3
|
+
* `@endora-commerce/admin-kit/components` (feature 091, Phase 1b).
|
|
4
|
+
*
|
|
5
|
+
* The design system moved into the package so that a module package's `./admin` layer
|
|
6
|
+
* can reach it by a bare specifier through an `exports` map (FR-008): `@/` is a Vite and
|
|
7
|
+
* `tsc` alias that an installed package cannot resolve. Every existing `@/…` specifier in
|
|
8
|
+
* this application arrives here and is forwarded, so nothing outside had to be rewritten
|
|
9
|
+
* — the shape feature 080 used for the platform relocation.
|
|
10
|
+
*
|
|
11
|
+
* **The forwarding is the identity, not a copy.** These names are the package's own
|
|
12
|
+
* bindings; `admin/test/kit/admin-kit-shims.test.ts` asserts reference equality across
|
|
13
|
+
* the seam, because a second React context or a second `z.enum` passes every structural
|
|
14
|
+
* comparison and still breaks at runtime.
|
|
15
|
+
*/
|
|
16
|
+
export { RuleBuilder } from '@endora-commerce/admin-kit/components';
|
|
17
|
+
export type { RuleAttributeField, RuleBuilderBuiltinField, RuleBuilderLabels, RuleBuilderProps, RuleFieldOptions, StructuralRule, StructuralRuleCondition, StructuralRuleField, StructuralRuleValue } from '@endora-commerce/admin-kit/components';
|
|
18
|
+
//# sourceMappingURL=RuleBuilder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RuleBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/rule-builder/RuleBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,YAAY,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,cAAc,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export shim — this file's implementation now lives in
|
|
3
|
+
* `@endora-commerce/admin-kit/components` (feature 091, Phase 1b).
|
|
4
|
+
*
|
|
5
|
+
* The design system moved into the package so that a module package's `./admin` layer
|
|
6
|
+
* can reach it by a bare specifier through an `exports` map (FR-008): `@/` is a Vite and
|
|
7
|
+
* `tsc` alias that an installed package cannot resolve. Every existing `@/…` specifier in
|
|
8
|
+
* this application arrives here and is forwarded, so nothing outside had to be rewritten
|
|
9
|
+
* — the shape feature 080 used for the platform relocation.
|
|
10
|
+
*
|
|
11
|
+
* **The forwarding is the identity, not a copy.** These names are the package's own
|
|
12
|
+
* bindings; `admin/test/kit/admin-kit-shims.test.ts` asserts reference equality across
|
|
13
|
+
* the seam, because a second React context or a second `z.enum` passes every structural
|
|
14
|
+
* comparison and still breaks at runtime.
|
|
15
|
+
*/
|
|
16
|
+
export { RuleBuilder } from '@endora-commerce/admin-kit/components';
|
|
17
|
+
//# sourceMappingURL=RuleBuilder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RuleBuilder.js","sourceRoot":"","sources":["../../../src/components/rule-builder/RuleBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export shim — this file's implementation now lives in
|
|
3
|
+
* `@endora-commerce/admin-kit/components` (feature 091, P2).
|
|
4
|
+
*
|
|
5
|
+
* The picker stayed in `admin/src` through Phase 1b because it fetched from
|
|
6
|
+
* another module's admin API client, which publishing would have put in the kit
|
|
7
|
+
* (`admin-kit-surface.md` R6). P2 takes the client exit instead — the component
|
|
8
|
+
* builds its own request from the published `apiClient` and the owner's
|
|
9
|
+
* contract types — so it holds no module knowledge and is published like the
|
|
10
|
+
* rest of the design system.
|
|
11
|
+
*
|
|
12
|
+
* **The forwarding is the identity, not a copy.** These names are the package's
|
|
13
|
+
* own bindings; `admin/test/kit/admin-kit-identity.test.ts` asserts reference
|
|
14
|
+
* equality across the seam, because a second React context or a second class
|
|
15
|
+
* passes every structural comparison and still breaks at runtime.
|
|
16
|
+
*/
|
|
17
|
+
export { SalesChannelPicker } from '@endora-commerce/admin-kit/components';
|
|
18
|
+
export type { SalesChannelPickerProps } from '@endora-commerce/admin-kit/components';
|
|
19
|
+
//# sourceMappingURL=SalesChannelPicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SalesChannelPicker.d.ts","sourceRoot":"","sources":["../../../src/components/sales-channel-picker/SalesChannelPicker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,YAAY,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export shim — this file's implementation now lives in
|
|
3
|
+
* `@endora-commerce/admin-kit/components` (feature 091, P2).
|
|
4
|
+
*
|
|
5
|
+
* The picker stayed in `admin/src` through Phase 1b because it fetched from
|
|
6
|
+
* another module's admin API client, which publishing would have put in the kit
|
|
7
|
+
* (`admin-kit-surface.md` R6). P2 takes the client exit instead — the component
|
|
8
|
+
* builds its own request from the published `apiClient` and the owner's
|
|
9
|
+
* contract types — so it holds no module knowledge and is published like the
|
|
10
|
+
* rest of the design system.
|
|
11
|
+
*
|
|
12
|
+
* **The forwarding is the identity, not a copy.** These names are the package's
|
|
13
|
+
* own bindings; `admin/test/kit/admin-kit-identity.test.ts` asserts reference
|
|
14
|
+
* equality across the seam, because a second React context or a second class
|
|
15
|
+
* passes every structural comparison and still breaks at runtime.
|
|
16
|
+
*/
|
|
17
|
+
export { SalesChannelPicker } from '@endora-commerce/admin-kit/components';
|
|
18
|
+
//# sourceMappingURL=SalesChannelPicker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SalesChannelPicker.js","sourceRoot":"","sources":["../../../src/components/sales-channel-picker/SalesChannelPicker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export shim — this file's implementation now lives in
|
|
3
|
+
* `@endora-commerce/admin-kit/components` (feature 091, Phase 1b).
|
|
4
|
+
*
|
|
5
|
+
* The design system moved into the package so that a module package's `./admin` layer
|
|
6
|
+
* can reach it by a bare specifier through an `exports` map (FR-008): `@/` is a Vite and
|
|
7
|
+
* `tsc` alias that an installed package cannot resolve. Every existing `@/…` specifier in
|
|
8
|
+
* this application arrives here and is forwarded, so nothing outside had to be rewritten
|
|
9
|
+
* — the shape feature 080 used for the platform relocation.
|
|
10
|
+
*
|
|
11
|
+
* **The forwarding is the identity, not a copy.** These names are the package's own
|
|
12
|
+
* bindings; `admin/test/kit/admin-kit-identity.test.ts` asserts reference equality across
|
|
13
|
+
* the seam, because a second React context or a second `z.enum` passes every structural
|
|
14
|
+
* comparison and still breaks at runtime.
|
|
15
|
+
*/
|
|
16
|
+
export { ScopeNotice } from '@endora-commerce/admin-kit/components';
|
|
17
|
+
export type { ScopeNoticeProps } from '@endora-commerce/admin-kit/components';
|
|
18
|
+
//# sourceMappingURL=ScopeNotice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScopeNotice.d.ts","sourceRoot":"","sources":["../../../src/components/scope-notice/ScopeNotice.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,YAAY,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export shim — this file's implementation now lives in
|
|
3
|
+
* `@endora-commerce/admin-kit/components` (feature 091, Phase 1b).
|
|
4
|
+
*
|
|
5
|
+
* The design system moved into the package so that a module package's `./admin` layer
|
|
6
|
+
* can reach it by a bare specifier through an `exports` map (FR-008): `@/` is a Vite and
|
|
7
|
+
* `tsc` alias that an installed package cannot resolve. Every existing `@/…` specifier in
|
|
8
|
+
* this application arrives here and is forwarded, so nothing outside had to be rewritten
|
|
9
|
+
* — the shape feature 080 used for the platform relocation.
|
|
10
|
+
*
|
|
11
|
+
* **The forwarding is the identity, not a copy.** These names are the package's own
|
|
12
|
+
* bindings; `admin/test/kit/admin-kit-identity.test.ts` asserts reference equality across
|
|
13
|
+
* the seam, because a second React context or a second `z.enum` passes every structural
|
|
14
|
+
* comparison and still breaks at runtime.
|
|
15
|
+
*/
|
|
16
|
+
export { ScopeNotice } from '@endora-commerce/admin-kit/components';
|
|
17
|
+
//# sourceMappingURL=ScopeNotice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScopeNotice.js","sourceRoot":"","sources":["../../../src/components/scope-notice/ScopeNotice.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export shim — this file's implementation now lives in
|
|
3
|
+
* `@endora-commerce/admin-kit/ui` (feature 091, Phase 1b).
|
|
4
|
+
*
|
|
5
|
+
* The design system moved into the package so that a module package's `./admin` layer
|
|
6
|
+
* can reach it by a bare specifier through an `exports` map (FR-008): `@/` is a Vite and
|
|
7
|
+
* `tsc` alias that an installed package cannot resolve. Every existing `@/…` specifier in
|
|
8
|
+
* this application arrives here and is forwarded, so nothing outside had to be rewritten
|
|
9
|
+
* — the shape feature 080 used for the platform relocation.
|
|
10
|
+
*
|
|
11
|
+
* **The forwarding is the identity, not a copy.** These names are the package's own
|
|
12
|
+
* bindings; `admin/test/kit/admin-kit-shims.test.ts` asserts reference equality across
|
|
13
|
+
* the seam, because a second React context or a second `z.enum` passes every structural
|
|
14
|
+
* comparison and still breaks at runtime.
|
|
15
|
+
*/
|
|
16
|
+
export { Alert, AlertDescription, AlertTitle } from '@endora-commerce/admin-kit/ui';
|
|
17
|
+
export type { AlertProps } from '@endora-commerce/admin-kit/ui';
|
|
18
|
+
//# sourceMappingURL=alert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../src/components/ui/alert.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AACpF,YAAY,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export shim — this file's implementation now lives in
|
|
3
|
+
* `@endora-commerce/admin-kit/ui` (feature 091, Phase 1b).
|
|
4
|
+
*
|
|
5
|
+
* The design system moved into the package so that a module package's `./admin` layer
|
|
6
|
+
* can reach it by a bare specifier through an `exports` map (FR-008): `@/` is a Vite and
|
|
7
|
+
* `tsc` alias that an installed package cannot resolve. Every existing `@/…` specifier in
|
|
8
|
+
* this application arrives here and is forwarded, so nothing outside had to be rewritten
|
|
9
|
+
* — the shape feature 080 used for the platform relocation.
|
|
10
|
+
*
|
|
11
|
+
* **The forwarding is the identity, not a copy.** These names are the package's own
|
|
12
|
+
* bindings; `admin/test/kit/admin-kit-shims.test.ts` asserts reference equality across
|
|
13
|
+
* the seam, because a second React context or a second `z.enum` passes every structural
|
|
14
|
+
* comparison and still breaks at runtime.
|
|
15
|
+
*/
|
|
16
|
+
export { Alert, AlertDescription, AlertTitle } from '@endora-commerce/admin-kit/ui';
|
|
17
|
+
//# sourceMappingURL=alert.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert.js","sourceRoot":"","sources":["../../../src/components/ui/alert.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export shim — this file's implementation now lives in
|
|
3
|
+
* `@endora-commerce/admin-kit/ui` (feature 091, Phase 1b).
|
|
4
|
+
*
|
|
5
|
+
* The design system moved into the package so that a module package's `./admin` layer
|
|
6
|
+
* can reach it by a bare specifier through an `exports` map (FR-008): `@/` is a Vite and
|
|
7
|
+
* `tsc` alias that an installed package cannot resolve. Every existing `@/…` specifier in
|
|
8
|
+
* this application arrives here and is forwarded, so nothing outside had to be rewritten
|
|
9
|
+
* — the shape feature 080 used for the platform relocation.
|
|
10
|
+
*
|
|
11
|
+
* **The forwarding is the identity, not a copy.** These names are the package's own
|
|
12
|
+
* bindings; `admin/test/kit/admin-kit-shims.test.ts` asserts reference equality across
|
|
13
|
+
* the seam, because a second React context or a second `z.enum` passes every structural
|
|
14
|
+
* comparison and still breaks at runtime.
|
|
15
|
+
*/
|
|
16
|
+
export { Badge } from '@endora-commerce/admin-kit/ui';
|
|
17
|
+
export type { BadgeProps } from '@endora-commerce/admin-kit/ui';
|
|
18
|
+
//# sourceMappingURL=badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AACtD,YAAY,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export shim — this file's implementation now lives in
|
|
3
|
+
* `@endora-commerce/admin-kit/ui` (feature 091, Phase 1b).
|
|
4
|
+
*
|
|
5
|
+
* The design system moved into the package so that a module package's `./admin` layer
|
|
6
|
+
* can reach it by a bare specifier through an `exports` map (FR-008): `@/` is a Vite and
|
|
7
|
+
* `tsc` alias that an installed package cannot resolve. Every existing `@/…` specifier in
|
|
8
|
+
* this application arrives here and is forwarded, so nothing outside had to be rewritten
|
|
9
|
+
* — the shape feature 080 used for the platform relocation.
|
|
10
|
+
*
|
|
11
|
+
* **The forwarding is the identity, not a copy.** These names are the package's own
|
|
12
|
+
* bindings; `admin/test/kit/admin-kit-shims.test.ts` asserts reference equality across
|
|
13
|
+
* the seam, because a second React context or a second `z.enum` passes every structural
|
|
14
|
+
* comparison and still breaks at runtime.
|
|
15
|
+
*/
|
|
16
|
+
export { Badge } from '@endora-commerce/admin-kit/ui';
|
|
17
|
+
//# sourceMappingURL=badge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"badge.js","sourceRoot":"","sources":["../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export shim — this file's implementation now lives in
|
|
3
|
+
* `@endora-commerce/admin-kit/ui` (feature 091, Phase 1b).
|
|
4
|
+
*
|
|
5
|
+
* The design system moved into the package so that a module package's `./admin` layer
|
|
6
|
+
* can reach it by a bare specifier through an `exports` map (FR-008): `@/` is a Vite and
|
|
7
|
+
* `tsc` alias that an installed package cannot resolve. Every existing `@/…` specifier in
|
|
8
|
+
* this application arrives here and is forwarded, so nothing outside had to be rewritten
|
|
9
|
+
* — the shape feature 080 used for the platform relocation.
|
|
10
|
+
*
|
|
11
|
+
* **The forwarding is the identity, not a copy.** These names are the package's own
|
|
12
|
+
* bindings; `admin/test/kit/admin-kit-shims.test.ts` asserts reference equality across
|
|
13
|
+
* the seam, because a second React context or a second `z.enum` passes every structural
|
|
14
|
+
* comparison and still breaks at runtime.
|
|
15
|
+
*/
|
|
16
|
+
export { Button, buttonVariants } from '@endora-commerce/admin-kit/ui';
|
|
17
|
+
export type { ButtonProps } from '@endora-commerce/admin-kit/ui';
|
|
18
|
+
//# sourceMappingURL=button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACvE,YAAY,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export shim — this file's implementation now lives in
|
|
3
|
+
* `@endora-commerce/admin-kit/ui` (feature 091, Phase 1b).
|
|
4
|
+
*
|
|
5
|
+
* The design system moved into the package so that a module package's `./admin` layer
|
|
6
|
+
* can reach it by a bare specifier through an `exports` map (FR-008): `@/` is a Vite and
|
|
7
|
+
* `tsc` alias that an installed package cannot resolve. Every existing `@/…` specifier in
|
|
8
|
+
* this application arrives here and is forwarded, so nothing outside had to be rewritten
|
|
9
|
+
* — the shape feature 080 used for the platform relocation.
|
|
10
|
+
*
|
|
11
|
+
* **The forwarding is the identity, not a copy.** These names are the package's own
|
|
12
|
+
* bindings; `admin/test/kit/admin-kit-shims.test.ts` asserts reference equality across
|
|
13
|
+
* the seam, because a second React context or a second `z.enum` passes every structural
|
|
14
|
+
* comparison and still breaks at runtime.
|
|
15
|
+
*/
|
|
16
|
+
export { Button, buttonVariants } from '@endora-commerce/admin-kit/ui';
|
|
17
|
+
//# sourceMappingURL=button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export shim — this file's implementation now lives in
|
|
3
|
+
* `@endora-commerce/admin-kit/ui` (feature 091, Phase 1b).
|
|
4
|
+
*
|
|
5
|
+
* The design system moved into the package so that a module package's `./admin` layer
|
|
6
|
+
* can reach it by a bare specifier through an `exports` map (FR-008): `@/` is a Vite and
|
|
7
|
+
* `tsc` alias that an installed package cannot resolve. Every existing `@/…` specifier in
|
|
8
|
+
* this application arrives here and is forwarded, so nothing outside had to be rewritten
|
|
9
|
+
* — the shape feature 080 used for the platform relocation.
|
|
10
|
+
*
|
|
11
|
+
* **The forwarding is the identity, not a copy.** These names are the package's own
|
|
12
|
+
* bindings; `admin/test/kit/admin-kit-shims.test.ts` asserts reference equality across
|
|
13
|
+
* the seam, because a second React context or a second `z.enum` passes every structural
|
|
14
|
+
* comparison and still breaks at runtime.
|
|
15
|
+
*/
|
|
16
|
+
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '@endora-commerce/admin-kit/ui';
|
|
17
|
+
//# sourceMappingURL=card.d.ts.map
|