@foxy.io/elements 1.18.0-beta.14 → 1.18.0-beta.16
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 +1 -1
- 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-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 +2 -2
- package/dist/cdn/foxy-customer.js +1 -1
- 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-card.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-code-log-card.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-integration-card.js +1 -0
- package/dist/cdn/foxy-integration-form.js +1 -0
- package/dist/cdn/foxy-item-card.js +1 -1
- package/dist/cdn/foxy-item-category-card.js +1 -1
- package/dist/cdn/foxy-item-category-form.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-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-payments-api-fraud-protection-card.js +1 -1
- package/dist/cdn/foxy-payments-api-fraud-protection-form.js +1 -1
- package/dist/cdn/foxy-payments-api-payment-method-card.js +1 -1
- package/dist/cdn/foxy-payments-api-payment-method-form.js +1 -1
- package/dist/cdn/foxy-payments-api-payment-preset-card.js +1 -1
- package/dist/cdn/foxy-payments-api-payment-preset-form.js +1 -1
- package/dist/cdn/foxy-query-builder.js +1 -1
- package/dist/cdn/foxy-report-form.js +1 -1
- package/dist/cdn/foxy-reports-table.js +1 -1
- package/dist/cdn/foxy-shipment-card.js +1 -1
- package/dist/cdn/foxy-shipping-method-card.js +1 -0
- package/dist/cdn/foxy-sign-in-form.js +1 -1
- package/dist/cdn/foxy-spinner.js +2 -2
- package/dist/cdn/foxy-store-form.js +1 -1
- package/dist/cdn/foxy-store-shipping-method-form.js +1 -1
- 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-card.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-template-set-card.js +1 -0
- package/dist/cdn/foxy-template-set-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-73a8b603.js → shared-00c585e4.js} +1 -1
- package/dist/cdn/{shared-e4383064.js → shared-03d5434f.js} +1 -1
- package/dist/cdn/{shared-682dbe0a.js → shared-03f7cc13.js} +1 -1
- package/dist/cdn/{shared-35a7a4d6.js → shared-08d6d02b.js} +1 -1
- package/dist/cdn/{shared-36aaf815.js → shared-0a7b94ac.js} +5 -5
- package/dist/cdn/{shared-67f1821b.js → shared-0d697dd1.js} +1 -1
- package/dist/cdn/{shared-915fb0e4.js → shared-0db7afef.js} +17 -12
- package/dist/cdn/{shared-3e781cc9.js → shared-0ff5e59d.js} +1 -1
- package/dist/cdn/{shared-14dc506c.js → shared-17d5d718.js} +1 -1
- package/dist/cdn/{shared-5cb39f03.js → shared-184945cc.js} +1 -1
- package/dist/cdn/{shared-eab81bf4.js → shared-193a0fb1.js} +1 -1
- package/dist/cdn/{shared-04046e0e.js → shared-1d851ca7.js} +1 -1
- package/dist/cdn/{shared-11be3c89.js → shared-1e9dc71f.js} +1 -1
- package/dist/cdn/shared-28b09f69.js +1 -0
- package/dist/cdn/{shared-553e6472.js → shared-2ce65ad5.js} +1 -1
- package/dist/cdn/{shared-7415fa7e.js → shared-3b22a756.js} +1 -1
- package/dist/cdn/{shared-0bbbc87f.js → shared-3d0dc4a6.js} +1 -1
- package/dist/cdn/{shared-9a0f97e5.js → shared-3f4f362e.js} +1 -1
- package/dist/cdn/{shared-418e88da.js → shared-452a471d.js} +1 -1
- package/dist/cdn/{shared-4c61787a.js → shared-45c3705a.js} +1 -1
- package/dist/cdn/shared-4623f740.js +1 -0
- package/dist/cdn/{shared-119efeaa.js → shared-555ec39f.js} +1 -1
- package/dist/cdn/{shared-a42a63aa.js → shared-5714d3a4.js} +1 -1
- package/dist/cdn/shared-59d73648.js +1 -0
- package/dist/cdn/shared-6822bc96.js +1 -0
- package/dist/cdn/{shared-e32be255.js → shared-684e229f.js} +4 -4
- package/dist/cdn/{shared-96ebc59f.js → shared-760538ac.js} +1 -1
- package/dist/cdn/{shared-19440ca2.js → shared-77359cd0.js} +1 -1
- package/dist/cdn/{shared-4a519a4a.js → shared-77970922.js} +1 -1
- package/dist/cdn/{shared-a0e71609.js → shared-788e5ff5.js} +1 -1
- package/dist/cdn/shared-7af4d4b6.js +1 -0
- package/dist/cdn/{shared-8d9c0007.js → shared-7bfd93b7.js} +1 -1
- package/dist/cdn/{shared-93548d58.js → shared-8cb76c8b.js} +1 -1
- package/dist/cdn/{shared-4fa44231.js → shared-9f53978e.js} +1 -1
- package/dist/cdn/{shared-d75c6072.js → shared-a0c09692.js} +1 -1
- package/dist/cdn/shared-a83b38f1.js +1 -0
- package/dist/cdn/{shared-93a1be98.js → shared-a98a6602.js} +1 -1
- package/dist/cdn/{shared-81d3ff30.js → shared-afaa6139.js} +1 -1
- package/dist/cdn/{shared-b2850d64.js → shared-b1b40832.js} +1 -1
- package/dist/cdn/{shared-290769ea.js → shared-b5120f1a.js} +1 -1
- package/dist/cdn/{shared-3a84611d.js → shared-b5b5c848.js} +1 -1
- package/dist/cdn/{shared-c7cae9e6.js → shared-b617fde5.js} +1 -1
- package/dist/cdn/{shared-b20753b8.js → shared-b97d9ae3.js} +1 -1
- package/dist/cdn/{shared-0ecc7d2c.js → shared-c70b41e1.js} +1 -1
- package/dist/cdn/{shared-aa4bf9ab.js → shared-de385bdb.js} +1 -1
- package/dist/cdn/{shared-d24c3729.js → shared-debbc076.js} +1 -1
- package/dist/cdn/{shared-d9a3104e.js → shared-e4bc532a.js} +1 -1
- package/dist/cdn/{shared-435ab348.js → shared-e6bff624.js} +1 -1
- package/dist/cdn/{shared-da285807.js → shared-ecd289b3.js} +4 -4
- package/dist/cdn/{shared-c3a3d9f6.js → shared-f04dd7e9.js} +1 -1
- package/dist/cdn/shared-f14201ed.js +1 -0
- package/dist/cdn/{shared-4ebfd7ef.js → shared-f43a5253.js} +7 -7
- package/dist/cdn/{shared-19044260.js → shared-ff13276c.js} +1 -1
- package/dist/cdn/translations/email-template-card/en.json +1 -1
- package/dist/cdn/translations/email-template-form/en.json +5 -0
- package/dist/cdn/translations/integration-card/en.json +13 -0
- package/dist/cdn/translations/integration-form/en.json +41 -0
- package/dist/cdn/translations/shipping-method-card/en.json +11 -0
- package/dist/cdn/translations/store-form/en.json +18 -13
- package/dist/cdn/translations/template-config-form/en.json +0 -4
- package/dist/cdn/translations/template-set-card/en.json +7 -0
- package/dist/cdn/translations/template-set-form/en.json +8 -342
- package/dist/elements/internal/InternalAsyncListControl/InternalAsyncListControl.d.ts +8 -0
- package/dist/elements/internal/InternalAsyncListControl/InternalAsyncListControl.js +51 -28
- package/dist/elements/internal/InternalAsyncListControl/InternalAsyncListControl.js.map +1 -1
- package/dist/elements/private/Dialog/Dialog.d.ts +2 -0
- package/dist/elements/private/Dialog/Dialog.js +6 -1
- package/dist/elements/private/Dialog/Dialog.js.map +1 -1
- package/dist/elements/public/EmailTemplateCard/EmailTemplateCard.js +8 -1
- package/dist/elements/public/EmailTemplateCard/EmailTemplateCard.js.map +1 -1
- package/dist/elements/public/EmailTemplateForm/EmailTemplateForm.d.ts +1 -0
- package/dist/elements/public/EmailTemplateForm/EmailTemplateForm.js +22 -13
- package/dist/elements/public/EmailTemplateForm/EmailTemplateForm.js.map +1 -1
- package/dist/elements/public/EmailTemplateForm/index.d.ts +1 -0
- package/dist/elements/public/EmailTemplateForm/index.js +1 -0
- package/dist/elements/public/EmailTemplateForm/index.js.map +1 -1
- package/dist/elements/public/I18n/format/date.js +5 -4
- package/dist/elements/public/I18n/format/date.js.map +1 -1
- package/dist/elements/public/IntegrationCard/IntegrationCard.d.ts +10 -0
- package/dist/elements/public/IntegrationCard/IntegrationCard.js +49 -0
- package/dist/elements/public/IntegrationCard/IntegrationCard.js.map +1 -0
- package/dist/elements/public/IntegrationCard/index.d.ts +4 -0
- package/dist/elements/public/IntegrationCard/index.js +6 -0
- package/dist/elements/public/IntegrationCard/index.js.map +1 -0
- package/dist/elements/public/IntegrationCard/types.d.ts +3 -0
- package/dist/elements/public/IntegrationCard/types.js +2 -0
- package/dist/elements/public/IntegrationCard/types.js.map +1 -0
- package/dist/elements/public/IntegrationForm/IntegrationForm.d.ts +18 -0
- package/dist/elements/public/IntegrationForm/IntegrationForm.js +220 -0
- package/dist/elements/public/IntegrationForm/IntegrationForm.js.map +1 -0
- package/dist/elements/public/IntegrationForm/index.d.ts +10 -0
- package/dist/elements/public/IntegrationForm/index.js +12 -0
- package/dist/elements/public/IntegrationForm/index.js.map +1 -0
- package/dist/elements/public/IntegrationForm/types.d.ts +21 -0
- package/dist/elements/public/IntegrationForm/types.js +2 -0
- package/dist/elements/public/IntegrationForm/types.js.map +1 -0
- package/dist/elements/public/ShippingMethodCard/ShippingMethodCard.d.ts +15 -0
- package/dist/elements/public/ShippingMethodCard/ShippingMethodCard.js +78 -0
- package/dist/elements/public/ShippingMethodCard/ShippingMethodCard.js.map +1 -0
- package/dist/elements/public/ShippingMethodCard/index.d.ts +4 -0
- package/dist/elements/public/ShippingMethodCard/index.js +6 -0
- package/dist/elements/public/ShippingMethodCard/index.js.map +1 -0
- package/dist/elements/public/ShippingMethodCard/types.d.ts +10 -0
- package/dist/elements/public/ShippingMethodCard/types.js +2 -0
- package/dist/elements/public/ShippingMethodCard/types.js.map +1 -0
- package/dist/elements/public/StoreForm/StoreForm.d.ts +1 -1
- package/dist/elements/public/StoreForm/StoreForm.js +50 -43
- package/dist/elements/public/StoreForm/StoreForm.js.map +1 -1
- package/dist/elements/public/StoreShippingMethodForm/StoreShippingMethodForm.js +24 -0
- package/dist/elements/public/StoreShippingMethodForm/StoreShippingMethodForm.js.map +1 -1
- package/dist/elements/public/StoreShippingMethodForm/index.d.ts +1 -0
- package/dist/elements/public/StoreShippingMethodForm/index.js +1 -0
- package/dist/elements/public/StoreShippingMethodForm/index.js.map +1 -1
- package/dist/elements/public/TemplateConfigForm/TemplateConfigForm.d.ts +0 -1
- package/dist/elements/public/TemplateConfigForm/TemplateConfigForm.js +9 -58
- package/dist/elements/public/TemplateConfigForm/TemplateConfigForm.js.map +1 -1
- package/dist/elements/public/TemplateConfigForm/index.d.ts +0 -1
- package/dist/elements/public/TemplateConfigForm/index.js +0 -1
- package/dist/elements/public/TemplateConfigForm/index.js.map +1 -1
- package/dist/elements/public/TemplateSetCard/TemplateSetCard.d.ts +10 -0
- package/dist/elements/public/TemplateSetCard/TemplateSetCard.js +18 -0
- package/dist/elements/public/TemplateSetCard/TemplateSetCard.js.map +1 -0
- package/dist/elements/public/TemplateSetCard/index.d.ts +3 -0
- package/dist/elements/public/TemplateSetCard/index.js +5 -0
- package/dist/elements/public/TemplateSetCard/index.js.map +1 -0
- package/dist/elements/public/TemplateSetCard/types.d.ts +3 -0
- package/dist/elements/public/TemplateSetCard/types.js +2 -0
- package/dist/elements/public/TemplateSetCard/types.js.map +1 -0
- package/dist/elements/public/TemplateSetForm/TemplateSetForm.d.ts +1 -20
- package/dist/elements/public/TemplateSetForm/TemplateSetForm.js +21 -236
- package/dist/elements/public/TemplateSetForm/TemplateSetForm.js.map +1 -1
- package/dist/elements/public/TemplateSetForm/index.d.ts +0 -8
- package/dist/elements/public/TemplateSetForm/index.js +0 -8
- package/dist/elements/public/TemplateSetForm/index.js.map +1 -1
- package/dist/elements/public/index.d.ts +4 -0
- package/dist/elements/public/index.defined.d.ts +4 -0
- package/dist/elements/public/index.defined.js +4 -0
- package/dist/elements/public/index.defined.js.map +1 -1
- package/dist/elements/public/index.js +4 -0
- package/dist/elements/public/index.js.map +1 -1
- package/dist/mixins/themeable.js +48 -88
- package/dist/mixins/themeable.js.map +1 -1
- package/package.json +1 -1
- package/dist/cdn/shared-0cc4beec.js +0 -6
- package/dist/cdn/shared-1eb24528.js +0 -1
- package/dist/cdn/shared-214c34b5.js +0 -1
- package/dist/cdn/shared-9afb80a6.js +0 -1
- package/dist/cdn/shared-b1201c2e.js +0 -1
- package/dist/cdn/shared-c7ab6598.js +0 -1
- package/dist/cdn/shared-d8bf2eac.js +0 -1
- package/dist/cdn/shared-e1069291.js +0 -1
- package/dist/cdn/shared-e4e93604.js +0 -1
- package/dist/cdn/shared-effdf59d.js +0 -1
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"maintenance_mode_title": "Maintenance mode",
|
|
3
2
|
"maintenance_mode_on_explainer": "Maintenance mode is on. Your customers can't make purchases or use the checkout page in any way. Once you're done making changes, disable this mode to continue getting orders.",
|
|
4
3
|
"maintenance_mode_off_explainer": "If you're about to make changes that may disrupt the checkout process, we recommend enabling the maintenance mode first. In this mode the checkout page will be completely non-functioning and the customers will see a message asking them to come back later.",
|
|
5
4
|
"enable_maintenance_mode": "Enable maintenance mode",
|
|
6
5
|
"disable_maintenance_mode": "Disable maintenance mode",
|
|
7
|
-
"general_title": "General",
|
|
8
|
-
"emails_title": "Email settings",
|
|
9
|
-
"shipping_title": "Shipping",
|
|
10
|
-
"language_and_format_title": "Language & format",
|
|
11
|
-
"cart_and_checkout_title": "Cart & checkout",
|
|
12
|
-
"customer_login_title": "Customer login",
|
|
13
|
-
"legacy_title": "Legacy",
|
|
14
6
|
"store-name": {
|
|
15
7
|
"label": "Name",
|
|
16
8
|
"placeholder": "My Store",
|
|
@@ -250,12 +242,25 @@
|
|
|
250
242
|
"v8n_required": "Please enter the XML webhook endpoint",
|
|
251
243
|
"v8n_too_long": "Please shorten this URL to 300 characters or less"
|
|
252
244
|
},
|
|
253
|
-
"webhook-key": {
|
|
254
|
-
"label": "
|
|
245
|
+
"webhook-key-cart-signing": {
|
|
246
|
+
"label": "HMAC encryption key",
|
|
255
247
|
"placeholder": "",
|
|
256
|
-
"helper_text": "We'll use this key to encrypt webhook payloads as well as to sign cart links and product forms."
|
|
257
|
-
|
|
258
|
-
|
|
248
|
+
"helper_text": "We'll use this key to encrypt webhook payloads as well as to sign cart links and product forms."
|
|
249
|
+
},
|
|
250
|
+
"webhook-key-xml-datafeed": {
|
|
251
|
+
"label": "XML webhook encryption key",
|
|
252
|
+
"placeholder": "",
|
|
253
|
+
"helper_text": "We'll use this key to encrypt legacy XML webhook payloads."
|
|
254
|
+
},
|
|
255
|
+
"webhook-key-api-legacy": {
|
|
256
|
+
"label": "Legacy API key",
|
|
257
|
+
"placeholder": "",
|
|
258
|
+
"helper_text": "API key you can use to access the legacy API."
|
|
259
|
+
},
|
|
260
|
+
"webhook-key-sso": {
|
|
261
|
+
"label": "SSO secret",
|
|
262
|
+
"placeholder": "",
|
|
263
|
+
"helper_text": "We'll use this value to validate session tokens generated by your SSO setup."
|
|
259
264
|
},
|
|
260
265
|
"single-sign-on-url": {
|
|
261
266
|
"label": "SSO endpoint",
|
|
@@ -96,10 +96,6 @@
|
|
|
96
96
|
"sub_startdate": "Subscription start date",
|
|
97
97
|
"supported_cards": "Cards",
|
|
98
98
|
"supported_cards_disclaimer": "Applies only to payment gateways where the customer enters their payment card information directly on the Foxy checkout. Exceptions: Adyen Embedded, Amazon Pay, Apple Pay, Klarna, Square and Stripe.",
|
|
99
|
-
"tab_advanced": "Advanced",
|
|
100
|
-
"tab_analytics": "Analytics",
|
|
101
|
-
"tab_cart": "Cart",
|
|
102
|
-
"tab_checkout": "Checkout",
|
|
103
99
|
"tax_id": "Tax ID",
|
|
104
100
|
"troubleshooting": "Troubleshooting",
|
|
105
101
|
"troubleshooting_debug": "Log debug messages in the browser console",
|
|
@@ -2,367 +2,33 @@
|
|
|
2
2
|
"description": {
|
|
3
3
|
"label": "Description",
|
|
4
4
|
"placeholder": "Required - e.g. My Template Set",
|
|
5
|
-
"helper_text": "",
|
|
5
|
+
"helper_text": "Any label that will help you identify this template set in the admin. We won't show this text to the customers.",
|
|
6
6
|
"v8n_required": "Please enter a description for this set",
|
|
7
7
|
"v8n_too_long": "Please reduce this description to 100 characters or less"
|
|
8
8
|
},
|
|
9
9
|
"code": {
|
|
10
10
|
"label": "Code",
|
|
11
11
|
"placeholder": "Required - e.g. MY-TEMPLATE-SET",
|
|
12
|
-
"helper_text": "",
|
|
12
|
+
"helper_text": "The template set code for applying this template set to the cart. Your customers might see this code in the URL.",
|
|
13
13
|
"v8n_required": "Please enter a code for this set",
|
|
14
14
|
"v8n_too_long": "Please reduce this code to 50 characters or less"
|
|
15
15
|
},
|
|
16
|
-
"cart-template-uri": {
|
|
17
|
-
"template": "Template",
|
|
18
|
-
"cache": "Cache",
|
|
19
|
-
"cancel": "Cancel",
|
|
20
|
-
"default": "Default",
|
|
21
|
-
"description": "Description",
|
|
22
|
-
"template_clipboard": "From clipboard",
|
|
23
|
-
"template_clipboard_explainer": "Paste the template here to use it",
|
|
24
|
-
"template_default": "Default",
|
|
25
|
-
"template_default_explainer": "Use the default template",
|
|
26
|
-
"template_url": "From URL",
|
|
27
|
-
"template_url_explainer": "Fetch the template from a public URL",
|
|
28
|
-
"spinner": {
|
|
29
|
-
"loading_busy": "Loading",
|
|
30
|
-
"loading_error": "Failed to load"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"cart-include-template-uri": {
|
|
34
|
-
"template": "Template",
|
|
35
|
-
"cache": "Cache",
|
|
36
|
-
"cancel": "Cancel",
|
|
37
|
-
"default": "Default",
|
|
38
|
-
"description": "Description",
|
|
39
|
-
"template_clipboard": "From clipboard",
|
|
40
|
-
"template_clipboard_explainer": "Paste the template here to use it",
|
|
41
|
-
"template_default": "Default",
|
|
42
|
-
"template_default_explainer": "Use the default template",
|
|
43
|
-
"template_url": "From URL",
|
|
44
|
-
"template_url_explainer": "Fetch the template from a public URL",
|
|
45
|
-
"spinner": {
|
|
46
|
-
"loading_busy": "Loading",
|
|
47
|
-
"loading_error": "Failed to load"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"checkout-template-uri": {
|
|
51
|
-
"template": "Template",
|
|
52
|
-
"cache": "Cache",
|
|
53
|
-
"cancel": "Cancel",
|
|
54
|
-
"default": "Default",
|
|
55
|
-
"description": "Description",
|
|
56
|
-
"template_clipboard": "From clipboard",
|
|
57
|
-
"template_clipboard_explainer": "Paste the template here to use it",
|
|
58
|
-
"template_default": "Default",
|
|
59
|
-
"template_default_explainer": "Use the default template",
|
|
60
|
-
"template_url": "From URL",
|
|
61
|
-
"template_url_explainer": "Fetch the template from a public URL",
|
|
62
|
-
"spinner": {
|
|
63
|
-
"loading_busy": "Loading",
|
|
64
|
-
"loading_error": "Failed to load"
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
"receipt-template-uri": {
|
|
68
|
-
"template": "Template",
|
|
69
|
-
"cache": "Cache",
|
|
70
|
-
"cancel": "Cancel",
|
|
71
|
-
"default": "Default",
|
|
72
|
-
"description": "Description",
|
|
73
|
-
"template_clipboard": "From clipboard",
|
|
74
|
-
"template_clipboard_explainer": "Paste the template here to use it",
|
|
75
|
-
"template_default": "Default",
|
|
76
|
-
"template_default_explainer": "Use the default template",
|
|
77
|
-
"template_url": "From URL",
|
|
78
|
-
"template_url_explainer": "Fetch the template from a public URL",
|
|
79
|
-
"spinner": {
|
|
80
|
-
"loading_busy": "Loading",
|
|
81
|
-
"loading_error": "Failed to load"
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"email-template-uri": {
|
|
85
|
-
"cache": "Cache",
|
|
86
|
-
"cancel": "Cancel",
|
|
87
|
-
"confirm": "Confirm",
|
|
88
|
-
"default": "Default",
|
|
89
|
-
"html_template": "HTML template",
|
|
90
|
-
"template_clipboard": "From clipboard",
|
|
91
|
-
"template_clipboard_explainer": "Paste the template here to use it",
|
|
92
|
-
"template_default": "Default",
|
|
93
|
-
"template_default_explainer": "Use the default template",
|
|
94
|
-
"template_url": "From URL",
|
|
95
|
-
"template_url_explainer": "Fetch the template from a public URL",
|
|
96
|
-
"text_template": "Text template",
|
|
97
|
-
"template-language": {
|
|
98
|
-
"label": "Language",
|
|
99
|
-
"placeholder": "Default (Nunjucks)",
|
|
100
|
-
"helper_text": ""
|
|
101
|
-
},
|
|
102
|
-
"spinner": {
|
|
103
|
-
"loading_busy": "Loading",
|
|
104
|
-
"loading_error": "Failed to load"
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
16
|
"language": {
|
|
108
17
|
"label": "Language",
|
|
109
18
|
"placeholder": "Select language",
|
|
110
|
-
"helper_text": "",
|
|
19
|
+
"helper_text": "We'll apply this language to our cart, checkout and receipt pages.",
|
|
111
20
|
"v8n_required": "Please select a language for this set"
|
|
112
21
|
},
|
|
113
22
|
"locale-code": {
|
|
114
23
|
"label": "Locale",
|
|
115
24
|
"placeholder": "Select locale",
|
|
116
|
-
"helper_text": "",
|
|
25
|
+
"helper_text": "We'll use this locale to format prices and dates for your customers.",
|
|
117
26
|
"v8n_required": "Please select a locale for this set"
|
|
118
27
|
},
|
|
119
|
-
"
|
|
120
|
-
|
|
121
|
-
"payment
|
|
122
|
-
|
|
123
|
-
"label": "",
|
|
124
|
-
"option_live": "Use live credentials",
|
|
125
|
-
"helper_text": ""
|
|
126
|
-
},
|
|
127
|
-
"is-purchase-order-enabled": {
|
|
128
|
-
"label": "",
|
|
129
|
-
"option_true": "Allow purchase orders",
|
|
130
|
-
"helper_text": ""
|
|
131
|
-
},
|
|
132
|
-
"payment-methods": {
|
|
133
|
-
"delete_header": "Remove payment method",
|
|
134
|
-
"delete_message": "Are you sure you'd like to remove this payment method? You'll need to configure it again if you decide to bring it back.",
|
|
135
|
-
"delete_confirm": "Remove",
|
|
136
|
-
"delete_cancel": "Cancel",
|
|
137
|
-
"title": "Payment methods",
|
|
138
|
-
"dialog": {
|
|
139
|
-
"header_update": "Payment method",
|
|
140
|
-
"header_create": "New payment method",
|
|
141
|
-
"close": "Close",
|
|
142
|
-
"cancel": "Cancel",
|
|
143
|
-
"save": "Save",
|
|
144
|
-
"undo_header": "Unsaved changes",
|
|
145
|
-
"undo_message": "Looks like you didn't save your changes! What would you like to do with them?",
|
|
146
|
-
"undo_cancel": "Review",
|
|
147
|
-
"undo_confirm": "Discard"
|
|
148
|
-
},
|
|
149
|
-
"pagination": {
|
|
150
|
-
"create_button_text": "Add payment method",
|
|
151
|
-
"card": {
|
|
152
|
-
"delete_button_text": "Remove"
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
"fraud-protections": {
|
|
157
|
-
"delete_header": "Remove fraud protection",
|
|
158
|
-
"delete_message": "Are you sure you'd like to remove this fraud protection? You'll need to configure it again if you decide to bring it back.",
|
|
159
|
-
"delete_confirm": "Remove",
|
|
160
|
-
"delete_cancel": "Cancel",
|
|
161
|
-
"title": "Fraud protections",
|
|
162
|
-
"dialog": {
|
|
163
|
-
"header_update": "Fraud protection",
|
|
164
|
-
"header_create": "New fraud protection",
|
|
165
|
-
"close": "Close",
|
|
166
|
-
"cancel": "Cancel",
|
|
167
|
-
"save": "Save",
|
|
168
|
-
"undo_header": "Unsaved changes",
|
|
169
|
-
"undo_message": "Looks like you didn't save your changes! What would you like to do with them?",
|
|
170
|
-
"undo_cancel": "Review",
|
|
171
|
-
"undo_confirm": "Discard"
|
|
172
|
-
},
|
|
173
|
-
"pagination": {
|
|
174
|
-
"create_button_text": "Add fraud protection",
|
|
175
|
-
"card": {
|
|
176
|
-
"delete_button_text": "Remove"
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
"spinner": {
|
|
181
|
-
"loading_busy": "Loading",
|
|
182
|
-
"loading_error": "Failed to load"
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
"template-dialog": {
|
|
186
|
-
"cart_template_uri_header": "Cart template",
|
|
187
|
-
"cart_include_template_uri_header": "Cart include template",
|
|
188
|
-
"checkout_template_uri_header": "Checkout template",
|
|
189
|
-
"receipt_template_uri_header": "Web receipt template",
|
|
190
|
-
"email_template_uri_header": "Email receipt template",
|
|
191
|
-
"close": "Close",
|
|
192
|
-
"cancel": "Cancel",
|
|
193
|
-
"save": "Save",
|
|
194
|
-
"undo_header": "Unsaved changes",
|
|
195
|
-
"undo_message": "Looks like you didn't save your changes! What would you like to do with them?",
|
|
196
|
-
"undo_cancel": "Review",
|
|
197
|
-
"undo_confirm": "Discard"
|
|
198
|
-
},
|
|
199
|
-
"templates_title": "Templates",
|
|
200
|
-
"templates_helper_text": "Click any of the templates above to customize how those views are presented to your customers. Warning: this functionality is for advanced users only.",
|
|
201
|
-
"cart-template-uri": {
|
|
202
|
-
"title": "Cart template",
|
|
203
|
-
"type_custom_url": "Custom (URL)",
|
|
204
|
-
"type_custom_text": "Custom (Text)",
|
|
205
|
-
"type_default": "Default",
|
|
206
|
-
"spinner": {
|
|
207
|
-
"loading_busy": "Loading cart template",
|
|
208
|
-
"loading_empty": "No cart template",
|
|
209
|
-
"loading_error": "Failed to load cart template"
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
"cart-include-template-uri": {
|
|
213
|
-
"title": "Cart include template",
|
|
214
|
-
"type_custom_url": "Custom (URL)",
|
|
215
|
-
"type_custom_text": "Custom (Text)",
|
|
216
|
-
"type_default": "Default",
|
|
217
|
-
"spinner": {
|
|
218
|
-
"loading_busy": "Loading cart include template",
|
|
219
|
-
"loading_empty": "No cart include template",
|
|
220
|
-
"loading_error": "Failed to load cart include template"
|
|
221
|
-
}
|
|
222
|
-
},
|
|
223
|
-
"checkout-template-uri": {
|
|
224
|
-
"title": "Checkout template",
|
|
225
|
-
"type_custom_url": "Custom (URL)",
|
|
226
|
-
"type_custom_text": "Custom (Text)",
|
|
227
|
-
"type_default": "Default",
|
|
228
|
-
"spinner": {
|
|
229
|
-
"loading_busy": "Loading checkout template",
|
|
230
|
-
"loading_empty": "No checkout template",
|
|
231
|
-
"loading_error": "Failed to load checkout template"
|
|
232
|
-
}
|
|
233
|
-
},
|
|
234
|
-
"receipt-template-uri": {
|
|
235
|
-
"title": "Web receipt template",
|
|
236
|
-
"type_custom_url": "Custom (URL)",
|
|
237
|
-
"type_custom_text": "Custom (Text)",
|
|
238
|
-
"type_default": "Default",
|
|
239
|
-
"spinner": {
|
|
240
|
-
"loading_busy": "Loading web receipt template",
|
|
241
|
-
"loading_empty": "No web receipt template",
|
|
242
|
-
"loading_error": "Failed to load web receipt template"
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
"email-template-uri": {
|
|
246
|
-
"title": "Email receipt template",
|
|
247
|
-
"type_custom_url": "Custom (URL)",
|
|
248
|
-
"type_custom_text": "Custom (Text)",
|
|
249
|
-
"type_mixed": "Mixed",
|
|
250
|
-
"type_default": "Default",
|
|
251
|
-
"spinner": {
|
|
252
|
-
"loading_busy": "Loading email receipt template",
|
|
253
|
-
"loading_empty": "No email receipt template",
|
|
254
|
-
"loading_error": "Failed to load email receipt template"
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
"add_country": "Add country",
|
|
258
|
-
"add_field": "Add field",
|
|
259
|
-
"add_region": "Add region",
|
|
260
|
-
"address1": "Address Line 1",
|
|
261
|
-
"address2": "Address Line 2",
|
|
262
|
-
"allow": "Allow",
|
|
263
|
-
"allowlist": "Allow all except",
|
|
264
|
-
"billing": "Billing",
|
|
265
|
-
"block": "Block",
|
|
266
|
-
"blocklist": "Ban all except",
|
|
267
|
-
"cart_controls": "Quantity",
|
|
268
|
-
"cart_type": "Cart display",
|
|
269
|
-
"cart_type_custom": "Custom",
|
|
270
|
-
"cart_type_custom_explainer": "Build your own JSONP cart with included config",
|
|
271
|
-
"cart_type_default": "Sidecart",
|
|
272
|
-
"cart_type_default_explainer": "Default cart appearance in version 2.0",
|
|
273
|
-
"cart_type_fullpage": "Full page",
|
|
274
|
-
"cart_type_fullpage_explainer": "Send all customers to a full page cart while still including minicart functionality",
|
|
275
|
-
"checked_by_default": "Checked by default",
|
|
276
|
-
"checkout_type": "Accounts",
|
|
277
|
-
"checkout_type_account_only": "Allow customer accounts only",
|
|
278
|
-
"checkout_type_default_account": "Allow both, default to customer",
|
|
279
|
-
"checkout_type_default_guest": "Allow both, default to guest",
|
|
280
|
-
"checkout_type_guest_only": "Allow guests only",
|
|
281
|
-
"checkout_type_helper_text": "If you select Allow guests only, your store will not be able to use subscriptions.",
|
|
282
|
-
"city": "City",
|
|
283
|
-
"close": "Close",
|
|
284
|
-
"close_icon": "Close icon",
|
|
285
|
-
"company": "Company",
|
|
286
|
-
"consent": "Consent",
|
|
287
|
-
"copy": "Copy",
|
|
288
|
-
"country": "Country",
|
|
289
|
-
"coupon_entry": "Coupon code",
|
|
290
|
-
"create": "Create",
|
|
291
|
-
"custom_config": "Custom config",
|
|
292
|
-
"custom_config_helper_text": "If you have any custom values you'd like to make available to your twig template, you can add them here as a valid JSON string.",
|
|
293
|
-
"custom_fields": "Custom fields",
|
|
294
|
-
"custom_fields_helper_text": "If you have information you'd like to collect from the customer on the checkout page, you can add custom form fields here which will be added to the checkout form. We recommend you follow the same HTML container structure used on other checkout fields for consistency. You can use Twig syntax here.",
|
|
295
|
-
"custom_footer": "Custom footer",
|
|
296
|
-
"custom_footer_helper_text": "Any JS snippets or conversion scripts you need to add to the footer can be put here and will be inserted before the </body> tag. You can use Twig syntax here. For conversion scripts you only want to display once on the receipt page, use {% if first_receipt_display %} {# conversion script content here #} {% endif %}.",
|
|
297
|
-
"custom_header": "Custom header",
|
|
298
|
-
"custom_header_helper_text": "Any CSS or JS you need to add to the header can be put here and will be inserted before the </head> tag of your templates. Keep in mind all script file references must be through https or run through the Foxy caching system. Twig syntax is not available in the header.",
|
|
299
|
-
"default": "Default",
|
|
300
|
-
"delete": "Delete",
|
|
301
|
-
"delete_prompt": "This resource will be permanently removed. Are you sure?",
|
|
302
|
-
"disabled": "Disabled",
|
|
303
|
-
"display_sdta": "Display a Secure Data Transfer agreement to EU customers",
|
|
304
|
-
"display_sdta_explainer": "If you have customers in the European Union, enable this feature so they can opt in to sending their data to our secure servers in the United States.",
|
|
305
|
-
"display_tos_link": "Display a link to Terms & Conditions",
|
|
306
|
-
"display_tos_link_explainer": "Include a checkbox to ask your customers to agree to your Terms of Service.",
|
|
307
|
-
"enable_postcode_lookup": "Offer city and state suggestions based on postcode",
|
|
308
|
-
"enabled": "Enabled",
|
|
309
|
-
"error": "Error",
|
|
310
|
-
"field_plural": "Fields",
|
|
311
|
-
"first_name": "First name",
|
|
312
|
-
"foxycomplete": "Location autocomplete",
|
|
313
|
-
"foxycomplete_combobox": "Combo Box",
|
|
314
|
-
"foxycomplete_combobox_explainer": "Expand to browse options, type to search",
|
|
315
|
-
"foxycomplete_disabled": "Disabled",
|
|
316
|
-
"foxycomplete_disabled_explainer": "Let customers pick an option from a list",
|
|
317
|
-
"foxycomplete_search": "Search",
|
|
318
|
-
"foxycomplete_search_explainer": "Display a «search as you type» field",
|
|
319
|
-
"ga_account_id": "Account ID",
|
|
320
|
-
"ga_account_id_explainer": "You can find the ID in the Admin section of your Analytics in Tracking info > Tracking code.",
|
|
321
|
-
"ga_include_on_site": "Include via loader.js",
|
|
322
|
-
"ga_include_on_site_explainer": "Enable Google Analytics on any page where the loader.js file is included.",
|
|
323
|
-
"hidden": "Hidden",
|
|
324
|
-
"hidden_fields": "Hidden fields",
|
|
325
|
-
"last_name": "Last name",
|
|
326
|
-
"location_plural": "Locations",
|
|
327
|
-
"location_url": "Location (URL)",
|
|
328
|
-
"newsletter_subscribe": "Allow users to sign up for your newsletter",
|
|
329
|
-
"newsletter_subscribe_explainer": "This includes a checkbox on your checkout to allow customers to choose to sign up to your newsletter, available in the transaction reports, the API and webhooks.",
|
|
330
|
-
"open_icon": "Open icon",
|
|
331
|
-
"optional": "Optional",
|
|
332
|
-
"phone": "Phone",
|
|
333
|
-
"postal_code": "Postal code",
|
|
334
|
-
"product_category": "Product category",
|
|
335
|
-
"product_code": "Product code",
|
|
336
|
-
"product_options": "Product options",
|
|
337
|
-
"product_weight": "Product weight",
|
|
338
|
-
"region": "Region",
|
|
339
|
-
"require_consent": "Require consent to proceed",
|
|
340
|
-
"required": "Required",
|
|
341
|
-
"same_as_shipping": "Same as shipping",
|
|
342
|
-
"shipping": "Shipping",
|
|
343
|
-
"show_country_flags": "Show country flags",
|
|
344
|
-
"sio_account_id": "Write Key",
|
|
345
|
-
"sio_account_id_explainer": "You can find the write key in your project set up guide or in the source’s settings.",
|
|
346
|
-
"skip_csc_for_saved": "Skip CSC for saved cards",
|
|
347
|
-
"skip_csc_for_sso": "Skip CSC for single sign-on",
|
|
348
|
-
"sub_enddate": "Subscription end date",
|
|
349
|
-
"sub_frequency": "Subscription frequency",
|
|
350
|
-
"sub_nextdate": "Subscription next date",
|
|
351
|
-
"sub_startdate": "Subscription start date",
|
|
352
|
-
"supported_cards": "Cards",
|
|
353
|
-
"supported_cards_disclaimer": "Applies only to payment gateways where the customer enters their payment card information directly on the Foxy checkout. Exceptions: Adyen Embedded, Amazon Pay, Apple Pay, Klarna, Square and Stripe.",
|
|
354
|
-
"tab_advanced": "Advanced",
|
|
355
|
-
"tab_analytics": "Analytics",
|
|
356
|
-
"tab_cart": "Cart",
|
|
357
|
-
"tab_checkout": "Checkout",
|
|
358
|
-
"tax_id": "Tax ID",
|
|
359
|
-
"troubleshooting": "Troubleshooting",
|
|
360
|
-
"troubleshooting_debug": "Log debug messages in the browser console",
|
|
361
|
-
"troubleshooting_debug_explainer": "Enable this option to trigger console.log() calls for our JS, which can assist with troubleshooting your store.",
|
|
362
|
-
"spinner": {
|
|
363
|
-
"loading_busy": "Loading",
|
|
364
|
-
"loading_error": "Failed to load"
|
|
365
|
-
}
|
|
28
|
+
"payment-method-set-uri": {
|
|
29
|
+
"label": "Payment method set",
|
|
30
|
+
"placeholder": "Default payment method set",
|
|
31
|
+
"helper_text": "With this template set applied, your customers will see payment methods from the selected set."
|
|
366
32
|
},
|
|
367
33
|
"timestamps": {
|
|
368
34
|
"date_created": "Created on",
|
|
@@ -14,6 +14,14 @@ export declare class InternalAsyncListControl extends InternalControl {
|
|
|
14
14
|
form: FormDialog['form'];
|
|
15
15
|
/** Same as the `item` property of `CollectionPage`. */
|
|
16
16
|
item: CollectionPage<any>['item'];
|
|
17
|
+
/** Same as the `wide` property of `FormDialog`. */
|
|
18
|
+
wide: boolean;
|
|
19
|
+
/** Same as the `alert` property of `FormDialog`. */
|
|
20
|
+
alert: boolean;
|
|
21
|
+
/** Hides Delete Swipe Action if true. */
|
|
22
|
+
hideDeleteButton: boolean;
|
|
23
|
+
/** Hides Create button if true. */
|
|
24
|
+
hideCreateButton: boolean;
|
|
17
25
|
private __deletionConfimationCallback;
|
|
18
26
|
private __cachedCardRenderer;
|
|
19
27
|
private __itemRenderer;
|
|
@@ -14,33 +14,46 @@ export class InternalAsyncListControl extends InternalControl {
|
|
|
14
14
|
this.form = '';
|
|
15
15
|
/** Same as the `item` property of `CollectionPage`. */
|
|
16
16
|
this.item = '';
|
|
17
|
+
/** Same as the `wide` property of `FormDialog`. */
|
|
18
|
+
this.wide = false;
|
|
19
|
+
/** Same as the `alert` property of `FormDialog`. */
|
|
20
|
+
this.alert = false;
|
|
21
|
+
/** Hides Delete Swipe Action if true. */
|
|
22
|
+
this.hideDeleteButton = false;
|
|
23
|
+
/** Hides Create button if true. */
|
|
24
|
+
this.hideCreateButton = false;
|
|
17
25
|
this.__deletionConfimationCallback = null;
|
|
18
26
|
this.__cachedCardRenderer = null;
|
|
19
27
|
this.__itemRenderer = ctx => {
|
|
20
28
|
if (!this.form || !ctx.data)
|
|
21
29
|
return this.__cardRenderer(ctx);
|
|
22
30
|
const isDisabled = this.disabledSelector.matches('card', true);
|
|
23
|
-
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
class=${classMap({
|
|
31
|
+
const clickableItem = html `
|
|
32
|
+
<button
|
|
33
|
+
?disabled=${isDisabled}
|
|
34
|
+
class=${classMap({
|
|
28
35
|
'rounded-t-l': !ctx.previous,
|
|
29
36
|
'rounded-b-l': !ctx.next,
|
|
30
37
|
'focus-outline-none focus-ring-2 focus-ring-inset focus-ring-primary-50': true,
|
|
31
38
|
'text-left w-full block transition-colors': true,
|
|
32
39
|
'hover-bg-contrast-5': !isDisabled,
|
|
33
40
|
})}
|
|
34
|
-
|
|
41
|
+
@click=${(evt) => {
|
|
35
42
|
const button = evt.currentTarget;
|
|
36
43
|
const dialog = this.__dialog;
|
|
37
44
|
dialog.header = 'header_update';
|
|
38
45
|
dialog.href = ctx.href;
|
|
39
46
|
dialog.show(button);
|
|
40
47
|
}}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
48
|
+
>
|
|
49
|
+
${this.__cardRenderer(ctx)}
|
|
50
|
+
</button>
|
|
51
|
+
`;
|
|
52
|
+
if (this.hideDeleteButton)
|
|
53
|
+
return clickableItem;
|
|
54
|
+
return html `
|
|
55
|
+
<foxy-swipe-actions class="block">
|
|
56
|
+
${clickableItem}
|
|
44
57
|
|
|
45
58
|
<vaadin-button
|
|
46
59
|
theme="primary error"
|
|
@@ -67,11 +80,15 @@ export class InternalAsyncListControl extends InternalControl {
|
|
|
67
80
|
static get properties() {
|
|
68
81
|
return {
|
|
69
82
|
...super.properties,
|
|
83
|
+
hideDeleteButton: { type: Boolean, attribute: 'hide-delete-button' },
|
|
84
|
+
hideCreateButton: { type: Boolean, attribute: 'hide-create-button' },
|
|
70
85
|
related: { type: Array },
|
|
71
86
|
first: { type: String },
|
|
72
87
|
limit: { type: Number },
|
|
73
88
|
form: { type: String },
|
|
74
89
|
item: { type: String },
|
|
90
|
+
wide: { type: Boolean },
|
|
91
|
+
alert: { type: Boolean },
|
|
75
92
|
};
|
|
76
93
|
}
|
|
77
94
|
renderControl() {
|
|
@@ -91,44 +108,50 @@ export class InternalAsyncListControl extends InternalControl {
|
|
|
91
108
|
parent=${first}
|
|
92
109
|
infer="dialog"
|
|
93
110
|
id="form"
|
|
111
|
+
?wide=${this.wide}
|
|
112
|
+
?alert=${this.alert}
|
|
94
113
|
.related=${this.related}
|
|
95
114
|
.form=${this.form}
|
|
96
115
|
>
|
|
97
116
|
</foxy-form-dialog>
|
|
98
117
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
(
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
118
|
+
${this.hideDeleteButton
|
|
119
|
+
? ''
|
|
120
|
+
: html `
|
|
121
|
+
<foxy-internal-confirm-dialog
|
|
122
|
+
message="delete_message"
|
|
123
|
+
confirm="delete_confirm"
|
|
124
|
+
cancel="delete_cancel"
|
|
125
|
+
header="delete_header"
|
|
126
|
+
theme="error"
|
|
127
|
+
lang=${this.lang}
|
|
128
|
+
ns=${this.ns}
|
|
129
|
+
id="confirm"
|
|
130
|
+
@hide=${(evt) => {
|
|
131
|
+
var _a;
|
|
132
|
+
if (!evt.detail.cancelled)
|
|
133
|
+
(_a = this.__deletionConfimationCallback) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
134
|
+
}}
|
|
135
|
+
>
|
|
136
|
+
</foxy-internal-confirm-dialog>
|
|
137
|
+
`}
|
|
115
138
|
`
|
|
116
139
|
: ''}
|
|
117
140
|
|
|
118
141
|
<foxy-pagination first=${first} infer="pagination">
|
|
119
142
|
<foxy-collection-page
|
|
120
|
-
class="block divide-y divide-contrast-5 rounded-t-l rounded-b-l overflow-hidden bg-contrast-5"
|
|
143
|
+
class="mb-s block divide-y divide-contrast-5 rounded-t-l rounded-b-l overflow-hidden bg-contrast-5"
|
|
121
144
|
infer="card"
|
|
122
145
|
.related=${this.related}
|
|
123
146
|
.item=${this.__itemRenderer}
|
|
124
147
|
>
|
|
125
148
|
</foxy-collection-page>
|
|
126
149
|
|
|
127
|
-
${!this.form || this.readonly
|
|
150
|
+
${!this.form || this.readonly || this.hideCreateButton
|
|
128
151
|
? ''
|
|
129
152
|
: html `
|
|
130
153
|
<vaadin-button
|
|
131
|
-
class="
|
|
154
|
+
class="mb-s bg-success-10 w-full rounded-t-l rounded-b-l"
|
|
132
155
|
theme="success"
|
|
133
156
|
?disabled=${this.disabled}
|
|
134
157
|
@click=${(evt) => {
|