filepond 5.0.0-beta.21 → 5.0.0-beta.22

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 (235) hide show
  1. package/cdn/assets/index.js +1 -1
  2. package/cdn/locales/ar-ar.js +1 -1
  3. package/cdn/locales/bn-bd.js +1 -1
  4. package/cdn/locales/cs-cz.js +1 -1
  5. package/cdn/locales/da-dk.js +1 -1
  6. package/cdn/locales/de-de.js +1 -1
  7. package/cdn/locales/el-gr.js +1 -1
  8. package/cdn/locales/en-gb.js +1 -1
  9. package/cdn/locales/es-es.js +1 -1
  10. package/cdn/locales/fi-fi.js +1 -1
  11. package/cdn/locales/fr-fr.js +1 -1
  12. package/cdn/locales/hi-in.js +1 -1
  13. package/cdn/locales/hu-hu.js +1 -1
  14. package/cdn/locales/index.js +1 -1
  15. package/cdn/locales/is-is.js +1 -1
  16. package/cdn/locales/it-it.js +1 -1
  17. package/cdn/locales/ja-jp.js +1 -1
  18. package/cdn/locales/ko-kr.js +1 -1
  19. package/cdn/locales/nb-no.js +1 -1
  20. package/cdn/locales/nl-nl.js +1 -1
  21. package/cdn/locales/pl-pl.js +1 -1
  22. package/cdn/locales/pt-pt.js +1 -1
  23. package/cdn/locales/sv-se.js +1 -1
  24. package/cdn/locales/tr-tr.js +1 -1
  25. package/cdn/locales/uk-ua.js +1 -1
  26. package/cdn/locales/vi-vn.js +1 -1
  27. package/cdn/locales/zh-cn.js +1 -1
  28. package/cdn/main.js +2 -2
  29. package/cdn/workers/httpRequest.js +1 -1
  30. package/cdn/workers/readFile.js +1 -1
  31. package/cdn/workers/transformImage.js +1 -1
  32. package/esm/assets/index.js +1 -1
  33. package/esm/common/console.js +1 -1
  34. package/esm/common/entry.js +1 -1
  35. package/esm/common/perceivedPerformanceProxy.js +1 -1
  36. package/esm/common/readEntriesFromDataTransfer.js +1 -1
  37. package/esm/common/ssr.js +1 -1
  38. package/esm/common/status.js +1 -1
  39. package/esm/core/entryTree.js +1 -1
  40. package/esm/core/extensionManager.js +1 -1
  41. package/esm/core/taskScheduler.js +59 -54
  42. package/esm/dev/index.js +1 -1
  43. package/esm/elements/FilePondDefault/index.css.js +1 -1
  44. package/esm/elements/FilePondDefault/index.js +1 -1
  45. package/esm/elements/FilePondDropArea/index.css.js +1 -1
  46. package/esm/elements/FilePondDropArea/index.js +1 -1
  47. package/esm/elements/FilePondDropArea/index.svelte.js +1 -1
  48. package/esm/elements/FilePondDropIndicator/index.css.js +1 -1
  49. package/esm/elements/FilePondDropIndicator/index.js +1 -1
  50. package/esm/elements/FilePondDropIndicator/index.svelte.js +1 -1
  51. package/esm/elements/FilePondEntryList/components/Entry/index.css.js +1 -1
  52. package/esm/elements/FilePondEntryList/components/Entry/index.js +1 -1
  53. package/esm/elements/FilePondEntryList/components/Entry/index.svelte.js +1 -1
  54. package/esm/elements/FilePondEntryList/components/EntryActivityIndicator/index.css.js +1 -1
  55. package/esm/elements/FilePondEntryList/components/EntryActivityIndicator/index.js +1 -1
  56. package/esm/elements/FilePondEntryList/components/EntryActivityIndicator/index.svelte.js +1 -1
  57. package/esm/elements/FilePondEntryList/components/EntryList/index.css.js +1 -1
  58. package/esm/elements/FilePondEntryList/components/EntryList/index.js +1 -1
  59. package/esm/elements/FilePondEntryList/components/EntryList/index.svelte.js +1 -1
  60. package/esm/elements/FilePondEntryList/components/EntryListItem/index.css.js +1 -1
  61. package/esm/elements/FilePondEntryList/components/EntryListItem/index.js +1 -1
  62. package/esm/elements/FilePondEntryList/components/EntryListItem/index.svelte.js +1 -1
  63. package/esm/elements/FilePondEntryList/components/EntryListItemPlaceholder/index.svelte.js +1 -1
  64. package/esm/elements/FilePondEntryList/components/EntryStatus/index.css.js +1 -1
  65. package/esm/elements/FilePondEntryList/components/EntryStatus/index.js +1 -1
  66. package/esm/elements/FilePondEntryList/components/EntryStatus/index.svelte.js +1 -1
  67. package/esm/elements/FilePondEntryList/components/MediaImage/components/BitmapRenderer.svelte.js +43 -43
  68. package/esm/elements/FilePondEntryList/components/MediaImage/components/BitmapRendererCache.js +1 -1
  69. package/esm/elements/FilePondEntryList/components/MediaImage/index.css.js +1 -1
  70. package/esm/elements/FilePondEntryList/components/MediaImage/index.js +1 -1
  71. package/esm/elements/FilePondEntryList/components/MediaImage/index.svelte.js +1 -1
  72. package/esm/elements/FilePondEntryList/components/MediaPane/index.css.js +1 -1
  73. package/esm/elements/FilePondEntryList/components/MediaPane/index.js +1 -1
  74. package/esm/elements/FilePondEntryList/components/MediaPane/index.svelte.js +1 -1
  75. package/esm/elements/FilePondEntryList/components/MediaTimeIndicator/index.css.js +1 -1
  76. package/esm/elements/FilePondEntryList/components/MediaTimeIndicator/index.js +1 -1
  77. package/esm/elements/FilePondEntryList/components/MediaTimeIndicator/index.svelte.js +1 -1
  78. package/esm/elements/FilePondEntryList/components/MediaVideo/index.css.js +1 -1
  79. package/esm/elements/FilePondEntryList/components/MediaVideo/index.js +1 -1
  80. package/esm/elements/FilePondEntryList/components/MediaVideo/index.svelte.js +54 -51
  81. package/esm/elements/FilePondEntryList/contexts/appContext.js +1 -1
  82. package/esm/elements/FilePondEntryList/contexts/dragContext.js +1 -1
  83. package/esm/elements/FilePondEntryList/contexts/dropContext.js +1 -1
  84. package/esm/elements/FilePondEntryList/contexts/entryContext.js +1 -1
  85. package/esm/elements/FilePondEntryList/contexts/springElementTreeContext.js +1 -1
  86. package/esm/elements/FilePondEntryList/index.css.js +1 -1
  87. package/esm/elements/FilePondEntryList/index.js +1 -1
  88. package/esm/elements/FilePondEntryList/index.svelte.js +1 -1
  89. package/esm/elements/FilePondInput/index.css.js +1 -1
  90. package/esm/elements/FilePondInput/index.js +1 -1
  91. package/esm/elements/FilePondSvelteComponent/index.svelte.js +1 -1
  92. package/esm/elements/attachments/dragarea.js +1 -1
  93. package/esm/elements/attachments/droparea.js +1 -1
  94. package/esm/elements/attachments/measurable.js +1 -1
  95. package/esm/elements/attachments/resizable.js +1 -1
  96. package/esm/elements/attachments/transitions.js +1 -1
  97. package/esm/elements/common/animationGuard.js +1 -1
  98. package/esm/elements/common/animationPreference.svelte.js +1 -1
  99. package/esm/elements/common/dragDrop.js +1 -1
  100. package/esm/elements/common/event.js +1 -1
  101. package/esm/elements/common/extendStyles.js +1 -1
  102. package/esm/elements/common/getClosestElement.js +1 -1
  103. package/esm/elements/common/html.js +1 -1
  104. package/esm/elements/common/nodeTree.js +1 -1
  105. package/esm/elements/common/store.svelte.js +1 -1
  106. package/esm/elements/common/string.js +1 -1
  107. package/esm/elements/common/transition.js +1 -1
  108. package/esm/elements/components/BooleanInput/index.css.js +1 -1
  109. package/esm/elements/components/BooleanInput/index.js +1 -1
  110. package/esm/elements/components/BooleanInput/index.svelte.js +1 -1
  111. package/esm/elements/components/Button/index.css.js +1 -1
  112. package/esm/elements/components/Button/index.js +1 -1
  113. package/esm/elements/components/Button/index.svelte.js +1 -1
  114. package/esm/elements/components/ElementPane/index.css.js +1 -1
  115. package/esm/elements/components/ElementPane/index.js +1 -1
  116. package/esm/elements/components/ElementPane/index.svelte.js +1 -1
  117. package/esm/elements/components/ElementSkeleton/index.css.js +1 -1
  118. package/esm/elements/components/ElementSkeleton/index.js +1 -1
  119. package/esm/elements/components/ElementSkeleton/index.svelte.js +1 -1
  120. package/esm/elements/components/FilenameInput/index.css.js +1 -1
  121. package/esm/elements/components/FilenameInput/index.js +1 -1
  122. package/esm/elements/components/FilenameInput/index.svelte.js +1 -1
  123. package/esm/elements/components/NodeList/index.svelte.js +1 -1
  124. package/esm/elements/components/ProgressIndicator/index.css.js +1 -1
  125. package/esm/elements/components/ProgressIndicator/index.js +1 -1
  126. package/esm/elements/components/ProgressIndicator/index.svelte.js +1 -1
  127. package/esm/elements/components/RangeInput/index.css.js +1 -1
  128. package/esm/elements/components/RangeInput/index.js +1 -1
  129. package/esm/elements/components/RangeInput/index.svelte.js +1 -1
  130. package/esm/elements/components/SpringElement/index.svelte.js +1 -1
  131. package/esm/elements/components/TextInput/index.css.js +1 -1
  132. package/esm/elements/components/TextInput/index.js +1 -1
  133. package/esm/elements/components/TextInput/index.svelte.js +1 -1
  134. package/esm/extensions/blob-loader.js +1 -1
  135. package/esm/extensions/canvas-loader.js +1 -1
  136. package/esm/extensions/chunked-upload-store.js +1 -1
  137. package/esm/extensions/clipboard-source.js +1 -1
  138. package/esm/extensions/common/createExtension.js +1 -1
  139. package/esm/extensions/common/createStoreExtension.js +1 -1
  140. package/esm/extensions/common/createTransformExtension.js +1 -1
  141. package/esm/extensions/common/createValidatorExtension.js +1 -1
  142. package/esm/extensions/console-view.js +1 -1
  143. package/esm/extensions/data-transfer-loader.js +1 -1
  144. package/esm/extensions/data-url-store.js +1 -1
  145. package/esm/extensions/drag-drop-source.js +1 -1
  146. package/esm/extensions/dropbox-source.js +1 -1
  147. package/esm/extensions/entry-list-view.js +1 -1
  148. package/esm/extensions/file-extension-validator.js +1 -1
  149. package/esm/extensions/file-input-source.js +1 -1
  150. package/esm/extensions/file-input-store.js +1 -1
  151. package/esm/extensions/file-mime-type-validator.js +1 -1
  152. package/esm/extensions/file-name-transform.js +1 -1
  153. package/esm/extensions/file-name-validator.js +1 -1
  154. package/esm/extensions/file-size-validator.js +1 -1
  155. package/esm/extensions/form-post-store.js +1 -1
  156. package/esm/extensions/image-bitmap-transform.js +1 -1
  157. package/esm/extensions/index.js +1 -1
  158. package/esm/extensions/list-count-validator.js +1 -1
  159. package/esm/extensions/list-size-validator.js +1 -1
  160. package/esm/extensions/media-resolution-validator.js +1 -1
  161. package/esm/extensions/object-url-store.js +1 -1
  162. package/esm/extensions/simulated-loader.js +1 -1
  163. package/esm/extensions/simulated-store.js +61 -38
  164. package/esm/extensions/text-input-store.js +1 -1
  165. package/esm/extensions/url-loader.js +1 -1
  166. package/esm/extensions/value-callback-store.js +1 -1
  167. package/esm/index.js +1 -1
  168. package/esm/locales/ar-ar.js +1 -1
  169. package/esm/locales/bn-bd.js +1 -1
  170. package/esm/locales/cs-cz.js +1 -1
  171. package/esm/locales/da-dk.js +1 -1
  172. package/esm/locales/de-de.js +1 -1
  173. package/esm/locales/el-gr.js +1 -1
  174. package/esm/locales/en-gb.js +1 -1
  175. package/esm/locales/es-es.js +1 -1
  176. package/esm/locales/fi-fi.js +1 -1
  177. package/esm/locales/fr-fr.js +1 -1
  178. package/esm/locales/hi-in.js +1 -1
  179. package/esm/locales/hu-hu.js +1 -1
  180. package/esm/locales/index.js +1 -1
  181. package/esm/locales/is-is.js +1 -1
  182. package/esm/locales/it-it.js +1 -1
  183. package/esm/locales/ja-jp.js +1 -1
  184. package/esm/locales/ko-kr.js +1 -1
  185. package/esm/locales/nb-no.js +1 -1
  186. package/esm/locales/nl-nl.js +1 -1
  187. package/esm/locales/pl-pl.js +1 -1
  188. package/esm/locales/pt-pt.js +1 -1
  189. package/esm/locales/sv-se.js +1 -1
  190. package/esm/locales/tr-tr.js +1 -1
  191. package/esm/locales/uk-ua.js +1 -1
  192. package/esm/locales/vi-vn.js +1 -1
  193. package/esm/locales/zh-cn.js +1 -1
  194. package/esm/templates/entry.js +1 -1
  195. package/esm/templates/helpers.js +1 -1
  196. package/esm/templates/index.js +1 -1
  197. package/esm/templates/media.js +111 -118
  198. package/esm/utils/array.js +1 -1
  199. package/esm/utils/bounds.js +1 -1
  200. package/esm/utils/cache.js +1 -1
  201. package/esm/utils/canvasToBlob.js +1 -1
  202. package/esm/utils/date.js +1 -1
  203. package/esm/utils/debounce.js +1 -1
  204. package/esm/utils/dom.js +1 -1
  205. package/esm/utils/file.js +1 -1
  206. package/esm/utils/functionToBlob.js +1 -1
  207. package/esm/utils/keyboard.js +1 -1
  208. package/esm/utils/math.js +1 -1
  209. package/esm/utils/media.js +1 -1
  210. package/esm/utils/number.js +1 -1
  211. package/esm/utils/object.js +1 -1
  212. package/esm/utils/objectURL.js +1 -1
  213. package/esm/utils/placeholder.js +1 -1
  214. package/esm/utils/poly.js +1 -1
  215. package/esm/utils/pubsub.js +1 -1
  216. package/esm/utils/rect.js +1 -1
  217. package/esm/utils/size.js +1 -1
  218. package/esm/utils/sleep.js +1 -1
  219. package/esm/utils/string.js +1 -1
  220. package/esm/utils/support.js +1 -1
  221. package/esm/utils/test.js +1 -1
  222. package/esm/utils/thread.js +1 -1
  223. package/esm/utils/tree.js +1 -1
  224. package/esm/utils/url.js +1 -1
  225. package/esm/utils/vector.js +1 -1
  226. package/esm/utils/window.js +1 -1
  227. package/esm/utils/xhr.js +1 -1
  228. package/esm/workers/httpRequest.js +1 -1
  229. package/esm/workers/readFile.js +1 -1
  230. package/esm/workers/transformImage.js +1 -1
  231. package/package.json +2 -1
  232. package/types/core/taskScheduler.d.ts +3 -3
  233. package/types/elements/FilePondEntryList/index.d.ts +1 -1
  234. package/types/extensions/simulated-store.d.ts +6 -0
  235. package/types/templates/media.d.ts +6 -18
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
@@ -1,16 +1,17 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com
6
6
  */
