@tallyui/components 4.0.1 → 4.2.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 +49 -8
- package/dist/index.js +180 -37
- package/package.json +9 -9
- package/src/i18n/locales/en/components.json +1 -0
- package/src/index.ts +2 -2
- package/src/product/product-table.tsx +18 -7
- package/src/product/product-variant-picker.tsx +4 -0
- package/src/sale/cart.tsx +4 -2
- package/src/sale/catalogue.tsx +4 -3
- package/src/sale/charge-form.tsx +21 -3
- package/src/sale/held-leg.ts +6 -0
- package/src/sale/index.ts +2 -2
- package/src/sale/line-popover.tsx +2 -1
- package/src/sale/orders-list.tsx +62 -3
- package/src/sale/receipt-sheet.tsx +28 -8
- package/src/sale/since-text.ts +6 -3
- package/src/sale/sync-status.tsx +4 -0
- package/src/sale/tender-ledger.tsx +9 -3
- package/src/sale/tender-pane.tsx +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -911,8 +911,12 @@ interface ProductTableProps extends Omit<ViewProps, 'children'> {
|
|
|
911
911
|
/** With renderExpanded and showThumbnail, a product with more than one variant has its thumbnail toggle its
|
|
912
912
|
* expanded block: a button labelled "Show variations" with aria-expanded. A press calls this, never onSelect. */
|
|
913
913
|
onToggleExpand?: (doc: ProductTableRowDoc) => void;
|
|
914
|
-
/** The block drawn under an expanded row (e.g. its variant rows), indented by the thumbnail column. */
|
|
914
|
+
/** The block drawn under an expanded row (e.g. its variant rows), indented by the thumbnail column when it shows. */
|
|
915
915
|
renderExpanded?: (doc: ProductTableRowDoc) => ReactNode;
|
|
916
|
+
/** v2's "{count} variations" button under the first cell's content, with a chevron and aria-expanded, on a product
|
|
917
|
+
* with more than one variant. A press calls onToggleExpand, never onSelect; needs onToggleExpand and renderExpanded,
|
|
918
|
+
* and makes such rows expandable without showThumbnail. Default false. */
|
|
919
|
+
variationsButton?: boolean;
|
|
916
920
|
/** With no items, draw the header and skeleton rows instead of emptyState, as WCPOS v2's DataTableSkeleton. */
|
|
917
921
|
loading?: boolean;
|
|
918
922
|
className?: string;
|
|
@@ -923,7 +927,7 @@ declare function defaultProductColumns(traits: ProductTraits, context?: TraitCon
|
|
|
923
927
|
declare function useDefaultProductColumns(options?: {
|
|
924
928
|
currencySymbol?: string;
|
|
925
929
|
}): ProductTableColumn[];
|
|
926
|
-
declare function ProductTable({ items, columns, sort, defaultSort, onSortChange, sortItems, onSelect, searchSlot, filterSlot, emptyState, showUnsellable, currencySymbol, showThumbnail, showAddButton, cartQuantity, isExpanded, onToggleExpand, renderExpanded, loading, className, ...viewProps }: ProductTableProps): JSX.Element;
|
|
930
|
+
declare function ProductTable({ items, columns, sort, defaultSort, onSortChange, sortItems, onSelect, searchSlot, filterSlot, emptyState, showUnsellable, currencySymbol, showThumbnail, showAddButton, cartQuantity, isExpanded, onToggleExpand, renderExpanded, variationsButton, loading, className, ...viewProps }: ProductTableProps): JSX.Element;
|
|
927
931
|
|
|
928
932
|
/**
|
|
929
933
|
* WCPOS v2's Products screen read columns: image, product (with its variation count), stock with the Manage switch,
|
|
@@ -963,6 +967,8 @@ declare function CategoryNav({ categories, selectedId, onSelect, orientation, cl
|
|
|
963
967
|
interface VariantOption {
|
|
964
968
|
name: string;
|
|
965
969
|
values: string[];
|
|
970
|
+
/** Values in this group that no variant takes with the other current picks; drawn dimmed, still pressable. */
|
|
971
|
+
dimmed?: string[];
|
|
966
972
|
}
|
|
967
973
|
interface ProductVariantPickerProps extends Omit<ViewProps, 'children'> {
|
|
968
974
|
options: VariantOption[];
|
|
@@ -2635,6 +2641,16 @@ declare function Cart({ sale, taxLabel, canEditPrice, onPriceChange, quickDiscou
|
|
|
2635
2641
|
/** The empty cart's line. Default: v2's "Tap a product to start a sale". */
|
|
2636
2642
|
emptyText?: string;
|
|
2637
2643
|
}): react_jsx_runtime.JSX.Element;
|
|
2644
|
+
/** WCPOS v2's `− n of unpaid +` stepper (tender/unit-stepper.tsx), the one Cart's `picker` draws in each pickable line's
|
|
2645
|
+
* quantity cell, with what the picked units add under it. An app cart built on CartPanel and CartLine passes it as
|
|
2646
|
+
* CartLine's `quantitySlot` (with `picking`), with the same `picker` object Cart takes. */
|
|
2647
|
+
declare function PickStepper({ picker, id, name, unpaid, currency }: {
|
|
2648
|
+
picker: NonNullable<Parameters<typeof Cart>[0]['picker']>;
|
|
2649
|
+
id: string;
|
|
2650
|
+
name: string;
|
|
2651
|
+
unpaid: number;
|
|
2652
|
+
currency: string;
|
|
2653
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2638
2654
|
|
|
2639
2655
|
interface OrderNoteSheetProps {
|
|
2640
2656
|
/** The note as it stands; the sheet edits it live, as v2's autosaved field does. */
|
|
@@ -2828,7 +2844,10 @@ interface ChargeFormProps {
|
|
|
2828
2844
|
taxClass?: string;
|
|
2829
2845
|
percent?: number;
|
|
2830
2846
|
amountIncludesTax?: boolean;
|
|
2847
|
+
sku?: string;
|
|
2831
2848
|
};
|
|
2849
|
+
/** On the custom kind, shows v2's "+ SKU" add-row after the tax rows; pressing it shows the SKU field. */
|
|
2850
|
+
sku?: boolean;
|
|
2832
2851
|
/** Shows the amount-unit toggle (currency symbol or %) on the fee kind, as v2's AmountUnitToggle. */
|
|
2833
2852
|
allowPercent?: boolean;
|
|
2834
2853
|
/** The store's tax mode. Given, the fee and shipping kinds show the "Amount Includes Tax" switch (not on a percent fee), which starts at this
|
|
@@ -2842,11 +2861,12 @@ interface ChargeFormProps {
|
|
|
2842
2861
|
taxClass?: string;
|
|
2843
2862
|
percent?: number;
|
|
2844
2863
|
amountIncludesTax?: boolean;
|
|
2864
|
+
sku?: string;
|
|
2845
2865
|
}) => string | null;
|
|
2846
2866
|
onClose: () => void;
|
|
2847
2867
|
}
|
|
2848
2868
|
/** `onApply` returns a refusal to show inline, or null once applied. */
|
|
2849
|
-
declare function ChargeForm({ currency, lineTax, taxClasses, shippingTaxFromStore, shippingNoTax, kind: fixedKind, initial, allowPercent, pricesIncludeTax, onApply, onClose }: ChargeFormProps): react_jsx_runtime.JSX.Element;
|
|
2869
|
+
declare function ChargeForm({ currency, lineTax, taxClasses, shippingTaxFromStore, shippingNoTax, kind: fixedKind, initial, sku, allowPercent, pricesIncludeTax, onApply, onClose }: ChargeFormProps): react_jsx_runtime.JSX.Element;
|
|
2850
2870
|
|
|
2851
2871
|
type ProductFilterChip = 'inStock' | 'featured' | 'onSale' | 'category' | 'tag' | 'brand';
|
|
2852
2872
|
type TermChip = 'category' | 'tag' | 'brand';
|
|
@@ -2985,11 +3005,13 @@ declare function Catalogue<Doc>({ products, traits, currency, onSelect, statusTe
|
|
|
2985
3005
|
/** v2's table row extras in table view: thumbnail leads the row, addButton ends it with the + (> for a product
|
|
2986
3006
|
* with variants) that does what a row press does. With expand and thumbnail, a product with more than one variant
|
|
2987
3007
|
* has its thumbnail show or hide its variants as rows under it: option chips, price, stock and a + that adds that
|
|
2988
|
-
* variant as the list chooser does
|
|
3008
|
+
* variant as the list chooser does; variationsButton adds v2's '{count} variations' button under the name, which shows
|
|
3009
|
+
* or hides the variants as expand does; it needs expand. Default: none. */
|
|
2989
3010
|
tableRow?: {
|
|
2990
3011
|
thumbnail?: boolean;
|
|
2991
3012
|
addButton?: boolean;
|
|
2992
3013
|
expand?: boolean;
|
|
3014
|
+
variationsButton?: boolean;
|
|
2993
3015
|
};
|
|
2994
3016
|
/** v2's rows between the chips and the products (its ListColumn `rows`): notices such as "Price check only until
|
|
2995
3017
|
* the register is open.", rendered under the header and above the grid, table or category tiles. Default none. */
|
|
@@ -3092,7 +3114,7 @@ interface ReceiptSheetEmail {
|
|
|
3092
3114
|
offline?: boolean;
|
|
3093
3115
|
/** Draws "Save email to the customer" (default off). */
|
|
3094
3116
|
saveToCustomer?: boolean;
|
|
3095
|
-
/** Sends or queues the receipt. Returns a refusal to show, or null once sent or queued; the form then
|
|
3117
|
+
/** Sends or queues the receipt. Returns a refusal to show, or null once sent or queued; the form then shows "Email sent", or "Receipt email queued" when offline. */
|
|
3096
3118
|
onSend: (input: {
|
|
3097
3119
|
address: string;
|
|
3098
3120
|
saveToCustomer: boolean;
|
|
@@ -3135,6 +3157,17 @@ interface ReceiptSheetProps {
|
|
|
3135
3157
|
/** The preview. */
|
|
3136
3158
|
children: ReactNode;
|
|
3137
3159
|
}
|
|
3160
|
+
interface ReceiptEmailFormProps {
|
|
3161
|
+
email: ReceiptSheetEmail;
|
|
3162
|
+
/** Called once after `onSend` returns null, with true when `email.offline` was set (queued). */
|
|
3163
|
+
onDone?: (queued: boolean) => void;
|
|
3164
|
+
}
|
|
3165
|
+
/**
|
|
3166
|
+
* v2's email.tsx (MIT, WCPOS) inline, the form ReceiptSheet draws: "Email Address" prefilled from `defaultAddress`,
|
|
3167
|
+
* the save switch (off), the offline notice and Send. After `onSend` returns null it shows "Email sent" or
|
|
3168
|
+
* "Receipt email queued" in its own place and calls `onDone`. Remount it (for example with a new `key`) to send again.
|
|
3169
|
+
*/
|
|
3170
|
+
declare function ReceiptEmailForm({ email, onDone }: ReceiptEmailFormProps): JSX.Element;
|
|
3138
3171
|
declare function ReceiptSheet({ open, onOpenChange, title, templates, templateId, onTemplateChange, printerLabel, printers, printerId, autoPrinterName, onPrinterChange, onPrint, printing, printed, onEmail, email, onDownloadPdf, downloadingPdf, children }: ReceiptSheetProps): JSX.Element;
|
|
3139
3172
|
|
|
3140
3173
|
/** The order reference a visitor sees on the receipt and in Orders (front desk ruling, 2026-10-06): the finalized
|
|
@@ -3193,8 +3226,12 @@ declare function OrderSyncNotices({ order, stuck, children }: OrderSyncNoticesPr
|
|
|
3193
3226
|
* (medusapos: the feedback link). The router and session redirect stay in the app. `stuck` is the outbox's
|
|
3194
3227
|
* `state.stuck` (`useOrderOutbox`): those pending orders need attention too, each with its own entry's reason and since.
|
|
3195
3228
|
* `onOpen` adds an Open button to each row that passes its order to the app.
|
|
3196
|
-
* `history` adds read-only store order rows to Recent (ADR-052 amendment 1).
|
|
3197
|
-
|
|
3229
|
+
* `history` adds read-only store order rows to Recent (ADR-052 amendment 1).
|
|
3230
|
+
* `onReopen` adds Reopen to a Needs attention row the store refused with a reopenable code (`REOPENABLE_CODES`), not yet
|
|
3231
|
+
* reopened and with no store order: the app wires `reopenRefusedOrder`. When it refuses `coupon_carry_inexact` with a
|
|
3232
|
+
* `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
|
+
declare function OrdersList({ orders, onRetry, formatDate, footer, stuck, history, onOpen, onReopen, onResume }: {
|
|
3198
3235
|
orders: PosOrder[];
|
|
3199
3236
|
onRetry(orderIds: string[]): Promise<number>;
|
|
3200
3237
|
formatDate?: (iso: string) => string;
|
|
@@ -3202,6 +3239,10 @@ declare function OrdersList({ orders, onRetry, formatDate, footer, stuck, histor
|
|
|
3202
3239
|
stuck?: OutboxState['stuck'];
|
|
3203
3240
|
history?: OrderHistoryRow[];
|
|
3204
3241
|
onOpen?: (row: PosOrder | OrderHistoryRow) => void;
|
|
3242
|
+
onReopen?: (order: PosOrder, options?: {
|
|
3243
|
+
withoutCoupons: true;
|
|
3244
|
+
}) => Promise<void>;
|
|
3245
|
+
onResume?: (order: PosOrder) => void;
|
|
3205
3246
|
}): react_jsx_runtime.JSX.Element;
|
|
3206
3247
|
|
|
3207
3248
|
/** Pass `useParkedSales(drafts)`'s `parked` and `discard`, or your own parked store's list and handlers (`onPark`, `onResume`, `onDiscard`) with the same results. */
|
|
@@ -3605,4 +3646,4 @@ declare function I18nProvider({ locale, resources, children }: I18nProviderProps
|
|
|
3605
3646
|
/** The components' `t`, read from the nearest `I18nProvider`, else English. Interpolation is `{name}`. */
|
|
3606
3647
|
declare function useT(): TFunction;
|
|
3607
3648
|
|
|
3608
|
-
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, 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, 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 };
|
|
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 };
|