@progress/kendo-angular-utils 0.1.3 → 11.0.0-develop.100
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.
- package/LICENSE.md +1 -1
- package/NOTICE.txt +4 -4
- package/README.md +1 -1
- package/drag-and-drop/drag-state.service.d.ts +1 -1
- package/drag-and-drop/draghandle.directive.d.ts +1 -1
- package/drag-and-drop/dragtarget.directive.d.ts +1 -1
- package/drag-and-drop/droptarget.directive.d.ts +1 -1
- package/drag-and-drop/events/drag-target/drag-event.d.ts +1 -1
- package/drag-and-drop/events/drag-target/end-event.d.ts +1 -1
- package/drag-and-drop/events/drag-target/index.d.ts +1 -1
- package/drag-and-drop/events/drag-target/press-event.d.ts +1 -1
- package/drag-and-drop/events/drag-target/start-event.d.ts +1 -1
- package/drag-and-drop/events/drop-target/drop-event.d.ts +1 -1
- package/drag-and-drop/events/drop-target/enter-event.d.ts +1 -1
- package/drag-and-drop/events/drop-target/index.d.ts +1 -1
- package/drag-and-drop/events/drop-target/leave-event.d.ts +1 -1
- package/drag-and-drop/events/drop-target/over-event.d.ts +1 -1
- package/drag-and-drop/hint.component.d.ts +1 -1
- package/drag-and-drop/models/allowed-target.d.ts +1 -1
- package/drag-and-drop/models/autoscroll-options.d.ts +1 -1
- package/drag-and-drop/models/coordinates.d.ts +1 -1
- package/drag-and-drop/models/dragaxis.d.ts +1 -1
- package/drag-and-drop/models/index.d.ts +1 -1
- package/drag-and-drop/models/scroll-direction.d.ts +1 -1
- package/drag-and-drop/util.d.ts +1 -1
- package/drag-and-drop.module.d.ts +1 -1
- package/{esm2015/drag-and-drop/drag-state.service.js → esm2020/drag-and-drop/drag-state.service.mjs} +4 -4
- package/{esm2015/drag-and-drop/draghandle.directive.js → esm2020/drag-and-drop/draghandle.directive.mjs} +5 -5
- package/{esm2015/drag-and-drop/dragtarget.directive.js → esm2020/drag-and-drop/dragtarget.directive.mjs} +7 -6
- package/{esm2015/drag-and-drop/droptarget.directive.js → esm2020/drag-and-drop/droptarget.directive.mjs} +6 -5
- package/{esm2015/drag-and-drop/events/drag-target/drag-event.js → esm2020/drag-and-drop/events/drag-target/drag-event.mjs} +1 -1
- package/{esm2015/drag-and-drop/events/drag-target/end-event.js → esm2020/drag-and-drop/events/drag-target/end-event.mjs} +1 -1
- package/{esm2015/drag-and-drop/events/drag-target/index.js → esm2020/drag-and-drop/events/drag-target/index.mjs} +1 -1
- package/{esm2015/drag-and-drop/events/drag-target/press-event.js → esm2020/drag-and-drop/events/drag-target/press-event.mjs} +1 -1
- package/{esm2015/drag-and-drop/events/drag-target/start-event.js → esm2020/drag-and-drop/events/drag-target/start-event.mjs} +1 -1
- package/{esm2015/drag-and-drop/events/drop-target/drop-event.js → esm2020/drag-and-drop/events/drop-target/drop-event.mjs} +1 -1
- package/{esm2015/drag-and-drop/events/drop-target/enter-event.js → esm2020/drag-and-drop/events/drop-target/enter-event.mjs} +1 -1
- package/{esm2015/drag-and-drop/events/drop-target/index.js → esm2020/drag-and-drop/events/drop-target/index.mjs} +1 -1
- package/{esm2015/drag-and-drop/events/drop-target/leave-event.js → esm2020/drag-and-drop/events/drop-target/leave-event.mjs} +1 -1
- package/{esm2015/drag-and-drop/events/drop-target/over-event.js → esm2020/drag-and-drop/events/drop-target/over-event.mjs} +1 -1
- package/{esm2015/drag-and-drop/hint.component.js → esm2020/drag-and-drop/hint.component.mjs} +5 -5
- package/{esm2015/drag-and-drop/models/dragaxis.js → esm2020/drag-and-drop/models/allowed-target.mjs} +1 -1
- package/{esm2015/drag-and-drop/models/autoscroll-options.js → esm2020/drag-and-drop/models/autoscroll-options.mjs} +1 -1
- package/{esm2015/drag-and-drop/models/allowed-target.js → esm2020/drag-and-drop/models/coordinates.mjs} +1 -1
- package/{esm2015/drag-and-drop/models/coordinates.js → esm2020/drag-and-drop/models/dragaxis.mjs} +1 -1
- package/esm2020/drag-and-drop/models/index.mjs +5 -0
- package/esm2020/drag-and-drop/models/scroll-direction.mjs +5 -0
- package/{esm2015/drag-and-drop/util.js → esm2020/drag-and-drop/util.mjs} +1 -1
- package/{esm2015/drag-and-drop.module.js → esm2020/drag-and-drop.module.mjs} +5 -5
- package/{esm2015/main.js → esm2020/index.mjs} +1 -1
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/{esm2015/kendo-angular-utils.js → esm2020/progress-kendo-angular-utils.mjs} +2 -2
- package/{esm2015/utils.module.js → esm2020/utils.module.mjs} +5 -5
- package/fesm2015/{kendo-angular-utils.js → progress-kendo-angular-utils.mjs} +27 -27
- package/fesm2020/progress-kendo-angular-utils.mjs +960 -0
- package/{main.d.ts → index.d.ts} +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +32 -59
- package/{kendo-angular-utils.d.ts → progress-kendo-angular-utils.d.ts} +2 -2
- package/utils.module.d.ts +1 -1
- package/bundles/kendo-angular-utils.umd.js +0 -5
- package/esm2015/drag-and-drop/models/index.js +0 -5
- package/esm2015/drag-and-drop/models/scroll-direction.js +0 -5
- package/schematics/collection.json +0 -12
- package/schematics/ngAdd/index.js +0 -21
- package/schematics/ngAdd/index.js.map +0 -1
- package/schematics/ngAdd/schema.json +0 -28
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
6
|
* Generated bundle index. Do not edit.
|
|
7
7
|
*/
|
|
8
|
-
export * from './
|
|
8
|
+
export * from './index';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
@@ -38,10 +38,10 @@ import * as i0 from "@angular/core";
|
|
|
38
38
|
*/
|
|
39
39
|
export class UtilsModule {
|
|
40
40
|
}
|
|
41
|
-
UtilsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
42
|
-
UtilsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
43
|
-
UtilsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
41
|
+
UtilsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UtilsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
42
|
+
UtilsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UtilsModule, exports: [DragAndDropModule] });
|
|
43
|
+
UtilsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UtilsModule, imports: [DragAndDropModule] });
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UtilsModule, decorators: [{
|
|
45
45
|
type: NgModule,
|
|
46
46
|
args: [{
|
|
47
47
|
exports: [DragAndDropModule]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
@@ -17,9 +17,9 @@ const packageMetadata = {
|
|
|
17
17
|
name: '@progress/kendo-angular-utils',
|
|
18
18
|
productName: 'Kendo UI for Angular',
|
|
19
19
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
20
|
-
publishDate:
|
|
20
|
+
publishDate: 1673469105,
|
|
21
21
|
version: '',
|
|
22
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license
|
|
22
|
+
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -31,9 +31,9 @@ class DragHandleDirective {
|
|
|
31
31
|
this.hostClass = true;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
DragHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
35
|
-
DragHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
34
|
+
DragHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragHandleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
35
|
+
DragHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DragHandleDirective, selector: "[kendoDragHandle]", host: { properties: { "class.k-cursor-pointer": "this.hostClass" } }, exportAs: ["kendoDragHandle"], ngImport: i0 });
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragHandleDirective, decorators: [{
|
|
37
37
|
type: Directive,
|
|
38
38
|
args: [{
|
|
39
39
|
selector: '[kendoDragHandle]',
|
|
@@ -133,12 +133,12 @@ class HintComponent {
|
|
|
133
133
|
this.touchAction = 'none';
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
HintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
137
|
-
HintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
136
|
+
HintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HintComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
137
|
+
HintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: HintComponent, selector: "ng-component", inputs: { template: "template", directive: "directive" }, host: { properties: { "class.k-pos-absolute": "this.hostClasses", "class.k-cursor-grab": "this.hostClasses", "style.zIndex": "this.zIndex", "style.touch-action": "this.touchAction" } }, ngImport: i0, template: `
|
|
138
138
|
<ng-container *ngTemplateOutlet="template; context: { $implicit: directive }">
|
|
139
139
|
</ng-container>
|
|
140
140
|
`, isInline: true, directives: [{ type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HintComponent, decorators: [{
|
|
142
142
|
type: Component,
|
|
143
143
|
args: [{
|
|
144
144
|
template: `
|
|
@@ -275,9 +275,9 @@ class DragStateService {
|
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
|
-
DragStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
279
|
-
DragStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
278
|
+
DragStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
279
|
+
DragStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragStateService, providedIn: 'root' });
|
|
280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragStateService, decorators: [{
|
|
281
281
|
type: Injectable,
|
|
282
282
|
args: [{
|
|
283
283
|
providedIn: 'root'
|
|
@@ -518,7 +518,7 @@ class DragTargetDirective {
|
|
|
518
518
|
this.dragTimeout = null;
|
|
519
519
|
this.pressed = false;
|
|
520
520
|
}
|
|
521
|
-
const isDroppedOverParentTarget = isPresent(this.service.dropTarget) && !contains(this.service.dropTarget, this.service.dragTarget, true);
|
|
521
|
+
const isDroppedOverParentTarget = isPresent(this.service.dropTarget) && !contains(this.service.dropTarget.element, this.service.dragTarget.element, true);
|
|
522
522
|
const elem = this.hint ? this.hintElem : this.nativeElement;
|
|
523
523
|
if (isDroppedOverParentTarget || this.service.dropTargets.length > 0) {
|
|
524
524
|
this.renderer.removeStyle(elem, 'transform');
|
|
@@ -631,9 +631,9 @@ class DragTargetDirective {
|
|
|
631
631
|
return eventArgs;
|
|
632
632
|
}
|
|
633
633
|
}
|
|
634
|
-
DragTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
635
|
-
DragTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
636
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
634
|
+
DragTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragTargetDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: DragStateService }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Directive });
|
|
635
|
+
DragTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DragTargetDirective, selector: "[kendoDragTarget]", inputs: { hintTemplate: "hintTemplate", threshold: "threshold", autoScroll: "autoScroll", link: "link", dragDelay: "dragDelay", restrictByAxis: "restrictByAxis" }, outputs: { press: "press", dragStart: "dragStart", drag: "drag", dragReady: "dragReady", release: "release", dragEnd: "dragEnd" }, host: { properties: { "style.touch-action": "this.touchAction" } }, queries: [{ propertyName: "dragHandles", predicate: DragHandleDirective }], exportAs: ["kendoDragTarget"], ngImport: i0 });
|
|
636
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragTargetDirective, decorators: [{
|
|
637
637
|
type: Directive,
|
|
638
638
|
args: [{
|
|
639
639
|
selector: '[kendoDragTarget]',
|
|
@@ -831,9 +831,9 @@ class DropTargetDirective {
|
|
|
831
831
|
};
|
|
832
832
|
}
|
|
833
833
|
}
|
|
834
|
-
DropTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
835
|
-
DropTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
836
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
834
|
+
DropTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropTargetDirective, deps: [{ token: DragStateService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
835
|
+
DropTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DropTargetDirective, selector: "[kendoDropTarget]", inputs: { allowedDragTargets: "allowedDragTargets" }, outputs: { dragEnter: "dragEnter", dragOver: "dragOver", dragLeave: "dragLeave", drop: "drop" }, exportAs: ["kendoDropTarget"], ngImport: i0 });
|
|
836
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropTargetDirective, decorators: [{
|
|
837
837
|
type: Directive,
|
|
838
838
|
args: [{
|
|
839
839
|
selector: '[kendoDropTarget]',
|
|
@@ -890,16 +890,16 @@ const EXPORTS = [
|
|
|
890
890
|
*/
|
|
891
891
|
class DragAndDropModule {
|
|
892
892
|
}
|
|
893
|
-
DragAndDropModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
894
|
-
DragAndDropModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
893
|
+
DragAndDropModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragAndDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
894
|
+
DragAndDropModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragAndDropModule, declarations: [DragTargetDirective,
|
|
895
895
|
DragHandleDirective,
|
|
896
896
|
DropTargetDirective,
|
|
897
897
|
HintComponent], imports: [CommonModule], exports: [DragTargetDirective,
|
|
898
898
|
DragHandleDirective,
|
|
899
899
|
DropTargetDirective,
|
|
900
900
|
HintComponent] });
|
|
901
|
-
DragAndDropModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
902
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
901
|
+
DragAndDropModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragAndDropModule, imports: [[CommonModule]] });
|
|
902
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragAndDropModule, decorators: [{
|
|
903
903
|
type: NgModule,
|
|
904
904
|
args: [{
|
|
905
905
|
declarations: [...EXPORTS],
|
|
@@ -942,10 +942,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
942
942
|
*/
|
|
943
943
|
class UtilsModule {
|
|
944
944
|
}
|
|
945
|
-
UtilsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
946
|
-
UtilsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
947
|
-
UtilsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
948
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
945
|
+
UtilsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UtilsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
946
|
+
UtilsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UtilsModule, exports: [DragAndDropModule] });
|
|
947
|
+
UtilsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UtilsModule, imports: [DragAndDropModule] });
|
|
948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UtilsModule, decorators: [{
|
|
949
949
|
type: NgModule,
|
|
950
950
|
args: [{
|
|
951
951
|
exports: [DragAndDropModule]
|