@foxy.io/elements 1.27.0-beta.3 → 1.27.0-beta.5

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 (390) hide show
  1. package/dist/cdn/foxy-access-recovery-form.js +1 -1
  2. package/dist/cdn/foxy-address-card.js +1 -1
  3. package/dist/cdn/foxy-address-form.js +1 -1
  4. package/dist/cdn/foxy-admin-subscription-card.js +1 -1
  5. package/dist/cdn/foxy-api-browser.js +1 -1
  6. package/dist/cdn/foxy-applied-coupon-code-card.js +1 -1
  7. package/dist/cdn/foxy-applied-coupon-code-form.js +1 -1
  8. package/dist/cdn/foxy-applied-tax-card.js +1 -1
  9. package/dist/cdn/foxy-attribute-card.js +1 -1
  10. package/dist/cdn/foxy-attribute-form.js +1 -1
  11. package/dist/cdn/foxy-billing-address-card.js +1 -1
  12. package/dist/cdn/foxy-cancellation-form.js +1 -1
  13. package/dist/cdn/foxy-cart-card.js +1 -1
  14. package/dist/cdn/foxy-cart-form.js +1 -1
  15. package/dist/cdn/foxy-client-card.js +1 -1
  16. package/dist/cdn/foxy-client-form.js +1 -1
  17. package/dist/cdn/foxy-collection-page.js +1 -1
  18. package/dist/cdn/foxy-collection-pages.js +1 -1
  19. package/dist/cdn/foxy-copy-to-clipboard.js +1 -1
  20. package/dist/cdn/foxy-coupon-card.js +1 -1
  21. package/dist/cdn/foxy-coupon-code-form.js +1 -1
  22. package/dist/cdn/foxy-coupon-codes-form.js +1 -1
  23. package/dist/cdn/foxy-coupon-detail-card.js +1 -1
  24. package/dist/cdn/foxy-coupon-form.js +1 -1
  25. package/dist/cdn/foxy-custom-field-card.js +1 -1
  26. package/dist/cdn/foxy-custom-field-form.js +1 -1
  27. package/dist/cdn/foxy-customer-api.js +1 -1
  28. package/dist/cdn/foxy-customer-card.js +1 -1
  29. package/dist/cdn/foxy-customer-form.js +1 -1
  30. package/dist/cdn/foxy-customer-portal-settings-form.js +1 -0
  31. package/dist/cdn/foxy-customer-portal-settings.js +1 -1
  32. package/dist/cdn/foxy-customer-portal.js +3 -3
  33. package/dist/cdn/foxy-customer.js +4 -4
  34. package/dist/cdn/foxy-customers-table.js +1 -1
  35. package/dist/cdn/foxy-discount-builder.js +1 -1
  36. package/dist/cdn/foxy-discount-card.js +1 -1
  37. package/dist/cdn/foxy-discount-detail-card.js +1 -1
  38. package/dist/cdn/foxy-donation.js +1 -1
  39. package/dist/cdn/foxy-downloadable-card.js +1 -1
  40. package/dist/cdn/foxy-downloadable-form.js +7 -7
  41. package/dist/cdn/foxy-email-template-card.js +1 -1
  42. package/dist/cdn/foxy-email-template-form.js +1 -1
  43. package/dist/cdn/foxy-error-entry-card.js +1 -1
  44. package/dist/cdn/foxy-filter-attribute-card.js +1 -1
  45. package/dist/cdn/foxy-filter-attribute-form.js +1 -1
  46. package/dist/cdn/foxy-form-dialog.js +1 -1
  47. package/dist/cdn/foxy-generate-codes-form.js +1 -1
  48. package/dist/cdn/foxy-gift-card-card.js +1 -1
  49. package/dist/cdn/foxy-gift-card-code-form.js +1 -1
  50. package/dist/cdn/foxy-gift-card-code-log-card.js +1 -1
  51. package/dist/cdn/foxy-gift-card-codes-form.js +1 -1
  52. package/dist/cdn/foxy-gift-card-form.js +1 -1
  53. package/dist/cdn/foxy-i18n-editor.js +2 -2
  54. package/dist/cdn/foxy-i18n.js +1 -1
  55. package/dist/cdn/foxy-integration-card.js +1 -1
  56. package/dist/cdn/foxy-integration-form.js +1 -1
  57. package/dist/cdn/foxy-item-card.js +1 -1
  58. package/dist/cdn/foxy-item-category-card.js +1 -1
  59. package/dist/cdn/foxy-item-category-form.js +1 -1
  60. package/dist/cdn/foxy-item-form.js +2 -2
  61. package/dist/cdn/foxy-item-option-card.js +1 -1
  62. package/dist/cdn/foxy-item-option-form.js +1 -1
  63. package/dist/cdn/foxy-items-form.js +1 -1
  64. package/dist/cdn/foxy-native-integration-card.js +1 -1
  65. package/dist/cdn/foxy-native-integration-form.js +1 -1
  66. package/dist/cdn/foxy-nucleon-element.js +1 -1
  67. package/dist/cdn/foxy-pagination.js +1 -1
  68. package/dist/cdn/foxy-passkey-card.js +1 -1
  69. package/dist/cdn/foxy-passkey-form.js +1 -1
  70. package/dist/cdn/foxy-payment-card.js +1 -1
  71. package/dist/cdn/foxy-payment-method-card.js +1 -1
  72. package/dist/cdn/foxy-payments-api-fraud-protection-card.js +1 -1
  73. package/dist/cdn/foxy-payments-api-fraud-protection-form.js +1 -1
  74. package/dist/cdn/foxy-payments-api-payment-method-card.js +1 -1
  75. package/dist/cdn/foxy-payments-api-payment-method-form.js +1 -1
  76. package/dist/cdn/foxy-payments-api-payment-preset-card.js +1 -1
  77. package/dist/cdn/foxy-payments-api-payment-preset-form.js +1 -1
  78. package/dist/cdn/foxy-payments-api.js +1 -1
  79. package/dist/cdn/foxy-query-builder.js +1 -1
  80. package/dist/cdn/foxy-report-form.js +1 -1
  81. package/dist/cdn/foxy-reports-table.js +1 -1
  82. package/dist/cdn/foxy-shipment-card.js +1 -1
  83. package/dist/cdn/foxy-shipping-method-card.js +1 -1
  84. package/dist/cdn/foxy-sign-in-form.js +1 -1
  85. package/dist/cdn/foxy-spinner.js +2 -2
  86. package/dist/cdn/foxy-store-card.js +1 -1
  87. package/dist/cdn/foxy-store-form.js +1 -1
  88. package/dist/cdn/foxy-store-shipping-method-form.js +1 -1
  89. package/dist/cdn/foxy-subscription-card.js +1 -1
  90. package/dist/cdn/foxy-subscription-form.js +1 -1
  91. package/dist/cdn/foxy-subscription-settings-form.js +1 -1
  92. package/dist/cdn/foxy-subscriptions-table.js +1 -1
  93. package/dist/cdn/foxy-table.js +1 -1
  94. package/dist/cdn/foxy-tax-card.js +1 -1
  95. package/dist/cdn/foxy-tax-form.js +1 -1
  96. package/dist/cdn/foxy-template-config-form.js +1 -1
  97. package/dist/cdn/foxy-template-form.js +1 -1
  98. package/dist/cdn/foxy-template-set-card.js +1 -1
  99. package/dist/cdn/foxy-template-set-form.js +1 -1
  100. package/dist/cdn/foxy-transaction-card.js +1 -1
  101. package/dist/cdn/foxy-transaction.js +1 -1
  102. package/dist/cdn/foxy-transactions-table.js +1 -1
  103. package/dist/cdn/foxy-user-card.js +1 -1
  104. package/dist/cdn/foxy-user-form.js +1 -1
  105. package/dist/cdn/foxy-users-table.js +1 -1
  106. package/dist/cdn/foxy-webhook-card.js +1 -1
  107. package/dist/cdn/foxy-webhook-form.js +1 -1
  108. package/dist/cdn/foxy-webhook-log-card.js +1 -1
  109. package/dist/cdn/foxy-webhook-status-card.js +1 -1
  110. package/dist/cdn/{shared-fd0a4026.js → shared-039de1fd.js} +1 -1
  111. package/dist/cdn/{shared-f1e743df.js → shared-03ccfd62.js} +1 -1
  112. package/dist/cdn/{shared-5ba87b6d.js → shared-0e5ea9cf.js} +1 -1
  113. package/dist/cdn/shared-0f49d9c3.js +1 -0
  114. package/dist/cdn/shared-11014aad.js +15 -0
  115. package/dist/cdn/{shared-9fd64015.js → shared-1122a125.js} +1 -1
  116. package/dist/cdn/shared-18d109f5.js +1 -0
  117. package/dist/cdn/{shared-d9f65ee0.js → shared-1b0992cc.js} +5 -5
  118. package/dist/cdn/{shared-8b80db13.js → shared-1d257548.js} +1 -1
  119. package/dist/cdn/{shared-655e7c5f.js → shared-205721a3.js} +1 -1
  120. package/dist/cdn/{shared-f0269599.js → shared-20c4310b.js} +1 -1
  121. package/dist/cdn/{shared-74adbf9e.js → shared-20f65e73.js} +1 -1
  122. package/dist/cdn/shared-250e652f.js +1 -0
  123. package/dist/cdn/shared-27c7514d.js +1 -0
  124. package/dist/cdn/{shared-f94fa366.js → shared-2c70f0b6.js} +1 -1
  125. package/dist/cdn/{shared-150f5214.js → shared-3277bbf5.js} +1 -1
  126. package/dist/cdn/{shared-405a290e.js → shared-3cbcd9cb.js} +1 -1
  127. package/dist/cdn/{shared-f588b5c2.js → shared-4329ffa1.js} +1 -1
  128. package/dist/cdn/{shared-ae459232.js → shared-46454866.js} +1 -1
  129. package/dist/cdn/{shared-cfed658c.js → shared-4877ed05.js} +2 -2
  130. package/dist/cdn/{shared-bf695fe7.js → shared-48b76c74.js} +1 -1
  131. package/dist/cdn/shared-4fb9d21f.js +1 -0
  132. package/dist/cdn/{shared-30cbf0a6.js → shared-4fd17baf.js} +1 -1
  133. package/dist/cdn/{shared-352c79a6.js → shared-51ac503d.js} +1 -1
  134. package/dist/cdn/{shared-331a223c.js → shared-56addb06.js} +2 -2
  135. package/dist/cdn/{shared-6e508e5b.js → shared-59a5edee.js} +1 -1
  136. package/dist/cdn/{shared-5dfec3b7.js → shared-5c542149.js} +1 -1
  137. package/dist/cdn/{shared-f1afbd7b.js → shared-6350f7d9.js} +1 -1
  138. package/dist/cdn/{shared-f5d4dda0.js → shared-669decee.js} +1 -1
  139. package/dist/cdn/{shared-8ab2ba91.js → shared-6a998243.js} +1 -1
  140. package/dist/cdn/{shared-9f570db0.js → shared-6af480b8.js} +1 -1
  141. package/dist/cdn/{shared-5df32007.js → shared-6be0a096.js} +1 -1
  142. package/dist/cdn/{shared-4482e7b9.js → shared-6e977271.js} +1 -1
  143. package/dist/cdn/shared-6ef4ce19.js +1 -0
  144. package/dist/cdn/{shared-6ed07856.js → shared-724e9a20.js} +1 -1
  145. package/dist/cdn/{shared-e40937c5.js → shared-7e201abd.js} +1 -1
  146. package/dist/cdn/shared-7ff496f6.js +1 -0
  147. package/dist/cdn/{shared-97d63da6.js → shared-82435697.js} +1 -1
  148. package/dist/cdn/{shared-db98729a.js → shared-845f8bf1.js} +1 -1
  149. package/dist/cdn/{shared-0cbb19f4.js → shared-872151f5.js} +1 -1
  150. package/dist/cdn/{shared-d244dd07.js → shared-8778d784.js} +1 -1
  151. package/dist/cdn/{shared-83fc5dca.js → shared-89b42eef.js} +1 -1
  152. package/dist/cdn/shared-8a04bea3.js +1 -0
  153. package/dist/cdn/{shared-497ebb8c.js → shared-8cd0f36d.js} +1 -1
  154. package/dist/cdn/{shared-a19e1dff.js → shared-8dd03329.js} +1 -1
  155. package/dist/cdn/{shared-030f561a.js → shared-92cdd504.js} +1 -1
  156. package/dist/cdn/{shared-37e1a834.js → shared-931db653.js} +1 -1
  157. package/dist/cdn/{shared-882e7191.js → shared-97793410.js} +1 -1
  158. package/dist/cdn/{shared-2376abfc.js → shared-9db9528b.js} +1 -1
  159. package/dist/cdn/{shared-44bb85d8.js → shared-a0cbfb2f.js} +1 -1
  160. package/dist/cdn/{shared-4cec4de0.js → shared-a73e7be4.js} +1 -1
  161. package/dist/cdn/{shared-12390d6f.js → shared-abf72e2f.js} +1 -1
  162. package/dist/cdn/{shared-9adc47da.js → shared-afefe2ac.js} +1 -1
  163. package/dist/cdn/shared-b33fd700.js +1 -0
  164. package/dist/cdn/{shared-12ad8924.js → shared-b51b9df7.js} +1 -1
  165. package/dist/cdn/{shared-293771ba.js → shared-b81aa01c.js} +1 -1
  166. package/dist/cdn/shared-b914895b.js +1 -0
  167. package/dist/cdn/{shared-cd8c3429.js → shared-bc95d87e.js} +1 -1
  168. package/dist/cdn/{shared-2062c274.js → shared-bf132324.js} +1 -1
  169. package/dist/cdn/shared-bfeff3bb.js +1 -0
  170. package/dist/cdn/shared-cce18690.js +1 -0
  171. package/dist/cdn/{shared-3f19b914.js → shared-d04dd602.js} +3 -3
  172. package/dist/cdn/{shared-2920b595.js → shared-d15c3e2d.js} +1 -1
  173. package/dist/cdn/{shared-99f0fee6.js → shared-d4322854.js} +1 -1
  174. package/dist/cdn/{shared-250a399a.js → shared-dccfe5e7.js} +1 -1
  175. package/dist/cdn/{shared-966feb65.js → shared-df58b901.js} +1 -1
  176. package/dist/cdn/shared-e07b24ca.js +1 -0
  177. package/dist/cdn/{shared-7ea4cb27.js → shared-e4e0dc11.js} +1 -1
  178. package/dist/cdn/{shared-a9f76cae.js → shared-e52280d9.js} +1 -1
  179. package/dist/cdn/{shared-26f4b6bf.js → shared-f03dacf5.js} +1 -1
  180. package/dist/cdn/{shared-7039733e.js → shared-f2a8fb36.js} +1 -1
  181. package/dist/cdn/{shared-a5ecd56e.js → shared-f7a5b12a.js} +1 -1
  182. package/dist/cdn/shared-fcaf15e5.js +1 -0
  183. package/dist/cdn/translations/coupon-codes-form/en.json +12 -14
  184. package/dist/cdn/translations/coupon-form/en.json +46 -24
  185. package/dist/cdn/translations/customer-portal-settings-form/en.json +300 -0
  186. package/dist/cdn/translations/generate-codes-form/en.json +34 -14
  187. package/dist/cdn/translations/gift-card-codes-form/en.json +18 -19
  188. package/dist/cdn/translations/gift-card-form/en.json +52 -32
  189. package/dist/elements/internal/InternalAsyncListControl/InternalAsyncListControl.js +18 -0
  190. package/dist/elements/internal/InternalAsyncListControl/InternalAsyncListControl.js.map +1 -1
  191. package/dist/elements/internal/InternalEditableListControl/InternalEditableListControl.d.ts +6 -2
  192. package/dist/elements/internal/InternalEditableListControl/InternalEditableListControl.js +175 -23
  193. package/dist/elements/internal/InternalEditableListControl/InternalEditableListControl.js.map +1 -1
  194. package/dist/elements/internal/InternalEditableListControl/types.d.ts +5 -0
  195. package/dist/elements/internal/InternalEditableListControl/types.js.map +1 -1
  196. package/dist/elements/internal/InternalFrequencyControl/InternalFrequencyControl.d.ts +1 -0
  197. package/dist/elements/internal/InternalFrequencyControl/InternalFrequencyControl.js +4 -1
  198. package/dist/elements/internal/InternalFrequencyControl/InternalFrequencyControl.js.map +1 -1
  199. package/dist/elements/internal/InternalIntegerControl/InternalIntegerControl.d.ts +0 -2
  200. package/dist/elements/internal/InternalIntegerControl/InternalIntegerControl.js +1 -8
  201. package/dist/elements/internal/InternalIntegerControl/InternalIntegerControl.js.map +1 -1
  202. package/dist/elements/internal/InternalNumberControl/InternalNumberControl.d.ts +0 -2
  203. package/dist/elements/internal/InternalNumberControl/InternalNumberControl.js +1 -8
  204. package/dist/elements/internal/InternalNumberControl/InternalNumberControl.js.map +1 -1
  205. package/dist/elements/internal/InternalPasswordControl/InternalPasswordControl.d.ts +4 -0
  206. package/dist/elements/internal/InternalPasswordControl/InternalPasswordControl.js +4 -1
  207. package/dist/elements/internal/InternalPasswordControl/InternalPasswordControl.js.map +1 -1
  208. package/dist/elements/internal/InternalPasswordControl/generateRandomPassword.d.ts +4 -1
  209. package/dist/elements/internal/InternalPasswordControl/generateRandomPassword.js +5 -3
  210. package/dist/elements/internal/InternalPasswordControl/generateRandomPassword.js.map +1 -1
  211. package/dist/elements/private/Checkbox/Checkbox.d.ts +1 -0
  212. package/dist/elements/private/Checkbox/Checkbox.js +1 -0
  213. package/dist/elements/private/Checkbox/Checkbox.js.map +1 -1
  214. package/dist/elements/private/Choice/Choice.d.ts +1 -0
  215. package/dist/elements/private/Choice/Choice.js +1 -0
  216. package/dist/elements/private/Choice/Choice.js.map +1 -1
  217. package/dist/elements/private/Dropdown/Dropdown.d.ts +1 -0
  218. package/dist/elements/private/Dropdown/Dropdown.js +1 -0
  219. package/dist/elements/private/Dropdown/Dropdown.js.map +1 -1
  220. package/dist/elements/private/EditableList/EditableList.d.ts +1 -0
  221. package/dist/elements/private/EditableList/EditableList.js +1 -0
  222. package/dist/elements/private/EditableList/EditableList.js.map +1 -1
  223. package/dist/elements/private/ErrorScreen/ErrorScreen.d.ts +1 -0
  224. package/dist/elements/private/ErrorScreen/ErrorScreen.js +1 -0
  225. package/dist/elements/private/ErrorScreen/ErrorScreen.js.map +1 -1
  226. package/dist/elements/private/FrequencyInput/FrequencyInput.d.ts +1 -0
  227. package/dist/elements/private/FrequencyInput/FrequencyInput.js +1 -0
  228. package/dist/elements/private/FrequencyInput/FrequencyInput.js.map +1 -1
  229. package/dist/elements/private/Group/Group.d.ts +1 -0
  230. package/dist/elements/private/Group/Group.js +1 -0
  231. package/dist/elements/private/Group/Group.js.map +1 -1
  232. package/dist/elements/private/I18N/I18N.d.ts +1 -0
  233. package/dist/elements/private/I18N/I18N.js +1 -0
  234. package/dist/elements/private/I18N/I18N.js.map +1 -1
  235. package/dist/elements/private/List/List.d.ts +1 -0
  236. package/dist/elements/private/List/List.js +1 -0
  237. package/dist/elements/private/List/List.js.map +1 -1
  238. package/dist/elements/private/LoadingScreen/LoadingScreen.d.ts +1 -0
  239. package/dist/elements/private/LoadingScreen/LoadingScreen.js +1 -0
  240. package/dist/elements/private/LoadingScreen/LoadingScreen.js.map +1 -1
  241. package/dist/elements/private/Metadata/Metadata.d.ts +1 -0
  242. package/dist/elements/private/Metadata/Metadata.js +1 -0
  243. package/dist/elements/private/Metadata/Metadata.js.map +1 -1
  244. package/dist/elements/private/MonthdayPicker/MonthdayPicker.d.ts +1 -0
  245. package/dist/elements/private/MonthdayPicker/MonthdayPicker.js +1 -0
  246. package/dist/elements/private/MonthdayPicker/MonthdayPicker.js.map +1 -1
  247. package/dist/elements/private/Page/Page.d.ts +1 -0
  248. package/dist/elements/private/Page/Page.js +1 -0
  249. package/dist/elements/private/Page/Page.js.map +1 -1
  250. package/dist/elements/private/Section/Section.d.ts +1 -0
  251. package/dist/elements/private/Section/Section.js +1 -0
  252. package/dist/elements/private/Section/Section.js.map +1 -1
  253. package/dist/elements/private/Skeleton/Skeleton.d.ts +1 -0
  254. package/dist/elements/private/Skeleton/Skeleton.js +1 -0
  255. package/dist/elements/private/Skeleton/Skeleton.js.map +1 -1
  256. package/dist/elements/private/Switch/Switch.d.ts +1 -0
  257. package/dist/elements/private/Switch/Switch.js +1 -0
  258. package/dist/elements/private/Switch/Switch.js.map +1 -1
  259. package/dist/elements/private/Tabs/Tabs.d.ts +1 -0
  260. package/dist/elements/private/Tabs/Tabs.js +1 -0
  261. package/dist/elements/private/Tabs/Tabs.js.map +1 -1
  262. package/dist/elements/private/Warning/Warning.d.ts +1 -0
  263. package/dist/elements/private/Warning/Warning.js +1 -0
  264. package/dist/elements/private/Warning/Warning.js.map +1 -1
  265. package/dist/elements/private/WeekdayPicker/WeekdayPicker.d.ts +1 -0
  266. package/dist/elements/private/WeekdayPicker/WeekdayPicker.js +1 -0
  267. package/dist/elements/private/WeekdayPicker/WeekdayPicker.js.map +1 -1
  268. package/dist/elements/public/CancellationForm/CancellationForm.d.ts +1 -0
  269. package/dist/elements/public/CancellationForm/CancellationForm.js +1 -0
  270. package/dist/elements/public/CancellationForm/CancellationForm.js.map +1 -1
  271. package/dist/elements/public/CollectionPage/CollectionPage.js +2 -0
  272. package/dist/elements/public/CollectionPage/CollectionPage.js.map +1 -1
  273. package/dist/elements/public/CollectionPage/types.d.ts +1 -0
  274. package/dist/elements/public/CollectionPage/types.js.map +1 -1
  275. package/dist/elements/public/CouponCodesForm/CouponCodesForm.d.ts +17 -17
  276. package/dist/elements/public/CouponCodesForm/CouponCodesForm.js +42 -196
  277. package/dist/elements/public/CouponCodesForm/CouponCodesForm.js.map +1 -1
  278. package/dist/elements/public/CouponCodesForm/index.d.ts +2 -6
  279. package/dist/elements/public/CouponCodesForm/index.js +2 -8
  280. package/dist/elements/public/CouponCodesForm/index.js.map +1 -1
  281. package/dist/elements/public/CouponCodesForm/types.d.ts +8 -8
  282. package/dist/elements/public/CouponCodesForm/types.js.map +1 -1
  283. package/dist/elements/public/CustomerPortalSettings/CustomerPortalSettings.d.ts +1 -0
  284. package/dist/elements/public/CustomerPortalSettings/CustomerPortalSettings.js +1 -0
  285. package/dist/elements/public/CustomerPortalSettings/CustomerPortalSettings.js.map +1 -1
  286. package/dist/elements/public/CustomerPortalSettingsForm/CustomerPortalSettingsForm.d.ts +36 -0
  287. package/dist/elements/public/CustomerPortalSettingsForm/CustomerPortalSettingsForm.js +287 -0
  288. package/dist/elements/public/CustomerPortalSettingsForm/CustomerPortalSettingsForm.js.map +1 -0
  289. package/dist/elements/public/CustomerPortalSettingsForm/index.d.ts +12 -0
  290. package/dist/elements/public/CustomerPortalSettingsForm/index.js +14 -0
  291. package/dist/elements/public/CustomerPortalSettingsForm/index.js.map +1 -0
  292. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleCard/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleCard.d.ts +10 -0
  293. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleCard/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleCard.js +40 -0
  294. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleCard/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleCard.js.map +1 -0
  295. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleCard/index.d.ts +4 -0
  296. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleCard/index.js +6 -0
  297. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleCard/index.js.map +1 -0
  298. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleCard/types.d.ts +10 -0
  299. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleCard/types.js +2 -0
  300. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleCard/types.js.map +1 -0
  301. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleForm/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleForm.d.ts +17 -0
  302. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleForm/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleForm.js +62 -0
  303. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleForm/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleForm.js.map +1 -0
  304. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleForm/index.d.ts +5 -0
  305. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleForm/index.js +7 -0
  306. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleForm/index.js.map +1 -0
  307. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleForm/types.d.ts +10 -0
  308. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleForm/types.js +2 -0
  309. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowFrequencyModificationRuleForm/types.js.map +1 -0
  310. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleCard/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleCard.d.ts +10 -0
  311. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleCard/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleCard.js +49 -0
  312. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleCard/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleCard.js.map +1 -0
  313. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleCard/index.d.ts +4 -0
  314. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleCard/index.js +6 -0
  315. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleCard/index.js.map +1 -0
  316. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleCard/types.d.ts +12 -0
  317. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleCard/types.js +2 -0
  318. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleCard/types.js.map +1 -0
  319. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleForm/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleForm.d.ts +29 -0
  320. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleForm/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleForm.js +165 -0
  321. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleForm/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleForm.js.map +1 -0
  322. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleForm/index.d.ts +8 -0
  323. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleForm/index.js +10 -0
  324. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleForm/index.js.map +1 -0
  325. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleForm/types.d.ts +13 -0
  326. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleForm/types.js +2 -0
  327. package/dist/elements/public/CustomerPortalSettingsForm/internal/InternalCustomerPortalSettingsFormSubscriptionsAllowNextDateModificationRuleForm/types.js.map +1 -0
  328. package/dist/elements/public/CustomerPortalSettingsForm/isOrigin.d.ts +1 -0
  329. package/dist/elements/public/CustomerPortalSettingsForm/isOrigin.js +9 -0
  330. package/dist/elements/public/CustomerPortalSettingsForm/isOrigin.js.map +1 -0
  331. package/dist/elements/public/CustomerPortalSettingsForm/types.d.ts +3 -0
  332. package/dist/elements/public/CustomerPortalSettingsForm/types.js +2 -0
  333. package/dist/elements/public/CustomerPortalSettingsForm/types.js.map +1 -0
  334. package/dist/elements/public/GenerateCodesForm/GenerateCodesForm.d.ts +14 -18
  335. package/dist/elements/public/GenerateCodesForm/GenerateCodesForm.js +47 -208
  336. package/dist/elements/public/GenerateCodesForm/GenerateCodesForm.js.map +1 -1
  337. package/dist/elements/public/GenerateCodesForm/index.d.ts +5 -6
  338. package/dist/elements/public/GenerateCodesForm/index.js +5 -6
  339. package/dist/elements/public/GenerateCodesForm/index.js.map +1 -1
  340. package/dist/elements/public/GenerateCodesForm/types.d.ts +4 -2
  341. package/dist/elements/public/GenerateCodesForm/types.js.map +1 -1
  342. package/dist/elements/public/GiftCardCodesForm/GiftCardCodesForm.d.ts +19 -22
  343. package/dist/elements/public/GiftCardCodesForm/GiftCardCodesForm.js +44 -239
  344. package/dist/elements/public/GiftCardCodesForm/GiftCardCodesForm.js.map +1 -1
  345. package/dist/elements/public/GiftCardCodesForm/index.d.ts +3 -7
  346. package/dist/elements/public/GiftCardCodesForm/index.js +3 -9
  347. package/dist/elements/public/GiftCardCodesForm/index.js.map +1 -1
  348. package/dist/elements/public/GiftCardCodesForm/types.d.ts +6 -4
  349. package/dist/elements/public/GiftCardCodesForm/types.js.map +1 -1
  350. package/dist/elements/public/NucleonElement/NucleonElement.d.ts +10 -0
  351. package/dist/elements/public/NucleonElement/NucleonElement.js +33 -9
  352. package/dist/elements/public/NucleonElement/NucleonElement.js.map +1 -1
  353. package/dist/elements/public/NucleonElement/internalServer.d.ts +2 -0
  354. package/dist/elements/public/NucleonElement/internalServer.js +95 -0
  355. package/dist/elements/public/NucleonElement/internalServer.js.map +1 -0
  356. package/dist/elements/public/index.d.ts +1 -0
  357. package/dist/elements/public/index.defined.d.ts +1 -0
  358. package/dist/elements/public/index.defined.js +1 -0
  359. package/dist/elements/public/index.defined.js.map +1 -1
  360. package/dist/elements/public/index.js +1 -0
  361. package/dist/elements/public/index.js.map +1 -1
  362. package/dist/events/request.d.ts +1 -0
  363. package/dist/events/request.js +1 -0
  364. package/dist/events/request.js.map +1 -1
  365. package/dist/mixins/themeable.js +16 -0
  366. package/dist/mixins/themeable.js.map +1 -1
  367. package/package.json +1 -1
  368. package/dist/cdn/shared-0037b9e6.js +0 -1
  369. package/dist/cdn/shared-07e9d1fb.js +0 -1
  370. package/dist/cdn/shared-0cf90158.js +0 -1
  371. package/dist/cdn/shared-1024766f.js +0 -1
  372. package/dist/cdn/shared-1522d76f.js +0 -15
  373. package/dist/cdn/shared-33d8cbfb.js +0 -1
  374. package/dist/cdn/shared-3d251e6f.js +0 -1
  375. package/dist/cdn/shared-40bece2b.js +0 -1
  376. package/dist/cdn/shared-510a9e1b.js +0 -1
  377. package/dist/cdn/shared-6d41c9a9.js +0 -1
  378. package/dist/cdn/shared-a0435ec6.js +0 -1
  379. package/dist/cdn/shared-bbc0cdd6.js +0 -1
  380. package/dist/cdn/shared-d0374d0c.js +0 -1
  381. package/dist/cdn/shared-db306674.js +0 -1
  382. package/dist/cdn/shared-eb116b3e.js +0 -1
  383. package/dist/cdn/shared-f53d078e.js +0 -1
  384. package/dist/cdn/shared-ff18b2d1.js +0 -1
  385. package/dist/elements/public/CouponCodesForm/internal/InternalCouponCodesFormListItem.d.ts +0 -14
  386. package/dist/elements/public/CouponCodesForm/internal/InternalCouponCodesFormListItem.js +0 -48
  387. package/dist/elements/public/CouponCodesForm/internal/InternalCouponCodesFormListItem.js.map +0 -1
  388. package/dist/elements/public/GiftCardCodesForm/internal/InternalGiftCardCodesFormListItem.d.ts +0 -19
  389. package/dist/elements/public/GiftCardCodesForm/internal/InternalGiftCardCodesFormListItem.js +0 -48
  390. package/dist/elements/public/GiftCardCodesForm/internal/InternalGiftCardCodesFormListItem.js.map +0 -1
