@foxy.io/elements 1.43.0-beta.1 → 1.43.0-beta.3

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 (366) hide show
  1. package/dist/cdn/foxy-access-recovery-form.js +1 -1
  2. package/dist/cdn/foxy-address-card.js +5 -5
  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-admin-subscription-form.js +1 -1
  6. package/dist/cdn/foxy-api-browser.js +1 -1
  7. package/dist/cdn/foxy-applied-coupon-code-card.js +1 -1
  8. package/dist/cdn/foxy-applied-coupon-code-form.js +1 -1
  9. package/dist/cdn/foxy-applied-tax-card.js +1 -1
  10. package/dist/cdn/foxy-attribute-card.js +1 -1
  11. package/dist/cdn/foxy-attribute-form.js +1 -1
  12. package/dist/cdn/foxy-billing-address-card.js +1 -1
  13. package/dist/cdn/foxy-cancellation-form.js +1 -1
  14. package/dist/cdn/foxy-cart-card.js +1 -1
  15. package/dist/cdn/foxy-cart-form.js +2 -2
  16. package/dist/cdn/foxy-client-card.js +1 -1
  17. package/dist/cdn/foxy-client-form.js +1 -1
  18. package/dist/cdn/foxy-collection-page.js +1 -1
  19. package/dist/cdn/foxy-collection-pages.js +1 -1
  20. package/dist/cdn/foxy-copy-to-clipboard.js +1 -1
  21. package/dist/cdn/foxy-coupon-card.js +1 -1
  22. package/dist/cdn/foxy-coupon-code-card.js +1 -1
  23. package/dist/cdn/foxy-coupon-code-form.js +1 -1
  24. package/dist/cdn/foxy-coupon-codes-form.js +1 -1
  25. package/dist/cdn/foxy-coupon-detail-card.js +1 -1
  26. package/dist/cdn/foxy-coupon-form.js +1 -1
  27. package/dist/cdn/foxy-custom-field-card.js +1 -1
  28. package/dist/cdn/foxy-custom-field-form.js +1 -1
  29. package/dist/cdn/foxy-customer-api.js +1 -1
  30. package/dist/cdn/foxy-customer-card.js +1 -1
  31. package/dist/cdn/foxy-customer-form.js +1 -1
  32. package/dist/cdn/foxy-customer-portal-settings-form.js +1 -1
  33. package/dist/cdn/foxy-customer-portal-settings.js +1 -1
  34. package/dist/cdn/foxy-customer-portal.js +13 -13
  35. package/dist/cdn/foxy-customer.js +5 -5
  36. package/dist/cdn/foxy-customers-table.js +1 -1
  37. package/dist/cdn/foxy-discount-builder.js +1 -1
  38. package/dist/cdn/foxy-discount-card.js +1 -1
  39. package/dist/cdn/foxy-discount-detail-card.js +1 -1
  40. package/dist/cdn/foxy-donation.js +1 -1
  41. package/dist/cdn/foxy-downloadable-card.js +1 -1
  42. package/dist/cdn/foxy-downloadable-form.js +2 -2
  43. package/dist/cdn/foxy-email-template-card.js +1 -1
  44. package/dist/cdn/foxy-email-template-form.js +1 -1
  45. package/dist/cdn/foxy-error-entry-card.js +1 -1
  46. package/dist/cdn/foxy-experimental-add-to-cart-builder.js +1 -1
  47. package/dist/cdn/foxy-filter-attribute-card.js +1 -1
  48. package/dist/cdn/foxy-filter-attribute-form.js +1 -1
  49. package/dist/cdn/foxy-form-dialog.js +1 -1
  50. package/dist/cdn/foxy-generate-codes-form.js +1 -1
  51. package/dist/cdn/foxy-gift-card-card.js +1 -1
  52. package/dist/cdn/foxy-gift-card-code-card.js +1 -1
  53. package/dist/cdn/foxy-gift-card-code-form.js +1 -1
  54. package/dist/cdn/foxy-gift-card-code-log-card.js +1 -1
  55. package/dist/cdn/foxy-gift-card-codes-form.js +1 -1
  56. package/dist/cdn/foxy-gift-card-form.js +1 -1
  57. package/dist/cdn/foxy-i18n-editor.js +3 -3
  58. package/dist/cdn/foxy-i18n.js +1 -1
  59. package/dist/cdn/foxy-integration-card.js +1 -1
  60. package/dist/cdn/foxy-integration-form.js +1 -1
  61. package/dist/cdn/foxy-item-card.js +1 -1
  62. package/dist/cdn/foxy-item-category-card.js +1 -1
  63. package/dist/cdn/foxy-item-category-form.js +1 -1
  64. package/dist/cdn/foxy-item-form.js +1 -1
  65. package/dist/cdn/foxy-item-option-card.js +1 -1
  66. package/dist/cdn/foxy-item-option-form.js +1 -1
  67. package/dist/cdn/foxy-items-form.js +1 -1
  68. package/dist/cdn/foxy-native-integration-card.js +1 -1
  69. package/dist/cdn/foxy-native-integration-form.js +1 -1
  70. package/dist/cdn/foxy-nucleon-element.js +1 -1
  71. package/dist/cdn/foxy-pagination.js +1 -1
  72. package/dist/cdn/foxy-passkey-card.js +1 -1
  73. package/dist/cdn/foxy-passkey-form.js +1 -1
  74. package/dist/cdn/foxy-payment-card-embed.js +1 -1
  75. package/dist/cdn/foxy-payment-card.js +1 -1
  76. package/dist/cdn/foxy-payment-method-card.js +1 -1
  77. package/dist/cdn/foxy-payments-api-fraud-protection-card.js +1 -1
  78. package/dist/cdn/foxy-payments-api-fraud-protection-form.js +1 -1
  79. package/dist/cdn/foxy-payments-api-payment-method-card.js +1 -1
  80. package/dist/cdn/foxy-payments-api-payment-method-form.js +1 -1
  81. package/dist/cdn/foxy-payments-api-payment-preset-card.js +1 -1
  82. package/dist/cdn/foxy-payments-api-payment-preset-form.js +1 -1
  83. package/dist/cdn/foxy-payments-api.js +1 -1
  84. package/dist/cdn/foxy-query-builder.js +1 -1
  85. package/dist/cdn/foxy-report-form.js +2 -2
  86. package/dist/cdn/foxy-reports-table.js +6 -6
  87. package/dist/cdn/foxy-shipment-card.js +1 -1
  88. package/dist/cdn/foxy-shipping-container-card.js +1 -1
  89. package/dist/cdn/foxy-shipping-drop-type-card.js +1 -1
  90. package/dist/cdn/foxy-shipping-method-card.js +1 -1
  91. package/dist/cdn/foxy-shipping-service-card.js +1 -1
  92. package/dist/cdn/foxy-sign-in-form.js +1 -1
  93. package/dist/cdn/foxy-spinner.js +2 -2
  94. package/dist/cdn/foxy-store-card.js +1 -1
  95. package/dist/cdn/foxy-store-form.js +1 -1
  96. package/dist/cdn/foxy-store-shipping-method-form.js +1 -1
  97. package/dist/cdn/foxy-subscription-card.js +1 -1
  98. package/dist/cdn/foxy-subscription-form.js +1 -1
  99. package/dist/cdn/foxy-subscription-settings-form.js +1 -1
  100. package/dist/cdn/foxy-subscriptions-table.js +1 -1
  101. package/dist/cdn/foxy-table.js +1 -1
  102. package/dist/cdn/foxy-tax-card.js +1 -1
  103. package/dist/cdn/foxy-tax-form.js +1 -1
  104. package/dist/cdn/foxy-template-config-form.js +1 -1
  105. package/dist/cdn/foxy-template-form.js +1 -1
  106. package/dist/cdn/foxy-template-set-card.js +1 -1
  107. package/dist/cdn/foxy-template-set-form.js +1 -1
  108. package/dist/cdn/foxy-transaction-card.js +1 -1
  109. package/dist/cdn/foxy-transaction.js +1 -1
  110. package/dist/cdn/foxy-transactions-table.js +7 -7
  111. package/dist/cdn/foxy-update-payment-method-form.js +1 -1
  112. package/dist/cdn/foxy-user-card.js +1 -1
  113. package/dist/cdn/foxy-user-form.js +1 -1
  114. package/dist/cdn/foxy-user-invitation-card.js +1 -1
  115. package/dist/cdn/foxy-user-invitation-form.js +1 -1
  116. package/dist/cdn/foxy-users-table.js +1 -1
  117. package/dist/cdn/foxy-webhook-card.js +1 -1
  118. package/dist/cdn/foxy-webhook-form.js +1 -1
  119. package/dist/cdn/foxy-webhook-log-card.js +1 -1
  120. package/dist/cdn/foxy-webhook-status-card.js +1 -1
  121. package/dist/cdn/{shared-41208627.js → shared-02acac7f.js} +1 -1
  122. package/dist/cdn/{shared-ad60e8d1.js → shared-03b67a3d.js} +2 -2
  123. package/dist/cdn/{shared-cc4b3b42.js → shared-049295b7.js} +1 -1
  124. package/dist/cdn/{shared-2828fcbf.js → shared-0584a904.js} +1 -1
  125. package/dist/cdn/{shared-9342ca50.js → shared-0993c2f5.js} +1 -1
  126. package/dist/cdn/{shared-2aa23b5f.js → shared-0ea750af.js} +1 -1
  127. package/dist/cdn/shared-109cfbba.js +1 -0
  128. package/dist/cdn/{shared-dd303282.js → shared-10c8f21c.js} +1 -1
  129. package/dist/cdn/{shared-eb963ba3.js → shared-12973e93.js} +1 -1
  130. package/dist/cdn/{shared-9c010e0a.js → shared-12bab9de.js} +1 -1
  131. package/dist/cdn/shared-13ba9f3a.js +15 -0
  132. package/dist/cdn/{shared-fed829c2.js → shared-19b43f73.js} +1 -1
  133. package/dist/cdn/{shared-264e8301.js → shared-1af6aa1d.js} +1 -1
  134. package/dist/cdn/{shared-94716ec1.js → shared-1b627cc5.js} +1 -1
  135. package/dist/cdn/{shared-0d0585dc.js → shared-1c252319.js} +1 -1
  136. package/dist/cdn/shared-1da47f50.js +1 -0
  137. package/dist/cdn/shared-2061be9a.js +1 -0
  138. package/dist/cdn/{shared-6033e09d.js → shared-206d3153.js} +1 -1
  139. package/dist/cdn/{shared-70e6f32c.js → shared-21a445d9.js} +1 -1
  140. package/dist/cdn/{shared-9171c265.js → shared-2557c0c4.js} +1 -1
  141. package/dist/cdn/{shared-bedc5e82.js → shared-264bea6b.js} +1 -1
  142. package/dist/cdn/{shared-5f8c01f8.js → shared-2c00e6b1.js} +1 -1
  143. package/dist/cdn/{shared-1cd02e50.js → shared-2db6b377.js} +1 -1
  144. package/dist/cdn/{shared-9b9d5ff1.js → shared-2ebcaabc.js} +1 -1
  145. package/dist/cdn/{shared-4b393539.js → shared-2f17b0fa.js} +1 -1
  146. package/dist/cdn/shared-2f1ced90.js +1 -0
  147. package/dist/cdn/{shared-ffd5932d.js → shared-3558bfae.js} +1 -1
  148. package/dist/cdn/{shared-5e4a03d1.js → shared-37869bac.js} +1 -1
  149. package/dist/cdn/{shared-99a8889a.js → shared-3b4148ad.js} +1 -1
  150. package/dist/cdn/{shared-2cb397e4.js → shared-3e0b2588.js} +1 -1
  151. package/dist/cdn/{shared-567ba8ae.js → shared-3e3c5095.js} +1 -1
  152. package/dist/cdn/{shared-656a46f7.js → shared-3ffa26c1.js} +2 -2
  153. package/dist/cdn/{shared-0224f0b8.js → shared-457789d7.js} +1 -1
  154. package/dist/cdn/{shared-e88763ec.js → shared-5700fbfd.js} +1 -1
  155. package/dist/cdn/shared-5905fca4.js +1 -0
  156. package/dist/cdn/{shared-cae7a43b.js → shared-5aacbf1f.js} +1 -1
  157. package/dist/cdn/{shared-6962f117.js → shared-6540a584.js} +1 -1
  158. package/dist/cdn/shared-65b2760f.js +1 -0
  159. package/dist/cdn/{shared-a507d54f.js → shared-68d1075b.js} +4 -4
  160. package/dist/cdn/{shared-89d4000a.js → shared-6a65acb4.js} +1 -1
  161. package/dist/cdn/{shared-d7d949bc.js → shared-6ebe5ef5.js} +1 -1
  162. package/dist/cdn/{shared-a6c75cc0.js → shared-6eebe353.js} +2 -2
  163. package/dist/cdn/{shared-9dc36194.js → shared-74a5f2a4.js} +1 -1
  164. package/dist/cdn/{shared-e2d3c014.js → shared-76c608e2.js} +1 -1
  165. package/dist/cdn/shared-7b5bdf0e.js +1 -0
  166. package/dist/cdn/{shared-673d668a.js → shared-7dc40542.js} +1 -1
  167. package/dist/cdn/shared-7fec42f2.js +15 -0
  168. package/dist/cdn/{shared-dc4d2996.js → shared-80dafe85.js} +1 -1
  169. package/dist/cdn/{shared-44b46fef.js → shared-8259d01b.js} +1 -1
  170. package/dist/cdn/shared-88a59a2e.js +1 -0
  171. package/dist/cdn/{shared-4dd24dda.js → shared-8b0d25e5.js} +1 -1
  172. package/dist/cdn/{shared-c502de27.js → shared-8dd6f543.js} +1 -1
  173. package/dist/cdn/{shared-8a0bd046.js → shared-9006bac2.js} +1 -1
  174. package/dist/cdn/{shared-d68c6616.js → shared-90a8d5cf.js} +1 -1
  175. package/dist/cdn/{shared-4cafa2e7.js → shared-9363a954.js} +1 -1
  176. package/dist/cdn/{shared-c832f3a1.js → shared-944fab16.js} +1 -1
  177. package/dist/cdn/shared-998c0ace.js +1 -0
  178. package/dist/cdn/{shared-6b3fed56.js → shared-a3234358.js} +1 -1
  179. package/dist/cdn/{shared-bb6d7b97.js → shared-a715e3e5.js} +1 -1
  180. package/dist/cdn/{shared-74d599dc.js → shared-aab4ed2b.js} +1 -1
  181. package/dist/cdn/{shared-a4216b50.js → shared-ab0bbad5.js} +1 -1
  182. package/dist/cdn/{shared-8ea2bbcc.js → shared-aedaf182.js} +1 -1
  183. package/dist/cdn/{shared-274dec57.js → shared-b2bd7666.js} +1 -1
  184. package/dist/cdn/{shared-b1435a0a.js → shared-bdbdf963.js} +1 -1
  185. package/dist/cdn/shared-be30b940.js +1 -0
  186. package/dist/cdn/{shared-e6a1eef8.js → shared-be7af87f.js} +1 -1
  187. package/dist/cdn/{shared-5afb584d.js → shared-c782b9fa.js} +1 -1
  188. package/dist/cdn/{shared-7fd51889.js → shared-cd0ae051.js} +3 -3
  189. package/dist/cdn/{shared-8f009bbb.js → shared-cd3cfea5.js} +1 -1
  190. package/dist/cdn/{shared-7594e563.js → shared-d6a0954b.js} +1 -1
  191. package/dist/cdn/shared-da95bb48.js +1 -0
  192. package/dist/cdn/{shared-87b93771.js → shared-dd7e85be.js} +1 -1
  193. package/dist/cdn/{shared-aa6dab90.js → shared-ddda911c.js} +2 -2
  194. package/dist/cdn/shared-e1e4d8f5.js +1 -0
  195. package/dist/cdn/{shared-2f8e53c0.js → shared-e52d2fdd.js} +1 -1
  196. package/dist/cdn/{shared-66201dc5.js → shared-ee689ddc.js} +1 -1
  197. package/dist/cdn/{shared-678beccf.js → shared-f497cd69.js} +3 -3
  198. package/dist/cdn/shared-f4be6924.js +40 -0
  199. package/dist/cdn/shared-f8e1143e.js +1 -0
  200. package/dist/cdn/translations/cart-form/en.json +42 -41
  201. package/dist/cdn/translations/coupon-form/en.json +38 -26
  202. package/dist/cdn/translations/customer/en.json +14 -17
  203. package/dist/cdn/translations/filter-attribute-form/en.json +19 -14
  204. package/dist/cdn/translations/gift-card-code-form/en.json +14 -16
  205. package/dist/cdn/translations/gift-card-form/en.json +33 -32
  206. package/dist/cdn/translations/payment-method-card/en.json +14 -17
  207. package/dist/cdn/translations/query-builder/en.json +15 -13
  208. package/dist/cdn/translations/update-payment-method-form/en.json +14 -17
  209. package/dist/elements/internal/InternalAsyncListControl/InternalAsyncListControlFilterOverlay.js +1 -1
  210. package/dist/elements/internal/InternalAsyncListControl/InternalAsyncListControlFilterOverlay.js.map +1 -1
  211. package/dist/elements/internal/InternalNumberControl/InternalNumberControl.js +9 -10
  212. package/dist/elements/internal/InternalNumberControl/InternalNumberControl.js.map +1 -1
  213. package/dist/elements/internal/InternalSummaryControl/InternalSummaryControl.js +1 -1
  214. package/dist/elements/internal/InternalSummaryControl/InternalSummaryControl.js.map +1 -1
  215. package/dist/elements/public/CouponForm/CouponForm.js +4 -4
  216. package/dist/elements/public/CouponForm/CouponForm.js.map +1 -1
  217. package/dist/elements/public/Donation/Donation.d.ts +10 -0
  218. package/dist/elements/public/Donation/Donation.js +2 -0
  219. package/dist/elements/public/Donation/Donation.js.map +1 -1
  220. package/dist/elements/public/FilterAttributeForm/FilterAttributeForm.d.ts +2 -2
  221. package/dist/elements/public/FilterAttributeForm/FilterAttributeForm.js +71 -25
  222. package/dist/elements/public/FilterAttributeForm/FilterAttributeForm.js.map +1 -1
  223. package/dist/elements/public/FilterAttributeForm/index.d.ts +2 -2
  224. package/dist/elements/public/FilterAttributeForm/index.js +2 -2
  225. package/dist/elements/public/FilterAttributeForm/index.js.map +1 -1
  226. package/dist/elements/public/GiftCardForm/GiftCardForm.js +5 -5
  227. package/dist/elements/public/GiftCardForm/GiftCardForm.js.map +1 -1
  228. package/dist/elements/public/QueryBuilder/QueryBuilder.d.ts +15 -6
  229. package/dist/elements/public/QueryBuilder/QueryBuilder.js +152 -32
  230. package/dist/elements/public/QueryBuilder/QueryBuilder.js.map +1 -1
  231. package/dist/elements/public/QueryBuilder/components/AdvancedGroup.d.ts +16 -0
  232. package/dist/elements/public/QueryBuilder/components/AdvancedGroup.js +78 -0
  233. package/dist/elements/public/QueryBuilder/components/AdvancedGroup.js.map +1 -0
  234. package/dist/elements/public/QueryBuilder/components/AdvancedInput.d.ts +12 -0
  235. package/dist/elements/public/QueryBuilder/components/AdvancedInput.js +49 -0
  236. package/dist/elements/public/QueryBuilder/components/AdvancedInput.js.map +1 -0
  237. package/dist/elements/public/QueryBuilder/components/AdvancedOperatorToggle.d.ts +14 -0
  238. package/dist/elements/public/QueryBuilder/components/AdvancedOperatorToggle.js +41 -0
  239. package/dist/elements/public/QueryBuilder/components/AdvancedOperatorToggle.js.map +1 -0
  240. package/dist/elements/public/QueryBuilder/components/AdvancedRule.d.ts +18 -0
  241. package/dist/elements/public/QueryBuilder/components/{Rule.js → AdvancedRule.js} +50 -59
  242. package/dist/elements/public/QueryBuilder/components/AdvancedRule.js.map +1 -0
  243. package/dist/elements/public/QueryBuilder/components/SimpleAttributeRule.d.ts +2 -0
  244. package/dist/elements/public/QueryBuilder/components/SimpleAttributeRule.js +78 -0
  245. package/dist/elements/public/QueryBuilder/components/SimpleAttributeRule.js.map +1 -0
  246. package/dist/elements/public/QueryBuilder/components/SimpleBooleanRule.d.ts +2 -0
  247. package/dist/elements/public/QueryBuilder/components/SimpleBooleanRule.js +16 -0
  248. package/dist/elements/public/QueryBuilder/components/SimpleBooleanRule.js.map +1 -0
  249. package/dist/elements/public/QueryBuilder/components/SimpleDateRule.d.ts +2 -0
  250. package/dist/elements/public/QueryBuilder/components/SimpleDateRule.js +111 -0
  251. package/dist/elements/public/QueryBuilder/components/SimpleDateRule.js.map +1 -0
  252. package/dist/elements/public/QueryBuilder/components/SimpleGroup.d.ts +14 -0
  253. package/dist/elements/public/QueryBuilder/components/SimpleGroup.js +111 -0
  254. package/dist/elements/public/QueryBuilder/components/SimpleGroup.js.map +1 -0
  255. package/dist/elements/public/QueryBuilder/components/SimpleInput.d.ts +15 -0
  256. package/dist/elements/public/QueryBuilder/components/SimpleInput.js +43 -0
  257. package/dist/elements/public/QueryBuilder/components/SimpleInput.js.map +1 -0
  258. package/dist/elements/public/QueryBuilder/components/SimpleListRule.d.ts +2 -0
  259. package/dist/elements/public/QueryBuilder/components/SimpleListRule.js +45 -0
  260. package/dist/elements/public/QueryBuilder/components/SimpleListRule.js.map +1 -0
  261. package/dist/elements/public/QueryBuilder/components/SimpleNumberRule.d.ts +2 -0
  262. package/dist/elements/public/QueryBuilder/components/SimpleNumberRule.js +100 -0
  263. package/dist/elements/public/QueryBuilder/components/SimpleNumberRule.js.map +1 -0
  264. package/dist/elements/public/QueryBuilder/components/SimpleSelect.d.ts +24 -0
  265. package/dist/elements/public/QueryBuilder/components/SimpleSelect.js +45 -0
  266. package/dist/elements/public/QueryBuilder/components/SimpleSelect.js.map +1 -0
  267. package/dist/elements/public/QueryBuilder/components/SimpleStringRule.d.ts +2 -0
  268. package/dist/elements/public/QueryBuilder/components/SimpleStringRule.js +46 -0
  269. package/dist/elements/public/QueryBuilder/components/SimpleStringRule.js.map +1 -0
  270. package/dist/elements/public/QueryBuilder/icons/field.d.ts +1 -0
  271. package/dist/elements/public/QueryBuilder/icons/{typeAny.js → field.js} +2 -2
  272. package/dist/elements/public/QueryBuilder/icons/field.js.map +1 -0
  273. package/dist/elements/public/QueryBuilder/icons/index.d.ts +1 -6
  274. package/dist/elements/public/QueryBuilder/icons/index.js +1 -6
  275. package/dist/elements/public/QueryBuilder/icons/index.js.map +1 -1
  276. package/dist/elements/public/QueryBuilder/index.d.ts +2 -0
  277. package/dist/elements/public/QueryBuilder/index.js +2 -0
  278. package/dist/elements/public/QueryBuilder/index.js.map +1 -1
  279. package/dist/elements/public/QueryBuilder/styles.js +23 -0
  280. package/dist/elements/public/QueryBuilder/styles.js.map +1 -1
  281. package/dist/elements/public/QueryBuilder/types.d.ts +24 -6
  282. package/dist/elements/public/QueryBuilder/types.js.map +1 -1
  283. package/dist/elements/public/QueryBuilder/utils/parse.d.ts +2 -2
  284. package/dist/elements/public/QueryBuilder/utils/parse.js.map +1 -1
  285. package/dist/elements/public/QueryBuilder/utils/stringify.d.ts +2 -2
  286. package/dist/elements/public/QueryBuilder/utils/stringify.js.map +1 -1
  287. package/dist/elements/public/TaxForm/TaxForm.js +5 -4
  288. package/dist/elements/public/TaxForm/TaxForm.js.map +1 -1
  289. package/dist/mixins/themeable.js +17 -12
  290. package/dist/mixins/themeable.js.map +1 -1
  291. package/package.json +1 -1
  292. package/dist/cdn/shared-0aedd809.js +0 -1
  293. package/dist/cdn/shared-2f5cc0e2.js +0 -1
  294. package/dist/cdn/shared-343d1fd7.js +0 -1
  295. package/dist/cdn/shared-4a38cb3e.js +0 -1
  296. package/dist/cdn/shared-4c764a91.js +0 -1
  297. package/dist/cdn/shared-5592ec6e.js +0 -1
  298. package/dist/cdn/shared-5ef40e86.js +0 -1
  299. package/dist/cdn/shared-79d0699c.js +0 -1
  300. package/dist/cdn/shared-894c69f8.js +0 -1
  301. package/dist/cdn/shared-97e2abfb.js +0 -1
  302. package/dist/cdn/shared-b6f53f3b.js +0 -64
  303. package/dist/cdn/shared-c31c50e2.js +0 -1
  304. package/dist/cdn/shared-cb58dfcd.js +0 -15
  305. package/dist/cdn/shared-d0363ae9.js +0 -1
  306. package/dist/cdn/shared-ef4ad461.js +0 -1
  307. package/dist/cdn/shared-f7bfb29e.js +0 -15
  308. package/dist/cdn/shared-f83207fb.js +0 -1
  309. package/dist/elements/public/FilterAttributeForm/internal/InternalFilterAttributeFormActionControl/InternalFilterAttributeFormActionControl.d.ts +0 -5
  310. package/dist/elements/public/FilterAttributeForm/internal/InternalFilterAttributeFormActionControl/InternalFilterAttributeFormActionControl.js +0 -34
  311. package/dist/elements/public/FilterAttributeForm/internal/InternalFilterAttributeFormActionControl/InternalFilterAttributeFormActionControl.js.map +0 -1
  312. package/dist/elements/public/FilterAttributeForm/internal/InternalFilterAttributeFormActionControl/index.d.ts +0 -5
  313. package/dist/elements/public/FilterAttributeForm/internal/InternalFilterAttributeFormActionControl/index.js +0 -7
  314. package/dist/elements/public/FilterAttributeForm/internal/InternalFilterAttributeFormActionControl/index.js.map +0 -1
  315. package/dist/elements/public/QueryBuilder/components/BooleanValue.d.ts +0 -12
  316. package/dist/elements/public/QueryBuilder/components/BooleanValue.js +0 -21
  317. package/dist/elements/public/QueryBuilder/components/BooleanValue.js.map +0 -1
  318. package/dist/elements/public/QueryBuilder/components/Group.d.ts +0 -15
  319. package/dist/elements/public/QueryBuilder/components/Group.js +0 -95
  320. package/dist/elements/public/QueryBuilder/components/Group.js.map +0 -1
  321. package/dist/elements/public/QueryBuilder/components/Input.d.ts +0 -18
  322. package/dist/elements/public/QueryBuilder/components/Input.js +0 -98
  323. package/dist/elements/public/QueryBuilder/components/Input.js.map +0 -1
  324. package/dist/elements/public/QueryBuilder/components/IsDefinedValue.d.ts +0 -11
  325. package/dist/elements/public/QueryBuilder/components/IsDefinedValue.js +0 -16
  326. package/dist/elements/public/QueryBuilder/components/IsDefinedValue.js.map +0 -1
  327. package/dist/elements/public/QueryBuilder/components/ListValue.d.ts +0 -12
  328. package/dist/elements/public/QueryBuilder/components/ListValue.js +0 -48
  329. package/dist/elements/public/QueryBuilder/components/ListValue.js.map +0 -1
  330. package/dist/elements/public/QueryBuilder/components/Name.d.ts +0 -11
  331. package/dist/elements/public/QueryBuilder/components/Name.js +0 -14
  332. package/dist/elements/public/QueryBuilder/components/Name.js.map +0 -1
  333. package/dist/elements/public/QueryBuilder/components/OperatorToggle.d.ts +0 -13
  334. package/dist/elements/public/QueryBuilder/components/OperatorToggle.js +0 -63
  335. package/dist/elements/public/QueryBuilder/components/OperatorToggle.js.map +0 -1
  336. package/dist/elements/public/QueryBuilder/components/Path.d.ts +0 -13
  337. package/dist/elements/public/QueryBuilder/components/Path.js +0 -16
  338. package/dist/elements/public/QueryBuilder/components/Path.js.map +0 -1
  339. package/dist/elements/public/QueryBuilder/components/RangeValue.d.ts +0 -12
  340. package/dist/elements/public/QueryBuilder/components/RangeValue.js +0 -47
  341. package/dist/elements/public/QueryBuilder/components/RangeValue.js.map +0 -1
  342. package/dist/elements/public/QueryBuilder/components/Rule.d.ts +0 -18
  343. package/dist/elements/public/QueryBuilder/components/Rule.js.map +0 -1
  344. package/dist/elements/public/QueryBuilder/components/Select.d.ts +0 -16
  345. package/dist/elements/public/QueryBuilder/components/Select.js +0 -86
  346. package/dist/elements/public/QueryBuilder/components/Select.js.map +0 -1
  347. package/dist/elements/public/QueryBuilder/components/SingleValue.d.ts +0 -12
  348. package/dist/elements/public/QueryBuilder/components/SingleValue.js +0 -21
  349. package/dist/elements/public/QueryBuilder/components/SingleValue.js.map +0 -1
  350. package/dist/elements/public/QueryBuilder/icons/typeAny.d.ts +0 -1
  351. package/dist/elements/public/QueryBuilder/icons/typeAny.js.map +0 -1
  352. package/dist/elements/public/QueryBuilder/icons/typeAttribute.d.ts +0 -1
  353. package/dist/elements/public/QueryBuilder/icons/typeAttribute.js +0 -8
  354. package/dist/elements/public/QueryBuilder/icons/typeAttribute.js.map +0 -1
  355. package/dist/elements/public/QueryBuilder/icons/typeBoolean.d.ts +0 -1
  356. package/dist/elements/public/QueryBuilder/icons/typeBoolean.js +0 -10
  357. package/dist/elements/public/QueryBuilder/icons/typeBoolean.js.map +0 -1
  358. package/dist/elements/public/QueryBuilder/icons/typeDate.d.ts +0 -1
  359. package/dist/elements/public/QueryBuilder/icons/typeDate.js +0 -7
  360. package/dist/elements/public/QueryBuilder/icons/typeDate.js.map +0 -1
  361. package/dist/elements/public/QueryBuilder/icons/typeNumber.d.ts +0 -1
  362. package/dist/elements/public/QueryBuilder/icons/typeNumber.js +0 -7
  363. package/dist/elements/public/QueryBuilder/icons/typeNumber.js.map +0 -1
  364. package/dist/elements/public/QueryBuilder/icons/typeString.d.ts +0 -1
  365. package/dist/elements/public/QueryBuilder/icons/typeString.js +0 -7
  366. package/dist/elements/public/QueryBuilder/icons/typeString.js.map +0 -1
