filepond 5.0.0-beta.2 → 5.0.0-beta.21
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.
- package/README.md +27 -4
- package/cdn/assets/index.js +1 -1
- package/cdn/dev/index.js +1 -0
- package/cdn/extensions/blob-loader.js +1 -1
- package/cdn/extensions/canvas-loader.js +1 -1
- package/cdn/extensions/chunked-upload-store.js +1 -1
- package/cdn/extensions/clipboard-source.js +1 -1
- package/cdn/extensions/console-view.js +1 -1
- package/cdn/extensions/data-transfer-loader.js +1 -1
- package/cdn/extensions/data-url-store.js +1 -1
- package/cdn/extensions/drag-drop-source.js +1 -1
- package/cdn/extensions/dropbox-source.js +1 -1
- package/cdn/extensions/entry-list-view.js +1 -1
- package/cdn/extensions/file-extension-validator.js +1 -1
- package/cdn/extensions/file-input-source.js +1 -1
- package/cdn/extensions/file-input-store.js +1 -1
- package/cdn/extensions/file-mime-type-validator.js +1 -1
- package/cdn/extensions/file-name-transform.js +1 -1
- package/cdn/extensions/file-name-validator.js +1 -1
- package/cdn/extensions/file-size-validator.js +1 -1
- package/cdn/extensions/form-post-store.js +1 -1
- package/cdn/extensions/image-bitmap-transform.js +1 -0
- package/cdn/extensions/index.js +1 -1
- package/cdn/extensions/list-count-validator.js +1 -1
- package/cdn/extensions/list-size-validator.js +1 -1
- package/cdn/extensions/media-resolution-validator.js +1 -1
- package/cdn/extensions/object-url-store.js +1 -1
- package/cdn/extensions/simulated-loader.js +1 -1
- package/cdn/extensions/simulated-store.js +1 -1
- package/cdn/extensions/text-input-store.js +1 -1
- package/cdn/extensions/url-loader.js +1 -1
- package/cdn/extensions/value-callback-store.js +1 -1
- package/cdn/index.js +1 -7
- package/cdn/locales/ar-ar.js +72 -48
- package/cdn/locales/bn-bd.js +72 -48
- package/cdn/locales/cs-cz.js +83 -59
- package/cdn/locales/da-dk.js +74 -50
- package/cdn/locales/de-de.js +72 -42
- package/cdn/locales/el-gr.js +72 -48
- package/cdn/locales/en-gb.js +85 -62
- package/cdn/locales/es-es.js +69 -39
- package/cdn/locales/fi-fi.js +69 -45
- package/cdn/locales/fr-fr.js +78 -48
- package/cdn/locales/hi-in.js +72 -42
- package/cdn/locales/hu-hu.js +66 -42
- package/cdn/locales/index.js +1 -1
- package/cdn/locales/is-is.js +71 -47
- package/cdn/locales/it-it.js +73 -43
- package/cdn/locales/ja-jp.js +72 -42
- package/cdn/locales/ko-kr.js +72 -42
- package/cdn/locales/nb-no.js +74 -44
- package/cdn/locales/nl-nl.js +71 -48
- package/cdn/locales/pl-pl.js +76 -52
- package/cdn/locales/pt-pt.js +71 -41
- package/cdn/locales/sv-se.js +73 -43
- package/cdn/locales/tr-tr.js +83 -59
- package/cdn/locales/uk-ua.js +72 -48
- package/cdn/locales/vi-vn.js +82 -58
- package/cdn/locales/zh-cn.js +72 -42
- package/cdn/main.js +7 -0
- package/cdn/templates/entry.js +1 -1
- package/cdn/templates/helpers.js +1 -1
- package/cdn/templates/index.js +1 -1
- package/cdn/templates/media.js +1 -1
- package/cdn/workers/httpRequest.js +45 -0
- package/cdn/workers/httpRequestWorker.js +37 -0
- package/cdn/workers/readFile.js +14 -0
- package/cdn/workers/readFileWorker.js +6 -0
- package/cdn/workers/transformImage.js +16 -0
- package/cdn/workers/transformImageWorker.js +8 -0
- package/esm/assets/index.js +1 -1
- package/esm/common/console.js +1 -1
- package/esm/common/entry.js +1 -1
- package/esm/common/perceivedPerformanceProxy.js +1 -1
- package/esm/common/readEntriesFromDataTransfer.js +1 -1
- package/esm/common/ssr.js +1 -1
- package/esm/common/status.js +1 -1
- package/esm/core/entryTree.js +142 -133
- package/esm/core/extensionManager.js +89 -86
- package/esm/core/taskScheduler.js +78 -97
- package/esm/dev/index.js +122 -0
- package/esm/elements/FilePondDefault/index.css.js +2 -2
- package/esm/elements/FilePondDefault/index.js +164 -125
- package/esm/elements/FilePondDropArea/index.css.js +1 -1
- package/esm/elements/FilePondDropArea/index.js +1 -1
- package/esm/elements/FilePondDropArea/index.svelte.js +38 -40
- package/esm/elements/FilePondDropIndicator/index.css.js +1 -1
- package/esm/elements/FilePondDropIndicator/index.js +1 -1
- package/esm/elements/FilePondDropIndicator/index.svelte.js +65 -67
- package/esm/elements/FilePondEntryList/components/Entry/index.css.js +2 -2
- package/esm/elements/FilePondEntryList/components/Entry/index.js +1 -1
- package/esm/elements/FilePondEntryList/components/Entry/index.svelte.js +37 -37
- package/esm/elements/FilePondEntryList/components/EntryActivityIndicator/index.css.js +2 -2
- package/esm/elements/FilePondEntryList/components/EntryActivityIndicator/index.js +1 -2
- package/esm/elements/FilePondEntryList/components/EntryActivityIndicator/index.svelte.js +115 -86
- package/esm/elements/FilePondEntryList/components/EntryList/index.css.js +1 -1
- package/esm/elements/FilePondEntryList/components/EntryList/index.js +1 -1
- package/esm/elements/FilePondEntryList/components/EntryList/index.svelte.js +159 -154
- package/esm/elements/FilePondEntryList/components/EntryListItem/index.css.js +1 -1
- package/esm/elements/FilePondEntryList/components/EntryListItem/index.js +1 -2
- package/esm/elements/FilePondEntryList/components/EntryListItem/index.svelte.js +70 -46
- package/esm/elements/FilePondEntryList/components/EntryListItemPlaceholder/index.svelte.js +1 -1
- package/esm/elements/FilePondEntryList/components/EntryStatus/index.css.js +1 -1
- package/esm/elements/FilePondEntryList/components/EntryStatus/index.js +1 -2
- package/esm/elements/FilePondEntryList/components/EntryStatus/index.svelte.js +62 -62
- package/esm/elements/FilePondEntryList/components/MediaImage/components/BitmapRenderer.svelte.js +65 -60
- package/esm/elements/FilePondEntryList/components/MediaImage/components/BitmapRendererCache.js +1 -1
- package/esm/elements/FilePondEntryList/components/MediaImage/index.css.js +1 -1
- package/esm/elements/FilePondEntryList/components/MediaImage/index.js +2 -1
- package/esm/elements/FilePondEntryList/components/MediaImage/index.svelte.js +91 -83
- package/esm/elements/FilePondEntryList/components/MediaPane/index.css.js +2 -2
- package/esm/elements/FilePondEntryList/components/MediaPane/index.js +1 -1
- package/esm/elements/FilePondEntryList/components/MediaPane/index.svelte.js +33 -35
- package/esm/elements/FilePondEntryList/components/MediaTimeIndicator/index.css.js +1 -1
- package/esm/elements/FilePondEntryList/components/MediaTimeIndicator/index.js +1 -1
- package/esm/elements/FilePondEntryList/components/MediaTimeIndicator/index.svelte.js +1 -1
- package/esm/elements/FilePondEntryList/components/MediaVideo/index.css.js +1 -1
- package/esm/elements/FilePondEntryList/components/MediaVideo/index.js +1 -1
- package/esm/elements/FilePondEntryList/components/MediaVideo/index.svelte.js +88 -88
- package/esm/elements/FilePondEntryList/contexts/appContext.js +1 -1
- package/esm/elements/FilePondEntryList/contexts/dragContext.js +1 -1
- package/esm/elements/FilePondEntryList/contexts/dropContext.js +1 -1
- package/esm/elements/FilePondEntryList/contexts/entryContext.js +1 -1
- package/esm/elements/FilePondEntryList/contexts/springElementTreeContext.js +1 -1
- package/esm/elements/FilePondEntryList/index.css.js +2 -2
- package/esm/elements/FilePondEntryList/index.js +11 -14
- package/esm/elements/FilePondEntryList/index.svelte.js +351 -271
- package/esm/elements/FilePondInput/index.css.js +3 -3
- package/esm/elements/FilePondInput/index.js +252 -191
- package/esm/elements/FilePondSvelteComponent/index.svelte.js +11 -11
- package/esm/elements/attachments/dragarea.js +62 -63
- package/esm/elements/attachments/droparea.js +1 -1
- package/esm/elements/attachments/measurable.js +1 -1
- package/esm/elements/attachments/resizable.js +1 -1
- package/esm/elements/attachments/transitions.js +1 -1
- package/esm/elements/common/animationGuard.js +1 -1
- package/esm/elements/common/animationPreference.svelte.js +35 -41
- package/esm/elements/common/dragDrop.js +1 -1
- package/esm/elements/common/event.js +1 -1
- package/esm/elements/common/extendStyles.js +1 -1
- package/esm/elements/common/getClosestElement.js +1 -1
- package/esm/elements/common/html.js +4 -4
- package/esm/elements/common/nodeTree.js +9 -9
- package/esm/elements/common/store.svelte.js +1 -1
- package/esm/elements/common/string.js +75 -55
- package/esm/elements/common/transition.js +1 -1
- package/esm/elements/components/BooleanInput/index.css.js +1 -1
- package/esm/elements/components/BooleanInput/index.js +1 -1
- package/esm/elements/components/BooleanInput/index.svelte.js +31 -33
- package/esm/elements/components/Button/index.css.js +2 -2
- package/esm/elements/components/Button/index.js +1 -1
- package/esm/elements/components/Button/index.svelte.js +49 -49
- package/esm/elements/components/ElementPane/index.css.js +1 -1
- package/esm/elements/components/ElementPane/index.js +1 -1
- package/esm/elements/components/ElementPane/index.svelte.js +1 -1
- package/esm/elements/components/ElementSkeleton/index.css.js +1 -1
- package/esm/elements/components/ElementSkeleton/index.js +1 -1
- package/esm/elements/components/ElementSkeleton/index.svelte.js +1 -1
- package/esm/elements/components/FilenameInput/index.css.js +2 -2
- package/esm/elements/components/FilenameInput/index.js +1 -1
- package/esm/elements/components/FilenameInput/index.svelte.js +1 -1
- package/esm/elements/components/NodeList/index.svelte.js +174 -200
- package/esm/elements/components/ProgressIndicator/index.css.js +2 -2
- package/esm/elements/components/ProgressIndicator/index.js +1 -1
- package/esm/elements/components/ProgressIndicator/index.svelte.js +98 -124
- package/esm/elements/components/RangeInput/index.css.js +2 -2
- package/esm/elements/components/RangeInput/index.js +1 -1
- package/esm/elements/components/RangeInput/index.svelte.js +86 -85
- package/esm/elements/components/SpringElement/index.svelte.js +91 -90
- package/esm/elements/components/TextInput/index.css.js +1 -1
- package/esm/elements/components/TextInput/index.js +1 -1
- package/esm/elements/components/TextInput/index.svelte.js +25 -27
- package/esm/extensions/blob-loader.js +1 -1
- package/esm/extensions/canvas-loader.js +1 -1
- package/esm/extensions/chunked-upload-store.js +1 -1
- package/esm/extensions/clipboard-source.js +1 -1
- package/esm/extensions/common/createExtension.js +38 -37
- package/esm/extensions/common/createStoreExtension.js +1 -1
- package/esm/extensions/common/createTransformExtension.js +1 -1
- package/esm/extensions/common/createValidatorExtension.js +1 -1
- package/esm/extensions/console-view.js +36 -33
- package/esm/extensions/data-transfer-loader.js +1 -1
- package/esm/extensions/data-url-store.js +24 -19
- package/esm/extensions/drag-drop-source.js +1 -1
- package/esm/extensions/dropbox-source.js +1 -1
- package/esm/extensions/entry-list-view.js +35 -29
- package/esm/extensions/file-extension-validator.js +1 -1
- package/esm/extensions/file-input-source.js +1 -1
- package/esm/extensions/file-input-store.js +1 -1
- package/esm/extensions/file-mime-type-validator.js +21 -17
- package/esm/extensions/file-name-transform.js +1 -1
- package/esm/extensions/file-name-validator.js +1 -1
- package/esm/extensions/file-size-validator.js +33 -22
- package/esm/extensions/form-post-store.js +1 -1
- package/esm/extensions/image-bitmap-transform.js +109 -0
- package/esm/extensions/index.js +23 -21
- package/esm/extensions/list-count-validator.js +21 -21
- package/esm/extensions/list-size-validator.js +42 -31
- package/esm/extensions/media-resolution-validator.js +57 -47
- package/esm/extensions/object-url-store.js +1 -1
- package/esm/extensions/simulated-loader.js +74 -65
- package/esm/extensions/simulated-store.js +1 -1
- package/esm/extensions/text-input-store.js +1 -1
- package/esm/extensions/url-loader.js +74 -71
- package/esm/extensions/value-callback-store.js +1 -1
- package/esm/index.js +1 -1
- package/esm/locales/ar-ar.js +72 -48
- package/esm/locales/bn-bd.js +72 -48
- package/esm/locales/cs-cz.js +83 -59
- package/esm/locales/da-dk.js +74 -50
- package/esm/locales/de-de.js +72 -42
- package/esm/locales/el-gr.js +72 -48
- package/esm/locales/en-gb.js +85 -62
- package/esm/locales/es-es.js +69 -39
- package/esm/locales/fi-fi.js +69 -45
- package/esm/locales/fr-fr.js +78 -48
- package/esm/locales/hi-in.js +72 -42
- package/esm/locales/hu-hu.js +66 -42
- package/esm/locales/index.js +1 -1
- package/esm/locales/is-is.js +71 -47
- package/esm/locales/it-it.js +73 -43
- package/esm/locales/ja-jp.js +72 -42
- package/esm/locales/ko-kr.js +72 -42
- package/esm/locales/nb-no.js +74 -44
- package/esm/locales/nl-nl.js +71 -48
- package/esm/locales/pl-pl.js +76 -52
- package/esm/locales/pt-pt.js +71 -41
- package/esm/locales/sv-se.js +73 -43
- package/esm/locales/tr-tr.js +83 -59
- package/esm/locales/uk-ua.js +72 -48
- package/esm/locales/vi-vn.js +82 -58
- package/esm/locales/zh-cn.js +72 -42
- package/esm/svelte/svelte/src/constants.js +13 -12
- package/esm/svelte/svelte/src/internal/client/constants.js +29 -24
- package/esm/svelte/svelte/src/internal/client/context.js +33 -28
- package/esm/svelte/svelte/src/internal/client/dom/blocks/boundary.js +185 -126
- package/esm/svelte/svelte/src/internal/client/dom/blocks/branches.js +42 -43
- package/esm/svelte/svelte/src/internal/client/dom/blocks/each.js +175 -150
- package/esm/svelte/svelte/src/internal/client/dom/blocks/html.js +55 -32
- package/esm/svelte/svelte/src/internal/client/dom/blocks/if.js +12 -12
- package/esm/svelte/svelte/src/internal/client/dom/blocks/svelte-element.js +17 -17
- package/esm/svelte/svelte/src/internal/client/dom/elements/attributes.js +111 -113
- package/esm/svelte/svelte/src/internal/client/dom/elements/bindings/this.js +29 -16
- package/esm/svelte/svelte/src/internal/client/dom/elements/events.js +65 -60
- package/esm/svelte/svelte/src/internal/client/dom/elements/transitions.js +54 -54
- package/esm/svelte/svelte/src/internal/client/dom/operations.js +30 -22
- package/esm/svelte/svelte/src/internal/client/dom/reconciler.js +19 -4
- package/esm/svelte/svelte/src/internal/client/error-handling.js +17 -17
- package/esm/svelte/svelte/src/internal/client/errors.js +24 -20
- package/esm/svelte/svelte/src/internal/client/proxy.js +1 -1
- package/esm/svelte/svelte/src/internal/client/reactivity/async.js +60 -40
- package/esm/svelte/svelte/src/internal/client/reactivity/batch.js +273 -236
- package/esm/svelte/svelte/src/internal/client/reactivity/deriveds.js +110 -84
- package/esm/svelte/svelte/src/internal/client/reactivity/effects.js +160 -157
- package/esm/svelte/svelte/src/internal/client/reactivity/props.js +2 -1
- package/esm/svelte/svelte/src/internal/client/reactivity/sources.js +69 -70
- package/esm/svelte/svelte/src/internal/client/reactivity/status.js +12 -0
- package/esm/svelte/svelte/src/internal/client/reactivity/utils.js +16 -0
- package/esm/svelte/svelte/src/internal/client/render.js +68 -64
- package/esm/svelte/svelte/src/internal/client/runtime.js +174 -170
- package/esm/svelte/svelte/src/internal/shared/attributes.js +32 -32
- package/esm/svelte/svelte/src/internal/shared/utils.js +16 -15
- package/esm/svelte/svelte/src/motion/spring.js +7 -7
- package/esm/svelte/svelte/src/reactivity/map.js +17 -21
- package/esm/templates/entry.js +194 -159
- package/esm/templates/helpers.js +85 -75
- package/esm/templates/index.js +1 -1
- package/esm/templates/media.js +163 -131
- package/esm/utils/array.js +1 -1
- package/esm/utils/bounds.js +1 -1
- package/esm/utils/cache.js +1 -1
- package/esm/utils/canvasToBlob.js +1 -1
- package/esm/utils/date.js +1 -1
- package/esm/utils/debounce.js +1 -1
- package/esm/utils/dom.js +84 -74
- package/esm/utils/file.js +82 -69
- package/esm/utils/functionToBlob.js +1 -1
- package/esm/utils/keyboard.js +34 -0
- package/esm/utils/math.js +14 -7
- package/esm/utils/media.js +1 -1
- package/esm/utils/number.js +11 -16
- package/esm/utils/object.js +1 -1
- package/esm/utils/objectURL.js +1 -1
- package/esm/utils/placeholder.js +1 -1
- package/esm/utils/poly.js +1 -1
- package/esm/utils/pubsub.js +1 -1
- package/esm/utils/rect.js +39 -30
- package/esm/utils/size.js +1 -1
- package/esm/utils/sleep.js +1 -1
- package/esm/utils/string.js +25 -21
- package/esm/utils/support.js +5 -6
- package/esm/utils/test.js +1 -1
- package/esm/utils/thread.js +50 -43
- package/esm/utils/tree.js +1 -1
- package/esm/utils/url.js +2 -2
- package/esm/utils/vector.js +1 -1
- package/esm/utils/window.js +1 -1
- package/esm/utils/xhr.js +88 -113
- package/esm/workers/httpRequest.js +45 -0
- package/esm/workers/httpRequestWorker.js +37 -0
- package/esm/workers/readFile.js +14 -0
- package/esm/workers/readFileWorker.js +6 -0
- package/esm/workers/transformImage.js +16 -0
- package/esm/workers/transformImageWorker.js +8 -0
- package/package.json +17 -12
- package/types/core/entryTree.d.ts +6 -2
- package/types/core/extensionManager.d.ts +16 -2
- package/types/core/taskScheduler.d.ts +2 -2
- package/types/dev/index.d.ts +11 -3
- package/types/elements/FilePondDefault/index.d.ts +15 -5
- package/types/elements/FilePondEntryList/components/MediaImage/index.d.ts +1 -1
- package/types/elements/FilePondEntryList/components/MediaVideo/index.d.ts +1 -1
- package/types/elements/FilePondEntryList/contexts/appContext.d.ts +1 -0
- package/types/elements/FilePondEntryList/contexts/entryContext.d.ts +1 -0
- package/types/elements/FilePondEntryList/index.d.ts +10 -11
- package/types/elements/FilePondInput/index.d.ts +22 -11
- package/types/elements/common/animationPreference.svelte.d.ts +6 -3
- package/types/elements/common/nodeTree.d.ts +1 -1
- package/types/elements/common/string.d.ts +1 -1
- package/types/extensions/common/createTransformExtension.d.ts +1 -1
- package/types/extensions/data-url-store.d.ts +2 -0
- package/types/extensions/file-name-transform.d.ts +1 -1
- package/types/extensions/file-size-validator.d.ts +2 -0
- package/types/extensions/image-bitmap-transform.d.ts +32 -0
- package/types/extensions/index.d.ts +1 -0
- package/types/extensions/list-size-validator.d.ts +2 -0
- package/types/extensions/simulated-loader.d.ts +2 -0
- package/types/extensions/simulated-store.d.ts +1 -1
- package/types/extensions/url-loader.d.ts +2 -0
- package/types/locales/ar-ar.d.ts +101 -76
- package/types/locales/bn-bd.d.ts +101 -76
- package/types/locales/cs-cz.d.ts +101 -76
- package/types/locales/da-dk.d.ts +101 -76
- package/types/locales/de-de.d.ts +101 -76
- package/types/locales/el-gr.d.ts +101 -76
- package/types/locales/en-gb.d.ts +102 -82
- package/types/locales/es-es.d.ts +101 -76
- package/types/locales/fi-fi.d.ts +101 -76
- package/types/locales/fr-fr.d.ts +101 -76
- package/types/locales/hi-in.d.ts +101 -76
- package/types/locales/hu-hu.d.ts +101 -76
- package/types/locales/is-is.d.ts +101 -76
- package/types/locales/it-it.d.ts +101 -76
- package/types/locales/ja-jp.d.ts +101 -76
- package/types/locales/ko-kr.d.ts +101 -76
- package/types/locales/nb-no.d.ts +101 -76
- package/types/locales/nl-nl.d.ts +101 -76
- package/types/locales/pl-pl.d.ts +101 -76
- package/types/locales/pt-pt.d.ts +101 -76
- package/types/locales/sv-se.d.ts +101 -76
- package/types/locales/tr-tr.d.ts +101 -76
- package/types/locales/uk-ua.d.ts +101 -76
- package/types/locales/vi-vn.d.ts +101 -76
- package/types/locales/zh-cn.d.ts +101 -76
- package/types/templates/entry.d.ts +15 -16
- package/types/templates/helpers.d.ts +5 -1
- package/types/templates/media.d.ts +43 -6
- package/types/types/index.d.ts +9 -15
- package/types/utils/file.d.ts +7 -15
- package/types/utils/keyboard.d.ts +5 -0
- package/types/utils/rect.d.ts +5 -0
- package/types/utils/string.d.ts +1 -0
- package/types/utils/thread.d.ts +6 -0
- package/types/utils/xhr.d.ts +1 -0
- package/types/workers/httpRequest.d.ts +23 -0
- package/types/workers/readFile.d.ts +9 -0
- package/types/workers/transformImage.d.ts +6 -0
- package/types/elements/FilePondEntryList/components/EntryContext/index.d.ts +0 -1
|
@@ -1,89 +1,109 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* FilePond v5.0.0-beta.
|
|
2
|
+
* FilePond v5.0.0-beta.21
|
|
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 { lowerCaseFirstLetter as V, upperCaseFirstLetter as
|
|
8
|
-
import { arrayRemoveFalsy as
|
|
9
|
-
import { isString as
|
|
10
|
-
import { createDefaultIcon as
|
|
11
|
-
import { hasOwnProp as
|
|
7
|
+
import { lowerCaseFirstLetter as V, upperCaseFirstLetter as d } from "../../utils/string.js";
|
|
8
|
+
import { arrayRemoveFalsy as j } from "../../utils/array.js";
|
|
9
|
+
import { isString as h, isNullOrUndefined as m, isObject as x } from "../../utils/test.js";
|
|
10
|
+
import { createDefaultIcon as L } from "./html.js";
|
|
11
|
+
import { hasOwnProp as v } from "../../utils/object.js";
|
|
12
12
|
import { cache as S } from "../../utils/cache.js";
|
|
13
|
-
function
|
|
14
|
-
return
|
|
13
|
+
function $(...t) {
|
|
14
|
+
return j(t).join(" ") || void 0;
|
|
15
15
|
}
|
|
16
16
|
function w(t) {
|
|
17
17
|
return V(
|
|
18
|
-
`${t.split("_").map((e) =>
|
|
18
|
+
`${t.split("_").map((e) => d(e.toLowerCase())).join("")}`
|
|
19
19
|
);
|
|
20
20
|
}
|
|
21
21
|
function F(t, e) {
|
|
22
|
-
return
|
|
22
|
+
return p(t.substring(2, t.length - 2), e);
|
|
23
23
|
}
|
|
24
|
-
function
|
|
25
|
-
const
|
|
26
|
-
for (const
|
|
27
|
-
if (e = e[
|
|
24
|
+
function p(t, e) {
|
|
25
|
+
const n = t.split(".");
|
|
26
|
+
for (const r of n)
|
|
27
|
+
if (e = e[r], m(e))
|
|
28
28
|
return "";
|
|
29
29
|
return e;
|
|
30
30
|
}
|
|
31
|
-
function
|
|
32
|
-
if (
|
|
31
|
+
function l(t, e, n = {}) {
|
|
32
|
+
if (h(t)) {
|
|
33
33
|
if (!e)
|
|
34
34
|
return t;
|
|
35
|
-
const
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
const c = Array.from(t.matchAll(/\{{[\.a-z]+\}}/gi));
|
|
36
|
+
if (!c.length)
|
|
37
|
+
return t;
|
|
38
|
+
for (const { 0: s } of c) {
|
|
39
|
+
const i = F(s, e);
|
|
40
|
+
let u = n[i] ?? i;
|
|
41
|
+
if (x(u) && i.startsWith("unit")) {
|
|
42
|
+
const a = s.substring(2, s.length - 6);
|
|
43
|
+
u = l(
|
|
44
|
+
{
|
|
45
|
+
template: "{{v}}",
|
|
46
|
+
variables: {
|
|
47
|
+
v: {
|
|
48
|
+
context: a,
|
|
49
|
+
// @ts-ignore
|
|
50
|
+
map: u
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
e,
|
|
55
|
+
n
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
t = t.replace(s, u);
|
|
39
59
|
}
|
|
40
|
-
return t;
|
|
60
|
+
return l(t, e, n);
|
|
41
61
|
}
|
|
42
|
-
const { variables:
|
|
43
|
-
let
|
|
44
|
-
"context" in i &&
|
|
45
|
-
const y =
|
|
46
|
-
return
|
|
47
|
-
},
|
|
48
|
-
return
|
|
62
|
+
const { variables: r, template: f } = t, o = Object.entries(r).reduce((c, [s, i]) => {
|
|
63
|
+
let u, a;
|
|
64
|
+
"context" in i && h(i.context) ? (u = i.context, a = i.map) : (u = s, a = i);
|
|
65
|
+
const y = p(u, e), g = m(a[y]) ? a.else : a[y];
|
|
66
|
+
return c.replace(`{{${s}}}`, `${g}`);
|
|
67
|
+
}, f);
|
|
68
|
+
return l(o, e, n);
|
|
49
69
|
}
|
|
50
|
-
function
|
|
51
|
-
return
|
|
70
|
+
function A(t, e, n = "") {
|
|
71
|
+
return h(t) ? e[t] ?? t : n;
|
|
52
72
|
}
|
|
53
|
-
function
|
|
54
|
-
const
|
|
55
|
-
if (
|
|
56
|
-
return
|
|
73
|
+
function C({ code: t, subcode: e, values: n }, r) {
|
|
74
|
+
const o = S(w, [e ?? t]), c = !m(r[o]);
|
|
75
|
+
if (c)
|
|
76
|
+
return c ? l(r[o], n, r) : void 0;
|
|
57
77
|
}
|
|
58
|
-
function
|
|
59
|
-
const
|
|
60
|
-
if (!(!
|
|
61
|
-
return
|
|
78
|
+
function D({ type: t }, e, n) {
|
|
79
|
+
const r = t, f = !m(n[r]), o = !m(e[r]);
|
|
80
|
+
if (!(!f || !o))
|
|
81
|
+
return L(n[r], {
|
|
62
82
|
// Should also have title
|
|
63
|
-
title: e[
|
|
83
|
+
title: e[r]
|
|
64
84
|
});
|
|
65
85
|
}
|
|
66
|
-
function
|
|
67
|
-
const
|
|
68
|
-
if (!
|
|
86
|
+
function O(t, e, n) {
|
|
87
|
+
const r = Object.keys(e);
|
|
88
|
+
if (!r.some((o) => v(t, o)))
|
|
69
89
|
return t;
|
|
70
|
-
const
|
|
90
|
+
const f = {
|
|
71
91
|
...t
|
|
72
92
|
};
|
|
73
|
-
for (const
|
|
74
|
-
if (t[
|
|
75
|
-
const
|
|
76
|
-
|
|
93
|
+
for (const o of r) {
|
|
94
|
+
if (t[o] === void 0) continue;
|
|
95
|
+
const c = e[o], s = t[o];
|
|
96
|
+
f[o] = n[c][s] ?? s;
|
|
77
97
|
}
|
|
78
|
-
return
|
|
98
|
+
return f;
|
|
79
99
|
}
|
|
80
100
|
export {
|
|
81
|
-
|
|
82
|
-
|
|
101
|
+
p as getObjectValueByString,
|
|
102
|
+
A as getValueByKeyFromData,
|
|
83
103
|
w as statusCodeToLocaleKey,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
104
|
+
D as statusToIcon,
|
|
105
|
+
C as statusToLabel,
|
|
106
|
+
l as stringReplaceVariables,
|
|
107
|
+
$ as toSpaceSeparatedString,
|
|
108
|
+
O as withResources
|
|
89
109
|
};
|
|
@@ -1,62 +1,60 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* FilePond v5.0.0-beta.
|
|
2
|
+
* FilePond v5.0.0-beta.21
|
|
3
3
|
* Copyright (c) 2017-2026 Pqina B.V.
|
|
4
4
|
* Released under the MIT License
|
|
5
5
|
* https://filepond.com
|
|
6
6
|
*/
|
|
7
7
|
import { get as c } from "../../../svelte/svelte/src/internal/client/runtime.js";
|
|
8
8
|
import { pop as U, push as W } from "../../../svelte/svelte/src/internal/client/context.js";
|
|
9
|
-
import { sibling as
|
|
10
|
-
import { user_effect as j, template_effect as
|
|
11
|
-
import { user_derived as
|
|
9
|
+
import { sibling as u, child as p } from "../../../svelte/svelte/src/internal/client/dom/operations.js";
|
|
10
|
+
import { user_effect as j, template_effect as s } from "../../../svelte/svelte/src/internal/client/reactivity/effects.js";
|
|
11
|
+
import { user_derived as h } from "../../../svelte/svelte/src/internal/client/reactivity/deriveds.js";
|
|
12
12
|
import { set_text as w } from "../../../svelte/svelte/src/internal/client/render.js";
|
|
13
|
-
import { from_html as
|
|
13
|
+
import { from_html as k, append as _ } from "../../../svelte/svelte/src/internal/client/dom/template.js";
|
|
14
14
|
import { if_block as z } from "../../../svelte/svelte/src/internal/client/dom/blocks/if.js";
|
|
15
15
|
import { html as A } from "../../../svelte/svelte/src/internal/client/dom/blocks/html.js";
|
|
16
|
-
import { set_custom_element_data as E, set_attribute as
|
|
17
|
-
import { set_class as
|
|
18
|
-
import { delegate as G } from "../../../svelte/svelte/src/internal/client/dom/elements/events.js";
|
|
19
|
-
import { clsx as
|
|
16
|
+
import { set_custom_element_data as E, set_attribute as a, set_checked as F } from "../../../svelte/svelte/src/internal/client/dom/elements/attributes.js";
|
|
17
|
+
import { set_class as g } from "../../../svelte/svelte/src/internal/client/dom/elements/class.js";
|
|
18
|
+
import { delegate as G, delegated as b } from "../../../svelte/svelte/src/internal/client/dom/elements/events.js";
|
|
19
|
+
import { clsx as v } from "../../../svelte/svelte/src/internal/shared/attributes.js";
|
|
20
20
|
import { bind_this as H } from "../../../svelte/svelte/src/internal/client/dom/elements/bindings/this.js";
|
|
21
|
-
import { prop as
|
|
21
|
+
import { prop as n } from "../../../svelte/svelte/src/internal/client/reactivity/props.js";
|
|
22
22
|
import { createDefaultIcon as J } from "../../common/html.js";
|
|
23
|
-
import {
|
|
23
|
+
import { updateDataset as K, stopPropagation as L } from "../../../utils/dom.js";
|
|
24
24
|
import { getUniqueId as M } from "../../../utils/string.js";
|
|
25
25
|
import { toSpaceSeparatedString as N } from "../../common/string.js";
|
|
26
|
-
var Q =
|
|
27
|
-
function
|
|
26
|
+
var Q = k('<span class="icon"></span>'), R = k("<boolean-input><label> </label> <input/> <!></boolean-input>", 2);
|
|
27
|
+
function pt(x, t) {
|
|
28
28
|
W(t, !0);
|
|
29
|
-
const
|
|
29
|
+
const I = n(t, "class", 3, void 0), y = n(t, "part", 3, void 0), S = n(t, "dataset", 3, void 0), d = n(t, "id", 19, () => `bool-${M()}`), D = n(t, "type", 3, "checkbox");
|
|
30
30
|
let m;
|
|
31
|
-
const l =
|
|
31
|
+
const l = h(() => t.icon ? t.icon.startsWith("<svg") ? t.icon : J(t.icon) : void 0);
|
|
32
32
|
j(() => {
|
|
33
|
-
|
|
33
|
+
K(m, S());
|
|
34
34
|
});
|
|
35
|
-
function
|
|
35
|
+
function P(e) {
|
|
36
36
|
t.onchange?.(e.target.checked);
|
|
37
37
|
}
|
|
38
|
-
const
|
|
38
|
+
const q = h(() => N(y(), t.checked ? "checked" : void 0));
|
|
39
39
|
var o = R();
|
|
40
|
-
|
|
41
|
-
var r =
|
|
42
|
-
i.__change = D, i.__input = function(...e) {
|
|
43
|
-
K?.apply(this, e);
|
|
44
|
-
};
|
|
45
|
-
var B = _(i, 2);
|
|
40
|
+
s(() => E(o, "part", c(q)));
|
|
41
|
+
var r = p(o), B = p(r), i = u(r, 2), C = u(i, 2);
|
|
46
42
|
{
|
|
47
|
-
var
|
|
48
|
-
var
|
|
49
|
-
A(
|
|
43
|
+
var O = (e) => {
|
|
44
|
+
var f = Q();
|
|
45
|
+
A(f, () => c(l), !0), _(e, f);
|
|
50
46
|
};
|
|
51
|
-
z(
|
|
52
|
-
c(l) && e(
|
|
47
|
+
z(C, (e) => {
|
|
48
|
+
c(l) && e(O);
|
|
53
49
|
});
|
|
54
50
|
}
|
|
55
|
-
H(o, (e) => m = e, () => m),
|
|
56
|
-
|
|
57
|
-
}),
|
|
51
|
+
H(o, (e) => m = e, () => m), s(() => {
|
|
52
|
+
g(o, 1, v(I())), a(r, "for", d()), g(r, 1, v(t.labelIsImplicit ? "implicit" : void 0)), w(B, t.label), a(i, "type", D()), a(i, "id", d()), a(i, "name", t.name), F(i, t.checked), a(i, "title", t.title?.length ? t.title : void 0);
|
|
53
|
+
}), b("change", i, P), b("input", i, function(...e) {
|
|
54
|
+
L?.apply(this, e);
|
|
55
|
+
}), _(x, o), U();
|
|
58
56
|
}
|
|
59
57
|
G(["change", "input"]);
|
|
60
58
|
export {
|
|
61
|
-
|
|
59
|
+
pt as default
|
|
62
60
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* FilePond v5.0.0-beta.
|
|
2
|
+
* FilePond v5.0.0-beta.21
|
|
3
3
|
* Copyright (c) 2017-2026 Pqina B.V.
|
|
4
4
|
* Released under the MIT License
|
|
5
5
|
* https://filepond.com
|
|
6
6
|
*/
|
|
7
|
-
const n = '.button{--spring: ease-out;--btn-opacity: 1;--_btn-size: var(--btn-size, auto);--_btn-font-size: var(--font-size-m, auto);--_btn-border-radius: var(--btn-border-radius, 0);--_btn-color: var(--btn-color, currentColor);--_btn-background-color: var(--btn-background-color, transparent);--_btn-backdrop-filter: var(--btn-backdrop-filter, none);--_btn-shadow: var(--btn-shadow, none);--_btn-hover-color: var(--btn-hover-color, currentColor);--_btn-hover-shadow: var(--btn-hover-shadow, none);--_btn-hover-background-color: var(--btn-hover-background-color, transparent);--_btn-focus-color: var(--btn-focus-color, currentColor);--_btn-focus-shadow: var(--btn-focus-shadow, none);--_btn-focus-background-color: var(--btn-focus-background-color, transparent);--_btn-icon-size: var(--btn-icon-size, 1em);--_btn-icon-stroke: var(--btn-icon-stroke, 1.5);--_btn-icon-color: var(--btn-icon-color, currentColor);--_btn-icon-transform: var(--btn-icon-transform, scale(1));--_btn-icon-transition-duration: var(--btn-icon-transition-duration, var(--_500ms, 0));--_btn-icon-transition-easing: var(--btn-icon-transition-easing, var(--spring, linear));--_btn-transition-duration: var(--btn-transition-duration, var(--_150ms, 0));display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none;pointer-events:all;width:var(--_btn-size);height:var(--_btn-size);border-radius:var(--_btn-border-radius);background-color:var(--_btn-background-color);backdrop-filter:var(--_btn-backdrop-filter);-webkit-backdrop-filter:var(--_btn-backdrop-filter);transition:color var(--_btn-transition-duration) ease-in-out,background-color var(--_btn-transition-duration) ease-in-out,box-shadow var(--_btn-transition-duration) ease-in-out,width var(--_btn-transition-duration) ease-in-out,height var(--_btn-transition-duration) ease-in-out,opacity var(--_btn-transition-duration) ease-in-out;opacity:var(--btn-opacity, 1);outline:none;box-shadow:var(--_btn-shadow);color:currentColor}@supports (animation: linear(1,2 3%)){.button{--spring: linear(0,.0066,.105,.268,.452,.635,.8,.936,1.04,1.11,1.14,1.15,1.15,1.13,1.1,1.07,1.04,1.02,1,.989,.981,.978,.977,.979,.983,.987,.991,.995,.998,1,1,1,1,1,1,1,1,1,1,1)}}.button .icon{flex-shrink:0;color:var(--_btn-icon-color);width:var(--_btn-icon-size);height:var(--_btn-icon-size);stroke-width:var(--_btn-icon-stroke);transform:var(--_btn-icon-transform);transition:transform var(--_btn-icon-transition-duration) var(--_btn-icon-transition-easing),opacity var(--_btn-icon-transition-duration) var(--_btn-icon-transition-easing);margin:max(0px,calc((var(--_btn-size) - var(--_btn-icon-size)) * .5));pointer-events:none}.button .icon>svg{display:block;width:100%;height:100%}.button .label{flex-shrink:1;overflow:hidden;color:currentColor;font-size:var(--_btn-font-size)}.button
|
|
7
|
+
const n = '.button{--spring: ease-out;--btn-opacity: 1;--_btn-size: var(--btn-size, auto);--_btn-font-size: var(--font-size-m, auto);--_btn-border-radius: var(--btn-border-radius, 0);--_btn-color: var(--btn-color, currentColor);--_btn-background-color: var(--btn-background-color, transparent);--_btn-backdrop-filter: var(--btn-backdrop-filter, none);--_btn-shadow: var(--btn-shadow, none);--_btn-hover-color: var(--btn-hover-color, currentColor);--_btn-hover-shadow: var(--btn-hover-shadow, none);--_btn-hover-background-color: var(--btn-hover-background-color, transparent);--_btn-focus-color: var(--btn-focus-color, currentColor);--_btn-focus-shadow: var(--btn-focus-shadow, none);--_btn-focus-background-color: var(--btn-focus-background-color, transparent);--_btn-icon-size: var(--btn-icon-size, 1em);--_btn-icon-stroke: var(--btn-icon-stroke, 1.5);--_btn-icon-color: var(--btn-icon-color, currentColor);--_btn-icon-transform: var(--btn-icon-transform, scale(1));--_btn-icon-transition-duration: var(--btn-icon-transition-duration, var(--_500ms, 0));--_btn-icon-transition-easing: var(--btn-icon-transition-easing, var(--spring, linear));--_btn-transition-duration: var(--btn-transition-duration, var(--_150ms, 0));display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none;pointer-events:all;width:var(--_btn-size);height:var(--_btn-size);border-radius:var(--_btn-border-radius);background-color:var(--_btn-background-color);backdrop-filter:var(--_btn-backdrop-filter);-webkit-backdrop-filter:var(--_btn-backdrop-filter);transition:color var(--_btn-transition-duration) ease-in-out,background-color var(--_btn-transition-duration) ease-in-out,box-shadow var(--_btn-transition-duration) ease-in-out,width var(--_btn-transition-duration) ease-in-out,height var(--_btn-transition-duration) ease-in-out,opacity var(--_btn-transition-duration) ease-in-out;opacity:var(--btn-opacity, 1);outline:none;box-shadow:var(--_btn-shadow);color:currentColor}@supports (animation: linear(1,2 3%)){.button{--spring: linear(0,.0066,.105,.268,.452,.635,.8,.936,1.04,1.11,1.14,1.15,1.15,1.13,1.1,1.07,1.04,1.02,1,.989,.981,.978,.977,.979,.983,.987,.991,.995,.998,1,1,1,1,1,1,1,1,1,1,1)}}.button .icon{flex-shrink:0;color:var(--_btn-icon-color);width:var(--_btn-icon-size);height:var(--_btn-icon-size);stroke-width:var(--_btn-icon-stroke);transform:var(--_btn-icon-transform);transition:transform var(--_btn-icon-transition-duration) var(--_btn-icon-transition-easing),opacity var(--_btn-icon-transition-duration) var(--_btn-icon-transition-easing);margin:max(0px,calc((var(--_btn-size) - var(--_btn-icon-size)) * .5));pointer-events:none}.button .icon>svg{display:block;width:100%;height:100%}.button .label{flex-shrink:1;overflow:hidden;color:currentColor;font-size:var(--_btn-font-size)}.button:disabled{cursor:default}.button:disabled .icon,.button:disabled .label{opacity:calc(var(--btn-opacity, 1) * .3)}@media (pointer: coarse){.button{position:relative}.button:after{--size: 44px;--offset: calc((var(--_btn-size) - var(--size)) * .5);content:"";position:absolute;top:var(--offset);left:var(--offset);width:var(--size);height:var(--size);z-index:1}}';
|
|
8
8
|
export {
|
|
9
9
|
n as default
|
|
10
10
|
};
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* FilePond v5.0.0-beta.
|
|
2
|
+
* FilePond v5.0.0-beta.21
|
|
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 { get as
|
|
8
|
-
import { push as
|
|
9
|
-
import { sibling as
|
|
10
|
-
import { user_effect as
|
|
7
|
+
import { get as f } from "../../../svelte/svelte/src/internal/client/runtime.js";
|
|
8
|
+
import { push as G, pop as H } from "../../../svelte/svelte/src/internal/client/context.js";
|
|
9
|
+
import { sibling as J, child as h } from "../../../svelte/svelte/src/internal/client/dom/operations.js";
|
|
10
|
+
import { user_effect as l, template_effect as y } from "../../../svelte/svelte/src/internal/client/reactivity/effects.js";
|
|
11
11
|
import { user_derived as s } from "../../../svelte/svelte/src/internal/client/reactivity/deriveds.js";
|
|
12
|
-
import { set_text as
|
|
12
|
+
import { set_text as K } from "../../../svelte/svelte/src/internal/client/render.js";
|
|
13
13
|
import { from_html as c, append as d } from "../../../svelte/svelte/src/internal/client/dom/template.js";
|
|
14
|
-
import { if_block as
|
|
15
|
-
import { html as
|
|
16
|
-
import { set_attribute as
|
|
17
|
-
import { set_class as
|
|
18
|
-
import { delegate as
|
|
19
|
-
import { clsx as
|
|
20
|
-
import { bind_this as
|
|
21
|
-
import { prop as
|
|
22
|
-
import { createDefaultIcon as
|
|
23
|
-
import { toSpaceSeparatedString as
|
|
24
|
-
import { updateDataset as
|
|
25
|
-
import { noop as
|
|
26
|
-
var
|
|
27
|
-
function
|
|
28
|
-
|
|
29
|
-
let x =
|
|
30
|
-
const _ = s(() => n() ? n().startsWith("<svg") ? n() :
|
|
14
|
+
import { if_block as k } from "../../../svelte/svelte/src/internal/client/dom/blocks/if.js";
|
|
15
|
+
import { html as L } from "../../../svelte/svelte/src/internal/client/dom/blocks/html.js";
|
|
16
|
+
import { set_attribute as m } from "../../../svelte/svelte/src/internal/client/dom/elements/attributes.js";
|
|
17
|
+
import { set_class as M } from "../../../svelte/svelte/src/internal/client/dom/elements/class.js";
|
|
18
|
+
import { delegate as N, delegated as O } from "../../../svelte/svelte/src/internal/client/dom/elements/events.js";
|
|
19
|
+
import { clsx as P } from "../../../svelte/svelte/src/internal/shared/attributes.js";
|
|
20
|
+
import { bind_this as Q } from "../../../svelte/svelte/src/internal/client/dom/elements/bindings/this.js";
|
|
21
|
+
import { prop as e } from "../../../svelte/svelte/src/internal/client/reactivity/props.js";
|
|
22
|
+
import { createDefaultIcon as R } from "../../common/html.js";
|
|
23
|
+
import { toSpaceSeparatedString as T } from "../../common/string.js";
|
|
24
|
+
import { updateDataset as U, updateStyles as V } from "../../../utils/dom.js";
|
|
25
|
+
import { noop as X } from "../../../utils/placeholder.js";
|
|
26
|
+
var Y = c('<span class="icon"></span>'), Z = c('<span class="label"> </span>'), $ = c('<button type="button"><!> <!></button>');
|
|
27
|
+
function ht(S, t) {
|
|
28
|
+
G(t, !0);
|
|
29
|
+
let x = e(t, "class", 3, void 0), D = e(t, "onclick", 3, X), C = e(t, "part", 3, void 0), n = e(t, "icon", 3, void 0), u = e(t, "label", 3, void 0), b = e(t, "title", 3, void 0), B = e(t, "disabled", 3, !1), p = e(t, "inert", 3, !1), I = e(t, "dataset", 3, void 0), W = e(t, "styles", 3, void 0), j = e(t, "ariaDescribedby", 3, void 0), v = e(t, "autofocus", 7, !1);
|
|
30
|
+
const _ = s(() => n() ? n().startsWith("<svg") ? n() : R(n()) : void 0);
|
|
31
31
|
let a;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}),
|
|
35
|
-
|
|
32
|
+
l(() => {
|
|
33
|
+
U(a, I());
|
|
34
|
+
}), l(() => {
|
|
35
|
+
V(a, W());
|
|
36
|
+
}), l(() => {
|
|
37
|
+
v() && !p() && (a.focus({ preventScroll: !0 }), v(!1));
|
|
36
38
|
});
|
|
37
|
-
const
|
|
38
|
-
var
|
|
39
|
-
r.__click = function(...e) {
|
|
40
|
-
S()?.apply(this, e);
|
|
41
|
-
};
|
|
42
|
-
var b = m(r);
|
|
39
|
+
const q = s(x), w = s(() => T("button", f(q)));
|
|
40
|
+
var o = $(), g = h(o);
|
|
43
41
|
{
|
|
44
|
-
var
|
|
45
|
-
var i =
|
|
46
|
-
|
|
42
|
+
var z = (r) => {
|
|
43
|
+
var i = Y();
|
|
44
|
+
L(i, () => f(_), !0), d(r, i);
|
|
47
45
|
};
|
|
48
|
-
g
|
|
49
|
-
|
|
46
|
+
k(g, (r) => {
|
|
47
|
+
f(_) && r(z);
|
|
50
48
|
});
|
|
51
49
|
}
|
|
52
|
-
var
|
|
50
|
+
var A = J(g, 2);
|
|
53
51
|
{
|
|
54
|
-
var
|
|
55
|
-
var i =
|
|
56
|
-
|
|
52
|
+
var E = (r) => {
|
|
53
|
+
var i = Z(), F = h(i);
|
|
54
|
+
y(() => K(F, u())), d(r, i);
|
|
57
55
|
};
|
|
58
|
-
|
|
59
|
-
u()?.length &&
|
|
56
|
+
k(A, (r) => {
|
|
57
|
+
u()?.length && r(E);
|
|
60
58
|
});
|
|
61
59
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}),
|
|
60
|
+
Q(o, (r) => a = r, () => a), y(() => {
|
|
61
|
+
M(o, 1, P(f(w))), m(o, "part", C()), o.disabled = B(), o.inert = p(), m(o, "aria-describedby", j()), m(o, "title", b()?.length ? b() : void 0);
|
|
62
|
+
}), O("click", o, function(...r) {
|
|
63
|
+
D()?.apply(this, r);
|
|
64
|
+
}), d(S, o), H();
|
|
65
65
|
}
|
|
66
|
-
|
|
66
|
+
N(["click"]);
|
|
67
67
|
export {
|
|
68
|
-
|
|
68
|
+
ht as default
|
|
69
69
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* FilePond v5.0.0-beta.
|
|
2
|
+
* FilePond v5.0.0-beta.21
|
|
3
3
|
* Copyright (c) 2017-2026 Pqina B.V.
|
|
4
4
|
* Released under the MIT License
|
|
5
5
|
* https://filepond.com
|
|
6
6
|
*/
|
|
7
|
-
const i = "filename-input{--input-transition-duration: var(--_150ms);display:inline-flex;width:min(var(--value-width),calc(100% + var(--extension-width)));white-space:nowrap}filename-input input{width:min(var(--value-width),100%);transition:background-color var(--input-transition-duration) ease-out}filename-input input:focus,filename-input input:hover{background-color:color-mix(in srgb,currentColor 15%,transparent)}filename-input:focus-within{width:min(var(--value-width),100%)}filename-input[data-overflow] input{text-overflow:ellipsis}filename-input[data-overflow] span{visibility:hidden}filename-input[data-overflow] input:focus+span{visibility:visible}filename-input span{display:inline-block;color:currentColor;background-color:transparent}filename-input .measure-island{position:absolute;top:0;left:0;width:0;height:0;contain:strict;overflow:hidden}filename-input .measure{box-sizing:border-box;pointer-events:none;position:absolute;white-space:pre}";
|
|
7
|
+
const i = "filename-input{--input-transition-duration: var(--_150ms);display:inline-flex;width:min(var(--value-width),calc(100% + var(--extension-width)));white-space:nowrap}filename-input input{width:min(var(--value-width),100%);transition:background-color var(--input-transition-duration) ease-out}filename-input input:focus-visible,filename-input input:hover{background-color:color-mix(in srgb,currentColor 15%,transparent)}filename-input:focus-within{width:min(var(--value-width),100%)}filename-input[data-overflow] input{text-overflow:ellipsis}filename-input[data-overflow] span{visibility:hidden}filename-input[data-overflow] input:focus-visible+span{visibility:visible}filename-input span{display:inline-block;color:currentColor;background-color:transparent}filename-input .measure-island{position:absolute;top:0;left:0;width:0;height:0;contain:strict;overflow:hidden}filename-input .measure{box-sizing:border-box;pointer-events:none;position:absolute;white-space:pre}";
|
|
8
8
|
export {
|
|
9
9
|
i as default
|
|
10
10
|
};
|