@progress/kendo-angular-upload 17.0.0-develop.41 → 17.0.0-develop.43

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.
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-upload',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1730818229,
13
- version: '17.0.0-develop.41',
12
+ publishDate: 1730967683,
13
+ version: '17.0.0-develop.43',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -5,7 +5,23 @@
5
5
  import { Directive, TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Used to customize the rendering of the file info section in the list. All other elements of the default template, such as file icon, action buttons, upload progress etc. will be preserved in place. ([see example]({% slug templates_upload %}#toc-file-info-template)).
8
+ * Used to customize the rendering of the file info section in the list. All other elements of the default template, such as file icon, action buttons, upload progress etc. will be preserved in place. ([See example.](slug:templates_upload#toc-file-info-template))
9
+ *
10
+ * The following context variables are available in the template:
11
+ *
12
+ * * `let-files`—Provides a reference to the files which are associated with the current item.
13
+ * * `let-state`—Gets a reference to the current state of each file. If the [`batch`](slug:api_upload_uploadcomponent#toc-batch) option of the Upload is set to `true`, the field reflects the state of the whole batch.
14
+ * * `#myUpload="kendoUpload"` or `#myFileSelect="kendoFileSelect"`—Provides a reference to the instance of the Upload/FileSelect component. It is exported as `kendoUpload`/`kendoFileSelect` by using the [`exportAs`](https://angular.io/api/core/Component) metadata property.
15
+ *
16
+ * @example
17
+ * ```html
18
+ * <kendo-upload #myUpload="kendoUpload" ... >
19
+ * <ng-template kendoUploadFileInfoTemplate let-files let-state>
20
+ * <div>Name: {{ files[0].name }}</div>
21
+ * ...
22
+ * </ng-template>
23
+ * </kendo-upload>
24
+ * ```
9
25
  */
10
26
  export class FileInfoTemplateDirective {
11
27
  templateRef;
@@ -5,7 +5,23 @@
5
5
  import { Directive, TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Used to customize the rendering of the files in the list ([see example]({% slug templates_upload %}#toc-file-template)).
8
+ * Used to customize the rendering of the files in the list. ([See example.](slug:templates_upload#toc-file-template))
9
+ *
10
+ * The following context variables are available in the template:
11
+ *
12
+ * * `let-files`&mdash;Provides a reference to the files which are associated with the current item.
13
+ * * `let-state`&mdash;Gets a reference to the current state of each file. If the [`batch`](slug:api_upload_uploadcomponent#toc-batch) option of the Upload is set to `true`, the field reflects the state of the whole batch.
14
+ * * `#myUpload="kendoUpload"` or `#myFileSelect="kendoFileSelect"`&mdash;Provides a reference to the instance of the Upload/FileSelect component. It is exported as `kendoUpload`/`kendoFileSelect` by using the [`exportAs`](https://angular.io/api/core/Component) metadata property.
15
+ *
16
+ * @example
17
+ * ```html
18
+ * <kendo-upload #myUpload="kendoUpload" ... >
19
+ * <ng-template kendoUploadFileTemplate let-files let-state>
20
+ * <div>Name: {{ files[0].name }} Size: {{ files[0].size }} bytes</div>
21
+ * ...
22
+ * </ng-template>
23
+ * </kendo-upload>
24
+ * ```
9
25
  */
10
26
  export class FileTemplateDirective {
11
27
  templateRef;
@@ -1657,13 +1657,29 @@ const packageMetadata = {
1657
1657
  name: '@progress/kendo-angular-upload',
1658
1658
  productName: 'Kendo UI for Angular',
1659
1659
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
1660
- publishDate: 1730818229,
1661
- version: '17.0.0-develop.41',
1660
+ publishDate: 1730967683,
1661
+ version: '17.0.0-develop.43',
1662
1662
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
1663
1663
  };
1664
1664
 
1665
1665
  /**
1666
- * Used to customize the rendering of the files in the list ([see example]({% slug templates_upload %}#toc-file-template)).
1666
+ * Used to customize the rendering of the files in the list. ([See example.](slug:templates_upload#toc-file-template))
1667
+ *
1668
+ * The following context variables are available in the template:
1669
+ *
1670
+ * * `let-files`&mdash;Provides a reference to the files which are associated with the current item.
1671
+ * * `let-state`&mdash;Gets a reference to the current state of each file. If the [`batch`](slug:api_upload_uploadcomponent#toc-batch) option of the Upload is set to `true`, the field reflects the state of the whole batch.
1672
+ * * `#myUpload="kendoUpload"` or `#myFileSelect="kendoFileSelect"`&mdash;Provides a reference to the instance of the Upload/FileSelect component. It is exported as `kendoUpload`/`kendoFileSelect` by using the [`exportAs`](https://angular.io/api/core/Component) metadata property.
1673
+ *
1674
+ * @example
1675
+ * ```html
1676
+ * <kendo-upload #myUpload="kendoUpload" ... >
1677
+ * <ng-template kendoUploadFileTemplate let-files let-state>
1678
+ * <div>Name: {{ files[0].name }} Size: {{ files[0].size }} bytes</div>
1679
+ * ...
1680
+ * </ng-template>
1681
+ * </kendo-upload>
1682
+ * ```
1667
1683
  */
1668
1684
  class FileTemplateDirective {
1669
1685
  templateRef;
@@ -1682,7 +1698,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1682
1698
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
1683
1699
 
1684
1700
  /**
1685
- * Used to customize the rendering of the file info section in the list. All other elements of the default template, such as file icon, action buttons, upload progress etc. will be preserved in place. ([see example]({% slug templates_upload %}#toc-file-info-template)).
1701
+ * Used to customize the rendering of the file info section in the list. All other elements of the default template, such as file icon, action buttons, upload progress etc. will be preserved in place. ([See example.](slug:templates_upload#toc-file-info-template))
1702
+ *
1703
+ * The following context variables are available in the template:
1704
+ *
1705
+ * * `let-files`&mdash;Provides a reference to the files which are associated with the current item.
1706
+ * * `let-state`&mdash;Gets a reference to the current state of each file. If the [`batch`](slug:api_upload_uploadcomponent#toc-batch) option of the Upload is set to `true`, the field reflects the state of the whole batch.
1707
+ * * `#myUpload="kendoUpload"` or `#myFileSelect="kendoFileSelect"`&mdash;Provides a reference to the instance of the Upload/FileSelect component. It is exported as `kendoUpload`/`kendoFileSelect` by using the [`exportAs`](https://angular.io/api/core/Component) metadata property.
1708
+ *
1709
+ * @example
1710
+ * ```html
1711
+ * <kendo-upload #myUpload="kendoUpload" ... >
1712
+ * <ng-template kendoUploadFileInfoTemplate let-files let-state>
1713
+ * <div>Name: {{ files[0].name }}</div>
1714
+ * ...
1715
+ * </ng-template>
1716
+ * </kendo-upload>
1717
+ * ```
1686
1718
  */
1687
1719
  class FileInfoTemplateDirective {
1688
1720
  templateRef;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-upload",
3
- "version": "17.0.0-develop.41",
3
+ "version": "17.0.0-develop.43",
4
4
  "description": "Kendo UI Angular Upload Component",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -24,16 +24,16 @@
24
24
  "@angular/forms": "16 - 18",
25
25
  "@angular/platform-browser": "16 - 18",
26
26
  "@progress/kendo-licensing": "^1.0.2",
27
- "@progress/kendo-angular-common": "17.0.0-develop.41",
28
- "@progress/kendo-angular-l10n": "17.0.0-develop.41",
29
- "@progress/kendo-angular-icons": "17.0.0-develop.41",
30
- "@progress/kendo-angular-buttons": "17.0.0-develop.41",
31
- "@progress/kendo-angular-progressbar": "17.0.0-develop.41",
27
+ "@progress/kendo-angular-common": "17.0.0-develop.43",
28
+ "@progress/kendo-angular-l10n": "17.0.0-develop.43",
29
+ "@progress/kendo-angular-icons": "17.0.0-develop.43",
30
+ "@progress/kendo-angular-buttons": "17.0.0-develop.43",
31
+ "@progress/kendo-angular-progressbar": "17.0.0-develop.43",
32
32
  "rxjs": "^6.5.3 || ^7.0.0"
33
33
  },
34
34
  "dependencies": {
35
35
  "tslib": "^2.3.1",
36
- "@progress/kendo-angular-schematics": "17.0.0-develop.41"
36
+ "@progress/kendo-angular-schematics": "17.0.0-develop.43"
37
37
  },
38
38
  "schematics": "./schematics/collection.json",
39
39
  "module": "fesm2022/progress-kendo-angular-upload.mjs",
@@ -10,9 +10,9 @@ function default_1(options) {
10
10
  ], peerDependencies: {
11
11
  // peer dep of the icons
12
12
  '@progress/kendo-svg-icons': '^3.0.0',
13
- '@progress/kendo-angular-buttons': '17.0.0-develop.41',
14
- '@progress/kendo-angular-progressbar': '17.0.0-develop.41',
15
- '@progress/kendo-angular-popup': '17.0.0-develop.41',
13
+ '@progress/kendo-angular-buttons': '17.0.0-develop.43',
14
+ '@progress/kendo-angular-progressbar': '17.0.0-develop.43',
15
+ '@progress/kendo-angular-popup': '17.0.0-develop.43',
16
16
  } });
17
17
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
18
18
  }
@@ -5,7 +5,23 @@
5
5
  import { TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Used to customize the rendering of the file info section in the list. All other elements of the default template, such as file icon, action buttons, upload progress etc. will be preserved in place. ([see example]({% slug templates_upload %}#toc-file-info-template)).
8
+ * Used to customize the rendering of the file info section in the list. All other elements of the default template, such as file icon, action buttons, upload progress etc. will be preserved in place. ([See example.](slug:templates_upload#toc-file-info-template))
9
+ *
10
+ * The following context variables are available in the template:
11
+ *
12
+ * * `let-files`&mdash;Provides a reference to the files which are associated with the current item.
13
+ * * `let-state`&mdash;Gets a reference to the current state of each file. If the [`batch`](slug:api_upload_uploadcomponent#toc-batch) option of the Upload is set to `true`, the field reflects the state of the whole batch.
14
+ * * `#myUpload="kendoUpload"` or `#myFileSelect="kendoFileSelect"`&mdash;Provides a reference to the instance of the Upload/FileSelect component. It is exported as `kendoUpload`/`kendoFileSelect` by using the [`exportAs`](https://angular.io/api/core/Component) metadata property.
15
+ *
16
+ * @example
17
+ * ```html
18
+ * <kendo-upload #myUpload="kendoUpload" ... >
19
+ * <ng-template kendoUploadFileInfoTemplate let-files let-state>
20
+ * <div>Name: {{ files[0].name }}</div>
21
+ * ...
22
+ * </ng-template>
23
+ * </kendo-upload>
24
+ * ```
9
25
  */
10
26
  export declare class FileInfoTemplateDirective {
11
27
  templateRef: TemplateRef<any>;
@@ -5,7 +5,23 @@
5
5
  import { TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Used to customize the rendering of the files in the list ([see example]({% slug templates_upload %}#toc-file-template)).
8
+ * Used to customize the rendering of the files in the list. ([See example.](slug:templates_upload#toc-file-template))
9
+ *
10
+ * The following context variables are available in the template:
11
+ *
12
+ * * `let-files`&mdash;Provides a reference to the files which are associated with the current item.
13
+ * * `let-state`&mdash;Gets a reference to the current state of each file. If the [`batch`](slug:api_upload_uploadcomponent#toc-batch) option of the Upload is set to `true`, the field reflects the state of the whole batch.
14
+ * * `#myUpload="kendoUpload"` or `#myFileSelect="kendoFileSelect"`&mdash;Provides a reference to the instance of the Upload/FileSelect component. It is exported as `kendoUpload`/`kendoFileSelect` by using the [`exportAs`](https://angular.io/api/core/Component) metadata property.
15
+ *
16
+ * @example
17
+ * ```html
18
+ * <kendo-upload #myUpload="kendoUpload" ... >
19
+ * <ng-template kendoUploadFileTemplate let-files let-state>
20
+ * <div>Name: {{ files[0].name }} Size: {{ files[0].size }} bytes</div>
21
+ * ...
22
+ * </ng-template>
23
+ * </kendo-upload>
24
+ * ```
9
25
  */
10
26
  export declare class FileTemplateDirective {
11
27
  templateRef: TemplateRef<any>;