@shopify/ui-extensions 2023.4.2 → 2023.7.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/README.md +1 -1
- package/build/cjs/surfaces/admin/components/ResourceItem/ResourceItem.js +14 -0
- package/build/cjs/surfaces/admin/components/ResourceList/ResourceList.js +15 -0
- package/build/cjs/surfaces/admin/components/Thumbnail/Thumbnail.js +12 -0
- package/build/cjs/surfaces/admin.js +6 -0
- package/build/cjs/surfaces/checkout/extension.js +7 -28
- package/build/cjs/surfaces/checkout.js +0 -1
- package/build/esm/surfaces/admin/components/ResourceItem/ResourceItem.mjs +10 -0
- package/build/esm/surfaces/admin/components/ResourceList/ResourceList.mjs +11 -0
- package/build/esm/surfaces/admin/components/Thumbnail/Thumbnail.mjs +8 -0
- package/build/esm/surfaces/admin.mjs +3 -0
- package/build/esm/surfaces/checkout/extension.mjs +7 -27
- package/build/esm/surfaces/checkout.mjs +1 -1
- package/build/esnext/surfaces/admin/components/ResourceItem/ResourceItem.esnext +10 -0
- package/build/esnext/surfaces/admin/components/ResourceList/ResourceList.esnext +11 -0
- package/build/esnext/surfaces/admin/components/Thumbnail/Thumbnail.esnext +8 -0
- package/build/esnext/surfaces/admin.esnext +3 -0
- package/build/esnext/surfaces/checkout/extension.esnext +7 -27
- package/build/esnext/surfaces/checkout.esnext +1 -1
- package/build/ts/api.d.ts +0 -15
- package/build/ts/api.d.ts.map +1 -1
- package/build/ts/extension.d.ts +0 -3
- package/build/ts/extension.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/action/action.d.ts +5 -2
- package/build/ts/surfaces/admin/api/action/action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/block/block.d.ts +10 -0
- package/build/ts/surfaces/admin/api/block/block.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/block/block.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/block/block.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts +45 -0
- package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts +46 -0
- package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/shared.d.ts +9 -0
- package/build/ts/surfaces/admin/api/shared.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +18 -2
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api.d.ts +4 -1
- package/build/ts/surfaces/admin/api.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Checkbox/Checkbox.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Form/Form.d.ts +0 -10
- package/build/ts/surfaces/admin/components/Form/Form.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Form/Form.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/HeadingGroup/HeadingGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ResourceItem/ResourceItem.d.ts +17 -0
- package/build/ts/surfaces/admin/components/ResourceItem/ResourceItem.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ResourceList/ResourceList.d.ts +26 -0
- package/build/ts/surfaces/admin/components/ResourceList/ResourceList.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.d.ts +19 -0
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components.d.ts +6 -0
- package/build/ts/surfaces/admin/components.d.ts.map +1 -1
- package/build/ts/surfaces/admin/extension-targets.d.ts +10 -4
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +9 -0
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +67 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/{payment-method/render.d.ts → payment/payment-option-item.d.ts} +2 -2
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/pickup/{pickup-points.d.ts → pickup-location-list.d.ts} +3 -3
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/pickup/{pickup-locations.d.ts → pickup-point-list.d.ts} +3 -3
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/redeemable/{render.d.ts → redeemable.d.ts} +2 -2
- package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/shared.d.ts +91 -1
- package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/{shipping-method-details.d.ts → shipping-option-item.d.ts} +4 -4
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +171 -171
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api.d.ts +9 -9
- package/build/ts/surfaces/checkout/api.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/TextField/TextField.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/shared.d.ts +11 -2
- package/build/ts/surfaces/checkout/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/extension.d.ts +7 -28
- package/build/ts/surfaces/checkout/extension.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/globals.d.ts +2 -2
- package/build/ts/surfaces/checkout/globals.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets.d.ts +411 -0
- package/build/ts/surfaces/checkout/targets.d.ts.map +1 -0
- package/build/ts/surfaces/checkout.d.ts +1 -1
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +9 -0
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +1212 -0
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/api/shared.d.ts +126 -0
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/api.d.ts +4 -0
- package/build/ts/surfaces/customer-account/api.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/extension.d.ts +16 -0
- package/build/ts/surfaces/customer-account/extension.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/globals.d.ts +11 -0
- package/build/ts/surfaces/customer-account/globals.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/targets.d.ts +78 -0
- package/build/ts/surfaces/customer-account/targets.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account.d.ts +8 -0
- package/build/ts/surfaces/customer-account.d.ts.map +1 -0
- package/build/ts/utilities/registration.d.ts +5 -5
- package/build/ts/utilities/registration.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +17 -8
- package/src/api.ts +0 -18
- package/src/extension.ts +0 -4
- package/src/surfaces/admin/api/action/action.ts +6 -4
- package/src/surfaces/admin/api/block/block.doc.ts +20 -0
- package/src/surfaces/admin/api/block/block.ts +11 -0
- package/src/surfaces/admin/api/product-configuration/product-details-configuration.ts +49 -0
- package/src/surfaces/admin/api/product-configuration/product-variant-details-configuration.ts +50 -0
- package/src/surfaces/admin/api/shared.ts +6 -0
- package/src/surfaces/admin/api/standard/standard.ts +20 -8
- package/src/surfaces/admin/api.ts +4 -1
- package/src/surfaces/admin/components/Checkbox/Checkbox.doc.ts +1 -7
- package/src/surfaces/admin/components/Form/Form.doc.ts +0 -5
- package/src/surfaces/admin/components/Form/Form.ts +0 -12
- package/src/surfaces/admin/components/HeadingGroup/HeadingGroup.doc.ts +0 -7
- package/src/surfaces/admin/components/ResourceItem/ResourceItem.ts +19 -0
- package/src/surfaces/admin/components/ResourceItem/examples/basic-ResourceItem.example.ts +22 -0
- package/src/surfaces/admin/components/ResourceList/ResourceList.ts +30 -0
- package/src/surfaces/admin/components/ResourceList/examples/basic-ResourceList.example.ts +29 -0
- package/src/surfaces/admin/components/Select/Select.doc.ts +1 -7
- package/src/surfaces/admin/components/Thumbnail/Thumbnail.ts +31 -0
- package/src/surfaces/admin/components/Thumbnail/examples/basic-Thumbnail.example.ts +13 -0
- package/src/surfaces/admin/components.ts +6 -0
- package/src/surfaces/admin/extension-targets.ts +38 -3
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +10 -0
- package/src/surfaces/checkout/api/checkout/checkout.ts +83 -1
- package/src/surfaces/checkout/api/{payment-method/render.ts → payment/payment-option-item.ts} +1 -1
- package/src/surfaces/checkout/api/pickup/{pickup-points.ts → pickup-location-list.ts} +2 -2
- package/src/surfaces/checkout/api/pickup/{pickup-locations.ts → pickup-point-list.ts} +2 -2
- package/src/surfaces/checkout/api/redeemable/{render.ts → redeemable.ts} +1 -1
- package/src/surfaces/checkout/api/shared.ts +103 -0
- package/src/surfaces/checkout/api/shipping/{shipping-method-details.ts → shipping-option-item.ts} +3 -3
- package/src/surfaces/checkout/api/standard/README.md +12 -10
- package/src/surfaces/checkout/api/standard/standard.ts +180 -187
- package/src/surfaces/checkout/api.ts +18 -10
- package/src/surfaces/checkout/components/Banner/examples/basic-banner.example.ts +1 -1
- package/src/surfaces/checkout/components/BlockLayout/examples/basic-blockLayout.example.ts +1 -1
- package/src/surfaces/checkout/components/BlockLayout/examples/basic-blocklayout.example.ts +1 -1
- package/src/surfaces/checkout/components/BlockSpacer/examples/basic-blockspacer.example.ts +1 -1
- package/src/surfaces/checkout/components/BlockStack/examples/basic-blockstack.example.ts +1 -1
- package/src/surfaces/checkout/components/Button/examples/basic-button.example.ts +1 -1
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.ts +1 -1
- package/src/surfaces/checkout/components/Choice/examples/basic-choice.example.ts +1 -1
- package/src/surfaces/checkout/components/ChoiceList/examples/basic-choicelist.example.ts +1 -1
- package/src/surfaces/checkout/components/DateField/examples/basic-datefield.example.ts +1 -1
- package/src/surfaces/checkout/components/DatePicker/examples/basic-datepicker.example.ts +1 -1
- package/src/surfaces/checkout/components/Disclosure/examples/basic-disclosure.example.ts +1 -1
- package/src/surfaces/checkout/components/Divider/examples/basic-divider.example.ts +1 -1
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.ts +1 -1
- package/src/surfaces/checkout/components/Grid/examples/basic-grid.example.ts +1 -1
- package/src/surfaces/checkout/components/GridItem/examples/basic-griditem.example.ts +1 -1
- package/src/surfaces/checkout/components/Heading/examples/basic-heading.example.ts +1 -1
- package/src/surfaces/checkout/components/HeadingGroup/examples/basic-headinggroup.example.ts +1 -1
- package/src/surfaces/checkout/components/Icon/examples/basic-icon.example.ts +1 -1
- package/src/surfaces/checkout/components/Image/examples/basic-image.example.ts +1 -1
- package/src/surfaces/checkout/components/InlineLayout/examples/basic-inlineLayout.example.ts +1 -1
- package/src/surfaces/checkout/components/InlineLayout/examples/basic-inlinelayout.example.ts +1 -1
- package/src/surfaces/checkout/components/InlineSpacer/examples/basic-inlinespacer.example.ts +1 -1
- package/src/surfaces/checkout/components/InlineStack/examples/basic-inlinestack.example.ts +1 -1
- package/src/surfaces/checkout/components/Link/examples/basic-link.example.ts +1 -1
- package/src/surfaces/checkout/components/List/examples/basic-list.example.ts +1 -1
- package/src/surfaces/checkout/components/ListItem/examples/basic-listitem.example.ts +1 -1
- package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.ts +1 -1
- package/src/surfaces/checkout/components/PhoneField/PhoneField.ts +1 -1
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.ts +1 -1
- package/src/surfaces/checkout/components/Popover/examples/basic-popover.example.ts +1 -1
- package/src/surfaces/checkout/components/Pressable/examples/basic-pressable.example.ts +1 -1
- package/src/surfaces/checkout/components/ScrollView/examples/basic-scrollview.example.ts +1 -1
- package/src/surfaces/checkout/components/Select/examples/basic-select.example.ts +1 -1
- package/src/surfaces/checkout/components/SkeletonImage/examples/basic-skeletonimage.example.ts +1 -1
- package/src/surfaces/checkout/components/SkeletonText/examples/basic-skeletontext.example.ts +1 -1
- package/src/surfaces/checkout/components/SkeletonTextBlock/examples/basic-skeletontextblock.example.ts +1 -1
- package/src/surfaces/checkout/components/Spinner/examples/basic-spinner.example.ts +1 -1
- package/src/surfaces/checkout/components/Stepper/examples/basic-stepper.example.ts +1 -1
- package/src/surfaces/checkout/components/Tag/examples/basic-tag.example.ts +1 -1
- package/src/surfaces/checkout/components/Text/examples/basic-text.example.ts +1 -1
- package/src/surfaces/checkout/components/TextBlock/examples/basic-textblock.example.ts +1 -1
- package/src/surfaces/checkout/components/TextField/TextField.ts +1 -1
- package/src/surfaces/checkout/components/TextField/examples/basic-textfield.example.ts +1 -1
- package/src/surfaces/checkout/components/Tooltip/examples/basic-tooltip.example.ts +1 -1
- package/src/surfaces/checkout/components/View/examples/basic-view.example.ts +1 -1
- package/src/surfaces/checkout/components/shared.ts +22 -5
- package/src/surfaces/checkout/extension.ts +10 -56
- package/src/surfaces/checkout/globals.ts +7 -4
- package/src/surfaces/checkout/style/examples/style.example.ts +1 -1
- package/src/surfaces/checkout/style/examples/style.example.tsx +8 -2
- package/src/surfaces/checkout/targets.ts +701 -0
- package/src/surfaces/checkout.ts +1 -1
- package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +10 -0
- package/src/surfaces/customer-account/api/order-status/order-status.ts +1414 -0
- package/src/surfaces/customer-account/api/shared.ts +953 -0
- package/src/surfaces/customer-account/api.ts +66 -0
- package/src/surfaces/customer-account/extension.ts +21 -0
- package/src/surfaces/customer-account/globals.ts +18 -0
- package/src/surfaces/customer-account/targets.ts +116 -0
- package/src/surfaces/customer-account.ts +8 -0
- package/src/utilities/registration.ts +13 -12
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-details.d.ts +0 -9
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-details.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/api/payment-method/render.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-locations.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-points.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/api/redeemable/render.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-method-details.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/extension-points.d.ts +0 -220
- package/build/ts/surfaces/checkout/extension-points.d.ts.map +0 -1
- package/src/surfaces/checkout/api/cart-line/cart-line-details.ts +0 -10
- package/src/surfaces/checkout/components/Banner/README.md +0 -14
- package/src/surfaces/checkout/components/BlockLayout/README.md +0 -101
- package/src/surfaces/checkout/components/BlockSpacer/README.md +0 -14
- package/src/surfaces/checkout/components/BlockStack/README.md +0 -77
- package/src/surfaces/checkout/components/Button/README.md +0 -22
- package/src/surfaces/checkout/components/Checkbox/README.md +0 -18
- package/src/surfaces/checkout/components/Choice/README.md +0 -14
- package/src/surfaces/checkout/components/ChoiceList/README.md +0 -14
- package/src/surfaces/checkout/components/Divider/README.md +0 -13
- package/src/surfaces/checkout/components/Form/README.md +0 -21
- package/src/surfaces/checkout/components/Grid/README.md +0 -105
- package/src/surfaces/checkout/components/GridItem/README.md +0 -72
- package/src/surfaces/checkout/components/Heading/README.md +0 -19
- package/src/surfaces/checkout/components/HeadingGroup/README.md +0 -7
- package/src/surfaces/checkout/components/Icon/README.md +0 -15
- package/src/surfaces/checkout/components/Image/README.md +0 -53
- package/src/surfaces/checkout/components/InlineLayout/README.md +0 -103
- package/src/surfaces/checkout/components/InlineSpacer/README.md +0 -14
- package/src/surfaces/checkout/components/InlineStack/README.md +0 -87
- package/src/surfaces/checkout/components/Link/README.md +0 -18
- package/src/surfaces/checkout/components/List/README.md +0 -19
- package/src/surfaces/checkout/components/ListItem/README.md +0 -5
- package/src/surfaces/checkout/components/PhoneField/README.md +0 -49
- package/src/surfaces/checkout/components/Pressable/README.md +0 -74
- package/src/surfaces/checkout/components/ScrollView/README.md +0 -62
- package/src/surfaces/checkout/components/Select/README.md +0 -41
- package/src/surfaces/checkout/components/SkeletonImage/README.md +0 -13
- package/src/surfaces/checkout/components/SkeletonText/README.md +0 -13
- package/src/surfaces/checkout/components/SkeletonTextBlock/README.md +0 -13
- package/src/surfaces/checkout/components/Spinner/README.md +0 -14
- package/src/surfaces/checkout/components/Stepper/README.md +0 -28
- package/src/surfaces/checkout/components/Tag/README.md +0 -14
- package/src/surfaces/checkout/components/Text/README.md +0 -17
- package/src/surfaces/checkout/components/TextBlock/README.md +0 -15
- package/src/surfaces/checkout/components/TextField/README.md +0 -49
- package/src/surfaces/checkout/components/Tooltip/README.md +0 -8
- package/src/surfaces/checkout/components/View/README.md +0 -97
- package/src/surfaces/checkout/extension-points.ts +0 -369
|
@@ -154,7 +154,7 @@ export interface TextFieldProps<T extends string | number | undefined> {
|
|
|
154
154
|
onChange?(value: T): void;
|
|
155
155
|
/**
|
|
156
156
|
* Callback when the user makes any changes in the field. As noted in the documentation
|
|
157
|
-
* for `onChange`, you
|
|
157
|
+
* for `onChange`, you must not use this to update `state` — use the `onChange`
|
|
158
158
|
* callback for that purpose. Use the `onInput` prop when you need to do something
|
|
159
159
|
* as soon as the buyer makes a change, like clearing validation errors that apply to
|
|
160
160
|
* the field as soon as the user begins making the necessary adjustments.
|
|
@@ -187,7 +187,7 @@ export interface SpacingProps {
|
|
|
187
187
|
*
|
|
188
188
|
* - [`base`, `none`] means blockStart and blockEnd paddings are `base`, inlineStart and inlineEnd paddings are `none`
|
|
189
189
|
*
|
|
190
|
-
* - [`base`, `none`, `
|
|
190
|
+
* - [`base`, `none`, `large200`, `small200`] means blockStart padding is `base`, inlineEnd padding is `none`, blockEnd padding is `large200` and blockStart padding is `small200`
|
|
191
191
|
*/
|
|
192
192
|
padding?: MaybeResponsiveConditionalStyle<MaybeShorthandProperty<Spacing>>;
|
|
193
193
|
}
|
|
@@ -308,7 +308,16 @@ export type Status =
|
|
|
308
308
|
*/
|
|
309
309
|
| 'critical';
|
|
310
310
|
export type Size = 'extraSmall' | 'small' | 'base' | 'large' | 'extraLarge' | 'fill';
|
|
311
|
-
export type Spacing = 'none' | 'base' | '
|
|
311
|
+
export type Spacing = 'none' | 'small500' | 'small400' | 'small300' | 'small200' | 'small100' | 'base' | 'large100' | 'large200' | 'large300' | 'large400' | 'large500' | SpacingDeprecated;
|
|
312
|
+
/** @deprecated These values are deprecated and will eventually be removed.
|
|
313
|
+
* Use the new values.
|
|
314
|
+
*
|
|
315
|
+
* `extraTight`: `small400`
|
|
316
|
+
* `tight`: `small200`
|
|
317
|
+
* `loose`: `large200`
|
|
318
|
+
* `extraLoose`: `large500`
|
|
319
|
+
*/
|
|
320
|
+
export type SpacingDeprecated = 'extraTight' | 'tight' | 'loose' | 'extraLoose';
|
|
312
321
|
export type Alignment = 'start' | 'center' | 'end';
|
|
313
322
|
export type InlineAlignment = 'start' | 'center' | 'end';
|
|
314
323
|
export type BlockAlignment = Alignment | 'baseline';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/checkout/components/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAC,qBAAqB,EAAE,+BAA+B,EAAC,MAAM,UAAU,CAAC;AAEhF;;;;;;GAMG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,iBAAiB,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MAAM;AAChB;;;GAGG;AACD,MAAM;AACR;;;;GAIG;GACD,SAAS;AACX;;;;GAIG;GACD,SAAS;AACX;;;;;GAKG;GACD,UAAU,CAAC;AAEf,MAAM,MAAM,IAAI,GACZ,YAAY,GACZ,OAAO,GACP,MAAM,GACN,OAAO,GACP,YAAY,GACZ,MAAM,CAAC;AAEX,MAAM,MAAM,OAAO,GACf,MAAM,GACN,MAAM,GACN,YAAY,
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/checkout/components/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAC,qBAAqB,EAAE,+BAA+B,EAAC,MAAM,UAAU,CAAC;AAEhF;;;;;;GAMG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B;;OAEG;IACH,KAAK,EAAE,iBAAiB,CAAC;CAC1B;AAED,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;AAEpE,MAAM,MAAM,iBAAiB,GACzB,MAAM,GACN,kBAAkB,GAClB,YAAY,GACZ,iBAAiB,GACjB,aAAa,GACb,kBAAkB,GAClB,UAAU,GACV,UAAU,GACV,cAAc,GACd,kBAAkB,GAClB,eAAe,GACf,oBAAoB,GACpB,cAAc,GACd,gBAAgB,GAChB,eAAe,GACf,eAAe,GACf,eAAe,GACf,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,SAAS,GACT,cAAc,GACd,aAAa,GACb,kBAAkB,GAClB,wBAAwB,GACxB,6BAA6B,GAC7B,yBAAyB,GACzB,oBAAoB,GACpB,oBAAoB,GACpB,0BAA0B,GAC1B,yBAAyB,GACzB,2BAA2B,GAC3B,kBAAkB,GAClB,sBAAsB,GACtB,oBAAoB,GACpB,UAAU,GACV,UAAU,GACV,cAAc,GAC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declare const extension: import("../../utilities/registration").ExtensionRegistrationFunctionWithRoot<ExtensionTargets>;
|
|
3
4
|
/**
|
|
4
|
-
* Registers your UI Extension to run for the selected extension
|
|
5
|
+
* Registers your UI Extension to run for the selected extension target.
|
|
5
6
|
*
|
|
6
|
-
* @param target The extension
|
|
7
|
+
* @param target The extension target you are registering for.
|
|
7
8
|
*
|
|
8
9
|
* @param implementation The function that will be called when Checkout begins rendering
|
|
9
10
|
* your extension. This function is called with the API checkout provided to your
|
|
10
11
|
* extension.
|
|
11
|
-
*/
|
|
12
|
-
export declare const extension: ExtensionRegistrationFunction<ExtensionPoints>;
|
|
13
|
-
/**
|
|
14
|
-
* Registers your UI Extension to run for the selected extension point.
|
|
15
12
|
*
|
|
16
|
-
* @
|
|
17
|
-
*
|
|
18
|
-
* @param implementation The function that will be called when Checkout begins rendering
|
|
19
|
-
* your extension. This function is called with the API checkout provided to your
|
|
20
|
-
* extension.
|
|
21
|
-
*/
|
|
22
|
-
export declare const extend: ExtensionRegistrationFunction<ExtensionPoints>;
|
|
23
|
-
export interface RenderExtension<Api, AllowedComponents extends RemoteComponentType<string, any, any> = RemoteComponentType<any, any, any>> {
|
|
24
|
-
(root: RemoteRoot<AllowedComponents, AllowedComponents>, api: Api): void | Promise<void>;
|
|
25
|
-
}
|
|
26
|
-
export interface ExtensionRegistrationFunction<ExtensionPoints> {
|
|
27
|
-
<Target extends keyof ExtensionPoints>(target: Target, implementation: ExtensionPoints[Target]): ExtensionPoints[Target];
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* This function takes an extension function that is expecting a `RemoteRoot` as its
|
|
31
|
-
* first argument, and returns a new function that accepts a `RemoteChannel` instead.
|
|
32
|
-
* This is a convenience that allows the raw UI extension API to only expose the simpler
|
|
33
|
-
* `RemoteChannel` type, while allowing the extension to use the more powerful `RemoteRoot`,
|
|
34
|
-
* provided by a version of `@remote-ui/core` that the extension controls.
|
|
13
|
+
* @deprecated This is deprecated, use `extension` instead.
|
|
35
14
|
*/
|
|
36
|
-
export declare
|
|
15
|
+
export declare const extend: import("../../utilities/registration").ExtensionRegistrationFunctionWithRoot<ExtensionTargets>;
|
|
37
16
|
//# sourceMappingURL=extension.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/checkout/extension.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/checkout/extension.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,WAAW,CAAC;AAEhD,cAAc,iBAAiB,CAAC;AAEhC,eAAO,MAAM,SAAS,gGACmC,CAAC;AAE1D;;;;;;;;;;GAUG;AACH,eAAO,MAAM,MAAM,gGAAY,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ExtensionTargets } from './targets';
|
|
2
2
|
export interface ShopifyGlobal {
|
|
3
|
-
extend<
|
|
3
|
+
extend<ExtensionTarget extends keyof ExtensionTargets>(target: ExtensionTarget, extend: ExtensionTargets[ExtensionTarget]): void;
|
|
4
4
|
reload(): void;
|
|
5
5
|
}
|
|
6
6
|
declare global {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"globals.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/checkout/globals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"globals.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/checkout/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;IACb,UAAU,iBAAiB;QAIzB,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;KACpC;CACF"}
|
|
@@ -0,0 +1,411 @@
|
|
|
1
|
+
import type { RenderExtension } from './extension';
|
|
2
|
+
import type { CartLineItemApi, PaymentOptionItemApi, PickupLocationListApi, RedeemableApi, ShippingOptionItemApi, PickupPointListApi, StandardApi, CheckoutApi, OrderStatusApi } from './api';
|
|
3
|
+
import type { AnyComponent } from './shared';
|
|
4
|
+
/**
|
|
5
|
+
* A UI extension will register for one or more extension targets using `shopify.extend()`.
|
|
6
|
+
* An extension target in a UI extension is a plain JavaScript function.
|
|
7
|
+
* This function receives some API for interacting with the application,
|
|
8
|
+
* and is expected to return a value in a specific shape.
|
|
9
|
+
* The input arguments and the output type are different
|
|
10
|
+
* for each extension target.
|
|
11
|
+
*/
|
|
12
|
+
export interface ExtensionTargets {
|
|
13
|
+
/**
|
|
14
|
+
* A static extension target that is rendered immediately before any actions within each step.
|
|
15
|
+
*/
|
|
16
|
+
'purchase.checkout.actions.render-before': RenderExtension<CheckoutApi & StandardApi<'purchase.checkout.actions.render-before'>, AnyComponent>;
|
|
17
|
+
/**
|
|
18
|
+
* A static extension target that is rendered immediately before any actions within each step.
|
|
19
|
+
*
|
|
20
|
+
* @deprecated Use `purchase.checkout.actions.render-before` instead.
|
|
21
|
+
*/
|
|
22
|
+
'Checkout::Actions::RenderBefore': RenderExtension<CheckoutApi & StandardApi<'Checkout::Actions::RenderBefore'>, AnyComponent>;
|
|
23
|
+
/**
|
|
24
|
+
* A static extension target that is rendered after all line items.
|
|
25
|
+
*/
|
|
26
|
+
'purchase.checkout.cart-line-list.render-after': RenderExtension<CheckoutApi & StandardApi<'purchase.checkout.cart-line-list.render-after'>, AnyComponent>;
|
|
27
|
+
/**
|
|
28
|
+
* A static extension target that is rendered after all line items.
|
|
29
|
+
*
|
|
30
|
+
* @deprecated Use `purchase.checkout.cart-line-list.render-after` instead.
|
|
31
|
+
*/
|
|
32
|
+
'Checkout::CartLines::RenderAfter': RenderExtension<CheckoutApi & StandardApi<'Checkout::CartLines::RenderAfter'> & OrderStatusApi, AnyComponent>;
|
|
33
|
+
/**
|
|
34
|
+
* A static extension target that renders on every line item, inside the details
|
|
35
|
+
* under the line item properties element.
|
|
36
|
+
*/
|
|
37
|
+
'purchase.checkout.cart-line-item.render-after': RenderExtension<CheckoutApi & CartLineItemApi & StandardApi<'purchase.checkout.cart-line-item.render-after'>, AnyComponent>;
|
|
38
|
+
/**
|
|
39
|
+
* A static extension target that renders on every line item, inside the details
|
|
40
|
+
* under the line item properties element.
|
|
41
|
+
*
|
|
42
|
+
* @deprecated Use `purchase.checkout.cart-line-item.render-after` instead.
|
|
43
|
+
*/
|
|
44
|
+
'Checkout::CartLineDetails::RenderAfter': RenderExtension<CheckoutApi & CartLineItemApi & StandardApi<'Checkout::CartLineDetails::RenderAfter'> & OrderStatusApi, AnyComponent>;
|
|
45
|
+
/**
|
|
46
|
+
* A static extension target that renders on every line item, inside the details
|
|
47
|
+
* under the line item properties element. It replaces the default component rendering.
|
|
48
|
+
*/
|
|
49
|
+
'purchase.cart-line-item.line-components.render': RenderExtension<CartLineItemApi & StandardApi<'purchase.cart-line-item.line-components.render'>, AnyComponent>;
|
|
50
|
+
/**
|
|
51
|
+
* A static extension target that renders on every line item, inside the details
|
|
52
|
+
* under the line item properties element. It replaces the default component rendering.
|
|
53
|
+
*
|
|
54
|
+
* @deprecated Use `purchase.cart-line-item.line-components.render` instead.
|
|
55
|
+
*/
|
|
56
|
+
'Checkout::CartLineDetails::RenderLineComponents': RenderExtension<CartLineItemApi & StandardApi<'Checkout::CartLineDetails::RenderLineComponents'>, AnyComponent>;
|
|
57
|
+
/**
|
|
58
|
+
* A static extension target that is rendered immediately after the contact form element.
|
|
59
|
+
*/
|
|
60
|
+
'purchase.checkout.contact.render-after': RenderExtension<CheckoutApi & StandardApi<'purchase.checkout.contact.render-after'>, AnyComponent>;
|
|
61
|
+
/**
|
|
62
|
+
* A static extension target that is rendered immediately after the contact form element.
|
|
63
|
+
*
|
|
64
|
+
* @deprecated Use `purchase.checkout.contact.render-after` instead.
|
|
65
|
+
*/
|
|
66
|
+
'Checkout::Contact::RenderAfter': RenderExtension<CheckoutApi & StandardApi<'Checkout::Contact::RenderAfter'>, AnyComponent>;
|
|
67
|
+
/**
|
|
68
|
+
* A static extension target that is rendered after a purchase below the customer information.
|
|
69
|
+
*
|
|
70
|
+
* @deprecated Use `purchase.thank-you.customer-information.render-after` or
|
|
71
|
+
* `customer-account.order-status.customer-information.render-after` instead.
|
|
72
|
+
*/
|
|
73
|
+
'Checkout::CustomerInformation::RenderAfter': RenderExtension<OrderStatusApi & CheckoutApi & StandardApi<'Checkout::CustomerInformation::RenderAfter'>, AnyComponent>;
|
|
74
|
+
/**
|
|
75
|
+
* A static extension target that is rendered between the shipping address header
|
|
76
|
+
* and shipping address form elements.
|
|
77
|
+
*/
|
|
78
|
+
'purchase.checkout.delivery-address.render-before': RenderExtension<CheckoutApi & StandardApi<'purchase.checkout.delivery-address.render-before'>, AnyComponent>;
|
|
79
|
+
/**
|
|
80
|
+
* A static extension target that is rendered between the shipping address header
|
|
81
|
+
* and shipping address form elements.
|
|
82
|
+
*
|
|
83
|
+
* @deprecated Use `purchase.checkout.delivery-address.render-before` instead.
|
|
84
|
+
*/
|
|
85
|
+
'Checkout::DeliveryAddress::RenderBefore': RenderExtension<CheckoutApi & StandardApi<'Checkout::DeliveryAddress::RenderBefore'>, AnyComponent>;
|
|
86
|
+
/**
|
|
87
|
+
* A [dynamic extension target](https://shopify.dev/docs/api/checkout-ui-extensions/extension-targets-overview#dynamic-extension-targets) that isn't tied to a specific checkout section or feature.
|
|
88
|
+
* Unlike static extension targets, dynamic extension targets render where the merchant
|
|
89
|
+
* sets them using the [checkout editor](https://shopify.dev/apps/checkout/test-ui-extensions#test-the-extension-in-the-checkout-editor).
|
|
90
|
+
*
|
|
91
|
+
* The [supported locations](https://shopify.dev/docs/api/checkout-ui-extensions/extension-targets-overview#supported-locations) for dynamic extension targets can be previewed during development
|
|
92
|
+
* by [using a URL parameter](https://shopify.dev/docs/apps/checkout/best-practices/testing-ui-extensions#dynamic-extension-targets).
|
|
93
|
+
*/
|
|
94
|
+
'purchase.checkout.block.render': RenderExtension<CheckoutApi & StandardApi<'purchase.checkout.block.render'>, AnyComponent>;
|
|
95
|
+
/**
|
|
96
|
+
* A [dynamic extension target](https://shopify.dev/docs/api/checkout-ui-extensions/extension-targets-overview#dynamic-extension-targets) that isn't tied to a specific checkout section or feature.
|
|
97
|
+
* Unlike static extension targets, dynamic extension targets render where the merchant
|
|
98
|
+
* sets them using the [checkout editor](https://shopify.dev/apps/checkout/test-ui-extensions#test-the-extension-in-the-checkout-editor).
|
|
99
|
+
*
|
|
100
|
+
* The [supported locations](https://shopify.dev/docs/api/checkout-ui-extensions/extension-targets-overview#supported-locations) for dynamic extension targets can be previewed during development
|
|
101
|
+
* by [using a URL parameter](https://shopify.dev/docs/apps/checkout/best-practices/testing-ui-extensions#dynamic-extension-targets).
|
|
102
|
+
*
|
|
103
|
+
* @deprecated Use `purchase.checkout.block.render` instead.
|
|
104
|
+
*/
|
|
105
|
+
'Checkout::Dynamic::Render': RenderExtension<CheckoutApi & OrderStatusApi & StandardApi<'Checkout::Dynamic::Render'>, AnyComponent>;
|
|
106
|
+
/**
|
|
107
|
+
* A [dynamic extension target](https://shopify.dev/docs/api/checkout-ui-extensions/extension-targets-overview#dynamic-extension-targets) that renders exclusively on the Thank You Page.
|
|
108
|
+
* Unlike static extension targets, dynamic extension targets render where the merchant
|
|
109
|
+
* sets them using the [checkout editor](https://shopify.dev/apps/checkout/test-ui-extensions#test-the-extension-in-the-checkout-editor).
|
|
110
|
+
*
|
|
111
|
+
* The [supported locations](https://shopify.dev/docs/api/checkout-ui-extensions/extension-targets-overview#supported-locations) for dynamic extension targets can be previewed during development
|
|
112
|
+
* by [using a URL parameter](https://shopify.dev/docs/apps/checkout/best-practices/testing-ui-extensions#dynamic-extension-targets).
|
|
113
|
+
*
|
|
114
|
+
*/
|
|
115
|
+
'purchase.thank-you.block.render': RenderExtension<StandardApi<'purchase.thank-you.block.render'>, AnyComponent>;
|
|
116
|
+
/**
|
|
117
|
+
* A [dynamic extension target](https://shopify.dev/docs/api/checkout-ui-extensions/extension-targets-overview#dynamic-extension-targets) that renders exclusively on the Thank You Page.
|
|
118
|
+
* Unlike static extension targets, dynamic extension targets render where the merchant
|
|
119
|
+
* sets them using the [checkout editor](https://shopify.dev/apps/checkout/test-ui-extensions#test-the-extension-in-the-checkout-editor).
|
|
120
|
+
*
|
|
121
|
+
* The [supported locations](https://shopify.dev/docs/api/checkout-ui-extensions/extension-targets-overview#supported-locations) for dynamic extension targets can be previewed during development
|
|
122
|
+
* by [using a URL parameter](https://shopify.dev/docs/apps/checkout/best-practices/testing-ui-extensions#dynamic-extension-targets).
|
|
123
|
+
*
|
|
124
|
+
* @deprecated Use `purchase.thank-you.block.render` instead.
|
|
125
|
+
*/
|
|
126
|
+
'Checkout::ThankYou::Dynamic::Render': RenderExtension<StandardApi<'Checkout::ThankYou::Dynamic::Render'>, AnyComponent>;
|
|
127
|
+
/**
|
|
128
|
+
* A static extension target that renders on every line item, inside the details
|
|
129
|
+
* under the line item properties element on the Thank You Page.
|
|
130
|
+
*/
|
|
131
|
+
'purchase.thank-you.cart-line-item.render-after': RenderExtension<CartLineItemApi & StandardApi<'purchase.thank-you.cart-line-item.render-after'>, AnyComponent>;
|
|
132
|
+
/**
|
|
133
|
+
* A static extension target that renders on every line item, inside the details
|
|
134
|
+
* under the line item properties element on the Thank You Page.
|
|
135
|
+
*
|
|
136
|
+
* @deprecated Use `purchase.thank-you.cart-line-item.render-after` instead.
|
|
137
|
+
*/
|
|
138
|
+
'Checkout::ThankYou::CartLineDetails::RenderAfter': RenderExtension<CartLineItemApi & StandardApi<'Checkout::ThankYou::CartLineDetails::RenderAfter'>, AnyComponent>;
|
|
139
|
+
/**
|
|
140
|
+
* A static extension target that is rendered after all line items on the Thank You page.
|
|
141
|
+
*/
|
|
142
|
+
'purchase.thank-you.cart-line-list.render-after': RenderExtension<StandardApi<'purchase.thank-you.cart-line-list.render-after'>, AnyComponent>;
|
|
143
|
+
/**
|
|
144
|
+
* A static extension target that is rendered after all line items on the Thank You page.
|
|
145
|
+
*
|
|
146
|
+
* @deprecated Use `purchase.thank-you.cart-line-list.render-after` instead.
|
|
147
|
+
*/
|
|
148
|
+
'Checkout::ThankYou::CartLines::RenderAfter': RenderExtension<StandardApi<'Checkout::ThankYou::CartLines::RenderAfter'>, AnyComponent>;
|
|
149
|
+
/**
|
|
150
|
+
* A static extension target that is rendered after a purchase below the customer information on the Thank You page.
|
|
151
|
+
*/
|
|
152
|
+
'purchase.thank-you.customer-information.render-after': RenderExtension<StandardApi<'purchase.thank-you.customer-information.render-after'>, AnyComponent>;
|
|
153
|
+
/**
|
|
154
|
+
* A static extension target that is rendered after a purchase below the customer information on the Thank You page.
|
|
155
|
+
*
|
|
156
|
+
* @deprecated Use `purchase.thank-you.customer-information.render-after` instead.
|
|
157
|
+
*/
|
|
158
|
+
'Checkout::ThankYou::CustomerInformation::RenderAfter': RenderExtension<StandardApi<'Checkout::ThankYou::CustomerInformation::RenderAfter'>, AnyComponent>;
|
|
159
|
+
/**
|
|
160
|
+
* A [dynamic extension target](https://shopify.dev/docs/api/checkout-ui-extensions/extension-targets-overview#dynamic-extension-targets) that renders exclusively on the Order Status Page.
|
|
161
|
+
* Unlike static extension targets, dynamic extension targets render where the merchant
|
|
162
|
+
* sets them using the [checkout editor](https://shopify.dev/apps/checkout/test-ui-extensions#test-the-extension-in-the-checkout-editor).
|
|
163
|
+
*
|
|
164
|
+
* The [supported locations](https://shopify.dev/docs/api/checkout-ui-extensions/extension-targets-overview#supported-locations) for dynamic extension targets can be previewed during development
|
|
165
|
+
* by [using a URL parameter](https://shopify.dev/docs/apps/checkout/best-practices/testing-ui-extensions#dynamic-extension-targets).
|
|
166
|
+
*/
|
|
167
|
+
'customer-account.order-status.block.render': RenderExtension<OrderStatusApi & CustomerAccountStandardApi<'customer-account.order-status.block.render'>, AnyComponent>;
|
|
168
|
+
/**
|
|
169
|
+
* A [dynamic extension target](https://shopify.dev/docs/api/checkout-ui-extensions/extension-targets-overview#dynamic-extension-targets) that renders exclusively on the Order Status Page.
|
|
170
|
+
* Unlike static extension targets, dynamic extension targets render where the merchant
|
|
171
|
+
* sets them using the [checkout editor](https://shopify.dev/apps/checkout/test-ui-extensions#test-the-extension-in-the-checkout-editor).
|
|
172
|
+
*
|
|
173
|
+
* The [supported locations](https://shopify.dev/docs/api/checkout-ui-extensions/extension-targets-overview#supported-locations) for dynamic extension targets can be previewed during development
|
|
174
|
+
* by [using a URL parameter](https://shopify.dev/docs/apps/checkout/best-practices/testing-ui-extensions#dynamic-extension-targets).
|
|
175
|
+
*
|
|
176
|
+
* @deprecated Use `customer-account.order-status.block.render` instead.
|
|
177
|
+
*/
|
|
178
|
+
'Checkout::OrderStatus::Dynamic::Render': RenderExtension<OrderStatusApi & CustomerAccountStandardApi<'Checkout::OrderStatus::Dynamic::Render'>, AnyComponent>;
|
|
179
|
+
/**
|
|
180
|
+
* A static extension target that renders on every line item, inside the details
|
|
181
|
+
* under the line item properties element on the Order Status Page.
|
|
182
|
+
*/
|
|
183
|
+
'customer-account.order-status.cart-line-item.render-after': RenderExtension<CartLineItemApi & OrderStatusApi & CustomerAccountStandardApi<'customer-account.order-status.cart-line-item.render-after'>, AnyComponent>;
|
|
184
|
+
/**
|
|
185
|
+
* A static extension target that renders on every line item, inside the details
|
|
186
|
+
* under the line item properties element on the Order Status Page.
|
|
187
|
+
*
|
|
188
|
+
* @deprecated Use `customer-account.order-status.cart-line-item.render-after` instead.
|
|
189
|
+
*/
|
|
190
|
+
'Checkout::OrderStatus::CartLineDetails::RenderAfter': RenderExtension<CartLineItemApi & OrderStatusApi & CustomerAccountStandardApi<'Checkout::OrderStatus::CartLineDetails::RenderAfter'>, AnyComponent>;
|
|
191
|
+
/**
|
|
192
|
+
* A static extension target that is rendered after all line items on the Order Status page.
|
|
193
|
+
*/
|
|
194
|
+
'customer-account.order-status.cart-line-list.render-after': RenderExtension<OrderStatusApi & CustomerAccountStandardApi<'customer-account.order-status.cart-line-list.render-after'>, AnyComponent>;
|
|
195
|
+
/**
|
|
196
|
+
* A static extension target that is rendered after all line items on the Order Status page.
|
|
197
|
+
*
|
|
198
|
+
* @deprecated Use `customer-account.order-status.cart-line-list.render-after` instead.
|
|
199
|
+
*/
|
|
200
|
+
'Checkout::OrderStatus::CartLines::RenderAfter': RenderExtension<OrderStatusApi & CustomerAccountStandardApi<'Checkout::OrderStatus::CartLines::RenderAfter'>, AnyComponent>;
|
|
201
|
+
/**
|
|
202
|
+
* A static extension target that is rendered after a purchase below the customer information on the Order Status page.
|
|
203
|
+
*/
|
|
204
|
+
'customer-account.order-status.customer-information.render-after': RenderExtension<OrderStatusApi & CustomerAccountStandardApi<'customer-account.order-status.customer-information.render-after'>, AnyComponent>;
|
|
205
|
+
/**
|
|
206
|
+
* A static extension target that is rendered after a purchase below the customer information on the Order Status page.
|
|
207
|
+
*
|
|
208
|
+
* @deprecated Use `customer-account.order-status.customer-information.render-after` instead.
|
|
209
|
+
*/
|
|
210
|
+
'Checkout::OrderStatus::CustomerInformation::RenderAfter': RenderExtension<OrderStatusApi & CustomerAccountStandardApi<'Checkout::OrderStatus::CustomerInformation::RenderAfter'>, AnyComponent>;
|
|
211
|
+
/**
|
|
212
|
+
* A static extension target that renders the gift card entry form fields after
|
|
213
|
+
* the buyer ticks a box to use a gift card. This does not replace the
|
|
214
|
+
* native gift card entry form which is rendered in a separate part of checkout.
|
|
215
|
+
*
|
|
216
|
+
* @private
|
|
217
|
+
*/
|
|
218
|
+
'purchase.checkout.gift-card.render': RenderExtension<RedeemableApi & CheckoutApi & StandardApi<'purchase.checkout.gift-card.render'>, AnyComponent>;
|
|
219
|
+
/**
|
|
220
|
+
* A static extension target that renders the gift card entry form fields after
|
|
221
|
+
* the buyer ticks a box to use a gift card. This does not replace the
|
|
222
|
+
* native gift card entry form which is rendered in a separate part of checkout.
|
|
223
|
+
*
|
|
224
|
+
* @private
|
|
225
|
+
* @deprecated Use `purchase.checkout.gift-card.render` instead.
|
|
226
|
+
*/
|
|
227
|
+
'Checkout::GiftCard::Render': RenderExtension<RedeemableApi & CheckoutApi & StandardApi<'Checkout::GiftCard::Render'>, AnyComponent>;
|
|
228
|
+
/**
|
|
229
|
+
* A static extension target that renders the form fields for a payment method when selected by the buyer.
|
|
230
|
+
*
|
|
231
|
+
* @private
|
|
232
|
+
*/
|
|
233
|
+
'purchase.checkout.payment-option-item.details.render': RenderExtension<PaymentOptionItemApi & CheckoutApi & StandardApi<'purchase.checkout.payment-option-item.details.render'>, AnyComponent>;
|
|
234
|
+
/**
|
|
235
|
+
* A static extension target that renders the form fields for a payment method when selected by the buyer.
|
|
236
|
+
*
|
|
237
|
+
* @private
|
|
238
|
+
* @deprecated Use `purchase.checkout.payment-option-item.details.render` instead.
|
|
239
|
+
*/
|
|
240
|
+
'Checkout::PaymentMethod::Render': RenderExtension<PaymentOptionItemApi & CheckoutApi & StandardApi<'Checkout::PaymentMethod::Render'>, AnyComponent>;
|
|
241
|
+
/**
|
|
242
|
+
* A static extension target that renders a form modal when a buyer selects the custom onsite payment method.
|
|
243
|
+
*
|
|
244
|
+
* @private
|
|
245
|
+
*/
|
|
246
|
+
'purchase.checkout.payment-option-item.action-required.render': RenderExtension<CheckoutApi & StandardApi<'purchase.checkout.payment-option-item.action-required.render'>, AnyComponent>;
|
|
247
|
+
/**
|
|
248
|
+
* A static extension target that renders a form modal when a buyer selects the custom onsite payment method.
|
|
249
|
+
*
|
|
250
|
+
* @private
|
|
251
|
+
* @deprecated Use `purchase.checkout.payment-option-item.action-required.render` instead.
|
|
252
|
+
*/
|
|
253
|
+
'Checkout::PaymentMethod::RenderRequiredAction': RenderExtension<CheckoutApi & StandardApi<'Checkout::PaymentMethod::RenderRequiredAction'>, AnyComponent>;
|
|
254
|
+
/**
|
|
255
|
+
* A static extension target that is rendered in the order summary, before the discount form element.
|
|
256
|
+
*/
|
|
257
|
+
'purchase.checkout.reductions.render-before': RenderExtension<CheckoutApi & StandardApi<'purchase.checkout.reductions.render-before'>, AnyComponent>;
|
|
258
|
+
/**
|
|
259
|
+
* A static extension target that is rendered in the order summary, before the discount form element.
|
|
260
|
+
*
|
|
261
|
+
* @deprecated Use `purchase.checkout.reductions.render-before` instead.
|
|
262
|
+
*/
|
|
263
|
+
'Checkout::Reductions::RenderBefore': RenderExtension<CheckoutApi & StandardApi<'Checkout::Reductions::RenderBefore'>, AnyComponent>;
|
|
264
|
+
/**
|
|
265
|
+
* A static extension target that is rendered in the order summary, after the discount form
|
|
266
|
+
* and discount tag elements.
|
|
267
|
+
*/
|
|
268
|
+
'purchase.checkout.reductions.render-after': RenderExtension<CheckoutApi & StandardApi<'purchase.checkout.reductions.render-after'>, AnyComponent>;
|
|
269
|
+
/**
|
|
270
|
+
* A static extension target that is rendered in the order summary, after the discount form
|
|
271
|
+
* and discount tag elements.
|
|
272
|
+
*
|
|
273
|
+
* @deprecated Use `purchase.checkout.reductions.render-after` instead.
|
|
274
|
+
*/
|
|
275
|
+
'Checkout::Reductions::RenderAfter': RenderExtension<CheckoutApi & StandardApi<'Checkout::Reductions::RenderAfter'>, AnyComponent>;
|
|
276
|
+
/**
|
|
277
|
+
* A static extension target that is rendered between the shipping method
|
|
278
|
+
* header and shipping method options.
|
|
279
|
+
*/
|
|
280
|
+
'purchase.checkout.shipping-option-list.render-before': RenderExtension<CheckoutApi & StandardApi<'purchase.checkout.shipping-option-list.render-before'>, AnyComponent>;
|
|
281
|
+
/**
|
|
282
|
+
* A static extension target that is rendered between the shipping method
|
|
283
|
+
* header and shipping method options.
|
|
284
|
+
*
|
|
285
|
+
* @deprecated Use `purchase.checkout.shipping-option-list.render-before` instead.
|
|
286
|
+
*/
|
|
287
|
+
'Checkout::ShippingMethods::RenderBefore': RenderExtension<CheckoutApi & StandardApi<'Checkout::ShippingMethods::RenderBefore'>, AnyComponent>;
|
|
288
|
+
/**
|
|
289
|
+
* A static extension target that is rendered after the shipping method
|
|
290
|
+
* options.
|
|
291
|
+
*/
|
|
292
|
+
'purchase.checkout.shipping-option-list.render-after': RenderExtension<CheckoutApi & StandardApi<'purchase.checkout.shipping-option-list.render-after'>, AnyComponent>;
|
|
293
|
+
/**
|
|
294
|
+
* A static extension target that is rendered after the shipping method
|
|
295
|
+
* options.
|
|
296
|
+
*
|
|
297
|
+
* @deprecated Use `purchase.checkout.shipping-option-list.render-after` instead.
|
|
298
|
+
*/
|
|
299
|
+
'Checkout::ShippingMethods::RenderAfter': RenderExtension<CheckoutApi & StandardApi<'Checkout::ShippingMethods::RenderAfter'>, AnyComponent>;
|
|
300
|
+
/**
|
|
301
|
+
* A static extension target that is rendered before pickup location options.
|
|
302
|
+
*/
|
|
303
|
+
'purchase.checkout.pickup-location-list.render-before': RenderExtension<PickupLocationListApi & CheckoutApi & StandardApi<'purchase.checkout.pickup-location-list.render-before'>, AnyComponent>;
|
|
304
|
+
/**
|
|
305
|
+
* A static extension target that is rendered before pickup location options.
|
|
306
|
+
*
|
|
307
|
+
* @deprecated Use `purchase.checkout.pickup-location-list.render-before` instead.
|
|
308
|
+
*/
|
|
309
|
+
'Checkout::PickupLocations::RenderBefore': RenderExtension<PickupLocationListApi & CheckoutApi & StandardApi<'Checkout::PickupLocations::RenderBefore'>, AnyComponent>;
|
|
310
|
+
/**
|
|
311
|
+
* A static extension target that is rendered after pickup location options.
|
|
312
|
+
*/
|
|
313
|
+
'purchase.checkout.pickup-location-list.render-after': RenderExtension<PickupLocationListApi & CheckoutApi & StandardApi<'purchase.checkout.pickup-location-list.render-after'>, AnyComponent>;
|
|
314
|
+
/**
|
|
315
|
+
* A static extension target that is rendered after pickup location options.
|
|
316
|
+
*
|
|
317
|
+
* @deprecated Use `purchase.checkout.pickup-location-list.render-after` instead.
|
|
318
|
+
*/
|
|
319
|
+
'Checkout::PickupLocations::RenderAfter': RenderExtension<PickupLocationListApi & CheckoutApi & StandardApi<'Checkout::PickupLocations::RenderAfter'>, AnyComponent>;
|
|
320
|
+
/**
|
|
321
|
+
* A static extension target that is rendered after the shipping method
|
|
322
|
+
* details within the shipping method option list, for each option.
|
|
323
|
+
*/
|
|
324
|
+
'purchase.checkout.shipping-option-item.render-after': RenderExtension<ShippingOptionItemApi & CheckoutApi & StandardApi<'purchase.checkout.shipping-option-item.render-after'>, AnyComponent>;
|
|
325
|
+
/**
|
|
326
|
+
* A static extension target that is rendered after the shipping method
|
|
327
|
+
* details within the shipping method option list, for each option.
|
|
328
|
+
*
|
|
329
|
+
* @deprecated Use `purchase.checkout.shipping-option-item.render-after` instead.
|
|
330
|
+
*/
|
|
331
|
+
'Checkout::ShippingMethodDetails::RenderAfter': RenderExtension<ShippingOptionItemApi & CheckoutApi & StandardApi<'Checkout::ShippingMethodDetails::RenderAfter'>, AnyComponent>;
|
|
332
|
+
/**
|
|
333
|
+
* A static extension target that is rendered under the shipping method
|
|
334
|
+
* within the shipping method option list, for each option.
|
|
335
|
+
*/
|
|
336
|
+
'purchase.checkout.shipping-option-item.details.render': RenderExtension<ShippingOptionItemApi & CheckoutApi & StandardApi<'purchase.checkout.shipping-option-item.details.render'>, AnyComponent>;
|
|
337
|
+
/**
|
|
338
|
+
* A static extension target that is rendered under the shipping method
|
|
339
|
+
* within the shipping method option list, for each option.
|
|
340
|
+
*
|
|
341
|
+
* @deprecated Use `purchase.checkout.shipping-option-item.details.render` instead.
|
|
342
|
+
*/
|
|
343
|
+
'Checkout::ShippingMethodDetails::RenderExpanded': RenderExtension<ShippingOptionItemApi & CheckoutApi & StandardApi<'Checkout::ShippingMethodDetails::RenderExpanded'>, AnyComponent>;
|
|
344
|
+
/**
|
|
345
|
+
* A static extension target that is rendered immediately before the pickup points.
|
|
346
|
+
*/
|
|
347
|
+
'purchase.checkout.pickup-point-list.render-before': RenderExtension<PickupPointListApi & CheckoutApi & StandardApi<'purchase.checkout.pickup-point-list.render-before'>, AnyComponent>;
|
|
348
|
+
/**
|
|
349
|
+
* A static extension target that is rendered immediately before the pickup points.
|
|
350
|
+
*
|
|
351
|
+
* @deprecated Use `purchase.checkout.pickup-point-list.render-before` instead.
|
|
352
|
+
*/
|
|
353
|
+
'Checkout::PickupPoints::RenderBefore': RenderExtension<PickupPointListApi & CheckoutApi & StandardApi<'Checkout::PickupPoints::RenderBefore'>, AnyComponent>;
|
|
354
|
+
/**
|
|
355
|
+
* A static extension target that is rendered immediately after the pickup points.
|
|
356
|
+
*/
|
|
357
|
+
'purchase.checkout.pickup-point-list.render-after': RenderExtension<PickupPointListApi & CheckoutApi & StandardApi<'purchase.checkout.pickup-point-list.render-after'>, AnyComponent>;
|
|
358
|
+
/**
|
|
359
|
+
* A static extension target that is rendered immediately after the pickup points.
|
|
360
|
+
*
|
|
361
|
+
* @deprecated Use `purchase.checkout.pickup-point-list.render-after` instead.
|
|
362
|
+
*/
|
|
363
|
+
'Checkout::PickupPoints::RenderAfter': RenderExtension<PickupPointListApi & CheckoutApi & StandardApi<'Checkout::PickupPoints::RenderAfter'>, AnyComponent>;
|
|
364
|
+
}
|
|
365
|
+
export type ExtensionTarget = keyof ExtensionTargets;
|
|
366
|
+
/**
|
|
367
|
+
* For a given extension target, returns the value that is expected to be
|
|
368
|
+
* returned by that extension target’s callback type.
|
|
369
|
+
*/
|
|
370
|
+
export type ReturnTypeForExtension<Target extends keyof ExtensionTargets> = ReturnType<ExtensionTargets[Target]>;
|
|
371
|
+
/**
|
|
372
|
+
* For a given extension target, returns the tuple of arguments that would
|
|
373
|
+
* be provided to that extension target’s callback type.
|
|
374
|
+
*/
|
|
375
|
+
export type ArgumentsForExtension<Target extends keyof ExtensionTargets> = Parameters<ExtensionTargets[Target]>;
|
|
376
|
+
/**
|
|
377
|
+
* A union type containing all of the extension targets that follow the pattern of
|
|
378
|
+
* accepting a [`@remote-ui/core` `RemoteRoot`](https://github.com/Shopify/remote-ui/tree/main/packages/core)
|
|
379
|
+
* and an additional `api` argument, and using those arguments to render
|
|
380
|
+
* UI.
|
|
381
|
+
*/
|
|
382
|
+
export type RenderExtensionTarget = {
|
|
383
|
+
[Target in keyof ExtensionTargets]: ExtensionTargets[Target] extends RenderExtension<any, any> ? Target : never;
|
|
384
|
+
}[keyof ExtensionTargets];
|
|
385
|
+
/**
|
|
386
|
+
* A mapping of each “render extension” name to its callback type.
|
|
387
|
+
*/
|
|
388
|
+
export type RenderExtensions = {
|
|
389
|
+
[Target in RenderExtensionTarget]: ExtensionTargets[Target];
|
|
390
|
+
};
|
|
391
|
+
type ExtractedApiFromRenderExtension<T> = T extends RenderExtension<infer Api, any> ? Api : never;
|
|
392
|
+
type ExtractedAllowedComponentsFromRenderExtension<T> = T extends RenderExtension<any, infer Components> ? Components : never;
|
|
393
|
+
/**
|
|
394
|
+
* For a given rendering extension target, returns the type of the API that the
|
|
395
|
+
* extension will receive at runtime. This API type is the second argument to
|
|
396
|
+
* the callback for that extension target. The first callback for all of the rendering
|
|
397
|
+
* extension targets each receive a `RemoteRoot` object.
|
|
398
|
+
*/
|
|
399
|
+
export type ApiForRenderExtension<Target extends keyof RenderExtensions> = ExtractedApiFromRenderExtension<RenderExtensions[Target]>;
|
|
400
|
+
/**
|
|
401
|
+
* For a given rendering extension target, returns the UI components that the
|
|
402
|
+
* extension target supports.
|
|
403
|
+
*/
|
|
404
|
+
export type AllowedComponentsForRenderExtension<Target extends keyof RenderExtensions> = ExtractedAllowedComponentsFromRenderExtension<RenderExtensions[Target]>;
|
|
405
|
+
/**
|
|
406
|
+
* The part of the standard API implemented for customer-account targets. Must
|
|
407
|
+
* match the types defined in the `surfaces/customer-account` section of this package.
|
|
408
|
+
*/
|
|
409
|
+
export type CustomerAccountStandardApi<Target extends keyof ExtensionTargets> = Pick<StandardApi<Target>, 'analytics' | 'appliedGiftCards' | 'appMetafields' | 'attributes' | 'buyerIdentity' | 'checkoutSettings' | 'cost' | 'discountCodes' | 'discountAllocations' | 'extension' | 'extensionPoint' | 'i18n' | 'lines' | 'localization' | 'metafields' | 'note' | 'query' | 'sessionToken' | 'settings' | 'shippingAddress' | 'shop' | 'storage' | 'ui' | 'version'>;
|
|
410
|
+
export {};
|
|
411
|
+
//# sourceMappingURL=targets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"targets.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/checkout/targets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,qBAAqB,EACrB,aAAa,EACb,qBAAqB,EACrB,kBAAkB,EAClB,WAAW,EACX,WAAW,EACX,cAAc,EACf,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AAE3C;;;;;;;GAOG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,yCAAyC,EAAE,eAAe,CACxD,WAAW,GAAG,WAAW,CAAC,yCAAyC,CAAC,EACpE,YAAY,CACb,CAAC;IACF;;;;OAIG;IACH,iCAAiC,EAAE,eAAe,CAChD,WAAW,GAAG,WAAW,CAAC,iCAAiC,CAAC,EAC5D,YAAY,CACb,CAAC;IACF;;OAEG;IACH,+CAA+C,EAAE,eAAe,CAC9D,WAAW,GAAG,WAAW,CAAC,+CAA+C,CAAC,EAC1E,YAAY,CACb,CAAC;IACF;;;;OAIG;IACH,kCAAkC,EAAE,eAAe,CACjD,WAAW,GACT,WAAW,CAAC,kCAAkC,CAAC,GAC/C,cAAc,EAChB,YAAY,CACb,CAAC;IACF;;;OAGG;IACH,+CAA+C,EAAE,eAAe,CAC9D,WAAW,GACT,eAAe,GACf,WAAW,CAAC,+CAA+C,CAAC,EAC9D,YAAY,CACb,CAAC;IACF;;;;;OAKG;IACH,wCAAwC,EAAE,eAAe,CACvD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from './checkout/api';
|
|
2
2
|
export * from './checkout/components';
|
|
3
|
-
export * from './checkout/
|
|
3
|
+
export * from './checkout/targets';
|
|
4
4
|
export * from './checkout/extension';
|
|
5
5
|
export * from './checkout/shared';
|
|
6
6
|
export * from './checkout/style';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../src/surfaces/checkout.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,
|
|
1
|
+
{"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../src/surfaces/checkout.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { StatefulRemoteSubscribable } from '@remote-ui/async-subscription';
|
|
2
|
+
import { CartLine } from '../order-status/order-status';
|
|
3
|
+
export interface CartLineItemApi {
|
|
4
|
+
/**
|
|
5
|
+
* The cart line the extension is attached to.
|
|
6
|
+
*/
|
|
7
|
+
target: StatefulRemoteSubscribable<CartLine>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=cart-line-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cart-line-item.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/api/cart-line/cart-line-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;AAE9E,OAAO,EAAC,QAAQ,EAAC,MAAM,8BAA8B,CAAC;AAEtD,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,MAAM,EAAE,0BAA0B,CAAC,QAAQ,CAAC,CAAC;CAC9C"}
|