@progress/kendo-angular-utils 0.1.0

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 (64) hide show
  1. package/LICENSE.md +11 -0
  2. package/NOTICE.txt +654 -0
  3. package/README.md +31 -0
  4. package/bundles/kendo-angular-utils.umd.js +5 -0
  5. package/drag-and-drop/drag-state.service.d.ts +52 -0
  6. package/drag-and-drop/draghandle.directive.d.ts +16 -0
  7. package/drag-and-drop/dragtarget.directive.d.ts +155 -0
  8. package/drag-and-drop/droptarget.directive.d.ts +67 -0
  9. package/drag-and-drop/events/drag-target/drag-event.d.ts +23 -0
  10. package/drag-and-drop/events/drag-target/end-event.d.ts +23 -0
  11. package/drag-and-drop/events/drag-target/index.d.ts +9 -0
  12. package/drag-and-drop/events/drag-target/press-event.d.ts +22 -0
  13. package/drag-and-drop/events/drag-target/release-event.d.ts +22 -0
  14. package/drag-and-drop/events/drag-target/start-event.d.ts +23 -0
  15. package/drag-and-drop/events/drop-target/drop-event.d.ts +23 -0
  16. package/drag-and-drop/events/drop-target/enter-event.d.ts +23 -0
  17. package/drag-and-drop/events/drop-target/index.d.ts +8 -0
  18. package/drag-and-drop/events/drop-target/leave-event.d.ts +23 -0
  19. package/drag-and-drop/events/drop-target/over-event.d.ts +23 -0
  20. package/drag-and-drop/hint.component.d.ts +20 -0
  21. package/drag-and-drop/models/allowed-target.d.ts +16 -0
  22. package/drag-and-drop/models/autoscroll-options.d.ts +23 -0
  23. package/drag-and-drop/models/dragaxis.d.ts +8 -0
  24. package/drag-and-drop/models/index.d.ts +8 -0
  25. package/drag-and-drop/models/scroll-direction.d.ts +8 -0
  26. package/drag-and-drop/util.d.ts +29 -0
  27. package/drag-and-drop.module.d.ts +15 -0
  28. package/esm2015/drag-and-drop/drag-state.service.js +126 -0
  29. package/esm2015/drag-and-drop/draghandle.directive.js +27 -0
  30. package/esm2015/drag-and-drop/dragtarget.directive.js +389 -0
  31. package/esm2015/drag-and-drop/droptarget.directive.js +134 -0
  32. package/esm2015/drag-and-drop/events/drag-target/drag-event.js +17 -0
  33. package/esm2015/drag-and-drop/events/drag-target/end-event.js +17 -0
  34. package/esm2015/drag-and-drop/events/drag-target/index.js +9 -0
  35. package/esm2015/drag-and-drop/events/drag-target/press-event.js +15 -0
  36. package/esm2015/drag-and-drop/events/drag-target/release-event.js +15 -0
  37. package/esm2015/drag-and-drop/events/drag-target/start-event.js +17 -0
  38. package/esm2015/drag-and-drop/events/drop-target/drop-event.js +17 -0
  39. package/esm2015/drag-and-drop/events/drop-target/enter-event.js +17 -0
  40. package/esm2015/drag-and-drop/events/drop-target/index.js +8 -0
  41. package/esm2015/drag-and-drop/events/drop-target/leave-event.js +17 -0
  42. package/esm2015/drag-and-drop/events/drop-target/over-event.js +17 -0
  43. package/esm2015/drag-and-drop/hint.component.js +49 -0
  44. package/esm2015/drag-and-drop/models/allowed-target.js +5 -0
  45. package/esm2015/drag-and-drop/models/autoscroll-options.js +5 -0
  46. package/esm2015/drag-and-drop/models/dragaxis.js +5 -0
  47. package/esm2015/drag-and-drop/models/index.js +5 -0
  48. package/esm2015/drag-and-drop/models/scroll-direction.js +5 -0
  49. package/esm2015/drag-and-drop/util.js +30 -0
  50. package/esm2015/drag-and-drop.module.js +36 -0
  51. package/esm2015/kendo-angular-utils.js +8 -0
  52. package/esm2015/main.js +12 -0
  53. package/esm2015/package-metadata.js +15 -0
  54. package/esm2015/utils.module.js +49 -0
  55. package/fesm2015/kendo-angular-utils.js +925 -0
  56. package/kendo-angular-utils.d.ts +9 -0
  57. package/main.d.ts +13 -0
  58. package/package-metadata.d.ts +9 -0
  59. package/package.json +81 -0
  60. package/schematics/collection.json +12 -0
  61. package/schematics/ngAdd/index.js +21 -0
  62. package/schematics/ngAdd/index.js.map +1 -0
  63. package/schematics/ngAdd/schema.json +28 -0
  64. package/utils.module.d.ts +42 -0
