@progress/kendo-angular-label 12.2.0-develop.5 → 12.2.0-develop.7
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.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import {
|
|
5
|
+
import { getRootElement, inputElementHasAttr, isInputElement } from './util';
|
|
6
6
|
import { Directive, Input, HostBinding, ElementRef, Renderer2, NgZone } from '@angular/core';
|
|
7
7
|
import { isDocumentAvailable, guid } from '@progress/kendo-angular-common';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
@@ -48,9 +48,6 @@ export class LabelDirective {
|
|
|
48
48
|
if (!component) {
|
|
49
49
|
return;
|
|
50
50
|
}
|
|
51
|
-
if (isUploadComponent(component)) {
|
|
52
|
-
component.fileSelectInput.nativeElement.click();
|
|
53
|
-
}
|
|
54
51
|
if (component.focus) {
|
|
55
52
|
component.focus();
|
|
56
53
|
}
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-label',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '12.2.0-develop.
|
|
12
|
+
publishDate: 1684780078,
|
|
13
|
+
version: '12.2.0-develop.7',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
package/esm2020/util.mjs
CHANGED
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export const isUploadComponent = (component) => component.wrapper && (component.wrapper.tagName === 'KENDO-UPLOAD' || component.wrapper.tagName === 'KENDO-FILESELECT');
|
|
9
5
|
/**
|
|
10
6
|
* @hidden
|
|
11
7
|
*/
|
|
@@ -13,10 +13,6 @@ import { NgControl } from '@angular/forms';
|
|
|
13
13
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
14
14
|
import { Observable, Subscription } from 'rxjs';
|
|
15
15
|
|
|
16
|
-
/**
|
|
17
|
-
* @hidden
|
|
18
|
-
*/
|
|
19
|
-
const isUploadComponent = (component) => component.wrapper && (component.wrapper.tagName === 'KENDO-UPLOAD' || component.wrapper.tagName === 'KENDO-FILESELECT');
|
|
20
16
|
/**
|
|
21
17
|
* @hidden
|
|
22
18
|
*/
|
|
@@ -85,9 +81,6 @@ class LabelDirective {
|
|
|
85
81
|
if (!component) {
|
|
86
82
|
return;
|
|
87
83
|
}
|
|
88
|
-
if (isUploadComponent(component)) {
|
|
89
|
-
component.fileSelectInput.nativeElement.click();
|
|
90
|
-
}
|
|
91
84
|
if (component.focus) {
|
|
92
85
|
component.focus();
|
|
93
86
|
}
|
|
@@ -289,8 +282,8 @@ const packageMetadata = {
|
|
|
289
282
|
name: '@progress/kendo-angular-label',
|
|
290
283
|
productName: 'Kendo UI for Angular',
|
|
291
284
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
292
|
-
publishDate:
|
|
293
|
-
version: '12.2.0-develop.
|
|
285
|
+
publishDate: 1684780078,
|
|
286
|
+
version: '12.2.0-develop.7',
|
|
294
287
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
295
288
|
};
|
|
296
289
|
|
|
@@ -13,10 +13,6 @@ import { NgControl } from '@angular/forms';
|
|
|
13
13
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
14
14
|
import { Observable, Subscription } from 'rxjs';
|
|
15
15
|
|
|
16
|
-
/**
|
|
17
|
-
* @hidden
|
|
18
|
-
*/
|
|
19
|
-
const isUploadComponent = (component) => component.wrapper && (component.wrapper.tagName === 'KENDO-UPLOAD' || component.wrapper.tagName === 'KENDO-FILESELECT');
|
|
20
16
|
/**
|
|
21
17
|
* @hidden
|
|
22
18
|
*/
|
|
@@ -85,9 +81,6 @@ class LabelDirective {
|
|
|
85
81
|
if (!component) {
|
|
86
82
|
return;
|
|
87
83
|
}
|
|
88
|
-
if (isUploadComponent(component)) {
|
|
89
|
-
component.fileSelectInput.nativeElement.click();
|
|
90
|
-
}
|
|
91
84
|
if (component.focus) {
|
|
92
85
|
component.focus();
|
|
93
86
|
}
|
|
@@ -289,8 +282,8 @@ const packageMetadata = {
|
|
|
289
282
|
name: '@progress/kendo-angular-label',
|
|
290
283
|
productName: 'Kendo UI for Angular',
|
|
291
284
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
292
|
-
publishDate:
|
|
293
|
-
version: '12.2.0-develop.
|
|
285
|
+
publishDate: 1684780078,
|
|
286
|
+
version: '12.2.0-develop.7',
|
|
294
287
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
295
288
|
};
|
|
296
289
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-label",
|
|
3
|
-
"version": "12.2.0-develop.
|
|
3
|
+
"version": "12.2.0-develop.7",
|
|
4
4
|
"description": "Kendo UI Label for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
"@angular/core": "13 - 16",
|
|
24
24
|
"@angular/platform-browser": "13 - 16",
|
|
25
25
|
"@progress/kendo-licensing": "^1.0.2",
|
|
26
|
-
"@progress/kendo-angular-common": "12.2.0-develop.
|
|
27
|
-
"@progress/kendo-angular-l10n": "12.2.0-develop.
|
|
26
|
+
"@progress/kendo-angular-common": "12.2.0-develop.7",
|
|
27
|
+
"@progress/kendo-angular-l10n": "12.2.0-develop.7",
|
|
28
28
|
"rxjs": "^6.5.3 || ^7.0.0",
|
|
29
|
-
"@progress/kendo-angular-inputs": "12.2.0-develop.
|
|
29
|
+
"@progress/kendo-angular-inputs": "12.2.0-develop.7"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"tslib": "^2.3.1",
|
|
33
|
-
"@progress/kendo-angular-schematics": "12.2.0-develop.
|
|
33
|
+
"@progress/kendo-angular-schematics": "12.2.0-develop.7"
|
|
34
34
|
},
|
|
35
35
|
"schematics": "./schematics/collection.json",
|
|
36
36
|
"module": "fesm2015/progress-kendo-angular-label.mjs",
|
package/util.d.ts
CHANGED
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const isUploadComponent: (component: any) => boolean;
|
|
9
5
|
/**
|
|
10
6
|
* @hidden
|
|
11
7
|
*/
|