@tallyui/components 4.2.0 → 5.1.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 +120 -50
- package/dist/index.js +2216 -1717
- package/package.json +10 -9
- package/src/cart/cart-columns-form.tsx +1 -1
- package/src/cart/cart-line-strip.tsx +17 -4
- package/src/customer/customer-dropdown.tsx +6 -2
- package/src/customer/customer-editor.tsx +2 -2
- package/src/customer/customer-picker.tsx +15 -12
- package/src/i18n/locales/en/components.json +22 -2
- package/src/index.ts +2 -0
- package/src/layout/settings-layout.tsx +16 -4
- package/src/lib/motion.ts +6 -0
- package/src/order/index.ts +1 -0
- package/src/order/refund-form.tsx +16 -3
- package/src/order/refund-needs-admin-notice.tsx +29 -0
- package/src/register/register-count.tsx +1 -1
- package/src/reports/card-panel.tsx +3 -1
- package/src/reports/cards.tsx +1 -0
- package/src/sale/cancel-payment-view.tsx +102 -0
- package/src/sale/cart.tsx +17 -9
- package/src/sale/catalogue-settings-form.tsx +2 -2
- package/src/sale/catalogue.tsx +53 -9
- package/src/sale/customer-display-screen.tsx +2 -1
- package/src/sale/open-sale-tabs.tsx +23 -3
- package/src/sale/orders-list.tsx +167 -11
- package/src/sale/receipt.tsx +1 -0
- package/src/sale/sale-error-text.ts +10 -0
- package/src/sale/sync-status.tsx +6 -1
- package/src/sale/tender-ledger.tsx +47 -9
- package/src/sale/tender-pane.tsx +112 -40
- package/src/sale/tender.tsx +7 -5
- package/src/sale/void-in-flight.ts +19 -0
- package/src/ui/tabs/index.tsx +1 -1
- package/src/checkout/payment-types.test-d.ts +0 -28
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
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
|
-
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
|
+
import { ProductTraits, TraitContext, VariantOptionGroup, VariantSummary, Money, CustomerTraits, CustomerAddress, Customer, CustomerInput, CustomerPatch, OrderRefundPayload, OrderFilterField, PaymentKind, woocommerceTax, ReceiptTemplate, PaymentMethodDescriptor, MoneyFormat, ProductCategory, SyncNotice, SettleOutcome, StoreSettingsChoices, StoreSettingsChoice, ConnectivityState } from '@tallyui/core';
|
|
14
15
|
import { TFunction } from 'i18next';
|
|
15
16
|
|
|
16
17
|
declare const textVariants: (props?: ({
|
|
@@ -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,10 +2566,57 @@ 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
|
-
declare function Cart({ sale, taxLabel, canEditPrice, onPriceChange, quickDiscounts, taxClasses, afterSubtotal, showTotal, couponDiscountMinor, orderActions, orderDiscountChips, checkout, noteSheet, tenderLedger, picker, lineEditor, lineCommit, columns, chargeTaxSwitch, emptyIcon, emptyText }: {
|
|
2611
|
+
declare function Cart({ sale, taxLabel, taxDisplay, 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>;
|
|
2557
|
-
|
|
2613
|
+
/** Names each tax row from its rate. The second argument carries the row's own tax `code` (when it has one) and `ratePpm`, so two rates with the same percentage can be told apart. */
|
|
2614
|
+
taxLabel?: (ratePpm: number, rate: {
|
|
2615
|
+
code?: string;
|
|
2616
|
+
ratePpm: number;
|
|
2617
|
+
}) => string;
|
|
2618
|
+
/** `itemized` (default): one row per rate, under `taxLabel`. `single`: one "Total Tax" row with the order's total tax, drawn only when that is not 0. */
|
|
2619
|
+
taxDisplay?: 'itemized' | 'single';
|
|
2558
2620
|
taxClasses?: ReadonlyArray<{
|
|
2559
2621
|
id: string;
|
|
2560
2622
|
label: string;
|
|
@@ -2603,10 +2665,12 @@ declare function Cart({ sale, taxLabel, canEditPrice, onPriceChange, quickDiscou
|
|
|
2603
2665
|
noteSheet?: {
|
|
2604
2666
|
label?: string;
|
|
2605
2667
|
};
|
|
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`). */
|
|
2668
|
+
/** 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
2669
|
tenderLedger?: {
|
|
2608
2670
|
methods?: PaymentMethodDescriptor[];
|
|
2609
2671
|
confirmVoid?: boolean;
|
|
2672
|
+
beforeVoid?: ComponentProps<typeof TenderLedger>['beforeVoid'];
|
|
2673
|
+
afterVoid?: ComponentProps<typeof TenderLedger>['afterVoid'];
|
|
2610
2674
|
};
|
|
2611
2675
|
/** WCPOS v2's split-by-item bill (stilled-cart.tsx): the cart is read-only, and each line whose quantity is a positive
|
|
2612
2676
|
* whole number, whose total is not negative and that has units left unpaid shows this payment's `− n of unpaid +`
|
|
@@ -2688,20 +2752,6 @@ declare function useTender(sale: Sale$2, methods?: PaymentMethodDescriptor[]): {
|
|
|
2688
2752
|
picker: TenderPicker | undefined;
|
|
2689
2753
|
};
|
|
2690
2754
|
|
|
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
2755
|
/**
|
|
2706
2756
|
* The tender pane, laid out as WCPOS v2's (monorepo main, packages/core/src/screens/main/pos/checkout/tender/):
|
|
2707
2757
|
* BalanceHeadline from ledger-pane.tsx, LedgerLegs (now tender-ledger.tsx's TenderLedger), then the method tiles, entry, quick-cash chips,
|
|
@@ -2710,9 +2760,9 @@ declare function SplitTender(props: TenderProps): JSX.Element;
|
|
|
2710
2760
|
* The caption row and the hero figure follow tender-pane.tsx's caption row and AmountFigure (v2 :390-459).
|
|
2711
2761
|
*/
|
|
2712
2762
|
|
|
2713
|
-
type Sale = ReturnType<typeof useSale>;
|
|
2763
|
+
type Sale$1 = ReturnType<typeof useSale>;
|
|
2714
2764
|
interface TenderPaneProps {
|
|
2715
|
-
sale: Sale;
|
|
2765
|
+
sale: Sale$1;
|
|
2716
2766
|
/** The tender reducer's state (`tenderReducer` in @tallyui/pos); the host owns the reducer. */
|
|
2717
2767
|
state: TenderState;
|
|
2718
2768
|
dispatch: (action: TenderAction) => void;
|
|
@@ -2720,11 +2770,31 @@ interface TenderPaneProps {
|
|
|
2720
2770
|
methods?: PaymentMethodDescriptor[];
|
|
2721
2771
|
/** 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
2772
|
ledger?: boolean;
|
|
2723
|
-
/** Draws the Back button
|
|
2773
|
+
/** 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
2774
|
/** Passed to the ledger: v2's "Cancel this payment?" before a leg is voided. Default `false`: Cancel payment voids at once. */
|
|
2725
2775
|
confirmVoid?: boolean;
|
|
2776
|
+
/** Passed to the ledger: runs before Cancel payment voids a leg; the void waits for it, and `false` or a throw keeps the leg. */
|
|
2777
|
+
beforeVoid?: ComponentProps<typeof TenderLedger>['beforeVoid'];
|
|
2778
|
+
/** Passed to the ledger: runs after a void `beforeVoid` approved, with whether the leg was voided; `false` means the host reverses its journal entry. */
|
|
2779
|
+
afterVoid?: ComponentProps<typeof TenderLedger>['afterVoid'];
|
|
2726
2780
|
}
|
|
2727
|
-
declare function TenderPane({ sale, state, dispatch, methods, ledger, back, confirmVoid }: TenderPaneProps): JSX.Element | null;
|
|
2781
|
+
declare function TenderPane({ sale, state, dispatch, methods, ledger, back, confirmVoid, beforeVoid, afterVoid }: TenderPaneProps): JSX.Element | null;
|
|
2782
|
+
|
|
2783
|
+
type Sale = ReturnType<typeof useSale>;
|
|
2784
|
+
type TenderProps = {
|
|
2785
|
+
sale: Sale;
|
|
2786
|
+
methods?: PaymentMethodDescriptor[]; /** Passed to TenderPane: `false` leaves the ledger to Cart's `tenderLedger`. Default `true`. */
|
|
2787
|
+
ledger?: boolean; /** Passed to TenderPane: `false` hides Back (v2's phone checkout). Default `true`. */
|
|
2788
|
+
back?: boolean;
|
|
2789
|
+
/** Passed to TenderPane's ledger: v2's "Cancel this payment?" before a leg is voided. Default `false`. */ confirmVoid?: boolean;
|
|
2790
|
+
/** Passed to TenderPane's ledger and its cancel-payment view: runs before either voids a leg; the void waits for it. */ beforeVoid?: TenderPaneProps['beforeVoid'];
|
|
2791
|
+
/** 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'];
|
|
2792
|
+
/** One reducer shared with Cart's `picker` (useTender). Without it, Tender keeps its own reducer, as before. */ tender?: ReturnType<typeof useTender>;
|
|
2793
|
+
};
|
|
2794
|
+
/** The tender pane with its own reducer, opened on the method `startTender` chose. Renders nothing outside the tender stage. */
|
|
2795
|
+
declare function Tender({ sale, methods, ledger, back, confirmVoid, beforeVoid, afterVoid, tender }: TenderProps): JSX.Element | null;
|
|
2796
|
+
/** @deprecated Use Tender: the pane now handles split payments. */
|
|
2797
|
+
declare function SplitTender(props: TenderProps): JSX.Element;
|
|
2728
2798
|
|
|
2729
2799
|
/** The cashier's entry as a TallyUI Discount (a percent, or integer minor units), or the inline error to show. */
|
|
2730
2800
|
declare function parseDiscount(type: Discount['type'], text: string, currency: string, format?: MoneyFormat): Discount | string;
|
|
@@ -3230,8 +3300,16 @@ declare function OrderSyncNotices({ order, stuck, children }: OrderSyncNoticesPr
|
|
|
3230
3300
|
* `onReopen` adds Reopen to a Needs attention row the store refused with a reopenable code (`REOPENABLE_CODES`), not yet
|
|
3231
3301
|
* reopened and with no store order: the app wires `reopenRefusedOrder`. When it refuses `coupon_carry_inexact` with a
|
|
3232
3302
|
* `toCollectMinor`, the row offers "Reopen without the coupon", which calls it again with `{ withoutCoupons: true }`.
|
|
3233
|
-
* `onResume` adds Resume to a reopened row; the app resumes the parked sale, whose draft id is the order's id.
|
|
3234
|
-
|
|
3303
|
+
* `onResume` adds Resume to a reopened row; the app resumes the parked sale, whose draft id is the order's id.
|
|
3304
|
+
* `onCancelOnStore` adds "Cancel order on store" to a Needs attention row whose refused sale left an unpaid order on the
|
|
3305
|
+
* store (`canCancelOnStore`, #1101), asked in a confirm dialog first: the app wires `useOrderOutbox`'s `cancelOnStore`.
|
|
3306
|
+
* A cancel still `sending` is finished with no dialog. With it, such a row offers no Retry, except an `insufficient_stock`
|
|
3307
|
+
* refusal's, which reads "Try the payment again".
|
|
3308
|
+
* `onPayRestOnStore` adds "Pay the rest on store" to a Needs attention row whose refused sale left a part-paid order on
|
|
3309
|
+
* the store (`canPayRestOnStore`, #1101 slice 3), asked in a confirm dialog naming each leg to record (no money is taken):
|
|
3310
|
+
* the app wires `useOrderOutbox`'s `payRestOnStore`. A pay still `sending` is finished with no dialog. With it, a row
|
|
3311
|
+
* with money recorded on the store offers no Retry. */
|
|
3312
|
+
declare function OrdersList({ orders, onRetry, formatDate, footer, stuck, history, onOpen, onReopen, onResume, onCancelOnStore, onPayRestOnStore }: {
|
|
3235
3313
|
orders: PosOrder[];
|
|
3236
3314
|
onRetry(orderIds: string[]): Promise<number>;
|
|
3237
3315
|
formatDate?: (iso: string) => string;
|
|
@@ -3243,6 +3321,12 @@ declare function OrdersList({ orders, onRetry, formatDate, footer, stuck, histor
|
|
|
3243
3321
|
withoutCoupons: true;
|
|
3244
3322
|
}) => Promise<void>;
|
|
3245
3323
|
onResume?: (order: PosOrder) => void;
|
|
3324
|
+
onCancelOnStore?: (order: PosOrder) => Promise<SettleOutcome | {
|
|
3325
|
+
kind: 'not_offered';
|
|
3326
|
+
}>;
|
|
3327
|
+
onPayRestOnStore?: (order: PosOrder) => Promise<SettleOutcome | {
|
|
3328
|
+
kind: 'not_offered';
|
|
3329
|
+
}>;
|
|
3246
3330
|
}): react_jsx_runtime.JSX.Element;
|
|
3247
3331
|
|
|
3248
3332
|
/** Pass `useParkedSales(drafts)`'s `parked` and `discard`, or your own parked store's list and handlers (`onPark`, `onResume`, `onDiscard`) with the same results. */
|
|
@@ -3338,14 +3422,20 @@ interface CheckoutLayoutProps extends Omit<ViewProps, 'children'> {
|
|
|
3338
3422
|
declare function CheckoutLayout({ summarySlot, paymentSlot, headerSlot, layout: layoutProp, breakpoint, className, ...viewProps }: CheckoutLayoutProps): react_jsx_runtime.JSX.Element;
|
|
3339
3423
|
|
|
3340
3424
|
interface SettingsLayoutProps extends Omit<ViewProps, 'children'> {
|
|
3341
|
-
|
|
3425
|
+
/** A function receives closeNav; call it from an item's onPress so a pick shows that section's content on a narrow screen. */
|
|
3426
|
+
navSlot: ReactNode | ((nav: {
|
|
3427
|
+
closeNav: () => void;
|
|
3428
|
+
}) => ReactNode);
|
|
3342
3429
|
contentSlot: ReactNode;
|
|
3343
3430
|
headerSlot?: ReactNode;
|
|
3344
3431
|
layout?: 'split' | 'stacked';
|
|
3345
3432
|
breakpoint?: number;
|
|
3346
3433
|
className?: string;
|
|
3434
|
+
/** Controls the stacked menu; absent means the layout keeps its own state. */
|
|
3435
|
+
navOpen?: boolean;
|
|
3436
|
+
onNavOpenChange?: (open: boolean) => void;
|
|
3347
3437
|
}
|
|
3348
|
-
declare function SettingsLayout({ navSlot, contentSlot, headerSlot, layout: layoutProp, breakpoint, className, ...viewProps }: SettingsLayoutProps): react_jsx_runtime.JSX.Element;
|
|
3438
|
+
declare function SettingsLayout({ navSlot, contentSlot, headerSlot, layout: layoutProp, breakpoint, className, navOpen, onNavOpenChange, ...viewProps }: SettingsLayoutProps): react_jsx_runtime.JSX.Element;
|
|
3349
3439
|
|
|
3350
3440
|
/** Mirrors `LiveTabState` from `@tallyui/database`, without depending on that package. */
|
|
3351
3441
|
type LiveTabScreenState = 'acquiring' | 'live' | 'parked' | 'blocked';
|
|
@@ -3626,24 +3716,4 @@ interface FontProviderProps {
|
|
|
3626
3716
|
declare function FontProvider({ font, autoTypeSet, loadFonts, children }: FontProviderProps): React$1.JSX.Element;
|
|
3627
3717
|
declare function useFontType(): FontState;
|
|
3628
3718
|
|
|
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 };
|
|
3719
|
+
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 };
|