@foxy.io/elements 1.26.0 → 1.27.0-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.
Files changed (367) 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.js +1 -1
  31. package/dist/cdn/foxy-customer-portal.js +2 -2
  32. package/dist/cdn/foxy-customer.js +3 -3
  33. package/dist/cdn/foxy-customers-table.js +1 -1
  34. package/dist/cdn/foxy-discount-builder.js +1 -1
  35. package/dist/cdn/foxy-discount-card.js +1 -1
  36. package/dist/cdn/foxy-discount-detail-card.js +1 -1
  37. package/dist/cdn/foxy-donation.js +1 -1
  38. package/dist/cdn/foxy-downloadable-card.js +1 -1
  39. package/dist/cdn/foxy-downloadable-form.js +1 -1
  40. package/dist/cdn/foxy-email-template-card.js +1 -1
  41. package/dist/cdn/foxy-email-template-form.js +1 -1
  42. package/dist/cdn/foxy-error-entry-card.js +1 -1
  43. package/dist/cdn/foxy-filter-attribute-card.js +1 -1
  44. package/dist/cdn/foxy-filter-attribute-form.js +1 -1
  45. package/dist/cdn/foxy-form-dialog.js +1 -1
  46. package/dist/cdn/foxy-generate-codes-form.js +1 -1
  47. package/dist/cdn/foxy-gift-card-card.js +1 -1
  48. package/dist/cdn/foxy-gift-card-code-form.js +1 -1
  49. package/dist/cdn/foxy-gift-card-code-log-card.js +1 -1
  50. package/dist/cdn/foxy-gift-card-codes-form.js +1 -1
  51. package/dist/cdn/foxy-gift-card-form.js +1 -1
  52. package/dist/cdn/foxy-i18n-editor.js +2 -2
  53. package/dist/cdn/foxy-i18n.js +1 -1
  54. package/dist/cdn/foxy-integration-card.js +1 -1
  55. package/dist/cdn/foxy-integration-form.js +1 -1
  56. package/dist/cdn/foxy-item-card.js +1 -1
  57. package/dist/cdn/foxy-item-category-card.js +1 -1
  58. package/dist/cdn/foxy-item-category-form.js +1 -1
  59. package/dist/cdn/foxy-item-form.js +4 -4
  60. package/dist/cdn/foxy-item-option-card.js +1 -1
  61. package/dist/cdn/foxy-item-option-form.js +1 -1
  62. package/dist/cdn/foxy-items-form.js +1 -1
  63. package/dist/cdn/foxy-native-integration-card.js +1 -1
  64. package/dist/cdn/foxy-native-integration-form.js +1 -1
  65. package/dist/cdn/foxy-nucleon-element.js +1 -1
  66. package/dist/cdn/foxy-pagination.js +1 -1
  67. package/dist/cdn/foxy-passkey-card.js +1 -1
  68. package/dist/cdn/foxy-passkey-form.js +1 -1
  69. package/dist/cdn/foxy-payment-card.js +1 -1
  70. package/dist/cdn/foxy-payment-method-card.js +1 -1
  71. package/dist/cdn/foxy-payments-api-fraud-protection-card.js +1 -1
  72. package/dist/cdn/foxy-payments-api-fraud-protection-form.js +1 -1
  73. package/dist/cdn/foxy-payments-api-payment-method-card.js +1 -1
  74. package/dist/cdn/foxy-payments-api-payment-method-form.js +1 -1
  75. package/dist/cdn/foxy-payments-api-payment-preset-card.js +1 -1
  76. package/dist/cdn/foxy-payments-api-payment-preset-form.js +1 -1
  77. package/dist/cdn/foxy-payments-api.js +1 -1
  78. package/dist/cdn/foxy-query-builder.js +1 -1
  79. package/dist/cdn/foxy-report-form.js +11 -11
  80. package/dist/cdn/foxy-reports-table.js +1 -1
  81. package/dist/cdn/foxy-shipment-card.js +1 -1
  82. package/dist/cdn/foxy-shipping-method-card.js +1 -1
  83. package/dist/cdn/foxy-sign-in-form.js +1 -1
  84. package/dist/cdn/foxy-spinner.js +2 -2
  85. package/dist/cdn/foxy-store-card.js +1 -1
  86. package/dist/cdn/foxy-store-form.js +1 -1
  87. package/dist/cdn/foxy-store-shipping-method-form.js +1 -1
  88. package/dist/cdn/foxy-subscription-card.js +1 -1
  89. package/dist/cdn/foxy-subscription-form.js +1 -5
  90. package/dist/cdn/foxy-subscription-settings-form.js +1 -1
  91. package/dist/cdn/foxy-subscriptions-table.js +1 -1
  92. package/dist/cdn/foxy-swipe-actions.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 +7 -7
  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-2787655b.js → shared-030f561a.js} +1 -1
  111. package/dist/cdn/shared-0cbb19f4.js +2 -0
  112. package/dist/cdn/{shared-38499b40.js → shared-0cf90158.js} +1 -1
  113. package/dist/cdn/{shared-b06b1473.js → shared-1024766f.js} +1 -1
  114. package/dist/cdn/{shared-360e1c8e.js → shared-12390d6f.js} +1 -1
  115. package/dist/cdn/{shared-942ef1fc.js → shared-12ad8924.js} +2 -2
  116. package/dist/cdn/shared-150f5214.js +1 -0
  117. package/dist/cdn/shared-2062c274.js +1 -0
  118. package/dist/cdn/{shared-f3b35364.js → shared-22ba9566.js} +1 -1
  119. package/dist/cdn/{shared-69c67952.js → shared-2376abfc.js} +7 -7
  120. package/dist/cdn/{shared-76812651.js → shared-26f4b6bf.js} +1 -1
  121. package/dist/cdn/{shared-f7365ea5.js → shared-2920b595.js} +1 -1
  122. package/dist/cdn/{shared-d7be11de.js → shared-2bf89a21.js} +1 -1
  123. package/dist/cdn/{shared-550f9cae.js → shared-331a223c.js} +2 -2
  124. package/dist/cdn/{shared-6da29a49.js → shared-33d8cbfb.js} +1 -1
  125. package/dist/cdn/{shared-213c60d3.js → shared-352c79a6.js} +1 -1
  126. package/dist/cdn/{shared-cadbb2e3.js → shared-37e1a834.js} +1 -1
  127. package/dist/cdn/shared-3f19b914.js +20 -0
  128. package/dist/cdn/{shared-d2dc8486.js → shared-405a290e.js} +1 -1
  129. package/dist/cdn/shared-40bece2b.js +1 -0
  130. package/dist/cdn/{shared-2d40129d.js → shared-4482e7b9.js} +6 -6
  131. package/dist/cdn/{shared-19732959.js → shared-44bb85d8.js} +1 -1
  132. package/dist/cdn/{shared-2b68c60f.js → shared-497ebb8c.js} +1 -1
  133. package/dist/cdn/{shared-60e167ae.js → shared-4cec4de0.js} +1 -1
  134. package/dist/cdn/{shared-51318b75.js → shared-510a9e1b.js} +1 -1
  135. package/dist/cdn/{shared-f9180815.js → shared-51c4a6dd.js} +1 -1
  136. package/dist/cdn/shared-5ba87b6d.js +11 -0
  137. package/dist/cdn/{shared-c37707da.js → shared-5df32007.js} +1 -1
  138. package/dist/cdn/{shared-eaceb493.js → shared-5dfec3b7.js} +1 -1
  139. package/dist/cdn/shared-651c44fa.js +6 -0
  140. package/dist/cdn/{shared-ac62d098.js → shared-655e7c5f.js} +1 -1
  141. package/dist/cdn/shared-6d41c9a9.js +1 -0
  142. package/dist/cdn/{shared-be8c90cc.js → shared-6e508e5b.js} +11 -22
  143. package/dist/cdn/{shared-f1ee9bf9.js → shared-6ed07856.js} +1 -1
  144. package/dist/cdn/{shared-5407617a.js → shared-7039733e.js} +1 -1
  145. package/dist/cdn/{shared-be5ef71d.js → shared-74adbf9e.js} +1 -1
  146. package/dist/cdn/{shared-d7910e16.js → shared-7ea4cb27.js} +1 -1
  147. package/dist/cdn/{shared-8ed04343.js → shared-83fc5dca.js} +1 -1
  148. package/dist/cdn/{shared-bb05cfed.js → shared-8438d4ca.js} +1 -1
  149. package/dist/cdn/{shared-50a3cb63.js → shared-882e7191.js} +1 -1
  150. package/dist/cdn/shared-8ab2ba91.js +425 -0
  151. package/dist/cdn/{shared-31b7a6ad.js → shared-8b80db13.js} +1 -1
  152. package/dist/cdn/shared-966feb65.js +1 -0
  153. package/dist/cdn/{shared-aa4f6a25.js → shared-97d63da6.js} +1 -1
  154. package/dist/cdn/{shared-d3bf9ac0.js → shared-9803aa7c.js} +2 -2
  155. package/dist/cdn/{shared-11c2efc8.js → shared-99940888.js} +1 -1
  156. package/dist/cdn/shared-99f0fee6.js +1 -0
  157. package/dist/cdn/shared-9adc47da.js +113 -0
  158. package/dist/cdn/{shared-b23c903e.js → shared-9f570db0.js} +1 -1
  159. package/dist/cdn/{shared-bc113435.js → shared-9fd64015.js} +1 -1
  160. package/dist/cdn/{shared-6a7f96c4.js → shared-a0435ec6.js} +1 -1
  161. package/dist/cdn/{shared-d519a301.js → shared-a0c6a159.js} +2 -2
  162. package/dist/cdn/{shared-16b391d9.js → shared-a19e1dff.js} +1 -1
  163. package/dist/cdn/{shared-ee54f718.js → shared-a5ecd56e.js} +1 -1
  164. package/dist/cdn/{shared-7d24a3f1.js → shared-a9f76cae.js} +1 -1
  165. package/dist/cdn/{shared-927fa880.js → shared-ae459232.js} +4 -4
  166. package/dist/cdn/{shared-1f8ae298.js → shared-bbc0cdd6.js} +1 -1
  167. package/dist/cdn/{shared-1c07b1be.js → shared-bf695fe7.js} +1 -1
  168. package/dist/cdn/{shared-4721aeb1.js → shared-cd8c3429.js} +1 -1
  169. package/dist/cdn/{shared-d28b95c6.js → shared-cfed658c.js} +2 -2
  170. package/dist/cdn/shared-d0374d0c.js +1 -0
  171. package/dist/cdn/{shared-55f58244.js → shared-d244dd07.js} +1 -1
  172. package/dist/cdn/{shared-de59c42c.js → shared-d9f65ee0.js} +4 -4
  173. package/dist/cdn/{shared-df8380e1.js → shared-db98729a.js} +1 -1
  174. package/dist/cdn/{shared-7f33a83a.js → shared-dc73b9a5.js} +1 -1
  175. package/dist/cdn/{shared-902b0773.js → shared-e40937c5.js} +1 -1
  176. package/dist/cdn/{shared-e8621807.js → shared-f0269599.js} +1 -1
  177. package/dist/cdn/shared-f1afbd7b.js +1 -0
  178. package/dist/cdn/{shared-dc8c202b.js → shared-f53d078e.js} +1 -1
  179. package/dist/cdn/{shared-533c0d6a.js → shared-f588b5c2.js} +1 -1
  180. package/dist/cdn/{shared-8d51eaa6.js → shared-f5d4dda0.js} +1 -1
  181. package/dist/cdn/{shared-87f81b69.js → shared-f94fa366.js} +1 -1
  182. package/dist/cdn/shared-fd0a4026.js +1 -0
  183. package/dist/cdn/translations/access-recovery-form/en.json +5 -2
  184. package/dist/cdn/translations/address-card/en.json +1 -1
  185. package/dist/cdn/translations/address-form/en.json +86 -26
  186. package/dist/cdn/translations/admin-subscription-card/en.json +1 -1
  187. package/dist/cdn/translations/applied-coupon-code-card/en.json +1 -1
  188. package/dist/cdn/translations/applied-coupon-code-form/en.json +2 -1
  189. package/dist/cdn/translations/applied-tax-card/en.json +1 -1
  190. package/dist/cdn/translations/attribute-card/en.json +1 -1
  191. package/dist/cdn/translations/attribute-form/en.json +36 -17
  192. package/dist/cdn/translations/billing-address-card/en.json +1 -1
  193. package/dist/cdn/translations/cancellation-form/en.json +2 -1
  194. package/dist/cdn/translations/cart-card/en.json +1 -1
  195. package/dist/cdn/translations/cart-form/en.json +51 -29
  196. package/dist/cdn/translations/client-card/en.json +1 -1
  197. package/dist/cdn/translations/client-form/en.json +2 -1
  198. package/dist/cdn/translations/coupon-card/en.json +1 -1
  199. package/dist/cdn/translations/coupon-code-form/en.json +70 -13
  200. package/dist/cdn/translations/coupon-codes-form/en.json +3 -2
  201. package/dist/cdn/translations/coupon-form/en.json +77 -16
  202. package/dist/cdn/translations/custom-field-card/en.json +1 -1
  203. package/dist/cdn/translations/custom-field-form/en.json +34 -14
  204. package/dist/cdn/translations/customer/en.json +142 -67
  205. package/dist/cdn/translations/customer-card/en.json +1 -1
  206. package/dist/cdn/translations/customer-form/en.json +2 -1
  207. package/dist/cdn/translations/customer-portal/en.json +106 -38
  208. package/dist/cdn/translations/customers-table/en.json +2 -1
  209. package/dist/cdn/translations/discount-card/en.json +1 -1
  210. package/dist/cdn/translations/downloadable-card/en.json +1 -1
  211. package/dist/cdn/translations/downloadable-form/en.json +2 -1
  212. package/dist/cdn/translations/email-template-card/en.json +1 -1
  213. package/dist/cdn/translations/email-template-form/en.json +2 -1
  214. package/dist/cdn/translations/filter-attribute-card/en.json +1 -1
  215. package/dist/cdn/translations/filter-attribute-form/en.json +2 -1
  216. package/dist/cdn/translations/generate-codes-form/en.json +2 -1
  217. package/dist/cdn/translations/gift-card-card/en.json +1 -1
  218. package/dist/cdn/translations/gift-card-code-form/en.json +55 -24
  219. package/dist/cdn/translations/gift-card-code-log-card/en.json +1 -1
  220. package/dist/cdn/translations/gift-card-codes-form/en.json +3 -2
  221. package/dist/cdn/translations/gift-card-form/en.json +67 -29
  222. package/dist/cdn/translations/i18n-editor/en.json +2 -1
  223. package/dist/cdn/translations/integration-card/en.json +1 -1
  224. package/dist/cdn/translations/integration-form/en.json +2 -1
  225. package/dist/cdn/translations/item-card/en.json +1 -1
  226. package/dist/cdn/translations/item-category-card/en.json +1 -1
  227. package/dist/cdn/translations/item-category-form/en.json +3 -2
  228. package/dist/cdn/translations/item-form/en.json +44 -23
  229. package/dist/cdn/translations/item-option-form/en.json +2 -1
  230. package/dist/cdn/translations/native-integration-card/en.json +1 -1
  231. package/dist/cdn/translations/native-integration-form/en.json +2 -1
  232. package/dist/cdn/translations/passkey-card/en.json +1 -1
  233. package/dist/cdn/translations/passkey-form/en.json +2 -1
  234. package/dist/cdn/translations/payment-card/en.json +1 -1
  235. package/dist/cdn/translations/payment-method-card/en.json +1 -1
  236. package/dist/cdn/translations/payments-api-fraud-protection-card/en.json +1 -1
  237. package/dist/cdn/translations/payments-api-fraud-protection-form/en.json +2 -1
  238. package/dist/cdn/translations/payments-api-payment-method-card/en.json +1 -1
  239. package/dist/cdn/translations/payments-api-payment-method-form/en.json +2 -1
  240. package/dist/cdn/translations/payments-api-payment-preset-card/en.json +1 -1
  241. package/dist/cdn/translations/payments-api-payment-preset-form/en.json +2 -1
  242. package/dist/cdn/translations/report-form/en.json +2 -1
  243. package/dist/cdn/translations/reports-table/en.json +2 -1
  244. package/dist/cdn/translations/shared/en.json +4 -0
  245. package/dist/cdn/translations/shared/es.json +3 -0
  246. package/dist/cdn/translations/shipment-card/en.json +1 -1
  247. package/dist/cdn/translations/shipping-method-card/en.json +1 -1
  248. package/dist/cdn/translations/sign-in-form/en.json +2 -1
  249. package/dist/cdn/translations/spinner/en.json +1 -1
  250. package/dist/cdn/translations/store-card/en.json +1 -1
  251. package/dist/cdn/translations/store-form/en.json +2 -1
  252. package/dist/cdn/translations/store-shipping-method-form/en.json +3 -2
  253. package/dist/cdn/translations/subscription-card/en.json +1 -1
  254. package/dist/cdn/translations/subscription-form/en.json +9 -17
  255. package/dist/cdn/translations/subscription-settings-form/en.json +2 -1
  256. package/dist/cdn/translations/subscriptions-table/en.json +2 -1
  257. package/dist/cdn/translations/tax-card/en.json +1 -1
  258. package/dist/cdn/translations/tax-form/en.json +2 -1
  259. package/dist/cdn/translations/template-config-form/en.json +2 -1
  260. package/dist/cdn/translations/template-form/en.json +2 -1
  261. package/dist/cdn/translations/template-set-card/en.json +1 -1
  262. package/dist/cdn/translations/template-set-form/en.json +4 -2
  263. package/dist/cdn/translations/transaction/en.json +209 -88
  264. package/dist/cdn/translations/transaction-card/en.json +1 -1
  265. package/dist/cdn/translations/transactions-table/en.json +2 -1
  266. package/dist/cdn/translations/user-card/en.json +1 -1
  267. package/dist/cdn/translations/user-form/en.json +56 -21
  268. package/dist/cdn/translations/users-table/en.json +58 -22
  269. package/dist/cdn/translations/webhook-card/en.json +1 -1
  270. package/dist/cdn/translations/webhook-form/en.json +4 -3
  271. package/dist/cdn/translations/webhook-log-card/en.json +1 -1
  272. package/dist/cdn/translations/webhook-status-card/en.json +1 -1
  273. package/dist/elements/internal/InternalForm/InternalForm.js +10 -3
  274. package/dist/elements/internal/InternalForm/InternalForm.js.map +1 -1
  275. package/dist/elements/internal/InternalSourceControl/InternalSourceControl.d.ts +1 -0
  276. package/dist/elements/internal/InternalSourceControl/InternalSourceControl.js +19 -4
  277. package/dist/elements/internal/InternalSourceControl/InternalSourceControl.js.map +1 -1
  278. package/dist/elements/public/AddressForm/AddressForm.d.ts +13 -24
  279. package/dist/elements/public/AddressForm/AddressForm.js +76 -275
  280. package/dist/elements/public/AddressForm/AddressForm.js.map +1 -1
  281. package/dist/elements/public/AddressForm/index.d.ts +3 -6
  282. package/dist/elements/public/AddressForm/index.js +3 -6
  283. package/dist/elements/public/AddressForm/index.js.map +1 -1
  284. package/dist/elements/public/AddressForm/types.d.ts +4 -15
  285. package/dist/elements/public/AddressForm/types.js.map +1 -1
  286. package/dist/elements/public/AttributeForm/AttributeForm.d.ts +15 -25
  287. package/dist/elements/public/AttributeForm/AttributeForm.js +35 -238
  288. package/dist/elements/public/AttributeForm/AttributeForm.js.map +1 -1
  289. package/dist/elements/public/AttributeForm/index.d.ts +3 -7
  290. package/dist/elements/public/AttributeForm/index.js +3 -7
  291. package/dist/elements/public/AttributeForm/index.js.map +1 -1
  292. package/dist/elements/public/AttributeForm/types.d.ts +4 -7
  293. package/dist/elements/public/AttributeForm/types.js.map +1 -1
  294. package/dist/elements/public/CouponCodeForm/CouponCodeForm.d.ts +19 -21
  295. package/dist/elements/public/CouponCodeForm/CouponCodeForm.js +47 -178
  296. package/dist/elements/public/CouponCodeForm/CouponCodeForm.js.map +1 -1
  297. package/dist/elements/public/CouponCodeForm/index.d.ts +5 -6
  298. package/dist/elements/public/CouponCodeForm/index.js +5 -6
  299. package/dist/elements/public/CouponCodeForm/index.js.map +1 -1
  300. package/dist/elements/public/CouponCodeForm/types.d.ts +11 -4
  301. package/dist/elements/public/CouponCodeForm/types.js.map +1 -1
  302. package/dist/elements/public/CouponForm/CouponForm.d.ts +2 -1
  303. package/dist/elements/public/CouponForm/CouponForm.js +4 -0
  304. package/dist/elements/public/CouponForm/CouponForm.js.map +1 -1
  305. package/dist/elements/public/CouponForm/types.d.ts +3 -0
  306. package/dist/elements/public/CouponForm/types.js.map +1 -1
  307. package/dist/elements/public/CustomFieldForm/CustomFieldForm.d.ts +27 -36
  308. package/dist/elements/public/CustomFieldForm/CustomFieldForm.js +40 -221
  309. package/dist/elements/public/CustomFieldForm/CustomFieldForm.js.map +1 -1
  310. package/dist/elements/public/CustomFieldForm/index.d.ts +3 -7
  311. package/dist/elements/public/CustomFieldForm/index.js +3 -7
  312. package/dist/elements/public/CustomFieldForm/index.js.map +1 -1
  313. package/dist/elements/public/CustomFieldForm/types.d.ts +4 -7
  314. package/dist/elements/public/CustomFieldForm/types.js.map +1 -1
  315. package/dist/elements/public/CustomerForm/CustomerForm.d.ts +0 -1
  316. package/dist/elements/public/CustomerForm/CustomerForm.js +5 -8
  317. package/dist/elements/public/CustomerForm/CustomerForm.js.map +1 -1
  318. package/dist/elements/public/GiftCardCodeForm/GiftCardCodeForm.d.ts +12 -29
  319. package/dist/elements/public/GiftCardCodeForm/GiftCardCodeForm.js +27 -276
  320. package/dist/elements/public/GiftCardCodeForm/GiftCardCodeForm.js.map +1 -1
  321. package/dist/elements/public/GiftCardCodeForm/index.d.ts +5 -9
  322. package/dist/elements/public/GiftCardCodeForm/index.js +5 -9
  323. package/dist/elements/public/GiftCardCodeForm/index.js.map +1 -1
  324. package/dist/elements/public/GiftCardCodeForm/internal/InternalGiftCardCodeFormItemControl/InternalGiftCardCodeFormItemControl.js +17 -6
  325. package/dist/elements/public/GiftCardCodeForm/internal/InternalGiftCardCodeFormItemControl/InternalGiftCardCodeFormItemControl.js.map +1 -1
  326. package/dist/elements/public/GiftCardCodeForm/internal/InternalGiftCardCodeFormItemControl/index.d.ts +0 -1
  327. package/dist/elements/public/GiftCardCodeForm/internal/InternalGiftCardCodeFormItemControl/index.js +0 -1
  328. package/dist/elements/public/GiftCardCodeForm/internal/InternalGiftCardCodeFormItemControl/index.js.map +1 -1
  329. package/dist/elements/public/GiftCardCodeForm/types.d.ts +6 -4
  330. package/dist/elements/public/GiftCardCodeForm/types.js.map +1 -1
  331. package/dist/elements/public/SubscriptionForm/SubscriptionForm.d.ts +3 -0
  332. package/dist/elements/public/SubscriptionForm/SubscriptionForm.js +88 -78
  333. package/dist/elements/public/SubscriptionForm/SubscriptionForm.js.map +1 -1
  334. package/dist/elements/public/SubscriptionForm/index.d.ts +0 -2
  335. package/dist/elements/public/SubscriptionForm/index.js +0 -8
  336. package/dist/elements/public/SubscriptionForm/index.js.map +1 -1
  337. package/dist/elements/public/UserForm/UserForm.d.ts +15 -12
  338. package/dist/elements/public/UserForm/UserForm.js +64 -172
  339. package/dist/elements/public/UserForm/UserForm.js.map +1 -1
  340. package/dist/elements/public/UserForm/index.d.ts +3 -5
  341. package/dist/elements/public/UserForm/index.js +3 -5
  342. package/dist/elements/public/UserForm/index.js.map +1 -1
  343. package/dist/elements/public/UserForm/types.d.ts +3 -1
  344. package/dist/elements/public/UserForm/types.js.map +1 -1
  345. package/dist/elements/public/UsersTable/UsersTable.js +1 -1
  346. package/dist/elements/public/UsersTable/UsersTable.js.map +1 -1
  347. package/dist/elements/public/UsersTable/roles.js.map +1 -0
  348. package/dist/mixins/themeable.js +38 -8
  349. package/dist/mixins/themeable.js.map +1 -1
  350. package/dist/mixins/translatable.d.ts +6 -0
  351. package/dist/mixins/translatable.js +26 -8
  352. package/dist/mixins/translatable.js.map +1 -1
  353. package/package.json +1 -1
  354. package/dist/cdn/shared-027a9660.js +0 -1
  355. package/dist/cdn/shared-0838fad0.js +0 -1
  356. package/dist/cdn/shared-132b2b71.js +0 -2
  357. package/dist/cdn/shared-1e3d7d40.js +0 -1
  358. package/dist/cdn/shared-6d34289d.js +0 -1
  359. package/dist/cdn/shared-9f039798.js +0 -1
  360. package/dist/cdn/shared-a26d7f7a.js +0 -25
  361. package/dist/cdn/shared-a502026c.js +0 -1
  362. package/dist/cdn/shared-c36477d7.js +0 -531
  363. package/dist/cdn/shared-e7dffedb.js +0 -1
  364. package/dist/cdn/shared-f2eb454c.js +0 -1
  365. package/dist/elements/public/UserForm/roles.js.map +0 -1
  366. /package/dist/elements/public/{UserForm → UsersTable}/roles.d.ts +0 -0
  367. /package/dist/elements/public/{UserForm → UsersTable}/roles.js +0 -0
