@foxy.io/elements 1.24.0 → 1.24.1-beta.1

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.
Files changed (152) hide show
  1. package/dist/cdn/foxy-address-form.js +1 -1
  2. package/dist/cdn/foxy-api-browser.js +1 -1
  3. package/dist/cdn/foxy-applied-coupon-code-form.js +1 -1
  4. package/dist/cdn/foxy-attribute-form.js +1 -1
  5. package/dist/cdn/foxy-cart-form.js +1 -1
  6. package/dist/cdn/foxy-client-form.js +1 -1
  7. package/dist/cdn/foxy-coupon-code-form.js +1 -1
  8. package/dist/cdn/foxy-coupon-form.js +1 -1
  9. package/dist/cdn/foxy-custom-field-form.js +1 -1
  10. package/dist/cdn/foxy-customer-form.js +1 -1
  11. package/dist/cdn/foxy-customer-portal.js +1 -1
  12. package/dist/cdn/foxy-customer.js +1 -1
  13. package/dist/cdn/foxy-downloadable-form.js +1 -1
  14. package/dist/cdn/foxy-email-template-form.js +1 -1
  15. package/dist/cdn/foxy-filter-attribute-form.js +1 -1
  16. package/dist/cdn/foxy-gift-card-code-form.js +1 -1
  17. package/dist/cdn/foxy-gift-card-form.js +1 -1
  18. package/dist/cdn/foxy-integration-form.js +1 -1
  19. package/dist/cdn/foxy-item-category-form.js +1 -1
  20. package/dist/cdn/foxy-item-form.js +1 -1
  21. package/dist/cdn/foxy-item-option-form.js +1 -1
  22. package/dist/cdn/foxy-passkey-form.js +1 -1
  23. package/dist/cdn/foxy-payments-api-fraud-protection-form.js +1 -1
  24. package/dist/cdn/foxy-payments-api-payment-method-form.js +1 -1
  25. package/dist/cdn/foxy-payments-api-payment-preset-form.js +1 -1
  26. package/dist/cdn/foxy-payments-api.js +1 -1
  27. package/dist/cdn/foxy-report-form.js +2 -2
  28. package/dist/cdn/foxy-shipment-card.js +1 -1
  29. package/dist/cdn/foxy-store-form.js +1 -1
  30. package/dist/cdn/foxy-store-shipping-method-form.js +1 -1
  31. package/dist/cdn/foxy-subscription-form.js +1 -1
  32. package/dist/cdn/foxy-subscription-settings-form.js +1 -1
  33. package/dist/cdn/foxy-tax-form.js +1 -1
  34. package/dist/cdn/foxy-template-form.js +1 -1
  35. package/dist/cdn/foxy-template-set-form.js +1 -1
  36. package/dist/cdn/foxy-transaction.js +1 -1
  37. package/dist/cdn/foxy-user-form.js +1 -1
  38. package/dist/cdn/foxy-users-table.js +1 -1
  39. package/dist/cdn/foxy-webhook-form.js +1 -1
  40. package/dist/cdn/shared-4205699e.js +1 -0
  41. package/dist/cdn/shared-5280c80a.js +1 -0
  42. package/dist/cdn/{shared-baeef007.js → shared-94798eb5.js} +1 -1
  43. package/dist/cdn/translations/address-form/en.json +1 -1
  44. package/dist/cdn/translations/attribute-form/en.json +1 -1
  45. package/dist/cdn/translations/cart-form/en.json +45 -65
  46. package/dist/cdn/translations/client-form/en.json +1 -1
  47. package/dist/cdn/translations/coupon-code-form/en.json +1 -1
  48. package/dist/cdn/translations/coupon-form/en.json +4 -4
  49. package/dist/cdn/translations/custom-field-form/en.json +1 -1
  50. package/dist/cdn/translations/customer/en.json +3 -3
  51. package/dist/cdn/translations/customer-form/en.json +1 -1
  52. package/dist/cdn/translations/customer-portal/en.json +2 -2
  53. package/dist/cdn/translations/downloadable-form/en.json +1 -1
  54. package/dist/cdn/translations/email-template-form/en.json +1 -1
  55. package/dist/cdn/translations/gift-card-code-form/en.json +1 -1
  56. package/dist/cdn/translations/gift-card-form/en.json +3 -3
  57. package/dist/cdn/translations/item-category-form/en.json +1 -1
  58. package/dist/cdn/translations/item-form/en.json +28 -32
  59. package/dist/cdn/translations/item-option-form/en.json +1 -1
  60. package/dist/cdn/translations/passkey-form/en.json +1 -1
  61. package/dist/cdn/translations/payments-api-fraud-protection-form/en.json +1 -1
  62. package/dist/cdn/translations/payments-api-payment-method-form/en.json +1 -1
  63. package/dist/cdn/translations/payments-api-payment-preset-form/en.json +1 -1
  64. package/dist/cdn/translations/report-form/en.json +1 -1
  65. package/dist/cdn/translations/shipment-card/en.json +45 -64
  66. package/dist/cdn/translations/store-form/en.json +2 -2
  67. package/dist/cdn/translations/store-shipping-method-form/en.json +1 -1
  68. package/dist/cdn/translations/subscription-form/en.json +2 -2
  69. package/dist/cdn/translations/subscription-settings-form/en.json +1 -1
  70. package/dist/cdn/translations/tax-form/en.json +1 -1
  71. package/dist/cdn/translations/template-form/en.json +1 -1
  72. package/dist/cdn/translations/template-set-form/en.json +1 -1
  73. package/dist/cdn/translations/transaction/en.json +50 -69
  74. package/dist/cdn/translations/webhook-form/en.json +1 -1
  75. package/dist/elements/internal/InternalTimestampsControl/InternalTimestampsControl.d.ts +1 -3
  76. package/dist/elements/internal/InternalTimestampsControl/InternalTimestampsControl.js +18 -41
  77. package/dist/elements/internal/InternalTimestampsControl/InternalTimestampsControl.js.map +1 -1
  78. package/dist/elements/private/Metadata/Metadata.d.ts +13 -0
  79. package/dist/elements/private/Metadata/Metadata.js +27 -0
  80. package/dist/elements/private/Metadata/Metadata.js.map +1 -0
  81. package/dist/elements/private/index.d.ts +1 -1
  82. package/dist/elements/private/index.js +1 -1
  83. package/dist/elements/private/index.js.map +1 -1
  84. package/dist/elements/public/AddressForm/AddressForm.js +3 -3
  85. package/dist/elements/public/AddressForm/AddressForm.js.map +1 -1
  86. package/dist/elements/public/AttributeForm/AttributeForm.js +3 -3
  87. package/dist/elements/public/AttributeForm/AttributeForm.js.map +1 -1
  88. package/dist/elements/public/CouponCodeForm/CouponCodeForm.js +4 -4
  89. package/dist/elements/public/CouponCodeForm/CouponCodeForm.js.map +1 -1
  90. package/dist/elements/public/CouponForm/CouponForm.js +4 -4
  91. package/dist/elements/public/CouponForm/CouponForm.js.map +1 -1
  92. package/dist/elements/public/CustomFieldForm/CustomFieldForm.js +3 -3
  93. package/dist/elements/public/CustomFieldForm/CustomFieldForm.js.map +1 -1
  94. package/dist/elements/public/EmailTemplateForm/EmailTemplateForm.js +4 -4
  95. package/dist/elements/public/EmailTemplateForm/EmailTemplateForm.js.map +1 -1
  96. package/dist/elements/public/GiftCardCodeForm/GiftCardCodeForm.js +4 -4
  97. package/dist/elements/public/GiftCardCodeForm/GiftCardCodeForm.js.map +1 -1
  98. package/dist/elements/public/GiftCardForm/GiftCardForm.js +4 -4
  99. package/dist/elements/public/GiftCardForm/GiftCardForm.js.map +1 -1
  100. package/dist/elements/public/ItemForm/ItemForm.js +26 -13
  101. package/dist/elements/public/ItemForm/ItemForm.js.map +1 -1
  102. package/dist/elements/public/ItemForm/index.d.ts +1 -1
  103. package/dist/elements/public/ItemForm/index.js +1 -1
  104. package/dist/elements/public/ItemForm/index.js.map +1 -1
  105. package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/InternalItemFormCartControl.d.ts +0 -1
  106. package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/InternalItemFormCartControl.js +8 -14
  107. package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/InternalItemFormCartControl.js.map +1 -1
  108. package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/index.d.ts +0 -1
  109. package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/index.js +0 -1
  110. package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/index.js.map +1 -1
  111. package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/InternalItemFormInventoryControl.d.ts +0 -1
  112. package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/InternalItemFormInventoryControl.js +13 -19
  113. package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/InternalItemFormInventoryControl.js.map +1 -1
  114. package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/index.d.ts +0 -1
  115. package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/index.js +0 -1
  116. package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/index.js.map +1 -1
  117. package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/InternalItemFormLineItemDiscountControl.d.ts +0 -1
  118. package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/InternalItemFormLineItemDiscountControl.js +17 -23
  119. package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/InternalItemFormLineItemDiscountControl.js.map +1 -1
  120. package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/index.d.ts +0 -1
  121. package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/index.js +0 -1
  122. package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/index.js.map +1 -1
  123. package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/InternalItemFormShippingControl.d.ts +0 -1
  124. package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/InternalItemFormShippingControl.js +14 -20
  125. package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/InternalItemFormShippingControl.js.map +1 -1
  126. package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/index.d.ts +0 -1
  127. package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/index.js +0 -1
  128. package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/index.js.map +1 -1
  129. package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/InternalItemFormSubscriptionControl.d.ts +0 -1
  130. package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/InternalItemFormSubscriptionControl.js +28 -26
  131. package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/InternalItemFormSubscriptionControl.js.map +1 -1
  132. package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/index.d.ts +0 -1
  133. package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/index.js +0 -1
  134. package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/index.js.map +1 -1
  135. package/dist/elements/public/PaymentsApi/PaymentsApi.js +7 -1
  136. package/dist/elements/public/PaymentsApi/PaymentsApi.js.map +1 -1
  137. package/dist/elements/public/PaymentsApiPaymentMethodForm/PaymentsApiPaymentMethodForm.js +1 -1
  138. package/dist/elements/public/PaymentsApiPaymentMethodForm/PaymentsApiPaymentMethodForm.js.map +1 -1
  139. package/dist/elements/public/ReportForm/ReportForm.js +4 -4
  140. package/dist/elements/public/ReportForm/ReportForm.js.map +1 -1
  141. package/dist/elements/public/StoreForm/StoreForm.js +1 -1
  142. package/dist/elements/public/StoreForm/StoreForm.js.map +1 -1
  143. package/dist/elements/public/TaxForm/TaxForm.js +4 -4
  144. package/dist/elements/public/TaxForm/TaxForm.js.map +1 -1
  145. package/dist/elements/public/TemplateForm/TemplateForm.js +4 -4
  146. package/dist/elements/public/TemplateForm/TemplateForm.js.map +1 -1
  147. package/package.json +1 -1
  148. package/dist/cdn/shared-7fab31ac.js +0 -1
  149. package/dist/cdn/shared-e2e2ca6a.js +0 -1
  150. package/dist/elements/private/PropertyTable/PropertyTable.d.ts +0 -12
  151. package/dist/elements/private/PropertyTable/PropertyTable.js +0 -43
  152. package/dist/elements/private/PropertyTable/PropertyTable.js.map +0 -1
