@progress/kendo-angular-upload 24.0.0-develop.12 → 24.0.0-develop.14
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.
|
@@ -1583,8 +1583,8 @@ const packageMetadata = {
|
|
|
1583
1583
|
productName: 'Kendo UI for Angular',
|
|
1584
1584
|
productCode: 'KENDOUIANGULAR',
|
|
1585
1585
|
productCodes: ['KENDOUIANGULAR'],
|
|
1586
|
-
publishDate:
|
|
1587
|
-
version: '24.0.0-develop.
|
|
1586
|
+
publishDate: 1777540546,
|
|
1587
|
+
version: '24.0.0-develop.14',
|
|
1588
1588
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
1589
1589
|
};
|
|
1590
1590
|
|
|
@@ -1950,6 +1950,7 @@ class UploadActionButtonsComponent {
|
|
|
1950
1950
|
clearButton;
|
|
1951
1951
|
uploadButton;
|
|
1952
1952
|
hostDefaultClass = true;
|
|
1953
|
+
hostHorizontalClass = true;
|
|
1953
1954
|
get actionButtonsEndClassName() {
|
|
1954
1955
|
return this.actionsLayout === 'end';
|
|
1955
1956
|
}
|
|
@@ -1996,15 +1997,15 @@ class UploadActionButtonsComponent {
|
|
|
1996
1997
|
return this.localization.get(key);
|
|
1997
1998
|
}
|
|
1998
1999
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UploadActionButtonsComponent, deps: [{ token: UploadService }, { token: i1$1.LocalizationService }, { token: NavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1999
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: UploadActionButtonsComponent, isStandalone: true, selector: "kendo-upload-action-buttons", inputs: { disabled: "disabled", actionsLayout: "actionsLayout" }, host: { properties: { "class.k-actions": "this.hostDefaultClass", "class.k-actions-end": "this.actionButtonsEndClassName", "class.k-actions-stretched": "this.actionButtonsStretchedClassName", "class.k-actions-start": "this.actionButtonsStartClassName", "class.k-actions-center": "this.actionButtonsCenterClassName" } }, viewQueries: [{ propertyName: "clearButton", first: true, predicate: ["clearButton"], descendants: true, static: true }, { propertyName: "uploadButton", first: true, predicate: ["uploadButton"], descendants: true, static: true }], ngImport: i0, template: `
|
|
2000
|
-
<button #clearButton
|
|
2000
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: UploadActionButtonsComponent, isStandalone: true, selector: "kendo-upload-action-buttons", inputs: { disabled: "disabled", actionsLayout: "actionsLayout" }, host: { properties: { "class.k-actions": "this.hostDefaultClass", "class.k-actions-horizontal": "this.hostHorizontalClass", "class.k-actions-end": "this.actionButtonsEndClassName", "class.k-actions-stretched": "this.actionButtonsStretchedClassName", "class.k-actions-start": "this.actionButtonsStartClassName", "class.k-actions-center": "this.actionButtonsCenterClassName" } }, viewQueries: [{ propertyName: "clearButton", first: true, predicate: ["clearButton"], descendants: true, static: true }, { propertyName: "uploadButton", first: true, predicate: ["uploadButton"], descendants: true, static: true }], ngImport: i0, template: `
|
|
2001
|
+
<button #clearButton class="k-button k-clear-selected"
|
|
2001
2002
|
(click)="onClearButtonClick($event)">
|
|
2002
|
-
{{textFor('clearSelectedFiles')}}
|
|
2003
|
+
<span class="k-button-text">{{textFor('clearSelectedFiles')}}</span>
|
|
2003
2004
|
</button>
|
|
2004
|
-
<button #uploadButton
|
|
2005
|
+
<button #uploadButton class="k-button k-button-primary k-upload-selected"
|
|
2005
2006
|
(focus)="onUploadButtonFocus()"
|
|
2006
2007
|
(click)="onUploadButtonClick($event)">
|
|
2007
|
-
{{textFor('uploadSelectedFiles')}}
|
|
2008
|
+
<span class="k-button-text">{{textFor('uploadSelectedFiles')}}</span>
|
|
2008
2009
|
</button>
|
|
2009
2010
|
`, isInline: true });
|
|
2010
2011
|
}
|
|
@@ -2013,14 +2014,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2013
2014
|
args: [{
|
|
2014
2015
|
selector: 'kendo-upload-action-buttons',
|
|
2015
2016
|
template: `
|
|
2016
|
-
<button #clearButton
|
|
2017
|
+
<button #clearButton class="k-button k-clear-selected"
|
|
2017
2018
|
(click)="onClearButtonClick($event)">
|
|
2018
|
-
{{textFor('clearSelectedFiles')}}
|
|
2019
|
+
<span class="k-button-text">{{textFor('clearSelectedFiles')}}</span>
|
|
2019
2020
|
</button>
|
|
2020
|
-
<button #uploadButton
|
|
2021
|
+
<button #uploadButton class="k-button k-button-primary k-upload-selected"
|
|
2021
2022
|
(focus)="onUploadButtonFocus()"
|
|
2022
2023
|
(click)="onUploadButtonClick($event)">
|
|
2023
|
-
{{textFor('uploadSelectedFiles')}}
|
|
2024
|
+
<span class="k-button-text">{{textFor('uploadSelectedFiles')}}</span>
|
|
2024
2025
|
</button>
|
|
2025
2026
|
`,
|
|
2026
2027
|
standalone: true
|
|
@@ -2038,6 +2039,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2038
2039
|
}], hostDefaultClass: [{
|
|
2039
2040
|
type: HostBinding,
|
|
2040
2041
|
args: ['class.k-actions']
|
|
2042
|
+
}], hostHorizontalClass: [{
|
|
2043
|
+
type: HostBinding,
|
|
2044
|
+
args: ['class.k-actions-horizontal']
|
|
2041
2045
|
}], actionButtonsEndClassName: [{
|
|
2042
2046
|
type: HostBinding,
|
|
2043
2047
|
args: ['class.k-actions-end']
|
|
@@ -2311,7 +2315,7 @@ class FileListItemActionButtonComponent {
|
|
|
2311
2315
|
class="k-upload-action k-retry"
|
|
2312
2316
|
fillMode="flat"
|
|
2313
2317
|
[attr.tabIndex]="-1"
|
|
2314
|
-
[attr.aria-
|
|
2318
|
+
[attr.aria-label]="retryButtonTitle"
|
|
2315
2319
|
[attr.title]="retryButtonTitle"
|
|
2316
2320
|
[svgIcon]="retrySVGIcon"
|
|
2317
2321
|
icon="refresh-sm"
|
|
@@ -2327,7 +2331,7 @@ class FileListItemActionButtonComponent {
|
|
|
2327
2331
|
class="k-upload-action"
|
|
2328
2332
|
fillMode="flat"
|
|
2329
2333
|
[attr.tabIndex]="-1"
|
|
2330
|
-
[attr.aria-
|
|
2334
|
+
[attr.aria-label]="pauseResumeButtonTitle"
|
|
2331
2335
|
[attr.title]="pauseResumeButtonTitle"
|
|
2332
2336
|
[svgIcon]="isPaused ? playSVGIcon : pauseSVGIcon"
|
|
2333
2337
|
[icon]="isPaused ? 'play-sm' : 'pause-sm'"
|
|
@@ -2340,11 +2344,10 @@ class FileListItemActionButtonComponent {
|
|
|
2340
2344
|
<button
|
|
2341
2345
|
kendoButton
|
|
2342
2346
|
class="k-upload-action"
|
|
2343
|
-
[class.k-delete]="!isUploading"
|
|
2344
2347
|
fillMode="flat"
|
|
2345
2348
|
type="button"
|
|
2346
2349
|
[attr.tabIndex]="-1"
|
|
2347
|
-
[attr.aria-
|
|
2350
|
+
[attr.aria-label]="actionButtonTitle"
|
|
2348
2351
|
[attr.title]="actionButtonTitle"
|
|
2349
2352
|
[svgIcon]="isUploading ? cancelSVGIcon : deleteSVGIcon"
|
|
2350
2353
|
[icon]="isUploading ? 'cancel' : 'x'"
|
|
@@ -2371,7 +2374,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2371
2374
|
class="k-upload-action k-retry"
|
|
2372
2375
|
fillMode="flat"
|
|
2373
2376
|
[attr.tabIndex]="-1"
|
|
2374
|
-
[attr.aria-
|
|
2377
|
+
[attr.aria-label]="retryButtonTitle"
|
|
2375
2378
|
[attr.title]="retryButtonTitle"
|
|
2376
2379
|
[svgIcon]="retrySVGIcon"
|
|
2377
2380
|
icon="refresh-sm"
|
|
@@ -2387,7 +2390,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2387
2390
|
class="k-upload-action"
|
|
2388
2391
|
fillMode="flat"
|
|
2389
2392
|
[attr.tabIndex]="-1"
|
|
2390
|
-
[attr.aria-
|
|
2393
|
+
[attr.aria-label]="pauseResumeButtonTitle"
|
|
2391
2394
|
[attr.title]="pauseResumeButtonTitle"
|
|
2392
2395
|
[svgIcon]="isPaused ? playSVGIcon : pauseSVGIcon"
|
|
2393
2396
|
[icon]="isPaused ? 'play-sm' : 'pause-sm'"
|
|
@@ -2400,11 +2403,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2400
2403
|
<button
|
|
2401
2404
|
kendoButton
|
|
2402
2405
|
class="k-upload-action"
|
|
2403
|
-
[class.k-delete]="!isUploading"
|
|
2404
2406
|
fillMode="flat"
|
|
2405
2407
|
type="button"
|
|
2406
2408
|
[attr.tabIndex]="-1"
|
|
2407
|
-
[attr.aria-
|
|
2409
|
+
[attr.aria-label]="actionButtonTitle"
|
|
2408
2410
|
[attr.title]="actionButtonTitle"
|
|
2409
2411
|
[svgIcon]="isUploading ? cancelSVGIcon : deleteSVGIcon"
|
|
2410
2412
|
[icon]="isUploading ? 'cancel' : 'x'"
|
|
@@ -2479,7 +2481,7 @@ class FileListMultipleItemsComponent extends FileListItemBase {
|
|
|
2479
2481
|
<kendo-progressbar
|
|
2480
2482
|
[@progressState]="showProgress"
|
|
2481
2483
|
[value]="progressComplete"
|
|
2482
|
-
[label]="{ visible: false }"
|
|
2484
|
+
[label]="{ visible: false, position: 'start' }"
|
|
2483
2485
|
>
|
|
2484
2486
|
</kendo-progressbar>
|
|
2485
2487
|
<span class="k-file-icon-wrapper">
|
|
@@ -2498,7 +2500,7 @@ class FileListMultipleItemsComponent extends FileListItemBase {
|
|
|
2498
2500
|
<span [title]="file.name" class="k-file-name">
|
|
2499
2501
|
{{file.name}}
|
|
2500
2502
|
</span>
|
|
2501
|
-
<span [attr.aria-live]="'polite'" [ngClass]="{
|
|
2503
|
+
<span [attr.aria-live]="file.validationErrors ? 'polite' : null" [ngClass]="{
|
|
2502
2504
|
'k-file-validation-message': file.validationErrors,
|
|
2503
2505
|
'k-file-size': !file.validationErrors
|
|
2504
2506
|
}"
|
|
@@ -2550,7 +2552,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2550
2552
|
<kendo-progressbar
|
|
2551
2553
|
[@progressState]="showProgress"
|
|
2552
2554
|
[value]="progressComplete"
|
|
2553
|
-
[label]="{ visible: false }"
|
|
2555
|
+
[label]="{ visible: false, position: 'start' }"
|
|
2554
2556
|
>
|
|
2555
2557
|
</kendo-progressbar>
|
|
2556
2558
|
<span class="k-file-icon-wrapper">
|
|
@@ -2569,7 +2571,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2569
2571
|
<span [title]="file.name" class="k-file-name">
|
|
2570
2572
|
{{file.name}}
|
|
2571
2573
|
</span>
|
|
2572
|
-
<span [attr.aria-live]="'polite'" [ngClass]="{
|
|
2574
|
+
<span [attr.aria-live]="file.validationErrors ? 'polite' : null" [ngClass]="{
|
|
2573
2575
|
'k-file-validation-message': file.validationErrors,
|
|
2574
2576
|
'k-file-size': !file.validationErrors
|
|
2575
2577
|
}"
|
|
@@ -2660,7 +2662,7 @@ class FileListSingleItemComponent extends FileListItemBase {
|
|
|
2660
2662
|
<kendo-progressbar
|
|
2661
2663
|
[@progressState]="showProgress"
|
|
2662
2664
|
[value]="progressComplete"
|
|
2663
|
-
[label]="{ visible: false }"
|
|
2665
|
+
[label]="{ visible: false, position: 'start' }"
|
|
2664
2666
|
>
|
|
2665
2667
|
</kendo-progressbar>
|
|
2666
2668
|
<span class="k-file-icon-wrapper">
|
|
@@ -2675,7 +2677,7 @@ class FileListSingleItemComponent extends FileListItemBase {
|
|
|
2675
2677
|
<span class="k-file-info">
|
|
2676
2678
|
@if (!fileInfoTemplate) {
|
|
2677
2679
|
<span class="k-file-name" [title]="file.name">{{ file.name }}</span>
|
|
2678
|
-
<span [attr.aria-live]="'polite'" [ngClass]="{
|
|
2680
|
+
<span [attr.aria-live]="file.validationErrors ? 'polite' : null" [ngClass]="{
|
|
2679
2681
|
'k-file-validation-message': file.validationErrors,
|
|
2680
2682
|
'k-file-size': !file.validationErrors && isNotYetUploaded,
|
|
2681
2683
|
'k-file-summary': isUploadSuccessful || isUploadFailed
|
|
@@ -2722,7 +2724,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2722
2724
|
<kendo-progressbar
|
|
2723
2725
|
[@progressState]="showProgress"
|
|
2724
2726
|
[value]="progressComplete"
|
|
2725
|
-
[label]="{ visible: false }"
|
|
2727
|
+
[label]="{ visible: false, position: 'start' }"
|
|
2726
2728
|
>
|
|
2727
2729
|
</kendo-progressbar>
|
|
2728
2730
|
<span class="k-file-icon-wrapper">
|
|
@@ -2737,7 +2739,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2737
2739
|
<span class="k-file-info">
|
|
2738
2740
|
@if (!fileInfoTemplate) {
|
|
2739
2741
|
<span class="k-file-name" [title]="file.name">{{ file.name }}</span>
|
|
2740
|
-
<span [attr.aria-live]="'polite'" [ngClass]="{
|
|
2742
|
+
<span [attr.aria-live]="file.validationErrors ? 'polite' : null" [ngClass]="{
|
|
2741
2743
|
'k-file-validation-message': file.validationErrors,
|
|
2742
2744
|
'k-file-size': !file.validationErrors && isNotYetUploaded,
|
|
2743
2745
|
'k-file-summary': isUploadSuccessful || isUploadFailed
|
|
@@ -4181,7 +4183,7 @@ class UploadComponent extends UploadFileSelectBase {
|
|
|
4181
4183
|
</div>
|
|
4182
4184
|
@if (hasFileList) {
|
|
4183
4185
|
<ul kendo-upload-file-list
|
|
4184
|
-
class="k-upload-files
|
|
4186
|
+
class="k-upload-files"
|
|
4185
4187
|
[disabled]="disabled"
|
|
4186
4188
|
[fileList]="fileList.files"
|
|
4187
4189
|
[fileTemplate]="fileTemplate"
|
|
@@ -4319,7 +4321,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
4319
4321
|
</div>
|
|
4320
4322
|
@if (hasFileList) {
|
|
4321
4323
|
<ul kendo-upload-file-list
|
|
4322
|
-
class="k-upload-files
|
|
4324
|
+
class="k-upload-files"
|
|
4323
4325
|
[disabled]="disabled"
|
|
4324
4326
|
[fileList]="fileList.files"
|
|
4325
4327
|
[fileTemplate]="fileTemplate"
|
|
@@ -4974,7 +4976,7 @@ class FileSelectComponent extends UploadFileSelectBase {
|
|
|
4974
4976
|
</div>
|
|
4975
4977
|
@if (hasFileList) {
|
|
4976
4978
|
<ul kendo-upload-file-list
|
|
4977
|
-
class="k-upload-files
|
|
4979
|
+
class="k-upload-files"
|
|
4978
4980
|
[disabled]="disabled"
|
|
4979
4981
|
[fileList]="fileList.files"
|
|
4980
4982
|
[fileTemplate]="fileTemplate"
|
|
@@ -5059,7 +5061,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
5059
5061
|
</div>
|
|
5060
5062
|
@if (hasFileList) {
|
|
5061
5063
|
<ul kendo-upload-file-list
|
|
5062
|
-
class="k-upload-files
|
|
5064
|
+
class="k-upload-files"
|
|
5063
5065
|
[disabled]="disabled"
|
|
5064
5066
|
[fileList]="fileList.files"
|
|
5065
5067
|
[fileTemplate]="fileTemplate"
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "24.0.0-develop.
|
|
10
|
+
"publishDate": 1777540546,
|
|
11
|
+
"version": "24.0.0-develop.14",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-upload",
|
|
3
|
-
"version": "24.0.0-develop.
|
|
3
|
+
"version": "24.0.0-develop.14",
|
|
4
4
|
"description": "Kendo UI Angular Upload Component",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"package": {
|
|
20
20
|
"productName": "Kendo UI for Angular",
|
|
21
21
|
"productCode": "KENDOUIANGULAR",
|
|
22
|
-
"publishDate":
|
|
22
|
+
"publishDate": 1777540546,
|
|
23
23
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
"@angular/forms": "19 - 21",
|
|
31
31
|
"@angular/platform-browser": "19 - 21",
|
|
32
32
|
"@progress/kendo-licensing": "^1.11.0",
|
|
33
|
-
"@progress/kendo-angular-common": "24.0.0-develop.
|
|
34
|
-
"@progress/kendo-angular-l10n": "24.0.0-develop.
|
|
35
|
-
"@progress/kendo-angular-icons": "24.0.0-develop.
|
|
36
|
-
"@progress/kendo-angular-buttons": "24.0.0-develop.
|
|
37
|
-
"@progress/kendo-angular-progressbar": "24.0.0-develop.
|
|
33
|
+
"@progress/kendo-angular-common": "24.0.0-develop.14",
|
|
34
|
+
"@progress/kendo-angular-l10n": "24.0.0-develop.14",
|
|
35
|
+
"@progress/kendo-angular-icons": "24.0.0-develop.14",
|
|
36
|
+
"@progress/kendo-angular-buttons": "24.0.0-develop.14",
|
|
37
|
+
"@progress/kendo-angular-progressbar": "24.0.0-develop.14",
|
|
38
38
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"tslib": "^2.3.1",
|
|
42
|
-
"@progress/kendo-angular-schematics": "24.0.0-develop.
|
|
42
|
+
"@progress/kendo-angular-schematics": "24.0.0-develop.14"
|
|
43
43
|
},
|
|
44
44
|
"schematics": "./schematics/collection.json",
|
|
45
45
|
"module": "fesm2022/progress-kendo-angular-upload.mjs",
|
|
@@ -20,6 +20,7 @@ export declare class UploadActionButtonsComponent {
|
|
|
20
20
|
clearButton: ElementRef;
|
|
21
21
|
uploadButton: ElementRef;
|
|
22
22
|
hostDefaultClass: boolean;
|
|
23
|
+
hostHorizontalClass: boolean;
|
|
23
24
|
get actionButtonsEndClassName(): boolean;
|
|
24
25
|
get actionButtonsStretchedClassName(): boolean;
|
|
25
26
|
get actionButtonsStartClassName(): boolean;
|
|
@@ -15,9 +15,9 @@ function default_1(options) {
|
|
|
15
15
|
], peerDependencies: {
|
|
16
16
|
// peer dep of the icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
18
|
-
'@progress/kendo-angular-buttons': '24.0.0-develop.
|
|
19
|
-
'@progress/kendo-angular-progressbar': '24.0.0-develop.
|
|
20
|
-
'@progress/kendo-angular-popup': '24.0.0-develop.
|
|
18
|
+
'@progress/kendo-angular-buttons': '24.0.0-develop.14',
|
|
19
|
+
'@progress/kendo-angular-progressbar': '24.0.0-develop.14',
|
|
20
|
+
'@progress/kendo-angular-popup': '24.0.0-develop.14',
|
|
21
21
|
} });
|
|
22
22
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
23
23
|
}
|