@uploadcare/file-uploader 1.12.1-alpha.0 → 1.12.1

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 (94) hide show
  1. package/blocks/FileItem/FileItem.d.ts +0 -4
  2. package/blocks/FileItem/FileItem.d.ts.map +1 -1
  3. package/blocks/FileItem/FileItem.js +2 -22
  4. package/blocks/ProgressBar/ProgressBar.d.ts.map +1 -1
  5. package/blocks/ProgressBar/ProgressBar.js +6 -30
  6. package/blocks/ProgressBar/progress-bar.css +1 -35
  7. package/blocks/UploadList/upload-list.css +1 -0
  8. package/env.d.ts +1 -1
  9. package/env.js +1 -1
  10. package/index.ssr.d.ts +1 -1
  11. package/index.ssr.d.ts.map +1 -1
  12. package/index.ssr.js +2 -6
  13. package/locales/file-uploader/ar.d.ts +0 -1
  14. package/locales/file-uploader/ar.js +0 -1
  15. package/locales/file-uploader/az.d.ts +0 -1
  16. package/locales/file-uploader/az.js +0 -1
  17. package/locales/file-uploader/ca.d.ts +0 -1
  18. package/locales/file-uploader/ca.js +0 -1
  19. package/locales/file-uploader/cs.d.ts +0 -1
  20. package/locales/file-uploader/cs.js +0 -1
  21. package/locales/file-uploader/da.d.ts +0 -1
  22. package/locales/file-uploader/da.js +0 -1
  23. package/locales/file-uploader/de.d.ts +0 -1
  24. package/locales/file-uploader/de.js +0 -1
  25. package/locales/file-uploader/el.d.ts +0 -1
  26. package/locales/file-uploader/el.js +0 -1
  27. package/locales/file-uploader/en.d.ts +0 -1
  28. package/locales/file-uploader/en.js +1 -2
  29. package/locales/file-uploader/es.d.ts +0 -1
  30. package/locales/file-uploader/es.js +0 -1
  31. package/locales/file-uploader/et.d.ts +0 -1
  32. package/locales/file-uploader/et.js +0 -1
  33. package/locales/file-uploader/fi.d.ts +0 -1
  34. package/locales/file-uploader/fi.js +0 -1
  35. package/locales/file-uploader/fr.d.ts +0 -1
  36. package/locales/file-uploader/fr.js +0 -1
  37. package/locales/file-uploader/he.d.ts +0 -1
  38. package/locales/file-uploader/he.js +0 -1
  39. package/locales/file-uploader/hy.d.ts +0 -1
  40. package/locales/file-uploader/hy.js +0 -1
  41. package/locales/file-uploader/is.d.ts +0 -1
  42. package/locales/file-uploader/is.js +0 -1
  43. package/locales/file-uploader/it.d.ts +0 -1
  44. package/locales/file-uploader/it.js +0 -1
  45. package/locales/file-uploader/ja.d.ts +0 -1
  46. package/locales/file-uploader/ja.js +0 -1
  47. package/locales/file-uploader/ka.d.ts +0 -1
  48. package/locales/file-uploader/ka.js +0 -1
  49. package/locales/file-uploader/kk.d.ts +0 -1
  50. package/locales/file-uploader/kk.js +0 -1
  51. package/locales/file-uploader/ko.d.ts +0 -1
  52. package/locales/file-uploader/ko.js +0 -1
  53. package/locales/file-uploader/lv.d.ts +0 -1
  54. package/locales/file-uploader/lv.js +0 -1
  55. package/locales/file-uploader/nb.d.ts +0 -1
  56. package/locales/file-uploader/nb.js +0 -1
  57. package/locales/file-uploader/nl.d.ts +0 -1
  58. package/locales/file-uploader/nl.js +0 -1
  59. package/locales/file-uploader/pl.d.ts +0 -1
  60. package/locales/file-uploader/pl.js +0 -1
  61. package/locales/file-uploader/pt.d.ts +0 -1
  62. package/locales/file-uploader/pt.js +0 -1
  63. package/locales/file-uploader/ro.d.ts +0 -1
  64. package/locales/file-uploader/ro.js +0 -1
  65. package/locales/file-uploader/ru.d.ts +0 -1
  66. package/locales/file-uploader/ru.js +0 -1
  67. package/locales/file-uploader/sk.d.ts +0 -1
  68. package/locales/file-uploader/sk.js +0 -1
  69. package/locales/file-uploader/sr.d.ts +0 -1
  70. package/locales/file-uploader/sr.js +0 -1
  71. package/locales/file-uploader/sv.d.ts +0 -1
  72. package/locales/file-uploader/sv.js +0 -1
  73. package/locales/file-uploader/tr.d.ts +0 -1
  74. package/locales/file-uploader/tr.js +0 -1
  75. package/locales/file-uploader/uk.d.ts +0 -1
  76. package/locales/file-uploader/uk.js +0 -1
  77. package/locales/file-uploader/vi.d.ts +0 -1
  78. package/locales/file-uploader/vi.js +0 -1
  79. package/locales/file-uploader/zh-TW.d.ts +0 -1
  80. package/locales/file-uploader/zh-TW.js +0 -1
  81. package/locales/file-uploader/zh.d.ts +0 -1
  82. package/locales/file-uploader/zh.js +0 -1
  83. package/package.json +2 -2
  84. package/web/file-uploader.iife.min.js +4 -4
  85. package/web/file-uploader.min.js +3 -3
  86. package/web/uc-basic.min.css +1 -1
  87. package/web/uc-cloud-image-editor.min.js +1 -1
  88. package/web/uc-file-uploader-inline.min.css +1 -1
  89. package/web/uc-file-uploader-inline.min.js +3 -3
  90. package/web/uc-file-uploader-minimal.min.css +1 -1
  91. package/web/uc-file-uploader-minimal.min.js +3 -3
  92. package/web/uc-file-uploader-regular.min.css +1 -1
  93. package/web/uc-file-uploader-regular.min.js +3 -3
  94. package/web/uc-img.min.js +1 -1
