@tallyui/components 4.2.0 → 5.0.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/dist/index.d.ts CHANGED
@@ -1,14 +1,15 @@
1
+ /// <reference path="../src/uniwind-env.d.ts" />
1
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
3
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
4
  import * as React$1 from 'react';
4
- import { JSX, ReactNode, ComponentType } from 'react';
5
+ import { JSX, ReactNode, ComponentType, ComponentProps } from 'react';
5
6
  import * as react_native from 'react-native';
6
7
  import { Text as Text$1, ViewProps, View, PressableProps, Role, TextProps as TextProps$1, TextInputProps, TextInput, ScrollView, Pressable, StyleProp, ImageStyle } from 'react-native';
7
8
  import { VariantProps } from 'class-variance-authority';
8
9
  import { SvgProps } from 'react-native-svg';
9
10
  import { Separator as Separator$1, Label as Label$1, Tabs as Tabs$1, Dialog as Dialog$1, AlertDialog as AlertDialog$1, Select as Select$1, Combobox as Combobox$1, DropdownMenu as DropdownMenu$1, ContextMenu as ContextMenu$1, Popover as Popover$1, Tooltip as Tooltip$1, HoverCard as HoverCard$1, Accordion as Accordion$1, Collapsible as Collapsible$1, Checkbox as Checkbox$1, Switch as Switch$1, RadioGroup as RadioGroup$1, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1, Progress as Progress$1, Slider as Slider$1, Image } from '@tallyui/primitives';
10
11
  export { TextClassContext } from '@tallyui/primitives';
11
- import { StoreDay, DayRange, CatalogueView, ProductSortValue, ProductSort, ViewfinderStatus, CameraDecoder, RefundableOrderLine, EarlierRefund, OrderFilterValue, useRegisterSession, RegisterSession, MovementType, ApprovalNeeded, SwitchKind, SwitchWarnings, HandoverSlipData, AppSettings, useAppSettings, PairingPhase, PairingError, TillDisplayStatus, TillDisplayEntry, PrinterProfile, TraceAnalysis, TaxDerivation, useSale, TenderState, TenderAction, AppliedDiscount, Discount, CatalogueEntry, CatalogueViewState, CartQuantityLine, TileFields, CatalogueGridColumns, SentOrder, PosOrder, ReceiptData, OutboxState, ParkedOrderSummary, OpenSale, DisplayState, DisplayClientPhase, SalesFigures, DatePreset } from '@tallyui/pos';
12
+ import { StoreDay, DayRange, CatalogueView, ProductSortValue, ProductSort, ViewfinderStatus, CameraDecoder, RefundableOrderLine, EarlierRefund, OrderFilterValue, useRegisterSession, RegisterSession, MovementType, ApprovalNeeded, SwitchKind, SwitchWarnings, HandoverSlipData, AppSettings, useAppSettings, PairingPhase, PairingError, TillDisplayStatus, TillDisplayEntry, PrinterProfile, TraceAnalysis, TaxDerivation, useSale, Payment, TenderState, TenderAction, AppliedDiscount, Discount, CatalogueEntry, CatalogueViewState, CartQuantityLine, TileFields, CatalogueGridColumns, SentOrder, PosOrder, ReceiptData, OutboxState, ParkedOrderSummary, OpenSale, DisplayState, DisplayClientPhase, SalesFigures, DatePreset } from '@tallyui/pos';
12
13
  import { ScaleOverride, ScaleVariables, ScaleStep, Pointer, TypeSetId, ThemeFontFamily, ThemeType } from '@tallyui/theme';
13
14
  import { ProductTraits, TraitContext, VariantOptionGroup, VariantSummary, Money, CustomerTraits, CustomerAddress, Customer, CustomerInput, CustomerPatch, OrderRefundPayload, OrderFilterField, PaymentKind, woocommerceTax, ReceiptTemplate, PaymentMethodDescriptor, MoneyFormat, ProductCategory, SyncNotice, StoreSettingsChoices, StoreSettingsChoice, ConnectivityState } from '@tallyui/core';
14
15
  import { TFunction } from 'i18next';
