@shopify/ui-extensions 2025.10.0-rc.39 → 2025.10.0-rc.40
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/customer-account/globals.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts +1 -2
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +49 -36
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api.d.ts +0 -1
- package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/globals.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/globals.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart-update.event.observe.d.ts +2 -1
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.menu-item.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-complete.event.observe.d.ts +2 -1
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-start.event.observe.d.ts +2 -1
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.menu-item.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.menu-item.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.menu-item.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.tile.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.menu-item.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.menu-item.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.menu-item.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-footer.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-header.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.menu-item.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.transaction-complete.event.observe.d.ts +2 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/surfaces/admin/components/Image/examples/default.html +1 -1
- package/src/surfaces/admin/components/Thumbnail/examples/default.html +2 -2
- package/src/surfaces/customer-account/globals.ts +2 -0
- package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +1 -3
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +53 -35
- package/src/surfaces/point-of-sale/api.ts +0 -5
- package/src/surfaces/point-of-sale/components/Badge/examples/default.html +5 -7
- package/src/surfaces/point-of-sale/components/DateField/examples/default.html +0 -2
- package/src/surfaces/point-of-sale/components/Tile/examples/default.html +1 -1
- package/src/surfaces/point-of-sale/globals.ts +6 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"globals.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/customer-account/globals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAE1D,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/customer-account/globals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAE1D,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;IAGb,MAAM,UAAU,EAAE,UAAU,CAAC;CAC9B"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ScannerApi } from '../scanner-api/scanner-api';
|
|
2
|
-
import { NavigationApi } from '../navigation-api/navigation-api';
|
|
3
2
|
import { StandardApi } from '../standard/standard-api';
|
|
4
3
|
export type ActionTargetApi<T> = {
|
|
5
4
|
[key: string]: any;
|
|
6
5
|
} & {
|
|
7
6
|
extensionPoint: T;
|
|
8
|
-
} & StandardApi<T> & ScannerApi
|
|
7
|
+
} & StandardApi<T> & ScannerApi;
|
|
9
8
|
//# sourceMappingURL=action-target-api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-target-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"action-target-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,4BAA4B,CAAC;AACtD,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,CAAC"}
|
|
@@ -1,41 +1,54 @@
|
|
|
1
|
-
export interface
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* @param params the parameters you want to pass to that screen.
|
|
7
|
-
*/
|
|
8
|
-
navigate(screenName: string, params?: any): Promise<void>;
|
|
9
|
-
/**
|
|
10
|
-
* Using `(uri: string | URL)` opens a POS Native screen modally.
|
|
11
|
-
* If the uri starts with `shopify:point-of-sale/` it will be treated as a POS Native screen. Otherwise it will try to navigate to an extension screen.
|
|
12
|
-
* Available POS Native screens:
|
|
13
|
-
* - `shopify:point-of-sale/products/{product_id}` to present product details.
|
|
14
|
-
* - `shopify:point-of-sale/products/{product_id}/variants/{variant_id}` to present product variant details.
|
|
15
|
-
* - `shopify:point-of-sale/customers/{customer_id}` to present customer details.
|
|
16
|
-
* - `shopify:point-of-sale/orders/{order_id}` to present order details.
|
|
17
|
-
* - `shopify:point-of-sale/draft_orders/{draft_order_id}` to present draft order details.
|
|
18
|
-
* - `shopify:point-of-sale/staff/{staff_id}` to present staff details.
|
|
19
|
-
* @param uri the uri of the POS Native screen to present modally.
|
|
20
|
-
* @returns A promise that resolves when the POS screen is presented, rejects when an error occurs.
|
|
21
|
-
* @example Open product variant details screen for product id 123 and variant id 456
|
|
22
|
-
* navigate('shopify:point-of-sale/products/123/variants/456');
|
|
23
|
-
*/
|
|
24
|
-
navigate(uri: string | URL): Promise<void>;
|
|
25
|
-
/** Pops the currently shown screen */
|
|
26
|
-
pop(): void;
|
|
27
|
-
/** Dismisses the extension. */
|
|
28
|
-
dismiss(): void;
|
|
29
|
-
/** Checks if the user has permission to navigate to the specified screen.
|
|
30
|
-
* @param uri the uri to check if the user has permission to navigate to.
|
|
31
|
-
* @returns false if the uri is a valid uri to navigate to a POS screen and the user does not have permission to navigate to the specified screen, true otherwise. The promise rejects if the user is not on the correct API version of POS extensions.
|
|
32
|
-
*/
|
|
33
|
-
canNavigate(uri: string | URL): Promise<boolean>;
|
|
1
|
+
export interface NavigationNavigateOptions {
|
|
2
|
+
/**
|
|
3
|
+
* Developer-defined information to be stored in the associated NavigationHistoryEntry once the navigation is complete, retrievable via getState().
|
|
4
|
+
*/
|
|
5
|
+
state?: unknown;
|
|
34
6
|
}
|
|
35
7
|
/**
|
|
36
|
-
*
|
|
8
|
+
* The NavigationHistoryEntry interface of the Navigation API represents a single navigation history entry.
|
|
37
9
|
*/
|
|
38
|
-
export interface
|
|
39
|
-
|
|
10
|
+
export interface NavigationHistoryEntry {
|
|
11
|
+
/** Returns the key of the history entry. This is a unique, UA-generated value that represents the history entry's slot in the entries list rather than the entry itself. */
|
|
12
|
+
key: string;
|
|
13
|
+
/**
|
|
14
|
+
* Returns the URL of this history entry.
|
|
15
|
+
*/
|
|
16
|
+
url: string | null;
|
|
17
|
+
/**
|
|
18
|
+
* Returns a clone of the available state associated with this history entry.
|
|
19
|
+
*/
|
|
20
|
+
getState(): unknown;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The NavigationCurrentEntryChangeEvent interface of the Navigation API is the event object for the currententrychange event, which fires when the Navigation.currentEntry has changed.
|
|
24
|
+
*/
|
|
25
|
+
export interface NavigationCurrentEntryChangeEvent {
|
|
26
|
+
/**
|
|
27
|
+
* Returns the NavigationHistoryEntry that was navigated from.
|
|
28
|
+
*/
|
|
29
|
+
from: NavigationHistoryEntry;
|
|
30
|
+
}
|
|
31
|
+
export interface Navigation {
|
|
32
|
+
/**
|
|
33
|
+
* The navigate() method navigates to a specific URL, updating any provided state in the history entries list.
|
|
34
|
+
*/
|
|
35
|
+
navigate: NavigateFunction;
|
|
36
|
+
/**
|
|
37
|
+
* The currentEntry read-only property of the Navigation interface returns a NavigationHistoryEntry object representing the location the user is currently navigated to right now.
|
|
38
|
+
*/
|
|
39
|
+
currentEntry: NavigationHistoryEntry;
|
|
40
|
+
/**
|
|
41
|
+
* The back() method of the Navigation interface navigates to the previous entry in the history list.
|
|
42
|
+
*/
|
|
43
|
+
back(): void;
|
|
44
|
+
addEventListener(type: 'currententrychange', cb: (event: NavigationCurrentEntryChangeEvent) => void): void;
|
|
45
|
+
removeEventListener(type: 'currententrychange', cb: (event: NavigationCurrentEntryChangeEvent) => void): void;
|
|
46
|
+
}
|
|
47
|
+
export interface NavigateFunction {
|
|
48
|
+
/**
|
|
49
|
+
* Navigates to a specific URL, updating any provided state in the history entries list.
|
|
50
|
+
* @param url The destination URL to navigate to.
|
|
51
|
+
*/
|
|
52
|
+
(url: string, options?: NavigationNavigateOptions): void;
|
|
40
53
|
}
|
|
41
54
|
//# sourceMappingURL=navigation-api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"navigation-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,4KAA4K;IAC5K,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB;;OAEG;IACH,QAAQ,IAAI,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD;;OAEG;IACH,IAAI,EAAE,sBAAsB,CAAC;CAC9B;AAED,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,QAAQ,EAAE,gBAAgB,CAAC;IAC3B;;OAEG;IACH,YAAY,EAAE,sBAAsB,CAAC;IACrC;;OAEG;IACH,IAAI,IAAI,IAAI,CAAC;IACb,gBAAgB,CACd,IAAI,EAAE,oBAAoB,EAC1B,EAAE,EAAE,CAAC,KAAK,EAAE,iCAAiC,KAAK,IAAI,GACrD,IAAI,CAAC;IACR,mBAAmB,CACjB,IAAI,EAAE,oBAAoB,EAC1B,EAAE,EAAE,CAAC,KAAK,EAAE,iCAAiC,KAAK,IAAI,GACrD,IAAI,CAAC;CACT;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,yBAAyB,GAAG,IAAI,CAAC;CAC1D"}
|
|
@@ -7,7 +7,6 @@ export type { ConnectivityStateSeverity, ConnectivityState, ConnectivityApiConte
|
|
|
7
7
|
export type { CustomerApi, CustomerApiContent, } from './api/customer-api/customer-api';
|
|
8
8
|
export type { DeviceApi, DeviceApiContent } from './api/device-api/device-api';
|
|
9
9
|
export type { LocaleApi, LocaleApiContent } from './api/locale-api/locale-api';
|
|
10
|
-
export type { NavigationApiContent, NavigationApi, } from './api/navigation-api/navigation-api';
|
|
11
10
|
export type { OrderApiContent, OrderApi } from './api/order-api/order-api';
|
|
12
11
|
export type { ProductApi, ProductApiContent, } from './api/product-api/product-api';
|
|
13
12
|
export type { DraftOrderApi, DraftOrderApiContent, } from './api/draft-order-api/draft-order-api';
|
|
@@ -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,
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":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/components/Section/Section.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"Section.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/components/Section/Section.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAkCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"globals.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/point-of-sale/globals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,qCAAqC,CAAC;AAE/D,OAAO,CAAC,MAAM,CAAC;IAEb,MAAM,UAAU,EAAE,UAAU,CAAC;CAC9B"}
|
package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ import "../components/TextField.d.ts";
|
|
|
26
26
|
import "../components/TimeField.d.ts";
|
|
27
27
|
import "../components/TimePicker.d.ts";
|
|
28
28
|
import type { ExtensionTargets } from '../extension-targets';
|
|
29
|
+
import '../globals';
|
|
29
30
|
|
|
30
31
|
type Target = ExtensionTargets['pos.cart.line-item-details.action.render'];
|
|
31
32
|
export type Api = Target['api'];
|
|
@@ -26,6 +26,7 @@ import "../components/TextField.d.ts";
|
|
|
26
26
|
import "../components/TimeField.d.ts";
|
|
27
27
|
import "../components/TimePicker.d.ts";
|
|
28
28
|
import type { ExtensionTargets } from '../extension-targets';
|
|
29
|
+
import '../globals';
|
|
29
30
|
|
|
30
31
|
type Target = ExtensionTargets['pos.customer-details.action.render'];
|
|
31
32
|
export type Api = Target['api'];
|
|
@@ -12,6 +12,7 @@ import "../components/Stack.d.ts";
|
|
|
12
12
|
import "../components/Text.d.ts";
|
|
13
13
|
import "../components/TimePicker.d.ts";
|
|
14
14
|
import type { ExtensionTargets } from '../extension-targets';
|
|
15
|
+
import '../globals';
|
|
15
16
|
|
|
16
17
|
type Target = ExtensionTargets['pos.customer-details.block.render'];
|
|
17
18
|
export type Api = Target['api'];
|
|
@@ -26,6 +26,7 @@ import "../components/TextField.d.ts";
|
|
|
26
26
|
import "../components/TimeField.d.ts";
|
|
27
27
|
import "../components/TimePicker.d.ts";
|
|
28
28
|
import type { ExtensionTargets } from '../extension-targets';
|
|
29
|
+
import '../globals';
|
|
29
30
|
|
|
30
31
|
type Target = ExtensionTargets['pos.draft-order-details.action.render'];
|
|
31
32
|
export type Api = Target['api'];
|
|
@@ -12,6 +12,7 @@ import "../components/Stack.d.ts";
|
|
|
12
12
|
import "../components/Text.d.ts";
|
|
13
13
|
import "../components/TimePicker.d.ts";
|
|
14
14
|
import type { ExtensionTargets } from '../extension-targets';
|
|
15
|
+
import '../globals';
|
|
15
16
|
|
|
16
17
|
type Target = ExtensionTargets['pos.draft-order-details.block.render'];
|
|
17
18
|
export type Api = Target['api'];
|
|
@@ -26,6 +26,7 @@ import "../components/TextField.d.ts";
|
|
|
26
26
|
import "../components/TimeField.d.ts";
|
|
27
27
|
import "../components/TimePicker.d.ts";
|
|
28
28
|
import type { ExtensionTargets } from '../extension-targets';
|
|
29
|
+
import '../globals';
|
|
29
30
|
|
|
30
31
|
type Target = ExtensionTargets['pos.exchange.post.action.render'];
|
|
31
32
|
export type Api = Target['api'];
|
|
@@ -12,6 +12,7 @@ import "../components/Stack.d.ts";
|
|
|
12
12
|
import "../components/Text.d.ts";
|
|
13
13
|
import "../components/TimePicker.d.ts";
|
|
14
14
|
import type { ExtensionTargets } from '../extension-targets';
|
|
15
|
+
import '../globals';
|
|
15
16
|
|
|
16
17
|
type Target = ExtensionTargets['pos.exchange.post.block.render'];
|
|
17
18
|
export type Api = Target['api'];
|
|
@@ -26,6 +26,7 @@ import "../components/TextField.d.ts";
|
|
|
26
26
|
import "../components/TimeField.d.ts";
|
|
27
27
|
import "../components/TimePicker.d.ts";
|
|
28
28
|
import type { ExtensionTargets } from '../extension-targets';
|
|
29
|
+
import '../globals';
|
|
29
30
|
|
|
30
31
|
type Target = ExtensionTargets['pos.home.modal.render'];
|
|
31
32
|
export type Api = Target['api'];
|
|
@@ -26,6 +26,7 @@ import "../components/TextField.d.ts";
|
|
|
26
26
|
import "../components/TimeField.d.ts";
|
|
27
27
|
import "../components/TimePicker.d.ts";
|
|
28
28
|
import type { ExtensionTargets } from '../extension-targets';
|
|
29
|
+
import '../globals';
|
|
29
30
|
|
|
30
31
|
type Target = ExtensionTargets['pos.order-details.action.render'];
|
|
31
32
|
export type Api = Target['api'];
|
|
@@ -12,6 +12,7 @@ import "../components/Stack.d.ts";
|
|
|
12
12
|
import "../components/Text.d.ts";
|
|
13
13
|
import "../components/TimePicker.d.ts";
|
|
14
14
|
import type { ExtensionTargets } from '../extension-targets';
|
|
15
|
+
import '../globals';
|
|
15
16
|
|
|
16
17
|
type Target = ExtensionTargets['pos.order-details.block.render'];
|
|
17
18
|
export type Api = Target['api'];
|
|
@@ -26,6 +26,7 @@ import "../components/TextField.d.ts";
|
|
|
26
26
|
import "../components/TimeField.d.ts";
|
|
27
27
|
import "../components/TimePicker.d.ts";
|
|
28
28
|
import type { ExtensionTargets } from '../extension-targets';
|
|
29
|
+
import '../globals';
|
|
29
30
|
|
|
30
31
|
type Target = ExtensionTargets['pos.product-details.action.render'];
|
|
31
32
|
export type Api = Target['api'];
|
|
@@ -12,6 +12,7 @@ import "../components/Stack.d.ts";
|
|
|
12
12
|
import "../components/Text.d.ts";
|
|
13
13
|
import "../components/TimePicker.d.ts";
|
|
14
14
|
import type { ExtensionTargets } from '../extension-targets';
|
|
15
|
+
import '../globals';
|
|
15
16
|
|
|
16
17
|
type Target = ExtensionTargets['pos.product-details.block.render'];
|
|
17
18
|
export type Api = Target['api'];
|
|
@@ -26,6 +26,7 @@ import "../components/TextField.d.ts";
|
|
|
26
26
|
import "../components/TimeField.d.ts";
|
|
27
27
|
import "../components/TimePicker.d.ts";
|
|
28
28
|
import type { ExtensionTargets } from '../extension-targets';
|
|
29
|
+
import '../globals';
|
|
29
30
|
|
|
30
31
|
type Target = ExtensionTargets['pos.purchase.post.action.render'];
|
|
31
32
|
export type Api = Target['api'];
|
|
@@ -12,6 +12,7 @@ import "../components/Stack.d.ts";
|
|
|
12
12
|
import "../components/Text.d.ts";
|
|
13
13
|
import "../components/TimePicker.d.ts";
|
|
14
14
|
import type { ExtensionTargets } from '../extension-targets';
|
|
15
|
+
import '../globals';
|
|
15
16
|
|
|
16
17
|
type Target = ExtensionTargets['pos.purchase.post.block.render'];
|
|
17
18
|
export type Api = Target['api'];
|
|
@@ -26,6 +26,7 @@ import "../components/TextField.d.ts";
|
|
|
26
26
|
import "../components/TimeField.d.ts";
|
|
27
27
|
import "../components/TimePicker.d.ts";
|
|
28
28
|
import type { ExtensionTargets } from '../extension-targets';
|
|
29
|
+
import '../globals';
|
|
29
30
|
|
|
30
31
|
type Target = ExtensionTargets['pos.return.post.action.render'];
|
|
31
32
|
export type Api = Target['api'];
|
|
@@ -12,6 +12,7 @@ import "../components/Stack.d.ts";
|
|
|
12
12
|
import "../components/Text.d.ts";
|
|
13
13
|
import "../components/TimePicker.d.ts";
|
|
14
14
|
import type { ExtensionTargets } from '../extension-targets';
|
|
15
|
+
import '../globals';
|
|
15
16
|
|
|
16
17
|
type Target = ExtensionTargets['pos.return.post.block.render'];
|
|
17
18
|
export type Api = Target['api'];
|