@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: [{
|
|
@@ -3138,7 +3224,7 @@ FileSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
3138
3224
|
[fileTemplate]="fileTemplate"
|
|
3139
3225
|
[fileInfoTemplate]="fileInfoTemplate">
|
|
3140
3226
|
</ul>
|
|
3141
|
-
`, isInline: true, components: [{ type:
|
|
3227
|
+
`, 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"] }] });
|
|
3142
3228
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileSelectComponent, decorators: [{
|
|
3143
3229
|
type: Component,
|
|
3144
3230
|
args: [{
|
|
@@ -3323,6 +3409,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3323
3409
|
class UploadStatusTotalComponent {
|
|
3324
3410
|
constructor(localization) {
|
|
3325
3411
|
this.localization = localization;
|
|
3412
|
+
this.checkmarkIcon = checkIcon;
|
|
3413
|
+
this.exceptionSVGIcon = exclamationCircleIcon;
|
|
3414
|
+
this.uploadSVGIcon = uploadIcon;
|
|
3415
|
+
this.pauseSVGIcon = pauseSmIcon;
|
|
3416
|
+
}
|
|
3417
|
+
get iconClass() {
|
|
3418
|
+
if (!this.isUploading && !this.isFailed) {
|
|
3419
|
+
return 'checkmark';
|
|
3420
|
+
}
|
|
3421
|
+
if (!this.isUploading && this.isFailed) {
|
|
3422
|
+
return 'exception';
|
|
3423
|
+
}
|
|
3424
|
+
if (this.isUploading) {
|
|
3425
|
+
return 'upload';
|
|
3426
|
+
}
|
|
3427
|
+
if (this.isPaused) {
|
|
3428
|
+
return 'pause-sm';
|
|
3429
|
+
}
|
|
3430
|
+
}
|
|
3431
|
+
get SVGIconClass() {
|
|
3432
|
+
if (!this.isUploading && !this.isFailed) {
|
|
3433
|
+
return this.checkmarkIcon;
|
|
3434
|
+
}
|
|
3435
|
+
if (!this.isUploading && this.isFailed) {
|
|
3436
|
+
return this.exceptionSVGIcon;
|
|
3437
|
+
}
|
|
3438
|
+
if (this.isUploading) {
|
|
3439
|
+
return this.uploadSVGIcon;
|
|
3440
|
+
}
|
|
3441
|
+
if (this.isPaused) {
|
|
3442
|
+
return this.pauseSVGIcon;
|
|
3443
|
+
}
|
|
3326
3444
|
}
|
|
3327
3445
|
ngDoCheck() {
|
|
3328
3446
|
this.isPaused = this.fileList.hasFileWithState([FileState.Paused]);
|
|
@@ -3339,29 +3457,23 @@ class UploadStatusTotalComponent {
|
|
|
3339
3457
|
}
|
|
3340
3458
|
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 });
|
|
3341
3459
|
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: `
|
|
3342
|
-
<
|
|
3343
|
-
[
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
'k-i-pause-sm': this.isPaused
|
|
3348
|
-
}">
|
|
3349
|
-
</span>
|
|
3460
|
+
<kendo-icon-wrapper
|
|
3461
|
+
[name]="iconClass"
|
|
3462
|
+
[svgIcon]="SVGIconClass"
|
|
3463
|
+
>
|
|
3464
|
+
</kendo-icon-wrapper>
|
|
3350
3465
|
{{statusText}}
|
|
3351
|
-
`, isInline: true,
|
|
3466
|
+
`, isInline: true, components: [{ type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }] });
|
|
3352
3467
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadStatusTotalComponent, decorators: [{
|
|
3353
3468
|
type: Component,
|
|
3354
3469
|
args: [{
|
|
3355
3470
|
selector: 'kendo-upload-status-total',
|
|
3356
3471
|
template: `
|
|
3357
|
-
<
|
|
3358
|
-
[
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
'k-i-pause-sm': this.isPaused
|
|
3363
|
-
}">
|
|
3364
|
-
</span>
|
|
3472
|
+
<kendo-icon-wrapper
|
|
3473
|
+
[name]="iconClass"
|
|
3474
|
+
[svgIcon]="SVGIconClass"
|
|
3475
|
+
>
|
|
3476
|
+
</kendo-icon-wrapper>
|
|
3365
3477
|
{{statusText}}
|
|
3366
3478
|
`
|
|
3367
3479
|
}]
|
|
@@ -4272,7 +4384,7 @@ UploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
4272
4384
|
[disabled]="disabled"
|
|
4273
4385
|
[actionsLayout]="actionsLayout">
|
|
4274
4386
|
</kendo-upload-action-buttons>
|
|
4275
|
-
`, isInline: true, components: [{ type:
|
|
4387
|
+
`, 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"] }] });
|
|
4276
4388
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadComponent, decorators: [{
|
|
4277
4389
|
type: Component,
|
|
4278
4390
|
args: [{
|
|
@@ -4593,6 +4705,7 @@ class UploadDropZoneComponent extends DropZoneBase {
|
|
|
4593
4705
|
super(element, renderer, 'k-external-dropzone-hover');
|
|
4594
4706
|
this.localization = localization;
|
|
4595
4707
|
this.hostClass = true;
|
|
4708
|
+
this._svgIcon = uploadIcon;
|
|
4596
4709
|
this.localizationChangeSubscription = this.localization.changes.subscribe(({ rtl }) => {
|
|
4597
4710
|
this.direction = rtl ? 'rtl' : 'ltr';
|
|
4598
4711
|
});
|
|
@@ -4600,6 +4713,19 @@ class UploadDropZoneComponent extends DropZoneBase {
|
|
|
4600
4713
|
get dirAttribute() {
|
|
4601
4714
|
return this.direction;
|
|
4602
4715
|
}
|
|
4716
|
+
/**
|
|
4717
|
+
* Defines an SVGIcon to be rendered inside the DropZone.
|
|
4718
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
4719
|
+
*/
|
|
4720
|
+
set svgIcon(icon) {
|
|
4721
|
+
if (isDevMode() && icon && this.icon && this.iconClass) {
|
|
4722
|
+
throw new Error('Setting both icon/svgIcon and iconClass options at the same time is not supported.');
|
|
4723
|
+
}
|
|
4724
|
+
this._svgIcon = icon;
|
|
4725
|
+
}
|
|
4726
|
+
get svgIcon() {
|
|
4727
|
+
return this._svgIcon;
|
|
4728
|
+
}
|
|
4603
4729
|
/**
|
|
4604
4730
|
* @hidden
|
|
4605
4731
|
*/
|
|
@@ -4611,12 +4737,11 @@ class UploadDropZoneComponent extends DropZoneBase {
|
|
|
4611
4737
|
*/
|
|
4612
4738
|
get iconClasses() {
|
|
4613
4739
|
if (this.icon) {
|
|
4614
|
-
return
|
|
4740
|
+
return `${this.icon}`;
|
|
4615
4741
|
}
|
|
4616
|
-
if (this.iconClass) {
|
|
4617
|
-
return
|
|
4742
|
+
if (!this.icon && !this.iconClass) {
|
|
4743
|
+
return 'upload';
|
|
4618
4744
|
}
|
|
4619
|
-
return 'k-icon k-i-upload';
|
|
4620
4745
|
}
|
|
4621
4746
|
ngOnDestroy() {
|
|
4622
4747
|
if (this.localizationChangeSubscription) {
|
|
@@ -4625,26 +4750,29 @@ class UploadDropZoneComponent extends DropZoneBase {
|
|
|
4625
4750
|
}
|
|
4626
4751
|
}
|
|
4627
4752
|
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 });
|
|
4628
|
-
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: [
|
|
4753
|
+
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: [
|
|
4629
4754
|
LocalizationService,
|
|
4630
4755
|
{
|
|
4631
4756
|
provide: L10N_PREFIX,
|
|
4632
4757
|
useValue: 'kendo.uploaddropzone'
|
|
4633
4758
|
}
|
|
4634
4759
|
], exportAs: ["kendoUploadDropZone"], usesInheritance: true, ngImport: i0, template: `
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4760
|
+
<ng-container kendoUploadDropZoneLocalizedMessages
|
|
4761
|
+
i18n-externalDropFilesHere='kendo.uploaddropzone.externalDropFilesHere|Sets the external drop-zone hint'
|
|
4762
|
+
externalDropFilesHere='Drag and drop files here to upload'>
|
|
4763
|
+
</ng-container>
|
|
4764
|
+
<div class='k-dropzone-inner' [kendoUploadDropZone]="zoneId">
|
|
4765
|
+
<kendo-icon-wrapper
|
|
4766
|
+
[name]="iconClasses"
|
|
4767
|
+
[customFontClass]="iconClass"
|
|
4768
|
+
[svgIcon]="svgIcon"
|
|
4769
|
+
></kendo-icon-wrapper>
|
|
4770
|
+
<span class="k-dropzone-hint">{{ textFor('externalDropFilesHere') }}</span>
|
|
4771
|
+
<span class="k-dropzone-note">
|
|
4772
|
+
<ng-content></ng-content>
|
|
4773
|
+
</span>
|
|
4774
|
+
</div>
|
|
4775
|
+
`, 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"] }] });
|
|
4648
4776
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadDropZoneComponent, decorators: [{
|
|
4649
4777
|
type: Component,
|
|
4650
4778
|
args: [{
|
|
@@ -4658,19 +4786,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4658
4786
|
],
|
|
4659
4787
|
selector: 'kendo-uploaddropzone',
|
|
4660
4788
|
template: `
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4789
|
+
<ng-container kendoUploadDropZoneLocalizedMessages
|
|
4790
|
+
i18n-externalDropFilesHere='kendo.uploaddropzone.externalDropFilesHere|Sets the external drop-zone hint'
|
|
4791
|
+
externalDropFilesHere='Drag and drop files here to upload'>
|
|
4792
|
+
</ng-container>
|
|
4793
|
+
<div class='k-dropzone-inner' [kendoUploadDropZone]="zoneId">
|
|
4794
|
+
<kendo-icon-wrapper
|
|
4795
|
+
[name]="iconClasses"
|
|
4796
|
+
[customFontClass]="iconClass"
|
|
4797
|
+
[svgIcon]="svgIcon"
|
|
4798
|
+
></kendo-icon-wrapper>
|
|
4799
|
+
<span class="k-dropzone-hint">{{ textFor('externalDropFilesHere') }}</span>
|
|
4800
|
+
<span class="k-dropzone-note">
|
|
4801
|
+
<ng-content></ng-content>
|
|
4802
|
+
</span>
|
|
4803
|
+
</div>
|
|
4804
|
+
`
|
|
4674
4805
|
}]
|
|
4675
4806
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1$1.LocalizationService }]; }, propDecorators: { hostClass: [{
|
|
4676
4807
|
type: HostBinding,
|
|
@@ -4684,6 +4815,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4684
4815
|
type: Input
|
|
4685
4816
|
}], iconClass: [{
|
|
4686
4817
|
type: Input
|
|
4818
|
+
}], svgIcon: [{
|
|
4819
|
+
type: Input
|
|
4687
4820
|
}] } });
|
|
4688
4821
|
|
|
4689
4822
|
/**
|
|
@@ -4728,7 +4861,7 @@ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
4728
4861
|
FileListSingleItemComponent,
|
|
4729
4862
|
FileSelectDirective,
|
|
4730
4863
|
LocalizedMessagesDirective,
|
|
4731
|
-
TemplateContextDirective], imports: [CommonModule, ButtonsModule, ProgressBarModule], exports: [FileTemplateDirective,
|
|
4864
|
+
TemplateContextDirective], imports: [CommonModule, ButtonsModule, ProgressBarModule, IconsModule], exports: [FileTemplateDirective,
|
|
4732
4865
|
FileInfoTemplateDirective,
|
|
4733
4866
|
CustomMessagesComponent,
|
|
4734
4867
|
UploadDropZoneDirective,
|
|
@@ -4742,7 +4875,7 @@ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
4742
4875
|
LocalizedMessagesDirective,
|
|
4743
4876
|
TemplateContextDirective, CommonModule,
|
|
4744
4877
|
ButtonsModule] });
|
|
4745
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[CommonModule, ButtonsModule, ProgressBarModule], CommonModule,
|
|
4878
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[CommonModule, ButtonsModule, ProgressBarModule, IconsModule], CommonModule,
|
|
4746
4879
|
ButtonsModule] });
|
|
4747
4880
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
4748
4881
|
type: NgModule,
|
|
@@ -4757,7 +4890,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4757
4890
|
CommonModule,
|
|
4758
4891
|
ButtonsModule
|
|
4759
4892
|
],
|
|
4760
|
-
imports: [CommonModule, ButtonsModule, ProgressBarModule]
|
|
4893
|
+
imports: [CommonModule, ButtonsModule, ProgressBarModule, IconsModule]
|
|
4761
4894
|
}]
|
|
4762
4895
|
}] });
|
|
4763
4896
|
|
|
@@ -4770,8 +4903,8 @@ const FILESELECT_DECLARATIONS = [
|
|
|
4770
4903
|
class FileSelectModule {
|
|
4771
4904
|
}
|
|
4772
4905
|
FileSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4773
|
-
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] });
|
|
4774
|
-
FileSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileSelectModule, imports: [[SharedModule]] });
|
|
4906
|
+
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] });
|
|
4907
|
+
FileSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileSelectModule, imports: [[SharedModule, IconsModule]] });
|
|
4775
4908
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileSelectModule, decorators: [{
|
|
4776
4909
|
type: NgModule,
|
|
4777
4910
|
args: [{
|
|
@@ -4780,7 +4913,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4780
4913
|
PUBLIC_DIRECTIVES,
|
|
4781
4914
|
FILESELECT_DECLARATIONS
|
|
4782
4915
|
],
|
|
4783
|
-
imports: [SharedModule]
|
|
4916
|
+
imports: [SharedModule, IconsModule]
|
|
4784
4917
|
}]
|
|
4785
4918
|
}] });
|
|
4786
4919
|
|
|
@@ -4797,10 +4930,10 @@ class UploadModule {
|
|
|
4797
4930
|
UploadModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4798
4931
|
UploadModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadModule, declarations: [UploadComponent,
|
|
4799
4932
|
UploadActionButtonsComponent,
|
|
4800
|
-
UploadStatusTotalComponent], imports: [SharedModule], exports: [FileTemplateDirective, FileInfoTemplateDirective, CustomMessagesComponent, UploadDropZoneDirective, UploadDropZoneComponent, UploadComponent,
|
|
4933
|
+
UploadStatusTotalComponent], imports: [SharedModule, IconsModule], exports: [FileTemplateDirective, FileInfoTemplateDirective, CustomMessagesComponent, UploadDropZoneDirective, UploadDropZoneComponent, UploadComponent,
|
|
4801
4934
|
UploadActionButtonsComponent,
|
|
4802
4935
|
UploadStatusTotalComponent] });
|
|
4803
|
-
UploadModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadModule, imports: [[SharedModule]] });
|
|
4936
|
+
UploadModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadModule, imports: [[SharedModule, IconsModule]] });
|
|
4804
4937
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadModule, decorators: [{
|
|
4805
4938
|
type: NgModule,
|
|
4806
4939
|
args: [{
|
|
@@ -4809,7 +4942,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4809
4942
|
PUBLIC_DIRECTIVES,
|
|
4810
4943
|
UPLOAD_DECLARATIONS
|
|
4811
4944
|
],
|
|
4812
|
-
imports: [SharedModule]
|
|
4945
|
+
imports: [SharedModule, IconsModule]
|
|
4813
4946
|
}]
|
|
4814
4947
|
}] });
|
|
4815
4948
|
|