@dynamicforms/vuetify-inputs 0.10.3 → 0.10.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -914,6 +914,15 @@ export declare interface FileComms {
914
914
  * @param fileIdentifier the identifier that was returned by upload
915
915
  */
916
916
  touch: (fileIdentifier: string) => Promise<void>;
917
+ /**
918
+ * getDownloadUrl is called when the user asks to download the file currently held by the field. Omit it if
919
+ * the backend offers no way to retrieve an already-uploaded file: the component shows no download control
920
+ * in that case.
921
+ *
922
+ * @param fileIdentifier the identifier that was returned by upload
923
+ * @return a URL the browser can fetch the file from directly (e.g. a signed URL or a same-origin path)
924
+ */
925
+ getDownloadUrl?: (fileIdentifier: string) => string | Promise<string>;
917
926
  }
918
927
 
919
928
  /**
@@ -1033,6 +1042,8 @@ export declare const translatableStrings: {
1033
1042
  ImageInsert: string;
1034
1043
  ImageDropHint: string;
1035
1044
  ImageReplace: string;
1045
+ ImageDownload: string;
1046
+ FileDownload: string;
1036
1047
  Table: string;
1037
1048
  TableInsert: string;
1038
1049
  TableAddRowAbove: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dynamicforms/vuetify-inputs",
3
3
  "private": false,
4
- "version": "0.10.3",
4
+ "version": "0.10.5",
5
5
  "type": "module",
6
6
  "description": "Vuetify input components with guaranteed visual consistency across all form fields — unified density/variant system, globally configurable, with inline mode for table cells. Built for @dynamicforms/vue-forms.",
7
7
  "author": "Jure Erznožnik",