@bagelink/vue 0.0.258 → 0.0.260

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.
@@ -11,6 +11,9 @@ declare const _default: import("vue").DefineComponent<{
11
11
  files: {
12
12
  type: import("vue").PropType<StorageFile | StorageFile[]>;
13
13
  };
14
+ deleteEndpoint: {
15
+ type: import("vue").PropType<string>;
16
+ };
14
17
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
18
  modelValue: import("vue").PropType<string | string[]>;
16
19
  label: {
@@ -23,6 +26,9 @@ declare const _default: import("vue").DefineComponent<{
23
26
  files: {
24
27
  type: import("vue").PropType<StorageFile | StorageFile[]>;
25
28
  };
29
+ deleteEndpoint: {
30
+ type: import("vue").PropType<string>;
31
+ };
26
32
  }>>, {}, {}>;
27
33
  export default _default;
28
34
  //# sourceMappingURL=FileUpload.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FileUpload.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/FileUpload.vue"],"names":[],"mappings":"AA8FA;AAGA,OAAO,EACD,KAAK,WAAW,EACrB,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;AAuYvB,wBASG"}
1
+ {"version":3,"file":"FileUpload.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/FileUpload.vue"],"names":[],"mappings":"AA8FA;AAGA,OAAO,EACD,KAAK,WAAW,EACrB,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4ZvB,wBAcG"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SelectInput.vue"],"names":[],"mappings":"AAWA;AAOA,KAAK,MAAM,GAAG;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB,CAAC;AACF,KAAK,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;;;;;;;;aAuIhC,SAAS,EAAE,GAAG,MAAM;;;;;;;;;;aAApB,SAAS,EAAE,GAAG,MAAM;;;;AAZ9B,wBAeG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
1
+ {"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SelectInput.vue"],"names":[],"mappings":"AAoBA;AAOA,KAAK,MAAM,GAAG;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB,CAAC;AACF,KAAK,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;;;;;;;;aAuIhC,SAAS,EAAE,GAAG,MAAM;;;;;;;;;;aAApB,SAAS,EAAE,GAAG,MAAM;;;;AAZ9B,wBAeG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
package/dist/index.cjs CHANGED
@@ -2185,6 +2185,7 @@ class BagelAuth {
2185
2185
  class Bagel {
2186
2186
  constructor({ host, onError }) {
2187
2187
  __publicField(this, "host");
2188
+ __publicField(this, "axiosInstance", axios);
2188
2189
  __publicField(this, "onError");
2189
2190
  __publicField(this, "read_table", null);
2190
2191
  __publicField(this, "auth", new BagelAuth(this));
@@ -29168,7 +29169,8 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
29168
29169
  props: /* @__PURE__ */ vue.mergeModels({
29169
29170
  label: {},
29170
29171
  multiple: { type: Boolean },
29171
- files: {}
29172
+ files: {},
29173
+ deleteEndpoint: {}
29172
29174
  }, {
29173
29175
  "modelValue": {},
29174
29176
  "modelModifiers": {}
@@ -29204,17 +29206,21 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
29204
29206
  const removeFile = (file) => {
29205
29207
  const index2 = storageFiles.value.indexOf(file);
29206
29208
  storageFiles.value.splice(index2, 1);
29209
+ if (props2.deleteEndpoint)
29210
+ void bagel.delete(`${props2.deleteEndpoint}/${file.id}`);
29207
29211
  };
29208
29212
  const flushQueue = () => {
29209
- fileQueue.value.forEach(async (file, i2) => {
29210
- if (!props2.multiple)
29211
- storageFiles.value.splice(0, 1);
29212
- const serverFile = await bagel.uploadFile(file.file, {
29213
- onUploadProgress: (e) => file.progress = e.progress * 100 - 1
29214
- });
29215
- storageFiles.value.push(serverFile);
29216
- fileQueue.value.splice(i2, 1);
29217
- });
29213
+ fileQueue.value.forEach(
29214
+ async (file, i2) => {
29215
+ if (!props2.multiple)
29216
+ storageFiles.value.splice(0, 1);
29217
+ const serverFile = await bagel.uploadFile(file.file, {
29218
+ onUploadProgress: (e) => file.progress = e.progress * 100 - 1
29219
+ });
29220
+ storageFiles.value.push(serverFile);
29221
+ fileQueue.value.splice(i2, 1);
29222
+ }
29223
+ );
29218
29224
  };
29219
29225
  const browse = () => {
29220
29226
  const input = document.createElement("input");
@@ -29246,7 +29252,9 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
29246
29252
  const drop3 = (e) => {
29247
29253
  preventDefault(e);
29248
29254
  if (e.dataTransfer) {
29249
- Array.from(e.dataTransfer.files).forEach((file) => fileQueue.value.push({ name: file.name, file, progress: 0 }));
29255
+ Array.from(e.dataTransfer.files).forEach(
29256
+ (file) => fileQueue.value.push({ name: file.name, file, progress: 0 })
29257
+ );
29250
29258
  }
29251
29259
  isDragOver.value = false;
29252
29260
  flushQueue();
@@ -29329,7 +29337,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
29329
29337
  };
29330
29338
  }
29331
29339
  });
29332
- const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-7deb423e"]]);
29340
+ const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-1be8d7b1"]]);
29333
29341
  const _withScopeId = (n) => (vue.pushScopeId("data-v-13b65ea3"), n = n(), vue.popScopeId(), n);
29334
29342
  const _hoisted_1$d = ["title"];
29335
29343
  const _hoisted_2$a = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
package/dist/index.mjs CHANGED
@@ -2183,6 +2183,7 @@ class BagelAuth {
2183
2183
  class Bagel {
2184
2184
  constructor({ host, onError }) {
2185
2185
  __publicField(this, "host");
2186
+ __publicField(this, "axiosInstance", axios);
2186
2187
  __publicField(this, "onError");
2187
2188
  __publicField(this, "read_table", null);
2188
2189
  __publicField(this, "auth", new BagelAuth(this));
@@ -29166,7 +29167,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
29166
29167
  props: /* @__PURE__ */ mergeModels({
29167
29168
  label: {},
29168
29169
  multiple: { type: Boolean },
29169
- files: {}
29170
+ files: {},
29171
+ deleteEndpoint: {}
29170
29172
  }, {
29171
29173
  "modelValue": {},
29172
29174
  "modelModifiers": {}
@@ -29202,17 +29204,21 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
29202
29204
  const removeFile = (file) => {
29203
29205
  const index2 = storageFiles.value.indexOf(file);
29204
29206
  storageFiles.value.splice(index2, 1);
29207
+ if (props2.deleteEndpoint)
29208
+ void bagel.delete(`${props2.deleteEndpoint}/${file.id}`);
29205
29209
  };
29206
29210
  const flushQueue = () => {
29207
- fileQueue.value.forEach(async (file, i2) => {
29208
- if (!props2.multiple)
29209
- storageFiles.value.splice(0, 1);
29210
- const serverFile = await bagel.uploadFile(file.file, {
29211
- onUploadProgress: (e) => file.progress = e.progress * 100 - 1
29212
- });
29213
- storageFiles.value.push(serverFile);
29214
- fileQueue.value.splice(i2, 1);
29215
- });
29211
+ fileQueue.value.forEach(
29212
+ async (file, i2) => {
29213
+ if (!props2.multiple)
29214
+ storageFiles.value.splice(0, 1);
29215
+ const serverFile = await bagel.uploadFile(file.file, {
29216
+ onUploadProgress: (e) => file.progress = e.progress * 100 - 1
29217
+ });
29218
+ storageFiles.value.push(serverFile);
29219
+ fileQueue.value.splice(i2, 1);
29220
+ }
29221
+ );
29216
29222
  };
29217
29223
  const browse = () => {
29218
29224
  const input = document.createElement("input");
@@ -29244,7 +29250,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
29244
29250
  const drop3 = (e) => {
29245
29251
  preventDefault(e);
29246
29252
  if (e.dataTransfer) {
29247
- Array.from(e.dataTransfer.files).forEach((file) => fileQueue.value.push({ name: file.name, file, progress: 0 }));
29253
+ Array.from(e.dataTransfer.files).forEach(
29254
+ (file) => fileQueue.value.push({ name: file.name, file, progress: 0 })
29255
+ );
29248
29256
  }
29249
29257
  isDragOver.value = false;
29250
29258
  flushQueue();
@@ -29327,7 +29335,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
29327
29335
  };
29328
29336
  }
29329
29337
  });
29330
- const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-7deb423e"]]);
29338
+ const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-1be8d7b1"]]);
29331
29339
  const _withScopeId = (n) => (pushScopeId("data-v-13b65ea3"), n = n(), popScopeId(), n);
29332
29340
  const _hoisted_1$d = ["title"];
29333
29341
  const _hoisted_2$a = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
package/dist/style.css CHANGED
@@ -1230,7 +1230,7 @@ fieldset[disabled] .multiselect {
1230
1230
  padding-inline-start: 0rem;
1231
1231
  }
1232
1232
  .multiselect--active .multiselect__input {
1233
- margin-top: -0.5rem;
1233
+ margin-top: -0.5rem;
1234
1234
  }
1235
1235
  .multiselect__input::placeholder {
1236
1236
  color: var(--input-color);
@@ -1913,7 +1913,7 @@ to {
1913
1913
  color: var(--bgl-white);
1914
1914
  }
1915
1915
 
1916
- .bagel-input .fileUploadWrap[data-v-7deb423e] {
1916
+ .bagel-input .fileUploadWrap[data-v-1be8d7b1] {
1917
1917
  outline: 1px solid var(--border-color);
1918
1918
  border-radius: var(--input-border-radius);
1919
1919
  text-align: center;
@@ -1923,7 +1923,7 @@ to {
1923
1923
  height: 132px;
1924
1924
  font-size: var(--input-font-size);
1925
1925
  }
1926
- .previewName[data-v-7deb423e] {
1926
+ .previewName[data-v-1be8d7b1] {
1927
1927
  padding: 0.5rem;
1928
1928
  text-align: start;
1929
1929
  color: var(--input-color);
@@ -1931,37 +1931,37 @@ to {
1931
1931
  grid-template-columns: 1fr 22px;
1932
1932
  align-items: center;
1933
1933
  }
1934
- .previewName p[data-v-7deb423e] {
1934
+ .previewName p[data-v-1be8d7b1] {
1935
1935
  overflow: hidden;
1936
1936
  text-overflow: ellipsis;
1937
1937
  white-space: nowrap;
1938
1938
  }
1939
- .imagePreviewWrap[data-v-7deb423e] {
1939
+ .imagePreviewWrap[data-v-1be8d7b1] {
1940
1940
  background: var(--input-bg);
1941
1941
  border-radius: var(--input-border-radius);
1942
1942
  height: 90px;
1943
1943
  padding: 5px;
1944
1944
  }
1945
- img.preview[data-v-7deb423e] {
1945
+ img.preview[data-v-1be8d7b1] {
1946
1946
  height: 80px;
1947
1947
  border-radius: var(--input-border-radius);
1948
1948
  object-fit: contain;
1949
1949
  }
1950
- .fileUploadWrap.dragover[data-v-7deb423e],
1951
- .fileUploadWrap[data-v-7deb423e]:hover {
1950
+ .fileUploadWrap.dragover[data-v-1be8d7b1],
1951
+ .fileUploadWrap[data-v-1be8d7b1]:hover {
1952
1952
  box-shadow: inset 0 0 10px #00000012;
1953
1953
  }
1954
- .bagel-input .fileUploadWrap.fileDropZone[data-v-7deb423e] {
1954
+ .bagel-input .fileUploadWrap.fileDropZone[data-v-1be8d7b1] {
1955
1955
  background: var(--input-bg);
1956
1956
  display: flex;
1957
1957
  align-items: center;
1958
1958
  justify-content: center;
1959
1959
  color: var(--bgl-gray);
1960
1960
  }
1961
- .bagel-input .fileUploadWrap.fileDropZone[data-v-7deb423e]:after {
1961
+ .bagel-input .fileUploadWrap.fileDropZone[data-v-1be8d7b1]:after {
1962
1962
  content: "Drop files here or click to upload";
1963
1963
  }
1964
- .pie[data-v-7deb423e] {
1964
+ .pie[data-v-1be8d7b1] {
1965
1965
  width: 30px;
1966
1966
  height: 30px;
1967
1967
  position: relative;
@@ -1969,7 +1969,7 @@ img.preview[data-v-7deb423e] {
1969
1969
  align-items: center;
1970
1970
  justify-content: center;
1971
1971
  }
1972
- .pie[data-v-7deb423e]:before {
1972
+ .pie[data-v-1be8d7b1]:before {
1973
1973
  content: "";
1974
1974
  position: absolute;
1975
1975
  border-radius: 50%;
@@ -1983,26 +1983,26 @@ img.preview[data-v-7deb423e] {
1983
1983
  #0000 calc(99% - var(--b)),
1984
1984
  #000 calc(100% - var(--b)));
1985
1985
  }
1986
- .pie .success[data-v-7deb423e] {
1986
+ .pie .success[data-v-1be8d7b1] {
1987
1987
  transform: scale(0);
1988
1988
  opacity: 0;
1989
1989
  transition: all 0.3s ease-in-out;
1990
1990
  }
1991
- .pie .progress[data-v-7deb423e] {
1991
+ .pie .progress[data-v-1be8d7b1] {
1992
1992
  position: absolute;
1993
1993
  font-size: 10px;
1994
1994
  }
1995
- .pie.complete .progress[data-v-7deb423e] {
1995
+ .pie.complete .progress[data-v-1be8d7b1] {
1996
1996
  display: none;
1997
1997
  }
1998
- .pie.complete .success[data-v-7deb423e] {
1998
+ .pie.complete .success[data-v-1be8d7b1] {
1999
1999
  transform: scale(1.3);
2000
2000
  opacity: 1;
2001
2001
  }
2002
- .pie.complete[data-v-7deb423e]:before {
2002
+ .pie.complete[data-v-1be8d7b1]:before {
2003
2003
  background: conic-gradient(var(--bgl-green) calc(var(--p) * 1%), #0000 0);
2004
2004
  }
2005
- .pie.complete[data-v-7deb423e] {
2005
+ .pie.complete[data-v-1be8d7b1] {
2006
2006
  color: var(--bgl-green);
2007
2007
  }
2008
2008
 
@@ -1,5 +1,5 @@
1
1
  export type StorageFile = {
2
- organization: string[];
2
+ organization?: string[];
3
3
  name: string;
4
4
  url: string;
5
5
  mimetype?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../src/types/file.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACxB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;CAC5B,CAAA"}
1
+ {"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../src/types/file.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACxB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;CAC5B,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "0.0.258",
4
+ "version": "0.0.260",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -109,7 +109,12 @@ type QueueFile = {
109
109
  uploaded?: boolean;
110
110
  };
111
111
 
112
- const props = defineProps<{ label: string, multiple?: boolean, files?: StorageFile | StorageFile[], }>();
112
+ const props = defineProps<{
113
+ label: string,
114
+ multiple?: boolean,
115
+ files?: StorageFile | StorageFile[],
116
+ deleteEndpoint?: string;
117
+ }>();
113
118
 
114
119
  const file_ids = defineModel<string[] | string>('modelValue');
115
120
  const storageFiles = $ref<StorageFile[]>([]);
@@ -139,16 +144,21 @@ const fileToUrl = (file: File) => URL.createObjectURL(file);
139
144
  const removeFile = (file: StorageFile) => {
140
145
  const index = storageFiles.indexOf(file);
141
146
  storageFiles.splice(index, 1);
147
+
148
+ if (props.deleteEndpoint) void bagel.delete(`${props.deleteEndpoint}/${file.id}`);
142
149
  };
150
+
143
151
  const flushQueue = () => {
144
- fileQueue.forEach(async (file, i) => {
145
- if (!props.multiple) storageFiles.splice(0, 1);
146
- const serverFile = await bagel.uploadFile(file.file, {
147
- onUploadProgress: (e: any) => (file.progress = e.progress * 100 - 1),
148
- });
149
- storageFiles.push(serverFile);
150
- fileQueue.splice(i, 1);
151
- });
152
+ fileQueue.forEach(
153
+ async (file, i) => {
154
+ if (!props.multiple) storageFiles.splice(0, 1);
155
+ const serverFile = await bagel.uploadFile<StorageFile>(file.file, {
156
+ onUploadProgress: (e: any) => (file.progress = e.progress * 100 - 1),
157
+ });
158
+ storageFiles.push(serverFile);
159
+ fileQueue.splice(i, 1);
160
+ },
161
+ );
152
162
  };
153
163
 
154
164
  const browse = () => {
@@ -180,7 +190,13 @@ const dragover = (e: DragEvent) => {
180
190
  const drop = (e: DragEvent) => {
181
191
  preventDefault(e);
182
192
  if (e.dataTransfer) {
183
- Array.from(e.dataTransfer.files).forEach((file: File) => fileQueue.push({ name: file.name, file, progress: 0 }));
193
+ Array
194
+ .from(e.dataTransfer.files)
195
+ .forEach(
196
+ (file: File) => (
197
+ fileQueue.push({ name: file.name, file, progress: 0 })
198
+ ),
199
+ );
184
200
  }
185
201
  isDragOver = false;
186
202
  flushQueue();
@@ -1,10 +1,19 @@
1
1
  <template>
2
2
  <div class="pb-1">
3
- <label class="txt-start" :for="id">
3
+ <label
4
+ class="txt-start"
5
+ :for="id"
6
+ >
4
7
  {{ label }}
5
8
  <Multiselect
6
- ref="multiselect" :id="id" label="label" trackBy="value" :options="optionList" :required="required"
7
- :placeholder="placeholder" v-model="seletValue"
9
+ ref="multiselect"
10
+ :id="id"
11
+ label="label"
12
+ trackBy="value"
13
+ :options="optionList"
14
+ :required="required"
15
+ :placeholder="placeholder"
16
+ v-model="seletValue"
8
17
  />
9
18
  </label>
10
19
  </div>
@@ -183,8 +192,9 @@ fieldset[disabled] .multiselect {
183
192
  font-size: var(--input-font-size);
184
193
  padding-inline-start: 0rem;
185
194
  }
195
+
186
196
  .multiselect--active .multiselect__input {
187
- margin-top: -0.5rem;
197
+ margin-top: -0.5rem;
188
198
  }
189
199
 
190
200
  .multiselect__input::placeholder {
package/src/types/file.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export type StorageFile = {
2
- organization: string[];
2
+ organization?: string[];
3
3
  name: string;
4
4
  url: string;
5
5
  mimetype?: string;