@@ -1 +1 @@
1
- import{_ as e}from"./shared-1522d76f.js";import{B as t}from"./shared-cadbb2e3.js";import{c as r,h as s}from"./shared-7f33a83a.js";import{x as n}from"./shared-550f9cae.js";import{I as o}from"./shared-be8c90cc.js";let i,a,l,c=e=>e;class d{constructor(e="unknown"){this.type=e}}class h extends CustomEvent{constructor(){super("reload")}}class p extends n{constructor(){super(...arguments),this.type="unknown",this.reload=!1}static get scopedElements(){return{"vaadin-button":t,"iron-icon":customElements.get("iron-icon"),"x-i18n":o}}static get styles(){return[super.styles,r(i||(i=c`:host{position:absolute;top:0;right:0;bottom:0;left:0}.container-narrow{max-width:400px}`))]}static get properties(){return e(e({},super.properties),{},{reload:{type:Boolean,reflect:!0},type:{type:String}})}render(){return s(a||(a=c` <article class="bg-base font-lumo text-center leading-m p-m h-full flex flex-col items-center justify-center"> <iron-icon icon="lumo:error" class="text-error w-l h-l mb-m"></iron-icon> <header class="text-xl text-header container-narrow font-medium"> <x-i18n ns="${0}" lang="${0}" key="errors.${0}.title"></x-i18n> </header> <p class="text-m text-secondary container-narrow mb-l"> <x-i18n ns="${0}" lang="${0}" key="errors.${0}.message"></x-i18n> </p> <div class="flex space-x-s"> <a rel="nofollow noreferrer noopener" href="${0}" target="_blank" class="px-m py-xs text-primary font-medium tracking-wide border border-contrast-10 rounded transition-colors duration-200 hover-bg-primary-10 hover-border-primary-10 focus-outline-none focus-shadow-outline" router-ignore> <x-i18n ns="${0}" lang="${0}" key="errors.${0}.action"></x-i18n> </a> ${0} </div> </article> `),this.ns,this.lang,this.type,this.ns,this.lang,this.type,this._i18n.t(`errors.${this.type}.href`).toString(),this.ns,this.lang,this.type,this.reload?s(l||(l=c` <vaadin-button data-testid="reload" theme="primary" @click="${0}"> <x-i18n ns="${0}" lang="${0}" key="reload"></x-i18n> <iron-icon icon="icons:refresh" slot="suffix"></iron-icon> </vaadin-button> `),(()=>this.dispatchEvent(new h)),this.ns,this.lang):"")}}export{p as E,d as F};
1
+ import{_ as e}from"./shared-1522d76f.js";import{B as t}from"./shared-37e1a834.js";import{c as r,h as s}from"./shared-dc73b9a5.js";import{x as n}from"./shared-331a223c.js";import{I as o}from"./shared-6e508e5b.js";let i,a,l,c=e=>e;class d{constructor(e="unknown"){this.type=e}}class h extends CustomEvent{constructor(){super("reload")}}class p extends n{constructor(){super(...arguments),this.type="unknown",this.reload=!1}static get scopedElements(){return{"vaadin-button":t,"iron-icon":customElements.get("iron-icon"),"x-i18n":o}}static get styles(){return[super.styles,r(i||(i=c`:host{position:absolute;top:0;right:0;bottom:0;left:0}.container-narrow{max-width:400px}`))]}static get properties(){return e(e({},super.properties),{},{reload:{type:Boolean,reflect:!0},type:{type:String}})}render(){return s(a||(a=c` <article class="bg-base font-lumo text-center leading-m p-m h-full flex flex-col items-center justify-center"> <iron-icon icon="lumo:error" class="text-error w-l h-l mb-m"></iron-icon> <header class="text-xl text-header container-narrow font-medium"> <x-i18n ns="${0}" lang="${0}" key="errors.${0}.title"></x-i18n> </header> <p class="text-m text-secondary container-narrow mb-l"> <x-i18n ns="${0}" lang="${0}" key="errors.${0}.message"></x-i18n> </p> <div class="flex space-x-s"> <a rel="nofollow noreferrer noopener" href="${0}" target="_blank" class="px-m py-xs text-primary font-medium tracking-wide border border-contrast-10 rounded transition-colors duration-200 hover-bg-primary-10 hover-border-primary-10 focus-outline-none focus-shadow-outline" router-ignore> <x-i18n ns="${0}" lang="${0}" key="errors.${0}.action"></x-i18n> </a> ${0} </div> </article> `),this.ns,this.lang,this.type,this.ns,this.lang,this.type,this._i18n.t(`errors.${this.type}.href`).toString(),this.ns,this.lang,this.type,this.reload?s(l||(l=c` <vaadin-button data-testid="reload" theme="primary" @click="${0}"> <x-i18n ns="${0}" lang="${0}" key="reload"></x-i18n> <iron-icon icon="icons:refresh" slot="suffix"></iron-icon> </vaadin-button> `),(()=>this.dispatchEvent(new h)),this.ns,this.lang):"")}}export{p as E,d as F};
@@ -1,4 +1,4 @@
1
- import{E as t,T as e}from"./shared-d28b95c6.js";import{h as o,G as r,P as i,b as a}from"./shared-1c07b1be.js";import{C as s}from"./shared-61ade33e.js";const n=o`<dom-module id="lumo-button" theme-for="vaadin-button">
1
+ import{E as t,T as e}from"./shared-cfed658c.js";import{h as o,G as r,P as i,b as a}from"./shared-bf695fe7.js";import{C as s}from"./shared-61ade33e.js";const n=o`<dom-module id="lumo-button" theme-for="vaadin-button">
2
2
  <template>
