@progress/kendo-angular-upload 11.0.0-develop.96 → 11.0.0-develop.98
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/dropzone.component.d.ts +10 -2
- package/esm2020/common/util.mjs +4 -1
- package/esm2020/dropzone.component.mjs +57 -35
- package/esm2020/fileselect.module.mjs +4 -3
- package/esm2020/package-metadata.mjs +1 -1
- package/esm2020/rendering/file-list-item-action-button.component.mjs +115 -82
- package/esm2020/rendering/file-list-multiple-items.component.mjs +20 -7
- package/esm2020/rendering/file-list-single-item.component.mjs +31 -7
- package/esm2020/rendering/upload-status-total.component.mjs +45 -18
- package/esm2020/shared.module.mjs +4 -3
- package/esm2020/types/file-groups.mjs +18 -0
- package/esm2020/upload.module.mjs +4 -3
- package/fesm2015/progress-kendo-angular-upload.mjs +284 -151
- package/fesm2020/progress-kendo-angular-upload.mjs +284 -151
- package/fileselect.module.d.ts +7 -6
- package/package.json +7 -6
- package/rendering/file-list-item-action-button.component.d.ts +6 -0
- package/rendering/file-list-multiple-items.component.d.ts +2 -0
- package/rendering/file-list-single-item.component.d.ts +2 -0
- package/rendering/upload-status-total.component.d.ts +7 -0
- package/schematics/ngAdd/index.js +2 -0
- package/shared.module.d.ts +2 -1
- package/types/file-groups.d.ts +21 -0
- package/upload.module.d.ts +7 -6
|
@@ -7,18 +7,21 @@ import { HttpHeaders, HttpRequest, HttpEventType, HttpResponse } from '@angular/
|
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
8
|
import { EventEmitter, Injectable, Directive, Input, HostBinding, HostListener, Component, ViewChildren, forwardRef, Inject, ElementRef, ContentChild, ViewChild, Output, isDevMode, NgModule } from '@angular/core';
|
|
9
9
|
import { guid, Keys, isDocumentAvailable, KendoInput, isChanged } from '@progress/kendo-angular-common';
|
|
10
|
+
import { fileAudioIcon, fileVideoIcon, fileImageIcon, fileTxtIcon, filePresentationIcon, fileExcelIcon, fileProgrammingIcon, filePdfIcon, fileConfigIcon, fileZipIcon, fileDiscImageIcon, arrowRotateCwSmallIcon, playSmIcon, pauseSmIcon, cancelIcon, xIcon, fileIcon, copyIcon, checkIcon, exclamationCircleIcon, uploadIcon } from '@progress/kendo-svg-icons';
|
|
10
11
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
11
12
|
import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
12
13
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
13
14
|
import { fromEvent, merge } from 'rxjs';
|
|
14
15
|
import { filter } from 'rxjs/operators';
|
|
15
16
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
16
|
-
import * as
|
|
17
|
+
import * as i7 from '@progress/kendo-angular-buttons';
|
|
17
18
|
import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
18
19
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
19
20
|
import * as i3 from '@progress/kendo-angular-progressbar';
|
|
20
21
|
import { ProgressBarModule } from '@progress/kendo-angular-progressbar';
|
|
21
|
-
import * as
|
|
22
|
+
import * as i4 from '@progress/kendo-angular-icons';
|
|
23
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
24
|
+
import * as i6 from '@angular/common';
|
|
22
25
|
import { CommonModule } from '@angular/common';
|
|
23
26
|
|
|
24
27
|
/**
|
|
@@ -636,6 +639,23 @@ const fileGroupMap = {
|
|
|
636
639
|
".dmg", ".iso", ".toast", ".vcd", ".bin", ".cue", ".mdf"
|
|
637
640
|
]
|
|
638
641
|
};
|
|
642
|
+
;
|
|
643
|
+
/**
|
|
644
|
+
* @hidden
|
|
645
|
+
*/
|
|
646
|
+
const fileSVGGroupMap = {
|
|
647
|
+
audio: fileAudioIcon,
|
|
648
|
+
video: fileVideoIcon,
|
|
649
|
+
image: fileImageIcon,
|
|
650
|
+
txt: fileTxtIcon,
|
|
651
|
+
presentation: filePresentationIcon,
|
|
652
|
+
data: fileExcelIcon,
|
|
653
|
+
programming: fileProgrammingIcon,
|
|
654
|
+
pdf: filePdfIcon,
|
|
655
|
+
config: fileConfigIcon,
|
|
656
|
+
zip: fileZipIcon,
|
|
657
|
+
discImage: fileDiscImageIcon
|
|
658
|
+
};
|
|
639
659
|
|
|
640
660
|
/* eslint-disable no-bitwise */
|
|
641
661
|
/**
|
|
@@ -844,9 +864,12 @@ const isFocusable = (element, checkVisibility = true) => {
|
|
|
844
864
|
* @hidden
|
|
845
865
|
*/
|
|
846
866
|
const getFileGroupCssClass = (fileExtension) => {
|
|
847
|
-
const initial = '
|
|
867
|
+
const initial = 'file';
|
|
848
868
|
for (const group in fileGroupMap) {
|
|
849
869
|
if (fileGroupMap[group].indexOf(fileExtension) >= 0) {
|
|
870
|
+
if (group === 'discImage') {
|
|
871
|
+
return `${initial}-disc-image`;
|
|
872
|
+
}
|
|
850
873
|
return `${initial}-${group}`;
|
|
851
874
|
}
|
|
852
875
|
}
|
|
@@ -1470,7 +1493,7 @@ const packageMetadata = {
|
|
|
1470
1493
|
name: '@progress/kendo-angular-upload',
|
|
1471
1494
|
productName: 'Kendo UI for Angular',
|
|
1472
1495
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
1473
|
-
publishDate:
|
|
1496
|
+
publishDate: 1673460761,
|
|
1474
1497
|
version: '',
|
|
1475
1498
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
1476
1499
|
};
|
|
@@ -1685,6 +1708,11 @@ class FileListItemActionButtonComponent {
|
|
|
1685
1708
|
this.actionFocused = false;
|
|
1686
1709
|
this.retryFocused = false;
|
|
1687
1710
|
this.pauseResumeFocused = false;
|
|
1711
|
+
this.retrySVGIcon = arrowRotateCwSmallIcon;
|
|
1712
|
+
this.playSVGIcon = playSmIcon;
|
|
1713
|
+
this.pauseSVGIcon = pauseSmIcon;
|
|
1714
|
+
this.cancelSVGIcon = cancelIcon;
|
|
1715
|
+
this.deleteSVGIcon = xIcon;
|
|
1688
1716
|
}
|
|
1689
1717
|
onFocus(type) {
|
|
1690
1718
|
if (type === 'action') {
|
|
@@ -1780,106 +1808,132 @@ class FileListItemActionButtonComponent {
|
|
|
1780
1808
|
}
|
|
1781
1809
|
FileListItemActionButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListItemActionButtonComponent, deps: [{ token: UploadService }, { token: i1$1.LocalizationService }, { token: NavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1782
1810
|
FileListItemActionButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: { file: "file", disabled: "disabled", progress: "progress" }, ngImport: i0, template: `
|
|
1783
|
-
|
|
1811
|
+
<span class="k-upload-actions">
|
|
1784
1812
|
<span class="k-upload-pct" *ngIf="isUploading || isPaused">{{progress}}%</span>
|
|
1785
1813
|
|
|
1786
|
-
<button
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1814
|
+
<button
|
|
1815
|
+
*ngIf="isFailed"
|
|
1816
|
+
type="button"
|
|
1817
|
+
class="k-button k-icon-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-upload-action"
|
|
1818
|
+
[ngClass]="{ 'k-focus': this.retryFocused }"
|
|
1819
|
+
[attr.tabIndex]="-1"
|
|
1820
|
+
|
|
1821
|
+
(focus)="onFocus('retry')"
|
|
1822
|
+
(blur)="onBlur('retry')"
|
|
1823
|
+
(click)="onRetryClick()"
|
|
1824
|
+
>
|
|
1825
|
+
<kendo-icon-wrapper
|
|
1826
|
+
name="refresh-sm"
|
|
1827
|
+
[svgIcon]="retrySVGIcon"
|
|
1828
|
+
innerCssClass="k-retry"
|
|
1829
|
+
[attr.aria-label]="retryButtonTitle"
|
|
1830
|
+
[attr.title]="retryButtonTitle"
|
|
1831
|
+
></kendo-icon-wrapper>
|
|
1796
1832
|
</button>
|
|
1797
1833
|
|
|
1798
|
-
<button
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1834
|
+
<button
|
|
1835
|
+
*ngIf="isResumable"
|
|
1836
|
+
type="button"
|
|
1837
|
+
class="k-button k-icon-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-upload-action"
|
|
1838
|
+
[ngClass]="{ 'k-focus': this.pauseResumeFocused }"
|
|
1839
|
+
[attr.tabIndex]="-1"
|
|
1840
|
+
(focus)="onFocus('pauseResume')"
|
|
1841
|
+
(blur)="onBlur('pauseResume')"
|
|
1842
|
+
(click)="onPauseResumeClick()"
|
|
1843
|
+
>
|
|
1844
|
+
<kendo-icon-wrapper
|
|
1845
|
+
[name]="isPaused ? 'play-sm' : 'pause-sm'"
|
|
1846
|
+
[svgIcon]="isPaused ? playSVGIcon : pauseSVGIcon"
|
|
1847
|
+
[attr.aria-label]='pauseResumeButtonTitle'
|
|
1848
|
+
[attr.title]='pauseResumeButtonTitle'
|
|
1849
|
+
></kendo-icon-wrapper>
|
|
1812
1850
|
</button>
|
|
1813
1851
|
|
|
1814
|
-
<button
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
[ngClass]="{
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1852
|
+
<button
|
|
1853
|
+
*ngIf="isActionButtonVisible"
|
|
1854
|
+
class="k-button k-icon-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-upload-action"
|
|
1855
|
+
type="button"
|
|
1856
|
+
[attr.tabIndex]="-1"
|
|
1857
|
+
(focus)="onFocus('action')"
|
|
1858
|
+
(blur)="onBlur('action')"
|
|
1859
|
+
[ngClass]="{ 'k-focus': this.actionFocused }"
|
|
1860
|
+
(click)="onRemoveCancelClick($event)"
|
|
1861
|
+
>
|
|
1862
|
+
<kendo-icon-wrapper
|
|
1863
|
+
[name]="isUploading ? 'cancel' : 'x'"
|
|
1864
|
+
[svgIcon]="isUploading ? cancelSVGIcon : deleteSVGIcon"
|
|
1865
|
+
[innerCssClass]="!isUploading ? 'k-delete' : ''"
|
|
1866
|
+
[attr.aria-label]='actionButtonTitle'
|
|
1867
|
+
[attr.title]='actionButtonTitle'
|
|
1868
|
+
></kendo-icon-wrapper>
|
|
1828
1869
|
</button>
|
|
1829
|
-
|
|
1830
|
-
`, isInline: true, directives: [{ type:
|
|
1870
|
+
</span>
|
|
1871
|
+
`, isInline: true, components: [{ type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
1831
1872
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListItemActionButtonComponent, decorators: [{
|
|
1832
1873
|
type: Component,
|
|
1833
1874
|
args: [{
|
|
1834
1875
|
selector: 'kendo-upload-file-list-item-action-button',
|
|
1835
1876
|
template: `
|
|
1836
|
-
|
|
1877
|
+
<span class="k-upload-actions">
|
|
1837
1878
|
<span class="k-upload-pct" *ngIf="isUploading || isPaused">{{progress}}%</span>
|
|
1838
1879
|
|
|
1839
|
-
<button
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1880
|
+
<button
|
|
1881
|
+
*ngIf="isFailed"
|
|
1882
|
+
type="button"
|
|
1883
|
+
class="k-button k-icon-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-upload-action"
|
|
1884
|
+
[ngClass]="{ 'k-focus': this.retryFocused }"
|
|
1885
|
+
[attr.tabIndex]="-1"
|
|
1886
|
+
|
|
1887
|
+
(focus)="onFocus('retry')"
|
|
1888
|
+
(blur)="onBlur('retry')"
|
|
1889
|
+
(click)="onRetryClick()"
|
|
1890
|
+
>
|
|
1891
|
+
<kendo-icon-wrapper
|
|
1892
|
+
name="refresh-sm"
|
|
1893
|
+
[svgIcon]="retrySVGIcon"
|
|
1894
|
+
innerCssClass="k-retry"
|
|
1895
|
+
[attr.aria-label]="retryButtonTitle"
|
|
1896
|
+
[attr.title]="retryButtonTitle"
|
|
1897
|
+
></kendo-icon-wrapper>
|
|
1849
1898
|
</button>
|
|
1850
1899
|
|
|
1851
|
-
<button
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1900
|
+
<button
|
|
1901
|
+
*ngIf="isResumable"
|
|
1902
|
+
type="button"
|
|
1903
|
+
class="k-button k-icon-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-upload-action"
|
|
1904
|
+
[ngClass]="{ 'k-focus': this.pauseResumeFocused }"
|
|
1905
|
+
[attr.tabIndex]="-1"
|
|
1906
|
+
(focus)="onFocus('pauseResume')"
|
|
1907
|
+
(blur)="onBlur('pauseResume')"
|
|
1908
|
+
(click)="onPauseResumeClick()"
|
|
1909
|
+
>
|
|
1910
|
+
<kendo-icon-wrapper
|
|
1911
|
+
[name]="isPaused ? 'play-sm' : 'pause-sm'"
|
|
1912
|
+
[svgIcon]="isPaused ? playSVGIcon : pauseSVGIcon"
|
|
1913
|
+
[attr.aria-label]='pauseResumeButtonTitle'
|
|
1914
|
+
[attr.title]='pauseResumeButtonTitle'
|
|
1915
|
+
></kendo-icon-wrapper>
|
|
1865
1916
|
</button>
|
|
1866
1917
|
|
|
1867
|
-
<button
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
[ngClass]="{
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1918
|
+
<button
|
|
1919
|
+
*ngIf="isActionButtonVisible"
|
|
1920
|
+
class="k-button k-icon-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-upload-action"
|
|
1921
|
+
type="button"
|
|
1922
|
+
[attr.tabIndex]="-1"
|
|
1923
|
+
(focus)="onFocus('action')"
|
|
1924
|
+
(blur)="onBlur('action')"
|
|
1925
|
+
[ngClass]="{ 'k-focus': this.actionFocused }"
|
|
1926
|
+
(click)="onRemoveCancelClick($event)"
|
|
1927
|
+
>
|
|
1928
|
+
<kendo-icon-wrapper
|
|
1929
|
+
[name]="isUploading ? 'cancel' : 'x'"
|
|
1930
|
+
[svgIcon]="isUploading ? cancelSVGIcon : deleteSVGIcon"
|
|
1931
|
+
[innerCssClass]="!isUploading ? 'k-delete' : ''"
|
|
1932
|
+
[attr.aria-label]='actionButtonTitle'
|
|
1933
|
+
[attr.title]='actionButtonTitle'
|
|
1934
|
+
></kendo-icon-wrapper>
|
|
1881
1935
|
</button>
|
|
1882
|
-
|
|
1936
|
+
</span>
|
|
1883
1937
|
`
|
|
1884
1938
|
}]
|
|
1885
1939
|
}], ctorParameters: function () { return [{ type: UploadService }, { type: i1$1.LocalizationService }, { type: NavigationService }]; }, propDecorators: { file: [{
|
|
@@ -1952,6 +2006,17 @@ class FileListSingleItemComponent extends FileListItemBase {
|
|
|
1952
2006
|
get fileGroupClass() {
|
|
1953
2007
|
return getFileGroupCssClass(this.file.extension ? this.file.extension : '');
|
|
1954
2008
|
}
|
|
2009
|
+
get fileSVGGroupIcon() {
|
|
2010
|
+
const initial = fileIcon;
|
|
2011
|
+
if (this.file.extension) {
|
|
2012
|
+
for (const group in fileGroupMap) {
|
|
2013
|
+
if (fileGroupMap[group].indexOf(this.file.extension) >= 0) {
|
|
2014
|
+
return fileSVGGroupMap[group];
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
}
|
|
2018
|
+
return initial;
|
|
2019
|
+
}
|
|
1955
2020
|
get isUploadSuccessful() {
|
|
1956
2021
|
return this.file.state === FileState.Uploaded;
|
|
1957
2022
|
}
|
|
@@ -1971,7 +2036,12 @@ FileListSingleItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
1971
2036
|
>
|
|
1972
2037
|
</kendo-progressbar>
|
|
1973
2038
|
<span class="k-file-icon-wrapper">
|
|
1974
|
-
<
|
|
2039
|
+
<kendo-icon-wrapper
|
|
2040
|
+
[name]="fileGroupClass"
|
|
2041
|
+
[svgIcon]="fileSVGGroupIcon"
|
|
2042
|
+
innerCssClass="k-file-icon"
|
|
2043
|
+
>
|
|
2044
|
+
</kendo-icon-wrapper>
|
|
1975
2045
|
</span>
|
|
1976
2046
|
<span class="k-file-info">
|
|
1977
2047
|
<ng-container *ngIf="!fileInfoTemplate">
|
|
@@ -1996,7 +2066,7 @@ FileListSingleItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
1996
2066
|
[disabled]='disabled'
|
|
1997
2067
|
[progress]='progressComplete'>
|
|
1998
2068
|
</kendo-upload-file-list-item-action-button>
|
|
1999
|
-
`, isInline: true, components: [{ type: i3.ProgressBarComponent, selector: "kendo-progressbar", inputs: ["label", "progressCssStyle", "progressCssClass", "emptyCssStyle", "emptyCssClass", "animation"], outputs: ["animationEnd"], exportAs: ["kendoProgressBar"] }, { type: FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: ["file", "disabled", "progress"] }], directives: [{ type:
|
|
2069
|
+
`, isInline: true, components: [{ type: i3.ProgressBarComponent, selector: "kendo-progressbar", inputs: ["label", "progressCssStyle", "progressCssClass", "emptyCssStyle", "emptyCssClass", "animation"], outputs: ["animationEnd"], exportAs: ["kendoProgressBar"] }, { type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: ["file", "disabled", "progress"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }], animations: [
|
|
2000
2070
|
trigger('progressState', [
|
|
2001
2071
|
state('active', style({ opacity: 1 })),
|
|
2002
2072
|
state('inactive', style({ opacity: 0 })),
|
|
@@ -2026,7 +2096,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2026
2096
|
>
|
|
2027
2097
|
</kendo-progressbar>
|
|
2028
2098
|
<span class="k-file-icon-wrapper">
|
|
2029
|
-
<
|
|
2099
|
+
<kendo-icon-wrapper
|
|
2100
|
+
[name]="fileGroupClass"
|
|
2101
|
+
[svgIcon]="fileSVGGroupIcon"
|
|
2102
|
+
innerCssClass="k-file-icon"
|
|
2103
|
+
>
|
|
2104
|
+
</kendo-icon-wrapper>
|
|
2030
2105
|
</span>
|
|
2031
2106
|
<span class="k-file-info">
|
|
2032
2107
|
<ng-container *ngIf="!fileInfoTemplate">
|
|
@@ -2068,6 +2143,7 @@ class FileListMultipleItemsComponent extends FileListItemBase {
|
|
|
2068
2143
|
constructor(localization, uploadService) {
|
|
2069
2144
|
super(uploadService);
|
|
2070
2145
|
this.localization = localization;
|
|
2146
|
+
this.copySVGIcon = copyIcon;
|
|
2071
2147
|
this.subscribeUploadProgress((args) => {
|
|
2072
2148
|
if (args.files[0].uid === this.files[0].uid) {
|
|
2073
2149
|
this.progressComplete = args.percentComplete;
|
|
@@ -2115,7 +2191,12 @@ FileListMultipleItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
2115
2191
|
>
|
|
2116
2192
|
</kendo-progressbar>
|
|
2117
2193
|
<span class="k-file-icon-wrapper">
|
|
2118
|
-
<
|
|
2194
|
+
<kendo-icon-wrapper
|
|
2195
|
+
name="copy"
|
|
2196
|
+
[svgIcon]="copySVGIcon"
|
|
2197
|
+
innerCssClass="k-file-icon"
|
|
2198
|
+
>
|
|
2199
|
+
</kendo-icon-wrapper>
|
|
2119
2200
|
</span>
|
|
2120
2201
|
<span class="k-multiple-files-wrapper">
|
|
2121
2202
|
<ng-container *ngIf="!fileInfoTemplate">
|
|
@@ -2145,7 +2226,7 @@ FileListMultipleItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
2145
2226
|
[disabled]='disabled'
|
|
2146
2227
|
[progress]='progressComplete'>
|
|
2147
2228
|
</kendo-upload-file-list-item-action-button>
|
|
2148
|
-
`, isInline: true, components: [{ type: i3.ProgressBarComponent, selector: "kendo-progressbar", inputs: ["label", "progressCssStyle", "progressCssClass", "emptyCssStyle", "emptyCssClass", "animation"], outputs: ["animationEnd"], exportAs: ["kendoProgressBar"] }, { type: FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: ["file", "disabled", "progress"] }], directives: [{ type:
|
|
2229
|
+
`, isInline: true, components: [{ type: i3.ProgressBarComponent, selector: "kendo-progressbar", inputs: ["label", "progressCssStyle", "progressCssClass", "emptyCssStyle", "emptyCssClass", "animation"], outputs: ["animationEnd"], exportAs: ["kendoProgressBar"] }, { type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: ["file", "disabled", "progress"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }], animations: [
|
|
2149
2230
|
trigger('progressState', [
|
|
2150
2231
|
state('active', style({ opacity: 1 })),
|
|
2151
2232
|
state('inactive', style({ opacity: 0 })),
|
|
@@ -2175,7 +2256,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2175
2256
|
>
|
|
2176
2257
|
</kendo-progressbar>
|
|
2177
2258
|
<span class="k-file-icon-wrapper">
|
|
2178
|
-
<
|
|
2259
|
+
<kendo-icon-wrapper
|
|
2260
|
+
name="copy"
|
|
2261
|
+
[svgIcon]="copySVGIcon"
|
|
2262
|
+
innerCssClass="k-file-icon"
|
|
2263
|
+
>
|
|
2264
|
+
</kendo-icon-wrapper>
|
|
2179
2265
|
</span>
|
|
2180
2266
|
<span class="k-multiple-files-wrapper">
|
|
2181
2267
|
<ng-container *ngIf="!fileInfoTemplate">
|
|
@@ -2297,7 +2383,7 @@ FileListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
2297
2383
|
}"></ng-template>
|
|
2298
2384
|
</li>
|
|
2299
2385
|
</ng-template>
|
|
2300
|
-
`, isInline: true, components: [{ type: FileListSingleItemComponent, selector: "kendo-upload-file-list-single-item", inputs: ["disabled", "file", "fileInfoTemplate"] }, { type: FileListMultipleItemsComponent, selector: "kendo-upload-file-list-multiple-items", inputs: ["disabled", "files", "fileInfoTemplate"] }], directives: [{ type:
|
|
2386
|
+
`, isInline: true, components: [{ type: FileListSingleItemComponent, selector: "kendo-upload-file-list-single-item", inputs: ["disabled", "file", "fileInfoTemplate"] }, { type: FileListMultipleItemsComponent, selector: "kendo-upload-file-list-multiple-items", inputs: ["disabled", "files", "fileInfoTemplate"] }], directives: [{ type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: FileListItemDirective, selector: "[kendoUploadFileListItem]", inputs: ["files", "index"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
2301
2387
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListComponent, decorators: [{
|
|
2302
2388
|
type: Component,
|
|
2303
2389
|
args: [{
|
|
@@ -3140,7 +3226,7 @@ FileSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
3140
3226
|
[fileTemplate]="fileTemplate"
|
|
3141
3227
|
[fileInfoTemplate]="fileInfoTemplate">
|
|
3142
3228
|
</ul>
|
|
3143
|
-
`, isInline: true, components: [{ type:
|
|
3229
|
+
`, isInline: true, components: [{ type: i7.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: FileListComponent, selector: "[kendo-upload-file-list]", inputs: ["disabled", "fileList", "fileTemplate", "fileInfoTemplate"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoUploadLocalizedMessages],\n [kendoFileSelectLocalizedMessages],\n [kendoUploadDropZoneLocalizedMessages]\n " }, { type: DropZoneInternalDirective, selector: "\n [kendoUploadInternalDropZone],\n [kendoFileSelectInternalDropZone]\n ", inputs: ["disabled", "multiple", "restrictions"] }, { type: FileSelectDirective, selector: "[kendoFileSelect]", inputs: ["dir", "disabled", "multiple", "restrictions"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3144
3230
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileSelectComponent, decorators: [{
|
|
3145
3231
|
type: Component,
|
|
3146
3232
|
args: [{
|
|
@@ -3325,6 +3411,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3325
3411
|
class UploadStatusTotalComponent {
|
|
3326
3412
|
constructor(localization) {
|
|
3327
3413
|
this.localization = localization;
|
|
3414
|
+
this.checkmarkIcon = checkIcon;
|
|
3415
|
+
this.exceptionSVGIcon = exclamationCircleIcon;
|
|
3416
|
+
this.uploadSVGIcon = uploadIcon;
|
|
3417
|
+
this.pauseSVGIcon = pauseSmIcon;
|
|
3418
|
+
}
|
|
3419
|
+
get iconClass() {
|
|
3420
|
+
if (!this.isUploading && !this.isFailed) {
|
|
3421
|
+
return 'checkmark';
|
|
3422
|
+
}
|
|
3423
|
+
if (!this.isUploading && this.isFailed) {
|
|
3424
|
+
return 'exception';
|
|
3425
|
+
}
|
|
3426
|
+
if (this.isUploading) {
|
|
3427
|
+
return 'upload';
|
|
3428
|
+
}
|
|
3429
|
+
if (this.isPaused) {
|
|
3430
|
+
return 'pause-sm';
|
|
3431
|
+
}
|
|
3432
|
+
}
|
|
3433
|
+
get SVGIconClass() {
|
|
3434
|
+
if (!this.isUploading && !this.isFailed) {
|
|
3435
|
+
return this.checkmarkIcon;
|
|
3436
|
+
}
|
|
3437
|
+
if (!this.isUploading && this.isFailed) {
|
|
3438
|
+
return this.exceptionSVGIcon;
|
|
3439
|
+
}
|
|
3440
|
+
if (this.isUploading) {
|
|
3441
|
+
return this.uploadSVGIcon;
|
|
3442
|
+
}
|
|
3443
|
+
if (this.isPaused) {
|
|
3444
|
+
return this.pauseSVGIcon;
|
|
3445
|
+
}
|
|
3328
3446
|
}
|
|
3329
3447
|
ngDoCheck() {
|
|
3330
3448
|
this.isPaused = this.fileList.hasFileWithState([FileState.Paused]);
|
|
@@ -3341,29 +3459,23 @@ class UploadStatusTotalComponent {
|
|
|
3341
3459
|
}
|
|
3342
3460
|
UploadStatusTotalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadStatusTotalComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3343
3461
|
UploadStatusTotalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: UploadStatusTotalComponent, selector: "kendo-upload-status-total", inputs: { fileList: "fileList" }, ngImport: i0, template: `
|
|
3344
|
-
<
|
|
3345
|
-
[
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
'k-i-pause-sm': this.isPaused
|
|
3350
|
-
}">
|
|
3351
|
-
</span>
|
|
3462
|
+
<kendo-icon-wrapper
|
|
3463
|
+
[name]="iconClass"
|
|
3464
|
+
[svgIcon]="SVGIconClass"
|
|
3465
|
+
>
|
|
3466
|
+
</kendo-icon-wrapper>
|
|
3352
3467
|
{{statusText}}
|
|
3353
|
-
`, isInline: true,
|
|
3468
|
+
`, isInline: true, components: [{ type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }] });
|
|
3354
3469
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadStatusTotalComponent, decorators: [{
|
|
3355
3470
|
type: Component,
|
|
3356
3471
|
args: [{
|
|
3357
3472
|
selector: 'kendo-upload-status-total',
|
|
3358
3473
|
template: `
|
|
3359
|
-
<
|
|
3360
|
-
[
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
'k-i-pause-sm': this.isPaused
|
|
3365
|
-
}">
|
|
3366
|
-
</span>
|
|
3474
|
+
<kendo-icon-wrapper
|
|
3475
|
+
[name]="iconClass"
|
|
3476
|
+
[svgIcon]="SVGIconClass"
|
|
3477
|
+
>
|
|
3478
|
+
</kendo-icon-wrapper>
|
|
3367
3479
|
{{statusText}}
|
|
3368
3480
|
`
|
|
3369
3481
|
}]
|
|
@@ -4273,7 +4385,7 @@ UploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
4273
4385
|
[disabled]="disabled"
|
|
4274
4386
|
[actionsLayout]="actionsLayout">
|
|
4275
4387
|
</kendo-upload-action-buttons>
|
|
4276
|
-
`, isInline: true, components: [{ type:
|
|
4388
|
+
`, isInline: true, components: [{ type: i7.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: UploadStatusTotalComponent, selector: "kendo-upload-status-total", inputs: ["fileList"] }, { type: FileListComponent, selector: "[kendo-upload-file-list]", inputs: ["disabled", "fileList", "fileTemplate", "fileInfoTemplate"] }, { type: UploadActionButtonsComponent, selector: "kendo-upload-action-buttons", inputs: ["disabled", "actionsLayout"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoUploadLocalizedMessages],\n [kendoFileSelectLocalizedMessages],\n [kendoUploadDropZoneLocalizedMessages]\n " }, { type: DropZoneInternalDirective, selector: "\n [kendoUploadInternalDropZone],\n [kendoFileSelectInternalDropZone]\n ", inputs: ["disabled", "multiple", "restrictions"] }, { type: FileSelectDirective, selector: "[kendoFileSelect]", inputs: ["dir", "disabled", "multiple", "restrictions"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4277
4389
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadComponent, decorators: [{
|
|
4278
4390
|
type: Component,
|
|
4279
4391
|
args: [{
|
|
@@ -4594,6 +4706,7 @@ class UploadDropZoneComponent extends DropZoneBase {
|
|
|
4594
4706
|
super(element, renderer, 'k-external-dropzone-hover');
|
|
4595
4707
|
this.localization = localization;
|
|
4596
4708
|
this.hostClass = true;
|
|
4709
|
+
this._svgIcon = uploadIcon;
|
|
4597
4710
|
this.localizationChangeSubscription = this.localization.changes.subscribe(({ rtl }) => {
|
|
4598
4711
|
this.direction = rtl ? 'rtl' : 'ltr';
|
|
4599
4712
|
});
|
|
@@ -4601,6 +4714,19 @@ class UploadDropZoneComponent extends DropZoneBase {
|
|
|
4601
4714
|
get dirAttribute() {
|
|
4602
4715
|
return this.direction;
|
|
4603
4716
|
}
|
|
4717
|
+
/**
|
|
4718
|
+
* Defines an SVGIcon to be rendered inside the DropZone.
|
|
4719
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
4720
|
+
*/
|
|
4721
|
+
set svgIcon(icon) {
|
|
4722
|
+
if (isDevMode() && icon && this.icon && this.iconClass) {
|
|
4723
|
+
throw new Error('Setting both icon/svgIcon and iconClass options at the same time is not supported.');
|
|
4724
|
+
}
|
|
4725
|
+
this._svgIcon = icon;
|
|
4726
|
+
}
|
|
4727
|
+
get svgIcon() {
|
|
4728
|
+
return this._svgIcon;
|
|
4729
|
+
}
|
|
4604
4730
|
/**
|
|
4605
4731
|
* @hidden
|
|
4606
4732
|
*/
|
|
@@ -4612,12 +4738,11 @@ class UploadDropZoneComponent extends DropZoneBase {
|
|
|
4612
4738
|
*/
|
|
4613
4739
|
get iconClasses() {
|
|
4614
4740
|
if (this.icon) {
|
|
4615
|
-
return
|
|
4741
|
+
return `${this.icon}`;
|
|
4616
4742
|
}
|
|
4617
|
-
if (this.iconClass) {
|
|
4618
|
-
return
|
|
4743
|
+
if (!this.icon && !this.iconClass) {
|
|
4744
|
+
return 'upload';
|
|
4619
4745
|
}
|
|
4620
|
-
return 'k-icon k-i-upload';
|
|
4621
4746
|
}
|
|
4622
4747
|
ngOnDestroy() {
|
|
4623
4748
|
if (this.localizationChangeSubscription) {
|
|
@@ -4626,26 +4751,29 @@ class UploadDropZoneComponent extends DropZoneBase {
|
|
|
4626
4751
|
}
|
|
4627
4752
|
}
|
|
4628
4753
|
UploadDropZoneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadDropZoneComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4629
|
-
UploadDropZoneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: UploadDropZoneComponent, selector: "kendo-uploaddropzone", inputs: { zoneId: "zoneId", icon: "icon", iconClass: "iconClass" }, host: { properties: { "class.k-external-dropzone": "this.hostClass", "attr.dir": "this.dirAttribute" } }, providers: [
|
|
4754
|
+
UploadDropZoneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: UploadDropZoneComponent, selector: "kendo-uploaddropzone", inputs: { zoneId: "zoneId", icon: "icon", iconClass: "iconClass", svgIcon: "svgIcon" }, host: { properties: { "class.k-external-dropzone": "this.hostClass", "attr.dir": "this.dirAttribute" } }, providers: [
|
|
4630
4755
|
LocalizationService,
|
|
4631
4756
|
{
|
|
4632
4757
|
provide: L10N_PREFIX,
|
|
4633
4758
|
useValue: 'kendo.uploaddropzone'
|
|
4634
4759
|
}
|
|
4635
4760
|
], exportAs: ["kendoUploadDropZone"], usesInheritance: true, ngImport: i0, template: `
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4761
|
+
<ng-container kendoUploadDropZoneLocalizedMessages
|
|
4762
|
+
i18n-externalDropFilesHere='kendo.uploaddropzone.externalDropFilesHere|Sets the external drop-zone hint'
|
|
4763
|
+
externalDropFilesHere='Drag and drop files here to upload'>
|
|
4764
|
+
</ng-container>
|
|
4765
|
+
<div class='k-dropzone-inner' [kendoUploadDropZone]="zoneId">
|
|
4766
|
+
<kendo-icon-wrapper
|
|
4767
|
+
[name]="iconClasses"
|
|
4768
|
+
[customFontClass]="iconClass"
|
|
4769
|
+
[svgIcon]="svgIcon"
|
|
4770
|
+
></kendo-icon-wrapper>
|
|
4771
|
+
<span class="k-dropzone-hint">{{ textFor('externalDropFilesHere') }}</span>
|
|
4772
|
+
<span class="k-dropzone-note">
|
|
4773
|
+
<ng-content></ng-content>
|
|
4774
|
+
</span>
|
|
4775
|
+
</div>
|
|
4776
|
+
`, isInline: true, components: [{ type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoUploadLocalizedMessages],\n [kendoFileSelectLocalizedMessages],\n [kendoUploadDropZoneLocalizedMessages]\n " }, { type: UploadDropZoneDirective, selector: "[kendoUploadDropZone], [kendoFileSelectDropZone]", inputs: ["kendoUploadDropZone"] }] });
|
|
4649
4777
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadDropZoneComponent, decorators: [{
|
|
4650
4778
|
type: Component,
|
|
4651
4779
|
args: [{
|
|
@@ -4659,19 +4787,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4659
4787
|
],
|
|
4660
4788
|
selector: 'kendo-uploaddropzone',
|
|
4661
4789
|
template: `
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4790
|
+
<ng-container kendoUploadDropZoneLocalizedMessages
|
|
4791
|
+
i18n-externalDropFilesHere='kendo.uploaddropzone.externalDropFilesHere|Sets the external drop-zone hint'
|
|
4792
|
+
externalDropFilesHere='Drag and drop files here to upload'>
|
|
4793
|
+
</ng-container>
|
|
4794
|
+
<div class='k-dropzone-inner' [kendoUploadDropZone]="zoneId">
|
|
4795
|
+
<kendo-icon-wrapper
|
|
4796
|
+
[name]="iconClasses"
|
|
4797
|
+
[customFontClass]="iconClass"
|
|
4798
|
+
[svgIcon]="svgIcon"
|
|
4799
|
+
></kendo-icon-wrapper>
|
|
4800
|
+
<span class="k-dropzone-hint">{{ textFor('externalDropFilesHere') }}</span>
|
|
4801
|
+
<span class="k-dropzone-note">
|
|
4802
|
+
<ng-content></ng-content>
|
|
4803
|
+
</span>
|
|
4804
|
+
</div>
|
|
4805
|
+
`
|
|
4675
4806
|
}]
|
|
4676
4807
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1$1.LocalizationService }]; }, propDecorators: { hostClass: [{
|
|
4677
4808
|
type: HostBinding,
|
|
@@ -4685,6 +4816,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4685
4816
|
type: Input
|
|
4686
4817
|
}], iconClass: [{
|
|
4687
4818
|
type: Input
|
|
4819
|
+
}], svgIcon: [{
|
|
4820
|
+
type: Input
|
|
4688
4821
|
}] } });
|
|
4689
4822
|
|
|
4690
4823
|
/**
|
|
@@ -4729,7 +4862,7 @@ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
4729
4862
|
FileListSingleItemComponent,
|
|
4730
4863
|
FileSelectDirective,
|
|
4731
4864
|
LocalizedMessagesDirective,
|
|
4732
|
-
TemplateContextDirective], imports: [CommonModule, ButtonsModule, ProgressBarModule], exports: [FileTemplateDirective,
|
|
4865
|
+
TemplateContextDirective], imports: [CommonModule, ButtonsModule, ProgressBarModule, IconsModule], exports: [FileTemplateDirective,
|
|
4733
4866
|
FileInfoTemplateDirective,
|
|
4734
4867
|
CustomMessagesComponent,
|
|
4735
4868
|
UploadDropZoneDirective,
|
|
@@ -4743,7 +4876,7 @@ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
4743
4876
|
LocalizedMessagesDirective,
|
|
4744
4877
|
TemplateContextDirective, CommonModule,
|
|
4745
4878
|
ButtonsModule] });
|
|
4746
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[CommonModule, ButtonsModule, ProgressBarModule], CommonModule,
|
|
4879
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[CommonModule, ButtonsModule, ProgressBarModule, IconsModule], CommonModule,
|
|
4747
4880
|
ButtonsModule] });
|
|
4748
4881
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
4749
4882
|
type: NgModule,
|
|
@@ -4758,7 +4891,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4758
4891
|
CommonModule,
|
|
4759
4892
|
ButtonsModule
|
|
4760
4893
|
],
|
|
4761
|
-
imports: [CommonModule, ButtonsModule, ProgressBarModule]
|
|
4894
|
+
imports: [CommonModule, ButtonsModule, ProgressBarModule, IconsModule]
|
|
4762
4895
|
}]
|
|
4763
4896
|
}] });
|
|
4764
4897
|
|
|
@@ -4771,8 +4904,8 @@ const FILESELECT_DECLARATIONS = [
|
|
|
4771
4904
|
class FileSelectModule {
|
|
4772
4905
|
}
|
|
4773
4906
|
FileSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4774
|
-
FileSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileSelectModule, declarations: [FileSelectComponent], imports: [SharedModule], exports: [FileTemplateDirective, FileInfoTemplateDirective, CustomMessagesComponent, UploadDropZoneDirective, UploadDropZoneComponent, FileSelectComponent] });
|
|
4775
|
-
FileSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileSelectModule, imports: [[SharedModule]] });
|
|
4907
|
+
FileSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileSelectModule, declarations: [FileSelectComponent], imports: [SharedModule, IconsModule], exports: [FileTemplateDirective, FileInfoTemplateDirective, CustomMessagesComponent, UploadDropZoneDirective, UploadDropZoneComponent, FileSelectComponent] });
|
|
4908
|
+
FileSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileSelectModule, imports: [[SharedModule, IconsModule]] });
|
|
4776
4909
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileSelectModule, decorators: [{
|
|
4777
4910
|
type: NgModule,
|
|
4778
4911
|
args: [{
|
|
@@ -4781,7 +4914,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4781
4914
|
PUBLIC_DIRECTIVES,
|
|
4782
4915
|
FILESELECT_DECLARATIONS
|
|
4783
4916
|
],
|
|
4784
|
-
imports: [SharedModule]
|
|
4917
|
+
imports: [SharedModule, IconsModule]
|
|
4785
4918
|
}]
|
|
4786
4919
|
}] });
|
|
4787
4920
|
|
|
@@ -4798,10 +4931,10 @@ class UploadModule {
|
|
|
4798
4931
|
UploadModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4799
4932
|
UploadModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadModule, declarations: [UploadComponent,
|
|
4800
4933
|
UploadActionButtonsComponent,
|
|
4801
|
-
UploadStatusTotalComponent], imports: [SharedModule], exports: [FileTemplateDirective, FileInfoTemplateDirective, CustomMessagesComponent, UploadDropZoneDirective, UploadDropZoneComponent, UploadComponent,
|
|
4934
|
+
UploadStatusTotalComponent], imports: [SharedModule, IconsModule], exports: [FileTemplateDirective, FileInfoTemplateDirective, CustomMessagesComponent, UploadDropZoneDirective, UploadDropZoneComponent, UploadComponent,
|
|
4802
4935
|
UploadActionButtonsComponent,
|
|
4803
4936
|
UploadStatusTotalComponent] });
|
|
4804
|
-
UploadModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadModule, imports: [[SharedModule]] });
|
|
4937
|
+
UploadModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadModule, imports: [[SharedModule, IconsModule]] });
|
|
4805
4938
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadModule, decorators: [{
|
|
4806
4939
|
type: NgModule,
|
|
4807
4940
|
args: [{
|
|
@@ -4810,7 +4943,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4810
4943
|
PUBLIC_DIRECTIVES,
|
|
4811
4944
|
UPLOAD_DECLARATIONS
|
|
4812
4945
|
],
|
|
4813
|
-
imports: [SharedModule]
|
|
4946
|
+
imports: [SharedModule, IconsModule]
|
|
4814
4947
|
}]
|
|
4815
4948
|
}] });
|
|
4816
4949
|
|