@progress/kendo-angular-label 3.1.2 → 4.0.0-dev.202204131904

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.
Files changed (76) hide show
  1. package/bundles/kendo-angular-label.umd.js +5 -0
  2. package/{dist/es2015 → esm2015}/floating-label/floating-label-input-adapter.js +0 -0
  3. package/{dist/es2015 → esm2015}/floating-label/floating-label.component.js +74 -79
  4. package/{dist/es2015 → esm2015}/floating-label/floating-label.module.js +14 -11
  5. package/{dist/es → esm2015}/floating-label/models/label-position.js +1 -0
  6. package/{dist/es2015/shared.module.d.ts → esm2015/kendo-angular-label.js} +2 -3
  7. package/esm2015/label/label.component.js +158 -0
  8. package/{dist/es2015 → esm2015}/label.directive.js +21 -24
  9. package/{dist/es2015 → esm2015}/label.module.js +16 -11
  10. package/esm2015/localization/custom-messages.component.js +41 -0
  11. package/esm2015/localization/localized-messages.directive.js +39 -0
  12. package/esm2015/localization/messages.js +23 -0
  13. package/{dist/es → esm2015}/main.js +2 -0
  14. package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
  15. package/esm2015/shared.module.js +29 -0
  16. package/{dist/es2015 → esm2015}/util.js +0 -0
  17. package/{dist/fesm2015/index.js → fesm2015/kendo-angular-label.js} +245 -205
  18. package/{dist/es2015/floating-label → floating-label}/floating-label-input-adapter.d.ts +2 -1
  19. package/{dist/es2015/floating-label → floating-label}/floating-label.component.d.ts +6 -3
  20. package/{dist/es2015/floating-label → floating-label}/floating-label.module.d.ts +7 -0
  21. package/{dist/es2015/floating-label → floating-label}/models/label-position.d.ts +0 -0
  22. package/{dist/es2015/floating-label/models/label-position.js → kendo-angular-label.d.ts} +5 -0
  23. package/{dist/es2015/label → label}/label.component.d.ts +3 -0
  24. package/{dist/es2015/label.directive.d.ts → label.directive.d.ts} +4 -1
  25. package/{dist/es2015/label.module.d.ts → label.module.d.ts} +9 -0
  26. package/{dist/es2015/localization → localization}/custom-messages.component.d.ts +4 -1
  27. package/{dist/es2015/localization → localization}/localized-messages.directive.d.ts +3 -0
  28. package/{dist/es2015/localization → localization}/messages.d.ts +3 -0
  29. package/{dist/es2015/main.d.ts → main.d.ts} +2 -0
  30. package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
  31. package/package.json +34 -103
  32. package/schematics/ngAdd/index.js +5 -2
  33. package/schematics/ngAdd/index.js.map +1 -1
  34. package/shared.module.d.ts +15 -0
  35. package/{dist/es2015/util.d.ts → util.d.ts} +0 -0
  36. package/dist/cdn/js/kendo-angular-label.js +0 -20
  37. package/dist/cdn/main.js +0 -5
  38. package/dist/es/floating-label/floating-label-input-adapter.js +0 -58
  39. package/dist/es/floating-label/floating-label.component.js +0 -312
  40. package/dist/es/floating-label/floating-label.module.js +0 -52
  41. package/dist/es/index.js +0 -11
  42. package/dist/es/label/label.component.js +0 -137
  43. package/dist/es/label.directive.js +0 -140
  44. package/dist/es/label.module.js +0 -63
  45. package/dist/es/localization/custom-messages.component.js +0 -44
  46. package/dist/es/localization/localized-messages.directive.js +0 -35
  47. package/dist/es/localization/messages.js +0 -22
  48. package/dist/es/package-metadata.js +0 -15
  49. package/dist/es/shared.module.js +0 -27
  50. package/dist/es/util.js +0 -33
  51. package/dist/es2015/index.d.ts +0 -11
  52. package/dist/es2015/index.js +0 -11
  53. package/dist/es2015/index.metadata.json +0 -1
  54. package/dist/es2015/label/label.component.js +0 -146
  55. package/dist/es2015/localization/custom-messages.component.js +0 -36
  56. package/dist/es2015/localization/localized-messages.directive.js +0 -34
  57. package/dist/es2015/localization/messages.js +0 -16
  58. package/dist/es2015/main.js +0 -10
  59. package/dist/es2015/shared.module.js +0 -24
  60. package/dist/fesm5/index.js +0 -858
  61. package/dist/npm/floating-label/floating-label-input-adapter.js +0 -60
  62. package/dist/npm/floating-label/floating-label.component.js +0 -314
  63. package/dist/npm/floating-label/floating-label.module.js +0 -54
  64. package/dist/npm/floating-label/models/label-position.js +0 -6
  65. package/dist/npm/index.js +0 -17
  66. package/dist/npm/label/label.component.js +0 -139
  67. package/dist/npm/label.directive.js +0 -142
  68. package/dist/npm/label.module.js +0 -65
  69. package/dist/npm/localization/custom-messages.component.js +0 -46
  70. package/dist/npm/localization/localized-messages.directive.js +0 -37
  71. package/dist/npm/localization/messages.js +0 -24
  72. package/dist/npm/main.js +0 -18
  73. package/dist/npm/package-metadata.js +0 -17
  74. package/dist/npm/shared.module.js +0 -29
  75. package/dist/npm/util.js +0 -35
  76. package/dist/systemjs/kendo-angular-label.js +0 -5
@@ -2,6 +2,10 @@
2
2
  * Copyright © 2021 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 * as i0 from "@angular/core";
6
+ import * as i1 from "./floating-label.component";
7
+ import * as i2 from "@angular/common";
8
+ import * as i3 from "../shared.module";
5
9
  /**
6
10
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
7
11
  * definition for the TextBox directive.
@@ -32,4 +36,7 @@
32
36
  * ```
33
37
  */
34
38
  export declare class FloatingLabelModule {
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<FloatingLabelModule, never>;
40
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FloatingLabelModule, [typeof i1.FloatingLabelComponent], [typeof i2.CommonModule, typeof i3.SharedDirectivesModule], [typeof i1.FloatingLabelComponent, typeof i3.SharedDirectivesModule]>;
41
+ static ɵinj: i0.ɵɵInjectorDeclaration<FloatingLabelModule>;
35
42
  }
@@ -2,3 +2,8 @@
2
2
  * Copyright © 2021 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
+ * Generated bundle index. Do not edit.
7
+ */
8
+ /// <amd-module name="@progress/kendo-angular-label" />
9
+ export * from './main';
@@ -5,6 +5,7 @@
5
5
  import { AfterContentInit, ElementRef, Renderer2 } from '@angular/core';
6
6
  import { LocalizationService } from '@progress/kendo-angular-l10n';
7
7
  import { LabelDirective } from './../label.directive';
8
+ import * as i0 from "@angular/core";
8
9
  /**
9
10
  * Represents the [Kendo UI Label component for Angular]({% slug label_basic %}).
10
11
  *
@@ -80,4 +81,6 @@ export declare class LabelComponent implements AfterContentInit {
80
81
  * @hidden
81
82
  */
82
83
  textFor(key: string): string;
84
+ static ɵfac: i0.ɵɵFactoryDeclaration<LabelComponent, never>;
85
+ static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "kendo-label", ["kendoLabel"], { "text": "text"; "for": "for"; "optional": "optional"; }, {}, ["kendoInput"], ["*"]>;
83
86
  }
@@ -3,6 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ElementRef, Renderer2, NgZone } from '@angular/core';
6
+ import * as i0 from "@angular/core";
6
7
  /**
7
8
  * Represents the [Kendo UI Label directive for Angular]({% slug overview_label %}).
8
9
  * The Label associates a focusable Angular component or an HTML element
@@ -46,7 +47,7 @@ export declare class LabelDirective {
46
47
  for: string | {
47
48
  focus: Function;
48
49
  };
49
- readonly labelFor: string;
50
+ get labelFor(): string;
50
51
  labelClass: boolean;
51
52
  private clickListener;
52
53
  constructor(label: ElementRef<HTMLLabelElement>, renderer: Renderer2, zone: NgZone);
@@ -64,4 +65,6 @@ export declare class LabelDirective {
64
65
  setAriaLabelledby(): void;
65
66
  private getFocusableComponent;
66
67
  private handleClick;
68
+ static ɵfac: i0.ɵɵFactoryDeclaration<LabelDirective, never>;
69
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LabelDirective, "label[for]", never, { "for": "for"; }, {}, never>;
67
70
  }
@@ -2,6 +2,12 @@
2
2
  * Copyright © 2021 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 * as i0 from "@angular/core";
6
+ import * as i1 from "./label.directive";
7
+ import * as i2 from "./label/label.component";
8
+ import * as i3 from "@angular/common";
9
+ import * as i4 from "./shared.module";
10
+ import * as i5 from "./floating-label/floating-label.module";
5
11
  /**
6
12
  * The exported package module.
7
13
  *
@@ -38,4 +44,7 @@
38
44
  * ```
39
45
  */
40
46
  export declare class LabelModule {
47
+ static ɵfac: i0.ɵɵFactoryDeclaration<LabelModule, never>;
48
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LabelModule, [typeof i1.LabelDirective, typeof i2.LabelComponent], [typeof i3.CommonModule, typeof i4.SharedDirectivesModule], [typeof i1.LabelDirective, typeof i2.LabelComponent, typeof i5.FloatingLabelModule, typeof i4.SharedDirectivesModule]>;
49
+ static ɵinj: i0.ɵɵInjectorDeclaration<LabelModule>;
41
50
  }
@@ -4,6 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { LocalizationService } from '@progress/kendo-angular-l10n';
6
6
  import { Messages } from './messages';
7
+ import * as i0 from "@angular/core";
7
8
  /**
8
9
  * Custom component messages override default component messages
9
10
  * ([see example]({% slug label_globalization %}#toc-localization)).
@@ -11,5 +12,7 @@ import { Messages } from './messages';
11
12
  export declare class CustomMessagesComponent extends Messages {
12
13
  protected service: LocalizationService;
13
14
  constructor(service: LocalizationService);
14
- protected readonly override: boolean;
15
+ protected get override(): boolean;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomMessagesComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<CustomMessagesComponent, "kendo-label-messages, kendo-floatinglabel-messages", never, {}, {}, never, never>;
15
18
  }
@@ -4,10 +4,13 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { LocalizationService } from '@progress/kendo-angular-l10n';
6
6
  import { Messages } from './messages';
7
+ import * as i0 from "@angular/core";
7
8
  /**
8
9
  * @hidden
9
10
  */