@@ -0,0 +1,9 @@
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
+ /**
6
+ * Generated bundle index. Do not edit.
7
+ */
8
+ /// <amd-module name="@progress/kendo-angular-utils" />
9
+ export * from './main';
package/main.d.ts ADDED
@@ -0,0 +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
+ *-------------------------------------------------------------------------------------------*/
5
+ export { UtilsModule } from './utils.module';
6
+ export { DragAndDropModule } from './drag-and-drop.module';
7
+ export { DragTargetDirective } from './drag-and-drop/dragtarget.directive';
8
+ export { DragHandleDirective } from './drag-and-drop/draghandle.directive';
9
+ export { DropTargetDirective } from './drag-and-drop/droptarget.directive';
10
+ export { HintComponent } from './drag-and-drop/hint.component';
11
+ export { DragAxis, AutoScrollOptions, AllowedTargetFn, ScrollDirection } from './drag-and-drop/models/index';
12
+ export * from './drag-and-drop/events/drag-target';
13
+ export * from './drag-and-drop/events/drop-target';
@@ -0,0 +1,9 @@
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 { PackageMetadata } from '@progress/kendo-licensing';
6
+ /**
7
+ * @hidden
8
+ */
9
+ export declare const packageMetadata: PackageMetadata;
package/package.json ADDED
@@ -0,0 +1,81 @@
1
+ {
2
+ "name": "@progress/kendo-angular-utils",
3
+ "version": "0.1.0",
4
+ "description": "Kendo UI Angular Utilities package",
5
+ "license": "SEE LICENSE IN LICENSE.md",
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-utils.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/telerik/kendo-angular"
14
+ },
15
+ "keywords": [
16
+ "Angular",
17
+ "Kendo UI",
18
+ "Drag and Drop",
19
+ "Draggable"
20
+ ],
21
+ "@progress": {
22
+ "friendlyName": "Utilities"
23
+ },
24
+ "dependencies": {
25
+ "@progress/kendo-schematics": "^3.0.0",
26
+ "@progress/kendo-draggable-common": "dev",
27
+ "tslib": "^2.3.1"
28
+ },
29
+ "peerDependencies": {
30
+ "@angular/common": "12 - 14",
31
+ "@angular/core": "12 - 14",
32
+ "@progress/kendo-angular-common": "^3.0.0",
33
+ "@progress/kendo-licensing": "^1.0.0",
34
+ "rxjs": "^6.4.0 || ^7.0.0"
35
+ },
36
+ "config": {
37
+ "commitizen": {
38
+ "path": "./node_modules/cz-conventional-changelog"
39
+ },
40
+ "ghooks": {
41
+ "commit-msg": "validate-commit-msg"
42
+ },
43
+ "validate-commit-msg": {
44
+ "types": [
45
+ "feat",
46
+ "fix",
47
+ "docs",
48
+ "style",
49
+ "refactor",
50
+ "perf",
51
+ "test",
52
+ "chore",
53
+ "revert"
54
+ ],
55
+ "warnOnFail": false,
56
+ "maxSubjectLength": 100
57
+ }
58
+ },
59
+ "schematics": "./schematics/collection.json",
60
+ "release": {
61
+ "debug": false,
62
+ "branchTags": {
63
+ "develop": "dev"
64
+ },
65
+ "fallbackTags": {
66
+ "dev": "latest"
67
+ },
68
+ "analyzeCommits": "@progress/semantic-prerelease/analyzeCommits",
69
+ "generateNotes": "@progress/kendo-angular-tasks/lib/generateNotes",
70
+ "getLastRelease": "@progress/semantic-prerelease/getLastRelease",
71
+ "verifyConditions": "@progress/semantic-prerelease/verifyConditions",
72
+ "verifyRelease": "@progress/semantic-prerelease/verifyRelease"
73
+ },
74
+ "main": "bundles/kendo-angular-utils.umd.js",
75
+ "module": "fesm2015/kendo-angular-utils.js",
76
+ "es2015": "fesm2015/kendo-angular-utils.js",
77
+ "esm2015": "esm2015/kendo-angular-utils.js",
78
+ "fesm2015": "fesm2015/kendo-angular-utils.js",
79
+ "typings": "kendo-angular-utils.d.ts",
80
+ "sideEffects": false
81
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
3
+ "schematics": {
4
+ "ng-add": {
5
+ "description": "Adds Kendo Angular Package to the application.",
6
+ "factory": "./ngAdd",
7
+ "schema": "./ngAdd/schema.json",
8
+ "hidden": true,
9
+ "private": true
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,21 @@
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
+ "use strict";
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ const schematics_1 = require("@angular-devkit/schematics");
8
+ function default_1(options) {
9
+ const finalOptions = Object.assign(Object.assign({}, options), {
10
+ // Default module to import, e.g 'GridModule'
11
+ mainNgModule: '',
12
+ // Package name, e.g 'grid'
13
+ package: '',
14
+ // Additional dependencies to install.
15
+ // See https://github.com/telerik/kendo-schematics/issues/28
16
+ peerDependencies: {
17
+ // "@progress/kendo-angular-foo": "^1.0.0"
18
+ } });
19
+ return schematics_1.externalSchematic('@progress/kendo-schematics', 'ng-add', finalOptions);
20
+ }
21
+ exports.default = default_1;
@@ -0,0 +1 @@
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;QAEV,6CAA6C;QAC7C,YAAY,EAAE,EAAE;QAEhB,2BAA2B;QAC3B,OAAO,EAAE,EAAE;QAEX,sCAAsC;QACtC,4DAA4D;QAC5D,gBAAgB,EAAE;QACd,0CAA0C;SAC7C,GACJ,CAAC;IAEF,OAAO,8BAAiB,CAAC,4BAA4B,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACnF,CAAC;AAlBD,4BAkBC"}
@@ -0,0 +1,28 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "SchematicsKendoAngularPackage",
4
+ "title": "Kendo Angular Package Options Schema",
5
+ "type": "object",
6
+ "properties": {
7
+ "theme": {
8
+ "enum": [
9
+ "default",
10
+ "bootstrap",
11
+ "material"
12
+ ],
13
+ "default": "default",
14
+ "description": "The theme to apply"
15
+ },
16
+ "export": {
17
+ "type": "boolean",
18
+ "default": false,
19
+ "description": "Specifies if declaring module exports the component."
20
+ },
21
+ "skipInstall": {
22
+ "description": "Skip installing Kendo dependency packages.",
23
+ "type": "boolean",
24
+ "default": false
25
+ }
26
+ },
27
+ "required": []
28
+ }
@@ -0,0 +1,42 @@
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 "./drag-and-drop.module";
7
+ /**
8
+ * Represents the [NgModule]({{ site.data.urls.angular['ngmodules'] }})
9
+ * definition for the Utils components.
10
+ *
11
+ * @example
12
+ *
13
+ * ```ts-no-run
14
+ * // Import the Utils module
15
+ * import { UtilsModule } from '@progress/kendo-angular-utils';
16
+ *
17
+ * // The browser platform with a compiler
18
+ * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
19
+ *
20
+ * import { NgModule } from '@angular/core';
21
+ *
22
+ * // Import the app component
23
+ * import { AppComponent } from './app.component';
24
+ *
25
+ * // Define the app module
26
+ * _@NgModule({
27
+ * declarations: [AppComponent], // declare app component
28
+ * imports: [BrowserModule, UtilsModule], // import Utils module
29
+ * bootstrap: [AppComponent]
30
+ * })
31
+ * export class AppModule {}
32
+ *
33
+ * // Compile and launch the module
34
+ * platformBrowserDynamic().bootstrapModule(AppModule);
35
+ *
36
+ * ```
37
+ */
38
+ export declare class UtilsModule {
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<UtilsModule, never>;
40
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UtilsModule, never, never, [typeof i1.DragAndDropModule]>;
41
+ static ɵinj: i0.ɵɵInjectorDeclaration<UtilsModule>;
42
+ }