3
3
  <style>
4
4
  :host {
@@ -0,0 +1,20 @@
1
+ import{u as e}from"./shared-331a223c.js";import{d as i}from"./shared-e40937c5.js";
2
+ /**
3
+ @license
4
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
5
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
6
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
7
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
8
+ Code distributed by Google as part of the polymer project is also
9
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
10
+ */let t=!1,s=[],n=[];function o(){t=!0,requestAnimationFrame((function(){t=!1,function(e){for(;e.length;)r(e.shift())}(s),setTimeout((function(){!function(e){for(let i=0,t=e.length;i<t;i++)r(e.shift())}(n)}))}))}function r(e){const i=e[0],t=e[1],s=e[2];try{t.apply(i,s)}catch(e){setTimeout((()=>{throw e}))}}function a(e,i,s){t||o(),n.push([e,i,s])}
11
+ /**
12
+ @license
13
+ Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
14
+ This code may only be used under the BSD style license found at
15
+ http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
16
+ http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
17
+ found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
18
+ part of the polymer project is also subject to an additional IP rights grant
19
+ found at http://polymer.github.io/PATENTS.txt
20
+ */var h=new Set;const c={properties:{_parentResizable:{type:Object,observer:"_parentResizableChanged"},_notifyingDescendant:{type:Boolean,value:!1}},listeners:{"iron-request-resize-notifications":"_onIronRequestResizeNotifications"},created:function(){this._interestedResizables=[],this._boundNotifyResize=this.notifyResize.bind(this),this._boundOnDescendantIronResize=this._onDescendantIronResize.bind(this)},attached:function(){this._requestResizeNotifications()},detached:function(){this._parentResizable?this._parentResizable.stopResizeNotificationsFor(this):(h.delete(this),window.removeEventListener("resize",this._boundNotifyResize)),this._parentResizable=null},notifyResize:function(){this.isAttached&&(this._interestedResizables.forEach((function(e){this.resizerShouldNotify(e)&&this._notifyDescendant(e)}),this),this._fireResize())},assignParentResizable:function(e){this._parentResizable&&this._parentResizable.stopResizeNotificationsFor(this),this._parentResizable=e,e&&-1===e._interestedResizables.indexOf(this)&&(e._interestedResizables.push(this),e._subscribeIronResize(this))},stopResizeNotificationsFor:function(e){var i=this._interestedResizables.indexOf(e);i>-1&&(this._interestedResizables.splice(i,1),this._unsubscribeIronResize(e))},_subscribeIronResize:function(e){e.addEventListener("iron-resize",this._boundOnDescendantIronResize)},_unsubscribeIronResize:function(e){e.removeEventListener("iron-resize",this._boundOnDescendantIronResize)},resizerShouldNotify:function(e){return!0},_onDescendantIronResize:function(i){this._notifyingDescendant?i.stopPropagation():e||this._fireResize()},_fireResize:function(){this.fire("iron-resize",null,{node:this,bubbles:!1})},_onIronRequestResizeNotifications:function(e){var t=i(e).rootTarget;t!==this&&(t.assignParentResizable(this),this._notifyDescendant(t),e.stopPropagation())},_parentResizableChanged:function(e){e&&window.removeEventListener("resize",this._boundNotifyResize)},_notifyDescendant:function(e){this.isAttached&&(this._notifyingDescendant=!0,e.notifyResize(),this._notifyingDescendant=!1)},_requestResizeNotifications:function(){if(this.isAttached)if("loading"===document.readyState){var e=this._requestResizeNotifications.bind(this);document.addEventListener("readystatechange",(function i(){document.removeEventListener("readystatechange",i),e()}))}else this._findParent(),this._parentResizable?this._parentResizable._interestedResizables.forEach((function(e){e!==this&&e._findParent()}),this):(h.forEach((function(e){e!==this&&e._findParent()}),this),window.addEventListener("resize",this._boundNotifyResize),this.notifyResize())},_findParent:function(){this.assignParentResizable(null),this.fire("iron-request-resize-notifications",null,{node:this,bubbles:!0,cancelable:!0}),this._parentResizable?h.delete(this):h.add(this)}};export{c as I,a};
@@ -1,4 +1,4 @@
1
- import{C as e}from"./shared-4721aeb1.js";import{T as t,D as r}from"./shared-d28b95c6.js";import"./shared-2d40129d.js";import{h as o,P as a}from"./shared-1c07b1be.js";import{F as s}from"./shared-902b0773.js";import{I as l}from"./shared-9f039798.js";import"./shared-8d51eaa6.js";import{_ as i}from"./shared-1522d76f.js";import{i as h}from"./shared-d3bf9ac0.js";import{h as d}from"./shared-7f33a83a.js";const n=o`<dom-module id="lumo-checkbox-group" theme-for="vaadin-checkbox-group">
1
+ import{C as e}from"./shared-cd8c3429.js";import{T as t,D as r}from"./shared-cfed658c.js";import"./shared-fd0a4026.js";import{h as o,P as a}from"./shared-bf695fe7.js";import{F as s}from"./shared-e40937c5.js";import{I as l}from"./shared-2062c274.js";import"./shared-f5d4dda0.js";import{_ as i}from"./shared-1522d76f.js";import{i as h}from"./shared-9803aa7c.js";import{h as d}from"./shared-dc73b9a5.js";const n=o`<dom-module id="lumo-checkbox-group" theme-for="vaadin-checkbox-group">
2
2
  <template>
3
3
  <style include="lumo-required-field">
4
4
  :host {
@@ -0,0 +1 @@
1
+ import{Z as t,$ as e,a0 as a,a1 as s,a2 as n,a3 as i,a4 as r,a5 as o,f as l,a6 as d,a7 as u,a8 as c,a9 as m,aa as h,ab as g,ac as y,ad as p,_ as v}from"./shared-1522d76f.js";import"./shared-e40937c5.js";import"./shared-cfed658c.js";import"./shared-7039733e.js";import"./shared-db98729a.js";import"./shared-4482e7b9.js";import"./shared-44bb85d8.js";import"./shared-f588b5c2.js";import{c as x,h as b}from"./shared-dc73b9a5.js";import{F as f}from"./shared-f1afbd7b.js";import{x as _}from"./shared-331a223c.js";import{s as w}from"./shared-99940888.js";import{i as $}from"./shared-eb116b3e.js";var E={raise:t,send:e,sendParent:a,sendUpdate:s,log:n,cancel:i,start:r,stop:o,assign:l,after:d,done:u,respond:c,forwardTo:m,escalate:h,choose:g,pure:y};class T extends CustomEvent{constructor(t){super("change",{detail:t})}}const k=p({id:"choice",type:"parallel",context:{defaultCustomValue:"",customValue:null,custom:!1,items:[],value:null,type:"text",min:null,max:null},states:{mutability:{initial:"editable",states:{editable:{},readonly:{}},on:{SET_READONLY:[{target:".editable",cond:"isPayloadFalsey"},{target:".readonly",cond:"isPayloadTruthy"}]}},interactivity:{initial:"enabled",states:{enabled:{},disabled:{}},on:{SET_DISABLED:[{target:".enabled",cond:"isPayloadFalsey"},{target:".disabled",cond:"isPayloadTruthy"}]}},selection:{initial:"unknown",states:{unknown:{always:[{target:"multiple",cond:"isValueArray"},{target:"single"}]},none:{},single:{},multiple:{}}},extension:{initial:"unknown",states:{unknown:{always:[{target:"present",cond:"hasCustom"},{target:"absent"}]},absent:{},present:{initial:"unknown",states:{unknown:{always:[{target:"selected",cond:"hasCustomValue"},{target:"available"}]},available:{on:{SET_TYPE:{actions:"setType"}}},selected:{initial:"unknown",states:{unknown:{always:[{target:"number",cond:"showsNumberField"},{target:"integer",cond:"showsIntegerField"},{target:"textarea",cond:"showsTextarea"},{target:"frequency",cond:"showsFrequency"},{target:"text"}]},text:{},frequency:{},textarea:{},integer:{type:"parallel",states:{min:{initial:"unknown",states:{unknown:{always:[{target:"custom",cond:"hasMinConstraint"},{target:"none"}]},none:{},custom:{}}},max:{initial:"unknown",states:{unknown:{always:[{target:"custom",cond:"hasMaxConstraint"},{target:"none"}]},none:{},custom:{}}}}},number:{type:"parallel",states:{min:{initial:"unknown",states:{unknown:{always:[{target:"custom",cond:"hasMinConstraint"},{target:"none"}]},none:{},custom:{}}},max:{initial:"unknown",states:{unknown:{always:[{target:"custom",cond:"hasMaxConstraint"},{target:"none"}]},none:{},custom:{}}}}}}}}}}}},on:{SET_DEFAULT_CUSTOM_VALUE:{actions:"setDefaultCustomValue"},SET_CUSTOM:{actions:"setCustom",target:[".selection.unknown",".extension.unknown"]},SET_VALUE:{actions:"setValue",target:[".selection.unknown",".extension.unknown"]},SET_ITEMS:{actions:"setItems",target:[".selection.unknown",".extension.unknown"]},SET_TYPE:{actions:"setType",target:".extension.unknown"},SET_MIN:{actions:"setMin",target:".extension.unknown"},SET_MAX:{actions:"setMax",target:".extension.unknown"}}},{guards:{isPayloadFalsey:(t,e)=>!e.data,isPayloadTruthy:(t,e)=>!!e.data,isValueArray:t=>Array.isArray(t.value),showsIntegerField:t=>"integer"===t.type,showsNumberField:t=>"number"===t.type,showsFrequency:t=>"frequency"===t.type,showsTextarea:t=>"textarea"===t.type,hasMinConstraint:t=>"number"==typeof t.min,hasMaxConstraint:t=>"number"==typeof t.max,hasCustomValue:t=>"string"==typeof t.customValue,hasCustom:t=>t.custom},actions:{setDefaultCustomValue:E.assign({defaultCustomValue:(t,e)=>e.data}),setValue:E.assign({value:(t,e)=>e.data,customValue:(t,e)=>Array.isArray(e.data)?e.data.find((e=>!t.items.includes(e))):t.items.includes(e.data)?null:e.data}),setCustom:E.assign({custom:(t,e)=>e.data}),setItems:E.assign({items:(t,e)=>e.data}),setType:E.assign({type:(t,e)=>e.data}),setMin:E.assign({min:(t,e)=>e.data}),setMax:E.assign({max:(t,e)=>e.data})}});let S,C,A,V,M,j,F,U,q,D,I,P,L,N,O=t=>t;const B=`@foxy.io/elements::other[${(Math.pow(10,10)*Math.random()).toFixed(0)}]`;class Y extends _{constructor(){super(...arguments),this.getText=t=>t,this.__service=$(k).onChange((()=>this.requestUpdate())).onTransition((({changed:t})=>t&&this.requestUpdate())).start()}static get scopedElements(){return{"vaadin-integer-field":customElements.get("vaadin-integer-field"),"vaadin-number-field":customElements.get("vaadin-number-field"),"vaadin-text-field":customElements.get("vaadin-text-field"),"x-frequency-input":f,"vaadin-text-area":customElements.get("vaadin-text-area"),"iron-icon":customElements.get("iron-icon")}}static get styles(){return[super.styles,x(A||(A=O`:host{--item-width:calc((var(--lumo-space-m) * 2) + 1.25rem)}.ml-xxl{margin-left:var(--item-width)}.item{height:var(--lumo-size-l);width:var(--item-width)}.radio{height:1.25rem;width:1.25rem}.check{height:1.125rem;width:1.125rem}.dot{height:.5rem;width:.5rem}`))]}static get properties(){return v(v({},super.properties),{},{defaultCustomValue:{type:String,attribute:"default-custom-value"},disabled:{type:Boolean},readonly:{type:Boolean},custom:{type:Boolean},type:{type:String},min:{type:Number},max:{type:Number},value:{type:Array},items:{type:Array},getText:{attribute:!1}})}get defaultCustomValue(){return this.__service.state.context.defaultCustomValue}set defaultCustomValue(t){this.__service.send("SET_DEFAULT_CUSTOM_VALUE",{data:t})}get readonly(){return this.__service.state.matches("mutability.readonly")}set readonly(t){this.__service.send("SET_READONLY",{data:t})}get disabled(){return this.__service.state.matches("interactivity.disabled")}set disabled(t){this.__service.send("SET_DISABLED",{data:t})}get custom(){return this.__service.state.matches("extension.present")}set custom(t){this.__service.send("SET_CUSTOM",{data:t})}get type(){return this.__service.state.context.type}set type(t){this.__service.send("SET_TYPE",{data:t})}get min(){return this.__service.state.context.min}set min(t){this.__service.send("SET_MIN",{data:t})}get max(){return this.__service.state.context.max}set max(t){this.__service.send("SET_MAX",{data:t})}get value(){return this.__service.state.context.value}set value(t){this.__service.send("SET_VALUE",{data:t})}get items(){return this.__service.state.context.items}set items(t){this.__service.send("SET_ITEMS",{data:t})}render(){const t=this.custom?[...this.items,B]:this.items,e=Array.isArray(this.value),a=this.__service.state.matches("extension.present.selected"),s=b(V||(V=O` ${0} `),t.map(((t,s,n)=>{var i;const r=this.custom&&s===n.length-1,o=r?a:e?!!(null===(i=this.value)||void 0===i?void 0:i.includes(t)):t===String(this.value),l=this.disabled||!this._isI18nReady,d=w({value:r?B:t,name:e?t:"choice","data-testid":`item-${t}`,"?disabled":l,"@change":e=>{if(this.readonly)return e.preventDefault();const a=e.target.checked,s=t===B?this.defaultCustomValue:t,n=this.value;Array.isArray(n)?this.value=t===B?a?[...n,s]:n.slice(0,n.length-1):a?[s,...n]:n.filter((t=>t!==s)):this.value=a?s:null,this.dispatchEvent(new T(this.value))}}),u=b(M||(M=O` <div> ${0} </div> `),t===B?this._t("choice.other").toString():b(j||(j=O`<slot name="${0}">${0}</slot>`),`${t}-label`,this.getText(t)));return b(F||(F=O` <div class="ml-xxl border-t border-contrast-10 ${0}"></div> ${0} <div class="mr-m ml-xxl"> ${0} ${0} </div> `),s?"":"hidden",e?function(t,e,a,s,n){const i="transition ease-in-out duration-200",r=`${i} transform ${a?"scale-100":"scale-0"} ${t?"text-contrast-70":"text-tint"}`;return b(C||(C=O` <label class="group flex items-center ${0}"> <div class="item flex items-center justify-center flex-shrink-0 text-primary-contrast"> <div class="check rounded-s ${0} ${0} ${0} focus-within-shadow-outline"> <iron-icon icon="lumo:checkmark" class="block w-full h-full ${0}"></iron-icon> <input type="checkbox" class="sr-only" .checked="${0}" ...="${0}"> </div> </div> <div class="font-lumo leading-m ${0}">${0}</div> </label> `),e||t?"":"cursor-pointer","border "+(t?"border-dashed border-contrast-30":"border-transparent"),i,t?"":e?a?"bg-primary-50":"bg-contrast-10":a?"bg-primary":"bg-contrast-20 group-hover-bg-contrast-30",r,a,s,e?"text-disabled":t?"text-secondary":"text-body",n)}(this.readonly,l,o,d,u):function(t,e,a,s,n){const i="transition ease-in-out duration-200",r=`${i} ${e||t?"":"shadow-xs"} transform ${a?"scale-100":"scale-0"} ${t?"bg-contrast-70":"bg-tint"}`;return b(S||(S=O` <label class="group flex items-center ${0}"> <div class="item flex items-center justify-center flex-shrink-0"> <div class="flex radio rounded-full ${0} ${0} ${0} focus-within-shadow-outline"> <div class="dot m-auto rounded-full ${0}"></div> <input type="radio" class="sr-only" .checked="${0}" ...="${0}"> </div> </div> <div class="font-lumo leading-m ${0}">${0}</div> </label> `),e||t?"":"cursor-pointer","border "+(t?"border-dashed border-contrast-30":"border-transparent"),i,t?"":e?a?"bg-primary-50":"bg-contrast-10":a?"bg-primary":"bg-contrast-20 group-hover-bg-contrast-30",r,a,s,e?"text-disabled":t?"text-secondary":"text-body",n)}(this.readonly,l,o,d,u),t===B&&a?this.__field:"",t!==B?b(U||(U=O`<slot name="${0}"></slot>`),t):"")})));return b(q||(q=O`<form>${0}</form> `),s)}get __field(){const t=w({placeholder:this._t("choice.other").toString(),class:"w-full mb-m",value:this.__service.state.context.customValue,max:this.max,min:this.min,ns:this.ns,"?disabled":this.disabled,"?readonly":this.readonly,"data-testid":"field","@change":t=>{t.stopPropagation();const e=t.target.value;Array.isArray(this.value)?this.value=this.value.slice(0,this.value.length-1).concat(e):this.value=e,this.dispatchEvent(new T(this.value))}});return"frequency"===this.type?b(D||(D=O`<x-frequency-input ...="${0}"></x-frequency-input>`),t):"integer"===this.type?b(I||(I=O`<vaadin-integer-field ...="${0}" has-controls></vaadin-integer-field>`),t):"number"===this.type?b(P||(P=O`<vaadin-number-field ...="${0}" has-controls></vaadin-number-field>`),t):"textarea"===this.type?b(L||(L=O`<vaadin-text-area ...="${0}"></vaadin-text-area>`),t):b(N||(N=O`<vaadin-text-field ...="${0}"></vaadin-text-field>`),t)}}export{Y as C,T as a,E as b};
@@ -1,4 +1,4 @@
1
- import{E as e,T as t}from"./shared-d28b95c6.js";import"./shared-ac62d098.js";import{h as r,D as n,t as a,a as i,P as o}from"./shared-1c07b1be.js";import{C as l}from"./shared-61ade33e.js";const s=document.createElement("template");s.innerHTML='<dom-module id="lumo-required-field">\n <template>\n <style>\n [part="label"] {\n align-self: flex-start;\n color: var(--lumo-secondary-text-color);\n font-weight: 500;\n font-size: var(--lumo-font-size-s);\n margin-left: calc(var(--lumo-border-radius-m) / 4);\n transition: color 0.2s;\n line-height: 1;\n padding-bottom: 0.5em;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n position: relative;\n max-width: 100%;\n box-sizing: border-box;\n }\n\n :host([has-label])::before {\n margin-top: calc(var(--lumo-font-size-s) * 1.5);\n }\n\n :host([has-label]) {\n padding-top: var(--lumo-space-m);\n }\n\n :host([required]) [part="label"] {\n padding-right: 1em;\n }\n\n [part="label"]::after {\n content: var(--lumo-required-field-indicator, "•");\n transition: opacity 0.2s;\n opacity: 0;\n color: var(--lumo-primary-text-color);\n position: absolute;\n right: 0;\n width: 1em;\n text-align: center;\n }\n\n :host([required]:not([has-value])) [part="label"]::after {\n opacity: 1;\n }\n\n :host([invalid]) [part="label"]::after {\n color: var(--lumo-error-text-color);\n }\n\n [part="error-message"] {\n margin-left: calc(var(--lumo-border-radius-m) / 4);\n font-size: var(--lumo-font-size-xs);\n line-height: var(--lumo-line-height-xs);\n color: var(--lumo-error-text-color);\n will-change: max-height;\n transition: 0.4s max-height;\n max-height: 5em;\n }\n\n /* Margin that doesn’t reserve space when there’s no error message */\n [part="error-message"]:not(:empty)::before,\n [part="error-message"]:not(:empty)::after {\n content: "";\n display: block;\n height: 0.4em;\n }\n\n :host(:not([invalid])) [part="error-message"] {\n max-height: 0;\n overflow: hidden;\n }\n\n /* RTL specific styles */\n\n :host([dir="rtl"]) [part="label"] {\n margin-left: 0;\n margin-right: calc(var(--lumo-border-radius-m) / 4);\n }\n\n :host([required][dir="rtl"]) [part="label"] {\n padding-left: 1em;\n padding-right: 0;\n }\n\n :host([dir="rtl"]) [part="label"]::after {\n right: auto;\n left: 0;\n }\n\n :host([dir="rtl"]) [part="error-message"] {\n margin-left: 0;\n margin-right: calc(var(--lumo-border-radius-m) / 4);\n }\n\n </style>\n </template>\n</dom-module>',document.head.appendChild(s.content);const d=document.createElement("template");d.innerHTML='<dom-module id="lumo-field-button">\n <template>\n <style>\n [part$="button"] {\n flex: none;\n width: 1em;\n height: 1em;\n line-height: 1;\n font-size: var(--lumo-icon-size-m);\n text-align: center;\n color: var(--lumo-contrast-60pct);\n transition: 0.2s color;\n cursor: var(--lumo-clickable-cursor);\n }\n\n :host(:not([readonly])) [part$="button"]:hover {\n color: var(--lumo-contrast-90pct);\n }\n\n :host([disabled]) [part$="button"],\n :host([readonly]) [part$="button"] {\n color: var(--lumo-contrast-20pct);\n }\n\n [part$="button"]::before {\n font-family: "lumo-icons";\n display: block;\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(d.content);const h=r`<dom-module id="lumo-text-field" theme-for="vaadin-text-field">
1
+ import{E as e,T as t}from"./shared-cfed658c.js";import"./shared-fd0a4026.js";import"./shared-655e7c5f.js";import{h as i,D as a,t as o,a as r,P as n}from"./shared-bf695fe7.js";import{C as s}from"./shared-61ade33e.js";const l=document.createElement("template");l.innerHTML='<dom-module id="lumo-field-button">\n <template>\n <style>\n [part$="button"] {\n flex: none;\n width: 1em;\n height: 1em;\n line-height: 1;\n font-size: var(--lumo-icon-size-m);\n text-align: center;\n color: var(--lumo-contrast-60pct);\n transition: 0.2s color;\n cursor: var(--lumo-clickable-cursor);\n }\n\n :host(:not([readonly])) [part$="button"]:hover {\n color: var(--lumo-contrast-90pct);\n }\n\n :host([disabled]) [part$="button"],\n :host([readonly]) [part$="button"] {\n color: var(--lumo-contrast-20pct);\n }\n\n [part$="button"]::before {\n font-family: "lumo-icons";\n display: block;\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(l.content);const d=i`<dom-module id="lumo-text-field" theme-for="vaadin-text-field">
2
2
  <template>
3
3
  <style include="lumo-required-field lumo-field-button">
4
4
  :host {
@@ -385,13 +385,13 @@ import{E as e,T as t}from"./shared-d28b95c6.js";import"./shared-ac62d098.js";imp
385
385
  }
386
386
  </style>
387
387
  </template>
388
- </dom-module>`;document.head.appendChild(h.content);
388
+ </dom-module>`;document.head.appendChild(d.content);
389
389
  /**
390
390
  @license
391
391
  Copyright (c) 2017 Vaadin Ltd.
392
392
  This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
393
393
  */
394
- const u=r`<dom-module id="vaadin-text-field-shared-styles">
394
+ const h=i`<dom-module id="vaadin-text-field-shared-styles">
395
395
  <template>
396
396
  <style>
397
397
  :host {
@@ -489,12 +489,12 @@ const u=r`<dom-module id="vaadin-text-field-shared-styles">
489
489
  }
490
490
  </style>
491
491
  </template>
492
- </dom-module>`;document.head.appendChild(u.content);const p={default:["list","autofocus","pattern","autocapitalize","autocorrect","maxlength","minlength","name","placeholder","autocomplete","title","disabled","readonly","required"],accessible:["invalid"]},c={DEFAULT:"default",ACCESSIBLE:"accessible"},m=e=>class extends e{static get properties(){return{autocomplete:{type:String},autocorrect:{type:String},autocapitalize:{type:String},autoselect:{type:Boolean,value:!1},clearButtonVisible:{type:Boolean,value:!1},errorMessage:{type:String,value:"",observer:"_errorMessageChanged"},i18n:{type:Object,value:()=>({clear:"Clear"})},label:{type:String,value:"",observer:"_labelChanged"},helperText:{type:String,value:"",observer:"_helperTextChanged"},maxlength:{type:Number},minlength:{type:Number},name:{type:String},placeholder:{type:String},readonly:{type:Boolean,reflectToAttribute:!0},required:{type:Boolean,reflectToAttribute:!0},value:{type:String,value:"",observer:"_valueChanged",notify:!0},_hasInputValue:{type:Boolean,value:!1,observer:"_hasInputValueChanged"},invalid:{type:Boolean,reflectToAttribute:!0,notify:!0,value:!1},hasValue:{type:Boolean,reflectToAttribute:!0},preventInvalidInput:{type:Boolean},_enabledCharPattern:String,_labelId:String,_helperTextId:String,_errorId:String,_inputId:String,_hasSlottedHelper:Boolean}}static get observers(){return["_stateChanged(disabled, readonly, clearButtonVisible, hasValue)","_hostPropsChanged("+p.default.join(", ")+")","_hostAccessiblePropsChanged("+p.accessible.join(", ")+")","_getActiveErrorId(invalid, errorMessage, _errorId, helperText, _helperTextId, _hasSlottedHelper)","_getActiveLabelId(label, _labelId, _inputId)","__observeOffsetHeight(errorMessage, invalid, label, helperText)","__enabledCharPatternChanged(_enabledCharPattern)"]}get focusElement(){if(!this.shadowRoot)return;const e=this.querySelector(`${this._slottedTagName}[slot="${this._slottedTagName}"]`);return e||this.shadowRoot.querySelector('[part="value"]')}get inputElement(){return this.focusElement}get _slottedTagName(){return"input"}_createConstraintsObserver(){this._createMethodObserver("_constraintsChanged(required, minlength, maxlength, pattern)")}get _inputElementValueProperty(){return"value"}get _inputElementValue(){return this.inputElement?this.inputElement[this._inputElementValueProperty]:void 0}set _inputElementValue(e){this.inputElement&&(this.inputElement[this._inputElementValueProperty]=e)}_setHasInputValue(e){this._hasInputValue=e.target.value.length>0}__onInput(e){this._setHasInputValue(e),this._onInput(e)}_onInput(e){if(this.__preventInput)return e.stopImmediatePropagation(),void(this.__preventInput=!1);if(this.preventInvalidInput){const e=this.inputElement;if(e.value.length>0&&!this.checkValidity())return e.value=this.value||"",this.setAttribute("input-prevented",""),void(this._inputDebouncer=n.debounce(this._inputDebouncer,a.after(200),(()=>{this.removeAttribute("input-prevented")})))}e.__fromClearButton||(this.__userInput=!0),this.value=e.target.value,this.__userInput=!1}_stateChanged(e,t,r,n){!e&&!t&&r&&n?this.$.clearButton.removeAttribute("hidden"):this.$.clearButton.setAttribute("hidden",!0)}_hasInputValueChanged(e,t){(e||t)&&this.dispatchEvent(new CustomEvent("has-input-value-changed"))}_onChange(e){if(this._valueClearing)return;const t=new CustomEvent("change",{detail:{sourceEvent:e},bubbles:e.bubbles,cancelable:e.cancelable});this.dispatchEvent(t)}_valueChanged(e,t){""===e&&void 0===t||(this.hasValue=""!==e&&null!=e,this.__userInput||(void 0!==e?this._inputElementValue=e:this.value=this._inputElementValue="",this.invalid&&this.validate()))}_labelChanged(e){this._setOrToggleAttribute("has-label",!!e,this)}_helperTextChanged(e){this._setOrToggleAttribute("has-helper",!!e,this)}_errorMessageChanged(e){this._setOrToggleAttribute("has-error-message",!!e,this)}_onHelperSlotChange(){const e=this.shadowRoot.querySelector('[name="helper"]').assignedNodes({flatten:!0});this._hasSlottedHelper=e.filter((e=>3!==e.nodeType)).length,this._hasSlottedHelper?this.setAttribute("has-helper","slotted"):""!==this.helperText&&null!==this.helperText||this.removeAttribute("has-helper")}_onSlotChange(){const e=this.querySelector(`${this._slottedTagName}[slot="${this._slottedTagName}"]`);this.value&&(this._inputElementValue=this.value,this.validate()),e&&!this._slottedInput?(this._validateSlottedValue(e),this._addInputListeners(e),this._addIEListeners(e),this._slottedInput=e):!e&&this._slottedInput&&(this._removeInputListeners(this._slottedInput),this._removeIEListeners(this._slottedInput),this._slottedInput=void 0),Object.keys(c).map((e=>c[e])).forEach((e=>this._propagateHostAttributes(p[e].map((e=>this[e])),e)))}_hostPropsChanged(...e){this._propagateHostAttributes(e,c.DEFAULT)}_hostAccessiblePropsChanged(...e){this._propagateHostAttributes(e,c.ACCESSIBLE)}_validateSlottedValue(e){e.value!==this.value&&(console.warn("Please define value on the vaadin-text-field component!"),e.value="")}_propagateHostAttributes(e,t){const r=this.inputElement,n=p[t];t===c.ACCESSIBLE?n.forEach(((t,n)=>{this._setOrToggleAttribute(t,e[n],r),this._setOrToggleAttribute(`aria-${t}`,!!e[n]&&"true",r)})):n.forEach(((t,n)=>{this._setOrToggleAttribute(t,e[n],r)}))}_setOrToggleAttribute(e,t,r){e&&r&&(t?r.setAttribute(e,"boolean"==typeof t?"":t):r.removeAttribute(e))}_constraintsChanged(e,t,r,n){this.invalid&&(e||t||r||n?this.validate():this._setInvalid(!1))}checkValidity(){return this.required||this.pattern||this.maxlength||this.minlength||this.__forceCheckValidity?this.inputElement.checkValidity():!this.invalid}_addInputListeners(e){e.addEventListener("input",this._boundOnInput),e.addEventListener("change",this._boundOnChange),e.addEventListener("blur",this._boundOnBlur),e.addEventListener("focus",this._boundOnFocus),e.addEventListener("paste",this._boundOnPaste),e.addEventListener("drop",this._boundOnDrop),e.addEventListener("beforeinput",this._boundOnBeforeInput)}_removeInputListeners(e){e.removeEventListener("input",this._boundOnInput),e.removeEventListener("change",this._boundOnChange),e.removeEventListener("blur",this._boundOnBlur),e.removeEventListener("focus",this._boundOnFocus),e.removeEventListener("paste",this._boundOnPaste),e.removeEventListener("drop",this._boundOnDrop),e.removeEventListener("beforeinput",this._boundOnBeforeInput)}ready(){super.ready(),this._createConstraintsObserver(),this._boundOnInput=this.__onInput.bind(this),this._boundOnChange=this._onChange.bind(this),this._boundOnBlur=this._onBlur.bind(this),this._boundOnFocus=this._onFocus.bind(this),this._boundOnPaste=this._onPaste.bind(this),this._boundOnDrop=this._onDrop.bind(this),this._boundOnBeforeInput=this._onBeforeInput.bind(this);const e=this.shadowRoot.querySelector('[part="value"]');this._slottedInput=this.querySelector(`${this._slottedTagName}[slot="${this._slottedTagName}"]`),this._addInputListeners(e),this._addIEListeners(e),this._slottedInput&&(this._addIEListeners(this._slottedInput),this._addInputListeners(this._slottedInput)),this.shadowRoot.querySelector('[name="input"], [name="textarea"]').addEventListener("slotchange",this._onSlotChange.bind(this)),this._onHelperSlotChange(),this.shadowRoot.querySelector('[name="helper"]').addEventListener("slotchange",this._onHelperSlotChange.bind(this)),window.ShadyCSS&&window.ShadyCSS.nativeCss||this.updateStyles(),this.$.clearButton.addEventListener("mousedown",(()=>this._valueClearing=!0)),this.$.clearButton.addEventListener("mouseleave",(()=>this._valueClearing=!1)),this.$.clearButton.addEventListener("click",this._onClearButtonClick.bind(this)),this.addEventListener("keydown",this._onKeyDown.bind(this));var t=m._uniqueId=1+m._uniqueId||0;this._errorId=`${this.constructor.is}-error-${t}`,this._labelId=`${this.constructor.is}-label-${t}`,this._helperTextId=`${this.constructor.is}-helper-${t}`,this._inputId=`${this.constructor.is}-input-${t}`,this.shadowRoot.querySelector('[part="error-message"]').addEventListener("transitionend",(()=>{this.__observeOffsetHeight()}))}_setInvalid(e){this._shouldSetInvalid(e)&&(this.invalid=e)}_shouldSetInvalid(e){return!0}validate(){const e=this.checkValidity();return this._setInvalid(!e),this.dispatchEvent(new CustomEvent("validated",{detail:{valid:e}})),e}clear(){this._hasInputValue=!1,this.value=""}_onBlur(){this.validate()}_onFocus(){this.autoselect&&(this.inputElement.select(),setTimeout((()=>{try{this.inputElement.setSelectionRange(0,9999)}catch(e){}})))}_onClearButtonClick(e){e.preventDefault(),this.inputElement.focus(),this.clear(),this._valueClearing=!1,navigator.userAgent.match(/Trident/)&&(this.__preventInput=!1);const t=new Event("input",{bubbles:!0,composed:!0});t.__fromClearButton=!0;const r=new Event("change",{bubbles:!this._slottedInput});r.__fromClearButton=!0,this.inputElement.dispatchEvent(t),this.inputElement.dispatchEvent(r)}_onKeyDown(e){if(27===e.keyCode&&this.clearButtonVisible){const e=!!this.value;this.clear(),e&&this.inputElement.dispatchEvent(new Event("change",{bubbles:!this._slottedInput}))}this._enabledCharPattern&&!this.__shouldAcceptKey(e)&&e.preventDefault()}__shouldAcceptKey(e){return e.metaKey||e.ctrlKey||!e.key||1!==e.key.length||this.__enabledCharRegExp.test(e.key)}_onPaste(e){if(this._enabledCharPattern){const t=(e.clipboardData||window.clipboardData).getData("text");this.__enabledTextRegExp.test(t)||e.preventDefault()}}_onDrop(e){if(this._enabledCharPattern){const t=e.dataTransfer.getData("text");this.__enabledTextRegExp.test(t)||e.preventDefault()}}_onBeforeInput(e){this._enabledCharPattern&&e.data&&!this.__enabledTextRegExp.test(e.data)&&e.preventDefault()}__enabledCharPatternChanged(e){this.__enabledCharRegExp=e&&new RegExp("^"+e+"$"),this.__enabledTextRegExp=e&&new RegExp("^"+e+"*$")}_addIEListeners(e){navigator.userAgent.match(/Trident/)&&(this._shouldPreventInput=()=>{this.__preventInput=!0,requestAnimationFrame((()=>{this.__preventInput=!1}))},e.addEventListener("focusin",this._shouldPreventInput),e.addEventListener("focusout",this._shouldPreventInput),this._createPropertyObserver("placeholder",this._shouldPreventInput))}_removeIEListeners(e){navigator.userAgent.match(/Trident/)&&(e.removeEventListener("focusin",this._shouldPreventInput),e.removeEventListener("focusout",this._shouldPreventInput))}_getActiveErrorId(e,t,r,n,a,i){const o=[];(n||i)&&o.push(a),t&&e&&o.push(r),this._setOrToggleAttribute("aria-describedby",o.join(" "),this.focusElement)}_getActiveLabelId(e,t,r){let n=r;e&&(n=`${t} ${r}`),this.focusElement.setAttribute("aria-labelledby",n)}_getErrorMessageAriaHidden(e,t,r){return(!(t&&e?r:void 0)).toString()}_dispatchIronResizeEventIfNeeded(e,t){const r="__previous"+e;void 0!==this[r]&&this[r]!==t&&this.dispatchEvent(new CustomEvent("iron-resize",{bubbles:!0,composed:!0})),this[r]=t}__observeOffsetHeight(){this.__observeOffsetHeightDebouncer=n.debounce(this.__observeOffsetHeightDebouncer,i,(()=>{this._dispatchIronResizeEventIfNeeded("Height",this.offsetHeight)}))}attributeChangedCallback(e,t,r){super.attributeChangedCallback(e,t,r),window.ShadyCSS&&window.ShadyCSS.nativeCss||!/^(focused|focus-ring|invalid|disabled|placeholder|has-value)$/.test(e)||this.updateStyles();if(/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&this.root){const e="-webkit-backface-visibility";this.root.querySelectorAll("*").forEach((t=>{t.style[e]="visible",t.style[e]=""}))}}get __data(){return this.__dataValue||{}}set __data(e){this.__dataValue=e}}
492
+ </dom-module>`;document.head.appendChild(h.content);const u={default:["list","autofocus","pattern","autocapitalize","autocorrect","maxlength","minlength","name","placeholder","autocomplete","title","disabled","readonly","required"],accessible:["invalid"]},p={DEFAULT:"default",ACCESSIBLE:"accessible"},c=e=>class extends e{static get properties(){return{autocomplete:{type:String},autocorrect:{type:String},autocapitalize:{type:String},autoselect:{type:Boolean,value:!1},clearButtonVisible:{type:Boolean,value:!1},errorMessage:{type:String,value:"",observer:"_errorMessageChanged"},i18n:{type:Object,value:()=>({clear:"Clear"})},label:{type:String,value:"",observer:"_labelChanged"},helperText:{type:String,value:"",observer:"_helperTextChanged"},maxlength:{type:Number},minlength:{type:Number},name:{type:String},placeholder:{type:String},readonly:{type:Boolean,reflectToAttribute:!0},required:{type:Boolean,reflectToAttribute:!0},value:{type:String,value:"",observer:"_valueChanged",notify:!0},_hasInputValue:{type:Boolean,value:!1,observer:"_hasInputValueChanged"},invalid:{type:Boolean,reflectToAttribute:!0,notify:!0,value:!1},hasValue:{type:Boolean,reflectToAttribute:!0},preventInvalidInput:{type:Boolean},_enabledCharPattern:String,_labelId:String,_helperTextId:String,_errorId:String,_inputId:String,_hasSlottedHelper:Boolean}}static get observers(){return["_stateChanged(disabled, readonly, clearButtonVisible, hasValue)","_hostPropsChanged("+u.default.join(", ")+")","_hostAccessiblePropsChanged("+u.accessible.join(", ")+")","_getActiveErrorId(invalid, errorMessage, _errorId, helperText, _helperTextId, _hasSlottedHelper)","_getActiveLabelId(label, _labelId, _inputId)","__observeOffsetHeight(errorMessage, invalid, label, helperText)","__enabledCharPatternChanged(_enabledCharPattern)"]}get focusElement(){if(!this.shadowRoot)return;const e=this.querySelector(`${this._slottedTagName}[slot="${this._slottedTagName}"]`);return e||this.shadowRoot.querySelector('[part="value"]')}get inputElement(){return this.focusElement}get _slottedTagName(){return"input"}_createConstraintsObserver(){this._createMethodObserver("_constraintsChanged(required, minlength, maxlength, pattern)")}get _inputElementValueProperty(){return"value"}get _inputElementValue(){return this.inputElement?this.inputElement[this._inputElementValueProperty]:void 0}set _inputElementValue(e){this.inputElement&&(this.inputElement[this._inputElementValueProperty]=e)}_setHasInputValue(e){this._hasInputValue=e.target.value.length>0}__onInput(e){this._setHasInputValue(e),this._onInput(e)}_onInput(e){if(this.__preventInput)return e.stopImmediatePropagation(),void(this.__preventInput=!1);if(this.preventInvalidInput){const e=this.inputElement;if(e.value.length>0&&!this.checkValidity())return e.value=this.value||"",this.setAttribute("input-prevented",""),void(this._inputDebouncer=a.debounce(this._inputDebouncer,o.after(200),(()=>{this.removeAttribute("input-prevented")})))}e.__fromClearButton||(this.__userInput=!0),this.value=e.target.value,this.__userInput=!1}_stateChanged(e,t,i,a){!e&&!t&&i&&a?this.$.clearButton.removeAttribute("hidden"):this.$.clearButton.setAttribute("hidden",!0)}_hasInputValueChanged(e,t){(e||t)&&this.dispatchEvent(new CustomEvent("has-input-value-changed"))}_onChange(e){if(this._valueClearing)return;const t=new CustomEvent("change",{detail:{sourceEvent:e},bubbles:e.bubbles,cancelable:e.cancelable});this.dispatchEvent(t)}_valueChanged(e,t){""===e&&void 0===t||(this.hasValue=""!==e&&null!=e,this.__userInput||(void 0!==e?this._inputElementValue=e:this.value=this._inputElementValue="",this.invalid&&this.validate()))}_labelChanged(e){this._setOrToggleAttribute("has-label",!!e,this)}_helperTextChanged(e){this._setOrToggleAttribute("has-helper",!!e,this)}_errorMessageChanged(e){this._setOrToggleAttribute("has-error-message",!!e,this)}_onHelperSlotChange(){const e=this.shadowRoot.querySelector('[name="helper"]').assignedNodes({flatten:!0});this._hasSlottedHelper=e.filter((e=>3!==e.nodeType)).length,this._hasSlottedHelper?this.setAttribute("has-helper","slotted"):""!==this.helperText&&null!==this.helperText||this.removeAttribute("has-helper")}_onSlotChange(){const e=this.querySelector(`${this._slottedTagName}[slot="${this._slottedTagName}"]`);this.value&&(this._inputElementValue=this.value,this.validate()),e&&!this._slottedInput?(this._validateSlottedValue(e),this._addInputListeners(e),this._addIEListeners(e),this._slottedInput=e):!e&&this._slottedInput&&(this._removeInputListeners(this._slottedInput),this._removeIEListeners(this._slottedInput),this._slottedInput=void 0),Object.keys(p).map((e=>p[e])).forEach((e=>this._propagateHostAttributes(u[e].map((e=>this[e])),e)))}_hostPropsChanged(...e){this._propagateHostAttributes(e,p.DEFAULT)}_hostAccessiblePropsChanged(...e){this._propagateHostAttributes(e,p.ACCESSIBLE)}_validateSlottedValue(e){e.value!==this.value&&(console.warn("Please define value on the vaadin-text-field component!"),e.value="")}_propagateHostAttributes(e,t){const i=this.inputElement,a=u[t];t===p.ACCESSIBLE?a.forEach(((t,a)=>{this._setOrToggleAttribute(t,e[a],i),this._setOrToggleAttribute(`aria-${t}`,!!e[a]&&"true",i)})):a.forEach(((t,a)=>{this._setOrToggleAttribute(t,e[a],i)}))}_setOrToggleAttribute(e,t,i){e&&i&&(t?i.setAttribute(e,"boolean"==typeof t?"":t):i.removeAttribute(e))}_constraintsChanged(e,t,i,a){this.invalid&&(e||t||i||a?this.validate():this._setInvalid(!1))}checkValidity(){return this.required||this.pattern||this.maxlength||this.minlength||this.__forceCheckValidity?this.inputElement.checkValidity():!this.invalid}_addInputListeners(e){e.addEventListener("input",this._boundOnInput),e.addEventListener("change",this._boundOnChange),e.addEventListener("blur",this._boundOnBlur),e.addEventListener("focus",this._boundOnFocus),e.addEventListener("paste",this._boundOnPaste),e.addEventListener("drop",this._boundOnDrop),e.addEventListener("beforeinput",this._boundOnBeforeInput)}_removeInputListeners(e){e.removeEventListener("input",this._boundOnInput),e.removeEventListener("change",this._boundOnChange),e.removeEventListener("blur",this._boundOnBlur),e.removeEventListener("focus",this._boundOnFocus),e.removeEventListener("paste",this._boundOnPaste),e.removeEventListener("drop",this._boundOnDrop),e.removeEventListener("beforeinput",this._boundOnBeforeInput)}ready(){super.ready(),this._createConstraintsObserver(),this._boundOnInput=this.__onInput.bind(this),this._boundOnChange=this._onChange.bind(this),this._boundOnBlur=this._onBlur.bind(this),this._boundOnFocus=this._onFocus.bind(this),this._boundOnPaste=this._onPaste.bind(this),this._boundOnDrop=this._onDrop.bind(this),this._boundOnBeforeInput=this._onBeforeInput.bind(this);const e=this.shadowRoot.querySelector('[part="value"]');this._slottedInput=this.querySelector(`${this._slottedTagName}[slot="${this._slottedTagName}"]`),this._addInputListeners(e),this._addIEListeners(e),this._slottedInput&&(this._addIEListeners(this._slottedInput),this._addInputListeners(this._slottedInput)),this.shadowRoot.querySelector('[name="input"], [name="textarea"]').addEventListener("slotchange",this._onSlotChange.bind(this)),this._onHelperSlotChange(),this.shadowRoot.querySelector('[name="helper"]').addEventListener("slotchange",this._onHelperSlotChange.bind(this)),window.ShadyCSS&&window.ShadyCSS.nativeCss||this.updateStyles(),this.$.clearButton.addEventListener("mousedown",(()=>this._valueClearing=!0)),this.$.clearButton.addEventListener("mouseleave",(()=>this._valueClearing=!1)),this.$.clearButton.addEventListener("click",this._onClearButtonClick.bind(this)),this.addEventListener("keydown",this._onKeyDown.bind(this));var t=c._uniqueId=1+c._uniqueId||0;this._errorId=`${this.constructor.is}-error-${t}`,this._labelId=`${this.constructor.is}-label-${t}`,this._helperTextId=`${this.constructor.is}-helper-${t}`,this._inputId=`${this.constructor.is}-input-${t}`,this.shadowRoot.querySelector('[part="error-message"]').addEventListener("transitionend",(()=>{this.__observeOffsetHeight()}))}_setInvalid(e){this._shouldSetInvalid(e)&&(this.invalid=e)}_shouldSetInvalid(e){return!0}validate(){const e=this.checkValidity();return this._setInvalid(!e),this.dispatchEvent(new CustomEvent("validated",{detail:{valid:e}})),e}clear(){this._hasInputValue=!1,this.value=""}_onBlur(){this.validate()}_onFocus(){this.autoselect&&(this.inputElement.select(),setTimeout((()=>{try{this.inputElement.setSelectionRange(0,9999)}catch(e){}})))}_onClearButtonClick(e){e.preventDefault(),this.inputElement.focus(),this.clear(),this._valueClearing=!1,navigator.userAgent.match(/Trident/)&&(this.__preventInput=!1);const t=new Event("input",{bubbles:!0,composed:!0});t.__fromClearButton=!0;const i=new Event("change",{bubbles:!this._slottedInput});i.__fromClearButton=!0,this.inputElement.dispatchEvent(t),this.inputElement.dispatchEvent(i)}_onKeyDown(e){if(27===e.keyCode&&this.clearButtonVisible){const e=!!this.value;this.clear(),e&&this.inputElement.dispatchEvent(new Event("change",{bubbles:!this._slottedInput}))}this._enabledCharPattern&&!this.__shouldAcceptKey(e)&&e.preventDefault()}__shouldAcceptKey(e){return e.metaKey||e.ctrlKey||!e.key||1!==e.key.length||this.__enabledCharRegExp.test(e.key)}_onPaste(e){if(this._enabledCharPattern){const t=(e.clipboardData||window.clipboardData).getData("text");this.__enabledTextRegExp.test(t)||e.preventDefault()}}_onDrop(e){if(this._enabledCharPattern){const t=e.dataTransfer.getData("text");this.__enabledTextRegExp.test(t)||e.preventDefault()}}_onBeforeInput(e){this._enabledCharPattern&&e.data&&!this.__enabledTextRegExp.test(e.data)&&e.preventDefault()}__enabledCharPatternChanged(e){this.__enabledCharRegExp=e&&new RegExp("^"+e+"$"),this.__enabledTextRegExp=e&&new RegExp("^"+e+"*$")}_addIEListeners(e){navigator.userAgent.match(/Trident/)&&(this._shouldPreventInput=()=>{this.__preventInput=!0,requestAnimationFrame((()=>{this.__preventInput=!1}))},e.addEventListener("focusin",this._shouldPreventInput),e.addEventListener("focusout",this._shouldPreventInput),this._createPropertyObserver("placeholder",this._shouldPreventInput))}_removeIEListeners(e){navigator.userAgent.match(/Trident/)&&(e.removeEventListener("focusin",this._shouldPreventInput),e.removeEventListener("focusout",this._shouldPreventInput))}_getActiveErrorId(e,t,i,a,o,r){const n=[];(a||r)&&n.push(o),t&&e&&n.push(i),this._setOrToggleAttribute("aria-describedby",n.join(" "),this.focusElement)}_getActiveLabelId(e,t,i){let a=i;e&&(a=`${t} ${i}`),this.focusElement.setAttribute("aria-labelledby",a)}_getErrorMessageAriaHidden(e,t,i){return(!(t&&e?i:void 0)).toString()}_dispatchIronResizeEventIfNeeded(e,t){const i="__previous"+e;void 0!==this[i]&&this[i]!==t&&this.dispatchEvent(new CustomEvent("iron-resize",{bubbles:!0,composed:!0})),this[i]=t}__observeOffsetHeight(){this.__observeOffsetHeightDebouncer=a.debounce(this.__observeOffsetHeightDebouncer,r,(()=>{this._dispatchIronResizeEventIfNeeded("Height",this.offsetHeight)}))}attributeChangedCallback(e,t,i){super.attributeChangedCallback(e,t,i),window.ShadyCSS&&window.ShadyCSS.nativeCss||!/^(focused|focus-ring|invalid|disabled|placeholder|has-value)$/.test(e)||this.updateStyles();if(/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&this.root){const e="-webkit-backface-visibility";this.root.querySelectorAll("*").forEach((t=>{t.style[e]="visible",t.style[e]=""}))}}get __data(){return this.__dataValue||{}}set __data(e){this.__dataValue=e}}
493
493
  /**
494
494
  @license
495
495
  Copyright (c) 2017 Vaadin Ltd.
496
496
  This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
497
- */;class v extends(e(m(l(t(o))))){static get template(){return r`
497
+ */;class m extends(e(c(s(t(n))))){static get template(){return i`
498
498
  <style include="vaadin-text-field-shared-styles">
499
499
  /* polymer-cli linter breaks with empty line */
500
500
  </style>
@@ -523,4 +523,4 @@ This program is available under Apache License Version 2.0, available at https:/
523
523
  <div part="error-message" id="[[_errorId]]" aria-live="assertive" aria-hidden\$="[[_getErrorMessageAriaHidden(invalid, errorMessage, _errorId)]]">[[errorMessage]]</div>
524
524
 
525
525
  </div>
526
- `}static get is(){return"vaadin-text-field"}static get version(){return"2.10.0"}static get properties(){return{list:{type:String},pattern:{type:String},title:{type:String}}}}customElements.define(v.is,v);export{v as T,m as a};
526
+ `}static get is(){return"vaadin-text-field"}static get version(){return"2.10.0"}static get properties(){return{list:{type:String},pattern:{type:String},title:{type:String}}}}customElements.define(m.is,m);export{m as T,c as a};
@@ -1,4 +1,4 @@
1
- import{h as e}from"./shared-1c07b1be.js";import{N as t}from"./shared-df8380e1.js";
1
+ import{h as e}from"./shared-bf695fe7.js";import{N as t}from"./shared-db98729a.js";
2
2
  /**
3
3
  @license
4
4
  Copyright (c) 2019 Vaadin Ltd.
@@ -1 +1 @@
1
- import{_ as e}from"./shared-1522d76f.js";import{L as s,h as t}from"./shared-7f33a83a.js";import{w as r}from"./shared-550f9cae.js";let a,o=e=>e;class n extends s{constructor(){super(...arguments),this.frame=!1}static get properties(){return e(e({},super.properties),{},{frame:{type:Boolean}})}static get styles(){return r.styles}render(){return t(a||(a=o` <section class="space-y-s font-lumo antialiased"> <h3 class="${0}"> <slot name="header"></slot> </h3> <div class="rounded ${0}"> <slot></slot> </div> </section> `),"text-s font-medium text-secondary leading-none "+(this.frame?"":"pl-m"),this.frame?"border border-contrast-10 overflow-hidden":"")}}export{n as G};
1
+ import{_ as e}from"./shared-1522d76f.js";import{L as s,h as t}from"./shared-dc73b9a5.js";import{y as r}from"./shared-331a223c.js";let a,o=e=>e;class d extends s{constructor(){super(...arguments),this.frame=!1}static get properties(){return e(e({},super.properties),{},{frame:{type:Boolean}})}static get styles(){return r.styles}render(){return t(a||(a=o` <section class="space-y-s font-lumo antialiased"> <h3 class="${0}"> <slot name="header"></slot> </h3> <div class="rounded ${0}"> <slot></slot> </div> </section> `),"text-s font-medium text-secondary leading-none "+(this.frame?"":"pl-m"),this.frame?"border border-contrast-10 overflow-hidden":"")}}export{d as G};
@@ -1 +1 @@
1
- import{_ as e}from"./shared-1522d76f.js";import{w as s}from"./shared-550f9cae.js";import{h as t}from"./shared-7f33a83a.js";let r,a,i,o=e=>e;class p extends s{constructor(){super(...arguments),this.disabled=!1,this.items=[]}static get properties(){return e(e({},super.properties),{},{disabled:{type:Boolean,reflect:!0},items:{attribute:!1}})}render(){return t(r||(r=o` <p class="font-lumo text-xs leading-s text-secondary"> ${0} </p> `),this.items.map((({name:e,value:s},r)=>t(a||(a=o`${0}${0} ${0}`),0===r?"":t(i||(i=o`&bull;`)),e,s))))}}export{p as M};
1
+ import{_ as e}from"./shared-1522d76f.js";import{y as s}from"./shared-331a223c.js";import{h as t}from"./shared-dc73b9a5.js";let r,a,i,o=e=>e;class p extends s{constructor(){super(...arguments),this.disabled=!1,this.items=[]}static get properties(){return e(e({},super.properties),{},{disabled:{type:Boolean,reflect:!0},items:{attribute:!1}})}render(){return t(r||(r=o` <p class="font-lumo text-xs leading-s text-secondary"> ${0} </p> `),this.items.map((({name:e,value:s},r)=>t(a||(a=o`${0}${0} ${0}`),0===r?"":t(i||(i=o`&bull;`)),e,s))))}}export{p as M};
@@ -1 +1 @@
1
- import"./shared-ee54f718.js";import"./shared-2d40129d.js";import{I as e}from"./shared-9f039798.js";import{_ as r}from"./shared-1522d76f.js";import{i as t}from"./shared-d3bf9ac0.js";import{h as a,s}from"./shared-7f33a83a.js";import{c as l}from"./shared-4e709717.js";let o,i,n,d=e=>e;customElements.define("foxy-internal-password-control",class extends e{constructor(){super(...arguments),this.showGenerator=!1}static get properties(){return r(r({},super.properties),{},{showGenerator:{type:Boolean,attribute:"show-generator"}})}renderControl(){return a(o||(o=d` <vaadin-password-field error-message="${0}" helper-text="${0}" placeholder="${0}" label="${0}" class="w-full" ?disabled="${0}" ?readonly="${0}" .checkValidity="${0}" .value="${0}" @keydown="${0}" @input="${0}"> ${0} </vaadin-password-field> `),t(this._errorMessage),this.helperText,this.placeholder,this.label,this.disabled,this.readonly,this._checkValidity,this._value,(e=>{var r;return"Enter"===e.key&&(null===(r=this.nucleon)||void 0===r?void 0:r.submit())}),(e=>{const r=e.currentTarget;this._value=r.value}),this.showGenerator?this.__renderGenerator():"")}get _value(){var e;return null!==(e=super._value)&&void 0!==e?e:""}set _value(e){super._value=e}__renderGenerator(){return a(i||(i=d` <div data-testid="generator" class="${0}" slot="suffix" @click="${0}"> ${0} </div> `),l({"w-s h-s flex items-center justify-center cursor-default transition-colors":!0,"text-contrast-60 hover-text-contrast-80":!this.disabled&&!this.readonly,"text-contrast-20":this.disabled||this.readonly}),(()=>{this._value=function(){const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let r="";for(let t=0;t<18;t++)t>0&&t%6==0&&(r+="-"),r+=e[Math.floor(62*Math.random())];return r}();const e=this.renderRoot.querySelector("vaadin-password-field");null==e||e._setPasswordVisible(!0)}),s(n||(n=d`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" style="width: 1.15em; height: 1.15em"><path d="M15.98 1.804a1 1 0 00-1.96 0l-.24 1.192a1 1 0 01-.784.785l-1.192.238a1 1 0 000 1.962l1.192.238a1 1 0 01.785.785l.238 1.192a1 1 0 001.962 0l.238-1.192a1 1 0 01.785-.785l1.192-.238a1 1 0 000-1.962l-1.192-.238a1 1 0 01-.785-.785l-.238-1.192zM6.949 5.684a1 1 0 00-1.898 0l-.683 2.051a1 1 0 01-.633.633l-2.051.683a1 1 0 000 1.898l2.051.684a1 1 0 01.633.632l.683 2.051a1 1 0 001.898 0l.683-2.051a1 1 0 01.633-.633l2.051-.683a1 1 0 000-1.898l-2.051-.683a1 1 0 01-.633-.633L6.95 5.684zM13.949 13.684a1 1 0 00-1.898 0l-.184.551a1 1 0 01-.632.633l-.551.183a1 1 0 000 1.898l.551.183a1 1 0 01.633.633l.183.551a1 1 0 001.898 0l.184-.551a1 1 0 01.632-.633l.551-.183a1 1 0 000-1.898l-.551-.184a1 1 0 01-.633-.632l-.183-.551z" /></svg>`)))}});
1
+ import"./shared-a5ecd56e.js";import"./shared-4482e7b9.js";import{I as e}from"./shared-2062c274.js";import{_ as r}from"./shared-1522d76f.js";import{i as t}from"./shared-9803aa7c.js";import{h as a,s}from"./shared-dc73b9a5.js";import{c as l}from"./shared-4e709717.js";let o,i,n,d=e=>e;customElements.define("foxy-internal-password-control",class extends e{constructor(){super(...arguments),this.showGenerator=!1}static get properties(){return r(r({},super.properties),{},{showGenerator:{type:Boolean,attribute:"show-generator"}})}renderControl(){return a(o||(o=d` <vaadin-password-field error-message="${0}" helper-text="${0}" placeholder="${0}" label="${0}" class="w-full" ?disabled="${0}" ?readonly="${0}" .checkValidity="${0}" .value="${0}" @keydown="${0}" @input="${0}"> ${0} </vaadin-password-field> `),t(this._errorMessage),this.helperText,this.placeholder,this.label,this.disabled,this.readonly,this._checkValidity,this._value,(e=>{var r;return"Enter"===e.key&&(null===(r=this.nucleon)||void 0===r?void 0:r.submit())}),(e=>{const r=e.currentTarget;this._value=r.value}),this.showGenerator?this.__renderGenerator():"")}get _value(){var e;return null!==(e=super._value)&&void 0!==e?e:""}set _value(e){super._value=e}__renderGenerator(){return a(i||(i=d` <div data-testid="generator" class="${0}" slot="suffix" @click="${0}"> ${0} </div> `),l({"w-s h-s flex items-center justify-center cursor-default transition-colors":!0,"text-contrast-60 hover-text-contrast-80":!this.disabled&&!this.readonly,"text-contrast-20":this.disabled||this.readonly}),(()=>{this._value=function(){const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let r="";for(let t=0;t<18;t++)t>0&&t%6==0&&(r+="-"),r+=e[Math.floor(62*Math.random())];return r}();const e=this.renderRoot.querySelector("vaadin-password-field");null==e||e._setPasswordVisible(!0)}),s(n||(n=d`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" style="width: 1.15em; height: 1.15em"><path d="M15.98 1.804a1 1 0 00-1.96 0l-.24 1.192a1 1 0 01-.784.785l-1.192.238a1 1 0 000 1.962l1.192.238a1 1 0 01.785.785l.238 1.192a1 1 0 001.962 0l.238-1.192a1 1 0 01.785-.785l1.192-.238a1 1 0 000-1.962l-1.192-.238a1 1 0 01-.785-.785l-.238-1.192zM6.949 5.684a1 1 0 00-1.898 0l-.683 2.051a1 1 0 01-.633.633l-2.051.683a1 1 0 000 1.898l2.051.684a1 1 0 01.633.632l.683 2.051a1 1 0 001.898 0l.683-2.051a1 1 0 01.633-.633l2.051-.683a1 1 0 000-1.898l-2.051-.683a1 1 0 01-.633-.633L6.95 5.684zM13.949 13.684a1 1 0 00-1.898 0l-.184.551a1 1 0 01-.632.633l-.551.183a1 1 0 000 1.898l.551.183a1 1 0 01.633.633l.183.551a1 1 0 001.898 0l.184-.551a1 1 0 01.632-.633l.551-.183a1 1 0 000-1.898l-.551-.184a1 1 0 01-.633-.632l-.183-.551z" /></svg>`)))}});
@@ -1 +1 @@
1
- import{L as e,h as t}from"./shared-7f33a83a.js";let r,s=e=>e;customElements.define("foxy-internal-sandbox",class extends e{constructor(){super(...arguments),this.render=()=>t(r||(r=s``))}static get properties(){return{render:{attribute:!1}}}});
1
+ import{L as e,h as t}from"./shared-dc73b9a5.js";let r,s=e=>e;customElements.define("foxy-internal-sandbox",class extends e{constructor(){super(...arguments),this.render=()=>t(r||(r=s``))}static get properties(){return{render:{attribute:!1}}}});
@@ -0,0 +1,11 @@
1
+ import{P as e}from"./shared-e40937c5.js";
2
+ /**
3
+ @license
4
+ Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
5
+ This code may only be used under the BSD style license found at
6
+ http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
7
+ http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
8
+ found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
9
+ part of the polymer project is also subject to an additional IP rights grant
10
+ found at http://polymer.github.io/PATENTS.txt
11
+ */e({is:"iron-media-query",properties:{queryMatches:{type:Boolean,value:!1,readOnly:!0,notify:!0},query:{type:String,observer:"queryChanged"},full:{type:Boolean,value:!1},_boundMQHandler:{value:function(){return this.queryHandler.bind(this)}},_mq:{value:null}},attached:function(){this.style.display="none",this.queryChanged()},detached:function(){this._remove()},_add:function(){this._mq&&this._mq.addListener(this._boundMQHandler)},_remove:function(){this._mq&&this._mq.removeListener(this._boundMQHandler),this._mq=null},queryChanged:function(){this._remove();var e=this.query;e&&(this.full||"("===e[0]||(e="("+e+")"),this._mq=window.matchMedia(e),this._add(),this.queryHandler(this._mq))},queryHandler:function(e){this._setQueryMatches(e.matches)}});
@@ -1 +1 @@
1
- import{_ as e}from"./shared-1522d76f.js";import{c as t,L as s,h as i}from"./shared-7f33a83a.js";import{A as a}from"./shared-07e9d1fb.js";import{C as o}from"./shared-b23c903e.js";import{T as n,R as l,a as d}from"./shared-550f9cae.js";import{I as r}from"./shared-30cbf0a6.js";import{F as h}from"./shared-343d1fd7.js";import{c}from"./shared-4e709717.js";class u extends CustomEvent{constructor(e=!1){super("hide",{detail:{cancelled:e}})}}class p extends CustomEvent{constructor(){super("show")}}let m,v=e=>e;class b extends(o(n(l(d(r(s)))))){constructor(){super(...arguments),this.group=""}static get properties(){return e(e({},super.properties),{},{group:{}})}static get styles(){return[super.styles,t(m||(m=v`:host{position:relative;z-index:200}`))]}}let _,g,y,f,w,x,$,C=e=>e;const D=d(o(n(r(s))));class k extends D{constructor(){super(...arguments),this.closable=!1,this.editable=!1,this.header="",this.group="",this.alert=!1,this.wide=!1,this.__handleKeyDown=e=>{"Escape"===e.key&&k.openDialogs[0]===this&&this.closable&&this.hide(this.editable)},this.__connected=!1,this.__visible=!1}static get properties(){return e(e({},super.properties),{},{__connected:{attribute:!1},__visible:{attribute:!1},centered:{type:Boolean},closable:{type:Boolean},editable:{type:Boolean},header:{type:String},group:{},alert:{type:Boolean},wide:{type:Boolean},open:{type:Boolean,noAccessor:!0}})}static get styles(){return[super.styles,t(_||(_=C`.grid-cols-header{grid-template-columns:1fr auto 1fr}.scale-85{--tw-scale-x:0.85;--tw-scale-y:0.85}.max-h-alert{max-height:calc(100vh - var(--lumo-size-l) - var(--lumo-space-m) * 2)}`))]}get open(){return this.__visible&&this.__connected}set open(e){e===this.open||(e?this.show():this.hide(this.editable))}connectedCallback(){super.connectedCallback(),addEventListener("keydown",this.__handleKeyDown)}disconnectedCallback(){var e;super.disconnectedCallback(),removeEventListener("keydown",this.__handleKeyDown),null===(e=k.dialogWindows.get(this))||void 0===e||e.remove(),k.dialogWindows.delete(this)}createRenderRoot(){const e=new b,t=document.querySelectorAll(k.dialogWindowsHost),s=Array.from(t).pop();return e.addEventListener("fetch",(e=>{e instanceof h&&(e.stopImmediatePropagation(),e.preventDefault(),e.respondWith(new a(this).fetch(e.request)))})),null==s||s.appendChild(e),k.dialogWindows.set(this,e),e.shadowRoot}render(e){if(!this.__connected)return i(g||(g=C``));const t=k.openDialogs[0]===this,s=k.openDialogs[1]===this,a=k.openDialogs[2]===this,o=!t&&!s&&!a;return i(y||(y=C` <div class="${0}"> <div id="backdrop" class="${0}" tabindex="-1" @click="${0}"></div> <div tabindex="0" role="dialog" aria-labelledby="dialog-title" class="${0}"> <div class="${0}"> <div class="h-l grid grid-cols-header text-m font-lumo font-medium border-b border-contrast-10"> ${0} <h1 id="dialog-title" class="truncate self-center text-center"> <foxy-i18n ns="${0}" lang="${0}" key="${0}"></foxy-i18n> </h1> ${0} </div> <div class="${0}"> <div class="p-m relative">${0}</div> </div> </div> </div> </div> `),c({"z-50 fixed inset-0":!0,"pointer-events-none":!this.__visible}),c({"select-none ease-in-out transition duration-500 absolute inset-0 bg-shade-50 focus-outline-none":!0,"opacity-100":this.__visible,"opacity-0":!this.__visible}),(()=>this.closable&&this.hide(this.editable)),c({"transform ease-in-out transition duration-500 relative h-full ml-auto":!0,"origin-bottom sm-origin-center":!0,"focus-outline-none":!0,"sm-max-w-modal":!this.wide,"sm-max-w-modal-wide":this.wide,"flex justify-center items-end sm-items-center mr-auto":this.alert,"translate-y-full sm-translate-y-0":!this.__visible,"sm-translate-x-full":!this.alert&&!this.__visible,"sm-opacity-0 sm-scale-110":this.alert&&!this.__visible,"translate-y-0 translate-x-0":t&&this.__visible,"scale-95 -translate-y-s sm-translate-y-0":s&&this.__visible,"scale-90 -translate-y-m sm-translate-y-0":a&&this.__visible,"opacity-0 scale-85 -translate-y-l sm-translate-y-0":o&&this.__visible}),c({"overflow-hidden flex flex-col bg-base rounded-t-l sm-rounded-b-l":!0,"absolute inset-0 mt-xl sm-m-xl":!this.alert,"shadow-xxl":this.__visible,"flex-1":this.alert}),this.closable&&!this.hiddenSelector.matches("close-button",!0)?i(f||(f=C` <vaadin-button id="close-button" theme="tertiary-inline" class="mr-auto m-s px-s" ?disabled="${0}" @click="${0}"> <foxy-i18n lang="${0}" key="${0}" ns="${0}"> </foxy-i18n> </vaadin-button> `),this.disabledSelector.matches("close-button",!0),(()=>this.hide(this.editable)),this.lang,this.editable?"cancel":"close",this.ns):i(w||(w=C`<div></div>`)),this.ns,this.lang,this.header,this.editable&&!this.hiddenSelector.matches("save-button",!0)?i(x||(x=C` <vaadin-button data-testid="save-button" ?disabled="${0}" theme="primary" class="ml-auto h-auto min-h-0 min-w-0 m-xs px-m" @click="${0}"> <foxy-i18n ns="${0}" lang="${0}" key="save"></foxy-i18n> </vaadin-button> `),this.disabledSelector.matches("save-button",!0),this.save,this.ns,this.lang):i($||($=C`<div></div>`)),c({"flex-1 overflow-y-auto overflow-x-hidden overscroll-contain":!0,"max-h-alert":this.alert}),null==e?void 0:e())}updated(e){super.updated(e);const t=k.dialogWindows.get(this);t&&(t.disabledControls=this.disabledControls,t.disabled=this.disabled,t.readonlyControls=this.readonlyControls,t.readonly=this.readonly,t.hiddenControls=this.hiddenControls,t.hidden=this.hidden,t.group=this.group,t.lang=this.lang,t.ns=this.ns)}async hide(e=!1){var t;null===(t=this.__returnFocusTo)||void 0===t||t.focus(),await this.__setOpenDialogs(k.openDialogs.filter((e=>e!==this))),await this.__setConnected(!1),this.dispatchEvent(new k.HideEvent(!!e))}async show(e){var t;this.__returnFocusTo=e,await this.__setConnected(!0),await this.__setOpenDialogs([this,...k.openDialogs]),null===(t=this.renderRoot.querySelector('[role="dialog"]'))||void 0===t||t.focus(),this.dispatchEvent(new k.ShowEvent)}async save(){await this.hide(!1)}async __setOpenDialogs(e){k.openDialogs.length=0,k.openDialogs.push(...e),await Promise.all([Promise.all(k.openDialogs.map((e=>e.requestUpdate()))),new Promise((e=>{const t=this.renderRoot.querySelector("#backdrop");t?(t.addEventListener("transitionend",(()=>e()),{once:!0}),setTimeout((()=>e()),2e3)):e(),this.__visible=k.openDialogs.includes(this)}))])}async __setConnected(e){this.__connected=e,await this.updateComplete.then((()=>this.getBoundingClientRect()))}}k.dialogWindowsHost="#foxy-dialog-windows-host, body",k.dialogWindows=new WeakMap,k.openDialogs=[],k.ShowEvent=p,k.HideEvent=u,customElements.define("foxy-dialog-window",b);export{k as D};
1
+ import{_ as e}from"./shared-1522d76f.js";import{c as t,L as s,h as i}from"./shared-dc73b9a5.js";import{A as o}from"./shared-07e9d1fb.js";import{C as a}from"./shared-9f570db0.js";import{T as n,R as l,a as d}from"./shared-331a223c.js";import{I as r}from"./shared-30cbf0a6.js";import{F as h}from"./shared-343d1fd7.js";import{c}from"./shared-4e709717.js";class u extends CustomEvent{constructor(e=!1){super("hide",{detail:{cancelled:e}})}}class p extends CustomEvent{constructor(){super("show")}}let m,v=e=>e;class b extends(a(n(l(d(r(s)))))){constructor(){super(...arguments),this.group=""}static get properties(){return e(e({},super.properties),{},{group:{}})}static get styles(){return[super.styles,t(m||(m=v`:host{position:relative;z-index:200}`))]}}let _,g,y,f,w,x,$,C=e=>e;const D=d(a(n(r(s))));class k extends D{constructor(){super(...arguments),this.closable=!1,this.editable=!1,this.header="",this.group="",this.alert=!1,this.wide=!1,this.__handleKeyDown=e=>{"Escape"===e.key&&k.openDialogs[0]===this&&this.closable&&this.hide(this.editable)},this.__connected=!1,this.__visible=!1}static get properties(){return e(e({},super.properties),{},{__connected:{attribute:!1},__visible:{attribute:!1},centered:{type:Boolean},closable:{type:Boolean},editable:{type:Boolean},header:{type:String},group:{},alert:{type:Boolean},wide:{type:Boolean},open:{type:Boolean,noAccessor:!0}})}static get styles(){return[super.styles,t(_||(_=C`.grid-cols-header{grid-template-columns:1fr auto 1fr}.scale-85{--tw-scale-x:0.85;--tw-scale-y:0.85}.max-h-alert{max-height:calc(100vh - var(--lumo-size-l) - var(--lumo-space-m) * 2)}`))]}get open(){return this.__visible&&this.__connected}set open(e){e===this.open||(e?this.show():this.hide(this.editable))}connectedCallback(){super.connectedCallback(),addEventListener("keydown",this.__handleKeyDown)}disconnectedCallback(){var e;super.disconnectedCallback(),removeEventListener("keydown",this.__handleKeyDown),null===(e=k.dialogWindows.get(this))||void 0===e||e.remove(),k.dialogWindows.delete(this)}createRenderRoot(){const e=new b,t=document.querySelectorAll(k.dialogWindowsHost),s=Array.from(t).pop();return e.addEventListener("fetch",(e=>{e instanceof h&&(e.stopImmediatePropagation(),e.preventDefault(),e.respondWith(new o(this).fetch(e.request)))})),null==s||s.appendChild(e),k.dialogWindows.set(this,e),e.shadowRoot}render(e){if(!this.__connected)return i(g||(g=C``));const t=k.openDialogs[0]===this,s=k.openDialogs[1]===this,o=k.openDialogs[2]===this,a=!t&&!s&&!o;return i(y||(y=C` <div class="${0}"> <div id="backdrop" class="${0}" tabindex="-1" @click="${0}"></div> <div tabindex="0" role="dialog" aria-labelledby="dialog-title" class="${0}"> <div class="${0}"> <div class="h-l grid grid-cols-header text-m font-lumo font-medium border-b border-contrast-10"> ${0} <h1 id="dialog-title" class="truncate self-center text-center"> <foxy-i18n ns="${0}" lang="${0}" key="${0}"></foxy-i18n> </h1> ${0} </div> <div class="${0}"> <div class="p-m relative">${0}</div> </div> </div> </div> </div> `),c({"z-50 fixed inset-0":!0,"pointer-events-none":!this.__visible}),c({"select-none ease-in-out transition duration-500 absolute inset-0 bg-shade-50 focus-outline-none":!0,"opacity-100":this.__visible,"opacity-0":!this.__visible}),(()=>this.closable&&this.hide(this.editable)),c({"transform ease-in-out transition duration-500 relative h-full ml-auto":!0,"origin-bottom sm-origin-center":!0,"focus-outline-none":!0,"sm-max-w-modal":!this.wide,"sm-max-w-modal-wide":this.wide,"flex justify-center items-end sm-items-center mr-auto":this.alert,"translate-y-full sm-translate-y-0":!this.__visible,"sm-translate-x-full":!this.alert&&!this.__visible,"sm-opacity-0 sm-scale-110":this.alert&&!this.__visible,"translate-y-0 translate-x-0":t&&this.__visible,"scale-95 -translate-y-s sm-translate-y-0":s&&this.__visible,"scale-90 -translate-y-m sm-translate-y-0":o&&this.__visible,"opacity-0 scale-85 -translate-y-l sm-translate-y-0":a&&this.__visible}),c({"overflow-hidden flex flex-col bg-base rounded-t-l sm-rounded-b-l":!0,"absolute inset-0 mt-xl sm-m-xl":!this.alert,"shadow-xxl":this.__visible,"flex-1":this.alert}),this.closable&&!this.hiddenSelector.matches("close-button",!0)?i(f||(f=C` <vaadin-button id="close-button" theme="tertiary-inline" class="mr-auto m-s px-s" ?disabled="${0}" @click="${0}"> <foxy-i18n lang="${0}" key="${0}" ns="${0}"> </foxy-i18n> </vaadin-button> `),this.disabledSelector.matches("close-button",!0),(()=>this.hide(this.editable)),this.lang,this.editable?"cancel":"close",this.ns):i(w||(w=C`<div></div>`)),this.ns,this.lang,this.header,this.editable&&!this.hiddenSelector.matches("save-button",!0)?i(x||(x=C` <vaadin-button data-testid="save-button" ?disabled="${0}" theme="primary" class="ml-auto h-auto min-h-0 min-w-0 m-xs px-m" @click="${0}"> <foxy-i18n ns="${0}" lang="${0}" key="save"></foxy-i18n> </vaadin-button> `),this.disabledSelector.matches("save-button",!0),this.save,this.ns,this.lang):i($||($=C`<div></div>`)),c({"flex-1 overflow-y-auto overflow-x-hidden overscroll-contain":!0,"max-h-alert":this.alert}),null==e?void 0:e())}updated(e){super.updated(e);const t=k.dialogWindows.get(this);t&&(t.disabledControls=this.disabledControls,t.disabled=this.disabled,t.readonlyControls=this.readonlyControls,t.readonly=this.readonly,t.hiddenControls=this.hiddenControls,t.hidden=this.hidden,t.group=this.group,t.lang=this.lang,t.ns=this.ns)}async hide(e=!1){var t;null===(t=this.__returnFocusTo)||void 0===t||t.focus(),await this.__setOpenDialogs(k.openDialogs.filter((e=>e!==this))),await this.__setConnected(!1),this.dispatchEvent(new k.HideEvent(!!e))}async show(e){var t;this.__returnFocusTo=e,await this.__setConnected(!0),await this.__setOpenDialogs([this,...k.openDialogs]),null===(t=this.renderRoot.querySelector('[role="dialog"]'))||void 0===t||t.focus(),this.dispatchEvent(new k.ShowEvent)}async save(){await this.hide(!1)}async __setOpenDialogs(e){k.openDialogs.length=0,k.openDialogs.push(...e),await Promise.all([Promise.all(k.openDialogs.map((e=>e.requestUpdate()))),new Promise((e=>{const t=this.renderRoot.querySelector("#backdrop");t?(t.addEventListener("transitionend",(()=>e()),{once:!0}),setTimeout((()=>e()),2e3)):e(),this.__visible=k.openDialogs.includes(this)}))])}async __setConnected(e){this.__connected=e,await this.updateComplete.then((()=>this.getBoundingClientRect()))}}k.dialogWindowsHost="#foxy-dialog-windows-host, body",k.dialogWindows=new WeakMap,k.openDialogs=[],k.ShowEvent=p,k.HideEvent=u,customElements.define("foxy-dialog-window",b);export{k as D};
@@ -1 +1 @@
1
- import{L as r,h as s}from"./shared-7f33a83a.js";import{w as e}from"./shared-550f9cae.js";let t,o=r=>r;class a extends r{static get styles(){return e.styles}render(){return s(t||(t=o` <p class="flex text-s border border-contrast-10 rounded p-s text-body leading-s"> <iron-icon icon="lumo:error" class="text-error flex-shrink-0 mr-s"></iron-icon> <slot></slot> </p> `))}}export{a as W};
1
+ import{L as r,h as s}from"./shared-dc73b9a5.js";import{y as e}from"./shared-331a223c.js";let t,o=r=>r;class a extends r{static get styles(){return e.styles}render(){return s(t||(t=o` <p class="flex text-s border border-contrast-10 rounded p-s text-body leading-s"> <iron-icon icon="lumo:error" class="text-error flex-shrink-0 mr-s"></iron-icon> <slot></slot> </p> `))}}export{a as W};
@@ -0,0 +1,6 @@
1
+ /**
2
+ @license
3
+ Copyright (c) 2017 Vaadin Ltd.
4
+ This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
6
+ const e=e=>class extends e{static get properties(){return{_hasVaadinItemMixin:{value:!0},disabled:{type:Boolean,value:!1,observer:"_disabledChanged",reflectToAttribute:!0},selected:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_selectedChanged"},_value:String}}get value(){return void 0!==this._value?this._value:this.textContent.trim()}set value(e){this._value=e}ready(){super.ready();const e=this.getAttribute("value");null!==e&&(this.value=e),this.addEventListener("focus",(e=>this._setFocused(!0)),!0),this.addEventListener("blur",(e=>this._setFocused(!1)),!0),this.addEventListener("mousedown",(e=>{this._setActive(this._mousedown=!0);const t=()=>{this._setActive(this._mousedown=!1),document.removeEventListener("mouseup",t)};document.addEventListener("mouseup",t)})),this.addEventListener("keydown",(e=>this._onKeydown(e))),this.addEventListener("keyup",(e=>this._onKeyup(e)))}disconnectedCallback(){super.disconnectedCallback(),this.hasAttribute("active")&&this._setFocused(!1)}_selectedChanged(e){this.setAttribute("aria-selected",e)}_disabledChanged(e){e?(this.selected=!1,this.setAttribute("aria-disabled","true"),this.blur()):this.removeAttribute("aria-disabled")}_setFocused(e){e?(this.setAttribute("focused",""),this._mousedown||this.setAttribute("focus-ring","")):(this.removeAttribute("focused"),this.removeAttribute("focus-ring"),this._setActive(!1))}_setActive(e){e?this.setAttribute("active",""):this.removeAttribute("active")}_onKeydown(e){/^( |SpaceBar|Enter)$/.test(e.key)&&!e.defaultPrevented&&(e.preventDefault(),this._setActive(!0))}_onKeyup(e){this.hasAttribute("active")&&(this._setActive(!1),this.click())}};export{e as I};
@@ -1 +1 @@
1
- import"./shared-1c07b1be.js";import"./shared-d28b95c6.js";const A=document.createElement("template");A.innerHTML='<custom-style>\n <style>\n @font-face {\n font-family: \'lumo-icons\';\n src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEcAAsAAAAAIiwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2MAABd4h9To2WhlYWQAAA3kAAAAMAAAADZa/6SsaGhlYQAADhQAAAAd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SaYmjvug6ase98hFltexMJmmVNmV2WBvdNgZUc+ujAWzXW3UDnu1w43asStHc8GpzAXX/py0jqTQZJTgkcxJLpaCF0lD32xNt+43tAsn29Dft02uDKS2cjGUNgsk26qK2lFthYoU27INPqmiDqg5goe0pqR5qSoqMdek/CUZFywL46rEsiImleqiqoMyt4baXlu/1GLdNFf5zbcNmdr1YUWCZe47o+zUmb/DoStbw3cVsef9ALjjiPQA) format(\'woff\');\n font-weight: normal;\n font-style: normal;\n }\n\n html {\n --lumo-icons-align-center: "\\ea01";\n --lumo-icons-align-left: "\\ea02";\n --lumo-icons-align-right: "\\ea03";\n --lumo-icons-angle-down: "\\ea04";\n --lumo-icons-angle-left: "\\ea05";\n --lumo-icons-angle-right: "\\ea06";\n --lumo-icons-angle-up: "\\ea07";\n --lumo-icons-arrow-down: "\\ea08";\n --lumo-icons-arrow-left: "\\ea09";\n --lumo-icons-arrow-right: "\\ea0a";\n --lumo-icons-arrow-up: "\\ea0b";\n --lumo-icons-bar-chart: "\\ea0c";\n --lumo-icons-bell: "\\ea0d";\n --lumo-icons-calendar: "\\ea0e";\n --lumo-icons-checkmark: "\\ea0f";\n --lumo-icons-chevron-down: "\\ea10";\n --lumo-icons-chevron-left: "\\ea11";\n --lumo-icons-chevron-right: "\\ea12";\n --lumo-icons-chevron-up: "\\ea13";\n --lumo-icons-clock: "\\ea14";\n --lumo-icons-cog: "\\ea15";\n --lumo-icons-cross: "\\ea16";\n --lumo-icons-download: "\\ea17";\n --lumo-icons-dropdown: "\\ea18";\n --lumo-icons-edit: "\\ea19";\n --lumo-icons-error: "\\ea1a";\n --lumo-icons-eye: "\\ea1b";\n --lumo-icons-eye-disabled: "\\ea1c";\n --lumo-icons-menu: "\\ea1d";\n --lumo-icons-minus: "\\ea1e";\n --lumo-icons-ordered-list: "\\ea1f";\n --lumo-icons-phone: "\\ea20";\n --lumo-icons-photo: "\\ea21";\n --lumo-icons-play: "\\ea22";\n --lumo-icons-plus: "\\ea23";\n --lumo-icons-redo: "\\ea24";\n --lumo-icons-reload: "\\ea25";\n --lumo-icons-search: "\\ea26";\n --lumo-icons-undo: "\\ea27";\n --lumo-icons-unordered-list: "\\ea28";\n --lumo-icons-upload: "\\ea29";\n --lumo-icons-user: "\\ea2a";\n }\n </style>\n</custom-style>',document.head.appendChild(A.content);
1
+ import"./shared-bf695fe7.js";import"./shared-cfed658c.js";const A=document.createElement("template");A.innerHTML='<custom-style>\n <style>\n @font-face {\n font-family: \'lumo-icons\';\n src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEcAAsAAAAAIiwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2MAABd4h9To2WhlYWQAAA3kAAAAMAAAADZa/6SsaGhlYQAADhQAAAAdAAAAJAbpA35obXR4AAAONAAAABAAAACspBAAAGxvY2EAAA5EAAAAWAAAAFh55IAsbWF4cAAADpwAAAAfAAAAIAFKAXBuYW1lAAAOvAAAATEAAAIuUUJZCHBvc3QAAA/wAAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90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ByCgTNwCA7BW/NJlVBtyd/jx+8XKwmAa3whwnFE6Ib1OBq44O6Pm6Qb4Rb5QbiNHh6FO/RD4S6eMRHu4RaaT4halzR3eBVu4Apvwk36d+EW+UO4jXt8Cnfov4W7WOBHuIen6MXsCtvPU1vWc73emcSdxIkW2tW5LdUoHp7kTJfaJV6v1PKg6v167H2mMmcLNbWl18ZYVTm71amPN95Xk8EgEx+ntoDBDgUs+siRspaoMef7rukNEriziXNuwS7Hmoe9wggxv+e55IzJMqQTeNYV00scuNbY8+YxrUfGfcaMZb/CNPQe04bT0lThbEuT0sfYhK6K/23Amf3Lx+H24hcj4GScAAAAeJxtjtlugzAQRbkJUEJIuu/7vqR8lGNPAcWx0YAb5e/LklR96EgenSufGY038PqKvf9rhgGG8BEgxA4ijBBjjAQTTLGLPezjAIc4wjFOcIoznOMCl7jCNW5wizvc4wGPeMIzXvCKN7zjAzN8eonQRWZSSaYmjvug6ase98hFltexMJmmVNmV2WBvdNgZUc+ujAWzXW3UDnu1w43asStHc8GpzAXX/py0jqTQZJTgkcxJLpaCF0lD32xNt+43tAsn29Dft02uDKS2cjGUNgsk26qK2lFthYoU27INPqmiDqg5goe0pqR5qSoqMdek/CUZFywL46rEsiImleqiqoMyt4baXlu/1GLdNFf5zbcNmdr1YUWCZe47o+zUmb/DoStbw3cVsef9ALjjiPQA) format(\'woff\');\n font-weight: normal;\n font-style: normal;\n }\n\n html {\n --lumo-icons-align-center: "\\ea01";\n --lumo-icons-align-left: "\\ea02";\n --lumo-icons-align-right: "\\ea03";\n --lumo-icons-angle-down: "\\ea04";\n --lumo-icons-angle-left: "\\ea05";\n --lumo-icons-angle-right: "\\ea06";\n --lumo-icons-angle-up: "\\ea07";\n --lumo-icons-arrow-down: "\\ea08";\n --lumo-icons-arrow-left: "\\ea09";\n --lumo-icons-arrow-right: "\\ea0a";\n --lumo-icons-arrow-up: "\\ea0b";\n --lumo-icons-bar-chart: "\\ea0c";\n --lumo-icons-bell: "\\ea0d";\n --lumo-icons-calendar: "\\ea0e";\n --lumo-icons-checkmark: "\\ea0f";\n --lumo-icons-chevron-down: "\\ea10";\n --lumo-icons-chevron-left: "\\ea11";\n --lumo-icons-chevron-right: "\\ea12";\n --lumo-icons-chevron-up: "\\ea13";\n --lumo-icons-clock: "\\ea14";\n --lumo-icons-cog: "\\ea15";\n --lumo-icons-cross: "\\ea16";\n --lumo-icons-download: "\\ea17";\n --lumo-icons-dropdown: "\\ea18";\n --lumo-icons-edit: "\\ea19";\n --lumo-icons-error: "\\ea1a";\n --lumo-icons-eye: "\\ea1b";\n --lumo-icons-eye-disabled: "\\ea1c";\n --lumo-icons-menu: "\\ea1d";\n --lumo-icons-minus: "\\ea1e";\n --lumo-icons-ordered-list: "\\ea1f";\n --lumo-icons-phone: "\\ea20";\n --lumo-icons-photo: "\\ea21";\n --lumo-icons-play: "\\ea22";\n --lumo-icons-plus: "\\ea23";\n --lumo-icons-redo: "\\ea24";\n --lumo-icons-reload: "\\ea25";\n --lumo-icons-search: "\\ea26";\n --lumo-icons-undo: "\\ea27";\n --lumo-icons-unordered-list: "\\ea28";\n --lumo-icons-upload: "\\ea29";\n --lumo-icons-user: "\\ea2a";\n }\n </style>\n</custom-style>',document.head.appendChild(A.content);
@@ -0,0 +1 @@
1
+ import{_ as r}from"./shared-1522d76f.js";import{p as s}from"./shared-f5d4dda0.js";function t(t){var a;const d=s(t),n=null!==(a={y:"yearly",m:"monthly",w:"weekly",d:"daily"}[d.units])&&void 0!==a?a:d.units;return r(r({},d),{},{units:n})}export{t as p};