@bcrumbs.net/inbox 0.0.60 → 0.0.62
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/assets/ar/inbox.json +16 -3
- package/assets/en/inbox.json +15 -2
- package/index.cjs.js +49055 -49383
- package/index.esm.js +49059 -49387
- package/package.json +4 -4
- package/playwright.config.d.ts +9 -0
- package/src/app/ai/components/Crumby/CrumbyComposer.d.ts +1 -1
- package/src/app/ai/components/playground/Button.d.ts +1 -1
- package/src/app/ai/components/playground/ThreadMessages.d.ts +5 -1
- package/src/app/ai/components/playground/TooltipIconButton.d.ts +2 -2
- package/src/app/auth/components/UserAvatar/AccountSettingsDropdown.d.ts +3 -5
- package/src/app/auth/hooks/useRoles.d.ts +1 -0
- package/src/app/auth/pages/Auth.style.d.ts +68 -0
- package/src/app/auth/pages/Login.style.d.ts +1 -0
- package/src/app/auth/pages/Register.style.d.ts +5 -0
- package/src/app/auth/utils/avatar.d.ts +1 -0
- package/src/app/auth/utils/resetWorkspaceRoleState.d.ts +4 -0
- package/src/app/broadcast/components/BroadcastAnalysisContent.d.ts +3 -1
- package/src/app/broadcast/components/BroadcastAnalysisReciepients.d.ts +6 -1
- package/src/app/broadcast/components/BroadcastAnalysisReciepientsHeader.d.ts +7 -1
- package/src/app/contact/components/ContactFilterOptions.d.ts +4 -1
- package/src/app/contact/components/ContactFormFields.d.ts +4 -1
- package/src/app/dashboard/components/AgentPerformanceCard.d.ts +2 -1
- package/src/app/dashboard/components/BroadcastCampaignProgressCard.d.ts +3 -1
- package/src/app/dashboard/components/DashboardExportButton.d.ts +8 -0
- package/src/app/dashboard/components/DashboardSections.d.ts +2 -1
- package/src/app/dashboard/components/OpenedChatsCard.d.ts +5 -1
- package/src/app/dashboard/components/TagPerformanceCard.d.ts +2 -1
- package/src/app/dashboard/utils/dashboardReportExports.d.ts +100 -0
- package/src/app/generic/components/PhoneDigitsInput.d.ts +7 -0
- package/src/app/generic/hooks/useResourceColumns.d.ts +3 -1
- package/src/app/inbox/components/Chat/ChatHeader.d.ts +2 -0
- package/src/app/inbox/components/Chat/NoConvSelected.d.ts +5 -0
- package/src/app/inbox/components/Chat/index.d.ts +4 -1
- package/src/app/inbox/components/NewDetails/ClientSection.d.ts +2 -1
- package/src/app/inbox/components/NewDetails/UserHeader.d.ts +2 -1
- package/src/app/inbox/components/NewDetails/index.d.ts +2 -1
- package/src/app/inbox/components/Shared/Inbox.d.ts +4 -1
- package/src/app/inbox/components/Shared/MobileChatDetailsSlider.d.ts +14 -0
- package/src/app/inbox/components/Shared/MobileDetailsSwipeHint.d.ts +9 -0
- package/src/app/inbox/components/Shared/MobileMenu.d.ts +2 -1
- package/src/app/inbox/hooks/useConvActions.d.ts +1 -0
- package/src/app/inbox/hooks/useConversationsPerodicFetch.d.ts +3 -0
- package/src/app/inbox/hooks/useStartedTimeAgo.d.ts +5 -0
- package/src/app/inbox/utils/convs.d.ts +8 -1
- package/src/app/inbox/utils/inboxAssignableAis.d.ts +11 -1
- package/src/app/layout/constants/index.d.ts +10 -10
- package/src/app/layout/hooks/useCrumbyEnabled.d.ts +18 -0
- package/src/app/layout/hooks/useCrumbyUpgradeAction.d.ts +10 -0
- package/src/app/managemnet/config/types.d.ts +2 -0
- package/src/app/onboarding/utils/onboardingChecklistPersistence.d.ts +18 -0
- package/src/app/onboarding/utils/onboardingChecklistStorage.d.ts +10 -1
- package/src/app/resources/components/Integrations/Facebook/PagePickerPopup.d.ts +3 -1
- package/src/app/resources/components/ListResources/Utils.d.ts +1 -0
- package/src/app/subscriptions/components/NewSubscription/OnboardingStepper.d.ts +8 -0
- package/src/app/subscriptions/components/NewSubscription/SubscriptionFailed.d.ts +6 -0
- package/src/app/subscriptions/components/NewSubscription/SubscriptionName.d.ts +1 -1
- package/src/app/subscriptions/components/NewSubscription/SubscriptionSuccess.d.ts +5 -2
- package/src/app/subscriptions/components/NewSubscription/WorkspaceStepLayout.d.ts +11 -0
- package/src/app/subscriptions/components/Plans/ShowcasePlans.d.ts +3 -1
- package/src/app/subscriptions/components/SubscriptionSwitcher/Switcher.d.ts +1 -1
- package/src/app/subscriptions/pages/NewSubscription.d.ts +1 -1
- package/src/app/subscriptions/utils/newWorkspaceCheckout.d.ts +16 -0
- package/src/assets/locales/translations.d.ts +78 -0
- package/src/graphql.autogenerated.d.ts +511 -1
- package/src/lib/EmbeddedMobileMenu.d.ts +2 -1
- package/src/routes/PrivateRoutes.d.ts +1 -5
- package/src/utils/exportCsv.d.ts +8 -0
- package/src/utils/textUtils.d.ts +2 -0
- package/src/app/broadcast/components/BroadcastTargetingComplianceNotice.d.ts +0 -2
- package/src/app/generic/hooks/WithMenuConfig.d.ts +0 -1
- package/src/app/layout/components/language/LanguageDropdown.d.ts +0 -9
|
@@ -3,7 +3,8 @@ export type { MobileViews };
|
|
|
3
3
|
export type EmbeddedMobileMenuProps = {
|
|
4
4
|
activePage: MobileViews;
|
|
5
5
|
setActivePage: (page: MobileViews) => void;
|
|
6
|
+
/** @deprecated Details is opened via swipe; kept for call-site compatibility. */
|
|
6
7
|
hideDetails?: boolean;
|
|
7
8
|
};
|
|
8
9
|
/** Bottom nav for embedded inbox — no dashboard tab, no react-router. */
|
|
9
|
-
export declare const EmbeddedMobileMenu: ({ activePage, setActivePage
|
|
10
|
+
export declare const EmbeddedMobileMenu: ({ activePage, setActivePage }: EmbeddedMobileMenuProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Escape a CSV cell for RFC 4180 (commas, quotes, newlines). */
|
|
2
|
+
export declare function escapeCSVValue(value: string): string;
|
|
3
|
+
export type CsvCell = string | number | null | undefined;
|
|
4
|
+
/**
|
|
5
|
+
* Build a UTF-8 CSV string (with BOM) and trigger a browser download.
|
|
6
|
+
* Headers are written as the first row; each data row must match header length.
|
|
7
|
+
*/
|
|
8
|
+
export declare function downloadCsv(filename: string, headers: string[], rows: CsvCell[][]): void;
|
package/src/utils/textUtils.d.ts
CHANGED
|
@@ -13,3 +13,5 @@ export declare function truncateParagraph(pargraph: string, count?: number): str
|
|
|
13
13
|
* @returns Sanitized phone number or undefined if input is null/undefined
|
|
14
14
|
*/
|
|
15
15
|
export declare function sanitizePhone(phone: string | null | undefined): string | undefined;
|
|
16
|
+
/** Keep only numeric digits from a phone input value. */
|
|
17
|
+
export declare function digitsOnly(value: string): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const withMenuConfig: (Component: any) => (props: any) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DropdownListItemType, DropdownListItemValue } from '@bcrumbs.net/bc-ui';
|
|
2
|
-
import React, { PropsWithChildren } from 'react';
|
|
3
|
-
export type AccountSettingsProps = {
|
|
4
|
-
itemClicked: (e: DropdownListItemValue) => void;
|
|
5
|
-
itemsList: DropdownListItemType[];
|
|
6
|
-
dropdownIsVisible: boolean;
|
|
7
|
-
setDropdownIsVisible: React.Dispatch<React.SetStateAction<boolean>>;
|
|
8
|
-
};
|
|
9
|
-
export declare function LanguageDropdown({ itemsList, itemClicked, dropdownIsVisible, setDropdownIsVisible }: PropsWithChildren<AccountSettingsProps>): import("@emotion/react/jsx-runtime").JSX.Element;
|