@@ -50,7 +50,8 @@
50
50
  "subscription": {
51
51
  "title": "Subscription",
52
52
  "frequency": {
53
- "label": "Frequency",
53
+ "label": "Subscription frequency",
54
+ "helper_text": "",
54
55
  "day": "Day",
55
56
  "day_plural": "Days",
56
57
  "week": "Week",
@@ -61,21 +62,21 @@
61
62
  "year_plural": "Years"
62
63
  },
63
64
  "start": {
64
- "label": "Start date",
65
+ "label": "Subscription start",
65
66
  "helper_text": "",
66
67
  "placeholder": "01/01/2022"
67
68
  },
68
69
  "end": {
69
- "label": "End date",
70
+ "label": "Subscription end",
70
71
  "helper_text": "",
71
72
  "placeholder": "01/01/2022"
72
73
  },
73
74
  "next": {
74
- "label": "Next transaction date",
75
+ "label": "Next payment (subscriptions only)",
75
76
  "helper_text": "",
76
77
  "placeholder": "01/01/2022"
77
78
  },
78
- "dialog": {
79
+ "form": {
79
80
  "save": "Save",
80
81
  "update": "Update",
81
82
  "day": "Day",
@@ -181,7 +182,6 @@
181
182
  }
182
183
  },
183
184
  "line-item-discount": {
184
- "title": "Line item discount",
185
185
  "coupon": {
186
186
  "label": "Coupon",
187
187
  "helper_text": "",
@@ -208,7 +208,6 @@
208
208
  }
209
209
  },
210
210
  "cart": {
211
- "title": "Cart",
212
211
  "expires": {
213
212
  "label": "Expires",
214
213
  "helper_text": "",
@@ -236,7 +235,6 @@
236
235
  }
237
236
  },
238
237
  "shipping": {
239
- "title": "Shipping",
240
238
  "shipto": {
241
239
  "label": "Shipping address",
242
240
  "helper_text": "",
@@ -264,7 +262,6 @@
264
262
  }
265
263
  },
266
264
  "inventory": {
267
- "title": "Inventory",
268
265
  "category": {
269
266
  "label": "Item category",
270
267
  "helper_text": "",
@@ -317,73 +314,37 @@
317
314
  },
318
315
  "attributes": {
319
316
  "title": "Attributes",
320
- "card": {
321
- "spinner": {
322
- "loading_busy": "Loading",
323
- "loading_empty": "No data",
324
- "loading_error": "Failed to load"
325
- }
326
- },
327
- "pagination": {
328
- "first": "First",
329
- "last": "Last",
330
- "next": "Next",
331
- "pagination": "{{from}}-{{to}} out of {{total}}",
332
- "previous": "Previous"
333
- },
334
317
  "dialog": {
318
+ "header_create": "Create attribute",
319
+ "header_update": "Update attribute",
335
320
  "close": "Close",
336
- "cancel": "Cancel",
337
- "header_update": "Attribute",
338
- "header_create": "New attribute",
339
321
  "save": "Save",
322
+ "cancel": "Cancel",
340
323
  "undo_header": "Unsaved changes",
341
324
  "undo_message": "Looks like you didn't save your changes! What would you like to do with them?",
342
325
  "undo_cancel": "Review",
343
- "undo_confirm": "Discard",
344
- "confirm": "Confirm",
345
- "attribute-form": {
346
- "create": "Create",
347
- "date": "{{value, date}}",
348
- "date_created": "Created on",
349
- "date_modified": "Last updated",
350
- "delete": "Delete",
351
- "delete_prompt": "This resource will be permanently removed. Are you sure?",
352
- "name": "Name",
353
- "v8n_required": "Required",
354
- "v8n_too_long": "Too long",
355
- "value": "Value",
356
- "visibility": "Visibility",
357
- "visibility_private": "Only me",
358
- "visibility_public": "Everyone",
359
- "visibility_restricted": "Store admins",
326
+ "undo_confirm": "Discard"
327
+ },
328
+ "pagination": {
329
+ "create_button_text": "Add attribute",
330
+ "card": {
331
+ "delete_button_text": "Delete",
360
332
  "spinner": {
361
333
  "loading_busy": "Loading",
334
+ "loading_empty": "No data",
362
335
  "loading_error": "Failed to load"
363
336
  }
364
- }
337
+ },
338
+ "first": "First",
339
+ "last": "Last",
340
+ "next": "Next",
341
+ "pagination": "{{from}}-{{to}} out of {{total}}",
342
+ "previous": "Previous"
365
343
  }
366
344
  },
367
345
  "item-options": {
368
346
  "title": "Item options",
369
- "card": {
370
- "spinner": {
371
- "loading_busy": "Loading",
372
- "loading_empty": "No data",
373
- "loading_error": "Failed to load"
374
- }
375
- },
376
- "dialog": {
377
- "close": "Close",
378
- "cancel": "Cancel",
379
- "header_update": "Item option",
380
- "header_create": "New item option",
381
- "save": "Save",
382
- "undo_header": "Unsaved changes",
383
- "undo_message": "Looks like you didn't save your changes! What would you like to do with them?",
384
- "undo_cancel": "Review",
385
- "undo_confirm": "Discard",
386
- "confirm": "Confirm",
347
+ "form": {
387
348
  "name": {
388
349
  "label": "Name",
389
350
  "helper_text": "",
@@ -410,7 +371,7 @@
410
371
  },
411
372
  "timestamps": {
412
373
  "date_created": "Created on",
413
- "date_modified": "Last updated",
374
+ "date_modified": "Last updated on",
414
375
  "date": "{{value, date}}"
415
376
  },
416
377
  "spinner": {
@@ -426,7 +387,27 @@
426
387
  "create": "Create"
427
388
  }
428
389
  },
390
+ "dialog": {
391
+ "header_create": "Create option",
392
+ "header_update": "Update option",
393
+ "close": "Close",
394
+ "save": "Save",
395
+ "cancel": "Cancel",
396
+ "undo_header": "Unsaved changes",
397
+ "undo_message": "Looks like you didn't save your changes! What would you like to do with them?",
398
+ "undo_cancel": "Review",
399
+ "undo_confirm": "Discard"
400
+ },
429
401
  "pagination": {
402
+ "card": {
403
+ "delete_button_text": "Delete",
404
+ "spinner": {
405
+ "loading_busy": "Loading",
406
+ "loading_empty": "No data",
407
+ "loading_error": "Failed to load"
408
+ }
409
+ },
410
+ "create_button_text": "Add option",
430
411
  "first": "First",
431
412
  "last": "Last",
432
413
  "next": "Next",
@@ -436,7 +417,7 @@
436
417
  },
437
418
  "timestamps": {
438
419
  "date_created": "Created on",
439
- "date_modified": "Last updated",
420
+ "date_modified": "Last updated on",
440
421
  "date": "{{value, date}}"
441
422
  },
442
423
  "delete": {
@@ -32,7 +32,7 @@
32
32
  "helper_text": "Unique Foxy subdomain or a custom domain for your cart, checkout, and receipt.",
33
33
  "custom_domain_note": "IMPORTANT: to use a custom domain, you must purchase an SSL certificate through Foxy. This option is only for developers who have full control of their domain settings and may take a few days to fully process.",
34
34
  "v8n_required": "Please enter the domain of your store",
35
- "v8n_too_long": "Please use a domain that is 50 characters or less"
35
+ "v8n_too_long": "Please use a domain that is 100 characters or less"
36
36
  },
37
37
  "logo-url": {
38
38
  "label": "Logo",
@@ -298,7 +298,7 @@
298
298
  },
299
299
  "timestamps": {
300
300
  "date_created": "Created on",
301
- "date_modified": "Last updated",
301
+ "date_modified": "Last updated on",
302
302
  "date": "{{value, date}}"
303
303
  },
304
304
  "spinner": {
@@ -72,7 +72,7 @@
72
72
  },
73
73
  "timestamps": {
74
74
  "date_created": "Created on",
75
- "date_modified": "Last updated",
75
+ "date_modified": "Last updated on",
76
76
  "date": "{{value, date}}"
77
77
  },
78
78
  "delete": {
@@ -86,7 +86,7 @@
86
86
  "create": "Create",
87
87
  "date": "{{value, date}}",
88
88
  "date_created": "Created on",
89
- "date_modified": "Last updated",
89
+ "date_modified": "Last updated on",
90
90
  "delete": "Delete",
91
91
  "delete_prompt": "This attribute will be permanently removed. Are you sure?",
92
92
  "name": "Name",
@@ -172,7 +172,7 @@
172
172
  },
173
173
  "timestamps": {
174
174
  "date_created": "Created on",
175
- "date_modified": "Last updated",
175
+ "date_modified": "Last updated on",
176
176
  "date": "{{value, date}}"
177
177
  }
178
178
  }
@@ -74,7 +74,7 @@
74
74
  },
75
75
  "timestamps": {
76
76
  "date_created": "Created on",
77
- "date_modified": "Last updated",
77
+ "date_modified": "Last updated on",
78
78
  "date": "{{value, date}}"
79
79
  },
80
80
  "spinner": {
@@ -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?",
@@ -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
  "default": "Default",
9
9
  "delete": "Delete",
10
10
  "delete_prompt": "This resource will be permanently removed. Are you sure?",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "timestamps": {
44
44
  "date_created": "Created on",
45
- "date_modified": "Last updated",
45
+ "date_modified": "Last updated on",
46
46
  "date": "{{value, date}}"
47
47
  },
48
48
  "delete": {
@@ -43,7 +43,7 @@
43
43
  "create": "Create",
44
44
  "date": "{{value, date}}",
45
45
  "date_created": "Created on",
46
- "date_modified": "Last updated",
46
+ "date_modified": "Last updated on",
47
47
  "delete": "Delete",
48
48
  "delete_prompt": "This resource will be permanently removed. Are you sure?",
49
49
  "first_name": "First name",
@@ -71,7 +71,7 @@
71
71
  "create": "Create",
72
72
  "date": "{{value, date}}",
73
73
  "date_created": "Created on",
74
- "date_modified": "Last updated",
74
+ "date_modified": "Last updated on",
75
75
  "delete": "Delete",
76
76
  "delete_prompt": "This resource will be permanently removed. Are you sure?",
77
77
  "name": "Name",
@@ -156,7 +156,7 @@
156
156
  },
157
157
  "timestamps": {
158
158
  "date_created": "Created on",
159
- "date_modified": "Last updated",
159
+ "date_modified": "Last updated on",
160
160
  "date": "{{value, date}}"
161
161
  },
162
162
  "delete": {
@@ -452,7 +452,8 @@
452
452
  "subscription": {
453
453
  "title": "Subscription",
454
454
  "frequency": {
455
- "label": "Frequency",
455
+ "label": "Subscription frequency",
456
+ "helper_text": "",
456
457
  "day": "Day",
457
458
  "day_plural": "Days",
458
459
  "week": "Week",
@@ -463,21 +464,21 @@
463
464
  "year_plural": "Years"
464
465
  },
465
466
  "start": {
466
- "label": "Start date",
467
+ "label": "Subscription start",
467
468
  "helper_text": "",
468
469
  "placeholder": "01/01/2022"
469
470
  },
470
471
  "end": {
471
- "label": "End date",
472
+ "label": "Subscription end",
472
473
  "helper_text": "",
473
474
  "placeholder": "01/01/2022"
474
475
  },
475
476
  "next": {
476
- "label": "Next transaction date",
477
+ "label": "Next payment (subscriptions only)",
477
478
  "helper_text": "",
478
479
  "placeholder": "01/01/2022"
479
480
  },
480
- "dialog": {
481
+ "form": {
481
482
  "save": "Save",
482
483
  "update": "Update",
483
484
  "day": "Day",
@@ -583,7 +584,6 @@
583
584
  }
584
585
  },
585
586
  "line-item-discount": {
586
- "title": "Line item discount",
587
587
  "coupon": {
588
588
  "label": "Coupon",
589
589
  "helper_text": "",
@@ -610,7 +610,6 @@
610
610
  }
611
611
  },
612
612
  "cart": {
613
- "title": "Cart",
614
613
  "expires": {
615
614
  "label": "Expires",
616
615
  "helper_text": "",
@@ -638,7 +637,6 @@
638
637
  }
639
638
  },
640
639
  "shipping": {
641
- "title": "Shipping",
642
640
  "shipto": {
643
641
  "label": "Shipping address",
644
642
  "helper_text": "",
@@ -666,7 +664,6 @@
666
664
  }
667
665
  },
668
666
  "inventory": {
669
- "title": "Inventory",
670
667
  "category": {
671
668
  "label": "Item category",
672
669
  "helper_text": "",
@@ -719,73 +716,37 @@
719
716
  },
720
717
  "attributes": {
721
718
  "title": "Attributes",
722
- "card": {
723
- "spinner": {
724
- "loading_busy": "Loading",
725
- "loading_empty": "No data",
726
- "loading_error": "Failed to load"
727
- }
728
- },
729
- "pagination": {
730
- "first": "First",
731
- "last": "Last",
732
- "next": "Next",
733
- "pagination": "{{from}}-{{to}} out of {{total}}",
734
- "previous": "Previous"
735
- },
736
719
  "dialog": {
720
+ "header_create": "Create attribute",
721
+ "header_update": "Update attribute",
737
722
  "close": "Close",
738
- "cancel": "Cancel",
739
- "header_update": "Attribute",
740
- "header_create": "New attribute",
741
723
  "save": "Save",
724
+ "cancel": "Cancel",
742
725
  "undo_header": "Unsaved changes",
743
726
  "undo_message": "Looks like you didn't save your changes! What would you like to do with them?",
744
727
  "undo_cancel": "Review",
745
- "undo_confirm": "Discard",
746
- "confirm": "Confirm",
747
- "attribute-form": {
748
- "create": "Create",
749
- "date": "{{value, date}}",
750
- "date_created": "Created on",
751
- "date_modified": "Last updated",
752
- "delete": "Delete",
753
- "delete_prompt": "This resource will be permanently removed. Are you sure?",
754
- "name": "Name",
755
- "v8n_required": "Required",
756
- "v8n_too_long": "Too long",
757
- "value": "Value",
758
- "visibility": "Visibility",
759
- "visibility_private": "Only me",
760
- "visibility_public": "Everyone",
761
- "visibility_restricted": "Store admins",
728
+ "undo_confirm": "Discard"
729
+ },
730
+ "pagination": {
731
+ "create_button_text": "Add attribute",
732
+ "card": {
733
+ "delete_button_text": "Delete",
762
734
  "spinner": {
763
735
  "loading_busy": "Loading",
736
+ "loading_empty": "No data",
764
737
  "loading_error": "Failed to load"
765
738
  }
766
- }
739
+ },
740
+ "first": "First",
741
+ "last": "Last",
742
+ "next": "Next",
743
+ "pagination": "{{from}}-{{to}} out of {{total}}",
744
+ "previous": "Previous"
767
745
  }
768
746
  },
769
747
  "item-options": {
770
748
  "title": "Item options",
771
- "card": {
772
- "spinner": {
773
- "loading_busy": "Loading",
774
- "loading_empty": "No data",
775
- "loading_error": "Failed to load"
776
- }
777
- },
778
- "dialog": {
779
- "close": "Close",
780
- "cancel": "Cancel",
781
- "header_update": "Item option",
782
- "header_create": "New item option",
783
- "save": "Save",
784
- "undo_header": "Unsaved changes",
785
- "undo_message": "Looks like you didn't save your changes! What would you like to do with them?",
786
- "undo_cancel": "Review",
787
- "undo_confirm": "Discard",
788
- "confirm": "Confirm",
749
+ "form": {
789
750
  "name": {
790
751
  "label": "Name",
791
752
  "helper_text": "",
@@ -812,7 +773,7 @@
812
773
  },
813
774
  "timestamps": {
814
775
  "date_created": "Created on",
815
- "date_modified": "Last updated",
776
+ "date_modified": "Last updated on",
816
777
  "date": "{{value, date}}"
817
778
  },
818
779
  "spinner": {
@@ -828,7 +789,27 @@
828
789
  "create": "Create"
829
790
  }
830
791
  },
792
+ "dialog": {
793
+ "header_create": "Create option",
794
+ "header_update": "Update option",
795
+ "close": "Close",
796
+ "save": "Save",
797
+ "cancel": "Cancel",
798
+ "undo_header": "Unsaved changes",
799
+ "undo_message": "Looks like you didn't save your changes! What would you like to do with them?",
800
+ "undo_cancel": "Review",
801
+ "undo_confirm": "Discard"
802
+ },
831
803
  "pagination": {
804
+ "card": {
805
+ "delete_button_text": "Delete",
806
+ "spinner": {
807
+ "loading_busy": "Loading",
808
+ "loading_empty": "No data",
809
+ "loading_error": "Failed to load"
810
+ }
811
+ },
812
+ "create_button_text": "Add option",
832
813
  "first": "First",
833
814
  "last": "Last",
834
815
  "next": "Next",
@@ -838,7 +819,7 @@
838
819
  },
839
820
  "timestamps": {
840
821
  "date_created": "Created on",
841
- "date_modified": "Last updated",
822
+ "date_modified": "Last updated on",
842
823
  "date": "{{value, date}}"
843
824
  },
844
825
  "delete": {
@@ -948,7 +929,7 @@
948
929
  "create": "Create",
949
930
  "date": "{{value, date}}",
950
931
  "date_created": "Created on",
951
- "date_modified": "Last updated",
932
+ "date_modified": "Last updated on",
952
933
  "delete": "Delete",
953
934
  "delete_prompt": "This resource will be permanently removed. Are you sure?",
954
935
  "name": "Name",
@@ -996,7 +977,7 @@
996
977
  "create": "Create",
997
978
  "date": "{{value, date}}",
998
979
  "date_created": "Created on",
999
- "date_modified": "Last updated",
980
+ "date_modified": "Last updated on",
1000
981
  "delete": "Delete",
1001
982
  "delete_prompt": "This resource will be permanently removed. Are you sure?",
1002
983
  "name": "Name",
@@ -83,7 +83,7 @@
83
83
  },
84
84
  "timestamps": {
85
85
  "date_created": "Created on",
86
- "date_modified": "Last updated",
86
+ "date_modified": "Last updated on",
87
87
  "date": "{{value, date}}"
88
88
  },
89
89
  "delete": {
@@ -1,5 +1,4 @@
1
- import { CSSResultArray } from 'lit-element';
2
- import { TemplateResult } from 'lit-html';
1
+ import type { TemplateResult } from 'lit-html';
3
2
  import { InternalControl } from '../InternalControl/InternalControl';
4
3
  /**
5
4
  * Internal control displaying creation and last modification date
@@ -9,6 +8,5 @@ import { InternalControl } from '../InternalControl/InternalControl';
9
8
  * @since 1.17.0
10
9
  */
11
10
  export declare class InternalTimestampsControl extends InternalControl {
12
- static get styles(): CSSResultArray;
13
11
  renderControl(): TemplateResult;
14
12
  }
@@ -1,7 +1,6 @@
1
- import { css } from 'lit-element';
1
+ import { InternalControl } from "../InternalControl/InternalControl.js";
2
2
  import { html } from 'lit-html';
3
3
  import { get } from 'lodash-es';
4
- import { InternalControl } from "../InternalControl/InternalControl.js";
5
4
  /**
6
5
  * Internal control displaying creation and last modification date
7
6
  * for a hAPI resource in a table.
@@ -10,47 +9,25 @@ import { InternalControl } from "../InternalControl/InternalControl.js";
10
9
  * @since 1.17.0
11
10
  */
12
11
  export class InternalTimestampsControl extends InternalControl {
13
- static get styles() {
14
- return [
15
- super.styles,
16
- css `.max-w-0{
17
- max-width:0;
18
- }
19
- `,
20
- ];
21
- }
22
12
  renderControl() {
23
13
  return html `
24
- <table class="font-lumo text-m leading-m w-full">
25
- <tbody class="divide-y divide-contrast-10">
26
- <tr>
27
- <td class="max-w-0 truncate py-s text-secondary w-1-3 pr-m">
28
- <foxy-i18n infer="" key="date_created"></foxy-i18n>
29
- </td>
30
- <td class="max-w-0 truncate py-s text-body w-2-3">
31
- <foxy-i18n
32
- options=${JSON.stringify({ value: get(this, 'nucleon.form.date_created') })}
33
- infer=""
34
- key="date"
35
- >
36
- </foxy-i18n>
37
- </td>
38
- </tr>
39
- <tr>
40
- <td class="max-w-0 truncate py-s text-secondary w-1-3 pr-m">
41
- <foxy-i18n infer="" key="date_modified"></foxy-i18n>
42
- </td>
43
- <td class="max-w-0 truncate py-s text-body w-2-3">
44
- <foxy-i18n
45
- options=${JSON.stringify({ value: get(this, 'nucleon.form.date_modified') })}
46
- infer=""
47
- key="date"
48
- >
49
- </foxy-i18n>
50
- </td>
51
- </tr>
52
- </tbody>
53
- </table>
14
+ <p class="font-lumo text-xs leading-s text-secondary">
15
+ <foxy-i18n infer="" key="date_created"></foxy-i18n>
16
+ <foxy-i18n
17
+ .options=${{ value: get(this, 'nucleon.data.date_created') }}
18
+ infer=""
19
+ key="date"
20
+ >
21
+ </foxy-i18n>
22
+ <span>&bull;<span>
23
+ <foxy-i18n infer="" key="date_modified"></foxy-i18n>
24
+ <foxy-i18n
25
+ .options=${{ value: get(this, 'nucleon.data.date_modified') }}
26
+ infer=""
27
+ key="date"
28
+ >
29
+ </foxy-i18n>
30
+ </p>
54
31
  `;
55
32
  }
56
33
  }
@@ -1 +1 @@
1
- {"version":3,"file":"InternalTimestampsControl.js","sourceRoot":"","sources":["../../../../src/elements/internal/InternalTimestampsControl/InternalTimestampsControl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAkB,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,IAAI,EAAkB,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,8CAA2C;AAErE;;;;;;GAMG;AACH,MAAM,OAAO,yBAA0B,SAAQ,eAAe;IAC5D,MAAM,KAAK,MAAM;QACf,OAAO;YACL,KAAK,CAAC,MAAM;YACZ,GAAG;;;OAIF;SACF,CAAC;IACJ,CAAC;IAED,aAAa;QACX,OAAO,IAAI,CAAA;;;;;;;;;0BASW,IAAI,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,2BAA2B,CAAC,EAAE,CAAC;;;;;;;;;;;;;0BAajE,IAAI,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,4BAA4B,CAAC,EAAE,CAAC;;;;;;;;;KASvF,CAAC;IACJ,CAAC;CACF","sourcesContent":["import { css, CSSResultArray } from 'lit-element';\nimport { html, TemplateResult } from 'lit-html';\nimport { get } from 'lodash-es';\nimport { InternalControl } from '../InternalControl/InternalControl';\n\n/**\n * Internal control displaying creation and last modification date\n * for a hAPI resource in a table.\n *\n * @element foxy-internal-timestamps-control\n * @since 1.17.0\n */\nexport class InternalTimestampsControl extends InternalControl {\n static get styles(): CSSResultArray {\n return [\n super.styles,\n css`\n .max-w-0 {\n max-width: 0;\n }\n `,\n ];\n }\n\n renderControl(): TemplateResult {\n return html`\n <table class=\"font-lumo text-m leading-m w-full\">\n <tbody class=\"divide-y divide-contrast-10\">\n <tr>\n <td class=\"max-w-0 truncate py-s text-secondary w-1-3 pr-m\">\n <foxy-i18n infer=\"\" key=\"date_created\"></foxy-i18n>\n </td>\n <td class=\"max-w-0 truncate py-s text-body w-2-3\">\n <foxy-i18n\n options=${JSON.stringify({ value: get(this, 'nucleon.form.date_created') })}\n infer=\"\"\n key=\"date\"\n >\n </foxy-i18n>\n </td>\n </tr>\n <tr>\n <td class=\"max-w-0 truncate py-s text-secondary w-1-3 pr-m\">\n <foxy-i18n infer=\"\" key=\"date_modified\"></foxy-i18n>\n </td>\n <td class=\"max-w-0 truncate py-s text-body w-2-3\">\n <foxy-i18n\n options=${JSON.stringify({ value: get(this, 'nucleon.form.date_modified') })}\n infer=\"\"\n key=\"date\"\n >\n </foxy-i18n>\n </td>\n </tr>\n </tbody>\n </table>\n `;\n }\n}\n"]}
1
+ {"version":3,"file":"InternalTimestampsControl.js","sourceRoot":"","sources":["../../../../src/elements/internal/InternalTimestampsControl/InternalTimestampsControl.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,8CAA2C;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAEhC;;;;;;GAMG;AACH,MAAM,OAAO,yBAA0B,SAAQ,eAAe;IAC5D,aAAa;QACX,OAAO,IAAI,CAAA;;;;qBAIM,EAAE,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,2BAA2B,CAAC,EAAE;;;;;;;;qBAQjD,EAAE,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,4BAA4B,CAAC,EAAE;;;;;;KAMlE,CAAC;IACJ,CAAC;CACF","sourcesContent":["import type { TemplateResult } from 'lit-html';\n\nimport { InternalControl } from '../InternalControl/InternalControl';\nimport { html } from 'lit-html';\nimport { get } from 'lodash-es';\n\n/**\n * Internal control displaying creation and last modification date\n * for a hAPI resource in a table.\n *\n * @element foxy-internal-timestamps-control\n * @since 1.17.0\n */\nexport class InternalTimestampsControl extends InternalControl {\n renderControl(): TemplateResult {\n return html`\n <p class=\"font-lumo text-xs leading-s text-secondary\">\n <foxy-i18n infer=\"\" key=\"date_created\"></foxy-i18n>\n <foxy-i18n\n .options=${{ value: get(this, 'nucleon.data.date_created') }}\n infer=\"\"\n key=\"date\"\n >\n </foxy-i18n>\n <span>&bull;<span>\n <foxy-i18n infer=\"\" key=\"date_modified\"></foxy-i18n>\n <foxy-i18n\n .options=${{ value: get(this, 'nucleon.data.date_modified') }}\n infer=\"\"\n key=\"date\"\n >\n </foxy-i18n>\n </p>\n `;\n }\n}\n"]}