@@ -0,0 +1 @@
1
+ import{p as t,q as e,s as n,u as i,v as r,w as s,x as o,y as a,z as h,C as c,D as u,E as d,G as l,H as f,I as p,J as v,K as y,L as w,M as x,N as b,O as m,P as g,Q as E,S,T,U as L,V as _,W as O,X as k,Y as C,Z as N,$ as M,a0 as z,a1 as D,a2 as P,a3 as I,a4 as R}from"./shared-7fec42f2.js";var q={deferEvents:!1},J=function(){function e(e){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=t(t({},q),e)}return e.prototype.initialize=function(t){if(this.initialized=!0,t){if(!this.options.deferEvents)return void this.schedule(t);this.process(t)}this.flushEvents()},e.prototype.schedule=function(t){if(this.initialized&&!this.processingEvent){if(0!==this.queue.length)throw new Error("Event queue should be empty when it is not processing events");this.process(t),this.flushEvents()}else this.queue.push(t)},e.prototype.clear=function(){this.queue=[]},e.prototype.flushEvents=function(){for(var t=this.queue.shift();t;)this.process(t),t=this.queue.shift()},e.prototype.process=function(t){this.processingEvent=!0;try{t()}catch(t){throw this.clear(),t}finally{this.processingEvent=!1}},e}(),U=new Map,j=0,F=function(){return"x:"+j++},X=function(t,e){return U.set(t,e),t},A=function(t){return U.get(t)},V=function(t){U.delete(t)};function G(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0}var H,K={sync:!1,autoForward:!1};!function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"}(H||(H={}));var Q=function(){function q(e,n){var i=this;void 0===n&&(n=q.defaultOptions),this.machine=e,this.scheduler=new J,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=H.NotStarted,this.children=new Map,this.forwardTo=new Set,this.init=this.start,this.send=function(t,e){if(_(t))return i.batch(t),i.state;var n=c(O(t,e));if(i.status===H.Stopped)return i.state;if(i.status!==H.Running&&!i.options.deferEvents)throw new Error('Event "'+n.name+'" was sent to uninitialized service "'+i.machine.id+'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.\nEvent: '+JSON.stringify(n.data));return i.scheduler.schedule((function(){i.forward(n);var t=i.nextState(n);i.update(t,n)})),i._state},this.sendTo=function(e,n){var r=i.parent&&(n===k.Parent||i.parent.id===n),s=r?i.parent:C(n)?i.children.get(n)||A(n):N(n)?n:void 0;if(s)"machine"in s?s.send(t(t({},e),{name:e.name===M?""+T(i.id):e.name,origin:i.sessionId})):s.send(e.data);else if(!r)throw new Error("Unable to send event to child '"+n+"' from service '"+i.id+"'.")};var r=t(t({},q.defaultOptions),n),s=r.clock,o=r.logger,a=r.parent,h=r.id,u=void 0!==h?h:e.id;this.id=u,this.logger=o,this.clock=s,this.parent=a,this.options=r,this.scheduler=new J({deferEvents:this.options.deferEvents}),this.sessionId=F()}return Object.defineProperty(q.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:s(this,(function(){return t._initialState=t.machine.initialState,t._initialState}))},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),q.prototype.execute=function(t,n){var i,r;try{for(var s=e(t.actions),o=s.next();!o.done;o=s.next()){var a=o.value;this.exec(a,t,n)}}catch(t){i={error:t}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}},q.prototype.update=function(t,s){var o,a,h,c,u,d,l,f,p=this;if(t._sessionid=this.sessionId,this._state=t,this.options.execute&&this.execute(this.state),this.children.forEach((function(t){p.state.children[t.id]=t})),this.devTools&&this.devTools.send(s.data,t),t.event)try{for(var v=e(this.eventListeners),y=v.next();!y.done;y=v.next()){(0,y.value)(t.event)}}catch(t){o={error:t}}finally{try{y&&!y.done&&(a=v.return)&&a.call(v)}finally{if(o)throw o.error}}try{for(var w=e(this.listeners),x=w.next();!x.done;x=w.next()){(0,x.value)(t,t.event)}}catch(t){h={error:t}}finally{try{x&&!x.done&&(c=w.return)&&c.call(w)}finally{if(h)throw h.error}}try{for(var b=e(this.contextListeners),m=b.next();!m.done;m=b.next()){(0,m.value)(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(t){u={error:t}}finally{try{m&&!m.done&&(d=b.return)&&d.call(b)}finally{if(u)throw u.error}}var g=n(t.configuration||[],this.machine);if(this.state.configuration&&g){var E=t.configuration.find((function(t){return"final"===t.type&&t.parent===p.machine})),S=E&&E.doneData?i(E.doneData,t.context,s):void 0;try{for(var T=e(this.doneListeners),L=T.next();!L.done;L=T.next()){(0,L.value)(r(this.id,S))}}catch(t){l={error:t}}finally{try{L&&!L.done&&(f=T.return)&&f.call(T)}finally{if(l)throw l.error}}this.stop()}},q.prototype.onTransition=function(t){return this.listeners.add(t),this.status===H.Running&&t(this.state,this.state.event),this},q.prototype.subscribe=function(t,e,n){var i,r=this;if(!t)return{unsubscribe:function(){}};var s=n;return"function"==typeof t?i=t:(i=t.next.bind(t),s=t.complete.bind(t)),this.listeners.add(i),this.status===H.Running&&i(this.state),s&&this.onDone(s),{unsubscribe:function(){i&&r.listeners.delete(i),s&&r.doneListeners.delete(s)}}},q.prototype.onEvent=function(t){return this.eventListeners.add(t),this},q.prototype.onSend=function(t){return this.sendListeners.add(t),this},q.prototype.onChange=function(t){return this.contextListeners.add(t),this},q.prototype.onStop=function(t){return this.stopListeners.add(t),this},q.prototype.onDone=function(t){return this.doneListeners.add(t),this},q.prototype.off=function(t){return this.listeners.delete(t),this.eventListeners.delete(t),this.sendListeners.delete(t),this.stopListeners.delete(t),this.doneListeners.delete(t),this.contextListeners.delete(t),this},q.prototype.start=function(t){var e=this;if(this.status===H.Running)return this;X(this.sessionId,this),this.initialized=!0,this.status=H.Running;var n=void 0===t?this.initialState:s(this,(function(){return z(t)?e.machine.resolveState(t):e.machine.resolveState(D.from(t,e.machine.context))}));return this.options.devTools&&this.attachDev(),this.scheduler.initialize((function(){e.update(n,o)})),this},q.prototype.stop=function(){var t,n,i,r,s,o,c,u,d,l,f=this;try{for(var p=e(this.listeners),v=p.next();!v.done;v=p.next()){var y=v.value;this.listeners.delete(y)}}catch(e){t={error:e}}finally{try{v&&!v.done&&(n=p.return)&&n.call(p)}finally{if(t)throw t.error}}try{for(var w=e(this.stopListeners),x=w.next();!x.done;x=w.next()){(y=x.value)(),this.stopListeners.delete(y)}}catch(t){i={error:t}}finally{try{x&&!x.done&&(r=w.return)&&r.call(w)}finally{if(i)throw i.error}}try{for(var b=e(this.contextListeners),m=b.next();!m.done;m=b.next()){y=m.value;this.contextListeners.delete(y)}}catch(t){s={error:t}}finally{try{m&&!m.done&&(o=b.return)&&o.call(b)}finally{if(s)throw s.error}}try{for(var g=e(this.doneListeners),E=g.next();!E.done;E=g.next()){y=E.value;this.doneListeners.delete(y)}}catch(t){c={error:t}}finally{try{E&&!E.done&&(u=g.return)&&u.call(g)}finally{if(c)throw c.error}}this.state.configuration.forEach((function(t){var n,i;try{for(var r=e(t.definition.exit),s=r.next();!s.done;s=r.next()){var o=s.value;f.exec(o,f.state)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}})),this.children.forEach((function(t){a(t.stop)&&t.stop()}));try{for(var S=e(h(this.delayedEventsMap)),T=S.next();!T.done;T=S.next()){var L=T.value;this.clock.clearTimeout(this.delayedEventsMap[L])}}catch(t){d={error:t}}finally{try{T&&!T.done&&(l=S.return)&&l.call(S)}finally{if(d)throw d.error}}return this.scheduler.clear(),this.initialized=!1,this.status=H.Stopped,V(this.sessionId),this},q.prototype.batch=function(t){var n=this;if(this.status===H.NotStarted&&this.options.deferEvents);else if(this.status!==H.Running)throw new Error(t.length+' event(s) were sent to uninitialized service "'+this.machine.id+'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.');this.scheduler.schedule((function(){var i,r,o=n.state,a=!1,h=[],u=function(t){var e=c(t);n.forward(e),o=s(n,(function(){return n.machine.transition(o,e)})),h.push.apply(h,P(o.actions.map((function(t){return I(t,o)})))),a=a||!!o.changed};try{for(var d=e(t),l=d.next();!l.done;l=d.next()){u(l.value)}}catch(t){i={error:t}}finally{try{l&&!l.done&&(r=d.return)&&r.call(d)}finally{if(i)throw i.error}}o.changed=a,o.actions=h,n.update(o,c(t[t.length-1]))}))},q.prototype.sender=function(t){return this.send.bind(this,t)},q.prototype.nextState=function(t){var e=this,n=c(t);if(0===n.name.indexOf(u)&&!this.state.nextEvents.some((function(t){return 0===t.indexOf(u)})))throw n.data.data;return s(this,(function(){return e.machine.transition(e.state,n)}))},q.prototype.forward=function(t){var n,i;try{for(var r=e(this.forwardTo),s=r.next();!s.done;s=r.next()){var o=s.value,a=this.children.get(o);if(!a)throw new Error("Unable to forward event '"+t+"' from interpreter '"+this.id+"' to nonexistant child '"+o+"'.");a.send(t)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}},q.prototype.defer=function(t){var e=this;this.delayedEventsMap[t.id]=this.clock.setTimeout((function(){t.to?e.sendTo(t._event,t.to):e.send(t._event)}),t.delay)},q.prototype.cancel=function(t){this.clock.clearTimeout(this.delayedEventsMap[t]),delete this.delayedEventsMap[t]},q.prototype.exec=function(t,e,n){void 0===n&&(n=this.machine.options.actions);var r=e.context,s=e._event,o=t.exec||d(t.type,n),h=a(o)?o:o?o.exec:t.exec;if(h)try{return h(r,s.data,{action:t,state:this.state,_event:s})}catch(t){throw this.parent&&this.parent.send({type:"xstate.error",data:t}),t}switch(t.type){case g:var c=t;if("number"==typeof c.delay)return void this.defer(c);c.to?this.sendTo(c._event,c.to):this.send(c._event);break;case m:this.cancel(t.sendId);break;case p:var u=t.activity;if(!this.state.activities[u.id||u.type])break;if(u.type===v.Invoke){var E=y(u.src),S=this.machine.options.services?this.machine.options.services[E.type]:void 0,T=u.id,L=u.data,_="autoForward"in u?u.autoForward:!!u.forward;if(!S)return;var O=L?i(L,r,s):void 0,k=a(S)?S(r,s.data,{data:O,src:E}):S;w(k)?this.spawnPromise(Promise.resolve(k),T):a(k)?this.spawnCallback(k,T):x(k)?this.spawnObservable(k,T):b(k)&&this.spawnMachine(O?k.withContext(O):k,{id:T,autoForward:_})}else this.spawnActivity(u);break;case f:this.stopChild(t.activity.id);break;case l:var C=t.label,N=t.value;C?this.logger(C,N):this.logger(N)}},q.prototype.removeChild=function(t){this.children.delete(t),this.forwardTo.delete(t),delete this.state.children[t]},q.prototype.stopChild=function(t){var e=this.children.get(t);e&&(this.removeChild(t),a(e.stop)&&e.stop())},q.prototype.spawn=function(e,n,i){if(w(e))return this.spawnPromise(Promise.resolve(e),n);if(a(e))return this.spawnCallback(e,n);if(E(e))return this.spawnActor(e);if(x(e))return this.spawnObservable(e,n);if(b(e))return this.spawnMachine(e,t(t({},i),{id:n}));throw new Error('Unable to spawn entity "'+n+'" of type "'+typeof e+'".')},q.prototype.spawnMachine=function(e,n){var i=this;void 0===n&&(n={});var r=new q(e,t(t({},this.options),{parent:this,id:n.id||e.id})),s=t(t({},K),n);s.sync&&r.onTransition((function(t){i.send(S,{state:t,id:r.id})}));var o=r;return this.children.set(r.id,o),s.autoForward&&this.forwardTo.add(r.id),r.onDone((function(t){i.removeChild(r.id),i.send(c(t,{origin:r.id}))})).start(),o},q.prototype.spawnPromise=function(t,e){var n=this,i=!1;t.then((function(t){i||(n.removeChild(e),n.send(c(r(e,t),{origin:e})))}),(function(t){if(!i){n.removeChild(e);var r=T(e,t);try{n.send(c(r,{origin:e}))}catch(t){n.devTools&&n.devTools.send(r,n.state),n.machine.strict&&n.stop()}}}));var s={id:e,send:function(){},subscribe:function(e,n,i){var r=R(e,n,i),s=!1;return t.then((function(t){s||(r.next(t),s||r.complete())}),(function(t){s||r.error(t)})),{unsubscribe:function(){return s=!0}}},stop:function(){i=!0},toJSON:function(){return{id:e}}};return this.children.set(e,s),s},q.prototype.spawnCallback=function(t,e){var n,i=this,r=!1,s=new Set,o=new Set;try{n=t((function(t){o.forEach((function(e){return e(t)})),r||i.send(c(t,{origin:e}))}),(function(t){s.add(t)}))}catch(t){this.send(T(e,t))}if(w(n))return this.spawnPromise(n,e);var h={id:e,send:function(t){return s.forEach((function(e){return e(t)}))},subscribe:function(t){return o.add(t),{unsubscribe:function(){o.delete(t)}}},stop:function(){r=!0,a(n)&&n()},toJSON:function(){return{id:e}}};return this.children.set(e,h),h},q.prototype.spawnObservable=function(t,e){var n=this,i=t.subscribe((function(t){n.send(c(t,{origin:e}))}),(function(t){n.removeChild(e),n.send(c(T(e,t),{origin:e}))}),(function(){n.removeChild(e),n.send(c(r(e),{origin:e}))})),s={id:e,send:function(){},subscribe:function(e,n,i){return t.subscribe(e,n,i)},stop:function(){return i.unsubscribe()},toJSON:function(){return{id:e}}};return this.children.set(e,s),s},q.prototype.spawnActor=function(t){return this.children.set(t.id,t),t},q.prototype.spawnActivity=function(t){var e=this.machine.options&&this.machine.options.activities?this.machine.options.activities[t.type]:void 0;if(e){var n=e(this.state.context,t);this.spawnEffect(t.id,n)}},q.prototype.spawnEffect=function(t,e){this.children.set(t,{id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:e||void 0,toJSON:function(){return{id:t}}})},q.prototype.attachDev=function(){var e=G();if(this.options.devTools&&e&&e.__REDUX_DEVTOOLS_EXTENSION__){var n="object"==typeof this.options.devTools?this.options.devTools:void 0;this.devTools=e.__REDUX_DEVTOOLS_EXTENSION__.connect(t(t({name:this.id,autoPause:!0,stateSanitizer:function(t){return{value:t.value,context:t.context,actions:t.actions}}},n),{features:t({jump:!1,skip:!1},n?n.features:void 0)}),this.machine),this.devTools.init(this.state)}},q.prototype.toJSON=function(){return{id:this.id}},q.prototype[L]=function(){return this},q.defaultOptions=function(t){return{execute:!0,deferEvents:!0,clock:{setTimeout:function(t,e){return setTimeout(t,e)},clearTimeout:function(t){return clearTimeout(t)}},logger:t.console.log.bind(console),devTools:!1}}("undefined"!=typeof self?self:global),q.interpret=W,q}();function W(t,e){return new Q(t,e)}export{W as i};
@@ -1 +1 @@
1
- import"./shared-1cd02e50.js";import"./shared-2f5cc0e2.js";import{_ as t}from"./shared-cb58dfcd.js";import{h as e}from"./shared-ba5c42c7.js";import{D as s}from"./shared-c31c50e2.js";let i,n=t=>t;customElements.define("foxy-internal-confirm-dialog",class extends s{constructor(){super(...arguments),this.closable=!1,this.editable=!1,this.alert=!0,this.messageOptions={},this.confirm="confirm",this.message="message",this.cancel="cancel",this.theme="primary"}static get properties(){return t(t({},super.properties),{},{messageOptions:{type:Object,attribute:"message-options"},confirm:{type:String},message:{type:String},cancel:{type:String},theme:{type:String}})}render(){return super.render((()=>e(i||(i=n` <foxy-i18n class="block font-lumo text-m text-body text-center mb-m" lang="${0}" key="${0}" ns="${0}" .options="${0}"> </foxy-i18n> <div class="grid grid-cols-2 gap-m"> <vaadin-button data-testid="cancelButton" @click="${0}"> <foxy-i18n ns="${0}" lang="${0}" key="${0}"></foxy-i18n> </vaadin-button> <vaadin-button theme="${0}" data-testid="confirmButton" @click="${0}"> <foxy-i18n ns="${0}" lang="${0}" key="${0}"></foxy-i18n> </vaadin-button> </div> `),this.lang,this.message,this.ns,this.messageOptions,this.__handleCancel,this.ns,this.lang,this.cancel,this.theme,this.__handleConfirm,this.ns,this.lang,this.confirm)))}async __handleCancel(){await this.hide(!0)}async __handleConfirm(){await this.hide()}});
1
+ import"./shared-2db6b377.js";import"./shared-7b5bdf0e.js";import{_ as t}from"./shared-7fec42f2.js";import{h as e}from"./shared-ba5c42c7.js";import{D as s}from"./shared-998c0ace.js";let i,n=t=>t;customElements.define("foxy-internal-confirm-dialog",class extends s{constructor(){super(...arguments),this.closable=!1,this.editable=!1,this.alert=!0,this.messageOptions={},this.confirm="confirm",this.message="message",this.cancel="cancel",this.theme="primary"}static get properties(){return t(t({},super.properties),{},{messageOptions:{type:Object,attribute:"message-options"},confirm:{type:String},message:{type:String},cancel:{type:String},theme:{type:String}})}render(){return super.render((()=>e(i||(i=n` <foxy-i18n class="block font-lumo text-m text-body text-center mb-m" lang="${0}" key="${0}" ns="${0}" .options="${0}"> </foxy-i18n> <div class="grid grid-cols-2 gap-m"> <vaadin-button data-testid="cancelButton" @click="${0}"> <foxy-i18n ns="${0}" lang="${0}" key="${0}"></foxy-i18n> </vaadin-button> <vaadin-button theme="${0}" data-testid="confirmButton" @click="${0}"> <foxy-i18n ns="${0}" lang="${0}" key="${0}"></foxy-i18n> </vaadin-button> </div> `),this.lang,this.message,this.ns,this.messageOptions,this.__handleCancel,this.ns,this.lang,this.cancel,this.theme,this.__handleConfirm,this.ns,this.lang,this.confirm)))}async __handleCancel(){await this.hide(!0)}async __handleConfirm(){await this.hide()}});
@@ -1 +1 @@
1
- import"./shared-c502de27.js";import{I as e}from"./shared-cc4b3b42.js";import{_ as t}from"./shared-cb58dfcd.js";import{c as s,h as i,s as r}from"./shared-ba5c42c7.js";import{i as l}from"./shared-53e42a77.js";import{c as a}from"./shared-4e709717.js";import{l as o}from"./shared-d0aed1c1.js";let d,n,u,h,c,p,f,m,v=e=>e;customElements.define("foxy-internal-text-control",class extends e{constructor(){super(...arguments),this.layout=null,this.prefix=null,this.suffix=null,this.__isErrorVisible=!1}static get properties(){return t(t({},super.properties),{},{layout:{},prefix:{},suffix:{},__isErrorVisible:{attribute:!1}})}static get styles(){return[super.styles,s(d||(d=v`input::-webkit-contacts-auto-fill-button{visibility:hidden;display:none!important;pointer-events:none;position:absolute;right:0}`))]}reportValidity(){this.__isErrorVisible=!0,super.reportValidity()}renderControl(){return"summary-item"===this.layout?this.__renderSummaryItemLayout():i(n||(n=v` <vaadin-text-field error-message="${0}" helper-text="${0}" placeholder="${0}" label="${0}" class="w-full" ?clear-button-visible="${0}" ?disabled="${0}" ?readonly="${0}" .checkValidity="${0}" .value="${0}" @keydown="${0}" @input="${0}"> ${0} ${0} </vaadin-text-field> `),l(this._errorMessage),this.helperText,this.placeholder,this.label,!this.suffix,this.disabled,this.readonly,this._checkValidity,this._value,(e=>{var t;return"Enter"===e.key&&(null===(t=this.nucleon)||void 0===t?void 0:t.submit())}),(e=>{const t=e.currentTarget;this._value=t.value}),this.prefix?i(u||(u=v`<div slot="prefix">${0}</div>`),this.prefix):"",this.suffix?i(h||(h=v`<div class="pr-s font-medium" slot="suffix">${0}</div>`),this.suffix):"")}get _value(){var e;return null!==(e=super._value)&&void 0!==e?e:""}set _value(e){super._value=e}__renderSummaryItemLayout(){return i(c||(c=v` <div class="leading-xs"> <div class="flex items-center gap-xs"> <label class="text-m text-body flex-1 whitespace-nowrap" for="input">${0}</label> ${0} <input placeholder="${0}" class="${0}" type="text" id="input" .value="${0}" ?disabled="${0}" ?readonly="${0}" @keydown="${0}" @blur="${0}" @input="${0}"> ${0} <button aria-label="${0}" class="${0}" style="width:1em;height:1em" ?disabled="${0}" ?hidden="${0}" @click="${0}"> ${0} </button> </div> <div style="max-width:32rem"> <p class="text-xs text-secondary">${0}</p> <p class="text-xs text-error" ?hidden="${0}"> ${0} </p> </div> </div> `),this.label,this.prefix?i(p||(p=v`<div>${0}</div>`),this.prefix):"",this.placeholder,a({"w-full appearance-none text-right bg-transparent transition-colors":!0,"text-m rounded-s focus-outline-none":!0,"text-secondary":this.readonly,"text-disabled":this.disabled,"font-medium":!this.readonly}),o(this._value),this.disabled,this.readonly,(e=>{var t;return"Enter"===e.key&&(null===(t=this.nucleon)||void 0===t?void 0:t.submit())}),(()=>this.__isErrorVisible=!0),(e=>{e.stopPropagation(),this._value=e.target.value}),this.suffix?i(f||(f=v`<div class="font-medium text-secondary">${0}</div>`),this.suffix):"",this.t("clear"),a({"flex-shrink-0 rounded-full transition-colors":!0,"focus-outline-none focus-ring-2 focus-ring-primary-50":!0,"cursor-pointer text-tertiary hover-text-body":!this.disabled,"cursor-default text-disabled":this.disabled}),this.disabled,this.readonly||!this._value,(()=>{this._value="",this.dispatchEvent(new CustomEvent("clear"))}),r(m||(m=v`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" style="width: 1em; height: 1em; transform: scale(1.25); margin-right: -0.16em"><path d="M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z" /></svg>`)),this.helperText,!this.__isErrorVisible||this.disabled||this.readonly,this._errorMessage)}});
1
+ import"./shared-8dd6f543.js";import{I as e}from"./shared-049295b7.js";import{_ as t}from"./shared-7fec42f2.js";import{c as s,h as i,s as r}from"./shared-ba5c42c7.js";import{i as l}from"./shared-53e42a77.js";import{c as a}from"./shared-4e709717.js";import{l as o}from"./shared-d0aed1c1.js";let d,n,u,h,p,c,f,m,v=e=>e;customElements.define("foxy-internal-text-control",class extends e{constructor(){super(...arguments),this.layout=null,this.prefix=null,this.suffix=null,this.__isErrorVisible=!1}static get properties(){return t(t({},super.properties),{},{layout:{},prefix:{},suffix:{},__isErrorVisible:{attribute:!1}})}static get styles(){return[super.styles,s(d||(d=v`input::-webkit-contacts-auto-fill-button{visibility:hidden;display:none!important;pointer-events:none;position:absolute;right:0}`))]}reportValidity(){this.__isErrorVisible=!0,super.reportValidity()}renderControl(){return"summary-item"===this.layout?this.__renderSummaryItemLayout():i(n||(n=v` <vaadin-text-field error-message="${0}" helper-text="${0}" placeholder="${0}" label="${0}" class="w-full" ?clear-button-visible="${0}" ?disabled="${0}" ?readonly="${0}" .checkValidity="${0}" .value="${0}" @keydown="${0}" @input="${0}"> ${0} ${0} </vaadin-text-field> `),l(this._errorMessage),this.helperText,this.placeholder,this.label,!this.suffix,this.disabled,this.readonly,this._checkValidity,this._value,(e=>{var t;return"Enter"===e.key&&(null===(t=this.nucleon)||void 0===t?void 0:t.submit())}),(e=>{const t=e.currentTarget;this._value=t.value}),this.prefix?i(u||(u=v`<div slot="prefix">${0}</div>`),this.prefix):"",this.suffix?i(h||(h=v`<div class="pr-s font-medium" slot="suffix">${0}</div>`),this.suffix):"")}get _value(){var e;return null!==(e=super._value)&&void 0!==e?e:""}set _value(e){super._value=e}__renderSummaryItemLayout(){return i(p||(p=v` <div class="leading-xs"> <div class="flex items-center gap-xs"> <label class="text-m text-body flex-1 whitespace-nowrap" for="input">${0}</label> ${0} <input placeholder="${0}" class="${0}" type="text" id="input" .value="${0}" ?disabled="${0}" ?readonly="${0}" @keydown="${0}" @blur="${0}" @input="${0}"> ${0} <button aria-label="${0}" class="${0}" style="width:1em;height:1em" ?disabled="${0}" ?hidden="${0}" @click="${0}"> ${0} </button> </div> <div style="max-width:32rem"> <p class="text-xs text-secondary">${0}</p> <p class="text-xs text-error" ?hidden="${0}"> ${0} </p> </div> </div> `),this.label,this.prefix?i(c||(c=v`<div>${0}</div>`),this.prefix):"",this.placeholder,a({"w-full appearance-none text-right bg-transparent transition-colors":!0,"text-m rounded-s focus-outline-none":!0,"text-secondary":this.readonly,"text-disabled":this.disabled,"font-medium":!this.readonly}),o(this._value),this.disabled,this.readonly,(e=>{var t;return"Enter"===e.key&&(null===(t=this.nucleon)||void 0===t?void 0:t.submit())}),(()=>this.__isErrorVisible=!0),(e=>{e.stopPropagation(),this._value=e.target.value}),this.suffix?i(f||(f=v`<div class="font-medium text-secondary">${0}</div>`),this.suffix):"",this.t("clear"),a({"flex-shrink-0 rounded-full transition-colors":!0,"focus-outline-none focus-ring-2 focus-ring-primary-50":!0,"cursor-pointer text-tertiary hover-text-body":!this.disabled,"cursor-default text-disabled":this.disabled}),this.disabled,this.readonly||!this._value,(()=>{this._value="",this.dispatchEvent(new CustomEvent("clear"))}),r(m||(m=v`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" style="width: 1em; height: 1em; transform: scale(1.25); margin-right: -0.16em"><path d="M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z" /></svg>`)),this.helperText,!this.__isErrorVisible||this.disabled||this.readonly,this._errorMessage)}});
@@ -1,4 +1,4 @@
1
- import"./shared-9342ca50.js";import"./shared-9c010e0a.js";import"./shared-a4216b50.js";import{h as e}from"./shared-567ba8ae.js";import{T as t}from"./shared-c502de27.js";import{D as i}from"./shared-aa6dab90.js";const n=e`<dom-module id="lumo-number-field" theme-for="vaadin-number-field">
1
+ import"./shared-0993c2f5.js";import"./shared-12bab9de.js";import"./shared-ab0bbad5.js";import{h as e}from"./shared-3e3c5095.js";import{T as t}from"./shared-8dd6f543.js";import{D as i}from"./shared-ddda911c.js";const n=e`<dom-module id="lumo-number-field" theme-for="vaadin-number-field">
2
2
  <template>