@@ -1863,6 +1864,10 @@ interface RefundFormProps {
1863
1864
  refundedMinor?: number;
1864
1865
  /** Shipping still refundable, with tax; 0 or absent hides the shipping field. */
1865
1866
  refundableShippingMinor?: number;
1867
+ /** The order's cash rounding, signed (ADR-094): the sum of its entries, or a WooCommerce order's Rounding fee. The refund that takes every line's whole remaining quantity returns it through adjustmentMinor; default 0. */
1868
+ cashRoundingMinor?: number;
1869
+ /** The cash method's rounding increment (PaymentRounding.incrementMinor). A cash refund that is not a multiple of it shows a one-line notice; the refund itself is not rounded. */
1870
+ cashIncrementMinor?: number;
1866
1871
  /** The sale's payment method; omit for a cash sale, which always refunds in cash. */
1867
1872
  originalMethod?: {
1868
1873
  title: string;
@@ -1879,7 +1884,7 @@ interface RefundFormProps {
1879
1884
  onCancel: () => void;
1880
1885
  }
1881
1886
  /** Ports WCPOS v2 form.tsx, monorepo main 5ac185b0e; the till never prices lines itself (priceRefund). */
1882
- declare function RefundForm({ lines, refunds, currency, orderReference, orderTotalMinor, refundedMinor, refundableShippingMinor, originalMethod, defaultRestock, online, error, onConfirm, onCancel, }: RefundFormProps): JSX.Element;
1887
+ declare function RefundForm({ lines, refunds, currency, orderReference, orderTotalMinor, refundedMinor, refundableShippingMinor, cashRoundingMinor, cashIncrementMinor, originalMethod, defaultRestock, online, error, onConfirm, onCancel, }: RefundFormProps): JSX.Element;
1883
1888
 
1884
1889
  interface RefundModalProps extends Omit<RefundFormProps, 'onCancel'> {
1885
1890
  open: boolean;
@@ -1888,6 +1893,16 @@ interface RefundModalProps extends Omit<RefundFormProps, 'onCancel'> {
1888
1893
  /** Ports WCPOS v2 modal.tsx: a bounded panel around the refund form. */
1889
1894
  declare function RefundModal({ open, onOpenChange, ...formProps }: RefundModalProps): JSX.Element;
1890
1895
 
1896
+ type RefundNeedsAdminNoticeProps = {
1897
+ /** The server's needs_admin reason: the outcome's `reason`, or a pending record's `error.data.reason`. */
1898
+ reason: string;
1899
+ /** The server's message: shown under the lead line as plain text, cut to NEEDS_ADMIN_MESSAGE_MAX. */
1900
+ message?: string;
1901
+ /** Resends the same refund envelope (same id); omit to hide the button. */
1902
+ onCheckAgain?: () => void;
1903
+ };
1904
+ declare function RefundNeedsAdminNotice({ reason, message, onCheckAgain }: RefundNeedsAdminNoticeProps): JSX.Element;
1905
+
1891
1906
  interface FilterOption {
1892
1907
  value: string;
1893
1908
  label: string;
@@ -2551,6 +2566,47 @@ interface TaxBasedOnProps {
2551
2566
  */
2552
2567
  declare function TaxBasedOn({ derivation, onChangeSetting, onViewAllRates, countryName, className }: TaxBasedOnProps): react_jsx_runtime.JSX.Element;
2553
2568
 
2569
+ /**
2570
+ * Port of WCPOS v2 (MIT) `packages/core/src/contexts/translations/index.tsx`: one i18next instance per
2571
+ * provider, a locale change applied with `changeLanguage`, v2's init options and `useT`. The regional
2572
+ * fallback (`fr_CA` → `fr`) is v2's `rxdb-backend.ts` `getBaseLanguage`, as `fallbackLng`. There is no
2573
+ * backend: English is bundled and the app passes other languages as `resources`.
2574
+ */
2575
+
2576
+ /** Catalogues by language code, as the app spells it (`fr`, `fr_CA`, `fr-CA`): key → string. */
2577
+ type Catalogues = Record<string, Record<string, string>>;
2578
+ interface I18nProviderProps {
2579
+ /** The store's locale (`fr_CA` or `fr-CA`). Without one, the device's locale. */
2580
+ locale?: string;
2581
+ /** Other languages' catalogues; English is bundled. May arrive or change after mount. */
2582
+ resources?: Catalogues;
2583
+ children: React$1.ReactNode;
2584
+ }
2585
+ declare function I18nProvider({ locale, resources, children }: I18nProviderProps): React$1.JSX.Element;
2586
+ /** The components' `t`, read from the nearest `I18nProvider`, else English. Interpolation is `{name}`. */
2587
+ declare function useT(): TFunction;
2588
+
2589
+ /**
2590
+ * The payments ledger, as WCPOS v2's LedgerLegs (monorepo main, packages/core/src/screens/main/pos/checkout/tender/ledger-pane.tsx):
2591
+ * each leg with its status, Next and Cancel payment. `closing` is v2's checkout cart (cart/stilled-cart.tsx): a Payments
2592
+ * heading, the legs, then Total, Paid and a Remaining (or Paid in full) lead row. Internal: TenderPane and Cart render it.
2593
+ */
2594
+
2595
+ declare function TenderLedger({ sale, methods, closing, confirmVoid, beforeVoid, afterVoid }: {
2596
+ sale: ReturnType<typeof useSale>;
2597
+ methods?: PaymentMethodDescriptor[];
2598
+ closing?: boolean;
2599
+ /** v2's "Cancel this payment?" before a leg is voided (use-tender-flow.ts cancelOne). Default false: Cancel payment voids at once. */
2600
+ confirmVoid?: boolean;
2601
+ /**
2602
+ * Runs before Cancel payment voids the leg (a host journalling each void first, as v2's awaited cancelOnePayment); the
2603
+ * void waits for it. Returning `false` or throwing keeps the leg (the host reports its own error). Absent, the void is immediate.
2604
+ */
2605
+ beforeVoid?: (leg: Payment) => boolean | void | Promise<boolean | void>;
2606
+ /** Runs after a void that beforeVoid approved, with voidTender's result: false means the leg was kept (voided, locked or finished elsewhere meanwhile), so the host reverses what beforeVoid journalled. Not called without beforeVoid, nor when beforeVoid refuses. */
2607
+ afterVoid?: (leg: Payment, voided: boolean) => void;
2608
+ }): JSX.Element | null;
2609
+
2554
2610
  /** `taxLabel` names each tax row; VAT isn't universal, so a platform passes its own (medusapos passes `VAT ${rate}%`). */
2555
2611
  declare function Cart({ sale, taxLabel, canEditPrice, onPriceChange, quickDiscounts, taxClasses, afterSubtotal, showTotal, couponDiscountMinor, orderActions, orderDiscountChips, checkout, noteSheet, tenderLedger, picker, lineEditor, lineCommit, columns, chargeTaxSwitch, emptyIcon, emptyText }: {
2556
2612
  sale: ReturnType<typeof useSale>;
@@ -2603,10 +2659,12 @@ declare function Cart({ sale, taxLabel, canEditPrice, onPriceChange, quickDiscou
2603
2659
  noteSheet?: {
2604
2660
  label?: string;
2605
2661
  };
2606
- /** v2's checkout cart (stilled-cart.tsx): while `sale.stage` is tender, the payments ledger (each leg with its status and Cancel payment, then Total, Paid and Remaining) sits under the totals in place of the foot. `methods` names the legs, as on Tender. Pair it with `<Tender ledger={false} />`. `confirmVoid` asks v2's "Cancel this payment?" before a leg is voided (default `false`). */
2662
+ /** v2's checkout cart (stilled-cart.tsx): while `sale.stage` is tender, the payments ledger (each leg with its status and Cancel payment, then Total, Paid and Remaining) sits under the totals in place of the foot. `methods` names the legs, as on Tender. Pair it with `<Tender ledger={false} />`. `confirmVoid` asks v2's "Cancel this payment?" before a leg is voided (default `false`). `beforeVoid` runs before Cancel payment voids a leg, as on TenderLedger. */
2607
2663
  tenderLedger?: {
2608
2664
  methods?: PaymentMethodDescriptor[];
2609
2665
  confirmVoid?: boolean;
2666
+ beforeVoid?: ComponentProps<typeof TenderLedger>['beforeVoid'];
2667
+ afterVoid?: ComponentProps<typeof TenderLedger>['afterVoid'];
2610
2668
  };
2611
2669
  /** WCPOS v2's split-by-item bill (stilled-cart.tsx): the cart is read-only, and each line whose quantity is a positive
2612
2670
  * whole number, whose total is not negative and that has units left unpaid shows this payment's `− n of unpaid +`
@@ -2688,20 +2746,6 @@ declare function useTender(sale: Sale$2, methods?: PaymentMethodDescriptor[]): {
2688
2746
  picker: TenderPicker | undefined;
2689
2747
  };
2690
2748
 
2691
- type Sale$1 = ReturnType<typeof useSale>;
2692
- type TenderProps = {
2693
- sale: Sale$1;
2694
- methods?: PaymentMethodDescriptor[]; /** Passed to TenderPane: `false` leaves the ledger to Cart's `tenderLedger`. Default `true`. */
2695
- ledger?: boolean; /** Passed to TenderPane: `false` hides Back (v2's phone checkout). Default `true`. */
2696
- back?: boolean;
2697
- /** Passed to TenderPane's ledger: v2's "Cancel this payment?" before a leg is voided. Default `false`. */ confirmVoid?: boolean;
2698
- /** One reducer shared with Cart's `picker` (useTender). Without it, Tender keeps its own reducer, as before. */ tender?: ReturnType<typeof useTender>;
2699
- };
2700
- /** The tender pane with its own reducer, opened on the method `startTender` chose. Renders nothing outside the tender stage. */
2701
- declare function Tender({ sale, methods, ledger, back, confirmVoid, tender }: TenderProps): JSX.Element | null;
2702
- /** @deprecated Use Tender: the pane now handles split payments. */
2703
- declare function SplitTender(props: TenderProps): JSX.Element;
2704
-
2705
2749
  /**
2706
2750
  * The tender pane, laid out as WCPOS v2's (monorepo main, packages/core/src/screens/main/pos/checkout/tender/):
2707
2751
  * BalanceHeadline from ledger-pane.tsx, LedgerLegs (now tender-ledger.tsx's TenderLedger), then the method tiles, entry, quick-cash chips,
@@ -2710,9 +2754,9 @@ declare function SplitTender(props: TenderProps): JSX.Element;
2710
2754
  * The caption row and the hero figure follow tender-pane.tsx's caption row and AmountFigure (v2 :390-459).
2711
2755
  */
2712
2756
 
2713
- type Sale = ReturnType<typeof useSale>;
2757
+ type Sale$1 = ReturnType<typeof useSale>;
2714
2758
  interface TenderPaneProps {
2715
- sale: Sale;
2759
+ sale: Sale$1;
2716
2760
  /** The tender reducer's state (`tenderReducer` in @tallyui/pos); the host owns the reducer. */
2717
2761
  state: TenderState;
2718
2762
  dispatch: (action: TenderAction) => void;
@@ -2720,11 +2764,31 @@ interface TenderPaneProps {
2720
2764
  methods?: PaymentMethodDescriptor[];
2721
2765
  /** Draws the payments ledger in the pane. Pass `false` when the host shows it in the cart column, as v2 does (Cart's `tenderLedger`). Default `true`. */
2722
2766
  ledger?: boolean;
2723
- /** Draws the Back button (`sale.cancelTender`). Pass `false` when the host leaves the tender stage itself, as v2's phone checkout does. Default `true`. */ back?: boolean;
2767
+ /** Draws the Back button: `sale.cancelTender`, or the cancel-payment view first when money was taken here. Pass `false` when the host leaves the tender stage itself, as v2's phone checkout does. Default `true`. */ back?: boolean;
2724
2768
  /** Passed to the ledger: v2's "Cancel this payment?" before a leg is voided. Default `false`: Cancel payment voids at once. */
2725
2769
  confirmVoid?: boolean;
2770
+ /** Passed to the ledger: runs before Cancel payment voids a leg; the void waits for it, and `false` or a throw keeps the leg. */
2771
+ beforeVoid?: ComponentProps<typeof TenderLedger>['beforeVoid'];
2772
+ /** Passed to the ledger: runs after a void `beforeVoid` approved, with whether the leg was voided; `false` means the host reverses its journal entry. */
2773
+ afterVoid?: ComponentProps<typeof TenderLedger>['afterVoid'];
2726
2774
  }
2727
- declare function TenderPane({ sale, state, dispatch, methods, ledger, back, confirmVoid }: TenderPaneProps): JSX.Element | null;
2775
+ declare function TenderPane({ sale, state, dispatch, methods, ledger, back, confirmVoid, beforeVoid, afterVoid }: TenderPaneProps): JSX.Element | null;
2776
+
2777
+ type Sale = ReturnType<typeof useSale>;
2778
+ type TenderProps = {
2779
+ sale: Sale;
2780
+ methods?: PaymentMethodDescriptor[]; /** Passed to TenderPane: `false` leaves the ledger to Cart's `tenderLedger`. Default `true`. */
2781
+ ledger?: boolean; /** Passed to TenderPane: `false` hides Back (v2's phone checkout). Default `true`. */
2782
+ back?: boolean;
2783
+ /** Passed to TenderPane's ledger: v2's "Cancel this payment?" before a leg is voided. Default `false`. */ confirmVoid?: boolean;
2784
+ /** Passed to TenderPane's ledger and its cancel-payment view: runs before either voids a leg; the void waits for it. */ beforeVoid?: TenderPaneProps['beforeVoid'];
2785
+ /** Passed to TenderPane's ledger and its cancel-payment view: runs after either voids a leg `beforeVoid` approved, with whether it was voided. */ afterVoid?: TenderPaneProps['afterVoid'];
2786
+ /** One reducer shared with Cart's `picker` (useTender). Without it, Tender keeps its own reducer, as before. */ tender?: ReturnType<typeof useTender>;
2787
+ };
2788
+ /** The tender pane with its own reducer, opened on the method `startTender` chose. Renders nothing outside the tender stage. */
2789
+ declare function Tender({ sale, methods, ledger, back, confirmVoid, beforeVoid, afterVoid, tender }: TenderProps): JSX.Element | null;
2790
+ /** @deprecated Use Tender: the pane now handles split payments. */
2791
+ declare function SplitTender(props: TenderProps): JSX.Element;
2728
2792
 
2729
2793
  /** The cashier's entry as a TallyUI Discount (a percent, or integer minor units), or the inline error to show. */
2730
2794
  declare function parseDiscount(type: Discount['type'], text: string, currency: string, format?: MoneyFormat): Discount | string;
@@ -3338,14 +3402,20 @@ interface CheckoutLayoutProps extends Omit<ViewProps, 'children'> {
3338
3402
  declare function CheckoutLayout({ summarySlot, paymentSlot, headerSlot, layout: layoutProp, breakpoint, className, ...viewProps }: CheckoutLayoutProps): react_jsx_runtime.JSX.Element;
3339
3403
 
3340
3404
  interface SettingsLayoutProps extends Omit<ViewProps, 'children'> {
3341
- navSlot: ReactNode;
3405
+ /** A function receives closeNav; call it from an item's onPress so a pick shows that section's content on a narrow screen. */
3406
+ navSlot: ReactNode | ((nav: {
3407
+ closeNav: () => void;
3408
+ }) => ReactNode);
3342
3409
  contentSlot: ReactNode;
3343
3410
  headerSlot?: ReactNode;
3344
3411
  layout?: 'split' | 'stacked';
3345
3412
  breakpoint?: number;
3346
3413
  className?: string;
3414
+ /** Controls the stacked menu; absent means the layout keeps its own state. */
3415
+ navOpen?: boolean;
3416
+ onNavOpenChange?: (open: boolean) => void;
3347
3417
  }
3348
- declare function SettingsLayout({ navSlot, contentSlot, headerSlot, layout: layoutProp, breakpoint, className, ...viewProps }: SettingsLayoutProps): react_jsx_runtime.JSX.Element;
3418
+ declare function SettingsLayout({ navSlot, contentSlot, headerSlot, layout: layoutProp, breakpoint, className, navOpen, onNavOpenChange, ...viewProps }: SettingsLayoutProps): react_jsx_runtime.JSX.Element;
3349
3419
 
3350
3420
  /** Mirrors `LiveTabState` from `@tallyui/database`, without depending on that package. */
3351
3421
  type LiveTabScreenState = 'acquiring' | 'live' | 'parked' | 'blocked';
@@ -3626,24 +3696,4 @@ interface FontProviderProps {
3626
3696
  declare function FontProvider({ font, autoTypeSet, loadFonts, children }: FontProviderProps): React$1.JSX.Element;
3627
3697
  declare function useFontType(): FontState;
3628
3698
 
3629
- /**
3630
- * Port of WCPOS v2 (MIT) `packages/core/src/contexts/translations/index.tsx`: one i18next instance per
3631
- * provider, a locale change applied with `changeLanguage`, v2's init options and `useT`. The regional
3632
- * fallback (`fr_CA` → `fr`) is v2's `rxdb-backend.ts` `getBaseLanguage`, as `fallbackLng`. There is no
3633
- * backend: English is bundled and the app passes other languages as `resources`.
3634
- */
3635
-
3636
- /** Catalogues by language code, as the app spells it (`fr`, `fr_CA`, `fr-CA`): key → string. */
3637
- type Catalogues = Record<string, Record<string, string>>;
3638
- interface I18nProviderProps {
3639
- /** The store's locale (`fr_CA` or `fr-CA`). Without one, the device's locale. */
3640
- locale?: string;
3641
- /** Other languages' catalogues; English is bundled. May arrive or change after mount. */
3642
- resources?: Catalogues;
3643
- children: React$1.ReactNode;
3644
- }
3645
- declare function I18nProvider({ locale, resources, children }: I18nProviderProps): React$1.JSX.Element;
3646
- /** The components' `t`, read from the nearest `I18nProvider`, else English. Interpolation is `{name}`. */
3647
- declare function useT(): TFunction;
3648
-
3649
- export { APPROVAL_REQUIRED_TEXT, Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivityHeartbeatIcon, type AddedToCartEvent, AddedToCartToast, type AddedToCartToastProps, AddressEditor, type AddressEditorProps, type AddressEditorValue, AddressFields, type AddressFieldsProps, AlertCircleIcon, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTriangleIcon, AppShell, type AppShellProps, Avatar, type AvatarProps, Badge, type BadgeProps, BarcodeScanningSettings, type BarcodeScanningSettingsProps, type BarcodeScanningValues, Button, type ButtonProps, Calendar, type CalendarProps, CameraScanButton, type CameraScanButtonProps, CameraScannerPanel, type CameraScannerPanelProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Cart, type CartAction, CartBar, CartColumnHeads, type CartColumnHeadsProps, type CartColumnId, type CartColumnSettings, CartColumnsForm, type CartColumnsFormProps, CartFoot, type CartFootAction, type CartFootProps, CartLine, CartLineActions, type CartLineActionsProps, type CartLineProps, CartNoteInput, type CartNoteInputProps, CartPanel, type CartPanelProps, CartTotal, type CartTotalProps, CashCountInput, type CashCountInputProps, CashRegisterIcon, CashTendered, type CashTenderedProps, CashierSheet, type CashierSheetCashier, type CashierSheetDrawer, type CashierSheetHandTo, type CashierSheetPlace, type CashierSheetProps, Catalogue, CatalogueSettingsForm, type CatalogueSettingsFormProps, type Catalogues, type CategoryItem, CategoryNav, type CategoryNavProps, CategoryTile, type CategoryTileProps, ChangeDisplay, type ChangeDisplayProps, ChargeForm, type ChargeFormProps, ChartLineIcon, CheckIcon, Checkbox, CheckoutLayout, type CheckoutLayoutProps, ChevronDownIcon, ChevronRightIcon, type ChipItem, ClosureSheet, type ClosureSheetProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxContent, ComboboxEmpty, ComboboxInput, ComboboxItem, ComboboxList, ComboboxTrigger, ConfirmDialog, type ConfirmDialogProps, type ConnectionStatus, ConnectivityToast, type ConnectivityToastProps, ConnectorStatus, type ConnectorStatusProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CustomerCard, type CustomerCardProps, CustomerDisplayPairing, type CustomerDisplayPairingProps, CustomerDisplayScreen, CustomerDisplaySettings, type CustomerDisplaySettingsProps, CustomerDropdown, type CustomerDropdownProps, CustomerEditor, type CustomerEditorProps, CustomerForm, type CustomerFormProps, type CustomerFormValues, CustomerOrderHistory, type CustomerOrderHistoryProps, CustomerPicker, type CustomerPickerProps, CustomerSelect, type CustomerSelectProps, CustomersList, type CustomersListProps, DEFAULT_PRODUCT_FILTERS, DIGIT_ROWS, DateRangeMenu, type DateRangeMenuProps, type Denomination, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DiscountBadge, type DiscountBadgeProps, DiscountChips, type DiscountCoupon, DiscountForm, DiscountIcon, DisplaySettings, type DisplaySettingsProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FLASH_DURATION_MS, FilterChip, FilterChipGroup, type FilterChipGroupProps, type FilterChipProps, type FilterOption, FontProvider, type FontProviderProps, type FontState, type FontStatus, GiftIcon, type GridDay, GripIcon, HStack, type HStackProps, HandoverSlip, type HandoverSlipProps, HoverCard, HoverCardContent, HoverCardTrigger, I18nProvider, type I18nProviderProps, Icon, IconButton, type IconButtonProps, type IconProps, InCartBadge, type InCartBadgeProps, InfoCircleIcon, Input, InputField, InputRoot, type InputRootProps, InputSlot, Keypad, type KeypadKey, type KeypadProps, Label, type LabelProps, LinePopover, type LinePopoverProps, ListRow, type ListRowProps, type ListRowSize, LiveTabScreen, type LiveTabScreenProps, type LiveTabScreenState, Loader, type LoaderProps, MessageQuestionIcon, type Month, MovementSheet, type MovementSheetProps, NavDrawer, type NavDrawerProps, NavRail, type NavRailProps, Notice, type NoticeAction, type NoticeProps, OpenRegisterCard, type OpenRegisterCardProps, OpenSaleTabs, type OpenSaleTabsProps, OrderCard, type OrderCardProps, OrderDetail, type OrderDetailLineItem, type OrderDetailProps, type OrderDetailTaxLine, OrderFilterBar, type OrderFilterBarProps, type OrderFilterOption, type OrderHistoryRow, OrderList, type OrderListProps, OrderNoteSheet, type OrderNoteSheetProps, type OrderStatus, OrderStatusBadge, type OrderStatusBadgeProps, OrderSummary, OrderSummaryLine, type OrderSummaryLineProps, type OrderSummaryPayment, type OrderSummaryProps, OrderSyncNotices, type OrderSyncNoticesProps, OrdersList, POSLayout, type POSLayoutProps, PRODUCT_FILTER_CHIPS, ParkedSales, type ParkedSalesProps, type PaymentMethod, PaymentMethodCard, type PaymentMethodCardProps, type PaymentMethodKind, PaymentSelector, type PaymentSelectorMethod, type PaymentSelectorProps, PickStepper, PlusIcon, Popover, PopoverContent, PopoverTrigger, PriceForm, PrinterForm, type PrinterFormDraft, type PrinterFormProps, PrinterIcon, PrintingSettings, type PrintingSettingsProps, ProductCard, type ProductCardProps, ProductFilterBar, type ProductFilterBarProps, type ProductFilterChip, type ProductFilters, ProductGrid, type ProductGridProps, ProductImage, type ProductImageProps, ProductList, type ProductListProps, ProductPrice, type ProductPriceProps, ProductSku, type ProductSkuProps, ProductStockBadge, type ProductStockBadgeProps, ProductTable, type ProductTableColumn, type ProductTableProps, type ProductTermFilter, ProductTitle, type ProductTitleProps, ProductVariantPicker, type ProductVariantPickerProps, Progress, type ProgressProps, QuantityStepper, type QuantityStepperProps, RadioGroup, RadioGroupItem, Receipt, ReceiptEmailForm, type ReceiptEmailFormProps, ReceiptIcon, type ReceiptItem, ReceiptPreview, type ReceiptPreviewProps, ReceiptSheet, type ReceiptSheetEmail, type ReceiptSheetProps, type ReceiptSheetTemplate, RefundForm, type RefundFormProps, type RefundFormValue, RefundModal, type RefundModalProps, RegisterBar, type RegisterBarPill, type RegisterBarProps, RegisterColumn, type RegisterColumnProps, RegisterCount, type RegisterCountProps, RegisterOpenClose, type RegisterOpenCloseProps, RegisterPanel, type RegisterPanelProps, RegisterPicker, type RegisterPickerProps, type RegisterPickerRegister, RegisterSummary, type RegisterSummaryProps, SCANNER_DEFAULT_HEIGHT, SCANNER_MAX_HEIGHT, SCANNER_MIN_HEIGHT, SKELETON_MAX_ROWS, type SalesCardId, SalesCardPanel, type SalesCardPanelProps, SalesCards, type SalesCardsProps, type SalesFilters, SalesFiltersBar, type SalesFiltersBarProps, SalesHero, type SalesHeroProps, type SalesOption, type SalesPanelId, SalesRoom, type SalesRoomProps, ScaleProvider, type ScaleProviderProps, type ScaleScopeProps, type ScaleState, ScanIcon, ScannerViewfinder, SearchIcon, SearchInput, type SearchInputProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, type SeparatorProps, SettingsGroup, type SettingsGroupProps, SettingsIcon, SettingsLayout, type SettingsLayoutProps, SettingsRow, type SettingsRowProps, type ShellNavItem, ShippingAddressFields, type ShippingAddressFieldsProps, ShoppingCartIcon, Skeleton, type SkeletonProps, Slider, type SliderProps, SplitTender, StatusBadge, type StatusBadgeProps, StoreSettingsChoiceScreen, type StoreSettingsChoiceScreenProps, type SvgIconProps, Switch, SwitchConfirm, type SwitchConfirmProps, SyncStatus, Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TaxBasedOn, type TaxBasedOnProps, TaxCalculationSettings, type TaxCalculationSettingsProps, Tender, TenderPane, type TenderPaneProps, type TenderPicker, Text, type TextProps, Textarea, type TextareaProps, Toast, ToastClose, ToastDescription, type ToastProps, ToastTitle, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, ToneDisc, type ToneDiscProps, type Tone as ToneDiscTone, Tooltip, TooltipContent, TooltipTrigger, type TransactionSummary, UserIcon, UsersIcon, VStack, type VStackProps, type VariantOption, VariationPicker, type VariationPickerProps, ViewToggle, type ViewToggleProps, type ViewfinderProps, type WeekDay, XIcon, addMonths, avatarInitials, avatarVariants, badgeTextVariants, badgeVariants, buttonTextVariants, buttonVariants, cartColumnIds, compareDays, createSvgIcon, defaultProductColumns, describeRegisterBarPill, discountLabel, formatStockSyncTime, hstackVariants, iconButtonVariants, iconVariants, injectPrintStyle, loaderVariants, monthGrid, monthOf, orderReference, parseDiscount, parsePrice, pickFigure, pressRangeDay, productsScreenColumns, skeletonCount, statusDotVariants, syncStatusQuiet, tenderLabel, textVariants, toastVariants, toggleTextVariants, toggleVariants, useDefaultProductColumns, useFontType, useInputContext, usePointer, useProductsScreenColumns, useScale, useT, useTender, vstackVariants };
3699
+ export { APPROVAL_REQUIRED_TEXT, Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivityHeartbeatIcon, type AddedToCartEvent, AddedToCartToast, type AddedToCartToastProps, AddressEditor, type AddressEditorProps, type AddressEditorValue, AddressFields, type AddressFieldsProps, AlertCircleIcon, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTriangleIcon, AppShell, type AppShellProps, Avatar, type AvatarProps, Badge, type BadgeProps, BarcodeScanningSettings, type BarcodeScanningSettingsProps, type BarcodeScanningValues, Button, type ButtonProps, Calendar, type CalendarProps, CameraScanButton, type CameraScanButtonProps, CameraScannerPanel, type CameraScannerPanelProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Cart, type CartAction, CartBar, CartColumnHeads, type CartColumnHeadsProps, type CartColumnId, type CartColumnSettings, CartColumnsForm, type CartColumnsFormProps, CartFoot, type CartFootAction, type CartFootProps, CartLine, CartLineActions, type CartLineActionsProps, type CartLineProps, CartNoteInput, type CartNoteInputProps, CartPanel, type CartPanelProps, CartTotal, type CartTotalProps, CashCountInput, type CashCountInputProps, CashRegisterIcon, CashTendered, type CashTenderedProps, CashierSheet, type CashierSheetCashier, type CashierSheetDrawer, type CashierSheetHandTo, type CashierSheetPlace, type CashierSheetProps, Catalogue, CatalogueSettingsForm, type CatalogueSettingsFormProps, type Catalogues, type CategoryItem, CategoryNav, type CategoryNavProps, CategoryTile, type CategoryTileProps, ChangeDisplay, type ChangeDisplayProps, ChargeForm, type ChargeFormProps, ChartLineIcon, CheckIcon, Checkbox, CheckoutLayout, type CheckoutLayoutProps, ChevronDownIcon, ChevronRightIcon, type ChipItem, ClosureSheet, type ClosureSheetProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxContent, ComboboxEmpty, ComboboxInput, ComboboxItem, ComboboxList, ComboboxTrigger, ConfirmDialog, type ConfirmDialogProps, type ConnectionStatus, ConnectivityToast, type ConnectivityToastProps, ConnectorStatus, type ConnectorStatusProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CustomerCard, type CustomerCardProps, CustomerDisplayPairing, type CustomerDisplayPairingProps, CustomerDisplayScreen, CustomerDisplaySettings, type CustomerDisplaySettingsProps, CustomerDropdown, type CustomerDropdownProps, CustomerEditor, type CustomerEditorProps, CustomerForm, type CustomerFormProps, type CustomerFormValues, CustomerOrderHistory, type CustomerOrderHistoryProps, CustomerPicker, type CustomerPickerProps, CustomerSelect, type CustomerSelectProps, CustomersList, type CustomersListProps, DEFAULT_PRODUCT_FILTERS, DIGIT_ROWS, DateRangeMenu, type DateRangeMenuProps, type Denomination, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DiscountBadge, type DiscountBadgeProps, DiscountChips, type DiscountCoupon, DiscountForm, DiscountIcon, DisplaySettings, type DisplaySettingsProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FLASH_DURATION_MS, FilterChip, FilterChipGroup, type FilterChipGroupProps, type FilterChipProps, type FilterOption, FontProvider, type FontProviderProps, type FontState, type FontStatus, GiftIcon, type GridDay, GripIcon, HStack, type HStackProps, HandoverSlip, type HandoverSlipProps, HoverCard, HoverCardContent, HoverCardTrigger, I18nProvider, type I18nProviderProps, Icon, IconButton, type IconButtonProps, type IconProps, InCartBadge, type InCartBadgeProps, InfoCircleIcon, Input, InputField, InputRoot, type InputRootProps, InputSlot, Keypad, type KeypadKey, type KeypadProps, Label, type LabelProps, LinePopover, type LinePopoverProps, ListRow, type ListRowProps, type ListRowSize, LiveTabScreen, type LiveTabScreenProps, type LiveTabScreenState, Loader, type LoaderProps, MessageQuestionIcon, type Month, MovementSheet, type MovementSheetProps, NavDrawer, type NavDrawerProps, NavRail, type NavRailProps, Notice, type NoticeAction, type NoticeProps, OpenRegisterCard, type OpenRegisterCardProps, OpenSaleTabs, type OpenSaleTabsProps, OrderCard, type OrderCardProps, OrderDetail, type OrderDetailLineItem, type OrderDetailProps, type OrderDetailTaxLine, OrderFilterBar, type OrderFilterBarProps, type OrderFilterOption, type OrderHistoryRow, OrderList, type OrderListProps, OrderNoteSheet, type OrderNoteSheetProps, type OrderStatus, OrderStatusBadge, type OrderStatusBadgeProps, OrderSummary, OrderSummaryLine, type OrderSummaryLineProps, type OrderSummaryPayment, type OrderSummaryProps, OrderSyncNotices, type OrderSyncNoticesProps, OrdersList, POSLayout, type POSLayoutProps, PRODUCT_FILTER_CHIPS, ParkedSales, type ParkedSalesProps, type PaymentMethod, PaymentMethodCard, type PaymentMethodCardProps, type PaymentMethodKind, PaymentSelector, type PaymentSelectorMethod, type PaymentSelectorProps, PickStepper, PlusIcon, Popover, PopoverContent, PopoverTrigger, PriceForm, PrinterForm, type PrinterFormDraft, type PrinterFormProps, PrinterIcon, PrintingSettings, type PrintingSettingsProps, ProductCard, type ProductCardProps, ProductFilterBar, type ProductFilterBarProps, type ProductFilterChip, type ProductFilters, ProductGrid, type ProductGridProps, ProductImage, type ProductImageProps, ProductList, type ProductListProps, ProductPrice, type ProductPriceProps, ProductSku, type ProductSkuProps, ProductStockBadge, type ProductStockBadgeProps, ProductTable, type ProductTableColumn, type ProductTableProps, type ProductTermFilter, ProductTitle, type ProductTitleProps, ProductVariantPicker, type ProductVariantPickerProps, Progress, type ProgressProps, QuantityStepper, type QuantityStepperProps, RadioGroup, RadioGroupItem, Receipt, ReceiptEmailForm, type ReceiptEmailFormProps, ReceiptIcon, type ReceiptItem, ReceiptPreview, type ReceiptPreviewProps, ReceiptSheet, type ReceiptSheetEmail, type ReceiptSheetProps, type ReceiptSheetTemplate, RefundForm, type RefundFormProps, type RefundFormValue, RefundModal, type RefundModalProps, RefundNeedsAdminNotice, type RefundNeedsAdminNoticeProps, RegisterBar, type RegisterBarPill, type RegisterBarProps, RegisterColumn, type RegisterColumnProps, RegisterCount, type RegisterCountProps, RegisterOpenClose, type RegisterOpenCloseProps, RegisterPanel, type RegisterPanelProps, RegisterPicker, type RegisterPickerProps, type RegisterPickerRegister, RegisterSummary, type RegisterSummaryProps, SCANNER_DEFAULT_HEIGHT, SCANNER_MAX_HEIGHT, SCANNER_MIN_HEIGHT, SKELETON_MAX_ROWS, type SalesCardId, SalesCardPanel, type SalesCardPanelProps, SalesCards, type SalesCardsProps, type SalesFilters, SalesFiltersBar, type SalesFiltersBarProps, SalesHero, type SalesHeroProps, type SalesOption, type SalesPanelId, SalesRoom, type SalesRoomProps, ScaleProvider, type ScaleProviderProps, type ScaleScopeProps, type ScaleState, ScanIcon, ScannerViewfinder, SearchIcon, SearchInput, type SearchInputProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, type SeparatorProps, SettingsGroup, type SettingsGroupProps, SettingsIcon, SettingsLayout, type SettingsLayoutProps, SettingsRow, type SettingsRowProps, type ShellNavItem, ShippingAddressFields, type ShippingAddressFieldsProps, ShoppingCartIcon, Skeleton, type SkeletonProps, Slider, type SliderProps, SplitTender, StatusBadge, type StatusBadgeProps, StoreSettingsChoiceScreen, type StoreSettingsChoiceScreenProps, type SvgIconProps, Switch, SwitchConfirm, type SwitchConfirmProps, SyncStatus, Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TaxBasedOn, type TaxBasedOnProps, TaxCalculationSettings, type TaxCalculationSettingsProps, Tender, TenderPane, type TenderPaneProps, type TenderPicker, Text, type TextProps, Textarea, type TextareaProps, Toast, ToastClose, ToastDescription, type ToastProps, ToastTitle, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, ToneDisc, type ToneDiscProps, type Tone as ToneDiscTone, Tooltip, TooltipContent, TooltipTrigger, type TransactionSummary, UserIcon, UsersIcon, VStack, type VStackProps, type VariantOption, VariationPicker, type VariationPickerProps, ViewToggle, type ViewToggleProps, type ViewfinderProps, type WeekDay, XIcon, addMonths, avatarInitials, avatarVariants, badgeTextVariants, badgeVariants, buttonTextVariants, buttonVariants, cartColumnIds, compareDays, createSvgIcon, defaultProductColumns, describeRegisterBarPill, discountLabel, formatStockSyncTime, hstackVariants, iconButtonVariants, iconVariants, injectPrintStyle, loaderVariants, monthGrid, monthOf, orderReference, parseDiscount, parsePrice, pickFigure, pressRangeDay, productsScreenColumns, skeletonCount, statusDotVariants, syncStatusQuiet, tenderLabel, textVariants, toastVariants, toggleTextVariants, toggleVariants, useDefaultProductColumns, useFontType, useInputContext, usePointer, useProductsScreenColumns, useScale, useT, useTender, vstackVariants };