@shopify/ui-extensions 2024.10.2 → 2025.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/build/cjs/surfaces/checkout/components/ClipboardItem/ClipboardItem.js +16 -0
- package/build/cjs/surfaces/checkout.js +2 -0
- package/build/cjs/surfaces/customer-account.js +2 -0
- package/build/cjs/surfaces/point-of-sale/{components/Image/Image.js → render/components/Box/Box.js} +2 -2
- package/build/cjs/surfaces/point-of-sale/render/components/Image/Image.js +15 -0
- package/build/cjs/surfaces/point-of-sale/render/components/PrintPreview/PrintPreview.js +9 -0
- package/build/cjs/surfaces/point-of-sale/{components → render/components}/Stack/Stack.js +5 -0
- package/build/cjs/surfaces/point-of-sale/render/components/TextField/TextField.js +9 -0
- package/build/cjs/surfaces/point-of-sale.js +37 -35
- package/build/esm/surfaces/checkout/components/ClipboardItem/ClipboardItem.mjs +12 -0
- package/build/esm/surfaces/checkout.mjs +1 -0
- package/build/esm/surfaces/customer-account.mjs +1 -0
- package/build/esm/surfaces/point-of-sale/render/components/Box/Box.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/render/components/Image/Image.mjs +11 -0
- package/build/esm/surfaces/point-of-sale/render/components/PrintPreview/PrintPreview.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/{components → render/components}/Stack/Stack.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/render/components/TextField/TextField.mjs +5 -0
- package/build/esm/surfaces/point-of-sale.mjs +35 -34
- package/build/esnext/surfaces/checkout/components/ClipboardItem/ClipboardItem.esnext +12 -0
- package/build/esnext/surfaces/checkout.esnext +1 -0
- package/build/esnext/surfaces/customer-account.esnext +1 -0
- package/build/esnext/surfaces/point-of-sale/render/components/Box/Box.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/render/components/Image/Image.esnext +11 -0
- package/build/esnext/surfaces/point-of-sale/render/components/PrintPreview/PrintPreview.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/{components → render/components}/Stack/Stack.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/render/components/TextField/TextField.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale.esnext +35 -34
- package/build/ts/shared.d.ts +7 -3
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/action/action.d.ts +10 -0
- package/build/ts/surfaces/admin/api/action/action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/action/action.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/block/block.d.ts +6 -1
- package/build/ts/surfaces/admin/api/block/block.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/block/block.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts +1 -2
- package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts +1 -3
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.d.ts +12 -0
- package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts +28 -0
- package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/discount-function-settings/metafields.d.ts +25 -0
- package/build/ts/surfaces/admin/api/discount-function-settings/metafields.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/picker/picker.d.ts +81 -0
- package/build/ts/surfaces/admin/api/picker/picker.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/picker/picker.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/picker/picker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/print-action/print-action.d.ts +10 -0
- package/build/ts/surfaces/admin/api/print-action/print-action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/print-action/print-action.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/purchase-options-card-action/purchase-options-card-action.d.ts +11 -0
- package/build/ts/surfaces/admin/api/purchase-options-card-action/purchase-options-card-action.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/resource-picker/resource-picker.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/resource-picker/resource-picker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/shared.d.ts +1 -0
- package/build/ts/surfaces/admin/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/should-render/should-render.d.ts +10 -0
- package/build/ts/surfaces/admin/api/should-render/should-render.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/should-render/should-render.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/should-render/should-render.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api.d.ts +1 -0
- package/build/ts/surfaces/admin/api.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.d.ts +2 -4
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.d.ts +1 -1
- package/build/ts/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/shared/index.d.ts +1 -1
- package/build/ts/surfaces/admin/components/shared/index.d.ts.map +1 -1
- package/build/ts/surfaces/admin/extension-targets.d.ts +134 -2
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/admin/globals.d.ts +3 -0
- package/build/ts/surfaces/admin/globals.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/docs.d.ts +2 -0
- package/build/ts/surfaces/checkout/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +27 -11
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Badge/Badge.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Button/Button.d.ts +3 -3
- package/build/ts/surfaces/checkout/components/Button/Button.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Chat/Chat.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/ClipboardItem/ClipboardItem.d.ts +30 -0
- package/build/ts/surfaces/checkout/components/ClipboardItem/ClipboardItem.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ClipboardItem/ClipboardItem.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ClipboardItem/ClipboardItem.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Link/Link.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/Link/Link.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/QRCode/QRCode.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/shared.d.ts +21 -0
- package/build/ts/surfaces/checkout/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components.d.ts +2 -0
- package/build/ts/surfaces/checkout/components.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/globals.d.ts +1 -3
- package/build/ts/surfaces/checkout/globals.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/helper.docs.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets.d.ts +0 -66
- package/build/ts/surfaces/checkout/targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout.d.ts +2 -2
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/shared-checkout-components.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/shared-checkout-components.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/globals.d.ts +1 -3
- package/build/ts/surfaces/customer-account/globals.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api.d.ts +23 -23
- package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components.d.ts +76 -71
- package/build/ts/surfaces/point-of-sale/components.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/globals.d.ts +1 -3
- package/build/ts/surfaces/point-of-sale/globals.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/input.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/input.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/intent.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/intent.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/api/action-api/action-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/api/action-target-api/action-target-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/{api → render/api}/cart-api/cart-api.d.ts +10 -9
- package/build/ts/surfaces/point-of-sale/render/api/cart-api/cart-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/api/connectivity-api/connectivity-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/api/customer-api/customer-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/api/device-api/device-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/api/draft-order-api/draft-order-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/api/locale-api/locale-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/api/navigation-api/navigation-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/api/order-api/order-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/api/print-api/print-api.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/render/api/print-api/print-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/api/product-api/product-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/{api → render/api}/product-search-api/product-search-api.d.ts +3 -3
- package/build/ts/surfaces/point-of-sale/render/api/product-search-api/product-search-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/api/scanner-api/scanner-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/{api → render/api}/session-api/session-api.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/session-api/session-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/api/standard/standard-api.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/render/api/standard/standard-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/api/toast-api/toast-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/Badge/Badge.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/Banner/Banner.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/Box/Box.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/render/components/Box/Box.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/Button/Button.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/CameraScanner/CameraScanner.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/DateField/DateField.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/DatePicker/DatePicker.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/Dialog/Dialog.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/EmailField/EmailField.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/{components → render/components}/FormattedTextField/FormattedTextField.d.ts +0 -9
- package/build/ts/surfaces/point-of-sale/render/components/FormattedTextField/FormattedTextField.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/Icon/Icon.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/Image/Image.d.ts +25 -0
- package/build/ts/surfaces/point-of-sale/render/components/Image/Image.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/{components → render/components}/List/List.d.ts +0 -6
- package/build/ts/surfaces/point-of-sale/render/components/List/List.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/Navigator/Navigator.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/NumberField/NumberField.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/POSBlock/POSBlock.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/POSBlock/POSBlockRow.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/PinPad/PinPad.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/PrintPreview/PrintPreview.d.ts +12 -0
- package/build/ts/surfaces/point-of-sale/render/components/PrintPreview/PrintPreview.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/RadioButtonList/RadioButtonList.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/Screen/Screen.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/ScrollView/ScrollView.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/SearchBar/SearchBar.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/Section/Section.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/SectionHeader/SectionHeader.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/SegmentedControl/SegmentedControl.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/Selectable/Selectable.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/Stack/Stack.d.ts +102 -0
- package/build/ts/surfaces/point-of-sale/render/components/Stack/Stack.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/Stepper/Stepper.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/Text/Text.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/TextArea/TextArea.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/{components → render/components}/TextField/TextField.d.ts +1 -10
- package/build/ts/surfaces/point-of-sale/render/components/TextField/TextField.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/Tile/Tile.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/TimeField/TimeField.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/TimePicker/TimePicker.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/shared/BaseTextField.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/shared/InputField.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/shared/auto-capitalization-type.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/shared/box.d.ts +117 -0
- package/build/ts/surfaces/point-of-sale/render/components/shared/box.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/{components/Spacing/Spacing.d.ts → render/components/shared/deprecated-types.d.ts} +2 -1
- package/build/ts/surfaces/point-of-sale/render/components/shared/deprecated-types.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/shared/inner-layouts.d.ts +28 -0
- package/build/ts/surfaces/point-of-sale/render/components/shared/inner-layouts.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/render/components/shared/sizes.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/render/components/shared/sizes.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/run/input/BaseInput.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/run/input/BaseInput.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/run/intent/BaseIntent.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/run/intent/BaseIntent.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/targets.d.ts +8 -8
- package/build/ts/surfaces/point-of-sale/targets.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/{api/types → types}/cart.d.ts +1 -4
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/{api/types → types}/country-code.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/device.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/types/device.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/{api/types → types}/session.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/shared.ts +46 -1
- package/src/surfaces/admin/api/action/action.doc.ts +1 -0
- package/src/surfaces/admin/api/action/action.ts +12 -0
- package/src/surfaces/admin/api/block/block.doc.ts +1 -0
- package/src/surfaces/admin/api/block/block.ts +7 -1
- package/src/surfaces/admin/api/checkout-rules/launch-options.ts +0 -1
- package/src/surfaces/admin/api/checkout-rules/metafields.ts +1 -46
- package/src/surfaces/admin/api/checkout-rules/validation-settings.doc.ts +1 -0
- package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.doc.ts +1 -0
- package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts +1 -6
- package/src/surfaces/admin/api/discount-function-settings/discount-function-settings.doc.ts +27 -0
- package/src/surfaces/admin/api/discount-function-settings/discount-function-settings.ts +15 -0
- package/src/surfaces/admin/api/discount-function-settings/launch-options.ts +29 -0
- package/src/surfaces/admin/api/discount-function-settings/metafields.ts +31 -0
- package/src/surfaces/admin/api/picker/examples/direct-api.js +73 -0
- package/src/surfaces/admin/api/picker/examples/disabled.js +16 -0
- package/src/surfaces/admin/api/picker/examples/minimal.js +16 -0
- package/src/surfaces/admin/api/picker/examples/multiple-limit.js +21 -0
- package/src/surfaces/admin/api/picker/examples/multiple-true.js +21 -0
- package/src/surfaces/admin/api/picker/examples/preselected.js +16 -0
- package/src/surfaces/admin/api/picker/examples/template-picker.js +37 -0
- package/src/surfaces/admin/api/picker/picker.doc.ts +113 -0
- package/src/surfaces/admin/api/picker/picker.ts +83 -0
- package/src/surfaces/admin/api/print-action/print-action.doc.ts +1 -0
- package/src/surfaces/admin/api/print-action/print-action.ts +12 -0
- package/src/surfaces/admin/api/purchase-options-card-action/purchase-options-card-action.ts +10 -0
- package/src/surfaces/admin/api/resource-picker/examples/action.js +4 -0
- package/src/surfaces/admin/api/resource-picker/examples/collection-picker.js +1 -0
- package/src/surfaces/admin/api/resource-picker/examples/filter-query.js +6 -0
- package/src/surfaces/admin/api/resource-picker/examples/filters.js +9 -0
- package/src/surfaces/admin/api/resource-picker/examples/multiple-limited.js +4 -0
- package/src/surfaces/admin/api/resource-picker/examples/multiple-unlimited.js +4 -0
- package/src/surfaces/admin/api/resource-picker/examples/product-picker.js +3 -0
- package/src/surfaces/admin/api/resource-picker/examples/product-variant-picker.js +1 -0
- package/src/surfaces/admin/api/resource-picker/examples/query.js +4 -0
- package/src/surfaces/admin/api/resource-picker/examples/selection-ids.js +16 -0
- package/src/surfaces/admin/api/resource-picker/examples/selection.js +7 -0
- package/src/surfaces/admin/api/resource-picker/resource-picker.doc.ts +163 -0
- package/src/surfaces/admin/api/shared.ts +44 -0
- package/src/surfaces/admin/api/should-render/should-render.doc.ts +20 -0
- package/src/surfaces/admin/api/should-render/should-render.ts +11 -0
- package/src/surfaces/admin/api/standard/standard.doc.ts +1 -1
- package/src/surfaces/admin/api.ts +1 -0
- package/src/surfaces/admin/components/AdminBlock/AdminBlock.ts +2 -4
- package/src/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.ts +1 -0
- package/src/surfaces/admin/components/shared/index.ts +1 -1
- package/src/surfaces/admin/extension-targets.ts +260 -1
- package/src/surfaces/admin/globals.ts +7 -0
- package/src/surfaces/checkout/api/address-autocomplete/standard.ts +1 -1
- package/src/surfaces/checkout/api/docs.ts +3 -0
- package/src/surfaces/checkout/api/standard/standard.ts +30 -12
- package/src/surfaces/checkout/components/Badge/Badge.ts +1 -1
- package/src/surfaces/checkout/components/Button/Button.ts +3 -1
- package/src/surfaces/checkout/components/Chat/AppBridge.ts +4 -4
- package/src/surfaces/checkout/components/Chat/Chat.doc.ts +2 -2
- package/src/surfaces/checkout/components/Chat/Chat.ts +2 -2
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-communication.example.js +4 -1
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.html +2 -2
- package/src/surfaces/checkout/components/Chat/examples/chat-custom-properties-css.example.css +2 -4
- package/src/surfaces/checkout/components/Chat/examples/include-app-bridge.example.html +1 -1
- package/src/surfaces/checkout/components/ClipboardItem/ClipboardItem.doc.ts +74 -0
- package/src/surfaces/checkout/components/ClipboardItem/ClipboardItem.ts +34 -0
- package/src/surfaces/checkout/components/ClipboardItem/examples/basic-clipboarditem.example.ts +21 -0
- package/src/surfaces/checkout/components/Icon/Icon.ts +2 -0
- package/src/surfaces/checkout/components/Link/Link.ts +3 -1
- package/src/surfaces/checkout/components/Pressable/Pressable.ts +2 -0
- package/src/surfaces/checkout/components/QRCode/QRCode.doc.ts +13 -2
- package/src/surfaces/checkout/components/QRCode/examples/basic-qrcode.example.ts +12 -1
- package/src/surfaces/checkout/components/shared.ts +22 -0
- package/src/surfaces/checkout/components.ts +3 -0
- package/src/surfaces/checkout/globals.ts +4 -6
- package/src/surfaces/checkout/helper.docs.ts +18 -0
- package/src/surfaces/checkout/style/examples/defaultstyle.example.tsx +1 -1
- package/src/surfaces/checkout/style/examples/hiding.example.tsx +1 -1
- package/src/surfaces/checkout/style/examples/simplecondition.example.tsx +1 -1
- package/src/surfaces/checkout/targets.ts +0 -133
- package/src/surfaces/checkout.ts +6 -1
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +1 -1
- package/src/surfaces/customer-account/components/shared-checkout-components.ts +2 -0
- package/src/surfaces/customer-account/globals.ts +4 -6
- package/src/surfaces/point-of-sale/api.ts +34 -28
- package/src/surfaces/point-of-sale/components.ts +107 -73
- package/src/surfaces/point-of-sale/globals.ts +4 -6
- package/src/surfaces/point-of-sale/input.ts +3 -0
- package/src/surfaces/point-of-sale/intent.ts +1 -0
- package/src/surfaces/point-of-sale/{api → render/api}/cart-api/cart-api.ts +12 -14
- package/src/surfaces/point-of-sale/render/api/print-api/print-api.ts +18 -0
- package/src/surfaces/point-of-sale/{api → render/api}/product-search-api/product-search-api.ts +3 -3
- package/src/surfaces/point-of-sale/{api → render/api}/session-api/session-api.ts +1 -1
- package/src/surfaces/point-of-sale/render/api/standard/standard-api.ts +17 -0
- package/src/surfaces/point-of-sale/render/components/Box/Box.ts +6 -0
- package/src/surfaces/point-of-sale/{components → render/components}/FormattedTextField/FormattedTextField.ts +0 -9
- package/src/surfaces/point-of-sale/render/components/Image/Image.ts +31 -0
- package/src/surfaces/point-of-sale/{components → render/components}/List/List.ts +0 -6
- package/src/surfaces/point-of-sale/render/components/PrintPreview/PrintPreview.ts +13 -0
- package/src/surfaces/point-of-sale/render/components/Stack/Stack.ts +122 -0
- package/src/surfaces/point-of-sale/{components → render/components}/TextField/TextField.ts +2 -13
- package/src/surfaces/point-of-sale/render/components/shared/box.ts +131 -0
- package/src/surfaces/point-of-sale/{components/Spacing/Spacing.ts → render/components/shared/deprecated-types.ts} +16 -0
- package/src/surfaces/point-of-sale/render/components/shared/inner-layouts.ts +35 -0
- package/src/surfaces/point-of-sale/render/components/shared/sizes.ts +25 -0
- package/src/surfaces/point-of-sale/run/input/BaseInput.ts +8 -0
- package/src/surfaces/point-of-sale/run/intent/BaseIntent.ts +8 -0
- package/src/surfaces/point-of-sale/targets.ts +8 -17
- package/src/surfaces/point-of-sale/{api/types → types}/cart.ts +5 -4
- package/src/surfaces/point-of-sale/types/device.ts +14 -0
- package/src/surfaces/point-of-sale/{api/types → types}/session.ts +7 -0
- package/src/surfaces/point-of-sale.ts +2 -0
- package/build/cjs/surfaces/point-of-sale/components/ActionItem/ActionItem.js +0 -16
- package/build/cjs/surfaces/point-of-sale/components/TextField/TextField.js +0 -15
- package/build/esm/surfaces/point-of-sale/components/ActionItem/ActionItem.mjs +0 -12
- package/build/esm/surfaces/point-of-sale/components/Image/Image.mjs +0 -5
- package/build/esm/surfaces/point-of-sale/components/TextField/TextField.mjs +0 -11
- package/build/esnext/surfaces/point-of-sale/components/ActionItem/ActionItem.esnext +0 -12
- package/build/esnext/surfaces/point-of-sale/components/Image/Image.esnext +0 -5
- package/build/esnext/surfaces/point-of-sale/components/TextField/TextField.esnext +0 -11
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.d.ts +0 -17
- package/build/ts/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +0 -12
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/types/cart.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/types/multiple-resource-result.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/types/paginated-result.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/types/product.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/api/types/session.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/ActionItem/ActionItem.d.ts +0 -24
- package/build/ts/surfaces/point-of-sale/components/ActionItem/ActionItem.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Button/Button.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/CameraScanner/CameraScanner.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Dialog/Dialog.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Image/Image.d.ts +0 -12
- package/build/ts/surfaces/point-of-sale/components/Image/Image.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/List/List.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Navigator/Navigator.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/POSBlock/POSBlock.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/POSBlock/POSBlockRow.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/PinPad/PinPad.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/RadioButtonList/RadioButtonList.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Screen/Screen.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/ScrollView/ScrollView.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/SearchBar/SearchBar.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Section/Section.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/SectionHeader/SectionHeader.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/SegmentedControl/SegmentedControl.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Selectable/Selectable.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Spacing/Spacing.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.d.ts +0 -44
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Stepper/Stepper.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Text/Text.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/shared/BaseTextField.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/shared/InputField.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/shared/auto-capitalization-type.d.ts.map +0 -1
- package/src/surfaces/checkout/components/Chat/examples/chat-media-query.example.css +0 -9
- package/src/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.ts +0 -17
- package/src/surfaces/point-of-sale/api/standard/standard-api.ts +0 -15
- package/src/surfaces/point-of-sale/components/ActionItem/ActionItem.ts +0 -24
- package/src/surfaces/point-of-sale/components/Image/Image.ts +0 -10
- package/src/surfaces/point-of-sale/components/Stack/Stack.ts +0 -63
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/Badge/Badge.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/Banner/Banner.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/Button/Button.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/CameraScanner/CameraScanner.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/DateField/DateField.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/DatePicker/DatePicker.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/Dialog/Dialog.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/EmailField/EmailField.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/FormattedTextField/FormattedTextField.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/Icon/Icon.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/List/List.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/Navigator/Navigator.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/NumberField/NumberField.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/POSBlock/POSBlock.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/POSBlock/POSBlockRow.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/PinPad/PinPad.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/RadioButtonList/RadioButtonList.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/Screen/Screen.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/ScrollView/ScrollView.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/SearchBar/SearchBar.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/Section/Section.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/SectionHeader/SectionHeader.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/SegmentedControl/SegmentedControl.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/Selectable/Selectable.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/Stepper/Stepper.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/Text/Text.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/TextArea/TextArea.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/Tile/Tile.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/TimeField/TimeField.js +0 -0
- /package/build/cjs/surfaces/point-of-sale/{components → render/components}/TimePicker/TimePicker.js +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/Badge/Badge.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/Banner/Banner.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/Button/Button.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/CameraScanner/CameraScanner.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/DateField/DateField.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/DatePicker/DatePicker.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/Dialog/Dialog.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/EmailField/EmailField.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/FormattedTextField/FormattedTextField.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/Icon/Icon.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/List/List.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/Navigator/Navigator.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/NumberField/NumberField.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/POSBlock/POSBlock.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/POSBlock/POSBlockRow.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/PinPad/PinPad.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/RadioButtonList/RadioButtonList.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/Screen/Screen.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/ScrollView/ScrollView.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/SearchBar/SearchBar.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/Section/Section.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/SectionHeader/SectionHeader.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/SegmentedControl/SegmentedControl.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/Selectable/Selectable.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/Stepper/Stepper.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/Text/Text.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/TextArea/TextArea.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/Tile/Tile.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/TimeField/TimeField.mjs +0 -0
- /package/build/esm/surfaces/point-of-sale/{components → render/components}/TimePicker/TimePicker.mjs +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/Badge/Badge.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/Banner/Banner.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/Button/Button.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/CameraScanner/CameraScanner.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/DateField/DateField.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/DatePicker/DatePicker.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/Dialog/Dialog.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/EmailField/EmailField.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/FormattedTextField/FormattedTextField.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/Icon/Icon.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/List/List.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/Navigator/Navigator.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/NumberField/NumberField.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/POSBlock/POSBlock.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/POSBlock/POSBlockRow.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/PinPad/PinPad.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/RadioButtonList/RadioButtonList.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/Screen/Screen.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/ScrollView/ScrollView.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/SearchBar/SearchBar.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/Section/Section.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/SectionHeader/SectionHeader.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/SegmentedControl/SegmentedControl.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/Selectable/Selectable.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/Stepper/Stepper.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/Text/Text.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/TextArea/TextArea.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/Tile/Tile.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/TimeField/TimeField.esnext +0 -0
- /package/build/esnext/surfaces/point-of-sale/{components → render/components}/TimePicker/TimePicker.esnext +0 -0
- /package/build/ts/surfaces/point-of-sale/{api → render/api}/action-api/action-api.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{api → render/api}/action-target-api/action-target-api.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{api → render/api}/connectivity-api/connectivity-api.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{api → render/api}/customer-api/customer-api.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{api → render/api}/device-api/device-api.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{api → render/api}/draft-order-api/draft-order-api.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{api → render/api}/locale-api/locale-api.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{api → render/api}/navigation-api/navigation-api.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{api → render/api}/order-api/order-api.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{api → render/api}/product-api/product-api.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{api → render/api}/scanner-api/scanner-api.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{api → render/api}/toast-api/toast-api.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/Badge/Badge.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/Banner/Banner.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/Button/Button.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/CameraScanner/CameraScanner.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/DateField/DateField.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/DatePicker/DatePicker.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/Dialog/Dialog.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/EmailField/EmailField.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/Icon/Icon.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/Navigator/Navigator.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/NumberField/NumberField.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/POSBlock/POSBlock.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/POSBlock/POSBlockRow.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/PinPad/PinPad.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/RadioButtonList/RadioButtonList.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/Screen/Screen.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/ScrollView/ScrollView.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/SearchBar/SearchBar.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/Section/Section.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/SectionHeader/SectionHeader.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/SegmentedControl/SegmentedControl.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/Selectable/Selectable.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/Stepper/Stepper.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/Text/Text.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/TextArea/TextArea.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/Tile/Tile.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/TimeField/TimeField.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/TimePicker/TimePicker.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/shared/BaseTextField.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/shared/InputField.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{components → render/components}/shared/auto-capitalization-type.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{api/types → types}/country-code.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{api/types → types}/multiple-resource-result.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{api/types → types}/paginated-result.d.ts +0 -0
- /package/build/ts/surfaces/point-of-sale/{api/types → types}/product.d.ts +0 -0
- /package/src/surfaces/point-of-sale/{api → render/api}/action-api/action-api.ts +0 -0
- /package/src/surfaces/point-of-sale/{api → render/api}/action-target-api/action-target-api.ts +0 -0
- /package/src/surfaces/point-of-sale/{api → render/api}/connectivity-api/connectivity-api.ts +0 -0
- /package/src/surfaces/point-of-sale/{api → render/api}/customer-api/customer-api.ts +0 -0
- /package/src/surfaces/point-of-sale/{api → render/api}/device-api/device-api.ts +0 -0
- /package/src/surfaces/point-of-sale/{api → render/api}/draft-order-api/draft-order-api.ts +0 -0
- /package/src/surfaces/point-of-sale/{api → render/api}/locale-api/locale-api.ts +0 -0
- /package/src/surfaces/point-of-sale/{api → render/api}/navigation-api/navigation-api.ts +0 -0
- /package/src/surfaces/point-of-sale/{api/order-api/order-api.tsx → render/api/order-api/order-api.ts} +0 -0
- /package/src/surfaces/point-of-sale/{api → render/api}/product-api/product-api.ts +0 -0
- /package/src/surfaces/point-of-sale/{api → render/api}/scanner-api/scanner-api.ts +0 -0
- /package/src/surfaces/point-of-sale/{api → render/api}/toast-api/toast-api.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/Badge/Badge.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/Banner/Banner.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/Button/Button.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/CameraScanner/CameraScanner.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/DateField/DateField.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/DatePicker/DatePicker.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/Dialog/Dialog.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/EmailField/EmailField.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/Icon/Icon.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/Navigator/Navigator.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/NumberField/NumberField.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/POSBlock/POSBlock.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/POSBlock/POSBlockRow.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/PinPad/PinPad.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/RadioButtonList/RadioButtonList.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/Screen/Screen.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/ScrollView/ScrollView.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/SearchBar/SearchBar.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/Section/Section.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/SectionHeader/SectionHeader.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/SegmentedControl/SegmentedControl.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/Selectable/Selectable.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/Stepper/Stepper.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/Text/Text.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/TextArea/TextArea.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/Tile/Tile.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/TimeField/TimeField.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/TimePicker/TimePicker.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/shared/BaseTextField.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/shared/InputField.ts +0 -0
- /package/src/surfaces/point-of-sale/{components → render/components}/shared/auto-capitalization-type.ts +0 -0
- /package/src/surfaces/point-of-sale/{api/types → types}/country-code.ts +0 -0
- /package/src/surfaces/point-of-sale/{api/types → types}/multiple-resource-result.ts +0 -0
- /package/src/surfaces/point-of-sale/{api/types → types}/paginated-result.ts +0 -0
- /package/src/surfaces/point-of-sale/{api/types → types}/product.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/point-of-sale/components.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/point-of-sale/components.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,iCAAiC,CAAC;AACtD,YAAY,EACV,UAAU,EACV,WAAW,EACX,YAAY,GACb,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAC,MAAM,EAAC,MAAM,mCAAmC,CAAC;AACzD,YAAY,EACV,WAAW,EACX,aAAa,GACd,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAC,GAAG,EAAC,MAAM,6BAA6B,CAAC;AAChD,YAAY,EAAC,QAAQ,EAAC,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAC,MAAM,EAAC,MAAM,mCAAmC,CAAC;AACzD,YAAY,EAAC,WAAW,EAAE,UAAU,EAAC,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAC,aAAa,EAAC,MAAM,iDAAiD,CAAC;AAC9E,YAAY,EAAC,kBAAkB,EAAC,MAAM,iDAAiD,CAAC;AACxF,OAAO,EAAC,SAAS,EAAC,MAAM,yCAAyC,CAAC;AAClE,YAAY,EAAC,cAAc,EAAC,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAC,UAAU,EAAC,MAAM,2CAA2C,CAAC;AACrE,YAAY,EAAC,eAAe,EAAC,MAAM,2CAA2C,CAAC;AAC/E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"AAAA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,WAAW,CAAC;AAEhD,MAAM,WAAW,aAAa;IAC5B,MAAM,CAAC,eAAe,SAAS,MAAM,gBAAgB,EACnD,MAAM,EAAE,eAAe,EACvB,MAAM,EAAE,gBAAgB,CAAC,eAAe,CAAC,GACxC,IAAI,CAAC;IACR,MAAM,IAAI,IAAI,CAAC;CAChB;AAED,OAAO,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"globals.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/point-of-sale/globals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,WAAW,CAAC;AAEhD,MAAM,WAAW,aAAa;IAC5B,MAAM,CAAC,eAAe,SAAS,MAAM,gBAAgB,EACnD,MAAM,EAAE,eAAe,EACvB,MAAM,EAAE,gBAAgB,CAAC,eAAe,CAAC,GACxC,IAAI,CAAC;IACR,MAAM,IAAI,IAAI,CAAC;CAChB;AAED,OAAO,CAAC,MAAM,CAAC;IAIb,MAAM,OAAO,EAAE,aAAa,CAAC;CAC9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/point-of-sale/input.ts"],"names":[],"mappings":"AAAA,YAAY,EAAC,SAAS,EAAC,MAAM,uBAAuB,CAAC;AAErD,YAAY,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intent.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/point-of-sale/intent.ts"],"names":[],"mappings":"AAAA,YAAY,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-api.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/api/action-api/action-api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,YAAY,IAAI,IAAI,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,gBAAgB,CAAC;CAC1B"}
|
package/build/ts/surfaces/point-of-sale/render/api/action-target-api/action-target-api.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-target-api.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/api/action-target-api/action-target-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AAErD,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,GAAG;IACtD,cAAc,EAAE,CAAC,CAAC;CACnB,GAAG,WAAW,CAAC,CAAC,CAAC,GAChB,UAAU,GACV,aAAa,CAAC"}
|
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
import type { RemoteSubscribable } from '@remote-ui/async-subscription';
|
|
2
|
-
import type { Address, Cart, Customer, CustomSale, SetLineItemDiscountInput, SetLineItemPropertiesInput } from '
|
|
2
|
+
import type { Address, Cart, CartUpdateInput, Customer, CustomSale, SetLineItemDiscountInput, SetLineItemPropertiesInput } from '../../../types/cart';
|
|
3
3
|
/**
|
|
4
4
|
* Access and modify the merchant’s current cart.
|
|
5
5
|
*/
|
|
6
6
|
export interface CartApi {
|
|
7
7
|
cart: CartApiContent;
|
|
8
8
|
}
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated
|
|
11
|
-
* PriceOverride is no longer supported. Code discounts are only supported at the Cart level.
|
|
12
|
-
* Please migrate to using CartDiscountType and LineItemDiscountType as soon as possible.
|
|
13
|
-
*/
|
|
14
|
-
export type DiscountType = 'Percentage' | 'FixedAmount' | 'PriceOverride' | 'Code';
|
|
15
9
|
export type CartDiscountType = 'Percentage' | 'FixedAmount' | 'Code';
|
|
16
10
|
export type LineItemDiscountType = 'Percentage' | 'FixedAmount';
|
|
17
11
|
export interface CartApiContent {
|
|
@@ -21,6 +15,11 @@ export interface CartApiContent {
|
|
|
21
15
|
* Using `makeStatefulSubscribable` or the corresponding hooks counts as a subscription.
|
|
22
16
|
*/
|
|
23
17
|
subscribable: RemoteSubscribable<Cart>;
|
|
18
|
+
/** Bulk update the cart
|
|
19
|
+
* @param cartState the cart state to set
|
|
20
|
+
* @returns the updated cart
|
|
21
|
+
*/
|
|
22
|
+
bulkCartUpdate(cartState: CartUpdateInput): Promise<Cart>;
|
|
24
23
|
/** Apply a cart level discount
|
|
25
24
|
* @param type the type of discount applied (example: 'Percentage')
|
|
26
25
|
* @param title the title attributed with the discount
|
|
@@ -47,13 +46,15 @@ export interface CartApiContent {
|
|
|
47
46
|
removeCustomer(): Promise<void>;
|
|
48
47
|
/** Add a custom sale to the cart
|
|
49
48
|
* @param customSale the custom sale object to add to the cart
|
|
49
|
+
* @returns {string} the uuid of the line item added
|
|
50
50
|
*/
|
|
51
|
-
addCustomSale(customSale: CustomSale): Promise<
|
|
51
|
+
addCustomSale(customSale: CustomSale): Promise<string>;
|
|
52
52
|
/** Add a line item by variant ID to the cart
|
|
53
53
|
* @param variantId the product variant's numeric ID to add to the cart
|
|
54
54
|
* @param quantity the number of this variant to add to the cart
|
|
55
|
+
* @returns {string} the uuid of the line item added
|
|
55
56
|
*/
|
|
56
|
-
addLineItem(variantId: number, quantity: number): Promise<
|
|
57
|
+
addLineItem(variantId: number, quantity: number): Promise<string>;
|
|
57
58
|
/** Remove the line item at this uuid from the cart
|
|
58
59
|
* @param uuid the uuid of the line item that should be removed
|
|
59
60
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cart-api.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-s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AAO,EAAE,MAAM,GAAG,SAAS,EAC3B,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB;;OAEG;IACH,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEpD;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE5C;;;OAGG;IACH,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEhD;;OAEG;IACH,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectivity-api.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/api/connectivity-api/connectivity-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,+BAA+B,CAAC;AAEtE,MAAM,MAAM,yBAAyB,GAAG,WAAW,GAAG,cAAc,CAAC;AAErE,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,iBAAiB,EAAE,yBAAyB,CAAC;CAC9C;AAED,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,YAAY,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,CAAC;CACrD;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,sBAAsB,CAAC;CACtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer-api.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/api/customer-api/customer-api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,kBAAkB,CAAC;CAC9B;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device-api.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/api/device-api/device-api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,QAAQ,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,gBAAgB,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"draft-order-api.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/api/draft-order-api/draft-order-api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,oBAAoB,CAAC;CAClC;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locale-api.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/api/locale-api/locale-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,+BAA+B,CAAC;AAEtE,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,YAAY,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,gBAAgB,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation-api.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/api/navigation-api/navigation-api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IAEjD,sCAAsC;IACtC,GAAG,IAAI,IAAI,CAAC;IAEZ,+BAA+B;IAC/B,OAAO,IAAI,IAAI,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,oBAAoB,CAAC;CAClC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"order-api.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/api/order-api/order-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,eAAe,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Access the print API for printing functionality
|
|
3
|
+
*/
|
|
4
|
+
export interface PrintApiContent {
|
|
5
|
+
/**
|
|
6
|
+
* Trigger a print dialog.
|
|
7
|
+
* @param src the source URL of the content to print. This URL must be a path of the app backend. Valid document types are text, HTML, image, and PDF.
|
|
8
|
+
* @returns Promise<void> that resolves when content is ready and native print dialog appears.
|
|
9
|
+
*/
|
|
10
|
+
print(src: string): Promise<void>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Interface for printing
|
|
14
|
+
*/
|
|
15
|
+
export interface PrintApi {
|
|
16
|
+
print: PrintApiContent;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=print-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"print-api.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/api/print-api/print-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,eAAe,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-api.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/api/product-api/product-api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,iBAAiB,CAAC;CAC5B;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { MultipleResourceResult } from '
|
|
2
|
-
import type { PaginatedResult } from '
|
|
3
|
-
import type { Product, ProductVariant } from '
|
|
1
|
+
import type { MultipleResourceResult } from '../../../types/multiple-resource-result';
|
|
2
|
+
import type { PaginatedResult } from '../../../types/paginated-result';
|
|
3
|
+
import type { Product, ProductVariant } from '../../../types/product';
|
|
4
4
|
export type ProductSortType = 'RECENTLY_ADDED' | 'RECENTLY_ADDED_ASCENDING' | 'ALPHABETICAL_A_TO_Z' | 'ALPHABETICAL_Z_TO_A';
|
|
5
5
|
/**
|
|
6
6
|
* Base interface for pagination.
|
package/build/ts/surfaces/point-of-sale/render/api/product-search-api/product-search-api.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-search-api.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/api/product-search-api/product-search-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK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ACH,0CAA0C,CACxC,SAAS,EAAE,MAAM,EACjB,gBAAgB,EAAE,gBAAgB,GACjC,OAAO,CAAC,eAAe,CAAC,cAAc,CAAC,CAAC,CAAC;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,aAAa,EAAE,uBAAuB,CAAC;CACxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scanner-api.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/api/scanner-api/scanner-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,+BAA+B,CAAC;AAEtE,kDAAkD;AAClD,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,UAAU,GAAG,UAAU,CAAC;AAE/D,MAAM,WAAW,yBAAyB;IACxC,4DAA4D;IAC5D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0DAA0D;IAC1D,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,kBAAkB,CAAC,yBAAyB,CAAC,CAAC;IACvE;;;;OAIG;IACH,0BAA0B,EAAE,kBAAkB,CAAC,aAAa,EAAE,CAAC,CAAC;CACjE;AAED,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,iBAAiB,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-api.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/api/session-api/session-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,wBAAwB,CAAC;AAEpD,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,cAAc,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,eAAe,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACpD;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,iBAAiB,CAAC;CAC5B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ConnectivityApi } from '../connectivity-api/connectivity-api';
|
|
2
|
+
import { DeviceApi } from '../device-api/device-api';
|
|
3
|
+
import { LocaleApi } from '../locale-api/locale-api';
|
|
4
|
+
import { SessionApi } from '../session-api/session-api';
|
|
5
|
+
import { ToastApi } from '../toast-api/toast-api';
|
|
6
|
+
import { ProductSearchApi } from '../product-search-api/product-search-api';
|
|
7
|
+
import { PrintApi } from '../print-api/print-api';
|
|
8
|
+
export type StandardApi<T> = {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
} & {
|
|
11
|
+
extensionPoint: T;
|
|
12
|
+
} & LocaleApi & ToastApi & SessionApi & PrintApi & ProductSearchApi & DeviceApi & ConnectivityApi;
|
|
13
|
+
//# sourceMappingURL=standard-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"standard-api.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/api/standard/standard-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAC,SAAS,EAAC,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAC,SAAS,EAAC,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAC,UAAU,EAAC,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAC,gBAAgB,EAAC,MAAM,0CAA0C,CAAC;AAC1E,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAEhD,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,GAAG;IAClD,cAAc,EAAE,CAAC,CAAC;CACnB,GAAG,SAAS,GACX,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,gBAAgB,GAChB,SAAS,GACT,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast-api.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/api/toast-api/toast-api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAC7D;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,eAAe,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/Badge/Badge.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,YAAY,GACpB,SAAS,GACT,UAAU,GACV,SAAS,GACT,SAAS,GACT,WAAW,CAAC;AAEhB,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAC;AAE3D;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,YAAY,CAAC;IAEtB;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,eAAO,MAAM,KAAK;;;;CAAsD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/Banner/Banner.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,OAAO,GAAG,OAAO,GAAG,aAAa,CAAC;AAE/E;;;;;;;GAOG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,EAAE,aAAa,CAAC;IAEvB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,MAAM;;;;CAAyD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PaddingProps, SizingProps } from '../shared/box';
|
|
2
|
+
export interface BoxProps extends PaddingProps, SizingProps {
|
|
3
|
+
}
|
|
4
|
+
export declare const Box: "Box" & {
|
|
5
|
+
readonly type?: "Box" | undefined;
|
|
6
|
+
readonly props?: BoxProps | undefined;
|
|
7
|
+
readonly children?: true | undefined;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=Box.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/Box/Box.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAE,WAAW,EAAC,MAAM,eAAe,CAAC;AAExD,MAAM,WAAW,QAAS,SAAQ,YAAY,EAAE,WAAW;CAAG;AAE9D,eAAO,MAAM,GAAG;;;;CAAgD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/Button/Button.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,aAAa,GAAG,OAAO,CAAC;AAEvE;;;;;;GAMG;AACH,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,MAAM;;;;CAAyD,CAAC"}
|
package/build/ts/surfaces/point-of-sale/render/components/CameraScanner/CameraScanner.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CameraScanner.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/CameraScanner/CameraScanner.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAE/C;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,EAAE,aAAa,CAAC;IACvB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,WAAW,CAAC,EAAE,wBAAwB,CAAC;CACxC;AAED,eAAO,MAAM,aAAa;;;;CAGR,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateField.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/DateField/DateField.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAEhD,MAAM,WAAW,cACf,SAAQ,IAAI,CACV,UAAU,EACR,OAAO,GACP,OAAO,GACP,OAAO,GACP,UAAU,GACV,SAAS,GACT,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,UAAU,CACb;CAAG;AAEN,eAAO,MAAM,SAAS;;;;CAErB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/DatePicker/DatePicker.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC;;OAEG;IACH,YAAY,EAAE,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC,CAAC;IAEpD;;;OAGG;IACH,SAAS,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CAClC;AAED,eAAO,MAAM,UAAU;;;;CAEtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/Dialog/Dialog.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,aAAa,CAAC;AAEvE;;;;;;;;;;GAUG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAElB;;OAEG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;IAErB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAE/B;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,MAAM;;;;CAAyD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmailField.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/EmailField/EmailField.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAErD,MAAM,WAAW,eAAgB,SAAQ,UAAU;CAAG;AAEtD,eAAO,MAAM,UAAU;;;;CAEtB,CAAC"}
|
|
@@ -18,15 +18,6 @@ export interface FormattedTextFieldProps extends BaseTextFieldProps {
|
|
|
18
18
|
* Dictates when the text should be auto-capitalized.
|
|
19
19
|
*/
|
|
20
20
|
autoCapitalize?: AutoCapitalizationType;
|
|
21
|
-
/**
|
|
22
|
-
* **Warning:** This callback is currently broken and will not work as intended.
|
|
23
|
-
*
|
|
24
|
-
* Custom validator function to determine the validity of an entered value.
|
|
25
|
-
*
|
|
26
|
-
* @deprecated This callback will be removed in version 2025-01.
|
|
27
|
-
* Please update your code to avoid using this feature.
|
|
28
|
-
*/
|
|
29
|
-
customValidator?: (text: string) => boolean;
|
|
30
21
|
}
|
|
31
22
|
export declare const FormattedTextField: "FormattedTextField" & {
|
|
32
23
|
readonly type?: "FormattedTextField" | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormattedTextField.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/FormattedTextField/FormattedTextField.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,sBAAsB,EAAC,MAAM,oCAAoC,CAAC;AAC/E,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AAEhE;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,CAAC;AAC9E;;;;GAIG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB;IACjE;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;OAEG;IACH,cAAc,CAAC,EAAE,sBAAsB,CAAC;CACzC;AAED,eAAO,MAAM,kBAAkB;;;;CAGR,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/Icon/Icon.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,QAAQ,GAChB,cAAc,GACd,WAAW,GACX,MAAM,GACN,OAAO,GACP,YAAY,GACZ,WAAW,GACX,aAAa,GACb,MAAM,GACN,QAAQ,GACR,aAAa,GACb,MAAM,GACN,WAAW,GACX,YAAY,GACZ,kBAAkB,GAClB,oBAAoB,GACpB,YAAY,GACZ,eAAe,GACf,cAAc,GACd,cAAc,GACd,eAAe,GACf,kBAAkB,GAClB,qBAAqB,GACrB,aAAa,GACb,gBAAgB,GAChB,OAAO,GACP,aAAa,GACb,MAAM,GACN,aAAa,GACb,gBAAgB,GAChB,aAAa,GACb,UAAU,GACV,eAAe,GACf,MAAM,GACN,aAAa,GACb,cAAc,GACd,WAAW,GACX,MAAM,GACN,eAAe,GACf,MAAM,GACN,iBAAiB,GACjB,QAAQ,GACR,WAAW,GACX,MAAM,GACN,MAAM,GACN,WAAW,GACX,MAAM,GACN,MAAM,GACN,8BAA8B,GAC9B,MAAM,GACN,OAAO,GACP,QAAQ,GACR,aAAa,GACb,QAAQ,GACR,QAAQ,GACR,kBAAkB,GAClB,aAAa,GACb,MAAM,GACN,UAAU,GACV,cAAc,GACd,gBAAgB,GAChB,WAAW,GACX,SAAS,GACT,SAAS,GACT,UAAU,GACV,eAAe,GACf,mBAAmB,GACnB,WAAW,GACX,cAAc,GACd,QAAQ,GACR,MAAM,GACN,UAAU,GACV,UAAU,GACV,eAAe,GACf,MAAM,GACN,OAAO,GACP,MAAM,GACN,gBAAgB,GAChB,sBAAsB,GACtB,UAAU,GACV,UAAU,GACV,UAAU,CAAC;AAEf,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AAExE,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IACf;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB;AAED,eAAO,MAAM,IAAI;;;;CAAmD,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type ImageSize = 's' | 'm' | 'l' | 'xl';
|
|
2
|
+
/**
|
|
3
|
+
* FillResizeMode will apply formatting to the image to fill the container.
|
|
4
|
+
*
|
|
5
|
+
* https://reactnative.dev/docs/image#resizemode
|
|
6
|
+
*/
|
|
7
|
+
export type FillResizeMode = 'cover' | 'contain' | 'stretch' | 'repeat' | 'center';
|
|
8
|
+
export interface ImageProps {
|
|
9
|
+
/**
|
|
10
|
+
* The source of the image to be displayed.
|
|
11
|
+
*/
|
|
12
|
+
src?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The size or fill size of the image.
|
|
15
|
+
*
|
|
16
|
+
* @default 'l'
|
|
17
|
+
*/
|
|
18
|
+
size?: ImageSize | FillResizeMode;
|
|
19
|
+
}
|
|
20
|
+
export declare const Image: "Image" & {
|
|
21
|
+
readonly type?: "Image" | undefined;
|
|
22
|
+
readonly props?: ImageProps | undefined;
|
|
23
|
+
readonly children?: true | undefined;
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=Image.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/Image/Image.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;AAE/C;;;;GAIG;AACH,MAAM,MAAM,cAAc,GACtB,OAAO,GACP,SAAS,GACT,SAAS,GACT,QAAQ,GACR,QAAQ,CAAC;AAEb,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,cAAc,CAAC;CACnC;AAED,eAAO,MAAM,KAAK;;;;CAAsD,CAAC"}
|
|
@@ -32,12 +32,6 @@ export interface ListRowLeftSide {
|
|
|
32
32
|
* Subtitles can optionally be configured with colors by passing an object with a `content` and `color` properties.
|
|
33
33
|
*/
|
|
34
34
|
subtitle?: [ListRowSubtitle, ListRowSubtitle?, ListRowSubtitle?];
|
|
35
|
-
/**
|
|
36
|
-
* @deprecated
|
|
37
|
-
* badge will be removed in version 2.0.0 in favor of badges.
|
|
38
|
-
* Please migrate to using badges as soon as possible.
|
|
39
|
-
*/
|
|
40
|
-
badge?: BadgeProps;
|
|
41
35
|
/**
|
|
42
36
|
* Colored badges that are displayed underneath the `title` and `subtitles`.
|
|
43
37
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/List/List.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAwB,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAEvC,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,YAAY,CAAC;AAEpD,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC;IACjE;;OAEG;IACH,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE;QACN;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;CACH;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B;AAED,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,QAAQ,EAAE,eAAe,CAAC;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,mBAAmB,CAAC,EAAE,cAAc,CAAC;IACrC;;OAEG;IACH,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;;OAKG;IACH,oBAAoB,CAAC,EAAE,WAAW,GAAG,QAAQ,GAAG,OAAO,CAAC;IACxD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,eAAO,MAAM,IAAI;;;;CAAmD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Navigator.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/Navigator/Navigator.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,eAAO,MAAM,SAAS;;;;CAErB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumberField.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/NumberField/NumberField.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAErD;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAClC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,WAAW;;;;CAGR,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"POSBlock.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/POSBlock/POSBlock.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,MAAM,CAAC,EAAE;QACP;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QACd;;;WAGG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB;;WAEG;QACH,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,CAAC;CACH;AAED,eAAO,MAAM,QAAQ;;;;CAEpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"POSBlockRow.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/POSBlock/POSBlockRow.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,WAAW;;;;CAGR,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PinPad.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/PinPad/PinPad.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEtD;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC;AAEnD;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;CAClC;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC;;OAEG;IACH,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAC1D;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CACtC;AAED,eAAO,MAAM,MAAM;;;;CAAyD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface PrintPreviewProps {
|
|
2
|
+
/**
|
|
3
|
+
* The source to print.
|
|
4
|
+
*/
|
|
5
|
+
src: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const PrintPreview: "PrintPreview" & {
|
|
8
|
+
readonly type?: "PrintPreview" | undefined;
|
|
9
|
+
readonly props?: PrintPreviewProps | undefined;
|
|
10
|
+
readonly children?: true | undefined;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=PrintPreview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrintPreview.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/PrintPreview/PrintPreview.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,YAAY;;;;CAGR,CAAC"}
|
package/build/ts/surfaces/point-of-sale/render/components/RadioButtonList/RadioButtonList.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioButtonList.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/RadioButtonList/RadioButtonList.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB;;OAEG;IACH,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,+BAA+B,CAAC,EAAE,OAAO,CAAC;CAC3C;AAED,eAAO,MAAM,eAAe;;;;CAGR,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Screen.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/Screen/Screen.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,YAAY,CAAC,EAAE,uBAAuB,CAAC;IACvC;;OAEG;IACH,eAAe,CAAC,EAAE,oBAAoB,CAAC;IACvC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC;;OAEG;IACH,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;CACzC;AAED,eAAO,MAAM,MAAM;;;;CAAyD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/ScrollView/ScrollView.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;CAAoD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchBar.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/SearchBar/SearchBar.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC;;OAEG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,SAAS;;;;CAErB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/Section/Section.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,mBAAmB,CAAC;CAC9B;AAED,eAAO,MAAM,OAAO;;;;CAEnB,CAAC"}
|
package/build/ts/surfaces/point-of-sale/render/components/SectionHeader/SectionHeader.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionHeader.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/SectionHeader/SectionHeader.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE;QACP;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QACd;;WAEG;QACH,OAAO,EAAE,MAAM,IAAI,CAAC;QACpB;;WAEG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,CAAC;IACF;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,aAAa;;;;CAGR,CAAC"}
|
package/build/ts/surfaces/point-of-sale/render/components/SegmentedControl/SegmentedControl.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/SegmentedControl/SegmentedControl.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC;AAED,eAAO,MAAM,gBAAgB;;;;CAGR,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Selectable.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/Selectable/Selectable.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,UAAU;;;;CAEtB,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import type { PaddingProps, SizingProps } from '../shared/box';
|
|
2
|
+
import { ContentDistribution, ContentPosition, SpacingKeyword, GapProps } from '../shared/inner-layouts';
|
|
3
|
+
import { HorizontalSpacing, Spacing, VerticalSpacing } from '../shared/deprecated-types';
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @deprecated Use the `block` or `inline` as a value instead.
|
|
7
|
+
*/
|
|
8
|
+
type DeprecatedStackDirection = 'vertical' | 'horizontal';
|
|
9
|
+
export interface StackProps extends PaddingProps, SizingProps, GapProps {
|
|
10
|
+
/**
|
|
11
|
+
* Sets how the Stack's children are placed within the Stack.
|
|
12
|
+
* 'vertical' and 'horizontal' are deprecated. Using these values will use the Stack implementation from 2024-10.
|
|
13
|
+
*
|
|
14
|
+
* @default 'inline'
|
|
15
|
+
*/
|
|
16
|
+
direction?: 'inline' | 'block' | DeprecatedStackDirection;
|
|
17
|
+
/**
|
|
18
|
+
* The alignment of the children along the main axis.
|
|
19
|
+
*
|
|
20
|
+
* @defaultValue 'flex-start'
|
|
21
|
+
* @deprecated Use the `justifyContent` prop instead.
|
|
22
|
+
*/
|
|
23
|
+
alignment?: ContentPosition | ContentDistribution;
|
|
24
|
+
/**
|
|
25
|
+
* Aligns the Stack along the main axis.
|
|
26
|
+
*
|
|
27
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
28
|
+
* @default 'start'
|
|
29
|
+
*/
|
|
30
|
+
justifyContent?: ContentPosition | ContentDistribution;
|
|
31
|
+
/**
|
|
32
|
+
* Aligns the Stack along the cross axis.
|
|
33
|
+
*
|
|
34
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
35
|
+
* @default 'start'
|
|
36
|
+
*/
|
|
37
|
+
alignContent?: 'stretch' | ContentPosition | ContentDistribution;
|
|
38
|
+
/**
|
|
39
|
+
* Aligns the Stack's children along the cross axis.
|
|
40
|
+
*
|
|
41
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
42
|
+
* @default 'stretch'
|
|
43
|
+
*/
|
|
44
|
+
alignItems?: 'stretch' | 'baseline' | ContentPosition;
|
|
45
|
+
/**
|
|
46
|
+
* The vertical padding around the stack.
|
|
47
|
+
* @deprecated Use the `paddingBlock` prop instead.
|
|
48
|
+
*/
|
|
49
|
+
paddingVertical?: VerticalSpacing;
|
|
50
|
+
/**
|
|
51
|
+
* The horizontal padding around the stack.
|
|
52
|
+
* @deprecated Use the `paddingInline` prop instead.
|
|
53
|
+
*/
|
|
54
|
+
paddingHorizontal?: HorizontalSpacing;
|
|
55
|
+
/**
|
|
56
|
+
* The spacing between each child in the stack.
|
|
57
|
+
* @defaultValue 1
|
|
58
|
+
* @deprecated Use the `gap` prop instead.
|
|
59
|
+
*/
|
|
60
|
+
spacing?: Spacing;
|
|
61
|
+
/**
|
|
62
|
+
* The size of the gap between each child in the stack.
|
|
63
|
+
* @defaultValue '0'
|
|
64
|
+
*/
|
|
65
|
+
gap?: SpacingKeyword;
|
|
66
|
+
/**
|
|
67
|
+
* Adjust spacing between elements in the block axis.
|
|
68
|
+
*
|
|
69
|
+
* This overrides the row value of `gap`.
|
|
70
|
+
*
|
|
71
|
+
* @default '' - meaning no override
|
|
72
|
+
*/
|
|
73
|
+
rowGap?: SpacingKeyword | '';
|
|
74
|
+
/**
|
|
75
|
+
* Adjust spacing between elements in the inline axis.
|
|
76
|
+
*
|
|
77
|
+
* This overrides the column value of `gap`.
|
|
78
|
+
*
|
|
79
|
+
* @default '' - meaning no override
|
|
80
|
+
*/
|
|
81
|
+
columnGap?: SpacingKeyword | '';
|
|
82
|
+
/**
|
|
83
|
+
* Whether the children should be stretched to fill the cross axis.
|
|
84
|
+
*/
|
|
85
|
+
flexChildren?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* The flex value for the stack. Flex 1 will stretch the stack to fill the parent.
|
|
88
|
+
*/
|
|
89
|
+
flex?: number;
|
|
90
|
+
/**
|
|
91
|
+
* Wrap behavior for the children of the stack.
|
|
92
|
+
* @deprecated Has no effect, content will always wrap.
|
|
93
|
+
*/
|
|
94
|
+
flexWrap?: 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
95
|
+
}
|
|
96
|
+
export declare const Stack: "Stack" & {
|
|
97
|
+
readonly type?: "Stack" | undefined;
|
|
98
|
+
readonly props?: StackProps | undefined;
|
|
99
|
+
readonly children?: true | undefined;
|
|
100
|
+
};
|
|
101
|
+
export {};
|
|
102
|
+
//# sourceMappingURL=Stack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/Stack/Stack.ts"],"names":[],"mappings":"AACA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CAC/C;AAED,eAAO,MAAM,KAAK;;;;CAAsD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/Stepper/Stepper.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAExC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,OAAO;;;;CAEnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/Text/Text.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,WAAW,GACnB,eAAe,GACf,gBAAgB,GAChB,oBAAoB,GACpB,eAAe,GACf,MAAM,GACN,cAAc,GACd,cAAc,GACd,SAAS,CAAC;AAEd,MAAM,MAAM,SAAS,GACjB,aAAa,GACb,aAAa,GACb,cAAc,GACd,aAAa,GACb,cAAc,GACd,aAAa,GACb,iBAAiB,GACjB,eAAe,CAAC;AAEpB,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,eAAO,MAAM,IAAI;;;;CAAmD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../../../../src/surfaces/point-of-sale/render/components/TextArea/TextArea.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAErD;;;;GAIG;AACH,MAAM,WAAW,aAAc,SAAQ,UAAU;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,QAAQ;;;;CAEpB,CAAC"}
|
package/build/ts/surfaces/point-of-sale/{components → render/components}/TextField/TextField.d.ts
RENAMED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { BaseTextFieldProps } from '../shared/BaseTextField';
|
|
2
1
|
import type { InputProps } from '../shared/InputField';
|
|
3
2
|
export interface ActionProps {
|
|
4
3
|
type: 'action';
|
|
@@ -21,17 +20,9 @@ export interface PasswordProps {
|
|
|
21
20
|
export type EmbeddedElementProps = ActionProps | InfoProps | SuccessProps | PasswordProps;
|
|
22
21
|
export interface NewTextFieldProps extends InputProps {
|
|
23
22
|
}
|
|
24
|
-
/**
|
|
25
|
-
* @deprecated
|
|
26
|
-
* This TextField component will only support NewTextFieldProps in version 2.0.0.
|
|
27
|
-
* Please migrate to using NewTextFieldProps as soon as possible.
|
|
28
|
-
*/
|
|
29
|
-
export interface TextFieldProps extends BaseTextFieldProps {
|
|
30
|
-
rightElementStyle?: EmbeddedElementProps;
|
|
31
|
-
}
|
|
32
23
|
export declare const TextField: "TextField" & {
|
|
33
24
|
readonly type?: "TextField" | undefined;
|
|
34
|
-
readonly props?: NewTextFieldProps |
|
|
25
|
+
readonly props?: NewTextFieldProps | undefined;
|
|
35
26
|
readonly children?: true | undefined;
|
|
36
27
|
};
|
|
37
28
|
//# sourceMappingURL=TextField.d.ts.map
|