@tallyui/components 3.13.0 → 3.15.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.
Files changed (44) hide show
  1. package/dist/index.d.ts +357 -27
  2. package/dist/index.js +2386 -1370
  3. package/package.json +9 -9
  4. package/src/cart/cart-columns.tsx +57 -0
  5. package/src/cart/cart-foot.tsx +82 -0
  6. package/src/cart/cart-line.tsx +37 -17
  7. package/src/cart/index.ts +2 -0
  8. package/src/checkout/cash-tendered.tsx +5 -7
  9. package/src/index.ts +26 -3
  10. package/src/input/index.ts +1 -0
  11. package/src/input/keypad.tsx +38 -0
  12. package/src/lib/error-text.ts +5 -0
  13. package/src/order/refund-form.tsx +2 -1
  14. package/src/product/category-tile.tsx +43 -0
  15. package/src/product/in-cart-badge.tsx +26 -0
  16. package/src/product/index.ts +2 -0
  17. package/src/register/closure-sheet.tsx +2 -1
  18. package/src/register/handover-slip.tsx +46 -0
  19. package/src/register/index.ts +2 -0
  20. package/src/register/movement-sheet.tsx +2 -1
  21. package/src/register/open-register-card.tsx +2 -1
  22. package/src/register/register-bar.tsx +57 -11
  23. package/src/register/register-column.tsx +2 -1
  24. package/src/register/register-count.tsx +30 -11
  25. package/src/register/register-panel.tsx +45 -4
  26. package/src/register/switch-confirm.tsx +102 -0
  27. package/src/sale/cart.tsx +63 -31
  28. package/src/sale/catalogue.tsx +34 -5
  29. package/src/sale/customer-display-screen.tsx +92 -0
  30. package/src/sale/index.ts +5 -2
  31. package/src/sale/line-popover.tsx +145 -0
  32. package/src/sale/parked-sales.tsx +2 -1
  33. package/src/sale/price-form.tsx +37 -4
  34. package/src/sale/product-filter-bar.tsx +58 -0
  35. package/src/sale/tender-pane.tsx +171 -0
  36. package/src/sale/tender.tsx +20 -35
  37. package/src/shell/app-shell.tsx +71 -0
  38. package/src/shell/index.ts +4 -0
  39. package/src/shell/nav-drawer.tsx +130 -0
  40. package/src/shell/nav-item.tsx +70 -0
  41. package/src/shell/nav-rail.tsx +58 -0
  42. package/src/shell/shell-context.ts +18 -0
  43. package/src/ui/icon/menu-icon.tsx +10 -0
  44. package/src/sale/split-tender.tsx +0 -81
package/dist/index.d.ts CHANGED
@@ -9,8 +9,8 @@ import { SvgProps } from 'react-native-svg';
9
9
  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
10
  export { TextClassContext } from '@tallyui/primitives';
11
11
  import { ScaleOverride, ScaleVariables, ScaleStep, Pointer, TypeSetId, ThemeFontFamily, ThemeType } from '@tallyui/theme';
12
- import { CatalogueView, ProductSortValue, ProductSort, RefundableOrderLine, EarlierRefund, useRegisterSession, RegisterSession, MovementType, AppSettings, useAppSettings, useSale, AppliedDiscount, Discount, CatalogueEntry, CatalogueViewState, SentOrder, PosOrder, ReceiptData, OutboxState, ParkedOrderSummary, OpenSale, SalesFigures, DatePreset, DayRange } from '@tallyui/pos';
13
- import { ProductTraits, TraitContext, Money, CustomerTraits, Customer, CustomerInput, OrderRefundPayload, ProductCategory, SyncNotice, StoreSettingsChoices, StoreSettingsChoice } from '@tallyui/core';
12
+ import { CatalogueView, ProductSortValue, ProductSort, RefundableOrderLine, EarlierRefund, useRegisterSession, RegisterSession, MovementType, ApprovalNeeded, SwitchKind, SwitchWarnings, HandoverSlipData, AppSettings, useAppSettings, useSale, TenderState, TenderAction, AppliedDiscount, Discount, CatalogueEntry, CatalogueViewState, CartQuantityLine, SentOrder, PosOrder, ReceiptData, OutboxState, ParkedOrderSummary, OpenSale, DisplayState, SalesFigures, DatePreset, DayRange } from '@tallyui/pos';
13
+ import { ProductTraits, TraitContext, Money, CustomerTraits, Customer, CustomerInput, OrderRefundPayload, PaymentMethodDescriptor, ProductCategory, SyncNotice, StoreSettingsChoices, StoreSettingsChoice } from '@tallyui/core';
14
14
 