10
11
  export declare class LocalizedMessagesDirective extends Messages {
11
12
  protected service: LocalizationService;
12
13
  constructor(service: LocalizationService);
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, " [kendoLabelLocalizedMessages], [kendoFloatingLabelLocalizedMessages] ", never, {}, {}, never>;
13
16
  }
@@ -3,6 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ComponentMessages } from '@progress/kendo-angular-l10n';
6
+ import * as i0 from "@angular/core";
6
7
  /**
7
8
  * @hidden
8
9
  */
@@ -11,4 +12,6 @@ export declare class Messages extends ComponentMessages {
11
12
  * The optional text.
12
13
  */
13
14
  optional: string;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendo-label-messages-base", never, { "optional": "optional"; }, {}, never>;
14
17
  }
@@ -9,3 +9,5 @@ export { FloatingLabelComponent } from './floating-label/floating-label.componen
9
9
  export { LabelComponent } from './label/label.component';
10
10
  export { CustomMessagesComponent } from './localization/custom-messages.component';
11
11
  export { FloatingLabelPosition } from './floating-label/models/label-position';
12
+ export { LocalizedMessagesDirective } from './localization/localized-messages.directive';
13
+ export { SharedDirectivesModule } from './shared.module';
package/package.json CHANGED
@@ -1,98 +1,38 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-label",
3
+ "version": "4.0.0-dev.202204131904",
3
4
  "description": "Kendo UI Label for Angular",
4
- "author": "Progress",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
- "version": "3.1.2",
7
- "main": "dist/npm/index.js",
8
- "module": "dist/fesm5/index.js",
9
- "es2015": "dist/fesm2015/index.js",
10
- "esm5": "dist/es/index.js",
11
- "esm2015": "dist/es2015/index.js",
12
- "jsnext:main": "dist/es/index.js",
13
- "typings": "dist/es2015/index.d.ts",
14
- "jsdelivr": "dist/cdn/main.js",
15
- "unpkg": "dist/cdn/main.js",
16
- "sideEffects": false,
17
- "scripts": {
18
- "test": "jest",
19
- "test:watch": "jest --watch",
20
- "test:ci": "ci-angular-test",
21
- "start": "gulp start",
22
- "e2e:ci": "ci-angular-e2e",
23
- "lint": "gulp lint && gulp lint-docs",
24
- "api-check": "gulp api-check",
25
- "build-package": "gulp build-package",
26
- "semantic-release": "semantic-release pre && semantic-prerelease publish && semantic-release post"
6
+ "author": "Progress",
7
+ "homepage": "https://www.telerik.com/kendo-angular-ui/components/",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/telerik/kendo-angular-label.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/telerik/kendo-angular"
27
14
  },
28
15
  "keywords": [
16
+ "Angular",
29
17
  "Kendo UI",
30
- "Progress",
31
18
  "Label",
32
- "Angular"
19
+ "Progress"
33
20
  ],