7
- import { createStoreExtension as b } from "./common/createStoreExtension.js";
8
- import { isFileEntry as x, isFile as D } from "../utils/test.js";
9
- import { getUniqueId as k } from "../utils/string.js";
10
- import { createProgressEvent as P } from "../utils/xhr.js";
11
- import { log as g } from "../common/console.js";
12
- import { sleep as m } from "../utils/sleep.js";
13
- const T = b(
7
+ import { createStoreExtension as k } from "./common/createStoreExtension.js";
8
+ import { isFileEntry as P, isFile as U } from "../utils/test.js";
9
+ import { getUniqueId as z } from "../utils/string.js";
10
+ import { createProgressEvent as I } from "../utils/xhr.js";
11
+ import { log as h } from "../common/console.js";
12
+ import { sleep as g } from "../utils/sleep.js";
13
+ import { noop as y } from "../utils/placeholder.js";
14
+ const H = k(
14
15
  "SimulatedStore",
15
16
  {
16
17
  bitrate: 1024e3,
@@ -19,57 +20,79 @@ const T = b(
19
20
  fetchStoredFile: void 0,
20
21
  log: !0
21
22
  },
22
- ({ extensionName: y, props: l, didSetProps: S }) => {
23
- let d;
24
- S(({ bitrate: e = 1024e3, tickrate: t = 250 }) => {
25
- d = e / 8 * (t / 1e3);
23
+ ({ extensionName: S, props: d, didSetProps: w }) => {
24
+ let p;
25
+ w(({ bitrate: e = 1024e3, tickrate: t = 250 }) => {
26
+ p = e / 8 * (t / 1e3);
26
27
  });
27
- const n = /* @__PURE__ */ new Map();
28
- async function p(e, { abortController: t, onprogress: i, onabort: o }) {
29
- if (!x(e) || !D(e.file))
28
+ const a = /* @__PURE__ */ new Map();
29
+ async function v(e, { abortController: t, onprogress: n, onabort: o }) {
30
+ if (!P(e) || !U(e.file))
30
31
  return;
31
32
  let r;
32
33
  t.signal.onabort = () => {
33
34
  clearInterval(r), o();
34
35
  };
35
- const { log: s, connectionDelay: h, tickrate: v } = l;
36
- if (await m(h), t.signal.aborted)
36
+ const { log: s, connectionDelay: f, tickrate: m, onstore: b = y } = d;
37
+ if (await g(f), t.signal.aborted)
37
38
  return;
38
- const f = e.size;
39
- return await new Promise((F) => {
40
- let a = 0;
39
+ const u = e.size;
40
+ return await new Promise((x, D) => {
41
+ let l = 0;
41
42
  r = setInterval(() => {
42
- if (!t.signal.aborted && (a = Math.min(f, a + d), i(P(!0, a, f)), a === f)) {
43
- const u = k();
44
- n.set(u, e), s && c(["did store", u]), clearInterval(r), F(u);
43
+ if (!t.signal.aborted) {
44
+ l = Math.min(u, l + p);
45
+ try {
46
+ b(l / u);
47
+ } catch (c) {
48
+ s && i(["error during store operation"]), clearInterval(r), D(c);
49
+ return;
50
+ }
51
+ if (n(I(!0, l, u)), l === u) {
52
+ const c = z();
53
+ a.set(c, e), s && i(["did store", c]), clearInterval(r), x(c);
54
+ }
45
55
  }
46
- }, v);
56
+ }, m);
47
57
  });
48
58
  }
49
- async function w(e, t, i) {
59
+ async function E(e, t, n) {
50
60
  const {
51
61
  log: o,
52
62
  connectionDelay: r,
53
- fetchStoredFile: s = () => new File(["Simulated"], "Untitled.txt", { type: "plain/text" })
54
- } = l;
55
- return o && c(["did restore", e]), n.has(e) ? (await m(r), n.get(e)) : await s(e, t, i);
63
+ fetchStoredFile: s = () => new File(["Simulated"], "Untitled.txt", { type: "plain/text" }),
64
+ onrestore: f = y
65
+ } = d;
66
+ await g(r);
67
+ try {
68
+ f();
69
+ } catch (m) {
70
+ throw o && i(["error during restore operation"]), m;
71
+ }
72
+ return a.has(e) ? (o && i(["did restore", e]), a.get(e)) : await s(e, t, n);
56
73
  }
57
- async function E(e) {
58
- const { log: t, connectionDelay: i } = l;
59
- return await m(i), n.delete(e), t && c(["did release", e]), !0;
74
+ async function F(e) {
75
+ const { log: t, connectionDelay: n, onrelease: o = y } = d;
76
+ await g(n);
77
+ try {
78
+ o();
79
+ } catch (r) {
80
+ throw t && i(["error during release operation"]), r;
81
+ }
82
+ return a.delete(e), t && i(["did release", e]), !0;
60
83
  }
61
- function c(e) {
62
- g("⛃", y, "(", ...e, ")"), Array.from(n).forEach(([t, i], o, r) => {
63
- g(" ", o < r.length - 1 ? "├─" : "└─", t, i);
84
+ function i(e) {
85
+ h("⛃", S, "(", ...e, ")"), Array.from(a).forEach(([t, n], o, r) => {
86
+ h(" ", o < r.length - 1 ? "├─" : "└─", t, n);
64
87
  });
65
88
  }
66
89
  return {
67
- storeEntry: p,
68
- restoreEntry: w,
69
- releaseEntry: E
90
+ storeEntry: v,
91
+ restoreEntry: E,
92
+ releaseEntry: F
70
93
  };
71
94
  }
72
95
  );
73
96
  export {
74
- T as SimulatedStore
97
+ H as SimulatedStore
75
98
  };
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * FilePond v5.0.0-beta.21
2
+ * FilePond v5.0.0-beta.22
3
3
  * Copyright (c) 2017-2026 Pqina B.V.
4
4
  * Released under the MIT License
5
5
  * https://filepond.com