@shopify/ui-extensions 2025.10.0-rc.29 → 2025.10.0-rc.30
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/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.block.render.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.block.render.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.block.render.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.block.render.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.block.render.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.block.render.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.block.render.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/surfaces/point-of-sale/api/pin-pad-api.ts +3 -1
- package/src/surfaces/point-of-sale/api.ts +2 -0
- package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +6 -0
- package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +1 -0
- package/src/surfaces/point-of-sale/types/pin-pad.ts +4 -0
|
@@ -6,7 +6,7 @@ export interface PinPadApiContent {
|
|
|
6
6
|
* The callback should be used to validate the PIN and return `accept` or `reject`.
|
|
7
7
|
* @param options the options for the pin pad
|
|
8
8
|
*/
|
|
9
|
-
showPinPad(onSubmit: (pin: number[]) => Promise<PinValidationResult
|
|
9
|
+
showPinPad(onSubmit: (pin: number[]) => Promise<PinValidationResult> | PinValidationResult, options?: PinPadOptions): void;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* Access the Pin Pad API for pin pad functionality in a modal.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pin-pad-api.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/api/pin-pad-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AAEpE,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,UAAU,CACR,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"pin-pad-api.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/api/pin-pad-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AAEpE,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,UAAU,CACR,QAAQ,EAAE,CACR,GAAG,EAAE,MAAM,EAAE,KACV,OAAO,CAAC,mBAAmB,CAAC,GAAG,mBAAmB,EACvD,OAAO,CAAC,EAAE,aAAa,GACtB,IAAI,CAAC;CACT;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,gBAAgB,CAAC;CAC1B"}
|
|
@@ -17,7 +17,7 @@ export type { ScannerSource, ScannerSubscriptionResult, ScannerApi, ScannerApiCo
|
|
|
17
17
|
export type { SessionApiContent, SessionApi, } from './api/session-api/session-api';
|
|
18
18
|
export type { StorageApi } from './api/storage-api/storage-api';
|
|
19
19
|
export type { ShowToastOptions, ToastApiContent, ToastApi, } from './api/toast-api/toast-api';
|
|
20
|
-
export type { Cart, CartUpdateInput, Customer, LineItem, Discount, SetLineItemPropertiesInput, SetLineItemDiscountInput, LineItemDiscount, CustomSale, Address, SellingPlan, } from './types/cart';
|
|
20
|
+
export type { Cart, CartUpdateInput, Customer, LineItem, Discount, SetLineItemPropertiesInput, SetLineItemDiscountInput, LineItemDiscount, CustomSale, Address, SellingPlan, SellingPlanDeliveryInterval, SetLineItemSellingPlanInput, } from './types/cart';
|
|
21
21
|
export type { OrderLineItem, LineItemRefund } from './types/order';
|
|
22
22
|
export type { DirectApiRequestBody } from './types/direct-api-request-body';
|
|
23
23
|
export type { ShippingLine, CalculatedShippingLine, CustomShippingLine, } from './types/shipping-line';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/point-of-sale/api.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,OAAO,EACP,gBAAgB,EAChB,cAAc,EACd,oBAAoB,GACrB,MAAM,yBAAyB,CAAC;AAEjC,YAAY,EAAC,eAAe,EAAC,MAAM,6CAA6C,CAAC;AAEjF,YAAY,EAAC,SAAS,EAAE,gBAAgB,EAAC,MAAM,6BAA6B,CAAC;AAE7E,YAAY,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAC;AAC7D,YAAY,EAAC,eAAe,EAAC,MAAM,2CAA2C,CAAC;AAE/E,YAAY,EACV,yBAAyB,EACzB,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,GAChB,MAAM,yCAAyC,CAAC;AAEjD,YAAY,EACV,WAAW,EACX,kBAAkB,GACnB,MAAM,iCAAiC,CAAC;AAEzC,YAAY,EAAC,SAAS,EAAE,gBAAgB,EAAC,MAAM,6BAA6B,CAAC;AAE7E,YAAY,EAAC,SAAS,EAAE,gBAAgB,EAAC,MAAM,6BAA6B,CAAC;AAE7E,YAAY,EACV,oBAAoB,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AAc,EAAC,MAAM,eAAe,CAAC;AAEjE,YAAY,EAAC,oBAAoB,EAAC,MAAM,iCAAiC,CAAC;AAE1E,YAAY,EACV,YAAY,EACZ,sBAAsB,EACtB,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAE/B,YAAY,EAAC,OAAO,EAAC,MAAM,kBAAkB,CAAC;AAE9C,YAAY,EAAC,aAAa,EAAE,OAAO,EAAC,MAAM,iBAAiB,CAAC;AAE5D,YAAY,EAAC,sBAAsB,EAAC,MAAM,kCAAkC,CAAC;AAE7E,YAAY,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAE9D,YAAY,EACV,OAAO,EACP,cAAc,EACd,oBAAoB,EACpB,6BAA6B,EAC7B,aAAa,GACd,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAEtD,YAAY,EAAC,OAAO,EAAC,MAAM,iBAAiB,CAAC;AAC7C,YAAY,EAAC,OAAO,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAE7C,YAAY,EAAC,gBAAgB,EAAE,SAAS,EAAC,MAAM,mBAAmB,CAAC;AACnE,YAAY,EACV,aAAa,EACb,YAAY,EACZ,SAAS,EACT,gBAAgB,GACjB,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type BlockExtensionComponents = 'Badge' | 'Button' | 'DatePicker' | 'Dialog' | 'Icon' | 'Image' | 'POSBlock' | 'POSBlockRow' | 'Stack' | 'Text' | 'TimePicker';
|
|
1
|
+
export type BlockExtensionComponents = 'Badge' | 'Button' | 'DatePicker' | 'DateSpinner' | 'Dialog' | 'Heading' | 'Icon' | 'Image' | 'Modal' | 'POSBlock' | 'PosBlock' | 'POSBlockRow' | 'PrintPreview' | 'Section' | 'Stack' | 'Text' | 'TimePicker';
|
|
2
2
|
//# sourceMappingURL=BlockExtensionComponents.d.ts.map
|
package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockExtensionComponents.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,GAChC,OAAO,GACP,QAAQ,GACR,YAAY,GACZ,QAAQ,GACR,MAAM,GACN,OAAO,GACP,UAAU,GACV,aAAa,GACb,OAAO,GACP,MAAM,GACN,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"BlockExtensionComponents.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,GAChC,OAAO,GACP,QAAQ,GACR,YAAY,GACZ,aAAa,GACb,QAAQ,GACR,SAAS,GACT,MAAM,GACN,OAAO,GACP,OAAO,GACP,UAAU,GACV,UAAU,GACV,aAAa,GACb,cAAc,GACd,SAAS,GACT,OAAO,GACP,MAAM,GACN,YAAY,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type StandardComponents = 'Badge' | 'Banner' | 'Box' | 'Button' | 'CameraScanner' | 'Choice' | 'ChoiceList' | 'Clickable' | 'DateField' | 'DatePicker' | 'DateSpinner' | 'EmailField' | 'Heading' | 'Icon' | 'Image' | 'Modal' | 'NumberField' | 'Page' | 'POSBlock' | 'QRCode' | 'Route' | 'Router' | 'ScrollBox' | 'SearchField' | 'Section' | 'Stack' | 'Text' | 'TextArea' | 'TextField' | 'Tile' | 'TimeField' | 'TimePicker';
|
|
1
|
+
export type StandardComponents = 'Badge' | 'Banner' | 'Box' | 'Button' | 'CameraScanner' | 'Choice' | 'ChoiceList' | 'Clickable' | 'DateField' | 'DatePicker' | 'DateSpinner' | 'EmailField' | 'Heading' | 'Icon' | 'Image' | 'Modal' | 'NumberField' | 'Page' | 'POSBlock' | 'PosBlock' | 'QRCode' | 'Route' | 'Router' | 'ScrollBox' | 'SearchField' | 'Section' | 'Stack' | 'Text' | 'TextArea' | 'TextField' | 'Tile' | 'TimeField' | 'TimePicker';
|
|
2
2
|
export default StandardComponents;
|
|
3
3
|
//# sourceMappingURL=StandardComponents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardComponents.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/components/targets/StandardComponents.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAC1B,OAAO,GACP,QAAQ,GACR,KAAK,GACL,QAAQ,GACR,eAAe,GACf,QAAQ,GACR,YAAY,GACZ,WAAW,GACX,WAAW,GACX,YAAY,GACZ,aAAa,GACb,YAAY,GACZ,SAAS,GACT,MAAM,GACN,OAAO,GACP,OAAO,GACP,aAAa,GACb,MAAM,GACN,UAAU,GACV,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,WAAW,GACX,aAAa,GACb,SAAS,GACT,OAAO,GACP,MAAM,GACN,UAAU,GACV,WAAW,GACX,MAAM,GACN,WAAW,GACX,YAAY,CAAC;AAEjB,eAAe,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"StandardComponents.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/components/targets/StandardComponents.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAC1B,OAAO,GACP,QAAQ,GACR,KAAK,GACL,QAAQ,GACR,eAAe,GACf,QAAQ,GACR,YAAY,GACZ,WAAW,GACX,WAAW,GACX,YAAY,GACZ,aAAa,GACb,YAAY,GACZ,SAAS,GACT,MAAM,GACN,OAAO,GACP,OAAO,GACP,aAAa,GACb,MAAM,GACN,UAAU,GACV,UAAU,GACV,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,WAAW,GACX,aAAa,GACb,SAAS,GACT,OAAO,GACP,MAAM,GACN,UAAU,GACV,WAAW,GACX,MAAM,GACN,WAAW,GACX,YAAY,CAAC;AAEjB,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import "../components/Badge.d.ts";
|
|
2
2
|
import "../components/Button.d.ts";
|
|
3
3
|
import "../components/DatePicker.d.ts";
|
|
4
|
+
import "../components/DateSpinner.d.ts";
|
|
5
|
+
import "../components/Heading.d.ts";
|
|
4
6
|
import "../components/Icon.d.ts";
|
|
5
7
|
import "../components/Image.d.ts";
|
|
8
|
+
import "../components/Modal.d.ts";
|
|
9
|
+
import "../components/Section.d.ts";
|
|
6
10
|
import "../components/Stack.d.ts";
|
|
7
11
|
import "../components/Text.d.ts";
|
|
8
12
|
import "../components/TimePicker.d.ts";
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import "../components/Badge.d.ts";
|
|
2
2
|
import "../components/Button.d.ts";
|
|
3
3
|
import "../components/DatePicker.d.ts";
|
|
4
|
+
import "../components/DateSpinner.d.ts";
|
|
5
|
+
import "../components/Heading.d.ts";
|
|
4
6
|
import "../components/Icon.d.ts";
|
|
5
7
|
import "../components/Image.d.ts";
|
|
8
|
+
import "../components/Modal.d.ts";
|
|
9
|
+
import "../components/Section.d.ts";
|
|
6
10
|
import "../components/Stack.d.ts";
|
|
7
11
|
import "../components/Text.d.ts";
|
|
8
12
|
import "../components/TimePicker.d.ts";
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import "../components/Badge.d.ts";
|
|
2
2
|
import "../components/Button.d.ts";
|
|
3
3
|
import "../components/DatePicker.d.ts";
|
|
4
|
+
import "../components/DateSpinner.d.ts";
|
|
5
|
+
import "../components/Heading.d.ts";
|
|
4
6
|
import "../components/Icon.d.ts";
|
|
5
7
|
import "../components/Image.d.ts";
|
|
8
|
+
import "../components/Modal.d.ts";
|
|
9
|
+
import "../components/Section.d.ts";
|
|
6
10
|
import "../components/Stack.d.ts";
|
|
7
11
|
import "../components/Text.d.ts";
|
|
8
12
|
import "../components/TimePicker.d.ts";
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import "../components/Badge.d.ts";
|
|
2
2
|
import "../components/Button.d.ts";
|
|
3
3
|
import "../components/DatePicker.d.ts";
|
|
4
|
+
import "../components/DateSpinner.d.ts";
|
|
5
|
+
import "../components/Heading.d.ts";
|
|
4
6
|
import "../components/Icon.d.ts";
|
|
5
7
|
import "../components/Image.d.ts";
|
|
8
|
+
import "../components/Modal.d.ts";
|
|
9
|
+
import "../components/Section.d.ts";
|
|
6
10
|
import "../components/Stack.d.ts";
|
|
7
11
|
import "../components/Text.d.ts";
|
|
8
12
|
import "../components/TimePicker.d.ts";
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import "../components/Badge.d.ts";
|
|
2
2
|
import "../components/Button.d.ts";
|
|
3
3
|
import "../components/DatePicker.d.ts";
|
|
4
|
+
import "../components/DateSpinner.d.ts";
|
|
5
|
+
import "../components/Heading.d.ts";
|
|
4
6
|
import "../components/Icon.d.ts";
|
|
5
7
|
import "../components/Image.d.ts";
|
|
8
|
+
import "../components/Modal.d.ts";
|
|
9
|
+
import "../components/Section.d.ts";
|
|
6
10
|
import "../components/Stack.d.ts";
|
|
7
11
|
import "../components/Text.d.ts";
|
|
8
12
|
import "../components/TimePicker.d.ts";
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import "../components/Badge.d.ts";
|
|
2
2
|
import "../components/Button.d.ts";
|
|
3
3
|
import "../components/DatePicker.d.ts";
|
|
4
|
+
import "../components/DateSpinner.d.ts";
|
|
5
|
+
import "../components/Heading.d.ts";
|
|
4
6
|
import "../components/Icon.d.ts";
|
|
5
7
|
import "../components/Image.d.ts";
|
|
8
|
+
import "../components/Modal.d.ts";
|
|
9
|
+
import "../components/Section.d.ts";
|
|
6
10
|
import "../components/Stack.d.ts";
|
|
7
11
|
import "../components/Text.d.ts";
|
|
8
12
|
import "../components/TimePicker.d.ts";
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import "../components/Badge.d.ts";
|
|
2
2
|
import "../components/Button.d.ts";
|
|
3
3
|
import "../components/DatePicker.d.ts";
|
|
4
|
+
import "../components/DateSpinner.d.ts";
|
|
5
|
+
import "../components/Heading.d.ts";
|
|
4
6
|
import "../components/Icon.d.ts";
|
|
5
7
|
import "../components/Image.d.ts";
|
|
8
|
+
import "../components/Modal.d.ts";
|
|
9
|
+
import "../components/Section.d.ts";
|
|
6
10
|
import "../components/Stack.d.ts";
|
|
7
11
|
import "../components/Text.d.ts";
|
|
8
12
|
import "../components/TimePicker.d.ts";
|
|
@@ -19,6 +19,10 @@ export interface PinPadActionType {
|
|
|
19
19
|
onClick: () => Promise<number[]>;
|
|
20
20
|
}
|
|
21
21
|
export interface PinPadOptions {
|
|
22
|
+
/**
|
|
23
|
+
* The function to be called when a pin is entered
|
|
24
|
+
*/
|
|
25
|
+
onPinEntry?: (pin: number[]) => void;
|
|
22
26
|
/**
|
|
23
27
|
* The function to be called when the pin pad modal is dismissed
|
|
24
28
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pin-pad.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/pin-pad.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;CAChB;AAED;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEtD,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC;AAEnD,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;CAClC;AAED,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,WAAW,C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