34
- "peerDependencies": {
35
- "@angular/common": "8 - 13",
36
- "@angular/core": "8 - 13",
37
- "@angular/forms": "8 - 13",
38
- "@progress/kendo-angular-common": "^2.0.0",
39
- "@progress/kendo-licensing": "^1.0.2",
40
- "rxjs": "^6.4.0 || ^7.0.0"
21
+ "@progress": {
22
+ "friendlyName": "Label"
41
23
  },
42
24
  "dependencies": {
43
- "@progress/kendo-schematics": "^2.0.0",
44
- "tslib": "^1.9.0"
25
+ "@progress/kendo-schematics": "^3.0.0",
26
+ "tslib": "^2.3.1"
45
27
  },
46
- "devDependencies": {
47
- "@angular-devkit/core": "^8.2.0",
48
- "@angular-devkit/schematics": "^8.2.0",
49
- "@angular/animations": "^8.2.0",
50
- "@angular/common": "^8.2.0",
51
- "@angular/compiler": "^8.2.0",
52
- "@angular/compiler-cli": "^8.2.0",
53
- "@angular/core": "^8.2.0",
54
- "@angular/forms": "^8.2.0",
55
- "@angular/platform-browser": "^8.2.0",
56
- "@angular/platform-browser-dynamic": "^8.2.0",
57
- "@angular/platform-server": "^8.2.0",
58
- "@angular/router": "^8.2.0",
59
- "@progress/kendo-angular-buttons": "^6.0.0",
60
- "@progress/kendo-angular-common": "^2.0.0",
61
- "@progress/kendo-angular-dateinputs": "^5.0.0",
62
- "@progress/kendo-angular-dialog": "^5.0.0",
63
- "@progress/kendo-angular-dropdowns": "^5.0.0",
64
- "@progress/kendo-angular-e2e": "^2.2.0",
65
- "@progress/kendo-angular-inputs": "^7.0.0",
66
- "@progress/kendo-angular-intl": "^3.0.0",
67
- "@progress/kendo-angular-jest-preset": "^2.0.0",
68
- "@progress/kendo-angular-l10n": "^3.0.0",
69
- "@progress/kendo-angular-popup": "^4.0.0",
70
- "@progress/kendo-angular-tasks": "^18.0.2",
71
- "@progress/kendo-angular-treeview": "^5.0.0",
72
- "@progress/kendo-angular-upload": "^7.0.0",
73
- "@progress/kendo-drawing": "^1.6.0",
28
+ "peerDependencies": {
29
+ "@angular/common": "^12.0.0 || ^13.0.0",
30
+ "@angular/core": "^12.0.0 || ^13.0.0",
31
+ "@angular/forms": "^12.0.0 || ^13.0.0",
32
+ "@progress/kendo-angular-common": ">3.0.0-next",
74
33
  "@progress/kendo-licensing": "^1.0.2",
75
- "@progress/kendo-theme-bootstrap": "^5.0.0",
76
- "@progress/kendo-theme-default": "^5.0.0",
77
- "@progress/kendo-theme-material": "^5.0.0",
78
- "@telerik/semantic-prerelease": "^1.0.0",
79
- "@types/jest": "^21.1.8",
80
- "@types/node": "ts3.4",
81
- "@types/zone.js": "0.0.27",
82
- "codelyzer": "^5.0.0",
83
- "core-js": "^2.2.2",
84
- "cz-conventional-changelog": "^1.1.5",
85
- "ghooks": "^1.0.3",
86
- "gulp": "^4.0.0",
87
- "jest-cli": "^21.2.1",
88
- "jest-junit": "^8.0.0",
89
- "rxjs": "~6.4.0",
90
- "rxjs-tslint-rules": "^4.23.1",
91
- "semantic-release": "^6.3.6",
92
- "tslint": "^5.20.1",
93
- "typescript": "~3.4.5",
94
- "validate-commit-msg": "^1.1.1",
95
- "zone.js": "~0.9.1"
34
+ "@progress/kendo-angular-l10n": ">4.0.0-next",
35
+ "rxjs": "^6.5.3 || ^7.0.0"
96
36
  },
97
37
  "config": {
98
38
  "commitizen": {
@@ -117,27 +57,16 @@
117
57
  "maxSubjectLength": 100
118
58
  }
119
59
  },
120
- "jest": {
121
- "preset": "@progress/kendo-angular-jest-preset"
122
- },
123
- "repository": {
124
- "type": "git",
125
- "url": "https://github.com/telerik/kendo-angular-label.git"
126
- },
127
- "bugs": {
128
- "url": "https://github.com/telerik/kendo-angular"
129
- },
130
- "@progress": {
131
- "friendlyName": "Label"
132
- },
133
- "homepage": "https://www.telerik.com/kendo-angular-ui/components/",
60
+ "schematics": "./schematics/collection.json",
134
61
  "release": {
135
62
  "debug": false,
136
63
  "branchTags": {
137
- "develop": "dev"
64
+ "develop": "dev",
65
+ "ng12-update": "next"
138
66
  },
139
67
  "fallbackTags": {
140
- "dev": "latest"
68
+ "dev": "latest",
69
+ "next": "latest"
141
70
  },
142
71
  "analyzeCommits": "@telerik/semantic-prerelease/analyzeCommits",
143
72
  "generateNotes": "@progress/kendo-angular-tasks/lib/generateNotes",
@@ -145,9 +74,11 @@
145
74
  "verifyConditions": "@telerik/semantic-prerelease/verifyConditions",
146
75
  "verifyRelease": "@telerik/semantic-prerelease/verifyRelease"
147
76
  },
148
- "schematics": "./schematics/collection.json",
149
- "files": [
150
- "dist",
151
- "schematics"
152
- ]
77
+ "main": "bundles/kendo-angular-label.umd.js",
78
+ "module": "fesm2015/kendo-angular-label.js",
79
+ "es2015": "fesm2015/kendo-angular-label.js",
80
+ "esm2015": "esm2015/kendo-angular-label.js",
81
+ "fesm2015": "fesm2015/kendo-angular-label.js",
82
+ "typings": "kendo-angular-label.d.ts",
83
+ "sideEffects": false
153
84
  }
@@ -1,10 +1,13 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  "use strict";
2
6
  Object.defineProperty(exports, "__esModule", { value: true });
3
7
  const schematics_1 = require("@angular-devkit/schematics");
4
8
  function default_1(options) {
5
- const finalOptions = Object.assign({}, options, { mainNgModule: 'LabelModule', package: 'label' //package name, e.g grid
9
+ const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'LabelModule', package: 'label' //package name, e.g grid
6
10
  });
7
11
  return schematics_1.externalSchematic('@progress/kendo-schematics', 'ng-add', finalOptions);
8
12
  }
9
13
  exports.default = default_1;
10
- //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAKqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,qBACX,OAAO,IACV,YAAY,EAAE,aAAa,EAC3B,OAAO,EAAE,OAAO,CAAC,wBAAwB;OAC5C,CAAC;IAEF,OAAO,8BAAiB,CAAC,4BAA4B,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACnF,CAAC;AARD,4BAQC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAKqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,mCACX,OAAO,KACV,YAAY,EAAE,aAAa,EAC3B,OAAO,EAAE,OAAO,CAAC,wBAAwB;OAC5C,CAAC;IAEF,OAAO,8BAAiB,CAAC,4BAA4B,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACnF,CAAC;AARD,4BAQC"}
@@ -0,0 +1,15 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "./localization/localized-messages.directive";
7
+ import * as i2 from "./localization/custom-messages.component";
8
+ /**
9
+ * @hidden
10
+ */
11
+ export declare class SharedDirectivesModule {
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedDirectivesModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDirectivesModule, [typeof i1.LocalizedMessagesDirective, typeof i2.CustomMessagesComponent], never, [typeof i1.LocalizedMessagesDirective, typeof i2.CustomMessagesComponent]>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<SharedDirectivesModule>;
15
+ }
File without changes
@@ -1,20 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("rxjs"),require("rxjs/operators"),require("@angular/common"),require("@angular/forms")):"function"==typeof define&&define.amd?define(["@angular/core","rxjs","rxjs/operators","@angular/common","@angular/forms"],t):"object"==typeof exports?exports.KendoAngularLabel=t(require("@angular/core"),require("rxjs"),require("rxjs/operators"),require("@angular/common"),require("@angular/forms")):e.KendoAngularLabel=t(e["@angular/core"],e.rxjs,e["rxjs/operators"],e["@angular/common"],e["@angular/forms"])}(window,(function(e,t,n,r,i){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=17)}([function(t,n){t.exports=e},function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return i})),n.d(t,"__assign",(function(){return o})),n.d(t,"__rest",(function(){return s})),n.d(t,"__decorate",(function(){return a})),n.d(t,"__param",(function(){return u})),n.d(t,"__metadata",(function(){return c})),n.d(t,"__awaiter",(function(){return l})),n.d(t,"__generator",(function(){return d})),n.d(t,"__createBinding",(function(){return p})),n.d(t,"__exportStar",(function(){return f})),n.d(t,"__values",(function(){return h})),n.d(t,"__read",(function(){return g})),n.d(t,"__spread",(function(){return b})),n.d(t,"__spreadArrays",(function(){return v})),n.d(t,"__await",(function(){return y})),n.d(t,"__asyncGenerator",(function(){return m})),n.d(t,"__asyncDelegator",(function(){return _})),n.d(t,"__asyncValues",(function(){return O})),n.d(t,"__makeTemplateObject",(function(){return x})),n.d(t,"__importStar",(function(){return C})),n.d(t,"__importDefault",(function(){return j})),n.d(t,"__classPrivateFieldGet",(function(){return w})),n.d(t,"__classPrivateFieldSet",(function(){return E}));
6
- /*! *****************************************************************************
7
- Copyright (c) Microsoft Corporation.
8
-
9
- Permission to use, copy, modify, and/or distribute this software for any
10
- purpose with or without fee is hereby granted.
11
-
12
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
13
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
14
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
15
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
16
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
17
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
18
- PERFORMANCE OF THIS SOFTWARE.
19
- ***************************************************************************** */
20
- var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function a(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(e){o(e)}}function a(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}function p(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}function f(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function h(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function v(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r}function y(e){return this instanceof y?(this.v=e,this):new y(e)}function m(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||a(e,t)}))})}function a(e,t){try{(n=i[e](t)).value instanceof y?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function u(e){a("next",e)}function c(e){a("throw",e)}function l(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}}function _(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function O(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=h(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function C(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function j(e){return e&&e.__esModule?e:{default:e}}function w(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function E(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"MessageService",(function(){return a})),n.d(t,"ComponentMessages",(function(){return u})),n.d(t,"L10N_PREFIX",(function(){return l})),n.d(t,"LocalizationService",(function(){return d})),n.d(t,"RTL",(function(){return c}));var r=n(1),i=n(0),o=n(2),s=n(3),a=function(){function e(){this.changes=new o.BehaviorSubject({rtl:void 0})}return e.prototype.notify=function(e){this.changes.next({rtl:e})},e.prototype.get=function(e){},e=Object(r.__decorate)([Object(i.Injectable)()],e)}(),u=function(){function e(){}return Object.defineProperty(e.prototype,"override",{get:function(){return!1},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){this.register(e),Object.keys(e).some((function(t){return!e[t].isFirstChange()}))&&this.service.notifyChanges()},e.prototype.ngOnInit=function(){var e=this;this.subscription=this.service.changes.pipe(Object(s.skip)(1)).subscribe((function(){return e.register(e)}))},e.prototype.register=function(e){var t=this;Object.keys(e).forEach((function(e){return t.service.register(e,t[e],t.override)}))},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},e}(),c=new i.InjectionToken("Kendo UI Right-to-Left token"),l=new i.InjectionToken("Localization key prefix"),d=function(){function e(e,t,n){var r=this;this.prefix=e,this.messageService=t,this._rtl=n,this.changes=new o.BehaviorSubject({rtl:this._rtl}),this.dictionary={},t&&(this.subscription=t.changes.pipe(Object(s.map)((function(e){var t=e.rtl;return void 0!==t?t:r._rtl})),Object(s.tap)((function(e){return r._rtl=e}))).subscribe((function(e){r.dictionary={},r.changes.next({rtl:e})})))}return Object.defineProperty(e.prototype,"rtl",{get:function(){return this._rtl},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.get=function(e){var t=this.key(e);return this.dictionary[t]},e.prototype.register=function(e,t,n){void 0===n&&(n=!1);var r=this.key(e),i=t;if(!n){if(this.dictionary.hasOwnProperty(r))return;i=this.defaultValue(r,t)}this.dictionary[r]=i},e.prototype.notifyChanges=function(){this.changes.next({rtl:this.rtl})},e.prototype.key=function(e){return this.prefix+"."+e},e.prototype.defaultValue=function(e,t){if(!this.messageService)return t;var n=this.messageService.get(e);return void 0===n?t:n},e=Object(r.__decorate)([Object(i.Injectable)(),Object(r.__param)(0,Object(i.Inject)(l)),Object(r.__param)(1,Object(i.Optional)()),Object(r.__param)(2,Object(i.Optional)()),Object(r.__param)(2,Object(i.Inject)(c)),Object(r.__metadata)("design:paramtypes",[String,a,Boolean])],e)}()},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(8),o=n(0),s=n(7),a=function(){function e(e,t,n){var r=this;this.label=e,this.renderer=t,this.zone=n,this.labelClass=!0,this.handleClick=function(){var e=r.getFocusableComponent();e&&(i.isUploadComponent(e)&&e.fileSelect.nativeElement.click(),e.focus&&e.focus())}}return Object.defineProperty(e.prototype,"labelFor",{get:function(){if("string"==typeof this.for)return this.for;if(!s.isDocumentAvailable())return null;var e=this.getFocusableComponent()||{};return i.isInputElement(e)&&!i.inputElementHasAttr(e,"id")&&this.renderer.setAttribute(e,"id","k-"+s.guid()),e.focusableId||e.id||null},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var e=this;this.setAriaLabelledby(),this.zone.runOutsideAngular((function(){return e.clickListener=e.renderer.listen(e.label.nativeElement,"click",e.handleClick)}))},e.prototype.ngOnDestroy=function(){this.clickListener&&this.clickListener()},e.prototype.setAriaLabelledby=function(){if(s.isDocumentAvailable()){var e=this.getFocusableComponent();if(e&&e.focusableId){var t=i.getRootElement(this.label.nativeElement).querySelector("#"+e.focusableId);if(!t)return;var n=this.label.nativeElement,r=n.id||"k-"+s.guid();n.getAttribute("id")||this.renderer.setAttribute(n,"id",r),this.renderer.setAttribute(t,"aria-labelledby",r)}}},e.prototype.getFocusableComponent=function(){var e=this.for;return e&&void 0!==e.focus?e:null},r.__decorate([o.Input(),r.__metadata("design:type",Object)],e.prototype,"for",void 0),r.__decorate([o.HostBinding("attr.for"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"labelFor",null),r.__decorate([o.HostBinding("class.k-label"),r.__metadata("design:type",Boolean)],e.prototype,"labelClass",void 0),e=r.__decorate([o.Directive({selector:"label[for]"}),r.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,o.NgZone])],e)}();t.LabelDirective=a},function(e,t,n){"use strict";n.r(t),n.d(t,"ResizeService",(function(){return q})),n.d(t,"PreventableEvent",(function(){return te})),n.d(t,"DraggableDirective",(function(){return C})),n.d(t,"DraggableModule",(function(){return j})),n.d(t,"closestInScope",(function(){return w})),n.d(t,"closest",(function(){return E})),n.d(t,"contains",(function(){return S})),n.d(t,"findElement",(function(){return D})),n.d(t,"findFocusableChild",(function(){return M})),n.d(t,"findFocusable",(function(){return A})),n.d(t,"hasClasses",(function(){return P})),n.d(t,"isFocusableWithTabKey",(function(){return I})),n.d(t,"isFocusable",(function(){return k})),n.d(t,"isVisible",(function(){return z})),n.d(t,"matchesClasses",(function(){return B})),n.d(t,"matchesNodeName",(function(){return R})),n.d(t,"rtlScrollPosition",(function(){return N})),n.d(t,"EventsOutsideAngularDirective",(function(){return H})),n.d(t,"EventsModule",(function(){return U})),n.d(t,"ResizeSensorComponent",(function(){return W})),n.d(t,"ResizeBatchService",(function(){return J})),n.d(t,"ResizeCompatService",(function(){return Y})),n.d(t,"ResizeObserverService",(function(){return X})),n.d(t,"ResizeSensorModule",(function(){return $})),n.d(t,"KendoInput",(function(){return ee})),n.d(t,"isDocumentAvailable",(function(){return y})),n.d(t,"isChanged",(function(){return m})),n.d(t,"anyChanged",(function(){return _})),n.d(t,"hasObservers",(function(){return O})),n.d(t,"guid",(function(){return x})),n.d(t,"Keys",(function(){return T}));var r=n(1),i=n(0),o=function(e,t){return function(n){return t(e(n))}},s=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},a=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},u=function(){},c=function(e){return e.preventDefault()},l=/touch/;function d(e){return e.type.match(l)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var p=function(e){var t=this,n=e.press;void 0===n&&(n=u);var r=e.drag;void 0===r&&(r=u);var i=e.release;void 0===i&&(i=u);var l=e.mouseOnly;void 0===l&&(l=!1),this._pressHandler=o(d,n),this._dragHandler=o(d,r),this._releaseHandler=o(d,i),this._ignoreMouse=!1,this._mouseOnly=l,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var n=e.which;n&&n>1||t._ignoreMouse||(s(t.document,"mousemove",t._mousemove),s(t.document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){a(t.document,"mousemove",t._mousemove),a(t.document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(s(t.document,"pointermove",t._pointermove),s(t.document,"pointerup",t._pointerup),s(t.document,"pointercancel",t._pointerup),s(t.document,"contextmenu",c),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(a(t.document,"pointermove",t._pointermove),a(t.document,"pointerup",t._pointerup),a(t.document,"pointercancel",t._pointerup),a(t.document,"contextmenu",c),t._releaseHandler(e))}},f={document:{configurable:!0}};p.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},f.document.get=function(){return this._element?this._element.ownerDocument:document},p.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},p.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?s(e,"pointerdown",this._pointerdown):(s(e,"mousedown",this._mousedown),this._mouseOnly||(s(e,"touchstart",this._touchstart),s(e,"touchmove",this._touchmove),s(e,"touchend",this._touchend)))},p.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return a(e,"pointerdown",this._pointerdown),a(this.document,"pointermove",this._pointermove),a(this.document,"pointerup",this._pointerup),a(this.document,"contextmenu",c),void a(this.document,"pointercancel",this._pointerup);a(e,"mousedown",this._mousedown),this._mouseOnly||(a(e,"touchstart",this._touchstart),a(e,"touchmove",this._touchmove),a(e,"touchend",this._touchend))},p.prototype._usePointers=function(){return!this._mouseOnly&&p.supportPointerEvent()},p.prototype.update=function(e){var t=e.press;void 0===t&&(t=u);var n=e.drag;void 0===n&&(n=u);var r=e.release;void 0===r&&(r=u);var i=e.mouseOnly;void 0===i&&(i=!1),this._pressHandler=o(d,t),this._dragHandler=o(d,n),this._releaseHandler=o(d,r),this._mouseOnly=i},p.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(p.prototype,f),p.default=p;var h=p,g=n(5),b=n(3),v=n(2),y=function(){return"undefined"!=typeof document},m=function(e,t,n){return void 0===n&&(n=!0),!(void 0===t[e]||t[e].isFirstChange()&&n||t[e].previousValue===t[e].currentValue)},_=function(e,t,n){return void 0===n&&(n=!0),e.some((function(e){return m(e,t,n)}))},O=function(e){return e&&e.observers.length>0},x=function(){for(var e="",t=0;t<32;t++){var n=16*Math.random()|0;8!==t&&12!==t&&16!==t&&20!==t||(e+="-"),e+=(12===t?4:16===t?3&n|8:n).toString(16)}return e},C=function(){function e(e,t){this.element=e,this.ngZone=t,this.enableDrag=!0,this.kendoPress=new i.EventEmitter,this.kendoDrag=new i.EventEmitter,this.kendoRelease=new i.EventEmitter}return e.prototype.ngOnInit=function(){this.toggleDraggable()},e.prototype.ngOnChanges=function(e){m("enableDrag",e)&&this.toggleDraggable()},e.prototype.ngOnDestroy=function(){this.destroyDraggable()},e.prototype.toggleDraggable=function(){var e=this;y()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new h({drag:function(t){return e.kendoDrag.next(t)},press:function(t){return e.kendoPress.next(t)},release:function(t){return e.kendoRelease.next(t)}}),this.ngZone.runOutsideAngular((function(){return e.draggable.bindTo(e.element.nativeElement)}))))},e.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},Object(r.__decorate)([Object(i.Input)(),Object(r.__metadata)("design:type",Boolean)],e.prototype,"enableDrag",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"kendoPress",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"kendoDrag",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"kendoRelease",void 0),e=Object(r.__decorate)([Object(i.Directive)({selector:"[kendoDraggable]"}),Object(r.__metadata)("design:paramtypes",[i.ElementRef,i.NgZone])],e)}(),j=function(){function e(){}return e=Object(r.__decorate)([Object(i.NgModule)({declarations:[C],exports:[C],imports:[g.CommonModule]})],e)}(),w=function(e,t,n){for(;e&&e!==n&&!t(e);)e=e.parentNode;if(e!==n)return e},E=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e},S=function(e,t,n){if(void 0===n&&(n=!1),!E(t,(function(t){return t===e})))return!1;var r=E(t,(function(e){return e===t}));return r&&(n||r!==e)},D=function(e,t,n){if(void 0===n&&(n=!0),e){if(n&&t(e))return e;for(e=e.firstChild;e;){if(1===e.nodeType){var r=D(e,t);if(r)return r}e=e.nextSibling}}},L=/^(?:a|input|select|option|textarea|button|object)$/i,k=function(e){if(!e.tagName)return!1;var t=e.tagName.toLowerCase(),n=Boolean(e.getAttribute("tabIndex"));return!e.disabled&&L.test(t)||n},z=function(e){var t=e.getBoundingClientRect(),n=t.width>0&&t.height>0,r=0!==t.x&&0!==t.y;return(n||r)&&"hidden"!==window.getComputedStyle(e).visibility},I=function(e,t){if(void 0===t&&(t=!0),!k(e))return!1;var n=e.getAttribute("tabIndex");return(!t||z(e))&&"-1"!==n},M=function(e,t){return void 0===t&&(t=!0),D(e,(function(e){return I(e,t)}),!1)},A=function(e,t){return void 0===t&&(t=!0),D(e,(function(e){return I(e,t)}))},K=function(e){return String(e).trim().split(" ")},P=function(e,t){var n=K(t);return Boolean(K(e.className).find((function(e){return n.indexOf(e)>=0})))},B=function(e){return function(t){return P(t,e)}},F={},R=function(e){return F[e]||(F[e]=function(t){return String(t.nodeName).toLowerCase()===e.toLowerCase()}),F[e]};function N(e,t,n){var r=e;return n<0?r=-e:n>0&&(r=t.scrollWidth-t.offsetWidth-e),r}var T,H=function(){function e(e,t,n){this.element=e,this.ngZone=t,this.renderer=n,this.events={}}return e.prototype.ngOnInit=function(){var e=this;if(this.element&&this.element.nativeElement){var t=this.events;this.subscriptions=[],this.ngZone.runOutsideAngular((function(){for(var n in t)t.hasOwnProperty(n)&&e.subscriptions.push(e.renderer.listen(e.element.nativeElement,n,e.scope?t[n].bind(e.scope):t[n]))}))}},e.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var e=0;e<this.subscriptions.length;e++)this.subscriptions[e]();this.subscriptions=null}},Object(r.__decorate)([Object(i.Input)("kendoEventsOutsideAngular"),Object(r.__metadata)("design:type",Object)],e.prototype,"events",void 0),Object(r.__decorate)([Object(i.Input)(),Object(r.__metadata)("design:type",Object)],e.prototype,"scope",void 0),e=Object(r.__decorate)([Object(i.Directive)({selector:"[kendoEventsOutsideAngular]"}),Object(r.__metadata)("design:paramtypes",[i.ElementRef,i.NgZone,i.Renderer2])],e)}(),U=function(){function e(){}return e=Object(r.__decorate)([Object(i.NgModule)({declarations:[H],exports:[H]})],e)}(),q=function(){function e(e){this.resizeBatchService=e,this.resize=new i.EventEmitter,this.acceptedSize=!1,this.state=0}return e.prototype.acceptSize=function(e){void 0===e&&(e=this.measure()),this.lastWidth=e.width,this.lastHeight=e.height,this.acceptedSize=!0},e.prototype.checkChanges=function(){y()&&0===this.state&&(this.state=1,this.resizeBatchService.schedule(this,this.init))},e.prototype.destroy=function(){this.resizeBatchService.cancel(this)},e.prototype.checkSize=function(){if(this.parentElement){var e=this.measure(),t=e.width,n=e.height;if(!(t===this.lastWidth&&n===this.lastHeight))return this.lastWidth=t,this.lastHeight=n,this.acceptedSize=!1,this.resize.emit(),!0}},e.prototype.initSize=function(){var e=this.measure();this.lastWidth=e.width,this.lastHeight=e.height},e.prototype.measure=function(){var e=0,t=0;return this.parentElement&&(t=this.parentElement.offsetHeight,e=this.parentElement.offsetWidth),{height:t,width:e}},e}(),V=function(e){var t=document.createElement("div");return t.style.cssText=e,t},Z="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",Y=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.element=n,i.ngZone=r,i}return Object(r.__extends)(t,e),t.prototype.checkChanges=function(){2!==this.state?e.prototype.checkChanges.call(this):this.resizeBatchService.isScheduled(this)||this.resizeBatchService.schedule(this,this.checkSize)},t.prototype.destroy=function(){if(e.prototype.destroy.call(this),this.subscription&&this.subscription.unsubscribe(),this.expand){var t=this.element.nativeElement;t.removeChild(this.expand),t.removeChild(this.shrink),this.expand.removeChild(this.expandChild),this.expand=this.expandChild=this.shrink=this.element=null}},t.prototype.checkSize=function(){if(e.prototype.checkSize.call(this))return this.reset(),!0},t.prototype.init=function(){var e,t=this.parentElement=this.element.nativeElement.parentElement;"static"===(e="position",getComputedStyle(t,null).getPropertyValue(e))&&(t.style.position="relative"),this.state=2,this.render(),this.reset(),this.initSize(),this.subscribe()},t.prototype.render=function(){var e=this.element.nativeElement;e.style.cssText=Z,e.setAttribute("dir","ltr"),this.expand=V(Z),this.expandChild=V("position: absolute; left: 0; top: 0; transition: 0s;"),this.expand.appendChild(this.expandChild),e.appendChild(this.expand),this.shrink=V(Z);var t=V("position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;");this.shrink.appendChild(t),e.appendChild(this.shrink)},t.prototype.reset=function(){var e=this.expandChild;e.style.width="100000px",e.style.height="100000px";var t=this.expand;t.scrollLeft=1e5,t.scrollTop=1e5;var n=this.shrink;n.scrollLeft=1e5,n.scrollTop=1e5},t.prototype.subscribe=function(){var e=this;this.ngZone.runOutsideAngular((function(){e.subscription=Object(v.merge)(Object(v.fromEvent)(e.shrink,"scroll"),Object(v.fromEvent)(e.expand,"scroll")).subscribe((function(){e.checkSize()}))}))},t}(q),G="undefined"!=typeof ResizeObserver,X=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.element=n,i.ngZone=r,i}return Object(r.__extends)(t,e),t.supported=function(){return G},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.parentElement=null},t.prototype.init=function(){var e=this;this.parentElement=this.element.nativeElement.parentElement,this.initSize(),this.state=2,this.ngZone.runOutsideAngular((function(){e.resizeObserver=new ResizeObserver((function(){e.checkSize()})),e.resizeObserver.observe(e.parentElement)}))},t}(q),J=function(){function e(e){this.ngZone=e,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}return e.prototype.schedule=function(e,t){var n=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular((function(){n.subscription=Object(v.from)(n.resolvedPromise).subscribe(n.flush)}))},e.prototype.isScheduled=function(e){return Boolean(this.scheduled.find((function(t){return t.instance===e})))},e.prototype.cancel=function(e){for(var t=this.scheduled,n=t.length,r=0;r<n;r++)if(t[r].instance===e)return t.splice(r,1),void(t.length||this.unsubscribe())},e.prototype.ngOnDestroy=function(){this.unsubscribe()},e.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},e.prototype.flush=function(){this.scheduled.forEach((function(e){e.method.call(e.instance)})),this.scheduled=[],this.unsubscribe()},e=Object(r.__decorate)([Object(i.Injectable)(),Object(r.__metadata)("design:paramtypes",[i.NgZone])],e)}(),W=function(){function e(e,t,n){var r=this;this.rateLimit=10,this.resize=new i.EventEmitter;var o=X.supported()?X:Y;this.resizeService=new o(e,t,n);var s=1e3/(this.rateLimit||10);this.subscription=this.resizeService.resize.pipe(Object(b.auditTime)(s)).subscribe((function(){r.resizeService.acceptedSize||r.resize.emit()}))}return e.prototype.ngAfterViewChecked=function(){this.resizeService.checkChanges()},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe(),this.resizeService.destroy()},e.prototype.acceptSize=function(e){this.resizeService.acceptSize(e)},Object(r.__decorate)([Object(i.Input)(),Object(r.__metadata)("design:type",Number)],e.prototype,"rateLimit",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"resize",void 0),e=Object(r.__decorate)([Object(i.Component)({selector:"kendo-resize-sensor",template:""}),Object(r.__metadata)("design:paramtypes",[J,i.ElementRef,i.NgZone])],e)}(),Q=[W],$=function(){function e(){}return e=Object(r.__decorate)([Object(i.NgModule)({declarations:[Q],exports:[Q],providers:[J]})],e)}(),ee=function(){};!function(e){e[e.Alt=18]="Alt",e[e.ArrowDown=40]="ArrowDown",e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowUp=38]="ArrowUp",e[e.Backspace=8]="Backspace",e[e.Control=17]="Control",e[e.Delete=46]="Delete",e[e.Digit0=48]="Digit0",e[e.Digit1=49]="Digit1",e[e.Digit2=50]="Digit2",e[e.Digit3=51]="Digit3",e[e.Digit4=52]="Digit4",e[e.Digit5=53]="Digit5",e[e.Digit6=54]="Digit6",e[e.Digit7=55]="Digit7",e[e.Digit8=56]="Digit8",e[e.Digit9=57]="Digit9",e[e.End=35]="End",e[e.Enter=13]="Enter",e[e.Escape=27]="Escape",e[e.F1=112]="F1",e[e.F2=113]="F2",e[e.F10=121]="F10",e[e.Home=36]="Home",e[e.Insert=45]="Insert",e[e.KeyA=65]="KeyA",e[e.KeyB=66]="KeyB",e[e.KeyC=67]="KeyC",e[e.KeyD=68]="KeyD",e[e.KeyE=69]="KeyE",e[e.KeyF=70]="KeyF",e[e.KeyG=71]="KeyG",e[e.KeyH=72]="KeyH",e[e.KeyI=73]="KeyI",e[e.KeyJ=74]="KeyJ",e[e.KeyK=75]="KeyK",e[e.KeyL=76]="KeyL",e[e.KeyM=77]="KeyM",e[e.KeyN=78]="KeyN",e[e.KeyO=79]="KeyO",e[e.KeyP=80]="KeyP",e[e.KeyQ=81]="KeyQ",e[e.KeyR=82]="KeyR",e[e.KeyS=83]="KeyS",e[e.KeyT=84]="KeyT",e[e.KeyU=85]="KeyU",e[e.KeyV=86]="KeyV",e[e.KeyW=87]="KeyW",e[e.KeyX=88]="KeyX",e[e.KeyY=89]="KeyY",e[e.KeyZ=90]="KeyZ",e[e.NumpadDecimal=110]="NumpadDecimal",e[e.PageDown=34]="PageDown",e[e.PageUp=33]="PageUp",e[e.Shift=16]="Shift",e[e.Space=32]="Space",e[e.Tab=9]="Tab"}(T||(T={}));var te=function(){function e(){this.prevented=!1}return e.prototype.preventDefault=function(){this.prevented=!0},e.prototype.isDefaultPrevented=function(){return this.prevented},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUploadComponent=function(e){return e.wrapper&&("KENDO-UPLOAD"===e.wrapper.tagName||"KENDO-FILESELECT"===e.wrapper.tagName)},t.isInputElement=function(e){return e instanceof HTMLElement},t.inputElementHasAttr=function(e,t){return e.hasAttribute(t)},t.getWrappedNativeInput=function(e){return e.querySelector("kendo-label > input, kendo-label > textarea, kendo-label > select")},t.getRootElement=function(e){if(!e)return null;for(var t=e;t.parentElement;)t=t.parentElement;return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(19),s=n(11),a=[o.LocalizedMessagesDirective,s.CustomMessagesComponent],u=function(){function e(){}return e=r.__decorate([i.NgModule({declarations:[a],exports:[a]})],e)}();t.SharedDirectivesModule=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),r.__decorate([i.Input(),r.__metadata("design:type",String)],t.prototype,"optional",void 0),t}(n(4).ComponentMessages);t.Messages=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(4),s=n(10),a=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return r.__extends(t,e),n=t,Object.defineProperty(t.prototype,"override",{get:function(){return!0},enumerable:!0,configurable:!0}),t=n=r.__decorate([i.Component({providers:[{provide:s.Messages,useExisting:i.forwardRef((function(){return n}))}],selector:"kendo-label-messages, kendo-floatinglabel-messages",template:""}),r.__metadata("design:paramtypes",[o.LocalizationService])],t)}(s.Messages);t.CustomMessagesComponent=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(5),s=n(9),a=[n(13).FloatingLabelComponent],u=function(){function e(){}return e=r.__decorate([i.NgModule({declarations:a.slice(),exports:a.concat([s.SharedDirectivesModule]),imports:[o.CommonModule,s.SharedDirectivesModule]})],e)}();t.FloatingLabelModule=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(4),s=n(20),a=n(7),u=n(14),c=n(15),l=n(21),d=function(e){return"[object Function]"===Object.prototype.toString.call(e)},p=function(){function e(e,t,n,r){this.elementRef=e,this.renderer=t,this.changeDetectorRef=n,this.localization=r,this.hostClasses=!0,this.positionChange=new i.EventEmitter,this.focused=!1,this.empty=!0,this.invalid=!1,this.labelId="k-"+a.guid(),this.autoFillStarted=!1,u.validatePackage(c.packageMetadata),this.direction=r.rtl?"rtl":"ltr",this.renderer.removeAttribute(this.elementRef.nativeElement,"id")}return Object.defineProperty(e.prototype,"labelPosition",{get:function(){return this.empty?this.focused?"Out":"In":"Out"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focusedClass",{get:function(){return this.focused},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalidClass",{get:function(){return this.invalid},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this.validateSetup();var e=new l.FloatingLabelInputAdapter(this.kendoInput||this.formControl.valueAccessor,this.formControl);this.addHandlers(e),this.setLabelFor(e)},e.prototype.ngAfterViewInit=function(){this.kendoInput&&this.setAriaLabelledby(this.kendoInput)},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.textFor=function(e){return this.localization.get(e)},e.prototype.subscribe=function(e,t,n){if(e[t]instanceof i.EventEmitter){var r=e[t].subscribe(n);this.subscription?this.subscription.add(r):this.subscription=r}},e.prototype.updateState=function(){var e=function(e){return 0!==e&&!1!==e&&(!(!Array.isArray(e)||e.length)||!e)},t=this.formControl;if(t){var n=t.valueAccessor;d(n.isEmpty)?this.empty=n.isEmpty():this.empty=e(t.value),this.invalid=t.invalid&&(t.touched||t.dirty)}else this.empty=d(this.kendoInput.isEmpty)?this.kendoInput.isEmpty():e(this.kendoInput.value);this.empty?this.renderer.addClass(this.elementRef.nativeElement,"k-state-empty"):this.renderer.removeClass(this.elementRef.nativeElement,"k-state-empty"),this.changeDetectorRef.markForCheck()},e.prototype.setAriaLabelledby=function(e){var t=e.focusableId||e.id;if(t){var n=this.elementRef.nativeElement.querySelector("#"+t);this.renderer.setAttribute(n,"aria-labelledby",this.labelId)}},e.prototype.setLabelFor=function(e){var t=e.focusableId||e.id;if(this.id&&t)this.id=t;else if(this.id)e.focusableId=this.id;else if(t)this.id=t;else{var n="k-"+a.guid();e.focusableId=n,this.id=n}},e.prototype.handleAutofill=function(e){var t=this;this.subscribe(e,"autoFillStart",(function(){t.autoFillStarted=!0,t.renderer.removeClass(t.elementRef.nativeElement,"k-state-empty")})),this.subscribe(e,"autoFillEnd",(function(){t.autoFillStarted&&(t.autoFillStarted=!1,t.empty&&t.renderer.addClass(t.elementRef.nativeElement,"k-state-empty"))}))},e.prototype.addHandlers=function(e){var t=this,n=function(e){return function(){t.focused=e,t.updateState(),t.empty&&a.hasObservers(t.positionChange)&&t.positionChange.emit(e?"Out":"In")}};this.subscribe(e,"onFocus",n(!0)),this.subscribe(e,"onBlur",n(!1)),this.handleAutofill(e);var r=function(){return t.updateState()};r(),this.subscribe(e,"onValueChange",r)},e.prototype.validateSetup=function(){if(this.formControl||this.kendoInput);else if(i.isDevMode())throw new Error("The FloatingLabelComponent requires a Kendo Input component or a forms-bound component to function properly.")},r.__decorate([i.HostBinding("class.k-floating-label-container"),r.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),r.__decorate([i.HostBinding("class.k-state-focused"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"focusedClass",null),r.__decorate([i.HostBinding("class.k-state-invalid"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"invalidClass",null),r.__decorate([i.HostBinding("attr.dir"),r.__metadata("design:type",String)],e.prototype,"direction",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],e.prototype,"labelCssStyle",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],e.prototype,"labelCssClass",void 0),r.__decorate([i.Input(),r.__metadata("design:type",String)],e.prototype,"id",void 0),r.__decorate([i.Input(),r.__metadata("design:type",String)],e.prototype,"text",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Boolean)],e.prototype,"optional",void 0),r.__decorate([i.Output(),r.__metadata("design:type",i.EventEmitter)],e.prototype,"positionChange",void 0),r.__decorate([i.ContentChild(a.KendoInput,{static:!1}),r.__metadata("design:type",Object)],e.prototype,"kendoInput",void 0),r.__decorate([i.ContentChild(s.NgControl,{static:!1}),r.__metadata("design:type",s.NgControl)],e.prototype,"formControl",void 0),e=r.__decorate([i.Component({selector:"kendo-floatinglabel",exportAs:"kendoFloatingLabel",providers:[o.LocalizationService,{provide:o.L10N_PREFIX,useValue:"kendo.floatinglabel"}],template:'\n <ng-container kendoFloatingLabelLocalizedMessages\n i18n-optional="kendo.floatinglabel.optional|The text for the optional segment of a FloatingLabel component"\n optional="Optional"\n >\n </ng-container>\n <ng-content></ng-content>\n <label *ngIf="text" [ngClass]="labelCssClass" [ngStyle]="labelCssStyle" [for]="id" [attr.id]="labelId" class="k-label">\n {{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor(\'optional\')}})</span>\n </label>\n '}),r.__metadata("design:paramtypes",[i.ElementRef,i.Renderer2,i.ChangeDetectorRef,o.LocalizationService])],e)}();t.FloatingLabelComponent=p},function(e,t,n){"use strict";n.r(t),n.d(t,"setScriptKey",(function(){return c})),n.d(t,"validatePackage",(function(){return l}));var r,i,o=["EMfOwhq=","z3jVDxbfBMq=","B2jQzwn0","u2vLia==","BKDQzKK=","zNvUy3rPB24=","zgf0yq==","D1rPsKq=","z2v0","BgLJzw5Zzuv4CgLYyxrPB25eyxrL","DgLTzxn0yw1W","y29Kzq==","DhLWzq==","C2v0","DMvYC2LVBG==","ChjVzhvJDenVzgvZ","u3PgAeu=","BMfTzq==","sg94tgG=","zun0Beq=","z3jVDxa=","ChjVzhvJDhm=","CgfYC2u=","BfP2zKS=","lcb0AguGCgfJA2fNzsb3yxmGChvIBgLZAgvKig9Uia==","Cfj6wKC=","tM8GBgLJzw5ZzsbMB3vUzc4k","ChjVzhvJDe5HBwu=","uwrAy0q=","BefHr0m=","t3jquwq=","s1Ldrvi=","CNvlCgC=","AgfZ","zxHWAxj5rgf0zq==","CgfJA2fNzu5HBwu=","y3LqC08=","CMr1Aui=","CNvHzve=","zg9JC1vYBa==","uhjVz3jLC3mG","ChvIBgLZAerHDgu=","vgHLihbYB2r1y3qGAxmGBM90igLUy2X1zgvKigLUihrOzsbSAwnLBNnLlGO=","D2fYBG==","B3nTvxa=","swTrwfO=","CLfMrLm=","igzVCIbTB3jLigLUzM9YBwf0Aw9UlGO=","whv2wMO=","rLbJyLa=","ww91CIbSAwnLBNnLigv4CgLYzwqGB24G","C2nYAxb0s2v5","BgLJzw5ZAw5Nrg9JC1vYBa==","tgLJzw5ZzsbHy3rPDMf0Aw9UigzHAwXLzcbMB3iG","EfbArNi=","zMLUza==","Dw5KzwzPBMvK","Dg9mB2nHBgvtDhjPBMC=","BgvUz3rO"];r=o,i=131,function(e){for(;--e;)r.push(r.shift())}(++i);var s=function(e,t){var n=o[e-=0];if(void 0===s.eVebMg){s.JsjtEd=function(e){for(var t=function(e){for(var t,n,r=String(e).replace(/=+$/,""),i="",o=0,s=0;n=r.charAt(s++);~n&&(t=o%4?64*t+n:n,o++%4)?i+=String.fromCharCode(255&t>>(-2*o&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);return i}(e),n=[],r=0,i=t.length;r<i;r++)n+="%"+("00"+t.charCodeAt(r).toString(16)).slice(-2);return decodeURIComponent(n)},s.rqrXoU={},s.eVebMg=!0}var r=s.rqrXoU[e];return void 0===r?(n=s.JsjtEd(n),s.rqrXoU[e]=n):n=r,n},a={data:' {"timestamp":1635163540,"products":[{"trial":false,"code":"KENDOUIREACT","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUICOMPLETE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIVUE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIANGULAR","licenseExpirationDate":1642770000}],"integrity":"Iq+/hmrfWBiuOSBY/c3zb/zGgBg="} '},u=new Map;function c(e){}function l(e){if(u[s("0x14")](e[s("0x4")])){if(s("0x35")==s("0x35"))return u[s("0x36")](e[s("0x4")])}var t,n=e[s("0x1")]?" v"+e[s("0x1")]:"",r=e[s("0x4")]+n,i=JSON[s("0x9")](a[s("0x34")]),o=!i[s("0x26")]&&!i[s("0x38")],c=i[s("0x26")]&&typeof KendoLicensing===s("0x2b"),l=function(e,t){var n=e[s("0x8")];if(!n||!n[s("0x2d")]){if(s("0x11")==s("0x11"))return null}var r=new Set(t);return n[s("0x2a")]((function(e){if(s("0xa")!==s("0x18"))return r[s("0x14")](e[s("0x39")])}))}(i,e[s("0x2")]);if(o||c)if(s("0x29")!=s("0x29")){}else t={type:0,packageName:r,docsUrl:e[s("0x27")]};else if(s("0xf")===s("0x24")){}else if(l){if(s("0x12")!=s("0x12")){}else if(l[s("0x37")]<e[s("0x1c")])if(s("0x21")===s("0x32")){}else t={type:2,packageName:r,publishDate:d(e[s("0x1c")]),expiryDate:d(l[s("0x37")]),docsUrl:e[s("0x27")]}}else if(s("0x6")!=s("0x6")){}else t={type:1,packageName:r,docsUrl:e[s("0x27")]};if(t&&typeof console===s("0x30"))if(s("0x5")===s("0x3")){}else{var p=s("0x1b")+e[s("0xe")],f=typeof console[s("0x7")]===s("0x33");if(f)if(s("0xc")!=s("0xc")){}else console[s("0x7")](p);else if(s("0x17")!=s("0x17")){}else console[s("0x1e")](p);if(console[s("0x1e")](function(e){var t=s("0x28")+e[s("0x16")]+"\n";if(2===e[s("0x3a")])if(s("0x20")!=s("0x20")){}else t+=s("0x25")+e[s("0x15")][s("0x2c")]()+s("0xb")+e[s("0x1c")][s("0x2c")]()+".\n";else if(0===e[s("0x3a")])if(s("0x13")!==s("0x10"))t+=s("0xd");else{}else if(1===e[s("0x3a")])if(s("0x2e")===s("0x23")){}else t+=s("0x1d");return t+=s("0x31")+e[s("0x1a")]+s("0x22")}(t)),f)if(s("0x1f")!==s("0x19"))console[s("0x2f")]();else{}}var h=!t;return u[s("0x0")](e[s("0x4")],h),h}function d(e){return new Date(1e3*e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-label",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1642584099,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(2),s=n(4),a=n(7),u=n(14),c=n(15),l=n(6),d=n(8),p=function(){function e(e,t,n){this.elementRef=e,this.renderer=t,this.localization=n,this.subscriptions=new o.Subscription,u.validatePackage(c.packageMetadata),this.direction=n.rtl?"rtl":"ltr",this.renderer.removeAttribute(this.elementRef.nativeElement,"id")}return e.prototype.ngAfterContentInit=function(){if(this.for)this.control=this.for;else{var e=d.getWrappedNativeInput(this.elementRef.nativeElement);if(e)return e.hasAttribute("id")||this.renderer.setAttribute(e,"id","k-"+a.guid()),void(this.control=e);this.control=this.kendoInput}},e.prototype.ngOnInit=function(){var e=this;this.subscriptions.add(this.localization.changes.subscribe((function(t){var n=t.rtl;e.direction=n?"rtl":"ltr"})))},e.prototype.ngAfterViewInit=function(){this.labelDirective.setAriaLabelledby()},e.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},e.prototype.textFor=function(e){return this.localization.get(e)},r.__decorate([i.HostBinding("attr.dir"),r.__metadata("design:type",String)],e.prototype,"direction",void 0),r.__decorate([i.Input(),r.__metadata("design:type",String)],e.prototype,"text",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],e.prototype,"for",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Boolean)],e.prototype,"optional",void 0),r.__decorate([i.ViewChild(l.LabelDirective,{static:!0}),r.__metadata("design:type",l.LabelDirective)],e.prototype,"labelDirective",void 0),r.__decorate([i.ContentChild(a.KendoInput,{static:!0}),r.__metadata("design:type",Object)],e.prototype,"kendoInput",void 0),e=r.__decorate([i.Component({selector:"kendo-label",exportAs:"kendoLabel",providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.label"}],template:'\n <ng-container kendoLabelLocalizedMessages\n i18n-optional="kendo.label.optional|The text for the optional segment of a Label component"\n optional="Optional"\n >\n </ng-container>\n <label\n [for]="control"\n [class.k-label-empty]="!text">\n {{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor(\'optional\')}})</span>\n </label>\n <ng-content></ng-content>\n '}),r.__metadata("design:paramtypes",[i.ElementRef,i.Renderer2,s.LocalizationService])],e)}();t.LabelComponent=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6);t.LabelDirective=r.LabelDirective;var i=n(18);t.LabelModule=i.LabelModule;var o=n(12);t.FloatingLabelModule=o.FloatingLabelModule;var s=n(13);t.FloatingLabelComponent=s.FloatingLabelComponent;var a=n(16);t.LabelComponent=a.LabelComponent;var u=n(11);t.CustomMessagesComponent=u.CustomMessagesComponent},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(9),o=n(5),s=n(0),a=n(12),u=n(6),c=n(16),l=[u.LabelDirective,c.LabelComponent],d=function(){function e(){}return e=r.__decorate([s.NgModule({imports:[o.CommonModule,i.SharedDirectivesModule],declarations:l.slice(),exports:l.concat([a.FloatingLabelModule,i.SharedDirectivesModule])})],e)}();t.LabelModule=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(4),s=n(10),a=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return r.__extends(t,e),n=t,t=n=r.__decorate([i.Directive({providers:[{provide:s.Messages,useExisting:i.forwardRef((function(){return n}))}],selector:"\n [kendoLabelLocalizedMessages],\n [kendoFloatingLabelLocalizedMessages]\n "}),r.__metadata("design:paramtypes",[o.LocalizationService])],t)}(s.Messages);t.LocalizedMessagesDirective=a},function(e,t){e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=n(0),o=function(){function e(e,t){this.component=e;var n=function(e){return e instanceof r.Observable||e instanceof i.EventEmitter};n(e.onFocus)&&(this.onFocus=e.onFocus),n(e.autoFillStart)&&(this.autoFillStart=e.autoFillStart),n(e.autoFillEnd)&&(this.autoFillEnd=e.autoFillEnd),n(e.onBlur)&&(this.onBlur=e.onBlur),t?this.onValueChange=t.valueChanges:e.onValueChange&&(this.onValueChange=e.onValueChange)}return Object.defineProperty(e.prototype,"focusableId",{get:function(){var e=this.component;return"focusableId"in e?e.focusableId:"id"in e?e.id:""},set:function(e){var t=this.component;"focusableId"in t?t.focusableId=e:"id"in t&&(t.id=e)},enumerable:!0,configurable:!0}),e}();t.FloatingLabelInputAdapter=o}])}));
package/dist/cdn/main.js DELETED
@@ -1,5 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("tslib"),require("rxjs"),require("rxjs/operators"),require("@progress/kendo-angular-common"),require("@angular/common"),require("@progress/kendo-licensing"),require("@angular/forms")):"function"==typeof define&&define.amd?define(["@angular/core","tslib","rxjs","rxjs/operators","@progress/kendo-angular-common","@angular/common","@progress/kendo-licensing","@angular/forms"],t):"object"==typeof exports?exports.KendoAngularLabel=t(require("@angular/core"),require("tslib"),require("rxjs"),require("rxjs/operators"),require("@progress/kendo-angular-common"),require("@angular/common"),require("@progress/kendo-licensing"),require("@angular/forms")):e.KendoAngularLabel=t(e["@angular/core"],e.tslib,e.rxjs,e["rxjs/operators"],e["@progress/kendo-angular-common"],e["@angular/common"],e["@progress/kendo-licensing"],e["@angular/forms"])}(window,(function(e,t,n,o,i,r,a,s){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=17)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";n.r(t),n.d(t,"MessageService",(function(){return s})),n.d(t,"ComponentMessages",(function(){return l})),n.d(t,"L10N_PREFIX",(function(){return c})),n.d(t,"LocalizationService",(function(){return d})),n.d(t,"RTL",(function(){return u}));var o=n(1),i=n(0),r=n(3),a=n(4),s=function(){function e(){this.changes=new r.BehaviorSubject({rtl:void 0})}return e.prototype.notify=function(e){this.changes.next({rtl:e})},e.prototype.get=function(e){},e=Object(o.__decorate)([Object(i.Injectable)()],e)}(),l=function(){function e(){}return Object.defineProperty(e.prototype,"override",{get:function(){return!1},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){this.register(e),Object.keys(e).some((function(t){return!e[t].isFirstChange()}))&&this.service.notifyChanges()},e.prototype.ngOnInit=function(){var e=this;this.subscription=this.service.changes.pipe(Object(a.skip)(1)).subscribe((function(){return e.register(e)}))},e.prototype.register=function(e){var t=this;Object.keys(e).forEach((function(e){return t.service.register(e,t[e],t.override)}))},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},e}(),u=new i.InjectionToken("Kendo UI Right-to-Left token"),c=new i.InjectionToken("Localization key prefix"),d=function(){function e(e,t,n){var o=this;this.prefix=e,this.messageService=t,this._rtl=n,this.changes=new r.BehaviorSubject({rtl:this._rtl}),this.dictionary={},t&&(this.subscription=t.changes.pipe(Object(a.map)((function(e){var t=e.rtl;return void 0!==t?t:o._rtl})),Object(a.tap)((function(e){return o._rtl=e}))).subscribe((function(e){o.dictionary={},o.changes.next({rtl:e})})))}return Object.defineProperty(e.prototype,"rtl",{get:function(){return this._rtl},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.get=function(e){var t=this.key(e);return this.dictionary[t]},e.prototype.register=function(e,t,n){void 0===n&&(n=!1);var o=this.key(e),i=t;if(!n){if(this.dictionary.hasOwnProperty(o))return;i=this.defaultValue(o,t)}this.dictionary[o]=i},e.prototype.notifyChanges=function(){this.changes.next({rtl:this.rtl})},e.prototype.key=function(e){return this.prefix+"."+e},e.prototype.defaultValue=function(e,t){if(!this.messageService)return t;var n=this.messageService.get(e);return void 0===n?t:n},e=Object(o.__decorate)([Object(i.Injectable)(),Object(o.__param)(0,Object(i.Inject)(c)),Object(o.__param)(1,Object(i.Optional)()),Object(o.__param)(2,Object(i.Optional)()),Object(o.__param)(2,Object(i.Inject)(u)),Object(o.__metadata)("design:paramtypes",[String,s,Boolean])],e)}()},function(e,t){e.exports=n},function(e,t){e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(7),r=n(0),a=n(6),s=function(){function e(e,t,n){var o=this;this.label=e,this.renderer=t,this.zone=n,this.labelClass=!0,this.handleClick=function(){var e=o.getFocusableComponent();e&&(i.isUploadComponent(e)&&e.fileSelect.nativeElement.click(),e.focus&&e.focus())}}return Object.defineProperty(e.prototype,"labelFor",{get:function(){if("string"==typeof this.for)return this.for;if(!a.isDocumentAvailable())return null;var e=this.getFocusableComponent()||{};return i.isInputElement(e)&&!i.inputElementHasAttr(e,"id")&&this.renderer.setAttribute(e,"id","k-"+a.guid()),e.focusableId||e.id||null},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var e=this;this.setAriaLabelledby(),this.zone.runOutsideAngular((function(){return e.clickListener=e.renderer.listen(e.label.nativeElement,"click",e.handleClick)}))},e.prototype.ngOnDestroy=function(){this.clickListener&&this.clickListener()},e.prototype.setAriaLabelledby=function(){if(a.isDocumentAvailable()){var e=this.getFocusableComponent();if(e&&e.focusableId){var t=i.getRootElement(this.label.nativeElement).querySelector("#"+e.focusableId);if(!t)return;var n=this.label.nativeElement,o=n.id||"k-"+a.guid();n.getAttribute("id")||this.renderer.setAttribute(n,"id",o),this.renderer.setAttribute(t,"aria-labelledby",o)}}},e.prototype.getFocusableComponent=function(){var e=this.for;return e&&void 0!==e.focus?e:null},o.__decorate([r.Input(),o.__metadata("design:type",Object)],e.prototype,"for",void 0),o.__decorate([r.HostBinding("attr.for"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],e.prototype,"labelFor",null),o.__decorate([r.HostBinding("class.k-label"),o.__metadata("design:type",Boolean)],e.prototype,"labelClass",void 0),e=o.__decorate([r.Directive({selector:"label[for]"}),o.__metadata("design:paramtypes",[r.ElementRef,r.Renderer2,r.NgZone])],e)}();t.LabelDirective=s},function(e,t){e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUploadComponent=function(e){return e.wrapper&&("KENDO-UPLOAD"===e.wrapper.tagName||"KENDO-FILESELECT"===e.wrapper.tagName)},t.isInputElement=function(e){return e instanceof HTMLElement},t.inputElementHasAttr=function(e,t){return e.hasAttribute(t)},t.getWrappedNativeInput=function(e){return e.querySelector("kendo-label > input, kendo-label > textarea, kendo-label > select")},t.getRootElement=function(e){if(!e)return null;for(var t=e;t.parentElement;)t=t.parentElement;return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(19),a=n(10),s=[r.LocalizedMessagesDirective,a.CustomMessagesComponent],l=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:[s],exports:[s]})],e)}();t.SharedDirectivesModule=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"optional",void 0),t}(n(2).ComponentMessages);t.Messages=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(2),a=n(9),s=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return o.__extends(t,e),n=t,Object.defineProperty(t.prototype,"override",{get:function(){return!0},enumerable:!0,configurable:!0}),t=n=o.__decorate([i.Component({providers:[{provide:a.Messages,useExisting:i.forwardRef((function(){return n}))}],selector:"kendo-label-messages, kendo-floatinglabel-messages",template:""}),o.__metadata("design:paramtypes",[r.LocalizationService])],t)}(a.Messages);t.CustomMessagesComponent=s},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(11),a=n(8),s=[n(13).FloatingLabelComponent],l=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:s.slice(),exports:s.concat([a.SharedDirectivesModule]),imports:[r.CommonModule,a.SharedDirectivesModule]})],e)}();t.FloatingLabelModule=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(2),a=n(20),s=n(6),l=n(14),u=n(15),c=n(21),d=function(e){return"[object Function]"===Object.prototype.toString.call(e)},p=function(){function e(e,t,n,o){this.elementRef=e,this.renderer=t,this.changeDetectorRef=n,this.localization=o,this.hostClasses=!0,this.positionChange=new i.EventEmitter,this.focused=!1,this.empty=!0,this.invalid=!1,this.labelId="k-"+s.guid(),this.autoFillStarted=!1,l.validatePackage(u.packageMetadata),this.direction=o.rtl?"rtl":"ltr",this.renderer.removeAttribute(this.elementRef.nativeElement,"id")}return Object.defineProperty(e.prototype,"labelPosition",{get:function(){return this.empty?this.focused?"Out":"In":"Out"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focusedClass",{get:function(){return this.focused},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalidClass",{get:function(){return this.invalid},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this.validateSetup();var e=new c.FloatingLabelInputAdapter(this.kendoInput||this.formControl.valueAccessor,this.formControl);this.addHandlers(e),this.setLabelFor(e)},e.prototype.ngAfterViewInit=function(){this.kendoInput&&this.setAriaLabelledby(this.kendoInput)},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.textFor=function(e){return this.localization.get(e)},e.prototype.subscribe=function(e,t,n){if(e[t]instanceof i.EventEmitter){var o=e[t].subscribe(n);this.subscription?this.subscription.add(o):this.subscription=o}},e.prototype.updateState=function(){var e=function(e){return 0!==e&&!1!==e&&(!(!Array.isArray(e)||e.length)||!e)},t=this.formControl;if(t){var n=t.valueAccessor;d(n.isEmpty)?this.empty=n.isEmpty():this.empty=e(t.value),this.invalid=t.invalid&&(t.touched||t.dirty)}else this.empty=d(this.kendoInput.isEmpty)?this.kendoInput.isEmpty():e(this.kendoInput.value);this.empty?this.renderer.addClass(this.elementRef.nativeElement,"k-state-empty"):this.renderer.removeClass(this.elementRef.nativeElement,"k-state-empty"),this.changeDetectorRef.markForCheck()},e.prototype.setAriaLabelledby=function(e){var t=e.focusableId||e.id;if(t){var n=this.elementRef.nativeElement.querySelector("#"+t);this.renderer.setAttribute(n,"aria-labelledby",this.labelId)}},e.prototype.setLabelFor=function(e){var t=e.focusableId||e.id;if(this.id&&t)this.id=t;else if(this.id)e.focusableId=this.id;else if(t)this.id=t;else{var n="k-"+s.guid();e.focusableId=n,this.id=n}},e.prototype.handleAutofill=function(e){var t=this;this.subscribe(e,"autoFillStart",(function(){t.autoFillStarted=!0,t.renderer.removeClass(t.elementRef.nativeElement,"k-state-empty")})),this.subscribe(e,"autoFillEnd",(function(){t.autoFillStarted&&(t.autoFillStarted=!1,t.empty&&t.renderer.addClass(t.elementRef.nativeElement,"k-state-empty"))}))},e.prototype.addHandlers=function(e){var t=this,n=function(e){return function(){t.focused=e,t.updateState(),t.empty&&s.hasObservers(t.positionChange)&&t.positionChange.emit(e?"Out":"In")}};this.subscribe(e,"onFocus",n(!0)),this.subscribe(e,"onBlur",n(!1)),this.handleAutofill(e);var o=function(){return t.updateState()};o(),this.subscribe(e,"onValueChange",o)},e.prototype.validateSetup=function(){if(this.formControl||this.kendoInput);else if(i.isDevMode())throw new Error("The FloatingLabelComponent requires a Kendo Input component or a forms-bound component to function properly.")},o.__decorate([i.HostBinding("class.k-floating-label-container"),o.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),o.__decorate([i.HostBinding("class.k-state-focused"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"focusedClass",null),o.__decorate([i.HostBinding("class.k-state-invalid"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"invalidClass",null),o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"labelCssStyle",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"labelCssClass",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"id",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"text",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"optional",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"positionChange",void 0),o.__decorate([i.ContentChild(s.KendoInput,{static:!1}),o.__metadata("design:type",Object)],e.prototype,"kendoInput",void 0),o.__decorate([i.ContentChild(a.NgControl,{static:!1}),o.__metadata("design:type",a.NgControl)],e.prototype,"formControl",void 0),e=o.__decorate([i.Component({selector:"kendo-floatinglabel",exportAs:"kendoFloatingLabel",providers:[r.LocalizationService,{provide:r.L10N_PREFIX,useValue:"kendo.floatinglabel"}],template:'\n <ng-container kendoFloatingLabelLocalizedMessages\n i18n-optional="kendo.floatinglabel.optional|The text for the optional segment of a FloatingLabel component"\n optional="Optional"\n >\n </ng-container>\n <ng-content></ng-content>\n <label *ngIf="text" [ngClass]="labelCssClass" [ngStyle]="labelCssStyle" [for]="id" [attr.id]="labelId" class="k-label">\n {{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor(\'optional\')}})</span>\n </label>\n '}),o.__metadata("design:paramtypes",[i.ElementRef,i.Renderer2,i.ChangeDetectorRef,r.LocalizationService])],e)}();t.FloatingLabelComponent=p},function(e,t){e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-label",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1642584099,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(3),a=n(2),s=n(6),l=n(14),u=n(15),c=n(5),d=n(7),p=function(){function e(e,t,n){this.elementRef=e,this.renderer=t,this.localization=n,this.subscriptions=new r.Subscription,l.validatePackage(u.packageMetadata),this.direction=n.rtl?"rtl":"ltr",this.renderer.removeAttribute(this.elementRef.nativeElement,"id")}return e.prototype.ngAfterContentInit=function(){if(this.for)this.control=this.for;else{var e=d.getWrappedNativeInput(this.elementRef.nativeElement);if(e)return e.hasAttribute("id")||this.renderer.setAttribute(e,"id","k-"+s.guid()),void(this.control=e);this.control=this.kendoInput}},e.prototype.ngOnInit=function(){var e=this;this.subscriptions.add(this.localization.changes.subscribe((function(t){var n=t.rtl;e.direction=n?"rtl":"ltr"})))},e.prototype.ngAfterViewInit=function(){this.labelDirective.setAriaLabelledby()},e.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},e.prototype.textFor=function(e){return this.localization.get(e)},o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"text",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"for",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"optional",void 0),o.__decorate([i.ViewChild(c.LabelDirective,{static:!0}),o.__metadata("design:type",c.LabelDirective)],e.prototype,"labelDirective",void 0),o.__decorate([i.ContentChild(s.KendoInput,{static:!0}),o.__metadata("design:type",Object)],e.prototype,"kendoInput",void 0),e=o.__decorate([i.Component({selector:"kendo-label",exportAs:"kendoLabel",providers:[a.LocalizationService,{provide:a.L10N_PREFIX,useValue:"kendo.label"}],template:'\n <ng-container kendoLabelLocalizedMessages\n i18n-optional="kendo.label.optional|The text for the optional segment of a Label component"\n optional="Optional"\n >\n </ng-container>\n <label\n [for]="control"\n [class.k-label-empty]="!text">\n {{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor(\'optional\')}})</span>\n </label>\n <ng-content></ng-content>\n '}),o.__metadata("design:paramtypes",[i.ElementRef,i.Renderer2,a.LocalizationService])],e)}();t.LabelComponent=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.LabelDirective=o.LabelDirective;var i=n(18);t.LabelModule=i.LabelModule;var r=n(12);t.FloatingLabelModule=r.FloatingLabelModule;var a=n(13);t.FloatingLabelComponent=a.FloatingLabelComponent;var s=n(16);t.LabelComponent=s.LabelComponent;var l=n(10);t.CustomMessagesComponent=l.CustomMessagesComponent},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(8),r=n(11),a=n(0),s=n(12),l=n(5),u=n(16),c=[l.LabelDirective,u.LabelComponent],d=function(){function e(){}return e=o.__decorate([a.NgModule({imports:[r.CommonModule,i.SharedDirectivesModule],declarations:c.slice(),exports:c.concat([s.FloatingLabelModule,i.SharedDirectivesModule])})],e)}();t.LabelModule=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(2),a=n(9),s=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return o.__extends(t,e),n=t,t=n=o.__decorate([i.Directive({providers:[{provide:a.Messages,useExisting:i.forwardRef((function(){return n}))}],selector:"\n [kendoLabelLocalizedMessages],\n [kendoFloatingLabelLocalizedMessages]\n "}),o.__metadata("design:paramtypes",[r.LocalizationService])],t)}(a.Messages);t.LocalizedMessagesDirective=s},function(e,t){e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),i=n(0),r=function(){function e(e,t){this.component=e;var n=function(e){return e instanceof o.Observable||e instanceof i.EventEmitter};n(e.onFocus)&&(this.onFocus=e.onFocus),n(e.autoFillStart)&&(this.autoFillStart=e.autoFillStart),n(e.autoFillEnd)&&(this.autoFillEnd=e.autoFillEnd),n(e.onBlur)&&(this.onBlur=e.onBlur),t?this.onValueChange=t.valueChanges:e.onValueChange&&(this.onValueChange=e.onValueChange)}return Object.defineProperty(e.prototype,"focusableId",{get:function(){var e=this.component;return"focusableId"in e?e.focusableId:"id"in e?e.id:""},set:function(e){var t=this.component;"focusableId"in t?t.focusableId=e:"id"in t&&(t.id=e)},enumerable:!0,configurable:!0}),e}();t.FloatingLabelInputAdapter=r}])}));
@@ -1,58 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Observable } from 'rxjs';
6
- import { EventEmitter } from '@angular/core';
7
- /**
8
- * @hidden
9
- */
10
- var FloatingLabelInputAdapter = /** @class */ (function () {
11
- function FloatingLabelInputAdapter(component, formControl) {
12
- this.component = component;
13
- var isObservableOrEventEmitter = function (event) { return event instanceof Observable || event instanceof EventEmitter; };
14
- if (isObservableOrEventEmitter(component.onFocus)) {
15
- this.onFocus = component.onFocus;
16
- }
17
- if (isObservableOrEventEmitter(component.autoFillStart)) {
18
- this.autoFillStart = component.autoFillStart;
19
- }
20
- if (isObservableOrEventEmitter(component.autoFillEnd)) {
21
- this.autoFillEnd = component.autoFillEnd;
22
- }
23
- if (isObservableOrEventEmitter(component.onBlur)) {
24
- this.onBlur = component.onBlur;
25
- }
26
- if (formControl) {
27
- this.onValueChange = formControl.valueChanges;
28
- }
29
- else if (component.onValueChange) {
30
- this.onValueChange = component.onValueChange;
31
- }
32
- }
33
- Object.defineProperty(FloatingLabelInputAdapter.prototype, "focusableId", {
34
- get: function () {
35
- var component = this.component;
36
- if ('focusableId' in component) {
37
- return component.focusableId;
38
- }
39
- else if ('id' in component) {
40
- return component.id;
41
- }
42
- return "";
43
- },
44
- set: function (value) {
45
- var component = this.component;
46
- if ('focusableId' in component) {
47
- component.focusableId = value;
48
- }
49
- else if ('id' in component) {
50
- component.id = value;
51
- }
52
- },
53
- enumerable: true,
54
- configurable: true
55
- });
56
- return FloatingLabelInputAdapter;
57
- }());
58
- export { FloatingLabelInputAdapter };