@@ -1 +0,0 @@
1
- import"./foxy-spinner.js";import{I as e}from"./shared-d244dd07.js";customElements.define("foxy-internal-card",e);
@@ -1 +0,0 @@
1
- import{ah as r,ai as a}from"./shared-1522d76f.js";var e=function(){try{var a=r(Object,"defineProperty");return a({},"",{}),a}catch(r){}}();function t(r,a,t){"__proto__"==a&&e?e(r,a,{configurable:!0,enumerable:!0,value:t,writable:!0}):r[a]=t}var o=Object.prototype.hasOwnProperty;function n(r,e,n){var i=r[e];o.call(r,e)&&a(i,n)&&(void 0!==n||e in r)||t(r,e,n)}export{n as a,t as b};
@@ -1 +0,0 @@
1
- import{g as t,h as e,j as n,k as i,l as r,p as s,n as o,o as a,q as h,s as c,u,v as d,w as l,x as f,y as p,z as v,C as y,D as w,E as x,F as b,G as m,H as g,I as E,J as S,K as T,L,M as _,N as O,S as k,O as C,P as N,Q as M,T as z,U as D,V as P,W as I,X as R}from"./shared-1522d76f.js";var q={deferEvents:!1},J=function(){function e(e){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=t(t({},q),e)}return e.prototype.initialize=function(t){if(this.initialized=!0,t){if(!this.options.deferEvents)return void this.schedule(t);this.process(t)}this.flushEvents()},e.prototype.schedule=function(t){if(this.initialized&&!this.processingEvent){if(0!==this.queue.length)throw new Error("Event queue should be empty when it is not processing events");this.process(t),this.flushEvents()}else this.queue.push(t)},e.prototype.clear=function(){this.queue=[]},e.prototype.flushEvents=function(){for(var t=this.queue.shift();t;)this.process(t),t=this.queue.shift()},e.prototype.process=function(t){this.processingEvent=!0;try{t()}catch(t){throw this.clear(),t}finally{this.processingEvent=!1}},e}(),j=new Map,F=0,U=function(){return"x:"+F++},X=function(t,e){return j.set(t,e),t},A=function(t){return j.get(t)},V=function(t){j.delete(t)};function G(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0}var H,K={sync:!1,autoForward:!1};!function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"}(H||(H={}));var Q=function(){function q(e,n){var i=this;void 0===n&&(n=q.defaultOptions),this.machine=e,this.scheduler=new J,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=H.NotStarted,this.children=new Map,this.forwardTo=new Set,this.init=this.start,this.send=function(t,e){if(_(t))return i.batch(t),i.state;var n=c(O(t,e));if(i.status===H.Stopped)return i.state;if(i.status!==H.Running&&!i.options.deferEvents)throw new Error('Event "'+n.name+'" was sent to uninitialized service "'+i.machine.id+'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.\nEvent: '+JSON.stringify(n.data));return i.scheduler.schedule((function(){i.forward(n);var t=i.nextState(n);i.update(t,n)})),i._state},this.sendTo=function(e,n){var r=i.parent&&(n===k.Parent||i.parent.id===n),s=r?i.parent:C(n)?i.children.get(n)||A(n):N(n)?n:void 0;if(s)"machine"in s?s.send(t(t({},e),{name:e.name===M?""+T(i.id):e.name,origin:i.sessionId})):s.send(e.data);else if(!r)throw new Error("Unable to send event to child '"+n+"' from service '"+i.id+"'.")};var r=t(t({},q.defaultOptions),n),s=r.clock,o=r.logger,a=r.parent,h=r.id,u=void 0!==h?h:e.id;this.id=u,this.logger=o,this.clock=s,this.parent=a,this.options=r,this.scheduler=new J({deferEvents:this.options.deferEvents}),this.sessionId=U()}return Object.defineProperty(q.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:s(this,(function(){return t._initialState=t.machine.initialState,t._initialState}))},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),q.prototype.execute=function(t,n){var i,r;try{for(var s=e(t.actions),o=s.next();!o.done;o=s.next()){var a=o.value;this.exec(a,t,n)}}catch(t){i={error:t}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}},q.prototype.update=function(t,s){var o,a,h,c,u,d,l,f,p=this;if(t._sessionid=this.sessionId,this._state=t,this.options.execute&&this.execute(this.state),this.children.forEach((function(t){p.state.children[t.id]=t})),this.devTools&&this.devTools.send(s.data,t),t.event)try{for(var v=e(this.eventListeners),y=v.next();!y.done;y=v.next()){(0,y.value)(t.event)}}catch(t){o={error:t}}finally{try{y&&!y.done&&(a=v.return)&&a.call(v)}finally{if(o)throw o.error}}try{for(var w=e(this.listeners),x=w.next();!x.done;x=w.next()){(0,x.value)(t,t.event)}}catch(t){h={error:t}}finally{try{x&&!x.done&&(c=w.return)&&c.call(w)}finally{if(h)throw h.error}}try{for(var b=e(this.contextListeners),m=b.next();!m.done;m=b.next()){(0,m.value)(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(t){u={error:t}}finally{try{m&&!m.done&&(d=b.return)&&d.call(b)}finally{if(u)throw u.error}}var g=n(t.configuration||[],this.machine);if(this.state.configuration&&g){var E=t.configuration.find((function(t){return"final"===t.type&&t.parent===p.machine})),S=E&&E.doneData?i(E.doneData,t.context,s):void 0;try{for(var T=e(this.doneListeners),L=T.next();!L.done;L=T.next()){(0,L.value)(r(this.id,S))}}catch(t){l={error:t}}finally{try{L&&!L.done&&(f=T.return)&&f.call(T)}finally{if(l)throw l.error}}this.stop()}},q.prototype.onTransition=function(t){return this.listeners.add(t),this.status===H.Running&&t(this.state,this.state.event),this},q.prototype.subscribe=function(t,e,n){var i,r=this;if(!t)return{unsubscribe:function(){}};var s=n;return"function"==typeof t?i=t:(i=t.next.bind(t),s=t.complete.bind(t)),this.listeners.add(i),this.status===H.Running&&i(this.state),s&&this.onDone(s),{unsubscribe:function(){i&&r.listeners.delete(i),s&&r.doneListeners.delete(s)}}},q.prototype.onEvent=function(t){return this.eventListeners.add(t),this},q.prototype.onSend=function(t){return this.sendListeners.add(t),this},q.prototype.onChange=function(t){return this.contextListeners.add(t),this},q.prototype.onStop=function(t){return this.stopListeners.add(t),this},q.prototype.onDone=function(t){return this.doneListeners.add(t),this},q.prototype.off=function(t){return this.listeners.delete(t),this.eventListeners.delete(t),this.sendListeners.delete(t),this.stopListeners.delete(t),this.doneListeners.delete(t),this.contextListeners.delete(t),this},q.prototype.start=function(t){var e=this;if(this.status===H.Running)return this;X(this.sessionId,this),this.initialized=!0,this.status=H.Running;var n=void 0===t?this.initialState:s(this,(function(){return z(t)?e.machine.resolveState(t):e.machine.resolveState(D.from(t,e.machine.context))}));return this.options.devTools&&this.attachDev(),this.scheduler.initialize((function(){e.update(n,o)})),this},q.prototype.stop=function(){var t,n,i,r,s,o,c,u,d,l,f=this;try{for(var p=e(this.listeners),v=p.next();!v.done;v=p.next()){var y=v.value;this.listeners.delete(y)}}catch(e){t={error:e}}finally{try{v&&!v.done&&(n=p.return)&&n.call(p)}finally{if(t)throw t.error}}try{for(var w=e(this.stopListeners),x=w.next();!x.done;x=w.next()){(y=x.value)(),this.stopListeners.delete(y)}}catch(t){i={error:t}}finally{try{x&&!x.done&&(r=w.return)&&r.call(w)}finally{if(i)throw i.error}}try{for(var b=e(this.contextListeners),m=b.next();!m.done;m=b.next()){y=m.value;this.contextListeners.delete(y)}}catch(t){s={error:t}}finally{try{m&&!m.done&&(o=b.return)&&o.call(b)}finally{if(s)throw s.error}}try{for(var g=e(this.doneListeners),E=g.next();!E.done;E=g.next()){y=E.value;this.doneListeners.delete(y)}}catch(t){c={error:t}}finally{try{E&&!E.done&&(u=g.return)&&u.call(g)}finally{if(c)throw c.error}}this.state.configuration.forEach((function(t){var n,i;try{for(var r=e(t.definition.exit),s=r.next();!s.done;s=r.next()){var o=s.value;f.exec(o,f.state)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}})),this.children.forEach((function(t){a(t.stop)&&t.stop()}));try{for(var S=e(h(this.delayedEventsMap)),T=S.next();!T.done;T=S.next()){var L=T.value;this.clock.clearTimeout(this.delayedEventsMap[L])}}catch(t){d={error:t}}finally{try{T&&!T.done&&(l=S.return)&&l.call(S)}finally{if(d)throw d.error}}return this.scheduler.clear(),this.initialized=!1,this.status=H.Stopped,V(this.sessionId),this},q.prototype.batch=function(t){var n=this;if(this.status===H.NotStarted&&this.options.deferEvents);else if(this.status!==H.Running)throw new Error(t.length+' event(s) were sent to uninitialized service "'+this.machine.id+'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.');this.scheduler.schedule((function(){var i,r,o=n.state,a=!1,h=[],u=function(t){var e=c(t);n.forward(e),o=s(n,(function(){return n.machine.transition(o,e)})),h.push.apply(h,P(o.actions.map((function(t){return I(t,o)})))),a=a||!!o.changed};try{for(var d=e(t),l=d.next();!l.done;l=d.next()){u(l.value)}}catch(t){i={error:t}}finally{try{l&&!l.done&&(r=d.return)&&r.call(d)}finally{if(i)throw i.error}}o.changed=a,o.actions=h,n.update(o,c(t[t.length-1]))}))},q.prototype.sender=function(t){return this.send.bind(this,t)},q.prototype.nextState=function(t){var e=this,n=c(t);if(0===n.name.indexOf(u)&&!this.state.nextEvents.some((function(t){return 0===t.indexOf(u)})))throw n.data.data;return s(this,(function(){return e.machine.transition(e.state,n)}))},q.prototype.forward=function(t){var n,i;try{for(var r=e(this.forwardTo),s=r.next();!s.done;s=r.next()){var o=s.value,a=this.children.get(o);if(!a)throw new Error("Unable to forward event '"+t+"' from interpreter '"+this.id+"' to nonexistant child '"+o+"'.");a.send(t)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}},q.prototype.defer=function(t){var e=this;this.delayedEventsMap[t.id]=this.clock.setTimeout((function(){t.to?e.sendTo(t._event,t.to):e.send(t._event)}),t.delay)},q.prototype.cancel=function(t){this.clock.clearTimeout(this.delayedEventsMap[t]),delete this.delayedEventsMap[t]},q.prototype.exec=function(t,e,n){void 0===n&&(n=this.machine.options.actions);var r=e.context,s=e._event,o=t.exec||d(t.type,n),h=a(o)?o:o?o.exec:t.exec;if(h)try{return h(r,s.data,{action:t,state:this.state,_event:s})}catch(t){throw this.parent&&this.parent.send({type:"xstate.error",data:t}),t}switch(t.type){case g:var c=t;if("number"==typeof c.delay)return void this.defer(c);c.to?this.sendTo(c._event,c.to):this.send(c._event);break;case m:this.cancel(t.sendId);break;case p:var u=t.activity;if(!this.state.activities[u.id||u.type])break;if(u.type===v.Invoke){var E=y(u.src),S=this.machine.options.services?this.machine.options.services[E.type]:void 0,T=u.id,L=u.data,_="autoForward"in u?u.autoForward:!!u.forward;if(!S)return;var O=L?i(L,r,s):void 0,k=a(S)?S(r,s.data,{data:O,src:E}):S;w(k)?this.spawnPromise(Promise.resolve(k),T):a(k)?this.spawnCallback(k,T):x(k)?this.spawnObservable(k,T):b(k)&&this.spawnMachine(O?k.withContext(O):k,{id:T,autoForward:_})}else this.spawnActivity(u);break;case f:this.stopChild(t.activity.id);break;case l:var C=t.label,N=t.value;C?this.logger(C,N):this.logger(N)}},q.prototype.removeChild=function(t){this.children.delete(t),this.forwardTo.delete(t),delete this.state.children[t]},q.prototype.stopChild=function(t){var e=this.children.get(t);e&&(this.removeChild(t),a(e.stop)&&e.stop())},q.prototype.spawn=function(e,n,i){if(w(e))return this.spawnPromise(Promise.resolve(e),n);if(a(e))return this.spawnCallback(e,n);if(E(e))return this.spawnActor(e);if(x(e))return this.spawnObservable(e,n);if(b(e))return this.spawnMachine(e,t(t({},i),{id:n}));throw new Error('Unable to spawn entity "'+n+'" of type "'+typeof e+'".')},q.prototype.spawnMachine=function(e,n){var i=this;void 0===n&&(n={});var r=new q(e,t(t({},this.options),{parent:this,id:n.id||e.id})),s=t(t({},K),n);s.sync&&r.onTransition((function(t){i.send(S,{state:t,id:r.id})}));var o=r;return this.children.set(r.id,o),s.autoForward&&this.forwardTo.add(r.id),r.onDone((function(t){i.removeChild(r.id),i.send(c(t,{origin:r.id}))})).start(),o},q.prototype.spawnPromise=function(t,e){var n=this,i=!1;t.then((function(t){i||(n.removeChild(e),n.send(c(r(e,t),{origin:e})))}),(function(t){if(!i){n.removeChild(e);var r=T(e,t);try{n.send(c(r,{origin:e}))}catch(t){n.devTools&&n.devTools.send(r,n.state),n.machine.strict&&n.stop()}}}));var s={id:e,send:function(){},subscribe:function(e,n,i){var r=R(e,n,i),s=!1;return t.then((function(t){s||(r.next(t),s||r.complete())}),(function(t){s||r.error(t)})),{unsubscribe:function(){return s=!0}}},stop:function(){i=!0},toJSON:function(){return{id:e}}};return this.children.set(e,s),s},q.prototype.spawnCallback=function(t,e){var n,i=this,r=!1,s=new Set,o=new Set;try{n=t((function(t){o.forEach((function(e){return e(t)})),r||i.send(c(t,{origin:e}))}),(function(t){s.add(t)}))}catch(t){this.send(T(e,t))}if(w(n))return this.spawnPromise(n,e);var h={id:e,send:function(t){return s.forEach((function(e){return e(t)}))},subscribe:function(t){return o.add(t),{unsubscribe:function(){o.delete(t)}}},stop:function(){r=!0,a(n)&&n()},toJSON:function(){return{id:e}}};return this.children.set(e,h),h},q.prototype.spawnObservable=function(t,e){var n=this,i=t.subscribe((function(t){n.send(c(t,{origin:e}))}),(function(t){n.removeChild(e),n.send(c(T(e,t),{origin:e}))}),(function(){n.removeChild(e),n.send(c(r(e),{origin:e}))})),s={id:e,send:function(){},subscribe:function(e,n,i){return t.subscribe(e,n,i)},stop:function(){return i.unsubscribe()},toJSON:function(){return{id:e}}};return this.children.set(e,s),s},q.prototype.spawnActor=function(t){return this.children.set(t.id,t),t},q.prototype.spawnActivity=function(t){var e=this.machine.options&&this.machine.options.activities?this.machine.options.activities[t.type]:void 0;if(e){var n=e(this.state.context,t);this.spawnEffect(t.id,n)}},q.prototype.spawnEffect=function(t,e){this.children.set(t,{id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:e||void 0,toJSON:function(){return{id:t}}})},q.prototype.attachDev=function(){var e=G();if(this.options.devTools&&e&&e.__REDUX_DEVTOOLS_EXTENSION__){var n="object"==typeof this.options.devTools?this.options.devTools:void 0;this.devTools=e.__REDUX_DEVTOOLS_EXTENSION__.connect(t(t({name:this.id,autoPause:!0,stateSanitizer:function(t){return{value:t.value,context:t.context,actions:t.actions}}},n),{features:t({jump:!1,skip:!1},n?n.features:void 0)}),this.machine),this.devTools.init(this.state)}},q.prototype.toJSON=function(){return{id:this.id}},q.prototype[L]=function(){return this},q.defaultOptions=function(t){return{execute:!0,deferEvents:!0,clock:{setTimeout:function(t,e){return setTimeout(t,e)},clearTimeout:function(t){return clearTimeout(t)}},logger:t.console.log.bind(console),devTools:!1}}("undefined"!=typeof self?self:global),q.interpret=W,q}();function W(t,e){return new Q(t,e)}export{W as i};
@@ -1 +0,0 @@
1
- import"./shared-db98729a.js";import"./shared-4482e7b9.js";import{I as e}from"./shared-2062c274.js";import{_ as i}from"./shared-1522d76f.js";import{i as r}from"./shared-9803aa7c.js";import{h as s}from"./shared-dc73b9a5.js";let t,l,a,n=e=>e;customElements.define("foxy-internal-number-control",class extends e{constructor(){super(...arguments),this.prefix=null,this.suffix=null,this.min=null,this.max=null}static get properties(){return i(i({},super.properties),{},{prefix:{},suffix:{},min:{type:Number},max:{type:Number}})}renderControl(){var e,i;return s(t||(t=n` <vaadin-number-field error-message="${0}" placeholder="${0}" helper-text="${0}" label="${0}" class="w-full" min="${0}" max="${0}" ?disabled="${0}" ?readonly="${0}" .checkValidity="${0}" .value="${0}" clear-button-visible @keydown="${0}" @change="${0}"> ${0} ${0} </vaadin-number-field> `),r(this._errorMessage),this.placeholder,this.helperText,this.label,r(null!==(e=this.min)&&void 0!==e?e:void 0),r(null!==(i=this.max)&&void 0!==i?i:void 0),this.disabled,this.readonly,this._checkValidity,String(this._value),(e=>{var i;return"Enter"===e.key&&(null===(i=this.nucleon)||void 0===i?void 0:i.submit())}),(e=>{const i=e.currentTarget;this._value=parseFloat(i.value)}),this.prefix?s(l||(l=n`<div slot="prefix">${0}</div>`),this.prefix):"",this.suffix?s(a||(a=n`<div class="pr-s font-medium" slot="suffix">${0}</div>`),this.suffix):"")}get _value(){var e;return null!==(e=super._value)&&void 0!==e?e:0}set _value(e){super._value=e}});
@@ -1 +0,0 @@
1
- import{ae as a,af as r,aK as n,ag as t,aF as e,aL as l}from"./shared-1522d76f.js";var o=Object.prototype.hasOwnProperty;function s(a,r){return null!=a&&o.call(a,r)}function u(o,u){return null!=o&&function(o,s,u){for(var f=-1,c=(s=a(s,o)).length,h=!1;++f<c;){var i=r(s[f]);if(!(h=null!=o&&u(o,i)))break;o=o[i]}return h||++f!=c?h:!!(c=null==o?0:o.length)&&n(c)&&t(i,c)&&(e(o)||l(o))}(o,u,s)}export{u as h};
@@ -1,14 +0,0 @@
1
- import { TemplateResult } from 'lit-html';
2
- import { NucleonElement } from '../../NucleonElement/NucleonElement';
3
- import { Rels } from '@foxy.io/sdk/backend';
4
- import { Resource } from '@foxy.io/sdk/core';
5
- declare type Data = Resource<Rels.CouponCodes>;
6
- declare const Base: typeof NucleonElement & {
7
- styles: import("lit-element").CSSResultArray;
8
- } & import("lit-element").Constructor<import("../../../../mixins/translatable").TranslatableMixinHost> & {
9
- defaultNS: string;
10
- };
11
- export declare class InternalCouponCodesFormListItem extends Base<Data> {
12
- render(): TemplateResult;
13
- }
14
- export {};
@@ -1,48 +0,0 @@
1
- import { html } from 'lit-html';
2
- import { NucleonElement } from "../../NucleonElement/NucleonElement.js";
3
- import { ThemeableMixin } from "../../../../mixins/themeable.js";
4
- import { TranslatableMixin } from "../../../../mixins/translatable.js";
5
- const Base = TranslatableMixin(ThemeableMixin(NucleonElement));
6
- export class InternalCouponCodesFormListItem extends Base {
7
- render() {
8
- var _a, _b;
9
- let code;
10
- try {
11
- code = (_a = new URL(this.href).searchParams.get('code')) !== null && _a !== void 0 ? _a : '';
12
- }
13
- catch (_c) {
14
- return html ``;
15
- }
16
- let statusClass = 'text-tertiary bg-contrast-5';
17
- let statusKey;
18
- let codeClass = 'text-body';
19
- if (this.in('fail')) {
20
- statusKey = 'loading_error';
21
- }
22
- else if (this.in('busy')) {
23
- statusKey = 'loading_busy';
24
- }
25
- else if (((_b = this.data) === null || _b === void 0 ? void 0 : _b.returned_items) === 0) {
26
- statusClass = 'text-success bg-success-10';
27
- statusKey = 'unique';
28
- }
29
- else {
30
- statusClass = 'text-error bg-error-10';
31
- statusKey = 'duplicate';
32
- codeClass = 'text-error';
33
- }
34
- return html `
35
- <div class="flex justify-between items-center font-lumo leading-m">
36
- <div class="text-m ${codeClass}">${code}</div>
37
- <foxy-i18n
38
- class="text-xs font-medium px-xs rounded ${statusClass}"
39
- lang=${this.lang}
40
- key=${statusKey}
41
- ns=${this.ns}
42
- >
43
- </foxy-i18n>
44
- </div>
45
- `;
46
- }
47
- }
48
- //# sourceMappingURL=InternalCouponCodesFormListItem.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InternalCouponCodesFormListItem.js","sourceRoot":"","sources":["../../../../../src/elements/public/CouponCodesForm/internal/InternalCouponCodesFormListItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,IAAI,EAAE,MAAM,UAAU,CAAC;AAEhD,OAAO,EAAE,cAAc,EAAE,+CAA4C;AAGrE,OAAO,EAAE,cAAc,EAAE,wCAAqC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,2CAAwC;AAGpE,MAAM,IAAI,GAAG,iBAAiB,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC;AAE/D,MAAM,OAAO,+BAAgC,SAAQ,IAAU;IAC7D,MAAM;;QACJ,IAAI,IAAY,CAAC;QAEjB,IAAI;YACF,IAAI,SAAG,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,mCAAI,EAAE,CAAC;SAC1D;QAAC,WAAM;YACN,OAAO,IAAI,CAAA,EAAE,CAAC;SACf;QAED,IAAI,WAAW,GAAG,6BAA6B,CAAC;QAChD,IAAI,SAAiB,CAAC;QACtB,IAAI,SAAS,GAAG,WAAW,CAAC;QAE5B,IAAI,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE;YACnB,SAAS,GAAG,eAAe,CAAC;SAC7B;aAAM,IAAI,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE;YAC1B,SAAS,GAAG,cAAc,CAAC;SAC5B;aAAM,IAAI,OAAA,IAAI,CAAC,IAAI,0CAAE,cAAc,MAAK,CAAC,EAAE;YAC1C,WAAW,GAAG,4BAA4B,CAAC;YAC3C,SAAS,GAAG,QAAQ,CAAC;SACtB;aAAM;YACL,WAAW,GAAG,wBAAwB,CAAC;YACvC,SAAS,GAAG,WAAW,CAAC;YACxB,SAAS,GAAG,YAAY,CAAC;SAC1B;QAED,OAAO,IAAI,CAAA;;6BAEc,SAAS,KAAK,IAAI;;qDAEM,WAAW;iBAC/C,IAAI,CAAC,IAAI;gBACV,SAAS;eACV,IAAI,CAAC,EAAE;;;;KAIjB,CAAC;IACJ,CAAC;CACF","sourcesContent":["import { TemplateResult, html } from 'lit-html';\n\nimport { NucleonElement } from '../../NucleonElement/NucleonElement';\nimport { Rels } from '@foxy.io/sdk/backend';\nimport { Resource } from '@foxy.io/sdk/core';\nimport { ThemeableMixin } from '../../../../mixins/themeable';\nimport { TranslatableMixin } from '../../../../mixins/translatable';\n\ntype Data = Resource<Rels.CouponCodes>;\nconst Base = TranslatableMixin(ThemeableMixin(NucleonElement));\n\nexport class InternalCouponCodesFormListItem extends Base<Data> {\n render(): TemplateResult {\n let code: string;\n\n try {\n code = new URL(this.href).searchParams.get('code') ?? '';\n } catch {\n return html``;\n }\n\n let statusClass = 'text-tertiary bg-contrast-5';\n let statusKey: string;\n let codeClass = 'text-body';\n\n if (this.in('fail')) {\n statusKey = 'loading_error';\n } else if (this.in('busy')) {\n statusKey = 'loading_busy';\n } else if (this.data?.returned_items === 0) {\n statusClass = 'text-success bg-success-10';\n statusKey = 'unique';\n } else {\n statusClass = 'text-error bg-error-10';\n statusKey = 'duplicate';\n codeClass = 'text-error';\n }\n\n return html`\n <div class=\"flex justify-between items-center font-lumo leading-m\">\n <div class=\"text-m ${codeClass}\">${code}</div>\n <foxy-i18n\n class=\"text-xs font-medium px-xs rounded ${statusClass}\"\n lang=${this.lang}\n key=${statusKey}\n ns=${this.ns}\n >\n </foxy-i18n>\n </div>\n `;\n }\n}\n"]}
@@ -1,19 +0,0 @@
1
- import { TemplateResult } from 'lit-html';
2
- import { NucleonElement } from '../../NucleonElement/NucleonElement';
3
- declare type Data = {
4
- _links: {
5
- self: {
6
- href: string;
7
- };
8
- };
9
- returned_items: number;
10
- };
11
- declare const Base: typeof NucleonElement & {
12
- styles: import("lit-element").CSSResultArray;
13
- } & import("lit-element").Constructor<import("../../../../mixins/translatable").TranslatableMixinHost> & {
14
- defaultNS: string;
15
- };
16
- export declare class InternalGiftCardCodesFormListItem extends Base<Data> {
17
- render(): TemplateResult;
18
- }
19
- export {};
@@ -1,48 +0,0 @@
1
- import { html } from 'lit-html';
2
- import { ThemeableMixin } from "../../../../mixins/themeable.js";
3
- import { TranslatableMixin } from "../../../../mixins/translatable.js";
4
- import { NucleonElement } from "../../NucleonElement/NucleonElement.js";
5
- const Base = TranslatableMixin(ThemeableMixin(NucleonElement));
6
- export class InternalGiftCardCodesFormListItem extends Base {
7
- render() {
8
- var _a, _b;
9
- let code;
10
- try {
11
- code = (_a = new URL(this.href).searchParams.get('code')) !== null && _a !== void 0 ? _a : '';
12
- }
13
- catch (_c) {
14
- return html ``;
15
- }
16
- let statusClass = 'text-tertiary bg-contrast-5';
17
- let statusKey;
18
- let codeClass = 'text-body';
19
- if (this.in('fail')) {
20
- statusKey = 'loading_error';
21
- }
22
- else if (this.in('busy')) {
23
- statusKey = 'loading_busy';
24
- }
25
- else if (((_b = this.data) === null || _b === void 0 ? void 0 : _b.returned_items) === 0) {
26
- statusClass = 'text-success bg-success-10';
27
- statusKey = 'unique';
28
- }
29
- else {
30
- statusClass = 'text-error bg-error-10';
31
- statusKey = 'duplicate';
32
- codeClass = 'text-error';
33
- }
34
- return html `
35
- <div class="flex justify-between items-center font-lumo leading-m">
36
- <div class="text-m ${codeClass}">${code}</div>
37
- <foxy-i18n
38
- class="text-xs font-medium px-xs rounded ${statusClass}"
39
- lang=${this.lang}
40
- key=${statusKey}
41
- ns=${this.ns}
42
- >
43
- </foxy-i18n>
44
- </div>
45
- `;
46
- }
47
- }
48
- //# sourceMappingURL=InternalGiftCardCodesFormListItem.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InternalGiftCardCodesFormListItem.js","sourceRoot":"","sources":["../../../../../src/elements/public/GiftCardCodesForm/internal/InternalGiftCardCodesFormListItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,wCAAqC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,2CAAwC;AACpE,OAAO,EAAE,cAAc,EAAE,+CAA4C;AAGrE,MAAM,IAAI,GAAG,iBAAiB,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC;AAE/D,MAAM,OAAO,iCAAkC,SAAQ,IAAU;IAC/D,MAAM;;QACJ,IAAI,IAAY,CAAC;QAEjB,IAAI;YACF,IAAI,SAAG,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,mCAAI,EAAE,CAAC;SAC1D;QAAC,WAAM;YACN,OAAO,IAAI,CAAA,EAAE,CAAC;SACf;QAED,IAAI,WAAW,GAAG,6BAA6B,CAAC;QAChD,IAAI,SAAiB,CAAC;QACtB,IAAI,SAAS,GAAG,WAAW,CAAC;QAE5B,IAAI,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE;YACnB,SAAS,GAAG,eAAe,CAAC;SAC7B;aAAM,IAAI,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE;YAC1B,SAAS,GAAG,cAAc,CAAC;SAC5B;aAAM,IAAI,OAAA,IAAI,CAAC,IAAI,0CAAE,cAAc,MAAK,CAAC,EAAE;YAC1C,WAAW,GAAG,4BAA4B,CAAC;YAC3C,SAAS,GAAG,QAAQ,CAAC;SACtB;aAAM;YACL,WAAW,GAAG,wBAAwB,CAAC;YACvC,SAAS,GAAG,WAAW,CAAC;YACxB,SAAS,GAAG,YAAY,CAAC;SAC1B;QAED,OAAO,IAAI,CAAA;;6BAEc,SAAS,KAAK,IAAI;;qDAEM,WAAW;iBAC/C,IAAI,CAAC,IAAI;gBACV,SAAS;eACV,IAAI,CAAC,EAAE;;;;KAIjB,CAAC;IACJ,CAAC;CACF","sourcesContent":["import { html, TemplateResult } from 'lit-html';\nimport { ThemeableMixin } from '../../../../mixins/themeable';\nimport { TranslatableMixin } from '../../../../mixins/translatable';\nimport { NucleonElement } from '../../NucleonElement/NucleonElement';\n\ntype Data = { _links: { self: { href: string } }; returned_items: number };\nconst Base = TranslatableMixin(ThemeableMixin(NucleonElement));\n\nexport class InternalGiftCardCodesFormListItem extends Base<Data> {\n render(): TemplateResult {\n let code: string;\n\n try {\n code = new URL(this.href).searchParams.get('code') ?? '';\n } catch {\n return html``;\n }\n\n let statusClass = 'text-tertiary bg-contrast-5';\n let statusKey: string;\n let codeClass = 'text-body';\n\n if (this.in('fail')) {\n statusKey = 'loading_error';\n } else if (this.in('busy')) {\n statusKey = 'loading_busy';\n } else if (this.data?.returned_items === 0) {\n statusClass = 'text-success bg-success-10';\n statusKey = 'unique';\n } else {\n statusClass = 'text-error bg-error-10';\n statusKey = 'duplicate';\n codeClass = 'text-error';\n }\n\n return html`\n <div class=\"flex justify-between items-center font-lumo leading-m\">\n <div class=\"text-m ${codeClass}\">${code}</div>\n <foxy-i18n\n class=\"text-xs font-medium px-xs rounded ${statusClass}\"\n lang=${this.lang}\n key=${statusKey}\n ns=${this.ns}\n >\n </foxy-i18n>\n </div>\n `;\n }\n}\n"]}