15
15
  declare const textVariants: (props?: ({
16
16
  variant?: "link" | "default" | null | undefined;
@@ -615,24 +615,82 @@ interface ProductVariantPickerProps extends Omit<ViewProps, 'children'> {
615
615
  }
616
616
  declare function ProductVariantPicker({ options, selected, onSelect, className, ...viewProps }: ProductVariantPickerProps): react_jsx_runtime.JSX.Element;
617
617
 
618
+ interface InCartBadgeProps {
619
+ /** How many of the product the cart holds (e.g. from `cartQuantities`); nothing renders at 0. */
620
+ count: number;
621
+ /** Placement, e.g. `absolute right-2 top-2` for a tile's top-right corner. */
622
+ className?: string;
623
+ testID?: string;
624
+ }
625
+ /**
626
+ * How many of a product are in the cart: a primary circle with the count, hidden while there are none.
627
+ *
628
+ * Ported from WCPOS v2 `InCartCount`, packages/core/src/screens/main/pos/products/rows/in-cart-count.tsx
629
+ * (MIT, WCPOS), without its count beat.
630
+ */
631
+ declare function InCartBadge({ count, className, testID }: InCartBadgeProps): react_jsx_runtime.JSX.Element | null;
632
+
633
+ interface CategoryTileProps {
634
+ name: string;
635
+ /** The category's photo; without one the tile shows the name's initial on a tint. */
636
+ imageUrl?: string;
637
+ /** Products in the category, shown under the name when above 0. */
638
+ count?: number;
639
+ onPress?: () => void;
640
+ testID?: string;
641
+ className?: string;
642
+ }
643
+ /**
644
+ * A category as a square tile: its photo full-bleed with the name over the foot, or the name's initial on a
645
+ * tint when there is no photo.
646
+ *
647
+ * Ported from WCPOS v2 `TermTile`, packages/core/src/screens/main/pos/products/browse/term-tile.tsx
648
+ * (MIT, WCPOS): the picture fills the square (`contentFit="cover"`), else a tint; the name bold over two
649
+ * lines with the count under it.
650
+ */
651
+ declare function CategoryTile({ name, imageUrl, count, onPress, testID, className }: CategoryTileProps): react_jsx_runtime.JSX.Element;
652
+
618
653
  interface CartLineProps extends Omit<HStackProps, 'children'> {
619
654
  name: string;
620
- /** The variant's chosen options, one "Name: Value" row each under the name. */
655
+ /** The variant's chosen options, shown as one "Name: Value · Name: Value" line under the name. */
621
656
  attributes?: Record<string, string>;
622
657
  quantity: number;
623
658
  unitPrice: Money;
659
+ /** The regular unit price; shown struck through above unitPrice only when it is above unitPrice. */
660
+ regularUnitPrice?: Money;
624
661
  lineTotal: Money;
662
+ /** Show the Price column (default true); the Cart passes false on a narrow cart or a phone, as CartColumnHeads does. */
663
+ showPrice?: boolean;
664
+ /** Replaces the quantity's text, e.g. a LinePopover that edits it (Cart's `lineEditor="popover"`). */
665
+ quantitySlot?: ReactNode;
666
+ /** Replaces the unit price's text (the struck regular price stays above it). */
667
+ priceSlot?: ReactNode;
625
668
  locale?: string;
626
669
  className?: string;
627
670
  }
628
671
  /**
629
- * Displays a single cart line item: product name, quantity, and line total.
672
+ * A single cart line in the columns of CartColumnHeads: quantity, the name with its attributes, the unit price
673
+ * (with the regular price struck through when it is higher) and the line total.
630
674
  *
631
675
  * ```tsx
632
676
  * <CartLine name="Coffee" quantity={2} unitPrice={unitPrice} lineTotal={lineTotal} />
633
677
  * ```
634
678
  */
635
- declare function CartLine({ name, attributes, quantity, unitPrice, lineTotal, locale, className, ...props }: CartLineProps): react_jsx_runtime.JSX.Element;
679
+ declare function CartLine({ name, attributes, quantity, unitPrice, regularUnitPrice, lineTotal, showPrice, quantitySlot, priceSlot, locale, className, ...props }: CartLineProps): react_jsx_runtime.JSX.Element;
680
+
681
+ interface CartColumnHeadsProps extends Omit<ViewProps, 'children'> {
682
+ /** Show the Price head (default true); pass the same value as each CartLine's `showPrice`. */
683
+ showPrice?: boolean;
684
+ className?: string;
685
+ }
686
+ /**
687
+ * The cart's header row, Qty, Item, Price and Total, over lines laid out by CartLine in the same columns.
688
+ *
689
+ * ```tsx
690
+ * <CartColumnHeads showPrice={showPrice} />
691
+ * ```
692
+ */
693
+ declare function CartColumnHeads({ showPrice, className, ...props }: CartColumnHeadsProps): JSX.Element;
636
694
 
637
695
  interface CartTotalProps extends Omit<VStackProps, 'children'> {
638
696
  subtotal: Money;
@@ -705,6 +763,32 @@ interface CartLineActionsProps extends Omit<ViewProps, 'children'> {
705
763
  }
706
764
  declare function CartLineActions({ children, actions, className, ...viewProps }: CartLineActionsProps): react_jsx_runtime.JSX.Element;
707
765
 
766
+ interface CartFootAction {
767
+ label: string;
768
+ onPress: () => void;
769
+ /** Shown in the destructive colour, e.g. a Void. */
770
+ destructive?: boolean;
771
+ }
772
+ interface CartFootProps {
773
+ total: Money;
774
+ onCheckout: () => void;
775
+ /** The ⋮ menu's items; the ⋮ is left out when there are none. */
776
+ actions?: readonly CartFootAction[];
777
+ /** Disables Checkout only; the menu stays usable. */
778
+ disabled?: boolean;
779
+ locale?: string;
780
+ className?: string;
781
+ }
782
+ /**
783
+ * The cart's foot: a ⋮ menu of the host's actions beside one "Checkout {total}" button, as in WCPOS v2.
784
+ * v2's ⋮ opens its Order details sheet; here the host passes the items, so it can pass one that opens its own sheet.
785
+ *
786
+ * ```tsx
787
+ * <CartFoot total={total} onCheckout={startCheckout} actions={[{ label: 'Void', onPress: voidSale, destructive: true }]} />
788
+ * ```
789
+ */
790
+ declare function CartFoot({ total, onCheckout, actions, disabled, locale, className }: CartFootProps): react_jsx_runtime.JSX.Element;
791
+
708
792
  interface SearchInputProps extends Omit<TextInputProps, 'value' | 'onChangeText'> {
709
793
  value: string;
710
794
  onChangeText: (text: string) => void;
@@ -750,6 +834,28 @@ interface QuantityStepperProps extends Omit<ViewProps, 'children'> {
750
834
  }
751
835
  declare function QuantityStepper({ defaultQuantity, quantity: controlledQuantity, onChangeQuantity, min, max, className, ...viewProps }: QuantityStepperProps): react_jsx_runtime.JSX.Element;
752
836
 
837
+ interface KeypadKey {
838
+ /** What a press reports: a digit, `decimal`, `backspace`, or the caller's own key. */
839
+ name: string;
840
+ /** The accessible name: the digit, or the caller's own ("Delete last digit"). */
841
+ label: string;
842
+ /** The key's text when it is not its label (`⌫`, named "Delete last digit"). */
843
+ text?: string;
844
+ /** The cells the key takes in its row (default 1). */
845
+ span?: number;
846
+ }
847
+ interface KeypadProps {
848
+ rows: readonly (readonly KeypadKey[])[];
849
+ onPress: (name: string) => void;
850
+ /** A key is `<testID>-key-<name>`. */
851
+ testID?: string;
852
+ className?: string;
853
+ }
854
+ /** v2's DIGIT_ROWS: 123 / 456 / 789; the caller adds its own last row. */
855
+ declare const DIGIT_ROWS: KeypadKey[][];
856
+ /** Rows of keys with no display or value, as v2's Keypad: the caller owns the entry. */
857
+ declare function Keypad({ rows, onPress, testID, className }: KeypadProps): react_jsx_runtime.JSX.Element;
858
+
753
859
  interface CustomerCardProps<Doc = any> extends Omit<VStackProps, 'children'> {
754
860
  doc: Doc;
755
861
  traits?: CustomerTraits<Doc>;
@@ -1145,18 +1251,30 @@ interface RegisterBarProps {
1145
1251
  onOpenPanel: () => void;
1146
1252
  /** Turns the pill into a button (opens the gate/picker or the panel) when given; the plain badge otherwise. */
1147
1253
  onPressPill?: () => void;
1254
+ /** The store's name. With `multiRegister` and a bound register the bar reads "Store · Register". */
1255
+ storeName?: string;
1256
+ /** The signed-in cashier: an initials avatar, pressable when `onPress` is given. */
1257
+ cashier?: {
1258
+ name: string;
1259
+ onPress?: () => void;
1260
+ };
1261
+ /** The app's sync state (a badge or a line), drawn before the cashier. */
1262
+ syncStatus?: ReactNode;
1263
+ /** Opens the navigation; inside a phone `AppShell` the shell supplies it. Hidden when neither. */
1264
+ onOpenMenu?: () => void;
1148
1265
  className?: string;
1149
1266
  }
1150
1267
  /**
1151
- * The till's one status bar: which register (multi-register stores only), one status pill
1152
- * (LEDGER 48), and the button that opens the register panel. Port provenance (ADR-032 amendment
1153
- * 1): WCPOS `next` `3b5331b5c` `register-bar.tsx`.
1268
+ * The till's one status bar: the menu (phones), the place (the store, and the register for
1269
+ * multi-register stores), one status pill (LEDGER 48), the sync state, the button that opens the
1270
+ * register panel, and the cashier. Port provenance (ADR-032 amendment 1): WCPOS `next` `3b5331b5c`
1271
+ * `register-bar.tsx`; the menu, the place and the cashier from v2 `main` `51e7c4351`
1272
+ * `packages/core/src/screens/main/pos/cart/register-bar.tsx` and `components/bar-controls`, MIT, WCPOS.
1154
1273
  *
1155
- * Dropped for this neutral port: the user avatar and user sheet, switch-store, and the
1156
- * WooCommerce OAuth-return rehosting — all app/backend concerns `useRegisterSession` never
1157
- * carries. The drawer/menu button is gone too: TallyUI has no fixed navigation shell to open.
1274
+ * Dropped for this neutral port: the user sheet, switch-store, the notification bell and the
1275
+ * WooCommerce OAuth-return rehosting — all app/backend concerns `useRegisterSession` never carries.
1158
1276
  */
1159
- declare function RegisterBar({ register, registerId, online, registerName, multiRegister, onOpenPanel, onPressPill, className, }: RegisterBarProps): react_jsx_runtime.JSX.Element;
1277
+ declare function RegisterBar({ register, registerId, online, registerName, multiRegister, onOpenPanel, onPressPill, storeName, cashier, syncStatus, onOpenMenu, className, }: RegisterBarProps): react_jsx_runtime.JSX.Element;
1160
1278
 
1161
1279
  /**
1162
1280
  * The register bar's status pill: one pill, one place. Port provenance (ADR-032 amendment 1):
@@ -1223,6 +1341,15 @@ interface RegisterPanelProps {
1223
1341
  registerName?: string;
1224
1342
  open: boolean;
1225
1343
  onOpenChange: (open: boolean) => void;
1344
+ /**
1345
+ * The host's gate for a closure the store refused (`register.approvalNeeded`, ADR-082 d7): it
1346
+ * gets the refusal, including `liveAtStore`, and returns a new proof and approver, or `null`
1347
+ * to leave it. Its result goes to `actions.reapproveClosure`. Without it, the card has no button.
1348
+ */
1349
+ reapprove?: (needed: ApprovalNeeded) => Promise<{
1350
+ approvedBy: string;
1351
+ approval: string;
1352
+ } | null>;
1226
1353
  className?: string;
1227
1354
  }
1228
1355
  /**
@@ -1234,7 +1361,7 @@ interface RegisterPanelProps {
1234
1361
  * note): refused-movement Retry and "Unsynced" (no outbox here to refuse a movement), the
1235
1362
  * X-report, Z and print/reprint, and the Reports deep link.
1236
1363
  */
1237
- declare function RegisterPanel({ register, currency, registerName, open, onOpenChange, className }: RegisterPanelProps): react_jsx_runtime.JSX.Element | null;
1364
+ declare function RegisterPanel({ register, currency, registerName, open, onOpenChange, reapprove, className }: RegisterPanelProps): react_jsx_runtime.JSX.Element | null;
1238
1365
 
1239
1366
  interface RegisterColumnProps {
1240
1367
  /** `useRegisterSession`'s return value: decides the picker/open/counting/selling swap. */
@@ -1273,13 +1400,21 @@ interface RegisterCountProps {
1273
1400
  /** ISO 4217 code: denomination faces, parsing and display. */
1274
1401
  currency: string;
1275
1402
  /**
1276
- * Above `register.varianceThreshold`, Close asks for this first. `null` refuses and the count
1277
- * stays; without it, Close refuses outright with `APPROVAL_REQUIRED_TEXT`. Its `approvedBy`
1278
- * and `approvedByName` go to `closeSession`, which enforces the same gate and puts them on the Z.
1403
+ * Above `register.varianceThreshold`, Close asks for this first, with the count it would close
1404
+ * on. `null` refuses and the count stays; without it, Close refuses outright with
1405
+ * `APPROVAL_REQUIRED_TEXT`. Its `approvedBy`, `approvedByName`, `approval` (the store's opaque
1406
+ * proof, ADR-082) and `approvedVariance` (from `actions.closureVariance`) go to `closeSession`,
1407
+ * which enforces the same gate and puts the approver on the Z. A count edited while this is
1408
+ * pending, or a variance that moved since (the hook's gate), asks again on the next Close.
1409
+ * A zero-argument function still fits.
1279
1410
  */
1280
- approve?: () => Promise<{
1411
+ approve?: (input: {
1412
+ counted: Record<string, number>;
1413
+ }) => Promise<{
1281
1414
  approvedBy: string;
1282
1415
  approvedByName?: string;
1416
+ approval?: string;
1417
+ approvedVariance?: Record<string, number>;
1283
1418
  } | null>;
1284
1419
  className?: string;
1285
1420
  }
@@ -1313,6 +1448,44 @@ interface ClosureSheetProps {
1313
1448
  */
1314
1449
  declare function ClosureSheet({ register, currency, onPrint, onDone }: ClosureSheetProps): react_jsx_runtime.JSX.Element | null;
1315
1450
 
1451
+ interface SwitchConfirmProps {
1452
+ kind: SwitchKind;
1453
+ warnings: SwitchWarnings;
1454
+ /** The cashier or register switched to; unused for `signOut`. */
1455
+ targetName?: string;
1456
+ /** The bound register's name, for the descriptions and the sign-out title. */
1457
+ registerName?: string;
1458
+ /** A formatted expected cash amount for the sign-out title; omit while blind. */
1459
+ amount?: string;
1460
+ onConfirm: () => void;
1461
+ onCancel: () => void;
1462
+ /** Sign-out with an open session: renders "Close register", which calls this. */
1463
+ onCloseRegister?: () => void;
1464
+ /** Cashier switch: renders "Print hand-over slip", which calls this. */
1465
+ onPrintHandover?: () => void;
1466
+ }
1467
+ /**
1468
+ * Confirms a cashier switch, a register switch or a sign-out, naming what it leaves behind (v2 parity A12). Port
1469
+ * provenance: WCPOS v2 monorepo `main` 51e7c4351 `packages/core/src/screens/main/pos/cart/switch-confirm.tsx`, with
1470
+ * its English copy (`locales/en/core.json`, `register.*`). Not ported: the store switch and its drawer carry, and
1471
+ * v2's "The POS reloads as …" lines (a TallyUI app's switch is its platform's own). New here: unsent sales add
1472
+ * "anyway" to the confirm, and till updates, parked sales and a partly paid sale are listed too.
1473
+ */
1474
+ declare function SwitchConfirm({ kind, warnings, targetName, registerName, amount, onConfirm, onCancel, onCloseRegister, onPrintHandover, }: SwitchConfirmProps): react_jsx_runtime.JSX.Element;
1475
+
1476
+ interface HandoverSlipProps {
1477
+ /** `handoverSlip(...)`'s result; `document` is not read here (it is what prints). */
1478
+ slip: Omit<HandoverSlipData, 'document'>;
1479
+ /** ISO 4217 code, for the expected figures. */
1480
+ currency: string;
1481
+ }
1482
+ /**
1483
+ * The hand-over slip on screen: what a closing cashier hands the next one (v2's "Hand-over slip", the open session's
1484
+ * X report naming the cashier; WCPOS v2 monorepo `main` 51e7c4351 `switch-confirm.tsx` and `use-session-report.ts`).
1485
+ * No dialog: the host places it, for example in a print preview. No expected figures while blind.
1486
+ */
1487
+ declare function HandoverSlip({ slip, currency }: HandoverSlipProps): react_jsx_runtime.JSX.Element;
1488
+
1316
1489
  interface SettingsRowProps extends Omit<ViewProps, 'children'> {
1317
1490
  label: string;
1318
1491
  description?: string;
@@ -1354,7 +1527,7 @@ interface DisplaySettingsProps {
1354
1527
  declare function DisplaySettings({ settings, setSetting, className }: DisplaySettingsProps): JSX.Element;
1355
1528
 
1356
1529
  /** `taxLabel` names each tax row; VAT isn't universal, so a platform passes its own (medusapos passes `VAT ${rate}%`). */
1357
- declare function Cart({ sale, taxLabel, canEditPrice, onPriceChange, taxClasses, afterSubtotal, couponDiscountMinor }: {
1530
+ declare function Cart({ sale, taxLabel, canEditPrice, onPriceChange, quickDiscounts, taxClasses, afterSubtotal, couponDiscountMinor, orderActions, checkout, lineEditor }: {
1358
1531
  sale: ReturnType<typeof useSale>;
1359
1532
  taxLabel?: (ratePpm: number) => string;
1360
1533
  taxClasses?: ReadonlyArray<{
@@ -1370,12 +1543,26 @@ declare function Cart({ sale, taxLabel, canEditPrice, onPriceChange, taxClasses,
1370
1543
  toMinor: number;
1371
1544
  reason?: string;
1372
1545
  }) => void;
1546
+ /** v2's quick-discount keys on each line's Price form (e.g. the app's `cart.quickDiscounts` setting); needs `canEditPrice`. */
1547
+ quickDiscounts?: readonly number[];
1373
1548
  /** Rows under the totals' Subtotal, e.g. the platform's coupon chips (passed to CartTotal). */
1374
1549
  afterSubtotal?: ReactNode;
1375
1550
  /** The coupon amount the app itemises in `afterSubtotal` (e.g. Σ `order.display.coupons`), in integer minor units of
1376
1551
  * the order's currency, in the display mode. When given, the Discount row shows the other discounts only (the
1377
1552
  * totals' discount minus this) and is hidden when they come to 0. Absent: the Discount row is the whole discount. */
1378
1553
  couponDiscountMinor?: number;
1554
+ /** Cart's own Order discount and Add charge controls; pass `false` when the app hosts them in its own menu (v2's
1555
+ * cart "+" menu). Applied discounts and charges still show and can be removed. */
1556
+ orderActions?: boolean;
1557
+ /** Swaps the Cash and Card terminal row for v2's foot, `CartFoot`: "Checkout {total}" calls `onCheckout`, and the
1558
+ * ⋮ menu lists `actions`. Absent: the Cash and Card terminal row. */
1559
+ checkout?: {
1560
+ onCheckout: () => void;
1561
+ actions?: readonly CartFootAction[];
1562
+ };
1563
+ /** `popover`: tapping a line's quantity or price opens v2's keypad (WCPOS cart cells/quantity-keypad.tsx and
1564
+ * cells/price.tsx), the price one with the quick-discount keys. Default `inline`: the − / + buttons and Price form. */
1565
+ lineEditor?: 'inline' | 'popover';
1379
1566
  }): react_jsx_runtime.JSX.Element;
1380
1567
 
1381
1568
  /** Phone mode's cart summary (medusapos ADR 0009): the whole bar is one button; the total is the cart's own Total row. */
@@ -1384,13 +1571,33 @@ declare function CartBar({ sale, onOpen }: {
1384
1571
  onOpen: () => void;
1385
1572
  }): react_jsx_runtime.JSX.Element;
1386
1573
 
1387
- declare function Tender({ sale }: {
1388
- sale: ReturnType<typeof useSale>;
1389
- }): react_jsx_runtime.JSX.Element | null;
1574
+ type Sale$1 = ReturnType<typeof useSale>;
1575
+ type TenderProps = {
1576
+ sale: Sale$1;
1577
+ methods?: PaymentMethodDescriptor[];
1578
+ };
1579
+ /** The tender pane with its own reducer, opened on the method `startTender` chose. Renders nothing outside the tender stage. */
1580
+ declare function Tender({ sale, methods }: TenderProps): JSX.Element | null;
1581
+ /** @deprecated Use Tender: the pane now handles split payments. */
1582
+ declare function SplitTender(props: TenderProps): JSX.Element;
1390
1583
 
1391
- declare function SplitTender({ sale }: {
1392
- sale: ReturnType<typeof useSale>;
1393
- }): JSX.Element | null;
1584
+ /**
1585
+ * The tender pane, laid out as WCPOS v2's (monorepo main, packages/core/src/screens/main/pos/checkout/tender/):
1586
+ * BalanceHeadline and LedgerLegs from ledger-pane.tsx, then the method tiles, entry, quick-cash chips,
1587
+ * keypad and commit from tender-pane.tsx's TenderKeypad. Copy is v2's English catalogue. Every figure
1588
+ * comes from pos (useSale's captured-only totals, tenderRounding, quickTenderedAmounts, planLegs).
1589
+ */
1590
+
1591
+ type Sale = ReturnType<typeof useSale>;
1592
+ interface TenderPaneProps {
1593
+ sale: Sale;
1594
+ /** The tender reducer's state (`tenderReducer` in @tallyui/pos); the host owns the reducer. */
1595
+ state: TenderState;
1596
+ dispatch: (action: TenderAction) => void;
1597
+ /** Defaults to `defaultPaymentMethods()`; only `cash` and `external`, the order.create methods, are offered. */
1598
+ methods?: PaymentMethodDescriptor[];
1599
+ }
1600
+ declare function TenderPane({ sale, state, dispatch, methods }: TenderPaneProps): JSX.Element | null;
1394
1601
 
1395
1602
  /** The cashier's entry as a TallyUI Discount (a percent, or integer minor units), or the inline error to show. */
1396
1603
  declare function parseDiscount(type: Discount['type'], text: string, currency: string): Discount | string;
@@ -1420,14 +1627,37 @@ declare function DiscountChips({ discounts, currency, onRemove, prefix, amounts
1420
1627
  /** The cashier's entry as integer minor units of `currency` (0 allowed), or the inline error to show. */
1421
1628
  declare function parsePrice(text: string, currency: string): number | string;
1422
1629
  /** `onApply` returns a refusal to show inline, or null once applied. */
1423
- declare function PriceForm({ lineName, currency, currentMinor, onApply, onClose }: {
1630
+ declare function PriceForm({ lineName, currency, currentMinor, onApply, onClose, quickDiscounts }: {
1424
1631
  lineName: string;
1425
1632
  currency: string;
1426
1633
  currentMinor: number;
1427
1634
  onApply: (amountMinor: number, reason?: string) => string | null;
1428
1635
  onClose: () => void;
1636
+ /** Percentages off the current price, as v2's price-keypad keys; the first three valid ones (0 < n ≤ 100) are drawn. */
1637
+ quickDiscounts?: readonly number[];
1429
1638
  }): JSX.Element;
1430
1639
 
1640
+ interface LinePopoverProps {
1641
+ /** `quantity` takes whole numbers only, with no decimal key (decimal quantities need an ADR first, TallyUI#486). */
1642
+ kind: 'quantity' | 'price';
1643
+ lineName: string;
1644
+ /** The order's currency: the price's format and its decimal places. */
1645
+ currency: string;
1646
+ /** The stored quantity, or the unit price in integer minor units. */
1647
+ value: number;
1648
+ /** Writes the new value; returns a refusal to show, or null once applied. */
1649
+ onApply: (value: number) => string | null;
1650
+ /** Price only: v2's quick-discount keys, the first three valid percentages (as PriceForm's). */
1651
+ quickDiscounts?: readonly number[];
1652
+ /** The trigger's text classes (the cell's alignment and tone). */
1653
+ textClassName?: string;
1654
+ }
1655
+ /**
1656
+ * A cart line's quantity or price that opens v2's keypad: the cashier types (or picks a quick discount),
1657
+ * Apply writes through `onApply`, and Cancel, Escape or a press outside close without writing.
1658
+ */
1659
+ declare function LinePopover({ kind, lineName, currency, value, onApply, quickDiscounts, textClassName }: LinePopoverProps): react_jsx_runtime.JSX.Element;
1660
+
1431
1661
  interface ChargeFormProps {
1432
1662
  currency: string;
1433
1663
  lineTax?: {
@@ -1451,8 +1681,34 @@ interface ChargeFormProps {
1451
1681
  /** `onApply` returns a refusal to show inline, or null once applied. */
1452
1682
  declare function ChargeForm({ currency, lineTax, taxClasses, shippingTaxFromStore, onApply, onClose }: ChargeFormProps): react_jsx_runtime.JSX.Element;
1453
1683
 
1684
+ type ProductFilterChip = 'inStock' | 'featured' | 'onSale' | 'category' | 'tag' | 'brand';
1685
+ type TermChip = 'category' | 'tag' | 'brand';
1686
+ interface ProductFilters {
1687
+ inStock: boolean;
1688
+ featured: boolean;
1689
+ onSale: boolean;
1690
+ }
1691
+ /** In Stock starts on, as v2's `stock_status: 'instock'` does while "show out-of-stock products" is off (its default). */
1692
+ declare const DEFAULT_PRODUCT_FILTERS: ProductFilters;
1693
+ declare const PRODUCT_FILTER_CHIPS: readonly ProductFilterChip[];
1694
+ interface ProductFilterBarProps {
1695
+ value: ProductFilters;
1696
+ onChange: (next: ProductFilters) => void;
1697
+ /** Which chips to show, in this order. Default PRODUCT_FILTER_CHIPS. */
1698
+ chips?: readonly ProductFilterChip[];
1699
+ /** Opens the app's term picker; the category, tag and brand chips render only when it is given. */
1700
+ onTermPress?: (chip: TermChip) => void;
1701
+ className?: string;
1702
+ }
1703
+ /**
1704
+ * v2's always-on filter chips above the product grid: In Stock, Featured and On Sale toggle; Category, Tag
1705
+ * and Brand open the app's term picker. Ported from WCPOS v2 `FilterBar`,
1706
+ * packages/core/src/screens/main/pos/products/filter-bar/filter-bar.tsx (MIT, WCPOS).
1707
+ */
1708
+ declare function ProductFilterBar({ value, onChange, chips, onTermPress, className }: ProductFilterBarProps): react_jsx_runtime.JSX.Element;
1709
+
1454
1710
  declare function formatStockSyncTime(time: Date, locale?: string, hour12?: boolean, now?: Date): string;
1455
- declare function Catalogue<Doc>({ products, traits, currency, onSelect, statusText, statusAccessory, lastSyncedAt, loading, pullError, lastStockCheckAt, hour12, minCodeLength, viewState, defaultViewState, loadViewState, saveViewState, onViewStateError, onStateChange, showViewToggle, items, onQueryChange, showCategoryNav, categories, pickAnyOptions }: {
1711
+ declare function Catalogue<Doc>({ products, traits, currency, onSelect, statusText, statusAccessory, lastSyncedAt, loading, pullError, lastStockCheckAt, hour12, minCodeLength, viewState, defaultViewState, loadViewState, saveViewState, onViewStateError, onStateChange, showViewToggle, items, onQueryChange, showCategoryNav, categories, pickAnyOptions, cartLines, showFilterBar, filterChips, filters: filtersProp, onFiltersChange }: {
1456
1712
  products: Doc[];
1457
1713
  traits: ProductTraits<Doc>;
1458
1714
  currency: string;
@@ -1502,6 +1758,16 @@ declare function Catalogue<Doc>({ products, traits, currency, onSelect, statusTe
1502
1758
  onQueryChange?: (query: string) => void;
1503
1759
  /** Ask for a value for each of a variant's local "Any" option groups before onSelect (#495); set it only when the store accepts order.create version 6. */
1504
1760
  pickAnyOptions?: boolean;
1761
+ /** The open sale's lines (e.g. useSale's order.lineItems); each grid tile shows its product's summed quantity. */
1762
+ cartLines?: readonly CartQuantityLine[];
1763
+ /** Show v2's filter chips under the search box. Default false. */
1764
+ showFilterBar?: boolean;
1765
+ /** Which chips the bar shows. Default ['inStock'], the one Catalogue applies itself. */
1766
+ filterChips?: readonly ProductFilterChip[];
1767
+ /** Controlled filters; changes are reported through onFiltersChange. */
1768
+ filters?: ProductFilters;
1769
+ /** The cashier's next filters (requested filters when controlled). */
1770
+ onFiltersChange?: (filters: ProductFilters) => void;
1505
1771
  }): react_jsx_runtime.JSX.Element;
1506
1772
 
1507
1773
  type ReceiptProps = {
@@ -1618,6 +1884,15 @@ interface OpenSaleTabsProps {
1618
1884
  */
1619
1885
  declare function OpenSaleTabs({ sales, currency, onSelect, onNew }: OpenSaleTabsProps): JSX.Element;
1620
1886
 
1887
+ /**
1888
+ * What the customer sees on the second screen, laid out as WCPOS v2's default "Ledger" display
1889
+ * (Pro templates/display.html): idle shows the store; cart and payment show the items on the left and a panel on the
1890
+ * right with the totals, or the payment card.
1891
+ */
1892
+ declare function CustomerDisplayScreen({ state }: {
1893
+ state: DisplayState;
1894
+ }): react_jsx_runtime.JSX.Element;
1895
+
1621
1896
  interface POSLayoutProps extends Omit<ViewProps, 'children'> {
1622
1897
  browseSlot: ReactNode;
1623
1898
  cartSlot: ReactNode;
@@ -1696,6 +1971,61 @@ interface StoreSettingsChoiceScreenProps extends Omit<ViewProps, 'children'> {
1696
1971
  */
1697
1972
  declare function StoreSettingsChoiceScreen({ choices, initial, onSubmit, countryName, locale, title, body, regionLabel, countryLabel, channelLabel, submitLabel, className, ...viewProps }: StoreSettingsChoiceScreenProps): react_jsx_runtime.JSX.Element;
1698
1973
 
1974
+ interface ShellNavItem {
1975
+ id: string;
1976
+ label: string;
1977
+ /** An icon element drawn in currentColor (`createSvgIcon`), 24 px. */
1978
+ icon: React$1.ReactNode;
1979
+ /** A count or short text on the icon's shoulder; nothing when undefined, 0 or ''. */
1980
+ badge?: number | string;
1981
+ /** `bottom` items sit in the group pinned to the end of the rail or drawer (v2's `marginTop: 'auto'`). */
1982
+ group?: 'top' | 'bottom';
1983
+ }
1984
+
1985
+ interface AppShellProps {
1986
+ navItems: ShellNavItem[];
1987
+ activeId?: string;
1988
+ /** Routing is the app's: it maps the pressed item's id to its own route. */
1989
+ onNavigate: (id: string) => void;
1990
+ /** Drawn above the page (a `RegisterBar`); its menu button opens the drawer on phones. */
1991
+ registerBar?: React$1.ReactNode;
1992
+ children?: React$1.ReactNode;
1993
+ className?: string;
1994
+ testID?: string;
1995
+ }
1996
+ /** The POS frame: the nav rail beside the page on wide windows, a slide-over drawer on phones. */
1997
+ declare function AppShell({ navItems, activeId, onNavigate, registerBar, children, className, testID, }: AppShellProps): react_jsx_runtime.JSX.Element;
1998
+
1999
+ interface NavRailProps {
2000
+ items: ShellNavItem[];
2001
+ activeId?: string;
2002
+ onNavigate: (id: string) => void;
2003
+ className?: string;
2004
+ testID?: string;
2005
+ }
2006
+ /**
2007
+ * The wide layout's permanent icon column. Its width is 16 spacing units, the `h-12 w-12` item
2008
+ * plus 2 units each side (64 at Regular), so it follows the scale step as v2's does. Icon-only:
2009
+ * the label shows to the right on hover or keyboard focus, v2's web tooltip.
2010
+ */
2011
+ declare function NavRail({ items, activeId, onNavigate, className, testID }: NavRailProps): react_jsx_runtime.JSX.Element;
2012
+
2013
+ interface NavDrawerProps {
2014
+ open: boolean;
2015
+ onOpenChange: (open: boolean) => void;
2016
+ items: ShellNavItem[];
2017
+ activeId?: string;
2018
+ onNavigate: (id: string) => void;
2019
+ /** Drawn above the items (a store name or logo). */
2020
+ header?: React$1.ReactNode;
2021
+ testID?: string;
2022
+ }
2023
+ /**
2024
+ * The phone's navigation: a 200-wide panel that slides over the screen from the left, v2's
2025
+ * `drawerType: 'front'`, with a backdrop that closes it. Pressing the current page only closes it.
2026
+ */
2027
+ declare function NavDrawer({ open, onOpenChange, items, activeId, onNavigate, header, testID }: NavDrawerProps): react_jsx_runtime.JSX.Element | null;
2028
+
1699
2029
  /**
1700
2030
  * The Sales room's cards over unit 10's figures. Port of WCPOS v2 `screens/main/reports/cards/`
1701
2031
  * (`card.tsx`, `primitives.tsx`, `orders.tsx`, `payments.tsx`, `top-products.tsx`,
@@ -1794,4 +2124,4 @@ interface FontProviderProps {
1794
2124
  declare function FontProvider({ font, autoTypeSet, loadFonts, children }: FontProviderProps): React$1.JSX.Element;
1795
2125
  declare function useFontType(): FontState;
1796
2126
 
1797
- export { APPROVAL_REQUIRED_TEXT, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, type AvatarProps, Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Cart, type CartAction, CartBar, CartLine, CartLineActions, type CartLineActionsProps, type CartLineProps, CartNoteInput, type CartNoteInputProps, CartPanel, type CartPanelProps, CartTotal, type CartTotalProps, CashCountInput, type CashCountInputProps, CashTendered, type CashTenderedProps, Catalogue, type CategoryItem, CategoryNav, type CategoryNavProps, ChangeDisplay, type ChangeDisplayProps, ChargeForm, type ChargeFormProps, Checkbox, CheckoutLayout, type CheckoutLayoutProps, type ChipItem, ClosureSheet, type ClosureSheetProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxContent, ComboboxEmpty, ComboboxInput, ComboboxItem, ComboboxTrigger, type ConnectionStatus, ConnectorStatus, type ConnectorStatusProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CustomerCard, type CustomerCardProps, CustomerForm, type CustomerFormProps, type CustomerFormValues, CustomerOrderHistory, type CustomerOrderHistoryProps, CustomerPicker, type CustomerPickerProps, CustomerSelect, type CustomerSelectProps, type Denomination, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DiscountBadge, type DiscountBadgeProps, DiscountChips, DiscountForm, DisplaySettings, type DisplaySettingsProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FilterChip, FilterChipGroup, type FilterChipGroupProps, type FilterChipProps, FontProvider, type FontProviderProps, type FontState, type FontStatus, HStack, type HStackProps, HoverCard, HoverCardContent, HoverCardTrigger, Icon, IconButton, type IconButtonProps, type IconProps, Input, InputField, InputRoot, type InputRootProps, InputSlot, Label, type LabelProps, LiveTabScreen, type LiveTabScreenProps, type LiveTabScreenState, Loader, type LoaderProps, MovementSheet, type MovementSheetProps, OpenRegisterCard, type OpenRegisterCardProps, OpenSaleTabs, type OpenSaleTabsProps, OrderCard, type OrderCardProps, OrderDetail, type OrderDetailLineItem, type OrderDetailProps, type OrderHistoryRow, OrderList, type OrderListProps, type OrderStatus, OrderStatusBadge, type OrderStatusBadgeProps, OrderSummary, OrderSummaryLine, type OrderSummaryLineProps, type OrderSummaryPayment, type OrderSummaryProps, OrdersList, POSLayout, type POSLayoutProps, ParkedSales, type ParkedSalesProps, type PaymentMethod, PaymentMethodCard, type PaymentMethodCardProps, PaymentSelector, type PaymentSelectorProps, Popover, PopoverContent, PopoverTrigger, PriceForm, ProductCard, type ProductCardProps, ProductGrid, type ProductGridProps, ProductImage, type ProductImageProps, ProductList, type ProductListProps, ProductPrice, type ProductPriceProps, ProductSku, type ProductSkuProps, ProductStockBadge, type ProductStockBadgeProps, ProductTable, type ProductTableColumn, type ProductTableProps, ProductTitle, type ProductTitleProps, ProductVariantPicker, type ProductVariantPickerProps, Progress, type ProgressProps, QuantityStepper, type QuantityStepperProps, RadioGroup, RadioGroupItem, Receipt, type ReceiptItem, ReceiptPreview, type ReceiptPreviewProps, 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, type SalesCardId, SalesCards, type SalesCardsProps, type SalesFilters, SalesFiltersBar, type SalesFiltersBarProps, SalesHero, type SalesHeroProps, type SalesOption, SalesRoom, type SalesRoomProps, ScaleProvider, type ScaleProviderProps, type ScaleScopeProps, type ScaleState, SearchIcon, SearchInput, type SearchInputProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, type SeparatorProps, SettingsGroup, type SettingsGroupProps, SettingsLayout, type SettingsLayoutProps, SettingsRow, type SettingsRowProps, Slider, type SliderProps, SplitTender, StoreSettingsChoiceScreen, type StoreSettingsChoiceScreenProps, type SvgIconProps, Switch, SyncStatus, Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tender, Text, type TextProps, Textarea, type TextareaProps, Toast, ToastClose, ToastDescription, type ToastProps, ToastTitle, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipContent, TooltipTrigger, type TransactionSummary, VStack, type VStackProps, type VariantOption, ViewToggle, type ViewToggleProps, XIcon, avatarVariants, badgeTextVariants, badgeVariants, buttonTextVariants, buttonVariants, createSvgIcon, defaultProductColumns, describeRegisterBarPill, discountLabel, formatStockSyncTime, hstackVariants, iconButtonVariants, iconVariants, injectPrintStyle, loaderVariants, orderReference, parseDiscount, parsePrice, textVariants, toastVariants, toggleTextVariants, toggleVariants, useDefaultProductColumns, useFontType, useInputContext, usePointer, useScale, vstackVariants };
2127
+ export { APPROVAL_REQUIRED_TEXT, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AppShell, type AppShellProps, Avatar, type AvatarProps, Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Cart, type CartAction, CartBar, CartColumnHeads, type CartColumnHeadsProps, CartFoot, type CartFootAction, type CartFootProps, CartLine, CartLineActions, type CartLineActionsProps, type CartLineProps, CartNoteInput, type CartNoteInputProps, CartPanel, type CartPanelProps, CartTotal, type CartTotalProps, CashCountInput, type CashCountInputProps, CashTendered, type CashTenderedProps, Catalogue, type CategoryItem, CategoryNav, type CategoryNavProps, CategoryTile, type CategoryTileProps, ChangeDisplay, type ChangeDisplayProps, ChargeForm, type ChargeFormProps, Checkbox, CheckoutLayout, type CheckoutLayoutProps, type ChipItem, ClosureSheet, type ClosureSheetProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxContent, ComboboxEmpty, ComboboxInput, ComboboxItem, ComboboxTrigger, type ConnectionStatus, ConnectorStatus, type ConnectorStatusProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CustomerCard, type CustomerCardProps, CustomerDisplayScreen, CustomerForm, type CustomerFormProps, type CustomerFormValues, CustomerOrderHistory, type CustomerOrderHistoryProps, CustomerPicker, type CustomerPickerProps, CustomerSelect, type CustomerSelectProps, DEFAULT_PRODUCT_FILTERS, DIGIT_ROWS, type Denomination, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DiscountBadge, type DiscountBadgeProps, DiscountChips, DiscountForm, DisplaySettings, type DisplaySettingsProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FilterChip, FilterChipGroup, type FilterChipGroupProps, type FilterChipProps, FontProvider, type FontProviderProps, type FontState, type FontStatus, HStack, type HStackProps, HandoverSlip, type HandoverSlipProps, HoverCard, HoverCardContent, HoverCardTrigger, Icon, IconButton, type IconButtonProps, type IconProps, InCartBadge, type InCartBadgeProps, Input, InputField, InputRoot, type InputRootProps, InputSlot, Keypad, type KeypadKey, type KeypadProps, Label, type LabelProps, LinePopover, type LinePopoverProps, LiveTabScreen, type LiveTabScreenProps, type LiveTabScreenState, Loader, type LoaderProps, MovementSheet, type MovementSheetProps, NavDrawer, type NavDrawerProps, NavRail, type NavRailProps, OpenRegisterCard, type OpenRegisterCardProps, OpenSaleTabs, type OpenSaleTabsProps, OrderCard, type OrderCardProps, OrderDetail, type OrderDetailLineItem, type OrderDetailProps, type OrderHistoryRow, OrderList, type OrderListProps, type OrderStatus, OrderStatusBadge, type OrderStatusBadgeProps, OrderSummary, OrderSummaryLine, type OrderSummaryLineProps, type OrderSummaryPayment, type OrderSummaryProps, OrdersList, POSLayout, type POSLayoutProps, PRODUCT_FILTER_CHIPS, ParkedSales, type ParkedSalesProps, type PaymentMethod, PaymentMethodCard, type PaymentMethodCardProps, PaymentSelector, type PaymentSelectorProps, Popover, PopoverContent, PopoverTrigger, PriceForm, 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, ProductTitle, type ProductTitleProps, ProductVariantPicker, type ProductVariantPickerProps, Progress, type ProgressProps, QuantityStepper, type QuantityStepperProps, RadioGroup, RadioGroupItem, Receipt, type ReceiptItem, ReceiptPreview, type ReceiptPreviewProps, 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, type SalesCardId, SalesCards, type SalesCardsProps, type SalesFilters, SalesFiltersBar, type SalesFiltersBarProps, SalesHero, type SalesHeroProps, type SalesOption, SalesRoom, type SalesRoomProps, ScaleProvider, type ScaleProviderProps, type ScaleScopeProps, type ScaleState, SearchIcon, SearchInput, type SearchInputProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, type SeparatorProps, SettingsGroup, type SettingsGroupProps, SettingsLayout, type SettingsLayoutProps, SettingsRow, type SettingsRowProps, type ShellNavItem, Slider, type SliderProps, SplitTender, StoreSettingsChoiceScreen, type StoreSettingsChoiceScreenProps, type SvgIconProps, Switch, SwitchConfirm, type SwitchConfirmProps, SyncStatus, Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tender, TenderPane, type TenderPaneProps, Text, type TextProps, Textarea, type TextareaProps, Toast, ToastClose, ToastDescription, type ToastProps, ToastTitle, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipContent, TooltipTrigger, type TransactionSummary, VStack, type VStackProps, type VariantOption, ViewToggle, type ViewToggleProps, XIcon, avatarVariants, badgeTextVariants, badgeVariants, buttonTextVariants, buttonVariants, createSvgIcon, defaultProductColumns, describeRegisterBarPill, discountLabel, formatStockSyncTime, hstackVariants, iconButtonVariants, iconVariants, injectPrintStyle, loaderVariants, orderReference, parseDiscount, parsePrice, textVariants, toastVariants, toggleTextVariants, toggleVariants, useDefaultProductColumns, useFontType, useInputContext, usePointer, useScale, vstackVariants };