@foxy.io/elements 1.24.0 → 1.24.1-beta.2
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-address-form.js +1 -1
- package/dist/cdn/foxy-admin-subscription-card.js +1 -1
- package/dist/cdn/foxy-api-browser.js +1 -1
- package/dist/cdn/foxy-applied-coupon-code-form.js +1 -1
- package/dist/cdn/foxy-attribute-form.js +1 -1
- package/dist/cdn/foxy-cart-form.js +1 -1
- package/dist/cdn/foxy-client-form.js +1 -1
- package/dist/cdn/foxy-coupon-code-form.js +1 -1
- package/dist/cdn/foxy-coupon-form.js +1 -1
- package/dist/cdn/foxy-custom-field-form.js +1 -1
- package/dist/cdn/foxy-customer-form.js +1 -1
- package/dist/cdn/foxy-customer-portal.js +1 -1
- package/dist/cdn/foxy-customer.js +1 -1
- package/dist/cdn/foxy-downloadable-form.js +1 -1
- package/dist/cdn/foxy-email-template-form.js +1 -1
- package/dist/cdn/foxy-filter-attribute-form.js +1 -1
- package/dist/cdn/foxy-gift-card-code-form.js +1 -1
- package/dist/cdn/foxy-gift-card-form.js +1 -1
- package/dist/cdn/foxy-integration-form.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-form.js +1 -1
- package/dist/cdn/foxy-passkey-form.js +1 -1
- package/dist/cdn/foxy-payments-api-fraud-protection-form.js +1 -1
- package/dist/cdn/foxy-payments-api-payment-method-form.js +1 -1
- package/dist/cdn/foxy-payments-api-payment-preset-form.js +1 -1
- package/dist/cdn/foxy-payments-api.js +1 -1
- package/dist/cdn/foxy-report-form.js +2 -2
- package/dist/cdn/foxy-shipment-card.js +1 -1
- 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 +2 -2
- package/dist/cdn/foxy-subscription-settings-form.js +1 -1
- package/dist/cdn/foxy-subscriptions-table.js +1 -1
- package/dist/cdn/foxy-tax-form.js +1 -1
- package/dist/cdn/foxy-template-form.js +1 -1
- package/dist/cdn/foxy-template-set-form.js +1 -1
- package/dist/cdn/foxy-transaction.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-form.js +1 -1
- package/dist/cdn/shared-4205699e.js +1 -0
- package/dist/cdn/shared-5280c80a.js +1 -0
- package/dist/cdn/{shared-baeef007.js → shared-94798eb5.js} +1 -1
- package/dist/cdn/shared-fa7539af.js +46 -0
- package/dist/cdn/translations/address-form/en.json +1 -1
- package/dist/cdn/translations/admin-subscription-card/en.json +1 -0
- package/dist/cdn/translations/attribute-form/en.json +1 -1
- package/dist/cdn/translations/cart-form/en.json +47 -65
- package/dist/cdn/translations/client-form/en.json +1 -1
- package/dist/cdn/translations/coupon-code-form/en.json +1 -1
- package/dist/cdn/translations/coupon-form/en.json +4 -4
- package/dist/cdn/translations/custom-field-form/en.json +1 -1
- package/dist/cdn/translations/customer/en.json +5 -3
- package/dist/cdn/translations/customer-form/en.json +1 -1
- package/dist/cdn/translations/customer-portal/en.json +4 -2
- package/dist/cdn/translations/downloadable-form/en.json +1 -1
- package/dist/cdn/translations/email-template-form/en.json +1 -1
- package/dist/cdn/translations/gift-card-code-form/en.json +1 -1
- package/dist/cdn/translations/gift-card-form/en.json +3 -3
- package/dist/cdn/translations/item-category-form/en.json +1 -1
- package/dist/cdn/translations/item-form/en.json +30 -32
- package/dist/cdn/translations/item-option-form/en.json +1 -1
- package/dist/cdn/translations/passkey-form/en.json +1 -1
- package/dist/cdn/translations/payments-api-fraud-protection-form/en.json +1 -1
- package/dist/cdn/translations/payments-api-payment-method-form/en.json +1 -1
- package/dist/cdn/translations/payments-api-payment-preset-form/en.json +1 -1
- package/dist/cdn/translations/report-form/en.json +1 -1
- package/dist/cdn/translations/shipment-card/en.json +47 -64
- package/dist/cdn/translations/store-form/en.json +2 -2
- package/dist/cdn/translations/store-shipping-method-form/en.json +1 -1
- package/dist/cdn/translations/subscription-card/en.json +1 -0
- package/dist/cdn/translations/subscription-form/en.json +3 -2
- package/dist/cdn/translations/subscription-settings-form/en.json +1 -1
- package/dist/cdn/translations/subscriptions-table/en.json +1 -0
- package/dist/cdn/translations/tax-form/en.json +1 -1
- package/dist/cdn/translations/template-form/en.json +1 -1
- package/dist/cdn/translations/template-set-form/en.json +1 -1
- package/dist/cdn/translations/transaction/en.json +54 -69
- package/dist/cdn/translations/webhook-form/en.json +1 -1
- package/dist/elements/internal/InternalTimestampsControl/InternalTimestampsControl.d.ts +1 -3
- package/dist/elements/internal/InternalTimestampsControl/InternalTimestampsControl.js +18 -41
- package/dist/elements/internal/InternalTimestampsControl/InternalTimestampsControl.js.map +1 -1
- package/dist/elements/private/Metadata/Metadata.d.ts +13 -0
- package/dist/elements/private/Metadata/Metadata.js +27 -0
- package/dist/elements/private/Metadata/Metadata.js.map +1 -0
- package/dist/elements/private/index.d.ts +1 -1
- package/dist/elements/private/index.js +1 -1
- package/dist/elements/private/index.js.map +1 -1
- package/dist/elements/public/AddressForm/AddressForm.js +3 -3
- package/dist/elements/public/AddressForm/AddressForm.js.map +1 -1
- package/dist/elements/public/AdminSubscriptionCard/AdminSubscriptionCard.js +17 -6
- package/dist/elements/public/AdminSubscriptionCard/AdminSubscriptionCard.js.map +1 -1
- package/dist/elements/public/AttributeForm/AttributeForm.js +3 -3
- package/dist/elements/public/AttributeForm/AttributeForm.js.map +1 -1
- package/dist/elements/public/CouponCodeForm/CouponCodeForm.js +4 -4
- package/dist/elements/public/CouponCodeForm/CouponCodeForm.js.map +1 -1
- package/dist/elements/public/CouponForm/CouponForm.js +4 -4
- package/dist/elements/public/CouponForm/CouponForm.js.map +1 -1
- package/dist/elements/public/CustomFieldForm/CustomFieldForm.js +3 -3
- package/dist/elements/public/CustomFieldForm/CustomFieldForm.js.map +1 -1
- package/dist/elements/public/EmailTemplateForm/EmailTemplateForm.js +4 -4
- package/dist/elements/public/EmailTemplateForm/EmailTemplateForm.js.map +1 -1
- package/dist/elements/public/GiftCardCodeForm/GiftCardCodeForm.js +4 -4
- package/dist/elements/public/GiftCardCodeForm/GiftCardCodeForm.js.map +1 -1
- package/dist/elements/public/GiftCardForm/GiftCardForm.js +4 -4
- package/dist/elements/public/GiftCardForm/GiftCardForm.js.map +1 -1
- package/dist/elements/public/ItemForm/ItemForm.js +26 -13
- package/dist/elements/public/ItemForm/ItemForm.js.map +1 -1
- package/dist/elements/public/ItemForm/index.d.ts +1 -1
- package/dist/elements/public/ItemForm/index.js +1 -1
- package/dist/elements/public/ItemForm/index.js.map +1 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/InternalItemFormCartControl.d.ts +0 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/InternalItemFormCartControl.js +8 -14
- package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/InternalItemFormCartControl.js.map +1 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/index.d.ts +0 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/index.js +0 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/index.js.map +1 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/InternalItemFormInventoryControl.d.ts +0 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/InternalItemFormInventoryControl.js +13 -19
- package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/InternalItemFormInventoryControl.js.map +1 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/index.d.ts +0 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/index.js +0 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/index.js.map +1 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/InternalItemFormLineItemDiscountControl.d.ts +0 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/InternalItemFormLineItemDiscountControl.js +17 -23
- package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/InternalItemFormLineItemDiscountControl.js.map +1 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/index.d.ts +0 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/index.js +0 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/index.js.map +1 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/InternalItemFormShippingControl.d.ts +0 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/InternalItemFormShippingControl.js +14 -20
- package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/InternalItemFormShippingControl.js.map +1 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/index.d.ts +0 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/index.js +0 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/index.js.map +1 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/InternalItemFormSubscriptionControl.d.ts +0 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/InternalItemFormSubscriptionControl.js +28 -26
- package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/InternalItemFormSubscriptionControl.js.map +1 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/index.d.ts +0 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/index.js +0 -1
- package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/index.js.map +1 -1
- package/dist/elements/public/PaymentsApi/PaymentsApi.js +7 -1
- package/dist/elements/public/PaymentsApi/PaymentsApi.js.map +1 -1
- package/dist/elements/public/PaymentsApiPaymentMethodForm/PaymentsApiPaymentMethodForm.js +1 -1
- package/dist/elements/public/PaymentsApiPaymentMethodForm/PaymentsApiPaymentMethodForm.js.map +1 -1
- package/dist/elements/public/ReportForm/ReportForm.js +4 -4
- package/dist/elements/public/ReportForm/ReportForm.js.map +1 -1
- package/dist/elements/public/StoreForm/StoreForm.js +1 -1
- package/dist/elements/public/StoreForm/StoreForm.js.map +1 -1
- package/dist/elements/public/SubscriptionCard/SubscriptionCard.js +24 -12
- package/dist/elements/public/SubscriptionCard/SubscriptionCard.js.map +1 -1
- package/dist/elements/public/SubscriptionForm/SubscriptionForm.js +11 -4
- package/dist/elements/public/SubscriptionForm/SubscriptionForm.js.map +1 -1
- package/dist/elements/public/SubscriptionsTable/SubscriptionsTable.js +22 -22
- package/dist/elements/public/SubscriptionsTable/SubscriptionsTable.js.map +1 -1
- package/dist/elements/public/TaxForm/TaxForm.js +4 -4
- package/dist/elements/public/TaxForm/TaxForm.js.map +1 -1
- package/dist/elements/public/TemplateForm/TemplateForm.js +4 -4
- package/dist/elements/public/TemplateForm/TemplateForm.js.map +1 -1
- package/package.json +1 -1
- package/dist/cdn/shared-7fab31ac.js +0 -1
- package/dist/cdn/shared-e2e2ca6a.js +0 -1
- package/dist/cdn/shared-f29d410a.js +0 -46
- package/dist/elements/private/PropertyTable/PropertyTable.d.ts +0 -12
- package/dist/elements/private/PropertyTable/PropertyTable.js +0 -43
- package/dist/elements/private/PropertyTable/PropertyTable.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./shared-9048eeb2.js";import"./shared-2edcd981.js";import{I as e}from"./shared-ba93be6b.js";import{h as t}from"./shared-7f33a83a.js";import{_ as r,Y as i}from"./shared-4c2e9064.js";import"./shared-799dc083.js";import"./foxy-spinner.js";import{C as n}from"./shared-5cf7b194.js";import{T as s}from"./shared-3b709ddc.js";import{N as a}from"./shared-9b12aeac.js";import{c as o}from"./shared-4e709717.js";let l,d=e=>e;customElements.define("foxy-internal-delete-control",class extends e{constructor(){super(...arguments),this.theme="error"}static get properties(){return r(r({},super.properties),{},{theme:{type:String}})}renderControl(){return t(l||(l=d` <foxy-internal-confirm-dialog message="delete_prompt" confirm="delete" cancel="cancel" header="delete" theme="primary error" infer="" id="confirm" @hide="${0}"> </foxy-internal-confirm-dialog> <vaadin-button data-testid="delete" theme="${0}" class="w-full" ?disabled="${0}" @click="${0}"> <foxy-i18n infer="" key="delete"></foxy-i18n> </vaadin-button> `),(e=>{var t;return!e.detail.cancelled&&(null===(t=this.nucleon)||void 0===t?void 0:t.delete())}),this.theme,this.disabled||this.readonly,(e=>{this.renderRoot.querySelector("#confirm").show(e.currentTarget)}))}});let c,u=e=>e;customElements.define("foxy-internal-create-control",class extends e{constructor(){super(...arguments),this.theme="primary success"}static get properties(){return r(r({},super.properties),{},{theme:{type:String}})}renderControl(){return t(c||(c=u` <vaadin-button class="w-full" theme="${0}" ?disabled="${0}" @click="${0}"> <foxy-i18n infer="" key="create"></foxy-i18n> </vaadin-button> `),this.theme,this.disabled||this.__isInvalid,(()=>{var e;return null===(e=this.nucleon)||void 0===e?void 0:e.submit()}))}get __isCleanTemplateInvalid(){var e;return!!(null===(e=this.nucleon)||void 0===e?void 0:e.in({idle:{template:{clean:"invalid"}}}))}get __isDirtyTemplateInvalid(){var e;return!!(null===(e=this.nucleon)||void 0===e?void 0:e.in({idle:{template:{dirty:"invalid"}}}))}get __isCleanSnapshotInvalid(){var e;return!!(null===(e=this.nucleon)||void 0===e?void 0:e.in({idle:{snapshot:{clean:"invalid"}}}))}get __isDirtySnapshotInvalid(){var e;return!!(null===(e=this.nucleon)||void 0===e?void 0:e.in({idle:{snapshot:{dirty:"invalid"}}}))}get __isTemplateInvalid(){return this.__isCleanTemplateInvalid||this.__isDirtyTemplateInvalid}get __isSnapshotInvalid(){return this.__isCleanSnapshotInvalid||this.__isDirtySnapshotInvalid}get __isInvalid(){return this.__isSnapshotInvalid||this.__isTemplateInvalid}});let p,f=e=>e;customElements.define("foxy-internal-timestamps-control",class extends e{renderControl(){return t(p||(p=f` <p class="font-lumo text-xs leading-s text-secondary"> <foxy-i18n infer="" key="date_created"></foxy-i18n> <foxy-i18n .options="${0}" infer="" key="date"> </foxy-i18n> <span>•<span> <foxy-i18n infer="" key="date_modified"></foxy-i18n> <foxy-i18n .options="${0}" infer="" key="date"> </foxy-i18n> </span></span></p> `),{value:i(this,"nucleon.data.date_created")},{value:i(this,"nucleon.data.date_modified")})}});let h,m,y,v,x,_=e=>e;const b=n(s(a));class g extends b{constructor(){super(...arguments),this.status=null}static get properties(){return r(r({},super.properties),{},{status:{type:Object}})}renderBody(){return this.data?t(h||(h=_` <foxy-internal-timestamps-control infer="timestamps"></foxy-internal-timestamps-control> <foxy-internal-delete-control infer="delete"></foxy-internal-delete-control> `)):t(m||(m=_`<foxy-internal-create-control infer="create"></foxy-internal-create-control>`))}render(){const e=!(this.in("idle")||this.in({busy:"fetching"})&&this.data);return t(y||(y=_` <div aria-busy="${0}" aria-live="polite" class="relative"> <div class="${0}"> ${0} ${0} ${0} </div> <div data-testid="spinner" class="${0}"> <foxy-spinner layout="${0}" class="m-auto" state="${0}" infer="spinner"> </foxy-spinner> </div> </div> `),this.in("busy"),o({"grid grid-cols-1 gap-m":!0,"transition-opacity":!0,"opacity-0 pointer-events-none":e}),this.__generalErrors.map((e=>this.__renderGeneralError(e))),this.status?this.__renderStatus(this.status):"",this.renderBody(),o({"transition-opacity absolute inset-0 flex":!0,"opacity-0 pointer-events-none":!e}),this.in("fail")?"vertical":"no-label",this.in("fail")?"error":"busy")}get __generalErrors(){const e=this.constructor.generalErrorPrefix;return this.errors.filter((t=>t.startsWith(e)))}__renderGeneralError(e){return t(v||(v=_` <foxy-i18n class="leading-xs text-body rounded bg-error-10 block" style="padding:calc(.625em + (var(--lumo-border-radius)/ 4) - 1px)" infer="error" key="${0}"> </foxy-i18n> `),e.replace("error:",""))}__renderStatus({key:e,options:r}){return t(x||(x=_` <p data-testid="status" class="leading-xs text-body rounded bg-success-10 flex items-start gap-m" style="padding:calc(.625em + (var(--lumo-border-radius)/ 4) - 1px)"> <foxy-i18n class="flex-1" infer="status" key="${0}" .options="${0}"></foxy-i18n> <vaadin-button class="flex-shrink-0" theme="success tertiary-inline" @click="${0}"> <foxy-i18n class="flex-1" infer="status" key="close"></foxy-i18n> </vaadin-button> </p> `),e,r,(()=>this.status=null))}}g.generalErrorPrefix="error:",customElements.define("foxy-internal-form",g);export{g as I};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./shared-7abbc95c.js";import"./shared-9048eeb2.js";import"./shared-799dc083.js";import{I as e}from"./shared-
|
|
1
|
+
import"./shared-7abbc95c.js";import"./shared-9048eeb2.js";import"./shared-799dc083.js";import{I as e}from"./shared-5280c80a.js";import"./foxy-spinner.js";import"./shared-2edcd981.js";import{v as t}from"./shared-b738ee96.js";import{S as s,R as r,a as i}from"./shared-3b709ddc.js";import{i as l}from"./shared-d3bf9ac0.js";import{C as a}from"./shared-7723f756.js";import{G as n}from"./shared-d1f5de89.js";import{s as o,h as d}from"./shared-7f33a83a.js";import{m as h}from"./shared-4c2e9064.js";let c,m,C,f,p=e=>e;const g=[{property:"is_merchant",icon:o(c||(c=p`<svg class="fill-current h-full w-full" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.8961 8.89L21.7932 4.52C21.5622 3.62 20.7429 3 19.7871 3H5.1979C4.25259 3 3.42283 3.63 3.20225 4.52L2.0994 8.89C1.84732 9.91 2.07839 10.95 2.75061 11.77C2.83464 11.88 2.95017 11.96 3.0447 12.06V19C3.0447 20.1 3.99001 21 5.14538 21H19.8501C21.0055 21 21.9508 20.1 21.9508 19V12.06C22.0453 11.97 22.1609 11.88 22.2449 11.78C22.9171 10.96 23.1587 9.91 22.8961 8.89ZM19.7556 4.99L20.8584 9.36C20.9635 9.78 20.8689 10.2 20.5958 10.53C20.4488 10.71 20.1337 11 19.6085 11C18.9678 11 18.4111 10.51 18.3376 9.86L17.7284 5L19.7556 4.99ZM13.5481 5H15.6067L16.1739 9.52C16.2264 9.91 16.1004 10.3 15.8273 10.59C15.5962 10.85 15.2601 11 14.8295 11C14.1258 11 13.5481 10.41 13.5481 9.69V5ZM8.81106 9.52L9.38874 5H11.4474V9.69C11.4474 10.41 10.8697 11 10.0925 11C9.73536 11 9.40975 10.85 9.15767 10.59C8.89509 10.3 8.76905 9.91 8.81106 9.52ZM4.13705 9.36L5.1979 5H7.26706L6.65787 9.86C6.57384 10.51 6.02766 11 5.38696 11C4.87229 11 4.54669 10.71 4.41014 10.53C4.12655 10.21 4.03202 9.78 4.13705 9.36ZM5.14538 19V12.97C5.22941 12.98 5.30293 13 5.38696 13C6.30075 13 7.13052 12.64 7.73971 12.05C8.36992 12.65 9.21019 13 10.166 13C11.0798 13 11.8991 12.64 12.5082 12.07C13.1279 12.64 13.9682 13 14.9135 13C15.7958 13 16.6361 12.65 17.2663 12.05C17.8755 12.64 18.7052 13 19.619 13C19.7031 13 19.7766 12.98 19.8606 12.97V19H5.14538Z" /></svg>`)),key:"merchant"},{property:"is_programmer",icon:o(m||(m=p`<svg class="fill-current h-full w-full" viewBox="0 0 20 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 3C0 1.34315 1.34315 0 3 0H17C18.6569 0 20 1.34315 20 3V15C20 16.6569 18.6569 18 17 18H3C1.34315 18 0 16.6569 0 15V3ZM3 2C2.44772 2 2 2.44772 2 3V15C2 15.5523 2.44772 16 3 16H17C17.5523 16 18 15.5523 18 15V3C18 2.44772 17.5523 2 17 2H3ZM4.29289 4.29289C4.68342 3.90237 5.31658 3.90237 5.70711 4.29289L9.70711 8.29289C9.89464 8.48043 10 8.73478 10 9C10 9.26522 9.89464 9.51957 9.70711 9.70711L5.70711 13.7071C5.31658 14.0976 4.68342 14.0976 4.29289 13.7071C3.90237 13.3166 3.90237 12.6834 4.29289 12.2929L7.58579 9L4.29289 5.70711C3.90237 5.31658 3.90237 4.68342 4.29289 4.29289ZM9 13C9 12.4477 9.44771 12 10 12H15C15.5523 12 16 12.4477 16 13C16 13.5523 15.5523 14 15 14H10C9.44771 14 9 13.5523 9 13Z"/></svg>`)),key:"backend_developer"},{property:"is_front_end_developer",icon:o(C||(C=p`<svg class="fill-current h-full w-full" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M14.2747 4.03847C14.8058 4.1902 15.1132 4.74368 14.9615 5.27472L10.9615 19.2747C10.8098 19.8058 10.2563 20.1132 9.72528 19.9615C9.19424 19.8098 8.88675 19.2563 9.03848 18.7253L13.0385 4.72528C13.1902 4.19424 13.7437 3.88675 14.2747 4.03847ZM6.70711 7.29289C7.09763 7.68342 7.09763 8.31658 6.70711 8.7071L3.41421 12L6.70711 15.2929C7.09763 15.6834 7.09763 16.3166 6.70711 16.7071C6.31658 17.0976 5.68342 17.0976 5.29289 16.7071L1.29289 12.7071C0.902369 12.3166 0.902369 11.6834 1.29289 11.2929L5.29289 7.29289C5.68342 6.90237 6.31658 6.90237 6.70711 7.29289ZM17.2929 7.29289C17.6834 6.90237 18.3166 6.90237 18.7071 7.29289L22.7071 11.2929C22.8946 11.4804 23 11.7348 23 12C23 12.2652 22.8946 12.5196 22.7071 12.7071L18.7071 16.7071C18.3166 17.0976 17.6834 17.0976 17.2929 16.7071C16.9024 16.3166 16.9024 15.6834 17.2929 15.2929L20.5858 12L17.2929 8.70711C16.9024 8.31658 16.9024 7.68342 17.2929 7.29289Z" /></svg>`)),key:"frontend_developer"},{property:"is_designer",icon:o(f||(f=p`<svg class="fill-current h-full w-full" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10 20C4.49 20 0 15.51 0 10C0 4.49 4.49 0 10 0C15.51 0 20 4.04 20 9C20 12.31 17.31 15 14 15H12.23C11.95 15 11.73 15.22 11.73 15.5C11.73 15.62 11.78 15.73 11.86 15.83C12.27 16.3 12.5 16.89 12.5 17.5C12.5 18.88 11.38 20 10 20ZM10 2C5.59 2 2 5.59 2 10C2 14.41 5.59 18 10 18C10.28 18 10.5 17.78 10.5 17.5C10.5 17.34 10.42 17.22 10.36 17.15C9.95 16.69 9.73 16.1 9.73 15.5C9.73 14.12 10.85 13 12.23 13H14C16.21 13 18 11.21 18 9C18 5.14 14.41 2 10 2Z" /><path d="M4.5 11C5.32843 11 6 10.3284 6 9.5C6 8.67157 5.32843 8 4.5 8C3.67157 8 3 8.67157 3 9.5C3 10.3284 3.67157 11 4.5 11Z" /><path d="M7.5 7C8.32843 7 9 6.32843 9 5.5C9 4.67157 8.32843 4 7.5 4C6.67157 4 6 4.67157 6 5.5C6 6.32843 6.67157 7 7.5 7Z" /><path d="M12.5 7C13.3284 7 14 6.32843 14 5.5C14 4.67157 13.3284 4 12.5 4C11.6716 4 11 4.67157 11 5.5C11 6.32843 11.6716 7 12.5 7Z" /><path d="M15.5 11C16.3284 11 17 10.3284 17 9.5C17 8.67157 16.3284 8 15.5 8C14.6716 8 14 8.67157 14 9.5C14 10.3284 14.6716 11 15.5 11Z" /></svg>`)),key:"designer"}];let _,u,v,y,x,$=e=>e;const b=s(r(i(e,"user-form")));class w extends b{constructor(){super(...arguments),this.templates={},this.__getValidator=h((e=>()=>!this.errors.some((t=>t.startsWith(e))))),this.__bindField=h((e=>t=>{const s=t.target;this.edit({[e]:s.value})}))}static get scopedElements(){return{"foxy-internal-confirm-dialog":customElements.get("foxy-internal-confirm-dialog"),"foxy-internal-sandbox":customElements.get("foxy-internal-sandbox"),"vaadin-text-field":customElements.get("vaadin-text-field"),"vaadin-button":customElements.get("vaadin-button"),"foxy-spinner":customElements.get("foxy-spinner"),"x-checkbox":a,"foxy-i18n":customElements.get("foxy-i18n"),"x-group":n}}static get v8n(){return[({first_name:e})=>!e||e.length<=50||"first_name_too_long",({last_name:e})=>!e||e.length<=50||"last_name_too_long",({email:e})=>e&&e.length>0||"email_required",({email:e})=>!e||e.length<=100||"email_too_long",({email:e})=>!e||t(e)||"email_invalid_email",({phone:e})=>!e||e.length<=50||"phone_too_long"]}renderBody(){const e=this.hiddenSelector,t=this.href?"delete":"create";return d(_||(_=$` <div class="grid sm-grid-cols-2 gap-m"> ${0} ${0} ${0} </div> `),["first_name","last_name","email","phone"].map((e=>this.__renderField(e))),e.matches("role",!0)?"":this.__renderRole(),e.matches(t,!0)?"":this.__renderAction())}__renderField(e){const t=e.replace("_","-");if(!this.hiddenSelector.matches(t))return d(u||(u=$` <div> ${0} <vaadin-text-field error-message="${0}" data-testid="${0}" label="${0}" class="w-full" value="${0}" ?disabled="${0}" ?readonly="${0}" .checkValidity="${0}" @input="${0}" @keydown="${0}"> </vaadin-text-field> ${0} </div> `),this.renderTemplateOrSlot(`${t}:before`),this.__getErrorMessage(e),e,this.t(e),l(this.form[e]),!this.in("idle")||this.disabledSelector.matches(t,!0),this.readonlySelector.matches(t,!0),this.__getValidator(e),this.__bindField(e),this.__handleKeyDown,this.renderTemplateOrSlot(`${t}:after`))}__renderRole(){const e=!this.in("idle")||this.disabledSelector.matches("role",!0);return d(v||(v=$` <div class="sm-col-span-2"> ${0} <x-group data-testid="role" frame> ${0} </x-group> ${0} </div> `),this.renderTemplateOrSlot("role:before"),g.map(((t,s)=>d(y||(y=$` <hr class="${0}" style="margin-left:calc((var(--lumo-space-m) * 2) + 1.125rem)"> <x-checkbox data-testclass="role-option" class="w-full p-m" ?readonly="${0}" ?disabled="${0}" ?checked="${0}" @change="${0}"> <div class="flex items-start leading-s"> <div class="flex-1 flex flex-col"> <foxy-i18n key="${0}" infer=""></foxy-i18n> <foxy-i18n class="text-s ${0}" infer="" key="${0}_explainer"> </foxy-i18n> </div> <div class="mt-xs" style="width:1.125rem;height:1.125rem">${0}</div> </div> </x-checkbox> `),s>0?"border-contrast-10":"hidden",this.readonlySelector.matches("role",!0),e,this.form[t.property],(e=>{const s=e.currentTarget;this.edit({[t.property]:s.checked})}),t.key,e?"":"text-secondary",t.key,t.icon))),this.renderTemplateOrSlot("role:after"))}__renderAction(){const e=this.in({idle:{template:{dirty:"valid"}}}),t=this.in({idle:{snapshot:{dirty:"valid"}}}),s=e||t,r=this.href?"delete":"create",i=this.in({idle:"template"})&&!s||this.in("busy")||this.in("fail")||this.disabledSelector.matches(r,!0);return d(x||(x=$` <div class="sm-col-span-2"> ${0} <foxy-internal-confirm-dialog data-testid="confirm" message="delete_prompt" confirm="delete" cancel="cancel" header="delete" theme="primary error" lang="${0}" ns="${0}" id="confirm" @hide="${0}"> </foxy-internal-confirm-dialog> <vaadin-button data-testid="${0}" theme="${0}" class="w-full" ?disabled="${0}" @click="${0}"> <foxy-i18n lang="${0}" key="${0}" ns="${0}"></foxy-i18n> </vaadin-button> ${0} </div> `),this.renderTemplateOrSlot(`${r}:before`),this.lang,this.ns,this.__handleConfirmHide,r,this.in("idle")?""+(this.href?"error":"primary success"):"",i,this.__handleActionClick,this.lang,r,this.ns,this.renderTemplateOrSlot(`${r}:after`))}__getErrorMessage(e){const t=this.errors.find((t=>t.startsWith(e)));return t?this.t(t.replace(e,"v8n")):""}__handleActionClick(e){if(this.in({idle:"snapshot"})){this.renderRoot.querySelector("#confirm").show(e.currentTarget)}else this.submit()}__handleConfirmHide(e){e.detail.cancelled||this.delete()}__handleKeyDown(e){"Enter"===e.key&&this.submit()}}customElements.define("foxy-user-form",w);export{w as U,g as r};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import{_ as e}from"./shared-4c2e9064.js";import{T as t}from"./shared-7a455b15.js";import{a as s}from"./shared-3b709ddc.js";import{p as n}from"./shared-630a0ff2.js";let a,o,i,r,l=e=>e;class c extends(s(t,"subscriptions-table")){constructor(){super(...arguments),this.columns=[c.priceColumn,c.summaryColumn,c.statusColumn,c.subTokenURLColumn]}}c.priceColumn={cell:t=>{const s=t.data._embedded["fx:transaction_template"],o=`${s.total_order} ${s.currency_code}`;return t.html(a||(a=l`
|
|
2
|
+
<foxy-i18n
|
|
3
|
+
data-testclass="i18n frequencies"
|
|
4
|
+
class="font-medium text-m font-tnum"
|
|
5
|
+
lang=${0}
|
|
6
|
+
key="price_${0}"
|
|
7
|
+
ns=${0}
|
|
8
|
+
.options=${0}
|
|
9
|
+
>
|
|
10
|
+
</foxy-i18n>
|
|
11
|
+
`),t.lang,".5m"===t.data.frequency?"twice_a_month":"recurring",t.ns,e(e({},n(t.data.frequency)),{},{amount:o}))}},c.summaryColumn={cell:e=>{const t=e.data._embedded["fx:transaction_template"]._embedded["fx:items"],s={most_expensive_item:[...t].sort(((e,t)=>e.price-t.price))[0],count_minus_one:t.length-1,count:t.length};return e.html(o||(o=l`
|
|
12
|
+
<foxy-i18n
|
|
13
|
+
data-testclass="i18n summaries"
|
|
14
|
+
class="text-m"
|
|
15
|
+
lang=${0}
|
|
16
|
+
key="transaction_summary"
|
|
17
|
+
ns=${0}
|
|
18
|
+
.options=${0}
|
|
19
|
+
>
|
|
20
|
+
</foxy-i18n>
|
|
21
|
+
`),e.lang,e.ns,s)}},c.statusColumn={hideBelow:"sm",cell:({ns:e,lang:t,data:s,html:n})=>{let a,o,r="bg-contrast-5 text-secondary";if(s.first_failed_transaction_date)r="bg-error-10 text-error",a=s.first_failed_transaction_date,o="subscription_failed";else if(s.end_date){a=s.end_date;o=new Date(s.end_date).getTime()>Date.now()?"subscription_will_be_cancelled":"subscription_cancelled"}else s.is_active?new Date(s.start_date)>new Date?(a=s.start_date,o="subscription_will_be_active"):(r="bg-success-10 text-success",a=s.next_transaction_date,o="subscription_active"):(a="",o="subscription_inactive");return n(i||(i=l`
|
|
22
|
+
<foxy-i18n
|
|
23
|
+
data-testclass="i18n statuses"
|
|
24
|
+
class="px-s py-xs text-m font-medium block whitespace-normal rounded ${0}"
|
|
25
|
+
lang=${0}
|
|
26
|
+
key=${0}
|
|
27
|
+
ns=${0}
|
|
28
|
+
.options=${0}
|
|
29
|
+
>
|
|
30
|
+
</foxy-i18n>
|
|
31
|
+
`),r,t,o,e,{date:a})}},c.subTokenURLColumn={cell:e=>e.html(r||(r=l`
|
|
32
|
+
<a
|
|
33
|
+
data-testclass="links"
|
|
34
|
+
target="_blank"
|
|
35
|
+
class="text-m font-medium text-primary rounded hover-underline focus-outline-none focus-shadow-outline"
|
|
36
|
+
href=${0}
|
|
37
|
+
>
|
|
38
|
+
<foxy-i18n
|
|
39
|
+
data-testclass="i18n"
|
|
40
|
+
lang=${0}
|
|
41
|
+
key="update"
|
|
42
|
+
ns=${0}
|
|
43
|
+
>
|
|
44
|
+
</foxy-i18n>
|
|
45
|
+
</a>
|
|
46
|
+
`),e.data._links["fx:sub_token_url"].href,e.lang,e.ns)};export{c as S};
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"create": "Create",
|
|
11
11
|
"date": "{{value, date}}",
|
|
12
12
|
"date_created": "Created on",
|
|
13
|
-
"date_modified": "Last updated",
|
|
13
|
+
"date_modified": "Last updated on",
|
|
14
14
|
"delete": "Delete",
|
|
15
15
|
"delete_prompt": "This resource will be permanently removed. Are you sure?",
|
|
16
16
|
"first_name": "First name",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"subscription_failed": "Payment failed on {{date, date}}",
|
|
12
12
|
"subscription_inactive": "Inactive",
|
|
13
13
|
"subscription_will_be_cancelled": "Ends on {{date, date}}",
|
|
14
|
+
"subscription_will_be_active": "Starts on {{date, date}}",
|
|
14
15
|
"summary": "{{ firstItem.name }}",
|
|
15
16
|
"summary_plural": "{{ firstItem.name }} + {{ countMinus1 }} more",
|
|
16
17
|
"summary_approximate": "{{ firstItem.name }} + more",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"create": "Create",
|
|
5
5
|
"date": "{{value, date}}",
|
|
6
6
|
"date_created": "Created on",
|
|
7
|
-
"date_modified": "Last updated",
|
|
7
|
+
"date_modified": "Last updated on",
|
|
8
8
|
"delete": "Delete",
|
|
9
9
|
"delete_prompt": "This resource will be permanently removed. Are you sure?",
|
|
10
10
|
"name": "Name",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"subscription": {
|
|
76
76
|
"title": "Subscription",
|
|
77
77
|
"frequency": {
|
|
78
|
-
"label": "
|
|
78
|
+
"label": "Subscription frequency",
|
|
79
79
|
"helper_text": "",
|
|
80
80
|
"day": "Day",
|
|
81
81
|
"day_plural": "Days",
|
|
@@ -87,21 +87,21 @@
|
|
|
87
87
|
"year_plural": "Years"
|
|
88
88
|
},
|
|
89
89
|
"start": {
|
|
90
|
-
"label": "
|
|
90
|
+
"label": "Subscription start",
|
|
91
91
|
"helper_text": "",
|
|
92
92
|
"placeholder": "01/01/2022"
|
|
93
93
|
},
|
|
94
94
|
"end": {
|
|
95
|
-
"label": "
|
|
95
|
+
"label": "Subscription end",
|
|
96
96
|
"helper_text": "",
|
|
97
97
|
"placeholder": "01/01/2022"
|
|
98
98
|
},
|
|
99
99
|
"next": {
|
|
100
|
-
"label": "Next
|
|
100
|
+
"label": "Next payment (subscriptions only)",
|
|
101
101
|
"helper_text": "",
|
|
102
102
|
"placeholder": "01/01/2022"
|
|
103
103
|
},
|
|
104
|
-
"
|
|
104
|
+
"form": {
|
|
105
105
|
"save": "Save",
|
|
106
106
|
"update": "Update",
|
|
107
107
|
"day": "Day",
|
|
@@ -132,6 +132,7 @@
|
|
|
132
132
|
"subscription_failed": "Payment failed on {{date, date}}",
|
|
133
133
|
"subscription_inactive": "Inactive",
|
|
134
134
|
"subscription_will_be_cancelled": "Ends on {{date, date}}",
|
|
135
|
+
"subscription_will_be_active": "Starts on {{date, date}}",
|
|
135
136
|
"transaction_plural": "Transactions",
|
|
136
137
|
"twice_a_month": "Twice a month",
|
|
137
138
|
"undo_cancel": "Review",
|
|
@@ -193,6 +194,7 @@
|
|
|
193
194
|
"subscription_inactive": "Inactive",
|
|
194
195
|
"subscription_plural": "Subscriptions",
|
|
195
196
|
"subscription_will_be_cancelled": "Ends on {{date, date}}",
|
|
197
|
+
"subscription_will_be_active": "Starts on {{date, date}}",
|
|
196
198
|
"transaction_summary": "{{most_expensive_item.name}}",
|
|
197
199
|
"twice_a_month": "Twice a month",
|
|
198
200
|
"weekly": "Weekly",
|
|
@@ -207,7 +209,6 @@
|
|
|
207
209
|
}
|
|
208
210
|
},
|
|
209
211
|
"line-item-discount": {
|
|
210
|
-
"title": "Line item discount",
|
|
211
212
|
"coupon": {
|
|
212
213
|
"label": "Coupon",
|
|
213
214
|
"helper_text": "",
|
|
@@ -234,7 +235,6 @@
|
|
|
234
235
|
}
|
|
235
236
|
},
|
|
236
237
|
"cart": {
|
|
237
|
-
"title": "Cart",
|
|
238
238
|
"expires": {
|
|
239
239
|
"label": "Expires",
|
|
240
240
|
"helper_text": "",
|
|
@@ -262,7 +262,6 @@
|
|
|
262
262
|
}
|
|
263
263
|
},
|
|
264
264
|
"shipping": {
|
|
265
|
-
"title": "Shipping",
|
|
266
265
|
"shipto": {
|
|
267
266
|
"label": "Shipping address",
|
|
268
267
|
"helper_text": "",
|
|
@@ -290,7 +289,6 @@
|
|
|
290
289
|
}
|
|
291
290
|
},
|
|
292
291
|
"inventory": {
|
|
293
|
-
"title": "Inventory",
|
|
294
292
|
"category": {
|
|
295
293
|
"label": "Item category",
|
|
296
294
|
"helper_text": "",
|
|
@@ -343,73 +341,37 @@
|
|
|
343
341
|
},
|
|
344
342
|
"attributes": {
|
|
345
343
|
"title": "Attributes",
|
|
346
|
-
"card": {
|
|
347
|
-
"spinner": {
|
|
348
|
-
"loading_busy": "Loading",
|
|
349
|
-
"loading_empty": "No data",
|
|
350
|
-
"loading_error": "Failed to load"
|
|
351
|
-
}
|
|
352
|
-
},
|
|
353
|
-
"pagination": {
|
|
354
|
-
"first": "First",
|
|
355
|
-
"last": "Last",
|
|
356
|
-
"next": "Next",
|
|
357
|
-
"pagination": "{{from}}-{{to}} out of {{total}}",
|
|
358
|
-
"previous": "Previous"
|
|
359
|
-
},
|
|
360
344
|
"dialog": {
|
|
345
|
+
"header_create": "Create attribute",
|
|
346
|
+
"header_update": "Update attribute",
|
|
361
347
|
"close": "Close",
|
|
362
|
-
"cancel": "Cancel",
|
|
363
|
-
"header_update": "Attribute",
|
|
364
|
-
"header_create": "New attribute",
|
|
365
348
|
"save": "Save",
|
|
349
|
+
"cancel": "Cancel",
|
|
366
350
|
"undo_header": "Unsaved changes",
|
|
367
351
|
"undo_message": "Looks like you didn't save your changes! What would you like to do with them?",
|
|
368
352
|
"undo_cancel": "Review",
|
|
369
|
-
"undo_confirm": "Discard"
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
"
|
|
375
|
-
"date_modified": "Last updated",
|
|
376
|
-
"delete": "Delete",
|
|
377
|
-
"delete_prompt": "This resource will be permanently removed. Are you sure?",
|
|
378
|
-
"name": "Name",
|
|
379
|
-
"v8n_required": "Required",
|
|
380
|
-
"v8n_too_long": "Too long",
|
|
381
|
-
"value": "Value",
|
|
382
|
-
"visibility": "Visibility",
|
|
383
|
-
"visibility_private": "Only me",
|
|
384
|
-
"visibility_public": "Everyone",
|
|
385
|
-
"visibility_restricted": "Store admins",
|
|
353
|
+
"undo_confirm": "Discard"
|
|
354
|
+
},
|
|
355
|
+
"pagination": {
|
|
356
|
+
"create_button_text": "Add attribute",
|
|
357
|
+
"card": {
|
|
358
|
+
"delete_button_text": "Delete",
|
|
386
359
|
"spinner": {
|
|
387
360
|
"loading_busy": "Loading",
|
|
361
|
+
"loading_empty": "No data",
|
|
388
362
|
"loading_error": "Failed to load"
|
|
389
363
|
}
|
|
390
|
-
}
|
|
364
|
+
},
|
|
365
|
+
"first": "First",
|
|
366
|
+
"last": "Last",
|
|
367
|
+
"next": "Next",
|
|
368
|
+
"pagination": "{{from}}-{{to}} out of {{total}}",
|
|
369
|
+
"previous": "Previous"
|
|
391
370
|
}
|
|
392
371
|
},
|
|
393
372
|
"item-options": {
|
|
394
373
|
"title": "Item options",
|
|
395
|
-
"
|
|
396
|
-
"spinner": {
|
|
397
|
-
"loading_busy": "Loading",
|
|
398
|
-
"loading_empty": "No data",
|
|
399
|
-
"loading_error": "Failed to load"
|
|
400
|
-
}
|
|
401
|
-
},
|
|
402
|
-
"dialog": {
|
|
403
|
-
"close": "Close",
|
|
404
|
-
"cancel": "Cancel",
|
|
405
|
-
"header_update": "Item option",
|
|
406
|
-
"header_create": "New item option",
|
|
407
|
-
"save": "Save",
|
|
408
|
-
"undo_header": "Unsaved changes",
|
|
409
|
-
"undo_message": "Looks like you didn't save your changes! What would you like to do with them?",
|
|
410
|
-
"undo_cancel": "Review",
|
|
411
|
-
"undo_confirm": "Discard",
|
|
412
|
-
"confirm": "Confirm",
|
|
374
|
+
"form": {
|
|
413
375
|
"name": {
|
|
414
376
|
"label": "Name",
|
|
415
377
|
"helper_text": "",
|
|
@@ -436,7 +398,7 @@
|
|
|
436
398
|
},
|
|
437
399
|
"timestamps": {
|
|
438
400
|
"date_created": "Created on",
|
|
439
|
-
"date_modified": "Last updated",
|
|
401
|
+
"date_modified": "Last updated on",
|
|
440
402
|
"date": "{{value, date}}"
|
|
441
403
|
},
|
|
442
404
|
"spinner": {
|
|
@@ -452,7 +414,27 @@
|
|
|
452
414
|
"create": "Create"
|
|
453
415
|
}
|
|
454
416
|
},
|
|
417
|
+
"dialog": {
|
|
418
|
+
"header_create": "Create option",
|
|
419
|
+
"header_update": "Update option",
|
|
420
|
+
"close": "Close",
|
|
421
|
+
"save": "Save",
|
|
422
|
+
"cancel": "Cancel",
|
|
423
|
+
"undo_header": "Unsaved changes",
|
|
424
|
+
"undo_message": "Looks like you didn't save your changes! What would you like to do with them?",
|
|
425
|
+
"undo_cancel": "Review",
|
|
426
|
+
"undo_confirm": "Discard"
|
|
427
|
+
},
|
|
455
428
|
"pagination": {
|
|
429
|
+
"card": {
|
|
430
|
+
"delete_button_text": "Delete",
|
|
431
|
+
"spinner": {
|
|
432
|
+
"loading_busy": "Loading",
|
|
433
|
+
"loading_empty": "No data",
|
|
434
|
+
"loading_error": "Failed to load"
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
"create_button_text": "Add option",
|
|
456
438
|
"first": "First",
|
|
457
439
|
"last": "Last",
|
|
458
440
|
"next": "Next",
|
|
@@ -462,7 +444,7 @@
|
|
|
462
444
|
},
|
|
463
445
|
"timestamps": {
|
|
464
446
|
"date_created": "Created on",
|
|
465
|
-
"date_modified": "Last updated",
|
|
447
|
+
"date_modified": "Last updated on",
|
|
466
448
|
"date": "{{value, date}}"
|
|
467
449
|
},
|
|
468
450
|
"delete": {
|
|
@@ -739,7 +721,7 @@
|
|
|
739
721
|
},
|
|
740
722
|
"timestamps": {
|
|
741
723
|
"date_created": "Created on",
|
|
742
|
-
"date_modified": "Last updated",
|
|
724
|
+
"date_modified": "Last updated on",
|
|
743
725
|
"date": "{{value, date}}"
|
|
744
726
|
},
|
|
745
727
|
"view-as-customer": {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"create": "Create",
|
|
6
6
|
"date": "{{value, date}}",
|
|
7
7
|
"date_created": "Created on",
|
|
8
|
-
"date_modified": "Last updated",
|
|
8
|
+
"date_modified": "Last updated on",
|
|
9
9
|
"delete": "Delete",
|
|
10
10
|
"delete_prompt": "This resource will be permanently removed. Are you sure?",
|
|
11
11
|
"v8n_required": "Required",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"custom_discount": "Custom discount",
|
|
27
27
|
"date": "{{value, date}}",
|
|
28
28
|
"date_created": "Created on",
|
|
29
|
-
"date_modified": "Last updated",
|
|
29
|
+
"date_modified": "Last updated on",
|
|
30
30
|
"delete": "Delete",
|
|
31
31
|
"delete_prompt": "This resource will be permanently removed. Are you sure?",
|
|
32
32
|
"description": "Description",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"code": "Code",
|
|
112
112
|
"date": "{{value, date}}",
|
|
113
113
|
"date_created": "Created on",
|
|
114
|
-
"date_modified": "Last updated",
|
|
114
|
+
"date_modified": "Last updated on",
|
|
115
115
|
"delete": "Delete",
|
|
116
116
|
"field": "Field",
|
|
117
117
|
"hidden": "Hidden",
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"create": "Create",
|
|
155
155
|
"date": "{{value, date}}",
|
|
156
156
|
"date_created": "Created on",
|
|
157
|
-
"date_modified": "Last updated",
|
|
157
|
+
"date_modified": "Last updated on",
|
|
158
158
|
"delete": "Delete",
|
|
159
159
|
"delete_prompt": "This resource will be permanently removed. Are you sure?",
|
|
160
160
|
"v8n_required": "Required",
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
"code": "Code",
|
|
214
214
|
"date": "{{value, date}}",
|
|
215
215
|
"date_created": "Created on",
|
|
216
|
-
"date_modified": "Last updated",
|
|
216
|
+
"date_modified": "Last updated on",
|
|
217
217
|
"delete": "Delete",
|
|
218
218
|
"field": "Field",
|
|
219
219
|
"hidden": "Hidden",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"create": "Create",
|
|
4
4
|
"date": "{{value, date}}",
|
|
5
5
|
"date_created": "Created on",
|
|
6
|
-
"date_modified": "Last updated",
|
|
6
|
+
"date_modified": "Last updated on",
|
|
7
7
|
"delete": "Delete",
|
|
8
8
|
"delete_prompt": "This resource will be permanently removed. Are you sure?",
|
|
9
9
|
"name": "Name",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"create": "Create",
|
|
39
39
|
"date": "{{value, date}}",
|
|
40
40
|
"date_created": "Created on",
|
|
41
|
-
"date_modified": "Last updated",
|
|
41
|
+
"date_modified": "Last updated on",
|
|
42
42
|
"delete": "Delete",
|
|
43
43
|
"delete_prompt": "This resource will be permanently removed. Are you sure?",
|
|
44
44
|
"first_name": "First name",
|
|
@@ -643,7 +643,7 @@
|
|
|
643
643
|
"create": "Create",
|
|
644
644
|
"date": "{{value, date}}",
|
|
645
645
|
"date_created": "Created on",
|
|
646
|
-
"date_modified": "Last updated",
|
|
646
|
+
"date_modified": "Last updated on",
|
|
647
647
|
"delete": "Delete",
|
|
648
648
|
"delete_prompt": "This resource will be permanently removed. Are you sure?",
|
|
649
649
|
"name": "Name",
|
|
@@ -725,7 +725,7 @@
|
|
|
725
725
|
},
|
|
726
726
|
"timestamps": {
|
|
727
727
|
"date_created": "Created on",
|
|
728
|
-
"date_modified": "Last updated",
|
|
728
|
+
"date_modified": "Last updated on",
|
|
729
729
|
"date": "{{value, date}}"
|
|
730
730
|
},
|
|
731
731
|
"delete": {
|
|
@@ -783,6 +783,7 @@
|
|
|
783
783
|
"subscription_failed": "Payment failed on {{date, date}}",
|
|
784
784
|
"subscription_inactive": "Inactive",
|
|
785
785
|
"subscription_will_be_cancelled": "Ends on {{date, date}}",
|
|
786
|
+
"subscription_will_be_active": "Starts on {{date, date}}",
|
|
786
787
|
"transaction_plural": "Transactions",
|
|
787
788
|
"twice_a_month": "Twice a month",
|
|
788
789
|
"undo_cancel": "Review",
|
|
@@ -847,6 +848,7 @@
|
|
|
847
848
|
"subscription_failed": "Payment failed on {{date, date}}",
|
|
848
849
|
"subscription_inactive": "Inactive",
|
|
849
850
|
"subscription_will_be_cancelled": "Ends on {{date, date}}",
|
|
851
|
+
"subscription_will_be_active": "Starts on {{date, date}}",
|
|
850
852
|
"transaction_summary": "{{most_expensive_item.name}}",
|
|
851
853
|
"twice_a_month": "Twice a month",
|
|
852
854
|
"update": "Update",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"create": "Create",
|
|
51
51
|
"date": "{{value, date}}",
|
|
52
52
|
"date_created": "Created on",
|
|
53
|
-
"date_modified": "Last updated",
|
|
53
|
+
"date_modified": "Last updated on",
|
|
54
54
|
"delete": "Delete",
|
|
55
55
|
"delete_prompt": "This resource will be permanently removed. Are you sure?",
|
|
56
56
|
"first_name": "First name",
|
|
@@ -697,7 +697,7 @@
|
|
|
697
697
|
},
|
|
698
698
|
"timestamps": {
|
|
699
699
|
"date_created": "Created on",
|
|
700
|
-
"date_modified": "Last updated",
|
|
700
|
+
"date_modified": "Last updated on",
|
|
701
701
|
"date": "{{value, date}}"
|
|
702
702
|
},
|
|
703
703
|
"spinner": {
|
|
@@ -732,6 +732,7 @@
|
|
|
732
732
|
"subscription_failed": "Payment failed on {{date, date}}",
|
|
733
733
|
"subscription_inactive": "Inactive",
|
|
734
734
|
"subscription_will_be_cancelled": "Ends on {{date, date}}",
|
|
735
|
+
"subscription_will_be_active": "Starts on {{date, date}}",
|
|
735
736
|
"transaction_summary": "{{most_expensive_item.name}}",
|
|
736
737
|
"twice_a_month": "twice a month",
|
|
737
738
|
"weekly": "/ week",
|
|
@@ -774,6 +775,7 @@
|
|
|
774
775
|
"subscription_failed": "Payment failed on {{date, date}}",
|
|
775
776
|
"subscription_inactive": "Inactive",
|
|
776
777
|
"subscription_will_be_cancelled": "Ends on {{date, date}}",
|
|
778
|
+
"subscription_will_be_active": "Starts on {{date, date}}",
|
|
777
779
|
"transaction_plural": "Transactions",
|
|
778
780
|
"twice_a_month": "Twice a month",
|
|
779
781
|
"update_billing": "Update billing",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"create": "Create",
|
|
6
6
|
"date": "{{value, date}}",
|
|
7
7
|
"date_created": "Created on",
|
|
8
|
-
"date_modified": "Last updated",
|
|
8
|
+
"date_modified": "Last updated on",
|
|
9
9
|
"default": "Default",
|
|
10
10
|
"delete": "Delete",
|
|
11
11
|
"delete_prompt": "This resource will be permanently removed. Are you sure?",
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"current_balance": "Current balance",
|
|
7
7
|
"date": "{{value, date}}",
|
|
8
8
|
"date_created": "Created on",
|
|
9
|
-
"date_modified": "Last updated",
|
|
9
|
+
"date_modified": "Last updated on",
|
|
10
10
|
"delete": "Delete",
|
|
11
11
|
"delete_prompt": "This resource will be permanently removed. Are you sure?",
|
|
12
12
|
"end_date": "End date",
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"current_balance": "Current balance",
|
|
184
184
|
"date": "{{value, date}}",
|
|
185
185
|
"date_created": "Created on",
|
|
186
|
-
"date_modified": "Last updated",
|
|
186
|
+
"date_modified": "Last updated on",
|
|
187
187
|
"day": "Day",
|
|
188
188
|
"day_plural": "Days",
|
|
189
189
|
"delete": "Delete",
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
"current_balance": "Current balance",
|
|
274
274
|
"date": "{{value, date}}",
|
|
275
275
|
"date_created": "Created on",
|
|
276
|
-
"date_modified": "Last updated",
|
|
276
|
+
"date_modified": "Last updated on",
|
|
277
277
|
"delete": "Delete",
|
|
278
278
|
"delete_prompt": "This resource will be permanently removed. Are you sure?",
|
|
279
279
|
"end_date": "End date",
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
"current_balance": "Current balance",
|
|
356
356
|
"date": "{{value, date}}",
|
|
357
357
|
"date_created": "Created on",
|
|
358
|
-
"date_modified": "Last updated",
|
|
358
|
+
"date_modified": "Last updated on",
|
|
359
359
|
"delete": "Delete",
|
|
360
360
|
"end_date": "End date",
|
|
361
361
|
"field": "Field",
|