@foxy.io/elements 1.17.0 → 1.18.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/foxy-access-recovery-form.js +1 -1
- package/dist/cdn/foxy-address-card.js +3 -85
- package/dist/cdn/foxy-address-form.js +1 -1
- package/dist/cdn/foxy-api-browser.js +1 -1
- package/dist/cdn/foxy-applied-tax-card.js +1 -1
- package/dist/cdn/foxy-attribute-card.js +1 -1
- package/dist/cdn/foxy-attribute-form.js +1 -1
- package/dist/cdn/foxy-cancellation-form.js +1 -1
- package/dist/cdn/foxy-collection-page.js +1 -1
- package/dist/cdn/foxy-collection-pages.js +1 -1
- package/dist/cdn/foxy-copy-to-clipboard.js +1 -1
- package/dist/cdn/foxy-coupon-card.js +1 -1
- package/dist/cdn/foxy-coupon-code-form.js +1 -1
- package/dist/cdn/foxy-coupon-codes-form.js +1 -1
- package/dist/cdn/foxy-coupon-detail-card.js +1 -1
- package/dist/cdn/foxy-coupon-form.js +1 -1
- package/dist/cdn/foxy-custom-field-card.js +1 -1
- package/dist/cdn/foxy-custom-field-form.js +1 -1
- package/dist/cdn/foxy-customer-api.js +1 -1
- package/dist/cdn/foxy-customer-card.js +1 -1
- package/dist/cdn/foxy-customer-form.js +1 -1
- package/dist/cdn/foxy-customer-portal-settings.js +1 -1
- package/dist/cdn/foxy-customer-portal.js +15 -15
- package/dist/cdn/foxy-customer.js +6 -6
- package/dist/cdn/foxy-customers-table.js +1 -1
- package/dist/cdn/foxy-discount-builder.js +1 -1
- package/dist/cdn/foxy-discount-card.js +1 -1
- package/dist/cdn/foxy-discount-detail-card.js +1 -1
- package/dist/cdn/foxy-donation.js +1 -1
- package/dist/cdn/foxy-email-template-form.js +1 -1
- package/dist/cdn/foxy-error-entry-card.js +1 -1
- package/dist/cdn/foxy-form-dialog.js +1 -1
- package/dist/cdn/foxy-generate-codes-form.js +1 -1
- package/dist/cdn/foxy-gift-card-card.js +1 -1
- package/dist/cdn/foxy-gift-card-code-form.js +1 -1
- package/dist/cdn/foxy-gift-card-codes-form.js +1 -1
- package/dist/cdn/foxy-gift-card-form.js +1 -1
- package/dist/cdn/foxy-i18n.js +1 -1
- package/dist/cdn/foxy-item-card.js +1 -1
- package/dist/cdn/foxy-item-form.js +1 -1
- package/dist/cdn/foxy-item-option-card.js +1 -1
- package/dist/cdn/foxy-item-option-form.js +1 -1
- package/dist/cdn/foxy-items-form.js +1 -1
- package/dist/cdn/foxy-nucleon-element.js +1 -1
- package/dist/cdn/foxy-pagination.js +1 -1
- package/dist/cdn/foxy-payment-card.js +1 -1
- package/dist/cdn/foxy-payment-method-card.js +1 -1
- package/dist/cdn/foxy-query-builder.js +1 -1
- package/dist/cdn/foxy-report-form.js +4 -4
- package/dist/cdn/foxy-reports-table.js +5 -5
- package/dist/cdn/foxy-shipment-card.js +1 -1
- package/dist/cdn/foxy-sign-in-form.js +1 -1
- package/dist/cdn/foxy-spinner.js +1 -1
- package/dist/cdn/foxy-store-shipping-method-form.js +150 -0
- package/dist/cdn/foxy-subscription-card.js +1 -1
- package/dist/cdn/foxy-subscription-form.js +4 -4
- package/dist/cdn/foxy-subscriptions-table.js +1 -1
- package/dist/cdn/foxy-table.js +1 -1
- package/dist/cdn/foxy-tax-card.js +1 -1
- package/dist/cdn/foxy-tax-form.js +1 -1
- package/dist/cdn/foxy-template-config-form.js +1 -1
- package/dist/cdn/foxy-template-form.js +1 -1
- package/dist/cdn/foxy-transaction-card.js +1 -1
- package/dist/cdn/foxy-transaction.js +1 -1
- package/dist/cdn/foxy-transactions-table.js +1 -1
- package/dist/cdn/foxy-user-form.js +1 -1
- package/dist/cdn/foxy-users-table.js +1 -1
- package/dist/cdn/foxy-webhook-card.js +1 -1
- package/dist/cdn/foxy-webhook-form.js +1 -1
- package/dist/cdn/foxy-webhook-log-card.js +1 -1
- package/dist/cdn/foxy-webhook-status-card.js +1 -1
- package/dist/cdn/{shared-26ce8d23.js → shared-023c287a.js} +1 -1
- package/dist/cdn/{shared-195fd5af.js → shared-084b6372.js} +1 -1
- package/dist/cdn/shared-11f0daea.js +169 -0
- package/dist/cdn/{shared-6d104622.js → shared-189dfb49.js} +1 -1
- package/dist/cdn/shared-23fd456c.js +134 -0
- package/dist/cdn/{shared-baf79b0b.js → shared-2ca6d676.js} +1 -1
- package/dist/cdn/{shared-c309e0ef.js → shared-2f0efb2c.js} +1 -1
- package/dist/cdn/{shared-dda2a74d.js → shared-37b61010.js} +1 -1
- package/dist/cdn/shared-381aa7fe.js +1 -0
- package/dist/cdn/shared-3a7cf739.js +15 -0
- package/dist/cdn/{shared-2188d5f7.js → shared-3e3c07ac.js} +1 -1
- package/dist/cdn/{shared-8e9a3bbb.js → shared-412670b8.js} +1 -1
- package/dist/cdn/{shared-31c43743.js → shared-4560425c.js} +1 -1
- package/dist/cdn/shared-4773b634.js +1 -0
- package/dist/cdn/{shared-7c8bb60c.js → shared-4c0520f6.js} +1 -1
- package/dist/cdn/{shared-5c3a88d2.js → shared-5482630e.js} +1 -1
- package/dist/cdn/{shared-322e7efb.js → shared-5e43b817.js} +1 -1
- package/dist/cdn/{shared-a0836fa5.js → shared-60c862aa.js} +1 -1
- package/dist/cdn/shared-619adfad.js +1 -0
- package/dist/cdn/{shared-b3df4f38.js → shared-68ab037d.js} +1 -1
- package/dist/cdn/{shared-7c612495.js → shared-6af95088.js} +1 -1
- package/dist/cdn/shared-6ce2acfa.js +1 -0
- package/dist/cdn/{shared-c8677ba3.js → shared-6f89d2e0.js} +1 -1
- package/dist/cdn/{shared-c5c60417.js → shared-71acf673.js} +1 -1
- package/dist/cdn/{shared-c89ba319.js → shared-74a27421.js} +1 -1
- package/dist/cdn/{shared-d699348f.js → shared-80b90eec.js} +2 -2
- package/dist/cdn/{shared-98497473.js → shared-85d45495.js} +1 -1
- package/dist/cdn/{shared-a5e52b8f.js → shared-872ceacf.js} +3 -3
- package/dist/cdn/{shared-4e201e09.js → shared-901ca702.js} +1 -1
- package/dist/cdn/{shared-ae415a98.js → shared-91b86bae.js} +1 -1
- package/dist/cdn/shared-9b392ba8.js +1 -0
- package/dist/cdn/{shared-1bbd9b73.js → shared-9be1a70f.js} +1 -1
- package/dist/cdn/{shared-8d4fef94.js → shared-9ef13805.js} +1 -1
- package/dist/cdn/{shared-bb686fc6.js → shared-9ef81b37.js} +1 -1
- package/dist/cdn/{shared-3b2dedf9.js → shared-a2a1193d.js} +1 -1
- package/dist/cdn/shared-a48a9dfc.js +82 -0
- package/dist/cdn/{shared-8d937ae4.js → shared-c0fb5a33.js} +3 -3
- package/dist/cdn/{shared-a052131e.js → shared-c63ba384.js} +1 -1
- package/dist/cdn/{shared-d28ac9dc.js → shared-c7280a24.js} +1 -1
- package/dist/cdn/{shared-e9a4a204.js → shared-c7c8d1b6.js} +1 -1
- package/dist/cdn/{shared-fadcb2e1.js → shared-ca0f14c1.js} +1 -1
- package/dist/cdn/{shared-7474af47.js → shared-d91ed0a8.js} +1 -1
- package/dist/cdn/{shared-39f2c345.js → shared-daa454bf.js} +1 -1
- package/dist/cdn/{shared-2bdd4f74.js → shared-ec7cfc23.js} +1 -1
- package/dist/cdn/{shared-bf6fb415.js → shared-f2639daf.js} +1 -1
- package/dist/cdn/{shared-62169210.js → shared-f31044b8.js} +1 -1
- package/dist/cdn/{shared-f84686a8.js → shared-fcbf9a41.js} +1 -1
- package/dist/cdn/{shared-dd6d3c18.js → shared-fd595d0a.js} +1 -1
- package/dist/cdn/{shared-dc23b751.js → shared-fe68657a.js} +1 -1
- package/dist/cdn/{shared-f1317609.js → shared-ff1d9854.js} +1 -1
- package/dist/cdn/translations/store-shipping-method-form/en.json +90 -0
- package/dist/elements/internal/InternalAsyncComboBoxControl/InternalAsyncComboBoxControl.d.ts +3 -0
- package/dist/elements/internal/InternalAsyncComboBoxControl/InternalAsyncComboBoxControl.js +22 -0
- package/dist/elements/internal/InternalAsyncComboBoxControl/InternalAsyncComboBoxControl.js.map +1 -1
- package/dist/elements/internal/InternalCheckboxGroupControl/InternalCheckboxGroupControl.d.ts +17 -0
- package/dist/elements/internal/InternalCheckboxGroupControl/InternalCheckboxGroupControl.js +51 -0
- package/dist/elements/internal/InternalCheckboxGroupControl/InternalCheckboxGroupControl.js.map +1 -0
- package/dist/elements/internal/InternalCheckboxGroupControl/index.d.ts +6 -0
- package/dist/elements/internal/InternalCheckboxGroupControl/index.js +8 -0
- package/dist/elements/internal/InternalCheckboxGroupControl/index.js.map +1 -0
- package/dist/elements/internal/InternalCheckboxGroupControl/types.d.ts +6 -0
- package/dist/elements/internal/InternalCheckboxGroupControl/types.js +2 -0
- package/dist/elements/internal/InternalCheckboxGroupControl/types.js.map +1 -0
- package/dist/elements/internal/InternalEditableControl/InternalEditableControl.d.ts +2 -0
- package/dist/elements/internal/InternalEditableControl/InternalEditableControl.js +6 -4
- package/dist/elements/internal/InternalEditableControl/InternalEditableControl.js.map +1 -1
- package/dist/elements/internal/InternalTextAreaControl/InternalTextAreaControl.d.ts +13 -0
- package/dist/elements/internal/InternalTextAreaControl/InternalTextAreaControl.js +40 -0
- package/dist/elements/internal/InternalTextAreaControl/InternalTextAreaControl.js.map +1 -0
- package/dist/elements/internal/InternalTextAreaControl/index.d.ts +4 -0
- package/dist/elements/internal/InternalTextAreaControl/index.js +6 -0
- package/dist/elements/internal/InternalTextAreaControl/index.js.map +1 -0
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalLoggedInView.js +10 -23
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalLoggedInView.js.map +1 -1
- package/dist/elements/public/NucleonElement/NucleonElement.d.ts +2 -1
- package/dist/elements/public/NucleonElement/NucleonElement.js +12 -10
- package/dist/elements/public/NucleonElement/NucleonElement.js.map +1 -1
- package/dist/elements/public/ShipmentCard/ShipmentCard.js +1 -1
- package/dist/elements/public/ShipmentCard/ShipmentCard.js.map +1 -1
- package/dist/elements/public/StoreShippingMethodForm/StoreShippingMethodForm.d.ts +25 -0
- package/dist/elements/public/StoreShippingMethodForm/StoreShippingMethodForm.js +201 -0
- package/dist/elements/public/StoreShippingMethodForm/StoreShippingMethodForm.js.map +1 -0
- package/dist/elements/public/StoreShippingMethodForm/index.d.ts +11 -0
- package/dist/elements/public/StoreShippingMethodForm/index.js +13 -0
- package/dist/elements/public/StoreShippingMethodForm/index.js.map +1 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesControl/InternalStoreShippingMethodFormServicesControl.d.ts +5 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesControl/InternalStoreShippingMethodFormServicesControl.js +33 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesControl/InternalStoreShippingMethodFormServicesControl.js.map +1 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesControl/index.d.ts +6 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesControl/index.js +8 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesControl/index.js.map +1 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPage/InternalStoreShippingMethodFormServicesPage.d.ts +19 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPage/InternalStoreShippingMethodFormServicesPage.js +96 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPage/InternalStoreShippingMethodFormServicesPage.js.map +1 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPage/index.d.ts +5 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPage/index.js +7 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPage/index.js.map +1 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItem/InternalStoreShippingMethodFormServicesPageItem.d.ts +17 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItem/InternalStoreShippingMethodFormServicesPageItem.js +45 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItem/InternalStoreShippingMethodFormServicesPageItem.js.map +1 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItem/index.d.ts +3 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItem/index.js +5 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItem/index.js.map +1 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItemContent/InternalStoreShippingMethodFormServicesPageItemContent.d.ts +16 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItemContent/InternalStoreShippingMethodFormServicesPageItemContent.js +49 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItemContent/InternalStoreShippingMethodFormServicesPageItemContent.js.map +1 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItemContent/index.d.ts +3 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItemContent/index.js +5 -0
- package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItemContent/index.js.map +1 -0
- package/dist/elements/public/StoreShippingMethodForm/types.d.ts +5 -0
- package/dist/elements/public/StoreShippingMethodForm/types.js +2 -0
- package/dist/elements/public/StoreShippingMethodForm/types.js.map +1 -0
- package/dist/elements/public/index.d.ts +1 -0
- package/dist/elements/public/index.defined.d.ts +1 -0
- package/dist/elements/public/index.defined.js +1 -0
- package/dist/elements/public/index.defined.js.map +1 -1
- package/dist/elements/public/index.js +1 -0
- package/dist/elements/public/index.js.map +1 -1
- package/dist/mixins/configurable.js +16 -8
- package/dist/mixins/configurable.js.map +1 -1
- package/dist/mixins/inferrable.js +25 -23
- package/dist/mixins/inferrable.js.map +1 -1
- package/package.json +2 -2
- package/dist/cdn/shared-45feee83.js +0 -1
- package/dist/cdn/shared-63685d2e.js +0 -302
- package/dist/cdn/shared-92327224.js +0 -15
- package/dist/cdn/shared-ac44429d.js +0 -1
- package/dist/cdn/shared-dc1c6edd.js +0 -1
- package/dist/cdn/shared-dc3ffd38.js +0 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import '@polymer/iron-icons/maps-icons';
|
|
2
|
+
import '@polymer/iron-icon';
|
|
3
|
+
import "../../internal/InternalAsyncComboBoxControl/index.js";
|
|
4
|
+
import "../../internal/InternalCheckboxGroupControl/index.js";
|
|
5
|
+
import "../../internal/InternalTextAreaControl/index.js";
|
|
6
|
+
import "../../internal/InternalTextControl/index.js";
|
|
7
|
+
import "../../internal/InternalForm/index.js";
|
|
8
|
+
import "../I18n/index.js";
|
|
9
|
+
import "./internal/InternalStoreShippingMethodFormServicesControl/index.js";
|
|
10
|
+
import { StoreShippingMethodForm } from "./StoreShippingMethodForm.js";
|
|
11
|
+
customElements.define('foxy-store-shipping-method-form', StoreShippingMethodForm);
|
|
12
|
+
export { StoreShippingMethodForm };
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/elements/public/StoreShippingMethodForm/index.ts"],"names":[],"mappings":"AAAA,OAAO,gCAAgC,CAAC;AACxC,OAAO,oBAAoB,CAAC;AAE5B,8DAA2D;AAC3D,8DAA2D;AAC3D,yDAAsD;AACtD,qDAAkD;AAClD,8CAA2C;AAE3C,0BAAuB;AAEvB,4EAAyE;AAEzE,OAAO,EAAE,uBAAuB,EAAE,qCAAkC;AAEpE,cAAc,CAAC,MAAM,CAAC,iCAAiC,EAAE,uBAAuB,CAAC,CAAC;AAElF,OAAO,EAAE,uBAAuB,EAAE,CAAC","sourcesContent":["import '@polymer/iron-icons/maps-icons';\nimport '@polymer/iron-icon';\n\nimport '../../internal/InternalAsyncComboBoxControl/index';\nimport '../../internal/InternalCheckboxGroupControl/index';\nimport '../../internal/InternalTextAreaControl/index';\nimport '../../internal/InternalTextControl/index';\nimport '../../internal/InternalForm/index';\n\nimport '../I18n/index';\n\nimport './internal/InternalStoreShippingMethodFormServicesControl/index';\n\nimport { StoreShippingMethodForm } from './StoreShippingMethodForm';\n\ncustomElements.define('foxy-store-shipping-method-form', StoreShippingMethodForm);\n\nexport { StoreShippingMethodForm };\n"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { html } from 'lit-html';
|
|
2
|
+
import { InternalControl } from "../../../../internal/InternalControl/InternalControl.js";
|
|
3
|
+
export class InternalStoreShippingMethodFormServicesControl extends InternalControl {
|
|
4
|
+
renderControl() {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
const data = (_a = this.nucleon) === null || _a === void 0 ? void 0 : _a.data;
|
|
7
|
+
const form = (_b = this.nucleon) === null || _b === void 0 ? void 0 : _b.form;
|
|
8
|
+
if (!data)
|
|
9
|
+
return html ``;
|
|
10
|
+
const firstURL = new URL(data._links['fx:shipping_services'].href);
|
|
11
|
+
firstURL.searchParams.set('limit', '10');
|
|
12
|
+
return html `
|
|
13
|
+
<foxy-pagination first=${firstURL.toString()} infer="">
|
|
14
|
+
<foxy-i18n
|
|
15
|
+
class="block text-s font-medium text-secondary leading-none mb-s"
|
|
16
|
+
infer=""
|
|
17
|
+
key="header"
|
|
18
|
+
>
|
|
19
|
+
</foxy-i18n>
|
|
20
|
+
|
|
21
|
+
<foxy-internal-store-shipping-method-form-services-page
|
|
22
|
+
store-shipping-services-uri=${data._links['fx:store_shipping_services'].href}
|
|
23
|
+
shipping-method-uri=${data._links['fx:shipping_method'].href}
|
|
24
|
+
class="border border-contrast-10 rounded-t-l rounded-b-l mb-s"
|
|
25
|
+
infer=""
|
|
26
|
+
?international-allowed=${!!form.use_for_international}
|
|
27
|
+
>
|
|
28
|
+
</foxy-internal-store-shipping-method-form-services-page>
|
|
29
|
+
</foxy-pagination>
|
|
30
|
+
`;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=InternalStoreShippingMethodFormServicesControl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InternalStoreShippingMethodFormServicesControl.js","sourceRoot":"","sources":["../../../../../../src/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesControl/InternalStoreShippingMethodFormServicesControl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,gEAA6D;AAGvF,MAAM,OAAO,8CAA+C,SAAQ,eAAe;IACjF,aAAa;;QACX,MAAM,IAAI,GAAG,MAAA,IAAI,CAAC,OAAO,0CAAE,IAAY,CAAC;QACxC,MAAM,IAAI,GAAG,MAAA,IAAI,CAAC,OAAO,0CAAE,IAAqB,CAAC;QAEjD,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,CAAA,EAAE,CAAC;QAEzB,MAAM,QAAQ,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,IAAI,CAAC,CAAC;QACnE,QAAQ,CAAC,YAAY,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QAEzC,OAAO,IAAI,CAAA;+BACgB,QAAQ,CAAC,QAAQ,EAAE;;;;;;;;;wCASV,IAAI,CAAC,MAAM,CAAC,4BAA4B,CAAC,CAAC,IAAI;gCACtD,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC,IAAI;;;mCAGnC,CAAC,CAAC,IAAI,CAAC,qBAAqB;;;;KAI1D,CAAC;IACJ,CAAC;CACF","sourcesContent":["import { html, TemplateResult } from 'lit-html';\nimport { InternalControl } from '../../../../internal/InternalControl/InternalControl';\nimport { Data } from '../../types';\n\nexport class InternalStoreShippingMethodFormServicesControl extends InternalControl {\n renderControl(): TemplateResult {\n const data = this.nucleon?.data as Data;\n const form = this.nucleon?.form as Partial<Data>;\n\n if (!data) return html``;\n\n const firstURL = new URL(data._links['fx:shipping_services'].href);\n firstURL.searchParams.set('limit', '10');\n\n return html`\n <foxy-pagination first=${firstURL.toString()} infer=\"\">\n <foxy-i18n\n class=\"block text-s font-medium text-secondary leading-none mb-s\"\n infer=\"\"\n key=\"header\"\n >\n </foxy-i18n>\n\n <foxy-internal-store-shipping-method-form-services-page\n store-shipping-services-uri=${data._links['fx:store_shipping_services'].href}\n shipping-method-uri=${data._links['fx:shipping_method'].href}\n class=\"border border-contrast-10 rounded-t-l rounded-b-l mb-s\"\n infer=\"\"\n ?international-allowed=${!!form.use_for_international}\n >\n </foxy-internal-store-shipping-method-form-services-page>\n </foxy-pagination>\n `;\n }\n}\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import '../../../../internal/InternalControl/index';
|
|
2
|
+
import '../../../Pagination/index';
|
|
3
|
+
import '../../../I18n/index';
|
|
4
|
+
import '../InternalStoreShippingMethodFormServicesPage/index';
|
|
5
|
+
import { InternalStoreShippingMethodFormServicesControl } from './InternalStoreShippingMethodFormServicesControl';
|
|
6
|
+
export { InternalStoreShippingMethodFormServicesControl };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "../../../../internal/InternalControl/index.js";
|
|
2
|
+
import "../../../Pagination/index.js";
|
|
3
|
+
import "../../../I18n/index.js";
|
|
4
|
+
import "../InternalStoreShippingMethodFormServicesPage/index.js";
|
|
5
|
+
import { InternalStoreShippingMethodFormServicesControl } from "./InternalStoreShippingMethodFormServicesControl.js";
|
|
6
|
+
customElements.define('foxy-internal-store-shipping-method-form-services-control', InternalStoreShippingMethodFormServicesControl);
|
|
7
|
+
export { InternalStoreShippingMethodFormServicesControl };
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesControl/index.ts"],"names":[],"mappings":"AAAA,uDAAoD;AAEpD,sCAAmC;AACnC,gCAA6B;AAE7B,iEAA8D;AAE9D,OAAO,EAAE,8CAA8C,EAAE,4DAAyD;AAElH,cAAc,CAAC,MAAM,CACnB,2DAA2D,EAC3D,8CAA8C,CAC/C,CAAC;AAEF,OAAO,EAAE,8CAA8C,EAAE,CAAC","sourcesContent":["import '../../../../internal/InternalControl/index';\n\nimport '../../../Pagination/index';\nimport '../../../I18n/index';\n\nimport '../InternalStoreShippingMethodFormServicesPage/index';\n\nimport { InternalStoreShippingMethodFormServicesControl } from './InternalStoreShippingMethodFormServicesControl';\n\ncustomElements.define(\n 'foxy-internal-store-shipping-method-form-services-control',\n InternalStoreShippingMethodFormServicesControl\n);\n\nexport { InternalStoreShippingMethodFormServicesControl };\n"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TemplateResult } from 'lit-html';
|
|
2
|
+
import { NucleonElement } from '../../../NucleonElement/NucleonElement';
|
|
3
|
+
import { PropertyDeclarations } from 'lit-element';
|
|
4
|
+
import { Rels } from '@foxy.io/sdk/backend';
|
|
5
|
+
import { Resource } from '@foxy.io/sdk/core';
|
|
6
|
+
declare type Data = Resource<Rels.ShippingServices>;
|
|
7
|
+
declare const Base: typeof NucleonElement & import("lit-element").Constructor<import("../../../../../mixins/translatable").TranslatableMixinHost> & {
|
|
8
|
+
defaultNS: string;
|
|
9
|
+
} & {
|
|
10
|
+
styles: import("lit-element").CSSResultArray;
|
|
11
|
+
} & import("lit-element").Constructor<import("../../../../../mixins/configurable").ConfigurableMixinHost>;
|
|
12
|
+
export declare class InternalStoreShippingMethodFormServicesPage extends Base<Data> {
|
|
13
|
+
static get properties(): PropertyDeclarations;
|
|
14
|
+
storeShippingServicesUri: string | null;
|
|
15
|
+
internationalAllowed: boolean;
|
|
16
|
+
shippingMethodUri: string | null;
|
|
17
|
+
render(): TemplateResult;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { html } from 'lit-html';
|
|
2
|
+
import { ConfigurableMixin } from "../../../../../mixins/configurable.js";
|
|
3
|
+
import { NucleonElement } from "../../../NucleonElement/NucleonElement.js";
|
|
4
|
+
import { ThemeableMixin } from "../../../../../mixins/themeable.js";
|
|
5
|
+
import { TranslatableMixin } from "../../../../../mixins/translatable.js";
|
|
6
|
+
import { classMap } from "../../../../../utils/class-map.js";
|
|
7
|
+
import { ifDefined } from 'lit-html/directives/if-defined';
|
|
8
|
+
const Base = ConfigurableMixin(ThemeableMixin(TranslatableMixin(NucleonElement)));
|
|
9
|
+
export class InternalStoreShippingMethodFormServicesPage extends Base {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.storeShippingServicesUri = null;
|
|
13
|
+
this.internationalAllowed = false;
|
|
14
|
+
this.shippingMethodUri = null;
|
|
15
|
+
}
|
|
16
|
+
static get properties() {
|
|
17
|
+
return {
|
|
18
|
+
...super.properties,
|
|
19
|
+
storeShippingServicesUri: { type: String, attribute: 'store-shipping-services-uri' },
|
|
20
|
+
internationalAllowed: { type: Boolean, attribute: 'international-allowed' },
|
|
21
|
+
shippingMethodUri: { type: String, attribute: 'shipping-method-uri' },
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
render() {
|
|
25
|
+
var _a, _b, _c;
|
|
26
|
+
const services = (_b = (_a = this.data) === null || _a === void 0 ? void 0 : _a._embedded['fx:shipping_services']) !== null && _b !== void 0 ? _b : [];
|
|
27
|
+
let limit = 20;
|
|
28
|
+
try {
|
|
29
|
+
const limitFromHref = parseInt((_c = new URL(this.href).searchParams.get('limit')) !== null && _c !== void 0 ? _c : '');
|
|
30
|
+
if (!isNaN(limitFromHref))
|
|
31
|
+
limit = limitFromHref;
|
|
32
|
+
}
|
|
33
|
+
catch (_d) {
|
|
34
|
+
// invalid URL, use the default
|
|
35
|
+
}
|
|
36
|
+
return html `
|
|
37
|
+
<div class="relative">
|
|
38
|
+
<div class="relative divide-y divide-contrast-10 ml-m">
|
|
39
|
+
${new Array(limit).fill(0).map((_, index) => {
|
|
40
|
+
var _a, _b;
|
|
41
|
+
const service = services[index];
|
|
42
|
+
let href = undefined;
|
|
43
|
+
if (service) {
|
|
44
|
+
try {
|
|
45
|
+
const storeShippingServiceURL = new URL((_a = this.storeShippingServicesUri) !== null && _a !== void 0 ? _a : '');
|
|
46
|
+
const shippingServiceURL = new URL(service._links.self.href);
|
|
47
|
+
const shippingServiceID = shippingServiceURL.pathname.split('/').pop();
|
|
48
|
+
storeShippingServiceURL.searchParams.set('shipping_service_id', shippingServiceID);
|
|
49
|
+
storeShippingServiceURL.searchParams.set('limit', '1');
|
|
50
|
+
href = storeShippingServiceURL.toString();
|
|
51
|
+
}
|
|
52
|
+
catch (_c) {
|
|
53
|
+
// invalid URL, ignore
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
if (!href)
|
|
57
|
+
return html `<div class="h-l"></div>`;
|
|
58
|
+
return html `
|
|
59
|
+
<foxy-internal-store-shipping-method-form-services-page-item
|
|
60
|
+
shipping-service-uri=${service._links.self.href}
|
|
61
|
+
shipping-method-uri=${ifDefined((_b = this.shippingMethodUri) !== null && _b !== void 0 ? _b : void 0)}
|
|
62
|
+
data-testclass="item"
|
|
63
|
+
class="h-l truncate"
|
|
64
|
+
infer=""
|
|
65
|
+
href=${href}
|
|
66
|
+
?international-allowed=${this.internationalAllowed}
|
|
67
|
+
>
|
|
68
|
+
${service === null || service === void 0 ? void 0 : service.name}
|
|
69
|
+
${service.is_international
|
|
70
|
+
? html `<foxy-i18n infer="" slot="suffix" key="international_only"></foxy-i18n>`
|
|
71
|
+
: ''}
|
|
72
|
+
</foxy-internal-store-shipping-method-form-services-page-item>
|
|
73
|
+
`;
|
|
74
|
+
})}
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
<div
|
|
78
|
+
data-testid="spinner"
|
|
79
|
+
class=${classMap({
|
|
80
|
+
'pointer-events-none absolute inset-0 flex transition-opacity': true,
|
|
81
|
+
'opacity-0': !!this.data,
|
|
82
|
+
})}
|
|
83
|
+
>
|
|
84
|
+
<foxy-spinner
|
|
85
|
+
layout="vertical"
|
|
86
|
+
state=${this.in('fail') ? 'error' : this.in({ idle: 'template' }) ? 'empty' : 'busy'}
|
|
87
|
+
class="m-auto p-m bg-base rounded-t-l rounded-b-l shadow-xs"
|
|
88
|
+
infer=""
|
|
89
|
+
>
|
|
90
|
+
</foxy-spinner>
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
`;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=InternalStoreShippingMethodFormServicesPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InternalStoreShippingMethodFormServicesPage.js","sourceRoot":"","sources":["../../../../../../src/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPage/InternalStoreShippingMethodFormServicesPage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,IAAI,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,8CAA2C;AACvE,OAAO,EAAE,cAAc,EAAE,kDAA+C;AAIxE,OAAO,EAAE,cAAc,EAAE,2CAAwC;AACjE,OAAO,EAAE,iBAAiB,EAAE,8CAA2C;AACvE,OAAO,EAAE,QAAQ,EAAE,0CAAuC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAG3D,MAAM,IAAI,GAAG,iBAAiB,CAAC,cAAc,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;AAElF,MAAM,OAAO,2CAA4C,SAAQ,IAAU;IAA3E;;QAUE,6BAAwB,GAAkB,IAAI,CAAC;QAE/C,yBAAoB,GAAG,KAAK,C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NucleonElement } from '../../../NucleonElement/NucleonElement';\nimport { PropertyDeclarations } from 'lit-element';\nimport { Rels } from '@foxy.io/sdk/backend';\nimport { Resource } from '@foxy.io/sdk/core';\nimport { ThemeableMixin } from '../../../../../mixins/themeable';\nimport { TranslatableMixin } from '../../../../../mixins/translatable';\nimport { classMap } from '../../../../../utils/class-map';\nimport { ifDefined } from 'lit-html/directives/if-defined';\n\ntype Data = Resource<Rels.ShippingServices>;\nconst Base = ConfigurableMixin(ThemeableMixin(TranslatableMixin(NucleonElement)));\n\nexport class InternalStoreShippingMethodFormServicesPage extends Base<Data> {\n static get properties(): PropertyDeclarations {\n return {\n ...super.properties,\n storeShippingServicesUri: { type: String, attribute: 'store-shipping-services-uri' },\n internationalAllowed: { type: Boolean, attribute: 'international-allowed' },\n shippingMethodUri: { type: String, attribute: 'shipping-method-uri' },\n };\n }\n\n storeShippingServicesUri: string | null = null;\n\n internationalAllowed = false;\n\n shippingMethodUri: string | null = null;\n\n render(): TemplateResult {\n const services = this.data?._embedded['fx:shipping_services'] ?? [];\n let limit = 20;\n\n try {\n const limitFromHref = parseInt(new URL(this.href).searchParams.get('limit') ?? '');\n if (!isNaN(limitFromHref)) limit = limitFromHref;\n } catch {\n // invalid URL, use the default\n }\n\n return html`\n <div class=\"relative\">\n <div class=\"relative divide-y divide-contrast-10 ml-m\">\n ${new Array(limit).fill(0).map((_, index) => {\n const service = services[index];\n let href: string | undefined = undefined;\n\n if (service) {\n try {\n const storeShippingServiceURL = new URL(this.storeShippingServicesUri ?? '');\n const shippingServiceURL = new URL(service._links.self.href);\n const shippingServiceID = shippingServiceURL.pathname.split('/').pop() as string;\n\n storeShippingServiceURL.searchParams.set('shipping_service_id', shippingServiceID);\n storeShippingServiceURL.searchParams.set('limit', '1');\n\n href = storeShippingServiceURL.toString();\n } catch {\n // invalid URL, ignore\n }\n }\n\n if (!href) return html`<div class=\"h-l\"></div>`;\n\n return html`\n <foxy-internal-store-shipping-method-form-services-page-item\n shipping-service-uri=${service._links.self.href}\n shipping-method-uri=${ifDefined(this.shippingMethodUri ?? void 0)}\n data-testclass=\"item\"\n class=\"h-l truncate\"\n infer=\"\"\n href=${href}\n ?international-allowed=${this.internationalAllowed}\n >\n ${service?.name}\n ${service.is_international\n ? html`<foxy-i18n infer=\"\" slot=\"suffix\" key=\"international_only\"></foxy-i18n>`\n : ''}\n </foxy-internal-store-shipping-method-form-services-page-item>\n `;\n })}\n </div>\n\n <div\n data-testid=\"spinner\"\n class=${classMap({\n 'pointer-events-none absolute inset-0 flex transition-opacity': true,\n 'opacity-0': !!this.data,\n })}\n >\n <foxy-spinner\n layout=\"vertical\"\n state=${this.in('fail') ? 'error' : this.in({ idle: 'template' }) ? 'empty' : 'busy'}\n class=\"m-auto p-m bg-base rounded-t-l rounded-b-l shadow-xs\"\n infer=\"\"\n >\n </foxy-spinner>\n </div>\n </div>\n `;\n }\n}\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import '../../../Spinner/index';
|
|
2
|
+
import '../../../I18n/index';
|
|
3
|
+
import '../InternalStoreShippingMethodFormServicesPageItem/index';
|
|
4
|
+
import { InternalStoreShippingMethodFormServicesPage } from './InternalStoreShippingMethodFormServicesPage';
|
|
5
|
+
export { InternalStoreShippingMethodFormServicesPage };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "../../../Spinner/index.js";
|
|
2
|
+
import "../../../I18n/index.js";
|
|
3
|
+
import "../InternalStoreShippingMethodFormServicesPageItem/index.js";
|
|
4
|
+
import { InternalStoreShippingMethodFormServicesPage } from "./InternalStoreShippingMethodFormServicesPage.js";
|
|
5
|
+
customElements.define('foxy-internal-store-shipping-method-form-services-page', InternalStoreShippingMethodFormServicesPage);
|
|
6
|
+
export { InternalStoreShippingMethodFormServicesPage };
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPage/index.ts"],"names":[],"mappings":"AAAA,mCAAgC;AAChC,gCAA6B;AAE7B,qEAAkE;AAElE,OAAO,EAAE,2CAA2C,EAAE,yDAAsD;AAE5G,cAAc,CAAC,MAAM,CACnB,wDAAwD,EACxD,2CAA2C,CAC5C,CAAC;AAEF,OAAO,EAAE,2CAA2C,EAAE,CAAC","sourcesContent":["import '../../../Spinner/index';\nimport '../../../I18n/index';\n\nimport '../InternalStoreShippingMethodFormServicesPageItem/index';\n\nimport { InternalStoreShippingMethodFormServicesPage } from './InternalStoreShippingMethodFormServicesPage';\n\ncustomElements.define(\n 'foxy-internal-store-shipping-method-form-services-page',\n InternalStoreShippingMethodFormServicesPage\n);\n\nexport { InternalStoreShippingMethodFormServicesPage };\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TemplateResult } from 'lit-html';
|
|
2
|
+
import { NucleonElement } from '../../../NucleonElement/NucleonElement';
|
|
3
|
+
import { PropertyDeclarations } from 'lit-element';
|
|
4
|
+
import { Rels } from '@foxy.io/sdk/backend';
|
|
5
|
+
import { Resource } from '@foxy.io/sdk/core';
|
|
6
|
+
declare type Data = Resource<Rels.StoreShippingServices>;
|
|
7
|
+
declare const Base: typeof NucleonElement & {
|
|
8
|
+
styles: import("lit-element").CSSResultArray;
|
|
9
|
+
} & import("lit-element").Constructor<import("../../../../../mixins/configurable").ConfigurableMixinHost>;
|
|
10
|
+
export declare class InternalStoreShippingMethodFormServicesPageItem extends Base<Data> {
|
|
11
|
+
static get properties(): PropertyDeclarations;
|
|
12
|
+
internationalAllowed: boolean;
|
|
13
|
+
shippingServiceUri: string | null;
|
|
14
|
+
shippingMethodUri: string | null;
|
|
15
|
+
render(): TemplateResult;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { html } from 'lit-html';
|
|
2
|
+
import { ConfigurableMixin } from "../../../../../mixins/configurable.js";
|
|
3
|
+
import { NucleonElement } from "../../../NucleonElement/NucleonElement.js";
|
|
4
|
+
import { ThemeableMixin } from "../../../../../mixins/themeable.js";
|
|
5
|
+
import { ifDefined } from 'lit-html/directives/if-defined';
|
|
6
|
+
const Base = ConfigurableMixin(ThemeableMixin(NucleonElement));
|
|
7
|
+
export class InternalStoreShippingMethodFormServicesPageItem extends Base {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments);
|
|
10
|
+
this.internationalAllowed = false;
|
|
11
|
+
this.shippingServiceUri = null;
|
|
12
|
+
this.shippingMethodUri = null;
|
|
13
|
+
}
|
|
14
|
+
static get properties() {
|
|
15
|
+
return {
|
|
16
|
+
...super.properties,
|
|
17
|
+
internationalAllowed: { type: Boolean, attribute: 'international-allowed' },
|
|
18
|
+
shippingServiceUri: { type: String, attribute: 'shipping-service-uri' },
|
|
19
|
+
shippingMethodUri: { type: String, attribute: 'shipping-method-uri' },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
render() {
|
|
23
|
+
var _a, _b, _c;
|
|
24
|
+
const service = (_a = this.data) === null || _a === void 0 ? void 0 : _a._embedded['fx:store_shipping_services'][0];
|
|
25
|
+
const parent = service ? undefined : this.href;
|
|
26
|
+
const href = service ? service._links.self.href : undefined;
|
|
27
|
+
return html `
|
|
28
|
+
<foxy-internal-store-shipping-method-form-services-page-item-content
|
|
29
|
+
shipping-service-uri=${ifDefined((_b = this.shippingServiceUri) !== null && _b !== void 0 ? _b : void 0)}
|
|
30
|
+
shipping-method-uri=${ifDefined((_c = this.shippingMethodUri) !== null && _c !== void 0 ? _c : void 0)}
|
|
31
|
+
data-testid="content"
|
|
32
|
+
parent=${ifDefined(parent)}
|
|
33
|
+
class="h-full"
|
|
34
|
+
infer=""
|
|
35
|
+
href=${ifDefined(href)}
|
|
36
|
+
>
|
|
37
|
+
<slot></slot>
|
|
38
|
+
<span class=${this.internationalAllowed || !href ? 'text-tertiary' : 'text-error'}>
|
|
39
|
+
<slot name="suffix"></slot>
|
|
40
|
+
</span>
|
|
41
|
+
</foxy-internal-store-shipping-method-form-services-page-item-content>
|
|
42
|
+
`;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=InternalStoreShippingMethodFormServicesPageItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InternalStoreShippingMethodFormServicesPageItem.js","sourceRoot":"","sources":["../../../../../../src/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItem/InternalStoreShippingMethodFormServicesPageItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,IAAI,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,8CAA2C;AACvE,OAAO,EAAE,cAAc,EAAE,kDAA+C;AAIxE,OAAO,EAAE,cAAc,EAAE,2CAAwC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAG3D,MAAM,IAAI,GAAG,iBAAiB,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC;AAE/D,MAAM,OAAO,+CAAgD,SAAQ,IAAU;IAA/E;;QAUE,yBAAoB,GAAG,KAAK,CAAC;QAE7B,uBAAkB,GAAkB,IAAI,CAAC;QAEzC,sBAAiB,GAAkB,IAAI,CAAC;IAwB1C,CAAC;IArCC,MAAM,KAAK,UAAU;QACnB,OAAO;YACL,GAAG,KAAK,CAAC,UAAU;YACnB,oBAAoB,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE;YAC3E,kBAAkB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,sBAAsB,EAAE;YACvE,iBAAiB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,qBAAqB,EAAE;SACtE,CAAC;IACJ,CAAC;IAQD,MAAM;;QACJ,MAAM,OAAO,SAAG,IAAI,CAAC,IAAI,0CAAE,SAAS,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAC;QACtE,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QAC/C,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;QAE5D,OAAO,IAAI,CAAA;;+BAEgB,SAAS,OAAC,IAAI,CAAC,kBAAkB,mCAAI,KAAK,CAAC,CAAC;8BAC7C,SAAS,OAAC,IAAI,CAAC,iBAAiB,mCAAI,KAAK,CAAC,CAAC;;iBAExD,SAAS,CAAC,MAAM,CAAC;;;eAGnB,SAAS,CAAC,IAAI,CAAC;;;sBAGR,IAAI,CAAC,oBAAoB,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,YAAY;;;;KAIpF,CAAC;IACJ,CAAC;CACF","sourcesContent":["import { TemplateResult, html } from 'lit-html';\nimport { ConfigurableMixin } from '../../../../../mixins/configurable';\nimport { NucleonElement } from '../../../NucleonElement/NucleonElement';\nimport { PropertyDeclarations } from 'lit-element';\nimport { Rels } from '@foxy.io/sdk/backend';\nimport { Resource } from '@foxy.io/sdk/core';\nimport { ThemeableMixin } from '../../../../../mixins/themeable';\nimport { ifDefined } from 'lit-html/directives/if-defined';\n\ntype Data = Resource<Rels.StoreShippingServices>;\nconst Base = ConfigurableMixin(ThemeableMixin(NucleonElement));\n\nexport class InternalStoreShippingMethodFormServicesPageItem extends Base<Data> {\n static get properties(): PropertyDeclarations {\n return {\n ...super.properties,\n internationalAllowed: { type: Boolean, attribute: 'international-allowed' },\n shippingServiceUri: { type: String, attribute: 'shipping-service-uri' },\n shippingMethodUri: { type: String, attribute: 'shipping-method-uri' },\n };\n }\n\n internationalAllowed = false;\n\n shippingServiceUri: string | null = null;\n\n shippingMethodUri: string | null = null;\n\n render(): TemplateResult {\n const service = this.data?._embedded['fx:store_shipping_services'][0];\n const parent = service ? undefined : this.href;\n const href = service ? service._links.self.href : undefined;\n\n return html`\n <foxy-internal-store-shipping-method-form-services-page-item-content\n shipping-service-uri=${ifDefined(this.shippingServiceUri ?? void 0)}\n shipping-method-uri=${ifDefined(this.shippingMethodUri ?? void 0)}\n data-testid=\"content\"\n parent=${ifDefined(parent)}\n class=\"h-full\"\n infer=\"\"\n href=${ifDefined(href)}\n >\n <slot></slot>\n <span class=${this.internationalAllowed || !href ? 'text-tertiary' : 'text-error'}>\n <slot name=\"suffix\"></slot>\n </span>\n </foxy-internal-store-shipping-method-form-services-page-item-content>\n `;\n }\n}\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import "../InternalStoreShippingMethodFormServicesPageItemContent/index.js";
|
|
2
|
+
import { InternalStoreShippingMethodFormServicesPageItem } from "./InternalStoreShippingMethodFormServicesPageItem.js";
|
|
3
|
+
customElements.define('foxy-internal-store-shipping-method-form-services-page-item', InternalStoreShippingMethodFormServicesPageItem);
|
|
4
|
+
export { InternalStoreShippingMethodFormServicesPageItem };
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItem/index.ts"],"names":[],"mappings":"AAAA,4EAAyE;AAEzE,OAAO,EAAE,+CAA+C,EAAE,6DAA0D;AAEpH,cAAc,CAAC,MAAM,CACnB,6DAA6D,EAC7D,+CAA+C,CAChD,CAAC;AAEF,OAAO,EAAE,+CAA+C,EAAE,CAAC","sourcesContent":["import '../InternalStoreShippingMethodFormServicesPageItemContent/index';\n\nimport { InternalStoreShippingMethodFormServicesPageItem } from './InternalStoreShippingMethodFormServicesPageItem';\n\ncustomElements.define(\n 'foxy-internal-store-shipping-method-form-services-page-item',\n InternalStoreShippingMethodFormServicesPageItem\n);\n\nexport { InternalStoreShippingMethodFormServicesPageItem };\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TemplateResult } from 'lit-html';
|
|
2
|
+
import { NucleonElement } from '../../../NucleonElement/NucleonElement';
|
|
3
|
+
import { PropertyDeclarations } from 'lit-element';
|
|
4
|
+
import { Rels } from '@foxy.io/sdk/backend';
|
|
5
|
+
import { Resource } from '@foxy.io/sdk/core';
|
|
6
|
+
declare type Data = Resource<Rels.StoreShippingService>;
|
|
7
|
+
declare const Base: typeof NucleonElement & {
|
|
8
|
+
styles: import("lit-element").CSSResultArray;
|
|
9
|
+
} & import("lit-element").Constructor<import("../../../../../mixins/configurable").ConfigurableMixinHost>;
|
|
10
|
+
export declare class InternalStoreShippingMethodFormServicesPageItemContent extends Base<Data> {
|
|
11
|
+
static get properties(): PropertyDeclarations;
|
|
12
|
+
shippingServiceUri: string | null;
|
|
13
|
+
shippingMethodUri: string | null;
|
|
14
|
+
render(): TemplateResult;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { html } from 'lit-html';
|
|
2
|
+
import { ConfigurableMixin } from "../../../../../mixins/configurable.js";
|
|
3
|
+
import { NucleonElement } from "../../../NucleonElement/NucleonElement.js";
|
|
4
|
+
import { ThemeableMixin } from "../../../../../mixins/themeable.js";
|
|
5
|
+
const Base = ConfigurableMixin(ThemeableMixin(NucleonElement));
|
|
6
|
+
export class InternalStoreShippingMethodFormServicesPageItemContent extends Base {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.shippingServiceUri = null;
|
|
10
|
+
this.shippingMethodUri = null;
|
|
11
|
+
}
|
|
12
|
+
static get properties() {
|
|
13
|
+
return {
|
|
14
|
+
...super.properties,
|
|
15
|
+
shippingServiceUri: { type: String, attribute: 'shipping-service-uri' },
|
|
16
|
+
shippingMethodUri: { type: String, attribute: 'shipping-method-uri' },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
render() {
|
|
20
|
+
return html `
|
|
21
|
+
<div class="h-full flex items-center">
|
|
22
|
+
<vaadin-checkbox
|
|
23
|
+
data-testid="checkbox"
|
|
24
|
+
class="w-full"
|
|
25
|
+
?disabled=${!this.in('idle') || this.disabled}
|
|
26
|
+
?readonly=${this.readonly}
|
|
27
|
+
?checked=${!!this.data}
|
|
28
|
+
@change=${(evt) => {
|
|
29
|
+
var _a, _b;
|
|
30
|
+
const checkbox = evt.currentTarget;
|
|
31
|
+
if (checkbox.checked) {
|
|
32
|
+
this.edit({
|
|
33
|
+
shipping_service_uri: (_a = this.shippingServiceUri) !== null && _a !== void 0 ? _a : '',
|
|
34
|
+
shipping_method_uri: (_b = this.shippingMethodUri) !== null && _b !== void 0 ? _b : '',
|
|
35
|
+
});
|
|
36
|
+
this.submit();
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
this.delete();
|
|
40
|
+
}
|
|
41
|
+
}}
|
|
42
|
+
>
|
|
43
|
+
<slot></slot>
|
|
44
|
+
</vaadin-checkbox>
|
|
45
|
+
</div>
|
|
46
|
+
`;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=InternalStoreShippingMethodFormServicesPageItemContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InternalStoreShippingMethodFormServicesPageItemContent.js","sourceRoot":"","sources":["../../../../../../src/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItemContent/InternalStoreShippingMethodFormServicesPageItemContent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,IAAI,EAAE,MAAM,UAAU,CAAC;AAEhD,OAAO,EAAE,iBAAiB,EAAE,8CAA2C;AACvE,OAAO,EAAE,cAAc,EAAE,kDAA+C;AAIxE,OAAO,EAAE,cAAc,EAAE,2CAAwC;AAGjE,MAAM,IAAI,GAAG,iBAAiB,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC;AAE/D,MAAM,OAAO,sDAAuD,SAAQ,IAAU;IAAtF;;QASE,uBAAkB,GAAkB,IAAI,CAAC;QAEzC,sBAAiB,GAAkB,IAAI,CAAC;IA+B1C,CAAC;IAzCC,MAAM,KAAK,UAAU;QACnB,OAAO;YACL,GAAG,KAAK,CAAC,UAAU;YACnB,kBAAkB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,sBAAsB,EAAE;YACvE,iBAAiB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,qBAAqB,EAAE;SACtE,CAAC;IACJ,CAAC;IAMD,MAAM;QACJ,OAAO,IAAI,CAAA;;;;;sBAKO,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,QAAQ;sBACjC,IAAI,CAAC,QAAQ;qBACd,CAAC,CAAC,IAAI,CAAC,IAAI;oBACZ,CAAC,GAAgB,EAAE,EAAE;;YAC7B,MAAM,QAAQ,GAAG,GAAG,CAAC,aAAgC,CAAC;YAEtD,IAAI,QAAQ,CAAC,OAAO,EAAE;gBACpB,IAAI,CAAC,IAAI,CAAC;oBACR,oBAAoB,QAAE,IAAI,CAAC,kBAAkB,mCAAI,EAAE;oBACnD,mBAAmB,QAAE,IAAI,CAAC,iBAAiB,mCAAI,EAAE;iBAClD,CAAC,CAAC;gBAEH,IAAI,CAAC,MAAM,EAAE,CAAC;aACf;iBAAM;gBACL,IAAI,CAAC,MAAM,EAAE,CAAC;aACf;QACH,CAAC;;;;;KAKN,CAAC;IACJ,CAAC;CACF","sourcesContent":["import { TemplateResult, html } from 'lit-html';\nimport { CheckboxElement } from '@vaadin/vaadin-checkbox';\nimport { ConfigurableMixin } from '../../../../../mixins/configurable';\nimport { NucleonElement } from '../../../NucleonElement/NucleonElement';\nimport { PropertyDeclarations } from 'lit-element';\nimport { Rels } from '@foxy.io/sdk/backend';\nimport { Resource } from '@foxy.io/sdk/core';\nimport { ThemeableMixin } from '../../../../../mixins/themeable';\n\ntype Data = Resource<Rels.StoreShippingService>;\nconst Base = ConfigurableMixin(ThemeableMixin(NucleonElement));\n\nexport class InternalStoreShippingMethodFormServicesPageItemContent extends Base<Data> {\n static get properties(): PropertyDeclarations {\n return {\n ...super.properties,\n shippingServiceUri: { type: String, attribute: 'shipping-service-uri' },\n shippingMethodUri: { type: String, attribute: 'shipping-method-uri' },\n };\n }\n\n shippingServiceUri: string | null = null;\n\n shippingMethodUri: string | null = null;\n\n render(): TemplateResult {\n return html`\n <div class=\"h-full flex items-center\">\n <vaadin-checkbox\n data-testid=\"checkbox\"\n class=\"w-full\"\n ?disabled=${!this.in('idle') || this.disabled}\n ?readonly=${this.readonly}\n ?checked=${!!this.data}\n @change=${(evt: CustomEvent) => {\n const checkbox = evt.currentTarget as CheckboxElement;\n\n if (checkbox.checked) {\n this.edit({\n shipping_service_uri: this.shippingServiceUri ?? '',\n shipping_method_uri: this.shippingMethodUri ?? '',\n });\n\n this.submit();\n } else {\n this.delete();\n }\n }}\n >\n <slot></slot>\n </vaadin-checkbox>\n </div>\n `;\n }\n}\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import '@vaadin/vaadin-checkbox';
|
|
2
|
+
import { InternalStoreShippingMethodFormServicesPageItemContent } from "./InternalStoreShippingMethodFormServicesPageItemContent.js";
|
|
3
|
+
customElements.define('foxy-internal-store-shipping-method-form-services-page-item-content', InternalStoreShippingMethodFormServicesPageItemContent);
|
|
4
|
+
export { InternalStoreShippingMethodFormServicesPageItemContent };
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItemContent/index.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AAEjC,OAAO,EAAE,sDAAsD,EAAE,oEAAiE;AAElI,cAAc,CAAC,MAAM,CACnB,qEAAqE,EACrE,sDAAsD,CACvD,CAAC;AAEF,OAAO,EAAE,sDAAsD,EAAE,CAAC","sourcesContent":["import '@vaadin/vaadin-checkbox';\n\nimport { InternalStoreShippingMethodFormServicesPageItemContent } from './InternalStoreShippingMethodFormServicesPageItemContent';\n\ncustomElements.define(\n 'foxy-internal-store-shipping-method-form-services-page-item-content',\n InternalStoreShippingMethodFormServicesPageItemContent\n);\n\nexport { InternalStoreShippingMethodFormServicesPageItemContent };\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/elements/public/StoreShippingMethodForm/types.ts"],"names":[],"mappings":"","sourcesContent":["import type { Rels } from '@foxy.io/sdk/backend';\nimport type { Resource } from '@foxy.io/sdk/core';\n\nexport type Data = Resource<\n Rels.StoreShippingMethod,\n {\n zoom: ['shipping_method', 'shipping_container', 'shipping_drop_type'];\n }\n>;\n"]}
|
|
@@ -51,6 +51,7 @@ export { PaymentMethodCard } from './PaymentMethodCard/PaymentMethodCard';
|
|
|
51
51
|
export { QueryBuilder } from './QueryBuilder/QueryBuilder';
|
|
52
52
|
export { SignInForm } from './SignInForm/SignInForm';
|
|
53
53
|
export { Spinner } from './Spinner/Spinner';
|
|
54
|
+
export { StoreShippingMethodForm } from './StoreShippingMethodForm/StoreShippingMethodForm';
|
|
54
55
|
export { SubscriptionCard } from './SubscriptionCard/SubscriptionCard';
|
|
55
56
|
export { SubscriptionForm } from './SubscriptionForm/SubscriptionForm';
|
|
56
57
|
export { SubscriptionsTable } from './SubscriptionsTable/SubscriptionsTable';
|
|
@@ -51,6 +51,7 @@ export { PaymentMethodCard } from './PaymentMethodCard/index';
|
|
|
51
51
|
export { QueryBuilder } from './QueryBuilder/index';
|
|
52
52
|
export { SignInForm } from './SignInForm/index';
|
|
53
53
|
export { Spinner } from './Spinner/index';
|
|
54
|
+
export { StoreShippingMethodForm } from './StoreShippingMethodForm/index';
|
|
54
55
|
export { SubscriptionCard } from './SubscriptionCard/index';
|
|
55
56
|
export { SubscriptionForm } from './SubscriptionForm/index';
|
|
56
57
|
export { SubscriptionsTable } from './SubscriptionsTable/index';
|
|
@@ -51,6 +51,7 @@ export { PaymentMethodCard } from "./PaymentMethodCard/index.js";
|
|
|
51
51
|
export { QueryBuilder } from "./QueryBuilder/index.js";
|
|
52
52
|
export { SignInForm } from "./SignInForm/index.js";
|
|
53
53
|
export { Spinner } from "./Spinner/index.js";
|
|
54
|
+
export { StoreShippingMethodForm } from "./StoreShippingMethodForm/index.js";
|
|
54
55
|
export { SubscriptionCard } from "./SubscriptionCard/index.js";
|
|
55
56
|
export { SubscriptionForm } from "./SubscriptionForm/index.js";
|
|
56
57
|
export { SubscriptionsTable } from "./SubscriptionsTable/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.defined.js","sourceRoot":"","sources":["../../../src/elements/public/index.defined.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,sCAAmC;AAChE,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,8BAA2B;AAChD,OAAO,EAAE,cAAc,EAAE,kCAA+B;AACxD,OAAO,EAAE,aAAa,EAAE,iCAA8B;AACtD,OAAO,EAAE,aAAa,EAAE,iCAA8B;AACtD,OAAO,EAAE,gBAAgB,EAAE,oCAAiC;AAC5D,OAAO,EAAE,cAAc,EAAE,kCAA+B;AACxD,OAAO,EAAE,eAAe,EAAE,mCAAgC;AAC1D,OAAO,EAAE,eAAe,EAAE,mCAAgC;AAC1D,OAAO,EAAE,UAAU,EAAE,8BAA2B;AAChD,OAAO,EAAE,cAAc,EAAE,kCAA+B;AACxD,OAAO,EAAE,eAAe,EAAE,mCAAgC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,oCAAiC;AAC5D,OAAO,EAAE,UAAU,EAAE,8BAA2B;AAChD,OAAO,EAAE,QAAQ,EAAE,4BAAyB;AAC5C,OAAO,EAAE,WAAW,EAAE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AAE,gCAA6B;AACpD,OAAO,EAAE,iBAAiB,EAAE,qCAAkC;AAC9D,OAAO,EAAE,YAAY,EAAE,gCAA6B;AACpD,OAAO,EAAE,UAAU,EAAE,8BAA2B;AAChD,OAAO,EAAE,OAAO,EAAE,2BAAwB;AAC1C,OAAO,EAAE,gBAAgB,EAAE,oCAAiC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,oCAAiC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,sCAAmC;AAChE,OAAO,EAAE,YAAY,EAAE,gCAA6B;AACpD,OAAO,EAAE,KAAK,EAAE,yBAAsB;AACtC,OAAO,EAAE,OAAO,EAAE,2BAAwB;AAC1C,OAAO,EAAE,OAAO,EAAE,2BAAwB;AAC1C,OAAO,EAAE,kBAAkB,EAAE,sCAAmC;AAChE,OAAO,EAAE,YAAY,EAAE,gCAA6B;AACpD,OAAO,EAAE,eAAe,EAAE,mCAAgC;AAC1D,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,iBAAiB,EAAE,qCAAkC;AAC9D,OAAO,EAAE,QAAQ,EAAE,4BAAyB;AAC5C,OAAO,EAAE,UAAU,EAAE,8BAA2B;AAChD,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,cAAc,EAAE,kCAA+B;AACxD,OAAO,EAAE,iBAAiB,EAAE,qCAAkC","sourcesContent":["export { AccessRecoveryForm } from './AccessRecoveryForm/index';\nexport { AddressCard } from './AddressCard/index';\nexport { AddressForm } from './AddressForm/index';\nexport { ApiBrowser } from './ApiBrowser/index';\nexport { AppliedTaxCard } from './AppliedTaxCard/index';\nexport { AttributeCard } from './AttributeCard/index';\nexport { AttributeForm } from './AttributeForm/index';\nexport { CancellationForm } from './CancellationForm/index';\nexport { CollectionPage } from './CollectionPage/index';\nexport { CollectionPages } from './CollectionPages/index';\nexport { CopyToClipboard } from './CopyToClipboard/index';\nexport { CouponCard } from './CouponCard/index';\nexport { CouponCodeForm } from './CouponCodeForm/index';\nexport { CouponCodesForm } from './CouponCodesForm/index';\nexport { CouponDetailCard } from './CouponDetailCard/index';\nexport { CouponForm } from './CouponForm/index';\nexport { Customer } from './Customer/index';\nexport { CustomerApi } from './CustomerApi/index';\nexport { CustomerCard } from './CustomerCard/index';\nexport { CustomerForm } from './CustomerForm/index';\nexport { CustomerPortal } from './CustomerPortal/index';\nexport { CustomerPortalSettings } from './CustomerPortalSettings/index';\nexport { CustomersTable } from './CustomersTable/index';\nexport { CustomFieldCard } from './CustomFieldCard/index';\nexport { CustomFieldForm } from './CustomFieldForm/index';\nexport { DiscountBuilder } from './DiscountBuilder/index';\nexport { DiscountCard } from './DiscountCard/index';\nexport { DiscountDetailCard } from './DiscountDetailCard/index';\nexport { ReportForm } from './ReportForm/index';\nexport { ReportsTable } from './ReportsTable/index';\nexport { Donation } from './Donation/index';\nexport { EmailTemplateForm } from './EmailTemplateForm/index';\nexport { ErrorEntryCard } from './ErrorEntryCard/index';\nexport { FormDialog } from './FormDialog/index';\nexport { GenerateCodesForm } from './GenerateCodesForm/index';\nexport { GiftCardCard } from './GiftCardCard/index';\nexport { GiftCardCodeForm } from './GiftCardCodeForm/index';\nexport { GiftCardCodesForm } from './GiftCardCodesForm/index';\nexport { GiftCardForm } from './GiftCardForm/index';\nexport { I18n } from './I18n/index';\nexport { ItemCard } from './ItemCard/index';\nexport { ItemForm } from './ItemForm/index';\nexport { ItemOptionCard } from './ItemOptionCard/index';\nexport { ItemOptionForm } from './ItemOptionForm/index';\nexport { ItemsForm, Item } from './ItemsForm/index';\nexport { NucleonElement } from './NucleonElement/index';\nexport { Pagination } from './Pagination/index';\nexport { PaymentCard } from './PaymentCard/index';\nexport { ShipmentCard } from './ShipmentCard/index';\nexport { PaymentMethodCard } from './PaymentMethodCard/index';\nexport { QueryBuilder } from './QueryBuilder/index';\nexport { SignInForm } from './SignInForm/index';\nexport { Spinner } from './Spinner/index';\nexport { SubscriptionCard } from './SubscriptionCard/index';\nexport { SubscriptionForm } from './SubscriptionForm/index';\nexport { SubscriptionsTable } from './SubscriptionsTable/index';\nexport { SwipeActions } from './SwipeActions/index';\nexport { Table } from './Table/index';\nexport { TaxCard } from './TaxCard/index';\nexport { TaxForm } from './TaxForm/index';\nexport { TemplateConfigForm } from './TemplateConfigForm/index';\nexport { TemplateForm } from './TemplateForm/index';\nexport { TransactionCard } from './TransactionCard/index';\nexport { Transaction } from './Transaction/index';\nexport { TransactionsTable } from './TransactionsTable/index';\nexport { UserForm } from './UserForm/index';\nexport { UsersTable } from './UsersTable/index';\nexport { WebhookCard } from './WebhookCard/index';\nexport { WebhookForm } from './WebhookForm/index';\nexport { WebhookLogCard } from './WebhookLogCard/index';\nexport { WebhookStatusCard } from './WebhookStatusCard/index';\n"]}
|
|
1
|
+
{"version":3,"file":"index.defined.js","sourceRoot":"","sources":["../../../src/elements/public/index.defined.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,sCAAmC;AAChE,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,8BAA2B;AAChD,OAAO,EAAE,cAAc,EAAE,kCAA+B;AACxD,OAAO,EAAE,aAAa,EAAE,iCAA8B;AACtD,OAAO,EAAE,aAAa,EAAE,iCAA8B;AACtD,OAAO,EAAE,gBAAgB,EAAE,oCAAiC;AAC5D,OAAO,EAAE,cAAc,EAAE,kCAA+B;AACxD,OAAO,EAAE,eAAe,EAAE,mCAAgC;AAC1D,OAAO,EAAE,eAAe,EAAE,mCAAgC;AAC1D,OAAO,EAAE,UAAU,EAAE,8BAA2B;AAChD,OAAO,EAAE,cAAc,EAAE,kCAA+B;AACxD,OAAO,EAAE,eAAe,EAAE,mCAAgC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,oCAAiC;AAC5D,OAAO,EAAE,UAAU,EAAE,8BAA2B;AAChD,OAAO,E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AAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,YAAY,EAAE,gCAA6B;AACpD,OAAO,EAAE,iBAAiB,EAAE,qCAAkC;AAC9D,OAAO,EAAE,YAAY,EAAE,gCAA6B;AACpD,OAAO,EAAE,UAAU,EAAE,8BAA2B;AAChD,OAAO,EAAE,OAAO,EAAE,2BAAwB;AAC1C,OAAO,EAAE,uBAAuB,EAAE,2CAAwC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,oCAAiC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,oCAAiC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,sCAAmC;AAChE,OAAO,EAAE,YAAY,EAAE,gCAA6B;AACpD,OAAO,EAAE,KAAK,EAAE,yBAAsB;AACtC,OAAO,EAAE,OAAO,EAAE,2BAAwB;AAC1C,OAAO,EAAE,OAAO,EAAE,2BAAwB;AAC1C,OAAO,EAAE,kBAAkB,EAAE,sCAAmC;AAChE,OAAO,EAAE,YAAY,EAAE,gCAA6B;AACpD,OAAO,EAAE,eAAe,EAAE,mCAAgC;AAC1D,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,iBAAiB,EAAE,qCAAkC;AAC9D,OAAO,EAAE,QAAQ,EAAE,4BAAyB;AAC5C,OAAO,EAAE,UAAU,EAAE,8BAA2B;AAChD,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,cAAc,EAAE,kCAA+B;AACxD,OAAO,EAAE,iBAAiB,EAAE,qCAAkC","sourcesContent":["export { AccessRecoveryForm } from './AccessRecoveryForm/index';\nexport { AddressCard } from './AddressCard/index';\nexport { AddressForm } from './AddressForm/index';\nexport { ApiBrowser } from './ApiBrowser/index';\nexport { AppliedTaxCard } from './AppliedTaxCard/index';\nexport { AttributeCard } from './AttributeCard/index';\nexport { AttributeForm } from './AttributeForm/index';\nexport { CancellationForm } from './CancellationForm/index';\nexport { CollectionPage } from './CollectionPage/index';\nexport { CollectionPages } from './CollectionPages/index';\nexport { CopyToClipboard } from './CopyToClipboard/index';\nexport { CouponCard } from './CouponCard/index';\nexport { CouponCodeForm } from './CouponCodeForm/index';\nexport { CouponCodesForm } from './CouponCodesForm/index';\nexport { CouponDetailCard } from './CouponDetailCard/index';\nexport { CouponForm } from './CouponForm/index';\nexport { Customer } from './Customer/index';\nexport { CustomerApi } from './CustomerApi/index';\nexport { CustomerCard } from './CustomerCard/index';\nexport { CustomerForm } from './CustomerForm/index';\nexport { CustomerPortal } from './CustomerPortal/index';\nexport { CustomerPortalSettings } from './CustomerPortalSettings/index';\nexport { CustomersTable } from './CustomersTable/index';\nexport { CustomFieldCard } from './CustomFieldCard/index';\nexport { CustomFieldForm } from './CustomFieldForm/index';\nexport { DiscountBuilder } from './DiscountBuilder/index';\nexport { DiscountCard } from './DiscountCard/index';\nexport { DiscountDetailCard } from './DiscountDetailCard/index';\nexport { ReportForm } from './ReportForm/index';\nexport { ReportsTable } from './ReportsTable/index';\nexport { Donation } from './Donation/index';\nexport { EmailTemplateForm } from './EmailTemplateForm/index';\nexport { ErrorEntryCard } from './ErrorEntryCard/index';\nexport { FormDialog } from './FormDialog/index';\nexport { GenerateCodesForm } from './GenerateCodesForm/index';\nexport { GiftCardCard } from './GiftCardCard/index';\nexport { GiftCardCodeForm } from './GiftCardCodeForm/index';\nexport { GiftCardCodesForm } from './GiftCardCodesForm/index';\nexport { GiftCardForm } from './GiftCardForm/index';\nexport { I18n } from './I18n/index';\nexport { ItemCard } from './ItemCard/index';\nexport { ItemForm } from './ItemForm/index';\nexport { ItemOptionCard } from './ItemOptionCard/index';\nexport { ItemOptionForm } from './ItemOptionForm/index';\nexport { ItemsForm, Item } from './ItemsForm/index';\nexport { NucleonElement } from './NucleonElement/index';\nexport { Pagination } from './Pagination/index';\nexport { PaymentCard } from './PaymentCard/index';\nexport { ShipmentCard } from './ShipmentCard/index';\nexport { PaymentMethodCard } from './PaymentMethodCard/index';\nexport { QueryBuilder } from './QueryBuilder/index';\nexport { SignInForm } from './SignInForm/index';\nexport { Spinner } from './Spinner/index';\nexport { StoreShippingMethodForm } from './StoreShippingMethodForm/index';\nexport { SubscriptionCard } from './SubscriptionCard/index';\nexport { SubscriptionForm } from './SubscriptionForm/index';\nexport { SubscriptionsTable } from './SubscriptionsTable/index';\nexport { SwipeActions } from './SwipeActions/index';\nexport { Table } from './Table/index';\nexport { TaxCard } from './TaxCard/index';\nexport { TaxForm } from './TaxForm/index';\nexport { TemplateConfigForm } from './TemplateConfigForm/index';\nexport { TemplateForm } from './TemplateForm/index';\nexport { TransactionCard } from './TransactionCard/index';\nexport { Transaction } from './Transaction/index';\nexport { TransactionsTable } from './TransactionsTable/index';\nexport { UserForm } from './UserForm/index';\nexport { UsersTable } from './UsersTable/index';\nexport { WebhookCard } from './WebhookCard/index';\nexport { WebhookForm } from './WebhookForm/index';\nexport { WebhookLogCard } from './WebhookLogCard/index';\nexport { WebhookStatusCard } from './WebhookStatusCard/index';\n"]}
|
|
@@ -51,6 +51,7 @@ export { PaymentMethodCard } from "./PaymentMethodCard/PaymentMethodCard.js";
|
|
|
51
51
|
export { QueryBuilder } from "./QueryBuilder/QueryBuilder.js";
|
|
52
52
|
export { SignInForm } from "./SignInForm/SignInForm.js";
|
|
53
53
|
export { Spinner } from "./Spinner/Spinner.js";
|
|
54
|
+
export { StoreShippingMethodForm } from "./StoreShippingMethodForm/StoreShippingMethodForm.js";
|
|
54
55
|
export { SubscriptionCard } from "./SubscriptionCard/SubscriptionCard.js";
|
|
55
56
|
export { SubscriptionForm } from "./SubscriptionForm/SubscriptionForm.js";
|
|
56
57
|
export { SubscriptionsTable } from "./SubscriptionsTable/SubscriptionsTable.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/elements/public/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,mDAAgD;AAC7E,OAAO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AAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,EAAE,iBAAiB,EAAE,iDAA8C;AAC1E,OAAO,EAAE,QAAQ,EAAE,+BAA4B;AAC/C,OAAO,EAAE,UAAU,EAAE,mCAAgC;AACrD,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,EAAE,cAAc,EAAE,2CAAwC;AACjE,OAAO,EAAE,iBAAiB,EAAE,iDAA8C","sourcesContent":["export { AccessRecoveryForm } from './AccessRecoveryForm/AccessRecoveryForm';\nexport { AddressCard } from './AddressCard/AddressCard';\nexport { AddressForm } from './AddressForm/AddressForm';\nexport { ApiBrowser } from './ApiBrowser/ApiBrowser';\nexport { AppliedTaxCard } from './AppliedTaxCard/AppliedTaxCard';\nexport { AttributeCard } from './AttributeCard/AttributeCard';\nexport { AttributeForm } from './AttributeForm/AttributeForm';\nexport { CancellationForm } from './CancellationForm/CancellationForm';\nexport { CollectionPage } from './CollectionPage/CollectionPage';\nexport { CollectionPages } from './CollectionPages/CollectionPages';\nexport { CopyToClipboard } from './CopyToClipboard/CopyToClipboard';\nexport { CouponCard } from './CouponCard/CouponCard';\nexport { CouponCodeForm } from './CouponCodeForm/CouponCodeForm';\nexport { CouponCodesForm } from './CouponCodesForm/CouponCodesForm';\nexport { CouponDetailCard } from './CouponDetailCard/index';\nexport { CouponForm } from './CouponForm/CouponForm';\nexport { Customer } from './Customer/Customer';\nexport { CustomerApi } from './CustomerApi/CustomerApi';\nexport { CustomerCard } from './CustomerCard/CustomerCard';\nexport { CustomerForm } from './CustomerForm/CustomerForm';\nexport { CustomerPortal } from './CustomerPortal/CustomerPortal';\nexport { CustomerPortalSettings } from './CustomerPortalSettings/CustomerPortalSettings';\nexport { CustomersTable } from './CustomersTable/CustomersTable';\nexport { CustomFieldCard } from './CustomFieldCard/CustomFieldCard';\nexport { CustomFieldForm } from './CustomFieldForm/CustomFieldForm';\nexport { DiscountBuilder } from './DiscountBuilder/DiscountBuilder';\nexport { DiscountCard } from './DiscountCard/DiscountCard';\nexport { DiscountDetailCard } from './DiscountDetailCard/DiscountDetailCard';\nexport { ReportForm } from './ReportForm/ReportForm';\nexport { ReportsTable } from './ReportsTable/ReportsTable';\nexport { Donation } from './Donation/Donation';\nexport { EmailTemplateForm } from './EmailTemplateForm/EmailTemplateForm';\nexport { ErrorEntryCard } from './ErrorEntryCard/ErrorEntryCard';\nexport { FormDialog } from './FormDialog/FormDialog';\nexport { GenerateCodesForm } from './GenerateCodesForm/GenerateCodesForm';\nexport { GiftCardCard } from './GiftCardCard/GiftCardCard';\nexport { GiftCardCodeForm } from './GiftCardCodeForm/GiftCardCodeForm';\nexport { GiftCardCodesForm } from './GiftCardCodesForm/GiftCardCodesForm';\nexport { GiftCardForm } from './GiftCardForm/GiftCardForm';\nexport { I18n } from './I18n/I18n';\nexport { ItemCard } from './ItemCard/ItemCard';\nexport { ItemForm } from './ItemForm/ItemForm';\nexport { ItemOptionCard } from './ItemOptionCard/ItemOptionCard';\nexport { ItemOptionForm } from './ItemOptionForm/ItemOptionForm';\nexport { ItemsForm, Item } from './ItemsForm/ItemsForm';\nexport { NucleonElement } from './NucleonElement/NucleonElement';\nexport { Pagination } from './Pagination/Pagination';\nexport { PaymentCard } from './PaymentCard/PaymentCard';\nexport { ShipmentCard } from './ShipmentCard/ShipmentCard';\nexport { PaymentMethodCard } from './PaymentMethodCard/PaymentMethodCard';\nexport { QueryBuilder } from './QueryBuilder/QueryBuilder';\nexport { SignInForm } from './SignInForm/SignInForm';\nexport { Spinner } from './Spinner/Spinner';\nexport { SubscriptionCard } from './SubscriptionCard/SubscriptionCard';\nexport { SubscriptionForm } from './SubscriptionForm/SubscriptionForm';\nexport { SubscriptionsTable } from './SubscriptionsTable/SubscriptionsTable';\nexport { SwipeActions } from './SwipeActions/SwipeActions';\nexport { Table } from './Table/Table';\nexport { TaxCard } from './TaxCard/TaxCard';\nexport { TaxForm } from './TaxForm/TaxForm';\nexport { TemplateForm } from './TemplateForm/TemplateForm';\nexport { TemplateConfigForm } from './TemplateConfigForm/TemplateConfigForm';\nexport { TransactionCard } from './TransactionCard/TransactionCard';\nexport { Transaction } from './Transaction/Transaction';\nexport { TransactionsTable } from './TransactionsTable/TransactionsTable';\nexport { UserForm } from './UserForm/UserForm';\nexport { UsersTable } from './UsersTable/UsersTable';\nexport { WebhookCard } from './WebhookCard/WebhookCard';\nexport { WebhookForm } from './WebhookForm/WebhookForm';\nexport { WebhookLogCard } from './WebhookLogCard/WebhookLogCard';\nexport { WebhookStatusCard } from './WebhookStatusCard/WebhookStatusCard';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/elements/public/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,mDAAgD;AAC7E,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,EAAE,UAAU,EAAE,mCAAgC;AACrD,OAAO,EAAE,cAAc,EAAE,2CAAwC;AACjE,OAAO,EAAE,aAAa,EAAE,yCAAsC;AAC9D,OAAO,EAAE,aAAa,EAAE,yCAAsC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,+CAA4C;AACvE,OAAO,EAAE,cAAc,EAAE,2CAAwC;AACjE,OAAO,EAAE,eAAe,EAAE,6CAA0C;AACpE,OAAO,EAAE,eAAe,EAAE,6CAA0C;AACpE,OAAO,EAAE,UAAU,EAAE,mCAAgC;AACrD,OAAO,EAAE,cAAc,EAAE,2CAAwC;AACjE,OAAO,EAAE,eAAe,EAAE,6CAA0C;AACpE,OAAO,EAAE,gBAAgB,EAAE,oCAAiC;AAC5D,OAAO,EAAE,UAAU,EAAE,mCAAgC;AACrD,OAAO,EAAE,QAAQ,EAAE,+BAA4B;AAC/C,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,EAAE,YAAY,EAAE,uCAAoC;AAC3D,OAAO,EA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E,OAAO,EAAE,YAAY,EAAE,uCAAoC;AAC3D,OAAO,EAAE,UAAU,EAAE,mCAAgC;AACrD,OAAO,EAAE,OAAO,EAAE,6BAA0B;AAC5C,OAAO,EAAE,uBAAuB,EAAE,6DAA0D;AAC5F,OAAO,EAAE,gBAAgB,EAAE,+CAA4C;AACvE,OAAO,EAAE,gBAAgB,EAAE,+CAA4C;AACvE,OAAO,EAAE,kBAAkB,EAAE,mDAAgD;AAC7E,OAAO,EAAE,YAAY,EAAE,uCAAoC;AAC3D,OAAO,EAAE,KAAK,EAAE,yBAAsB;AACtC,OAAO,EAAE,OAAO,EAAE,6BAA0B;AAC5C,OAAO,EAAE,OAAO,EAAE,6BAA0B;AAC5C,OAAO,EAAE,YAAY,EAAE,uCAAoC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,mDAAgD;AAC7E,OAAO,EAAE,eAAe,EAAE,6CAA0C;AACpE,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,EAAE,iBAAiB,EAAE,iDAA8C;AAC1E,OAAO,EAAE,QAAQ,EAAE,+BAA4B;AAC/C,OAAO,EAAE,UAAU,EAAE,mCAAgC;AACrD,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,EAAE,cAAc,EAAE,2CAAwC;AACjE,OAAO,EAAE,iBAAiB,EAAE,iDAA8C","sourcesContent":["export { AccessRecoveryForm } from './AccessRecoveryForm/AccessRecoveryForm';\nexport { AddressCard } from './AddressCard/AddressCard';\nexport { AddressForm } from './AddressForm/AddressForm';\nexport { ApiBrowser } from './ApiBrowser/ApiBrowser';\nexport { AppliedTaxCard } from './AppliedTaxCard/AppliedTaxCard';\nexport { AttributeCard } from './AttributeCard/AttributeCard';\nexport { AttributeForm } from './AttributeForm/AttributeForm';\nexport { CancellationForm } from './CancellationForm/CancellationForm';\nexport { CollectionPage } from './CollectionPage/CollectionPage';\nexport { CollectionPages } from './CollectionPages/CollectionPages';\nexport { CopyToClipboard } from './CopyToClipboard/CopyToClipboard';\nexport { CouponCard } from './CouponCard/CouponCard';\nexport { CouponCodeForm } from './CouponCodeForm/CouponCodeForm';\nexport { CouponCodesForm } from './CouponCodesForm/CouponCodesForm';\nexport { CouponDetailCard } from './CouponDetailCard/index';\nexport { CouponForm } from './CouponForm/CouponForm';\nexport { Customer } from './Customer/Customer';\nexport { CustomerApi } from './CustomerApi/CustomerApi';\nexport { CustomerCard } from './CustomerCard/CustomerCard';\nexport { CustomerForm } from './CustomerForm/CustomerForm';\nexport { CustomerPortal } from './CustomerPortal/CustomerPortal';\nexport { CustomerPortalSettings } from './CustomerPortalSettings/CustomerPortalSettings';\nexport { CustomersTable } from './CustomersTable/CustomersTable';\nexport { CustomFieldCard } from './CustomFieldCard/CustomFieldCard';\nexport { CustomFieldForm } from './CustomFieldForm/CustomFieldForm';\nexport { DiscountBuilder } from './DiscountBuilder/DiscountBuilder';\nexport { DiscountCard } from './DiscountCard/DiscountCard';\nexport { DiscountDetailCard } from './DiscountDetailCard/DiscountDetailCard';\nexport { ReportForm } from './ReportForm/ReportForm';\nexport { ReportsTable } from './ReportsTable/ReportsTable';\nexport { Donation } from './Donation/Donation';\nexport { EmailTemplateForm } from './EmailTemplateForm/EmailTemplateForm';\nexport { ErrorEntryCard } from './ErrorEntryCard/ErrorEntryCard';\nexport { FormDialog } from './FormDialog/FormDialog';\nexport { GenerateCodesForm } from './GenerateCodesForm/GenerateCodesForm';\nexport { GiftCardCard } from './GiftCardCard/GiftCardCard';\nexport { GiftCardCodeForm } from './GiftCardCodeForm/GiftCardCodeForm';\nexport { GiftCardCodesForm } from './GiftCardCodesForm/GiftCardCodesForm';\nexport { GiftCardForm } from './GiftCardForm/GiftCardForm';\nexport { I18n } from './I18n/I18n';\nexport { ItemCard } from './ItemCard/ItemCard';\nexport { ItemForm } from './ItemForm/ItemForm';\nexport { ItemOptionCard } from './ItemOptionCard/ItemOptionCard';\nexport { ItemOptionForm } from './ItemOptionForm/ItemOptionForm';\nexport { ItemsForm, Item } from './ItemsForm/ItemsForm';\nexport { NucleonElement } from './NucleonElement/NucleonElement';\nexport { Pagination } from './Pagination/Pagination';\nexport { PaymentCard } from './PaymentCard/PaymentCard';\nexport { ShipmentCard } from './ShipmentCard/ShipmentCard';\nexport { PaymentMethodCard } from './PaymentMethodCard/PaymentMethodCard';\nexport { QueryBuilder } from './QueryBuilder/QueryBuilder';\nexport { SignInForm } from './SignInForm/SignInForm';\nexport { Spinner } from './Spinner/Spinner';\nexport { StoreShippingMethodForm } from './StoreShippingMethodForm/StoreShippingMethodForm';\nexport { SubscriptionCard } from './SubscriptionCard/SubscriptionCard';\nexport { SubscriptionForm } from './SubscriptionForm/SubscriptionForm';\nexport { SubscriptionsTable } from './SubscriptionsTable/SubscriptionsTable';\nexport { SwipeActions } from './SwipeActions/SwipeActions';\nexport { Table } from './Table/Table';\nexport { TaxCard } from './TaxCard/TaxCard';\nexport { TaxForm } from './TaxForm/TaxForm';\nexport { TemplateForm } from './TemplateForm/TemplateForm';\nexport { TemplateConfigForm } from './TemplateConfigForm/TemplateConfigForm';\nexport { TransactionCard } from './TransactionCard/TransactionCard';\nexport { Transaction } from './Transaction/Transaction';\nexport { TransactionsTable } from './TransactionsTable/TransactionsTable';\nexport { UserForm } from './UserForm/UserForm';\nexport { UsersTable } from './UsersTable/UsersTable';\nexport { WebhookCard } from './WebhookCard/WebhookCard';\nexport { WebhookForm } from './WebhookForm/WebhookForm';\nexport { WebhookLogCard } from './WebhookLogCard/WebhookLogCard';\nexport { WebhookStatusCard } from './WebhookStatusCard/WebhookStatusCard';\n"]}
|