3
3
  <style include="lumo-field-button">
4
4
  :host {
@@ -45,7 +45,7 @@ import"./shared-9342ca50.js";import"./shared-9c010e0a.js";import"./shared-a4216b
45
45
  Copyright (c) 2017 Vaadin Ltd.
46
46
  This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
47
47
  */
48
- const a=e`<dom-module id="vaadin-number-field-template">
48
+ const s=e`<dom-module id="vaadin-number-field-template">
49
49
  <template>
50
50
  <style>
51
51
  :host([readonly]) [part\$="button"] {
@@ -119,4 +119,4 @@ const a=e`<dom-module id="vaadin-number-field-template">
119
119
  </template>
120
120
 
121
121
 
122
- </dom-module>`;let s;document.head.appendChild(a.content);class r extends t{static get is(){return"vaadin-number-field"}static get version(){return"2.10.0"}static get properties(){return{hasControls:{type:Boolean,value:!1,reflectToAttribute:!0},min:{type:Number,reflectToAttribute:!0,observer:"_minChanged"},max:{type:Number,reflectToAttribute:!0,observer:"_maxChanged"},step:{type:Number,value:1,observer:"_stepChanged"}}}ready(){super.ready(),this.__previousValidInput=this.value||"",this.inputElement.type="number",this.inputElement.addEventListener("change",this.__onInputChange.bind(this))}_decreaseButtonTouchend(e){e.preventDefault(),this._decreaseValue()}_increaseButtonTouchend(e){e.preventDefault(),this._increaseValue()}static get template(){if(!s){s=super.template.cloneNode(!0);const e=i.import(this.is+"-template","template"),t=e.content.querySelector('[part="decrease-button"]'),n=e.content.querySelector('[part="increase-button"]'),a=e.content.querySelector("style"),r=s.content.querySelector('[part="input-field"]'),l=s.content.querySelector('[name="prefix"]');r.insertBefore(t,l),r.appendChild(n),s.content.appendChild(a)}return s}_createConstraintsObserver(){this._createMethodObserver("_constraintsChanged(required, minlength, maxlength, pattern, min, max, step)")}_constraintsChanged(e,t,i,n,a,s,r){if(!this.invalid)return;const l=e=>!e&&0!==e;l(a)&&l(s)?super._constraintsChanged(e,t,i,n):this.validate()}_decreaseValue(){this._incrementValue(-1)}_increaseValue(){this._incrementValue(1)}_incrementValue(e){if(this.disabled||this.readonly)return;let t=parseFloat(this.value);this.value?t<this.min?(e=0,t=this.min):t>this.max&&(e=0,t=this.max):0==this.min&&e<0||0==this.max&&e>0||0==this.max&&0==this.min?(e=0,t=0):(null==this.max||this.max>=0)&&(null==this.min||this.min<=0)?t=0:this.min>0?(t=this.min,this.max<0&&e<0&&(t=this.max),e=0):this.max<0&&(t=this.max,e<0?e=0:this._getIncrement(1,t-this.step)>this.max?t-=2*this.step:t-=this.step);const i=this._getIncrement(e,t);this.value&&0!=e&&!this._incrementIsInsideTheLimits(e,t)||this._setValue(i)}_setValue(e){this.value=this._inputElementValue=String(parseFloat(e)),this.dispatchEvent(new CustomEvent("change",{bubbles:!0}))}_getIncrement(e,t){let i=this.step||1,n=this.min||0;const a=Math.max(this._getMultiplier(t),this._getMultiplier(i),this._getMultiplier(n));i*=a,n*=a;const s=((t=Math.round(t*a))-n)%i;return e>0?(t-s+i)/a:e<0?(t-(s||i))/a:t/a}_getDecimalCount(e){const t=String(e),i=t.indexOf(".");return-1===i?1:t.length-i-1}_getMultiplier(e){if(!isNaN(e))return Math.pow(10,this._getDecimalCount(e))}_incrementIsInsideTheLimits(e,t){return e<0?null==this.min||this._getIncrement(e,t)>=this.min:e>0?null==this.max||this._getIncrement(e,t)<=this.max:this._getIncrement(e,t)<=this.max&&this._getIncrement(e,t)>=this.min}_allowed(e){const t=e*(this.step||1),i=parseFloat(this.value);return!this.value||!this.disabled&&this._incrementIsInsideTheLimits(t,i)}_stepChanged(e,t){this.__validateByStep=this.__stepChangedCalled||null!==this.getAttribute("step"),this.inputElement.step=this.__validateByStep?e:"any",this.__stepChangedCalled=!0,this.setAttribute("step",e)}_minChanged(e){this.inputElement.min=e}_maxChanged(e){this.inputElement.max=e}_valueChanged(e,t){e&&isNaN(parseFloat(e))?this.value="":"string"!=typeof this.value&&(this.value=String(this.value)),super._valueChanged(this.value,t)}_onKeyDown(e){38==e.keyCode?(e.preventDefault(),this._increaseValue()):40==e.keyCode&&(e.preventDefault(),this._decreaseValue()),super._onKeyDown(e)}__onInputChange(){this.validate()}checkValidity(){return void 0!==this.min||void 0!==this.max||this.__validateByStep?this.inputElement.checkValidity():super.checkValidity()}_setHasInputValue(e){this._hasInputValue=e.target.value.length>0||e.target.validity.badInput}}window.customElements.define(r.is,r);export{r as N};
122
+ </dom-module>`;let a;document.head.appendChild(s.content);class r extends t{static get is(){return"vaadin-number-field"}static get version(){return"2.10.0"}static get properties(){return{hasControls:{type:Boolean,value:!1,reflectToAttribute:!0},min:{type:Number,reflectToAttribute:!0,observer:"_minChanged"},max:{type:Number,reflectToAttribute:!0,observer:"_maxChanged"},step:{type:Number,value:1,observer:"_stepChanged"}}}ready(){super.ready(),this.__previousValidInput=this.value||"",this.inputElement.type="number",this.inputElement.addEventListener("change",this.__onInputChange.bind(this))}_decreaseButtonTouchend(e){e.preventDefault(),this._decreaseValue()}_increaseButtonTouchend(e){e.preventDefault(),this._increaseValue()}static get template(){if(!a){a=super.template.cloneNode(!0);const e=i.import(this.is+"-template","template"),t=e.content.querySelector('[part="decrease-button"]'),n=e.content.querySelector('[part="increase-button"]'),s=e.content.querySelector("style"),r=a.content.querySelector('[part="input-field"]'),l=a.content.querySelector('[name="prefix"]');r.insertBefore(t,l),r.appendChild(n),a.content.appendChild(s)}return a}_createConstraintsObserver(){this._createMethodObserver("_constraintsChanged(required, minlength, maxlength, pattern, min, max, step)")}_constraintsChanged(e,t,i,n,s,a,r){if(!this.invalid)return;const l=e=>!e&&0!==e;l(s)&&l(a)?super._constraintsChanged(e,t,i,n):this.validate()}_decreaseValue(){this._incrementValue(-1)}_increaseValue(){this._incrementValue(1)}_incrementValue(e){if(this.disabled||this.readonly)return;let t=parseFloat(this.value);this.value?t<this.min?(e=0,t=this.min):t>this.max&&(e=0,t=this.max):0==this.min&&e<0||0==this.max&&e>0||0==this.max&&0==this.min?(e=0,t=0):(null==this.max||this.max>=0)&&(null==this.min||this.min<=0)?t=0:this.min>0?(t=this.min,this.max<0&&e<0&&(t=this.max),e=0):this.max<0&&(t=this.max,e<0?e=0:this._getIncrement(1,t-this.step)>this.max?t-=2*this.step:t-=this.step);const i=this._getIncrement(e,t);this.value&&0!=e&&!this._incrementIsInsideTheLimits(e,t)||this._setValue(i)}_setValue(e){this.value=this._inputElementValue=String(parseFloat(e)),this.dispatchEvent(new CustomEvent("change",{bubbles:!0}))}_getIncrement(e,t){let i=this.step||1,n=this.min||0;const s=Math.max(this._getMultiplier(t),this._getMultiplier(i),this._getMultiplier(n));i*=s,n*=s;const a=((t=Math.round(t*s))-n)%i;return e>0?(t-a+i)/s:e<0?(t-(a||i))/s:t/s}_getDecimalCount(e){const t=String(e),i=t.indexOf(".");return-1===i?1:t.length-i-1}_getMultiplier(e){if(!isNaN(e))return Math.pow(10,this._getDecimalCount(e))}_incrementIsInsideTheLimits(e,t){return e<0?null==this.min||this._getIncrement(e,t)>=this.min:e>0?null==this.max||this._getIncrement(e,t)<=this.max:this._getIncrement(e,t)<=this.max&&this._getIncrement(e,t)>=this.min}_allowed(e){const t=e*(this.step||1),i=parseFloat(this.value);return!this.value||!this.disabled&&this._incrementIsInsideTheLimits(t,i)}_stepChanged(e,t){this.__validateByStep=this.__stepChangedCalled||null!==this.getAttribute("step"),this.inputElement.step=this.__validateByStep?e:"any",this.__stepChangedCalled=!0,this.setAttribute("step",e)}_minChanged(e){this.inputElement.min=e}_maxChanged(e){this.inputElement.max=e}_valueChanged(e,t){e&&isNaN(parseFloat(e))?this.value="":"string"!=typeof this.value&&(this.value=String(this.value)),super._valueChanged(this.value,t)}_onKeyDown(e){38==e.keyCode?(e.preventDefault(),this._increaseValue()):40==e.keyCode&&(e.preventDefault(),this._decreaseValue()),super._onKeyDown(e)}__onInputChange(){this.validate()}checkValidity(){return void 0!==this.min||void 0!==this.max||this.__validateByStep?this.inputElement.checkValidity():super.checkValidity()}_setHasInputValue(e){this._hasInputValue=e.target.value.length>0||e.target.validity.badInput}}window.customElements.define(r.is,r);export{r as N};
@@ -0,0 +1,40 @@
1
+ import"./shared-76c608e2.js";import"./shared-80dafe85.js";import"./shared-13ba9f3a.js";import"./shared-7b5bdf0e.js";import{_ as e}from"./shared-7fec42f2.js";import{R as l,T as a,a as n}from"./shared-ddda911c.js";import{C as t}from"./shared-c782b9fa.js";import{s as o,h as r,c as s,L as i}from"./shared-ba5c42c7.js";import{I as u}from"./shared-0ea750af.js";import{O as d,T as v}from"./shared-8874ec69.js";import{o as c}from"./shared-63c32024.js";import{c as p}from"./shared-4e709717.js";import{r as h}from"./shared-5fd5805c.js";import{i as f}from"./shared-53e42a77.js";import{s as b}from"./shared-2061be9a.js";import{p as g}from"./shared-43e2c3f6.js";let m;const y=o(m||(m=(e=>e)`
2
+ <svg class="w-full h-full" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="M26.4 14.7399C26.4 15.2922 25.9523 15.7399 25.4 15.7399H10.6C10.0477 15.7399 9.60001 15.2922 9.60001 14.7399V14.2C9.60001 13.6477 10.0477 13.2 10.6 13.2H25.4C25.9523 13.2 26.4 13.6477 26.4 14.2V14.7399ZM26.4 21.8C26.4 22.3523 25.9523 22.8 25.4 22.8H10.6C10.0477 22.8 9.60001 22.3523 9.60001 21.8V21.2601C9.60001 20.7078 10.0477 20.2601 10.6 20.2601H25.4C25.9523 20.2601 26.4 20.7078 26.4 21.2601V21.8Z" class="fill-current"/>
4
+ </svg>
5
+ `));let x;const C=o(x||(x=(e=>e)`
6
+ <svg class="w-full h-full" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
7
+ <path d="M12.8656 14.6695C12.3425 14.4581 12 13.9503 12 13.386C12 12.3748 13.0489 11.7048 13.9663 12.1299L23.8937 16.7295C24.5323 17.0254 24.941 17.6652 24.941 18.369C24.941 19.0735 24.5316 19.7137 23.8921 20.0092L13.971 24.5938C13.0509 25.019 12 24.347 12 23.3334C12 22.7709 12.3394 22.264 12.8594 22.0496L21.341 18.3046L12.8656 14.6695Z" class="fill-current"/>
8
+ </svg>
9
+ `));let $;const w=o($||($=(e=>e)`
10
+ <svg class="w-full h-full" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
11
+ <path d="M12.5 9.8C11.0088 9.8 9.8 11.0088 9.8 12.5V23.5C9.8 24.9912 11.0088 26.2 12.5 26.2H14C14.6627 26.2 15.2 25.6627 15.2 25C15.2 24.3373 14.6627 23.8 14 23.8H13.5C12.782 23.8 12.2 23.218 12.2 22.5V13.5C12.2 12.782 12.782 12.2 13.5 12.2H14C14.6627 12.2 15.2 11.6627 15.2 11C15.2 10.3373 14.6627 9.8 14 9.8H12.5Z" class="fill-current"/>
12
+ <path d="M22 9.8C21.3373 9.8 20.8 10.3373 20.8 11C20.8 11.6627 21.3373 12.2 22 12.2H22.5C23.218 12.2 23.8 12.782 23.8 13.5V22.5C23.8 23.218 23.218 23.8 22.5 23.8H22C21.3373 23.8 20.8 24.3373 20.8 25C20.8 25.6627 21.3373 26.2 22 26.2H23.5C24.9912 26.2 26.2 24.9912 26.2 23.5V12.5C26.2 11.0088 24.9912 9.8 23.5 9.8H22Z" class="fill-current"/>
13
+ </svg>
14
+ `));let _;const L=o(_||(_=(e=>e)`
15
+ <svg class="w-full h-full" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
16
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M20.05 23.58L20.04 23.59L17.64 21.19L18.7 20.13L20.05 21.48L22.54 19L23.6 20.06L20.06 23.6L20.05 23.58ZM18 8C12.5 8 8 12.5 8 18C8 23.5 12.5 28 18 28C23.5 28 28 23.5 28 18C28 12.5 23.5 8 18 8ZM13.34 12.28L14.75 13.69L16.16 12.28L17.22 13.34L15.81 14.75L17.22 16.16L16.16 17.22L14.75 15.81L13.34 17.22L12.28 16.16L13.69 14.75L12.28 13.34L13.34 12.28ZM18 26C15.8 26 13.8 25.1 12.3 23.7L23.7 12.3C25.1 13.8 26 15.8 26 18C26 22.4 22.4 26 18 26Z" class="fill-current"/>
17
+ </svg>
18
+ `));let M;const q=o(M||(M=(e=>e)`
19
+ <svg class="w-full h-full" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
20
+ <path d="M22.8754 22.054C23.3985 22.2655 23.741 22.7733 23.741 23.3375C23.741 24.3487 22.6922 25.0187 21.7747 24.5936L11.8473 19.994C11.2087 19.6981 10.8 19.0583 10.8 18.3545C10.8 17.65 11.2094 17.0098 11.8489 16.7143L21.7701 12.1297C22.6902 11.7045 23.741 12.3765 23.741 13.3902C23.741 13.9526 23.4017 14.4596 22.8816 14.6739L14.4 18.4189L22.8754 22.054Z" class="fill-current"/>
21
+ </svg>
22
+ `));let I;const O=o(I||(I=(e=>e)`
23
+ <svg class="w-full h-full" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
24
+ <path d="M22.8754 19.654C23.3985 19.8655 23.741 20.3733 23.741 20.9375C23.741 21.9487 22.6922 22.6187 21.7747 22.1936L11.8473 17.594C11.2087 17.2981 10.8 16.6584 10.8 15.9545C10.8 15.25 11.2094 14.6098 11.8489 14.3143L21.7701 9.72971C22.6902 9.30453 23.741 9.97655 23.741 10.9902C23.741 11.5527 23.4017 12.0596 22.8816 12.2739L14.4 16.0189L22.8754 19.654Z" class="fill-current"/>
25
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M10.9169 20.9941C11.2134 20.3281 11.9937 20.0286 12.6597 20.3251L22.8548 24.8643C23.5208 25.1608 23.8203 25.9411 23.5238 26.6071C23.2273 27.2731 22.447 27.5726 21.781 27.2761L11.5859 22.7369C10.9199 22.4404 10.6204 21.6601 10.9169 20.9941Z" class="fill-current"/>
26
+ </svg>
27
+ `));let k;const H=o(k||(k=(e=>e)`
28
+ <svg class="w-full h-full" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
29
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M24.0049 7.11C24.6649 7.49107 24.8911 8.33507 24.51 8.99511L13.1621 28.6503C12.781 29.3103 11.937 29.5365 11.277 29.1554C10.6169 28.7743 10.3908 27.9303 10.7719 27.2703L22.1198 7.61511C22.5009 6.95507 23.3448 6.72892 24.0049 7.11Z" class="fill-current"/>
30
+ <path d="M17.5097 13.2H10.8C10.1373 13.2 9.60001 13.7373 9.60001 14.4V14.5399C9.60001 15.2026 10.1373 15.7399 10.8 15.7399H16.0433L17.5097 13.2Z" class="fill-current"/>
31
+ <path d="M13.4336 20.2601H10.8C10.1373 20.2601 9.60001 20.7973 9.60001 21.4601V21.6C9.60001 22.2627 10.1373 22.8 10.8 22.8H11.9671L13.4336 20.2601Z" class="fill-current"/>
32
+ <path d="M17.9254 22.8H25.2C25.8627 22.8 26.4 22.2627 26.4 21.6V21.4601C26.4 20.7973 25.8627 20.2601 25.2 20.2601H19.3918L17.9254 22.8Z" class="fill-current"/>
33
+ <path d="M22.0015 15.7399H25.2C25.8627 15.7399 26.4 15.2026 26.4 14.5399V14.4C26.4 13.7373 25.8627 13.2 25.2 13.2H23.468L22.0015 15.7399Z" class="fill-current"/>
34
+ </svg>
35
+ `));let A;const S=o(A||(A=(e=>e)`
36
+ <svg class="w-full h-full" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
37
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M18 8C12.48 8 8 12.48 8 18C8 23.52 12.48 28 18 28C23.52 28 28 23.52 28 18C28 12.48 23.52 8 18 8ZM18 26C13.59 26 10 22.41 10 18C10 13.59 13.59 10 18 10C22.41 10 26 13.59 26 18C26 22.41 22.41 26 18 26Z" class="fill-current"/>
38
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M19.49 17.38C19.92 16.16 19.66 14.74 18.68 13.76C17.57 12.65 15.89 12.46 14.58 13.17L16.93 15.52L15.52 16.93L13.17 14.58C12.46 15.9 12.65 17.57 13.76 18.68C14.74 19.66 16.16 19.92 17.38 19.49L20.79 22.9C20.99 23.1 21.3 23.1 21.5 22.9L22.9 21.5C23.1 21.3 23.1 20.99 22.9 20.79L19.49 17.38Z" class="fill-current"/>
39
+ </svg>
40
+ `));let j,D=e=>e;let Z,T,N=e=>e;function z(e){return r(Z||(Z=N` <label class="relative flex items-center cursor-text group text-tertiary"> <div class="relative flex-1 min-w-0 overflow-hidden"> <input placeholder="${0}" class="${0}" .value="${0}" ?disabled="${0}" @input="${0}"> </div> <span class="${0}"> ${0} </span> ${0} </label> `),e.t(e.label),p({"bg-base relative flex h-m px-s font-medium w-full":!0,"text-body":!e.disabled&&!e.readonly,"text-disabled":e.disabled,"text-secondary":e.readonly,"flex max-w-full whitespace-nowrap":!0,"focus-outline-none":!0}),e.value,e.disabled||e.readonly,(l=>{const a=l.currentTarget;e.onChange(a.value)}),p({"font-tnum text-xs font-medium border border-current mr-s px-xs rounded-s":!0,"inline-block":!!e.value,"sr-only":!e.value,"text-body":!e.disabled&&!e.readonly,"text-disabled":e.disabled,"text-secondary":e.readonly}),e.t(e.label),e.disabled||e.readonly?"":r(T||(T=N` <div class="absolute inset-0 transition-colors bg-transparent group-hover-bg-contrast-5 pointer-events-none"></div> `)))}let B,R,V=e=>e;function E(l){var a,n;const{isFullSize:t,isNested:o,disableOr:s,readonly:i,disabled:u,rule:v}=l,{t:h,onConvert:f,onDelete:b,onChange:g}=l;return r(B||(B=V` <div class="flex items-center space-x-s" aria-label="${0}"> <div class="${0}"> <div class="bg-contrast-10"> <div class="grid gap-1px grid-vertical sm-grid-horizontal"> <div class="bg-base"> <div aria-hidden="true" class="${0}"> ${0} </div> </div> <div class="bg-base"> ${0} </div> <div class="bg-base">${0}</div> <div class="bg-base"> ${0} </div> </div> </div> </div> <div class="${0}"> <button aria-label="${0}" class="${0}" ?disabled="${0}" @click="${0}"> <iron-icon aria-hidden="true" class="m-auto icon-inline text-xl" icon="icons:remove-circle-outline"> </iron-icon> </button> <button aria-label="${0}" class="${0}" ?disabled="${0}" ?hidden="${0}" @click="${0}"> <iron-icon aria-hidden="true" class="m-auto icon-inline text-xl" icon="icons:add-circle-outline"> </iron-icon> </button> </div> </div> `),h("query_builder_rule"),p({"flex-1 bg-base rounded overflow-hidden border":!0,"border-contrast-10":!o&&!i,"border-contrast-50":!!o||i,"border-dashed":i,"border-solid":!i}),p({"text-tertiary":!i&&!u,"text-disabled":i||u,"w-m h-m":!0}),S,v.path&&v.name?r(R||(R=V` <div class="bg-contrast-10 grid gap-1px grid-cols-1 sm-grid-cols-2"> <div class="bg-base"> ${0} </div> <div class="bg-base"> ${0} </div> </div> `),z(e(e({},l),{},{value:v.path,label:"field",onChange:e=>{g({operator:null,value:"",path:e})}})),z(e(e({},l),{},{value:null!==(a=v.name)&&void 0!==a?a:"",label:"name",onChange:l=>g(e(e({},v),{},{name:l}))}))):z(e(e({},l),{},{value:v.path,label:"field",onChange:e=>g({operator:null,value:"",path:e})})),function(l){const{rule:a,operators:n,disabled:t,readonly:o,t:s,onChange:i}=l,{operator:u,value:v,path:h,name:f}=a,b={[d.GreaterThan]:C,[d.GreaterThanOrEqual]:c,[d.In]:w,[d.IsDefined]:L,[d.LessThan]:q,[d.LessThanOrEqual]:O,[d.Not]:H},g=Object.values(d).filter((e=>n.includes(e)&&(!!f||e!==d.IsDefined))),m=t||o||!g.length||!h;return r(j||(j=D` <button title="${0}" class="${0}" ?disabled="${0}" @click="${0}"> <div aria-hidden="true">${0}</div> </button> `),s(`operator_${null!=u?u:"equal"}`),p({"flex items-center justify-center w-m h-m transition-colors":!0,"focus-outline-none focus-ring-2 focus-ring-inset focus-ring-primary-50":!0,"text-body hover-bg-contrast-5":!m&&g.length>1,"cursor-default text-tertiary":!m&&g.length<=1,"text-disabled cursor-default":m}),m||g.length<=1,(()=>{var l;const n=u?g.indexOf(u):-1,t=null!==(l=g[n+1])&&void 0!==l?l:null;i(e(e({},a),{},{operator:t,value:v}))}),u?b[u]:y)}(l),z(e(e({},l),{},{disabled:u||!v.path,value:null!==(n=v.value)&&void 0!==n?n:"",label:"value",onChange:l=>g(e(e({},v),{},{value:l}))})),p({"-mr-s self-start flex-col sm-flex-row flex-shrink-0 items-center":!0,"border-t border-b border-transparent divide-y divide-transparent":!0,hidden:!!t||i,flex:!t}),h("delete"),p({"box-content flex w-m h-m rounded-full transition-colors":!0,"text-secondary hover-bg-contrast-5 hover-text-error":!u,"cursor-default text-disabled":u,"focus-outline-none focus-ring-2 ring-primary-50":!0,"opacity-0 pointer-events-none":!v.path}),u||i||!v.path,b,h("add_or_clause"),p({"box-content flex w-m h-m rounded-full transition-colors":!0,"text-success hover-bg-contrast-5":!u,"cursor-default text-disabled":u,"focus-outline-none focus-ring-2 ring-primary-50":!0,"opacity-0 pointer-events-none":!v.path||!!o||s}),u||i||!v.path||!!o||s,s,f)}let U,G,W,F,P=e=>e;function Q(l){const a=l.rules.some((e=>Array.isArray(e))),n=r(U||(U=P`<div class="${0}"></div>`),a?"h-xs":"mt-s"),t=r(G||(G=P` <div class="flex items-center h-s"> <div class="w-m text-center leading-none uppercase font-medium text-xs text-contrast-30"> ${0} </div> <div class="flex-1 border-t border-contrast-20"></div> <div class="w-m ml-s flex-shrink-0"></div> <div class="hidden sm-block w-m flex-shrink-0"></div> </div> `),l.t("or"));return r(W||(W=P` <div aria-label="${0}"> ${0} </div> `),l.t("query_builder_group"),h([...l.rules,null],((e,l)=>String(l)),((a,o)=>{const s=o>0?l.isNested?t:n:"";return null===a?[s,E(e(e({},l),{},{rule:{path:"",operator:null,value:""},isFullSize:!l.isNested&&0===l.rules.length,onChange:e=>l.onChange([...l.rules,e])}))]:Array.isArray(a)?[s,r(F||(F=P` <div class="bg-contrast-10 rounded-t-l rounded-b-l p-s -m-s"> ${0} </div> `),Q(e(e({},l),{},{rules:a,isNested:!0,onChange:e=>{const a=[...l.rules],n=e;a[o]=e.length>1?n:n[0],l.onChange(a)}})))]:[s,E(e(e({},l),{},{rule:a,onChange:e=>{const a=[...l.rules];a[o]=e,l.onChange(a)},onDelete:()=>{const e=l.rules.filter(((e,l)=>l!==o));l.onChange(e)},onConvert:()=>{const n=[...l.rules];n[o]=[a,e(e({},a),{},{operator:null,value:""})],l.onChange(n)}}))]})))}let J,K,X,Y,ee,le,ae=e=>e;function ne(e){const{t:l,disabled:a,readonly:n,current:t,options:s,onChange:i}=e;return r(J||(J=ae` <div class="${0}"> ${0} ${0} </div> `),p({"relative flex items-center gap-xs leading-m px-xs -m-xs rounded-s transition-colors":!0,"focus-within-ring-2 focus-within-ring-primary-50":!0,"text-contrast":!a&&!n,"hover-text-contrast-80":!a&&!n,"text-disabled":a,"text-contrast-80":n,"font-medium":!n}),"label"in t?r(K||(K=ae`<foxy-i18n infer="" key="${0}"></foxy-i18n>`),t.label):r(X||(X=ae`<span>${0}</span>`),t.rawLabel),n?"":r(Y||(Y=ae` ${0} <select class="${0}" ?disabled="${0}" @change="${0}"> ${0} </select> `),o(ee||(ee=ae`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="flex-shrink-0" style="width: 1em; height: 1em; transform: scale(1.25)"><path fill-rule="evenodd" d="M10.53 3.47a.75.75 0 0 0-1.06 0L6.22 6.72a.75.75 0 0 0 1.06 1.06L10 5.06l2.72 2.72a.75.75 0 1 0 1.06-1.06l-3.25-3.25Zm-4.31 9.81 3.25 3.25a.75.75 0 0 0 1.06 0l3.25-3.25a.75.75 0 1 0-1.06-1.06L10 14.94l-2.72-2.72a.75.75 0 0 0-1.06 1.06Z" clip-rule="evenodd" /></svg>`)),p({"absolute inset-0 opacity-0 focus-outline-none":!0,"cursor-pointer":!a,"cursor-default":a}),a,(e=>i(e.target.value)),s.map((e=>r(le||(le=ae` <option value="${0}" ?selected="${0}"> ${0} </option> `),e.value,e.value===t.value,"label"in e?l(e.label):e.rawLabel)))))}let te,oe,re,se=e=>e;function ie(e){const{disabled:l,readonly:a,layout:n,label:t,value:o,type:s,min:i,t:u,onChange:d}=e;return r(te||(te=se` <label class="flex-shrink-0 flex items-center gap-s relative"> <foxy-i18n infer="" class="${0}" key="${0}"> </foxy-i18n> <span class="${0}" ?hidden="${0}">${0}</span> ${0} </label> `),p({"sr-only":"fixed"!==n}),t,p({"relative block whitespace-pre text-m":!0,"px-s py-xs -my-xs font-medium opacity-0":!a,"text-contrast-80":a}),"auto-grow"!==n&&!a,o||r(oe||(oe=se`<foxy-i18n infer="" key="value_empty"></foxy-i18n>`)),a?"":r(re||(re=se` <input placeholder="${0}" class="${0}" ?disabled="${0}" type="${0}" min="${0}" .value="${0}" @input="${0}"> `),u("value_empty"),p({"appearance-none transition-all text-body text-m font-medium rounded-s":!0,"bg-base px-s py-xs -my-xs":!0,"opacity-50":l,"absolute inset-0":"auto-grow"===n,"focus-outline-none focus-ring-2 focus-ring-primary-50":!0}),l,f(s),f(i),o,(e=>d(e.target.value))))}let ue,de=e=>e;const ve=e=>{var l;const{operator:a,value:n,name:t}=null!==(l=e.rule)&&void 0!==l?l:{},{disabled:o,readonly:s,t:i}=e,u=d.Not,v=p({"text-disabled":o,"text-contrast-80":s}),c=null===a?"equal":a===u?u:null;return r(ue||(ue=de` <foxy-i18n class="${0}" infer="" key="name"></foxy-i18n> ${0} <foxy-i18n class="${0}" infer="" key="value"></foxy-i18n> ${0} ${0} `),v,ie({layout:"auto-grow",value:t||"",label:"name",type:"text",disabled:o,readonly:s,t:i,onChange:l=>{if(!l)return e.onChange(null);n?e.onChange({name:l}):e.onChange({name:l,operator:d.IsDefined,value:"true"})}}),v,ne({current:{label:c?`operator_${c}`:"value_any",value:null!=c?c:"any"},options:[{label:"value_any",value:"any"},{label:"operator_equal",value:"equal"},{label:"operator_not",value:u}],disabled:o,readonly:s,t:i,onChange:l=>{if("any"!==l)return e.onChange({operator:"equal"===l?null:l,value:a===d.IsDefined?"":null!=n?n:"",name:null!=t?t:""});e.onChange(t?{operator:d.IsDefined,value:"true"}:null)}}),void 0===n||a===d.IsDefined?"":ie({layout:"auto-grow",label:"value",value:n||"",type:"text",disabled:o,readonly:s,t:i,onChange:l=>e.onChange({value:l})}))},ce=l=>{var a;const n=[{label:"value_any",value:"any"},{label:`${l.option.label}_true`,value:"true"},{label:`${l.option.label}_false`,value:"false"}];return ne(e(e({},l),{},{onChange:e=>l.onChange("any"===e?null:{value:e}),current:null!==(a=n.find((e=>{var a;return e.value===(null===(a=l.rule)||void 0===a?void 0:a.value)})))&&void 0!==a?a:n[0],options:n}))};let pe,he,fe=e=>e;const be=e=>{const{disabled:l,readonly:a,option:n,rule:t,t:o,onChange:s}=e,{min:i,label:u}=n,v=null==t?void 0:t.operator,c=null==t?void 0:t.value.includes(".."),p=null!=v?v:c?"range":"equal",h=void 0===v?"value_any":"range"===p?"range":`operator_${p}`;return r(pe||(pe=fe` ${0} ${0} `),ne({disabled:l,readonly:a,current:{label:h,value:void 0===v?"any":p},options:[{label:"value_any",value:"any"},{label:"operator_equal",value:"equal"},{label:"operator_not",value:d.Not},{label:"operator_lessthanorequal",value:d.LessThanOrEqual},{label:"operator_lessthan",value:d.LessThan},{label:"operator_greaterthanorequal",value:d.GreaterThanOrEqual},{label:"operator_greaterthan",value:d.GreaterThan},{label:"range",value:"range"}],t:o,onChange:e=>{var l,a,o,r;if("any"===e)return s(null);if("range"===e){let e=parseFloat(null!==(l=null==t?void 0:t.value)&&void 0!==l?l:"");return isNaN(e)&&(e=0),s({operator:null,value:`${e}..${e+10}`})}return s({operator:"equal"===e?null:e,value:null!==(r=null!==(a=null==t?void 0:t.value)&&void 0!==a?a:null===(o=n.min)||void 0===o?void 0:o.toString())&&void 0!==r?r:"0"})}}),void 0===(null==t?void 0:t.value)?"":c?r(he||(he=fe` <foxy-i18n infer="" key="range_from"></foxy-i18n> ${0} <foxy-i18n infer="" key="range_to"></foxy-i18n> ${0} `),ie({disabled:l,readonly:a,layout:"auto-grow",label:"range_from",value:null==t?void 0:t.value.split("..")[0],type:"number",min:i,t:o,onChange:e=>{const l=null==t?void 0:t.value.split("..")[1];s({value:`${e||"0"}..${l}`})}}),ie({disabled:l,readonly:a,layout:"auto-grow",label:"range_to",value:null==t?void 0:t.value.split("..")[1],type:"number",min:i,t:o,onChange:e=>{const l=null==t?void 0:t.value.split("..")[0];s({value:`${l}..${e||"0"}`})}})):ie({disabled:l,readonly:a,layout:"auto-grow",label:u,value:(null==t?void 0:t.value)||"",type:"number",min:i,t:o,onChange:e=>s({value:e})}))};let ge,me=e=>e;const ye=e=>{const{disabled:l,readonly:a,option:n,rule:t,t:o,onChange:s}=e,{operator:i}=null!=t?t:{},{label:u}=n;return r(ge||(ge=me` ${0} ${0} `),ne({disabled:l,readonly:a,current:{label:void 0===i?"value_any":`operator_${null!=i?i:"equal"}`,value:void 0===i?"any":null!=i?i:"equal"},options:[{label:"value_any",value:"any"},{label:"operator_equal",value:"equal"},{label:"operator_not",value:d.Not}],t:o,onChange:e=>{var l;return s("any"===e?null:{operator:"equal"===e?null:e,value:null!==(l=null==t?void 0:t.value)&&void 0!==l?l:""})}}),void 0===(null==t?void 0:t.value)?"":ie({disabled:l,readonly:a,layout:"auto-grow",label:u,value:(null==t?void 0:t.value)||"",t:o,onChange:e=>s({value:e})}))};let xe,Ce,$e=e=>e;const we=e=>{var l;const{operator:a,value:n}=null!==(l=e.rule)&&void 0!==l?l:{},{min:t,label:o}=e.option,{disabled:s,readonly:i,t:u,onChange:v}=e,c=null==n?void 0:n.includes(".."),p=null!=a?a:c?"range":"equal",h=void 0===a?"value_any":"range"===p?"range":`operator_${p}`;return r(xe||(xe=$e` ${0} ${0} `),ne({disabled:s,readonly:i,t:u,current:{label:h,value:void 0===a?"any":p},options:[{label:"value_any",value:"any"},{label:"operator_equal",value:"equal"},{label:"operator_not",value:d.Not},{label:"operator_lessthanorequal",value:d.LessThanOrEqual},{label:"operator_lessthan",value:d.LessThan},{label:"operator_greaterthanorequal",value:d.GreaterThanOrEqual},{label:"operator_greaterthan",value:d.GreaterThan},{label:"range",value:"range"}],onChange:e=>{if("any"===e)return v(null);if("range"===e){const e=new Date(null!=n?n:(new Date).toISOString()),l=new Date(e);e.setMonth(e.getMonth()-1),e.setHours(0,0,0,0),l.setHours(23,59,59,999);const a=e.toISOString(),t=l.toISOString();return v({operator:null,value:`${a}..${t}`})}return v({operator:"equal"===e?null:e,value:null!=n?n:(new Date).toISOString()})}}),void 0===n?"":c?r(Ce||(Ce=$e` ${0} ${0} `),ie({disabled:s,readonly:i,layout:"fixed",label:"range_from",value:b(new Date(n.split("..")[0])),type:"date",min:t,t:u,onChange:e=>{var l,a;const t=null!==(l=g(e))&&void 0!==l?l:new Date,o=new Date(null!==(a=n.split("..")[1])&&void 0!==a?a:Date.now());t.setHours(0,0,0,0),o.setHours(23,59,59,999),v({value:`${t.toISOString()}..${o.toISOString()}`})}}),ie({disabled:s,readonly:i,layout:"fixed",label:"range_to",value:b(new Date(n.split("..")[1])),type:"date",min:t,t:u,onChange:e=>{var l,a;const t=new Date(null!==(l=n.split("..")[0])&&void 0!==l?l:Date.now()),o=null!==(a=g(e))&&void 0!==a?a:new Date;t.setHours(0,0,0,0),o.setHours(23,59,59,999),v({value:`${t.toISOString()}..${o.toISOString()}`})}})):ie({disabled:s,readonly:i,label:o,value:b(new Date(null!=n?n:Date.now())),type:"date",min:t,t:u,onChange:e=>{var l;v({value:(null!==(l=g(e))&&void 0!==l?l:new Date).toISOString()})}}))};let _e,Le=e=>e;const Me=e=>{const{disabled:l,readonly:a,option:n,rule:t,t:o,onChange:s}=e,{list:i}=n,u=null==i?void 0:i.find((e=>e.value===(null==t?void 0:t.value))),v=null==t?void 0:t.operator;return r(_e||(_e=Le` ${0} ${0} `),ne({disabled:l,readonly:a,current:{label:void 0===v?"value_any":`operator_${null!=v?v:"equal"}`,value:void 0===v?"any":null!=v?v:"equal"},options:[{label:"value_any",value:"any"},{label:"operator_equal",value:"equal"},{label:"operator_not",value:d.Not}],t:o,onChange:e=>{var l,a,n;return s("any"===e?null:{operator:"equal"===e?null:e,value:null!==(n=null!==(l=null==t?void 0:t.value)&&void 0!==l?l:null===(a=null==i?void 0:i[0])||void 0===a?void 0:a.value)&&void 0!==n?n:""})}}),void 0===(null==t?void 0:t.value)?"":ne({disabled:l,readonly:a,current:null!=u?u:{label:"value_any",value:""},options:null!=i?i:[],t:o,onChange:e=>s({value:e})}))};let qe,Ie,Oe=e=>e;function ke(e){let l=e.path;return e.name&&(l+=`:name[${e.name}]`),e.operator&&(l+=`:${e.operator}`),l=`${encodeURIComponent(l)}=${encodeURIComponent(e.value)}`,"="===l?"":l}function He(e,l=!1){const a=e.reduce(((e,l)=>{if(Array.isArray(l)){let a=l[0].path;l[0].name&&(a+=`:name[${l[0].name}]`),l[0].operator&&(a+=`:${l[0].operator}`);const n=[l[0].value,...l.slice(1).map((e=>decodeURIComponent(ke(e))))];e.push(`${encodeURIComponent(a)}=${encodeURIComponent(n.join("|"))}`)}else"zoom"!==l.path&&e.push(ke(l));return e}),[]);if(!l){const l=Ae(e).join(",");l&&a.push(`zoom=${encodeURIComponent(l)}`)}return a.join("&")}function Ae(e){return e.map((e=>{if(Array.isArray(e))return Ae(e);if(e.name)return[e.path];const l=e.path.split(":");return l.slice(0,l.length-1)})).flat().sort(((e,l)=>l.length-e.length)).filter(((e,l,a)=>a.every(((a,n)=>(n>=l||a!==e)&&!a.startsWith(`${e}:`)))))}let Se;const je=s(Se||(Se=(e=>e)`.gap-1px{gap:1px}.grid-vertical{grid-template:auto/var(--lumo-size-m) 1fr}:host([sm]) .sm-grid-horizontal{grid-template:auto/var(--lumo-size-m) 1fr var(--lumo-size-m) 1fr}input::-webkit-contacts-auto-fill-button{visibility:hidden;display:none!important;pointer-events:none;position:absolute;right:0}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input{-moz-appearance:textfield}foxy-internal-summary-control[layout=details][count]:not([open]){--lumo-contrast-5pct:var(--lumo-primary-color-10pct);color:var(--lumo-primary-text-color)}`));function De(e){var l;const a=e.indexOf("="),n=decodeURIComponent(e.substring(0,a)),t=decodeURIComponent(e.substring(a+1)),o=null!==(l=Object.values(d).find((e=>n.endsWith(`:${e}`))))&&void 0!==l?l:null;let r,s=n.substring(0,o?n.lastIndexOf(":"):void 0);const i=n.lastIndexOf("[");return s.endsWith("]")&&-1!==i&&(r=s.substring(i+1,s.length-1),s=s.substring(0,i),s.endsWith(":name")&&(s=s.substring(0,s.length-5))),{name:r,path:s,value:t,operator:o}}function Ze(e){return e.split("&").filter((e=>!!e)).map((e=>{const[l,a]=e.split("=").map(decodeURIComponent);return(null==a?void 0:a.includes("|"))?`${encodeURIComponent(l)}=${a}`.split("|").map((e=>De(e))):De(e)}))}let Te,Ne,ze=e=>e;const Be=t(l(a(n(u(i),"query-builder"))));class Re extends Be{constructor(){super(...arguments),this.reservedPaths=["zoom","limit","offset","order","fields"],this.disableZoom=!1,this.disableOr=!1,this.operators=Object.values(d),this.docsHref=null,this.options=null,this.value=null,this.__isAdvancedMode=!1}static get properties(){return e(e({},super.properties),{},{reservedPaths:{type:Array,attribute:"reserved-paths"},disableZoom:{type:Boolean,attribute:"disable-zoom"},disableOr:{type:Boolean,attribute:"disable-or"},operators:{type:Array},docsHref:{attribute:"docs-href"},options:{type:Array},value:{},__isAdvancedMode:{attribute:!1}})}static get styles(){return[super.styles,je]}render(){var l,a,n,t,o,s;const i=this.__isSimpleModeSupported,u=Ze(null!==(l=this.value)&&void 0!==l?l:""),d=null!==(a=this.operators)&&void 0!==a?a:[],c=null!==(n=this.options)&&void 0!==n?n:[],h=this.t.bind(this),b=e=>{this.value=He(e,this.disableZoom),this.dispatchEvent(new Re.ChangeEvent("change"))};return i||this.__isAdvancedMode||(this.__isAdvancedMode=!0),r(Te||(Te=ze` <div class="space-y-m"> <div class="grid grid-cols-2 gap-xs p-xs bg-contrast-5 rounded" ?hidden="${0}"> <label class="${0}"> <foxy-i18n infer="" key="mode_simple${0}"> </foxy-i18n> <input class="sr-only" type="radio" name="mode" ?disabled="${0}" ?checked="${0}" @change="${0}"> </label> <label class="${0}"> <foxy-i18n infer="" key="mode_advanced"></foxy-i18n> <input class="sr-only" type="radio" name="mode" ?checked="${0}" @change="${0}"> </label> </div> ${0} </div> `),!(null===(t=this.options)||void 0===t?void 0:t.length),p({"p-xs rounded-s text-center font-medium transition-colors":!0,"bg-base ring-1 ring-contrast-5":!this.__isAdvancedMode&&i,"hover-bg-contrast-5":this.__isAdvancedMode&&i,"focus-within-ring-2 focus-within-ring-inset focus-within-ring-primary-50":!0,"cursor-pointer":i,"text-disabled":!i}),i?"":"_unsupported",!i,!this.__isAdvancedMode,(()=>this.__isAdvancedMode=!1),p({"p-xs rounded-s text-center font-medium cursor-pointer transition-colors":!0,"bg-base ring-1 ring-contrast-5":this.__isAdvancedMode,"hover-bg-contrast-5":!this.__isAdvancedMode,"focus-within-ring-2 focus-within-ring-inset focus-within-ring-primary-50":!0}),this.__isAdvancedMode,(()=>this.__isAdvancedMode=!0),this.__isAdvancedMode||!i?r(Ne||(Ne=ze` <p class="leading-s text-tertiary" ?hidden="${0}"> <foxy-i18n infer="" key="advanced_mode_notice"></foxy-i18n> <a target="_blank" class="cursor-pointer rounded-s text-secondary font-medium hover-underline focus-outline-none focus-ring-2 focus-ring-primary-50" href="${0}" rel="nofollow noreferrer noopener"> <foxy-i18n infer="" key="api_reference_link"></foxy-i18n> </a> </p> ${0} `),null===this.docsHref,f(null!==(o=this.docsHref)&&void 0!==o?o:void 0),Q({disableOr:this.disableOr,disabled:this.disabled,readonly:this.readonly,rules:u,operators:d,onChange:b,options:c,t:h})):null===(s=this.__simpleModeOptions)||void 0===s?void 0:s.map((l=>function(l){var a;const{options:n,layout:t,rules:o,name:s,disabled:i,readonly:u,t:d,onChange:c}=l,h=n.filter((e=>o.find((l=>l.path===e.path)))),b=o.find((e=>"order"===e.path)),g=null===(a=null==b?void 0:b.value)||void 0===a?void 0:a.split(",").map((e=>{const[l,a="asc"]=decodeURIComponent(e).split(" ");return{path:l.trim(),order:a.trim()}}));return r(qe||(qe=Oe` <foxy-internal-summary-control aria-label="${0}" helper-text="" layout="${0}" label="${0}" count="${0}" infer=""> ${0} </foxy-internal-summary-control> `),l.t("query_builder_group"),f(t),t&&s?d(s):"",f(h.length||void 0),n.map((l=>{var a;const{type:n,label:t,list:s,path:h}=l,f={[v.Attribute]:ve,[v.Boolean]:ce,[v.String]:ye,[v.Number]:be,[v.Date]:we,[v.Any]:ye},b=s?Me:f[n],m=null===(a=null==g?void 0:g.find((e=>e.path===h)))||void 0===a?void 0:a.order,y=o.find((e=>e.path===h)),x=!!y||!!m;return r(Ie||(Ie=Oe` <div aria-label="${0}" class="${0}"> <foxy-i18n infer="" key="${0}"></foxy-i18n> <span class="transform scale-150 mr-auto ${0}">&bull;</span> ${0} ${0} </div> `),d("query_builder_rule"),p({"flex flex-wrap items-center justify-end gap-s":!0,"bg-primary-10 text-primary":x}),t,x?"":"opacity-0",b({disabled:i,readonly:u,option:l,rule:y,t:d,onChange:l=>{if(l&&y)return Object.assign(y,l),c(o);if(l){const a={path:h,value:"",operator:null};return c([...o,e(e({},a),l)])}return c(o.filter((e=>e.path!==h)))}}),n===v.Date||n===v.Number?ne({disabled:i,readonly:u,t:d,current:{label:`order_${null!=m?m:"none"}${m?`_${n}`:""}`,value:null!=m?m:"none"},options:[{label:"order_none",value:"none"},{label:`order_asc_${n}`,value:"asc"},{label:`order_desc_${n}`,value:"desc"}],onChange:e=>{const l=(null!=g?g:[]).filter((e=>e.path!==h)).concat([{path:h,order:e}]).filter((e=>"none"!==e.order)).map((e=>`${e.path} ${e.order}`)).join(),a=o.filter((e=>"order"!==e.path));l&&a.push({path:"order",value:l,operator:null}),c(a)}}):"")})))}(e(e({},l),{},{disabled:this.disabled,readonly:this.readonly,rules:u,onChange:b,t:h})))))}get __isSimpleModeSupported(){var e;if(null===this.options)return!1;if(0===this.options.length)return!1;const l=Ze(null!==(e=this.value)&&void 0!==e?e:"");return 0===l.length||l.every((e=>{var l;return!Array.isArray(e)&&(e.operator!==d.In&&((e.operator!==d.IsDefined||"true"===e.value)&&!(!this.reservedPaths.includes(e.path)&&!(null===(l=this.options)||void 0===l?void 0:l.find((l=>l.path===e.path))))))}))}get __simpleModeOptions(){var l;return null===(l=this.options)||void 0===l?void 0:l.reduce(((l,a)=>{const n=l.find((e=>{var l;return e.name===(null===(l=a.group)||void 0===l?void 0:l.name)}));return n?n.options.push(a):l.push(e(e({},a.group),{},{options:[a]})),l}),[])}}Re.ChangeEvent=class extends CustomEvent{},Re.Operator=d,Re.Type=v,customElements.define("foxy-query-builder",Re);export{Re as Q,Ze as p,He as s};
@@ -0,0 +1 @@
1
+ import{a,a6 as r,an as n,ap as e}from"./shared-7fec42f2.js";function s(s,t,f){if(!a(f))return!1;var i=typeof t;return!!("number"==i?r(f)&&n(t,f.length):"string"==i&&t in f)&&e(f[t],s)}export{s as i};
@@ -90,14 +90,12 @@
90
90
  "filter_is_anonymous_value_false": "Registered",
91
91
  "filter_is_anonymous_value_true": "Guest",
92
92
  "filter_email": "Email",
93
+ "advanced_mode_notice": "Advanced filtering allows you to create complex queries using the full power of our API. Please consult our documentation to learn what fields and operators are available:",
94
+ "api_reference_link": "Foxy hAPI",
93
95
  "add_or_clause": "Add OR clause",
94
96
  "add_value": "Add value",
95
- "date": "{{value, date}}",
96
97
  "delete": "Delete",
97
98
  "field": "Field",
98
- "hidden": "Hidden",
99
- "is_defined_false": "Not defined",
100
- "is_defined_true": "Defined",
101
99
  "name": "Name",
102
100
  "operator_equal": "Equal",
103
101
  "operator_greaterthan": "Greater than",
@@ -112,14 +110,18 @@
112
110
  "query_builder_rule": "Filter",
113
111
  "range_from": "From",
114
112
  "range_to": "To",
115
- "type": "Type",
116
- "type_any": "Field of unknown type",
117
- "type_attribute": "Key-value resource",
118
- "type_date": "Date field",
119
- "type_here": "Type here...",
120
- "type_number": "Numeric field",
121
- "type_string": "Text field",
122
- "value": "Value"
113
+ "range": "In range",
114
+ "mode_simple": "Simple",
115
+ "mode_simple_unsupported": "Simple (unavailable)",
116
+ "mode_advanced": "Advanced",
117
+ "value": "Value",
118
+ "value_any": "Any",
119
+ "value_empty": "Empty",
120
+ "order_none": "No order",
121
+ "order_asc_date": "Past to future",
122
+ "order_desc_date": "Future to past",
123
+ "order_asc_number": "Small to large",
124
+ "order_desc_number": "Large to small"
123
125
  },
124
126
  "pagination": {
125
127
  "search_button_text": "Filters",
@@ -209,18 +211,12 @@
209
211
  }
210
212
  },
211
213
  "query-builder": {
212
- "filters": {},
214
+ "advanced_mode_notice": "Advanced filtering allows you to create complex queries using the full power of our API. Please consult our documentation to learn what fields and operators are available:",
215
+ "api_reference_link": "Foxy hAPI",
213
216
  "add_or_clause": "Add OR clause",
214
217
  "add_value": "Add value",
215
- "code": "Code",
216
- "date": "{{value, date}}",
217
- "date_created": "Created on",
218
- "date_modified": "Last updated on",
219
218
  "delete": "Delete",
220
219
  "field": "Field",
221
- "hidden": "Hidden",
222
- "is_defined_false": "Not defined",
223
- "is_defined_true": "Defined",
224
220
  "name": "Name",
225
221
  "operator_equal": "Equal",
226
222
  "operator_greaterthan": "Greater than",
@@ -235,15 +231,18 @@
235
231
  "query_builder_rule": "Filter",
236
232
  "range_from": "From",
237
233
  "range_to": "To",
238
- "type": "Type",
239
- "type_any": "Field of unknown type",
240
- "type_attribute": "Key-value resource",
241
- "type_date": "Date field",
242
- "type_here": "Type here...",
243
- "type_number": "Numeric field",
244
- "type_string": "Text field",
245
- "used_codes": "Codes used",
246
- "value": "Value"
234
+ "range": "In range",
235
+ "mode_simple": "Simple",
236
+ "mode_simple_unsupported": "Simple (unavailable)",
237
+ "mode_advanced": "Advanced",
238
+ "value": "Value",
239
+ "value_any": "Any",
240
+ "value_empty": "Empty",
241
+ "order_none": "No order",
242
+ "order_asc_date": "Past to future",
243
+ "order_desc_date": "Future to past",
244
+ "order_asc_number": "Small to large",
245
+ "order_desc_number": "Large to small"
247
246
  }
248
247
  }
249
248
  },
@@ -337,14 +336,12 @@
337
336
  "filter_cc_type_value_maestro": "Maestro",
338
337
  "filter_cc_type_value_unionpay": "UnionPay",
339
338
  "filter_cc_number_masked": "Card number (masked)",
339
+ "advanced_mode_notice": "Advanced filtering allows you to create complex queries using the full power of our API. Please consult our documentation to learn what fields and operators are available:",
340
+ "api_reference_link": "Foxy hAPI",
340
341
  "add_or_clause": "Add OR clause",
341
342
  "add_value": "Add value",
342
- "date": "{{value, date}}",
343
343
  "delete": "Delete",
344
344
  "field": "Field",
345
- "hidden": "Hidden",
346
- "is_defined_false": "Not defined",
347
- "is_defined_true": "Defined",
348
345
  "name": "Name",
349
346
  "operator_equal": "Equal",
350
347
  "operator_greaterthan": "Greater than",
@@ -359,14 +356,18 @@
359
356
  "query_builder_rule": "Filter",
360
357
  "range_from": "From",
361
358
  "range_to": "To",
362
- "type": "Type",
363
- "type_any": "Field of unknown type",
364
- "type_attribute": "Key-value resource",
365
- "type_date": "Date field",
366
- "type_here": "Type here...",
367
- "type_number": "Numeric field",
368
- "type_string": "Text field",
369
- "value": "Value"
359
+ "range": "In range",
360
+ "mode_simple": "Simple",
361
+ "mode_simple_unsupported": "Simple (unavailable)",
362
+ "mode_advanced": "Advanced",
363
+ "value": "Value",
364
+ "value_any": "Any",
365
+ "value_empty": "Empty",
366
+ "order_none": "No order",
367
+ "order_asc_date": "Past to future",
368
+ "order_desc_date": "Future to past",
369
+ "order_asc_number": "Small to large",
370
+ "order_desc_number": "Large to small"
370
371
  },
371
372
  "pagination": {
372
373
  "search_button_text": "Filters",
@@ -324,17 +324,12 @@
324
324
  "per_page": "Items per page:"
325
325
  },
326
326
  "query-builder": {
327
+ "advanced_mode_notice": "Advanced filtering allows you to create complex queries using the full power of our API. Please consult our documentation to learn what fields and operators are available:",
328
+ "api_reference_link": "Foxy hAPI",
327
329
  "add_or_clause": "Add OR clause",
328
330
  "add_value": "Add value",
329
- "code": "Code",
330
- "date": "{{value, date}}",
331
- "date_created": "Created on",
332
- "date_modified": "Last updated on",
333
331
  "delete": "Delete",
334
332
  "field": "Field",
335
- "hidden": "Hidden",
336
- "is_defined_false": "Not defined",
337
- "is_defined_true": "Defined",
338
333
  "name": "Name",
339
334
  "operator_equal": "Equal",
340
335
  "operator_greaterthan": "Greater than",
@@ -349,15 +344,22 @@
349
344
  "query_builder_rule": "Filter",
350
345
  "range_from": "From",
351
346
  "range_to": "To",
352
- "type": "Type",
353
- "type_any": "Field of unknown type",
354
- "type_attribute": "Key-value resource",
355
- "type_date": "Date field",
356
- "type_here": "Type here...",
357
- "type_number": "Numeric field",
358
- "type_string": "Text field",
359
- "used_codes": "Codes used",
360
- "value": "Value"
347
+ "range": "In range",
348
+ "mode_simple": "Simple",
349
+ "mode_simple_unsupported": "Simple (unavailable)",
350
+ "mode_advanced": "Advanced",
351
+ "value": "Value",
352
+ "value_any": "Any",
353
+ "value_empty": "Empty",
354
+ "order_none": "No order",
355
+ "order_asc_date": "Past to future",
356
+ "order_desc_date": "Future to past",
357
+ "order_asc_number": "Small to large",
358
+ "order_desc_number": "Large to small",
359
+ "option_code": "Code",
360
+ "option_number_of_uses_to_date": "Number of uses",
361
+ "option_date_created": "Created on",
362
+ "option_date_modified": "Last updated on"
361
363
  }
362
364
  },
363
365
  "attributes-stub": {
@@ -598,13 +600,13 @@
598
600
  "helper_text": "This restricts the usage of the coupon based on an attribute name and value. When defined, the coupon will only apply if the customer has the specified attribute name and value. Wildcards are allowed.",
599
601
  "v8n_too_long": "Unfortunately we are unable to store that many customer attribute restrictions at the moment. Please reduce the number of rules in this section until this message disappears.",
600
602
  "query-builder": {
603
+ "advanced_mode_notice": "Advanced filtering allows you to create complex queries using the full power of our API. Please consult our documentation to learn what fields and operators are available:",
604
+ "api_reference_link": "Foxy hAPI",
601
605
  "add_or_clause": "Add OR clause",
602
606
  "add_value": "Add value",
603
- "code": "Code",
604
607
  "delete": "Delete",
605
- "field": "Attribute name",
606
- "is_defined_false": "Not defined",
607
- "is_defined_true": "Defined",
608
+ "field": "Field",
609
+ "name": "Name",
608
610
  "operator_equal": "Equal",
609
611
  "operator_greaterthan": "Greater than",
610
612
  "operator_greaterthanorequal": "Greater than or equal",
@@ -614,12 +616,22 @@
614
616
  "operator_lessthanorequal": "Less than or equal",
615
617
  "operator_not": "Not equal",
616
618
  "or": "Or",
617
- "query_builder_group": "Group of rules",
618
- "query_builder_rule": "Rule",
619
- "type": "Type",
620
- "type_any": "Field of unknown type",
621
- "type_here": "Type here...",
622
- "value": "Attribute value"
619
+ "query_builder_group": "Group of filters",
620
+ "query_builder_rule": "Filter",
621
+ "range_from": "From",
622
+ "range_to": "To",
623
+ "range": "In range",
624
+ "mode_simple": "Simple",
625
+ "mode_simple_unsupported": "Simple (unavailable)",
626
+ "mode_advanced": "Advanced",
627
+ "value": "Value",
628
+ "value_any": "Any",
629
+ "value_empty": "Empty",
630
+ "order_none": "No order",
631
+ "order_asc_date": "Past to future",
632
+ "order_desc_date": "Future to past",
633
+ "order_asc_number": "Small to large",
634
+ "order_desc_number": "Large to small"
623
635
  }
624
636
  },
625
637
  "customer-subscription-restrictions": {
@@ -960,18 +960,12 @@
960
960
  }
961
961
  },
962
962
  "query-builder": {
963
- "filters": {},
963
+ "advanced_mode_notice": "Advanced filtering allows you to create complex queries using the full power of our API. Please consult our documentation to learn what fields and operators are available:",
964
+ "api_reference_link": "Foxy hAPI",
964
965
  "add_or_clause": "Add OR clause",
965
966
  "add_value": "Add value",
966
- "code": "Code",
967
- "date": "{{value, date}}",
968
- "date_created": "Created on",
969
- "date_modified": "Last updated on",
970
967
  "delete": "Delete",
971
968
  "field": "Field",
972
- "hidden": "Hidden",
973
- "is_defined_false": "Not defined",
974
- "is_defined_true": "Defined",
975
969
  "name": "Name",
976
970
  "operator_equal": "Equal",
977
971
  "operator_greaterthan": "Greater than",
@@ -986,15 +980,18 @@
986
980
  "query_builder_rule": "Filter",
987
981
  "range_from": "From",
988
982
  "range_to": "To",
989
- "type": "Type",
990
- "type_any": "Field of unknown type",
991
- "type_attribute": "Key-value resource",
992
- "type_date": "Date field",
993
- "type_here": "Type here...",
994
- "type_number": "Numeric field",
995
- "type_string": "Text field",
996
- "used_codes": "Codes used",
997
- "value": "Value"
983
+ "range": "In range",
984
+ "mode_simple": "Simple",
985
+ "mode_simple_unsupported": "Simple (unavailable)",
986
+ "mode_advanced": "Advanced",
987
+ "value": "Value",
988
+ "value_any": "Any",
989
+ "value_empty": "Empty",
990
+ "order_none": "No order",
991
+ "order_asc_date": "Past to future",
992
+ "order_desc_date": "Future to past",
993
+ "order_asc_number": "Small to large",
994
+ "order_desc_number": "Large to small"
998
995
  }
999
996
  }
1000
997
  },
@@ -1,13 +1,14 @@
1
1
  {
2
+ "header": {
3
+ "title": "Filter"
4
+ },
2
5
  "filter-query": {
6
+ "advanced_mode_notice": "Advanced filtering allows you to create complex queries using the full power of our API. Please consult our documentation to learn what fields and operators are available:",
7
+ "api_reference_link": "Foxy hAPI",
3
8
  "add_or_clause": "Add OR clause",
4
9
  "add_value": "Add value",
5
- "date": "{{value, date}}",
6
10
  "delete": "Delete",
7
11
  "field": "Field",
8
- "hidden": "Hidden",
9
- "is_defined_false": "Not defined",
10
- "is_defined_true": "Defined",
11
12
  "name": "Name",
12
13
  "operator_equal": "Equal",
13
14
  "operator_greaterthan": "Greater than",
@@ -22,14 +23,18 @@
22
23
  "query_builder_rule": "Filter",
23
24
  "range_from": "From",
24
25
  "range_to": "To",
25
- "type": "Type",
26
- "type_any": "Field of unknown type",
27
- "type_attribute": "Key-value resource",
28
- "type_date": "Date field",
29
- "type_here": "Type here...",
30
- "type_number": "Numeric field",
31
- "type_string": "Text field",
32
- "value": "Value"
26
+ "range": "In range",
27
+ "mode_simple": "Simple",
28
+ "mode_simple_unsupported": "Simple (unavailable)",
29
+ "mode_advanced": "Advanced",
30
+ "value": "Value",
31
+ "value_any": "Any",
32
+ "value_empty": "Empty",
33
+ "order_none": "No order",
34
+ "order_asc_date": "Past to future",
35
+ "order_desc_date": "Future to past",
36
+ "order_asc_number": "Small to large",
37
+ "order_desc_number": "Large to small"
33
38
  },
34
39
  "filter-name": {
35
40
  "label": "Name",
@@ -37,8 +42,8 @@
37
42
  "helper_text": ""
38
43
  },
39
44
  "action": {
40
- "caption": "Pin to sidebar",
41
- "update": "Save changes",
45
+ "create": "Pin to Sidebar",
46
+ "update": "Update",
42
47
  "delete": "Unpin",
43
48
  "reset": "Reset"
44
49
  },