@@ -18,7 +18,6 @@ export class FileItem extends UploaderBlock {
18
18
  uid: string;
19
19
  itemName: string;
20
20
  errorText: string;
21
- hint: string;
22
21
  thumbUrl: string;
23
22
  progressValue: number;
24
23
  progressVisible: boolean;
@@ -63,9 +62,6 @@ export class FileItem extends UploaderBlock {
63
62
  * @param {(value: any) => void} handler
64
63
  */
65
64
  private _subEntry;
66
- _updateHint: (() => void) & {
67
- readonly cancel: () => void;
68
- };
69
65
  /**
70
66
  * @private
71
67
  * @param {String} id
@@ -1 +1 @@
1
- {"version":3,"file":"FileItem.d.ts","sourceRoot":"","sources":["FileItem.js"],"names":[],"mappings":"AAoBA;IAIE,eAAe;IACf,mBAAuB;IACvB;;;OAGG;IACH,eAAc;IACd,eAAe;IACf,wBAAwB;IACxB,eAAe;IACf,gCAA4E;IAC5E,eAAe;IACf,iCAA0E;IAE1E,eAAe;IACf,sBAAsB;IAKpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA6BC;IAGH,eASC;IAED;;;OAGG;IACH,0BAaC;IAED,eAAe;IACf,wBAgBC;IAED,eAAe;IACf,2BAsCC;IAED;;;;OAIG;IACH,kBAUC;IAED;;MAaQ;IAER;;;OAGG;IACH,uBAmDC;IAsCD,wEAAwE;IACxE,oBADY,CAAC,oBAAoB,CAAC,CAAC,MAAM,oBAAoB,CAAC,QA0B7D;IAaC,eAAe;IACf,kBAEE;IAWJ;;;MAEC;IAED;;;OAGG;IACH,uBAEC;IAED,wBAsFC;CACF;;;;;8BAvb6B,iCAAiC;AAS/D;;;;;GAKG"}
1
+ {"version":3,"file":"FileItem.d.ts","sourceRoot":"","sources":["FileItem.js"],"names":[],"mappings":"AAkBA;IAIE,eAAe;IACf,mBAAuB;IACvB;;;OAGG;IACH,eAAc;IACd,eAAe;IACf,wBAAwB;IACxB,eAAe;IACf,gCAA4E;IAC5E,eAAe;IACf,iCAA0E;IAE1E,eAAe;IACf,sBAAsB;IAKpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA4BC;IAGH,eASC;IAED;;;OAGG;IACH,0BAaC;IAED,eAAe;IACf,wBAgBC;IAED,eAAe;IACf,2BAsCC;IAED;;;;OAIG;IACH,kBAUC;IAED;;;OAGG;IACH,uBAkDC;IAsCD,wEAAwE;IACxE,oBADY,CAAC,oBAAoB,CAAC,CAAC,MAAM,oBAAoB,CAAC,QA0B7D;IAaC,eAAe;IACf,kBAEE;IAWJ;;;MAEC;IAED;;;OAGG;IACH,uBAEC;IAED,wBAsFC;CACF;;;;;8BApa6B,iCAAiC;AAO/D;;;;;GAKG"}
@@ -8,8 +8,6 @@ import { fileCssBg } from '../svg-backgrounds/svg-backgrounds.js';
8
8
  import { debounce } from '../utils/debounce.js';
9
9
  import { generateThumb } from '../utils/resizeImage.js';
10
10
  import { parseShrink } from '../../utils/parseShrink.js';
11
- import { UploadSource } from '../utils/UploadSource.js';
12
- import { throttle } from '../utils/throttle.js';
13
11
 
14
12
  const FileItemState = Object.freeze({
15
13
  FINISHED: Symbol('FINISHED'),
@@ -47,7 +45,6 @@ export class FileItem extends UploaderBlock {
47
45
  uid: '',
48
46
  itemName: '',
49
47
  errorText: '',
50
- hint: '',
51
48
  thumbUrl: '',
52
49
  progressValue: 0,
53
50
  progressVisible: false,
@@ -181,21 +178,6 @@ export class FileItem extends UploaderBlock {
181
178
  this._entrySubs.add(sub);
182
179
  }
183
180
 
184
- _updateHint = throttle(() => {
185
- const showHint =
186
- this.$.state === FileItemState.UPLOADING &&
187
- this._entry.getValue('externalUrl') &&
188
- this._entry.getValue('source') !== UploadSource.URL &&
189
- this._entry.getValue('errors').length === 0 &&
190
- this.$.progressValue === 0;
191
-
192
- const hint = showHint
193
- ? this.l10n('waiting-for', { source: this.l10n(`src-type-${this._entry.getValue('source')}`) })
194
- : '';
195
-
196
- this.$.hint = hint;
197
- }, 100);
198
-
199
181
  /**
200
182
  * @private
201
183
  * @param {String} id
@@ -213,7 +195,6 @@ export class FileItem extends UploaderBlock {
213
195
 
214
196
  this._subEntry('uploadProgress', (uploadProgress) => {
215
197
  this.$.progressValue = uploadProgress;
216
- this._updateHint();
217
198
  });
218
199
 
219
200
  this._subEntry('fileName', (name) => {
@@ -299,6 +280,8 @@ export class FileItem extends UploaderBlock {
299
280
 
300
281
  if (state === FileItemState.UPLOADING) {
301
282
  this.$.isFocused = false;
283
+ } else {
284
+ this.$.progressValue = 0;
302
285
  }
303
286
 
304
287
  this.set$({
@@ -313,8 +296,6 @@ export class FileItem extends UploaderBlock {
313
296
  status: this.l10n(state?.description?.toLocaleLowerCase() ?? '').toLocaleLowerCase(),
314
297
  }),
315
298
  });
316
-
317
- this._updateHint();
318
299
  }
319
300
 
320
301
  destroyCallback() {
@@ -453,7 +434,6 @@ FileItem.template = /* HTML */ `
453
434
  <div aria-live="polite" class="uc-file-name-wrapper" set="@aria-label:ariaLabelStatusFile;">
454
435
  <span class="uc-file-name" set="@title: itemName">{{itemName}}</span>
455
436
  <span class="uc-file-error" set="@hidden: !errorText">{{errorText}}</span>
456
- <span class="uc-file-hint" set="@hidden: !hint">{{hint}}</span>
457
437
  </div>
458
438
  <div class="uc-file-actions">
459
439
  <button
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["ProgressBar.js"],"names":[],"mappings":"AAEA;IACE,qBAAqB;IACrB,eAAW;IAEX,WAIE;CA8CH;;;;sBAxDqB,yBAAyB"}
1
+ {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["ProgressBar.js"],"names":[],"mappings":"AAEA;IACE,qBAAqB;IACrB,eAAW;IAEX,WAIE;CAyBH;;;;sBAnCqB,yBAAyB"}
@@ -19,44 +19,20 @@ export class ProgressBar extends Block {
19
19
  const prevValue = this._value;
20
20
  this._value = value;
21
21
 
22
- if (value === 100) {
23
- this.ref.realProgressLine.addEventListener(
24
- 'transitionend',
25
- () => {
26
- this.ref.realProgressLine.classList.toggle('uc-progress--hidden', true);
27
- },
28
- {
29
- once: true,
30
- },
31
- );
32
- }
33
-
34
- this.ref.fakeProgressLine.classList.toggle('uc-fake-progress--hidden', value !== 0);
35
-
36
22
  if (value === 0 && prevValue > 0) {
37
- this.ref.realProgressLine.addEventListener(
38
- 'transitionend',
39
- () => {
40
- this.style.setProperty('--l-progress-value', this._value.toString());
41
- },
42
- {
43
- once: true,
44
- },
45
- );
23
+ this.ref.line.addEventListener('transitionend', () => {
24
+ this.style.setProperty('--l-width', this._value.toString());
25
+ });
46
26
  return;
47
27
  }
48
28
 
49
- this.style.setProperty('--l-progress-value', this._value.toString());
29
+ this.style.setProperty('--l-width', this._value.toString());
50
30
  });
51
31
 
52
32
  this.defineAccessor('visible', (visible) => {
53
- this.ref.realProgressLine.classList.toggle('uc-progress--hidden', !visible);
54
- this.ref.fakeProgressLine.classList.toggle('uc-fake-progress--hidden', !visible);
33
+ this.ref.line.classList.toggle('uc-progress--hidden', !visible);
55
34
  });
56
35
  }
57
36
  }
58
37
 
59
- ProgressBar.template = /* HTML */ `
60
- <div ref="fakeProgressLine" class="uc-fake-progress"></div>
61
- <div ref="realProgressLine" class="uc-progress"></div>
62
- `;
38
+ ProgressBar.template = /* HTML */ ` <div ref="line" class="uc-progress"></div> `;
@@ -1,6 +1,4 @@
1
1
  uc-progress-bar {
2
- --l-progress-value: 0;
3
-
4
2
  position: absolute;
5
3
  top: 0;
6
4
  bottom: 0;
@@ -12,8 +10,7 @@ uc-progress-bar {
12
10
  }
13
11
 
14
12
  uc-progress-bar .uc-progress {
15
- position: absolute;
16
- width: calc(var(--l-progress-value) * 1%);
13
+ width: calc(var(--l-width) * 1%);
17
14
  height: 100%;
18
15
  background-color: var(--uc-primary);
19
16
  transform: translateX(0);
@@ -26,34 +23,3 @@ uc-progress-bar .uc-progress {
26
23
  uc-progress-bar .uc-progress--hidden {
27
24
  opacity: 0;
28
25
  }
29
-
30
- uc-progress-bar .uc-fake-progress {
31
- --l-fake-progress-width: 30;
32
-
33
- position: absolute;
34
- width: calc(var(--l-fake-progress-width) * 1%);
35
- height: 100%;
36
- background-color: var(--uc-primary);
37
- animation: fake-progress-animation 1s ease-in-out infinite;
38
- opacity: 1;
39
- transition:
40
- opacity 0.3s,
41
- display 1s;
42
- /* stylelint-disable-next-line property-no-unknown */
43
- transition-behavior: allow-discrete;
44
- }
45
-
46
- uc-progress-bar .uc-fake-progress--hidden {
47
- opacity: 0;
48
- display: none;
49
- }
50
-
51
- @keyframes fake-progress-animation {
52
- from {
53
- transform: translateX(-100%);
54
- }
55
-
56
- to {
57
- transform: translateX(calc(100 / var(--l-fake-progress-width) * 100 * 1%));
58
- }
59
- }
@@ -1,4 +1,5 @@
1
1
  uc-upload-list {
2
+ position: relative;
2
3
  display: flex;
3
4
  flex-direction: column;
4
5
  width: 100%;
package/env.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /** Do not edit this file manually. It's generated during build process. */
2
2
  export const PACKAGE_NAME: "blocks";
3
- export const PACKAGE_VERSION: "1.12.0";
3
+ export const PACKAGE_VERSION: "1.12.1";
4
4
  //# sourceMappingURL=env.d.ts.map
package/env.js CHANGED
@@ -1,3 +1,3 @@
1
1
  /** Do not edit this file manually. It's generated during build process. */
2
2
  export const PACKAGE_NAME = 'blocks';
3
- export const PACKAGE_VERSION = '1.12.0';
3
+ export const PACKAGE_VERSION = '1.12.1';
package/index.ssr.d.ts CHANGED
@@ -544,7 +544,7 @@ export const Modal: {
544
544
  bindAttributes: () => void;
545
545
  };
546
546
  export const PACKAGE_NAME: "blocks";
547
- export const PACKAGE_VERSION: "1.12.0";
547
+ export const PACKAGE_VERSION: "1.12.1";
548
548
  export const PresenceToggle: {
549
549
  new (): {};
550
550
  template: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.ssr.d.ts","sourceRoot":"","sources":["index.ssr.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;EAcE;AACF;;;;;;;;;;;;;;;EAcE;AACF;;;;;EAIE;AACF;;;;;;EAKE;AACF;;;;;;;;EAYE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqJE;AACF;;;;;;;;EAuCE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6CE;AACF;;;;;;;;EAuCE;AACF;;;;;;;EAoGE;AACF;;;;;;;EAaE;AACF;;;;;;;EAME;AACF;;;;;;;;;;;;;;;;EAeE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgEE;AACF;;;;;;;EAWE;AACF;;;;;;;EAWE;AACF;;;;;;;EASE;AACF;;;;;;EAKE;AACF;;;;;;;EAWE;AACF;;;;;;;EAME;AACF;;;;;;;EAWE;AACF;;;;;;;EA2IE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwEE;;;;;;;;;;;;;AAaF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkFE;AACF;;;;;;EAKE;AACF;;;;;;EAKE;AACF;;;;;;;EAME;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;AAoBF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6CE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyEE;AACK,yCAAiC;AACjC,qCAA6B;AAC7B,6CAAqC;AACrC,oCAA4B"}
package/index.ssr.js CHANGED
@@ -838,7 +838,6 @@ export const FileItem = class {
838
838
  <div aria-live="polite" class="uc-file-name-wrapper" set="@aria-label:ariaLabelStatusFile;">
839
839
  <span class="uc-file-name" set="@title: itemName">{{itemName}}</span>
840
840
  <span class="uc-file-error" set="@hidden: !errorText">{{errorText}}</span>
841
- <span class="uc-file-hint" set="@hidden: !hint">{{hint}}</span>
842
841
  </div>
843
842
  <div class="uc-file-actions">
844
843
  <button
@@ -1036,7 +1035,7 @@ export const Modal = class {
1036
1035
  static bindAttributes = () => {};
1037
1036
  };
1038
1037
  export const PACKAGE_NAME = `blocks`;
1039
- export const PACKAGE_VERSION = `1.12.0`;
1038
+ export const PACKAGE_VERSION = `1.12.1`;
1040
1039
  export const PresenceToggle = class {
1041
1040
  static template = `<slot></slot> `;
1042
1041
  static reg = () => {};
@@ -1045,10 +1044,7 @@ export const PresenceToggle = class {
1045
1044
  static bindAttributes = () => {};
1046
1045
  };
1047
1046
  export const ProgressBar = class {
1048
- static template = `
1049
- <div ref="fakeProgressLine" class="uc-fake-progress"></div>
1050
- <div ref="realProgressLine" class="uc-progress"></div>
1051
- `;
1047
+ static template = ` <div ref="line" class="uc-progress"></div> `;
1052
1048
  static reg = () => {};
1053
1049
  static styleAttrs = [];
1054
1050
  static is = `sym-1`;
@@ -124,7 +124,6 @@ declare const _default: {
124
124
  uploading: string;
125
125
  idle: string;
126
126
  'a11y-file-item-status': string;
127
- 'waiting-for': string;
128
127
  };
129
128
  export default _default;
130
129
  //# sourceMappingURL=ar.d.ts.map
@@ -125,5 +125,4 @@ export default {
125
125
  uploading: 'جارٍ التحميل',
126
126
  idle: 'خامل',
127
127
  'a11y-file-item-status': 'الملف {{fileName}} في حالة {{status}}',
128
- 'waiting-for': 'في انتظار {{source}}',
129
128
  };
@@ -116,7 +116,6 @@ declare const _default: {
116
116
  uploading: string;
117
117
  idle: string;
118
118
  'a11y-file-item-status': string;
119
- 'waiting-for': string;
120
119
  };
121
120
  export default _default;
122
121
  //# sourceMappingURL=az.d.ts.map
@@ -117,5 +117,4 @@ export default {
117
117
  uploading: 'Yüklənir',
118
118
  idle: 'Boş',
119
119
  'a11y-file-item-status': '{{fileName}} faylı {{status}} statusundadır',
120
- 'waiting-for': '{{source}} gözlənilir',
121
120
  };
@@ -118,7 +118,6 @@ declare const _default: {
118
118
  uploading: string;
119
119
  idle: string;
120
120
  'a11y-file-item-status': string;
121
- 'waiting-for': string;
122
121
  };
123
122
  export default _default;
124
123
  //# sourceMappingURL=ca.d.ts.map
@@ -120,5 +120,4 @@ export default {
120
120
  uploading: 'Carregant',
121
121
  idle: 'Inactiu',
122
122
  'a11y-file-item-status': 'El fitxer {{fileName}} està en estat {{status}}',
123
- 'waiting-for': 'Esperant per {{source}}',
124
123
  };
@@ -120,7 +120,6 @@ declare const _default: {
120
120
  uploading: string;
121
121
  idle: string;
122
122
  'a11y-file-item-status': string;
123
- 'waiting-for': string;
124
123
  };
125
124
  export default _default;
126
125
  //# sourceMappingURL=cs.d.ts.map
@@ -122,5 +122,4 @@ export default {
122
122
  uploading: 'Nahrává se',
123
123
  idle: 'Nečinný',
124
124
  'a11y-file-item-status': 'Soubor {{fileName}} je ve stavu {{status}}',
125
- 'waiting-for': 'Čekání na {{source}}',
126
125
  };
@@ -116,7 +116,6 @@ declare const _default: {
116
116
  uploading: string;
117
117
  idle: string;
118
118
  'a11y-file-item-status': string;
119
- 'waiting-for': string;
120
119
  };
121
120
  export default _default;
122
121
  //# sourceMappingURL=da.d.ts.map
@@ -118,5 +118,4 @@ export default {
118
118
  uploading: 'Uploader',
119
119
  idle: 'Inaktiv',
120
120
  'a11y-file-item-status': 'Filen {{fileName}} er i status {{status}}',
121
- 'waiting-for': 'Venter på {{source}}',
122
121
  };
@@ -116,7 +116,6 @@ declare const _default: {
116
116
  uploading: string;
117
117
  idle: string;
118
118
  'a11y-file-item-status': string;
119
- 'waiting-for': string;
120
119
  };
121
120
  export default _default;
122
121
  //# sourceMappingURL=de.d.ts.map
@@ -119,5 +119,4 @@ export default {
119
119
  uploading: 'Hochladen',
120
120
  idle: 'Leerlauf',
121
121
  'a11y-file-item-status': 'Datei {{fileName}} im Status {{status}}',
122
- 'waiting-for': 'Warten auf {{source}}',
123
122
  };
@@ -116,7 +116,6 @@ declare const _default: {
116
116
  uploading: string;
117
117
  idle: string;
118
118
  'a11y-file-item-status': string;
119
- 'waiting-for': string;
120
119
  };
121
120
  export default _default;
122
121
  //# sourceMappingURL=el.d.ts.map
@@ -119,5 +119,4 @@ export default {
119
119
  uploading: 'Μεταφόρτωση',
120
120
  idle: 'Αδράνεια',
121
121
  'a11y-file-item-status': 'Το αρχείο {{fileName}} βρίσκεται στην κατάσταση {{status}}',
122
- 'waiting-for': 'Αναμονή για {{source}}',
123
122
  };
@@ -116,7 +116,6 @@ declare const _default: {
116
116
  uploading: string;
117
117
  idle: string;
118
118
  'a11y-file-item-status': string;
119
- 'waiting-for': string;
120
119
  };
121
120
  export default _default;
122
121
  //# sourceMappingURL=en.d.ts.map
@@ -97,7 +97,7 @@ export default {
97
97
  'You’ve chosen {{total}} {{plural:file(total)}}. At least {{min}} {{plural:file(min)}} required.',
98
98
  'files-count-limit-error-too-many': 'You’ve chosen too many files. {{max}} {{plural:file(max)}} is maximum.',
99
99
  'files-max-size-limit-error': 'File is too big. Max file size is {{maxFileSize}}.',
100
- 'has-validation-errors': 'File validation error occurred. Please, check your files before upload.',
100
+ 'has-validation-errors': 'File validation error ocurred. Please, check your files before upload.',
101
101
  'images-only-accepted': 'Only image files are accepted.',
102
102
  'file-type-not-allowed': 'Uploading of these file types is not allowed.',
103
103
  'some-files-were-not-uploaded': 'Some files were not uploaded.',
@@ -117,5 +117,4 @@ export default {
117
117
  uploading: 'Uploading',
118
118
  idle: 'Idle',
119
119
  'a11y-file-item-status': 'File {{fileName}} in status {{status}}',
120
- 'waiting-for': 'Waiting for {{source}}',
121
120
  };
@@ -118,7 +118,6 @@ declare const _default: {
118
118
  uploading: string;
119
119
  idle: string;
120
120
  'a11y-file-item-status': string;
121
- 'waiting-for': string;
122
121
  };
123
122
  export default _default;
124
123
  //# sourceMappingURL=es.d.ts.map
@@ -120,5 +120,4 @@ export default {
120
120
  uploading: 'Subiendo',
121
121
  idle: 'Inactivo',
122
122
  'a11y-file-item-status': 'El archivo {{fileName}} está en estado {{status}}',
123
- 'waiting-for': 'Esperando por {{source}}',
124
123
  };
@@ -116,7 +116,6 @@ declare const _default: {
116
116
  uploading: string;
117
117
  idle: string;
118
118
  'a11y-file-item-status': string;
119
- 'waiting-for': string;
120
119
  };
121
120
  export default _default;
122
121
  //# sourceMappingURL=et.d.ts.map
@@ -117,5 +117,4 @@ export default {
117
117
  uploading: 'Üleslaadimine',
118
118
  idle: 'Ootel',
119
119
  'a11y-file-item-status': 'Fail {{fileName}} on seisundis {{status}}',
120
- 'waiting-for': 'Ootel {{source}}',
121
120
  };
@@ -116,7 +116,6 @@ declare const _default: {
116
116
  'a11y-file-item-status': string;
117
117
  'select-all': string;
118
118
  'deselect-all': string;
119
- 'waiting-for': string;
120
119
  };
121
120
  export default _default;
122
121
  //# sourceMappingURL=fi.d.ts.map
@@ -118,5 +118,4 @@ export default {
118
118
  'a11y-file-item-status': 'Tiedosto {{fileName}} tilassa {{status}}',
119
119
  'select-all': 'Valitse kaikki',
120
120
  'deselect-all': 'Poista valinnat',
121
- 'waiting-for': 'Odotetaan {{source}}',
122
121
  };
@@ -118,7 +118,6 @@ declare const _default: {
118
118
  'a11y-file-item-status': string;
119
119
  'select-all': string;
120
120
  'deselect-all': string;
121
- 'waiting-for': string;
122
121
  };
123
122
  export default _default;
124
123
  //# sourceMappingURL=fr.d.ts.map
@@ -120,5 +120,4 @@ export default {
120
120
  'a11y-file-item-status': 'Le fichier {{fileName}} est en statut {{status}}',
121
121
  'select-all': 'Tout sélectionner',
122
122
  'deselect-all': 'Tout désélectionner',
123
- 'waiting-for': 'En attente de {{source}}',
124
123
  };
@@ -118,7 +118,6 @@ declare const _default: {
118
118
  'a11y-file-item-status': string;
119
119
  'select-all': string;
120
120
  'deselect-all': string;
121
- 'waiting-for': string;
122
121
  };
123
122
  export default _default;
124
123
  //# sourceMappingURL=he.d.ts.map
@@ -119,5 +119,4 @@ export default {
119
119
  'a11y-file-item-status': 'הקובץ {{fileName}} במצב {{status}}',
120
120
  'select-all': 'בחר הכל',
121
121
  'deselect-all': 'בטל בחירת הכל',
122
- 'waiting-for': 'ממתין ל{{source}}',
123
122
  };
@@ -116,7 +116,6 @@ declare const _default: {
116
116
  'a11y-file-item-status': string;
117
117
  'select-all': string;
118
118
  'deselect-all': string;
119
- 'waiting-for': string;
120
119
  };
121
120
  export default _default;
122
121
  //# sourceMappingURL=hy.d.ts.map
@@ -117,5 +117,4 @@ export default {
117
117
  'a11y-file-item-status': 'Ֆայլը {{fileName}} {{status}} կարգավիճակում է',
118
118
  'select-all': 'Ընտրել բոլորը',
119
119
  'deselect-all': 'Հրաժարվել բոլորից',
120
- 'waiting-for': 'Սպասում եմ {{source}}',
121
120
  };
@@ -116,7 +116,6 @@ declare const _default: {
116
116
  'a11y-file-item-status': string;
117
117
  'select-all': string;
118
118
  'deselect-all': string;
119
- 'waiting-for': string;
120
119
  };
121
120
  export default _default;
122
121
  //# sourceMappingURL=is.d.ts.map
@@ -117,5 +117,4 @@ export default {
117
117
  'a11y-file-item-status': 'Skráin {{fileName}} er í stöðu {{status}}',
118
118
  'select-all': 'Velja allt',
119
119
  'deselect-all': 'Afvelja allt',
120
- 'waiting-for': 'Bíð eftir {{source}}',
121
120
  };
@@ -118,7 +118,6 @@ declare const _default: {
118
118
  'a11y-file-item-status': string;
119
119
  'select-all': string;
120
120
  'deselect-all': string;
121
- 'waiting-for': string;
122
121
  };
123
122
  export default _default;
124
123
  //# sourceMappingURL=it.d.ts.map
@@ -120,5 +120,4 @@ export default {
120
120
  'a11y-file-item-status': 'Il file {{fileName}} è nello stato {{status}}',
121
121
  'select-all': 'Seleziona tutto',
122
122
  'deselect-all': 'Deseleziona tutto',
123
- 'waiting-for': 'In attesa di {{source}}',
124
123
  };
@@ -116,7 +116,6 @@ declare const _default: {
116
116
  'a11y-file-item-status': string;
117
117
  'select-all': string;
118
118
  'deselect-all': string;
119
- 'waiting-for': string;
120
119
  };
121
120
  export default _default;
122
121
  //# sourceMappingURL=ja.d.ts.map
@@ -117,5 +117,4 @@ export default {
117
117
  'a11y-file-item-status': 'ファイル {{fileName}} のステータスは {{status}} です',
118
118
  'select-all': 'すべて選択',
119
119
  'deselect-all': 'すべて選択解除',
120
- 'waiting-for': '{{source}} を待っています',
121
120
  };
@@ -116,7 +116,6 @@ declare const _default: {
116
116
  'a11y-file-item-status': string;
117
117
  'select-all': string;
118
118
  'deselect-all': string;
119
- 'waiting-for': string;
120
119
  };
121
120
  export default _default;
122
121
  //# sourceMappingURL=ka.d.ts.map
@@ -117,5 +117,4 @@ export default {
117
117
  'a11y-file-item-status': 'ფაილი {{fileName}} არის მდგომარეობაში {{status}}',
118
118
  'select-all': 'ყველას არჩევა',
119
119
  'deselect-all': 'ყველას არჩევის გაუქმება',
120
- 'waiting-for': 'ველოდები {{source}}',
121
120
  };
@@ -116,7 +116,6 @@ declare const _default: {
116
116
  'a11y-file-item-status': string;
117
117
  'select-all': string;
118
118
  'deselect-all': string;
119
- 'waiting-for': string;
120
119
  };
121
120
  export default _default;
122
121
  //# sourceMappingURL=kk.d.ts.map
@@ -117,5 +117,4 @@ export default {
117
117
  'a11y-file-item-status': '{{fileName}} файлы {{status}} күйінде',
118
118
  'select-all': 'Барлығын таңдау',
119
119
  'deselect-all': 'Барлығын таңдаудан шығару',
120
- 'waiting-for': 'Күтіп тұр {{source}}',
121
120
  };
@@ -116,7 +116,6 @@ declare const _default: {
116
116
  'a11y-file-item-status': string;
117
117
  'select-all': string;
118
118
  'deselect-all': string;
119
- 'waiting-for': string;
120
119
  };
121
120
  export default _default;
122
121
  //# sourceMappingURL=ko.d.ts.map
@@ -116,5 +116,4 @@ export default {
116
116
  'a11y-file-item-status': '{{fileName}} 파일이 {{status}} 상태입니다',
117
117
  'select-all': '모두 선택',
118
118
  'deselect-all': '모두 선택 해제',
119
- 'waiting-for': '{{source}} 대기 중',
120
119
  };
@@ -118,7 +118,6 @@ declare const _default: {
118
118
  'a11y-file-item-status': string;
119
119
  'select-all': string;
120
120
  'deselect-all': string;
121
- 'waiting-for': string;
122
121
  };
123
122
  export default _default;
124
123
  //# sourceMappingURL=lv.d.ts.map
@@ -119,5 +119,4 @@ export default {
119
119
  'a11y-file-item-status': 'Fails {{fileName}} ir stāvoklī {{status}}',
120
120
  'select-all': 'Izvēlēties visus',
121
121
  'deselect-all': 'Noņemt izvēli visiem',
122
- 'waiting-for': 'Gaida {{source}}',
123
122
  };
@@ -116,7 +116,6 @@ declare const _default: {
116
116
  'a11y-file-item-status': string;
117
117
  'select-all': string;
118
118
  'deselect-all': string;
119
- 'waiting-for': string;
120
119
  };
121
120
  export default _default;
122
121
  //# sourceMappingURL=nb.d.ts.map