@acorex/cdk 19.14.0 → 19.14.2

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 (66) hide show
  1. package/common/README.md +3 -0
  2. package/common/index.d.ts +33 -0
  3. package/common/lib/classes/components.class.d.ts +97 -0
  4. package/common/lib/classes/datalist.class.d.ts +37 -0
  5. package/common/lib/classes/datasource.class.d.ts +87 -0
  6. package/common/lib/classes/events.class.d.ts +96 -0
  7. package/common/lib/classes/styles.class.d.ts +12 -0
  8. package/common/lib/common.module.d.ts +10 -0
  9. package/common/lib/components/base-component.class.d.ts +42 -0
  10. package/common/lib/components/button-base-component.class.d.ts +55 -0
  11. package/common/lib/components/color-component.class.d.ts +12 -0
  12. package/common/lib/components/colorlook-component.class.d.ts +6 -0
  13. package/common/lib/components/input-base-value-component.class.d.ts +35 -0
  14. package/common/lib/components/interactive-component.class.d.ts +57 -0
  15. package/common/lib/components/look-component.class.d.ts +18 -0
  16. package/common/lib/components/selection-base.component.class.d.ts +53 -0
  17. package/common/lib/components/value-component.class.d.ts +70 -0
  18. package/common/lib/directives/auto-focus.directive.d.ts +17 -0
  19. package/common/lib/directives/copy-clipboard.directive.d.ts +40 -0
  20. package/common/lib/directives/delayed-value-changed.directive.d.ts +17 -0
  21. package/common/lib/directives/hotkey.directive.d.ts +22 -0
  22. package/common/lib/directives/infinite-scroll.directive.d.ts +25 -0
  23. package/common/lib/directives/inverted-color.directive.d.ts +12 -0
  24. package/common/lib/directives/responsive.directive.d.ts +10 -0
  25. package/common/lib/directives/ripple.directive.d.ts +18 -0
  26. package/common/lib/interfaces/component.interface.d.ts +4 -0
  27. package/common/lib/services/dom.service.d.ts +6 -0
  28. package/common/lib/services/hotkey.service.d.ts +31 -0
  29. package/common/lib/types/animation.d.ts +1 -0
  30. package/common/lib/types/base/button.type.d.ts +8 -0
  31. package/common/lib/types/base/color.type.d.ts +7 -0
  32. package/common/lib/types/base/component.types.d.ts +8 -0
  33. package/common/lib/types/base/events.types.d.ts +21 -0
  34. package/common/lib/types/base/index.d.ts +7 -0
  35. package/common/lib/types/base/interactive.type.d.ts +13 -0
  36. package/common/lib/types/base/look.type.d.ts +7 -0
  37. package/common/lib/types/base/value.type.d.ts +9 -0
  38. package/common/lib/types/direction.d.ts +4 -0
  39. package/common/lib/types/orientation.d.ts +4 -0
  40. package/common/lib/types/placement.d.ts +30 -0
  41. package/common/lib/types/range.d.ts +4 -0
  42. package/common/lib/types/selection-mode.d.ts +4 -0
  43. package/drag-drop/lib/drag.directive.d.ts +1 -0
  44. package/drag-drop/lib/drop-zone.directive.d.ts +4 -6
  45. package/drawer/lib/drawer-item.directive.d.ts +1 -1
  46. package/fesm2022/acorex-cdk-carousel.mjs +3 -3
  47. package/fesm2022/acorex-cdk-collapse.mjs +19 -19
  48. package/fesm2022/acorex-cdk-common.mjs +2087 -0
  49. package/fesm2022/acorex-cdk-common.mjs.map +1 -0
  50. package/fesm2022/acorex-cdk-dom.mjs +3 -3
  51. package/fesm2022/acorex-cdk-drag-drop.mjs +28 -26
  52. package/fesm2022/acorex-cdk-drag-drop.mjs.map +1 -1
  53. package/fesm2022/acorex-cdk-drawer.mjs +10 -10
  54. package/fesm2022/acorex-cdk-drawer.mjs.map +1 -1
  55. package/fesm2022/acorex-cdk-focus-trap.mjs +3 -3
  56. package/fesm2022/acorex-cdk-list-navigation.mjs +10 -10
  57. package/fesm2022/acorex-cdk-outline.mjs +10 -10
  58. package/fesm2022/acorex-cdk-overlay.mjs +3 -3
  59. package/fesm2022/acorex-cdk-pan-view.mjs +3 -3
  60. package/fesm2022/acorex-cdk-resizable.mjs +3 -3
  61. package/fesm2022/acorex-cdk-selection.mjs +10 -10
  62. package/fesm2022/acorex-cdk-sliding-item.mjs +7 -7
  63. package/fesm2022/acorex-cdk-sticky.mjs +3 -3
  64. package/fesm2022/acorex-cdk-virtual-scroll.mjs +10 -10
  65. package/overlay/lib/overlay.types.d.ts +1 -1
  66. package/package.json +5 -1
@@ -83,10 +83,10 @@ class AXSlidingItemDirective {
83
83
  const el = this.hostElement.nativeElement;
84
84
  el.style.transform = `translate(${pos}px, 0)`;
85
85
  }
86
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXSlidingItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
87
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.10", type: AXSlidingItemDirective, isStandalone: true, selector: "[axSlidingItem]", ngImport: i0 }); }
86
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXSlidingItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
87
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.11", type: AXSlidingItemDirective, isStandalone: true, selector: "[axSlidingItem]", ngImport: i0 }); }
88
88
  }
89
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXSlidingItemDirective, decorators: [{
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXSlidingItemDirective, decorators: [{
90
90
  type: Directive,
91
91
  args: [{ selector: '[axSlidingItem]' }]
92
92
  }] });
@@ -94,11 +94,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
94
94
  const COMPONENT = [AXSlidingItemDirective];
95
95
  const MODULES = [CommonModule];
96
96
  class AXSlidingItemDirectiveModule {
97
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXSlidingItemDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
98
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.10", ngImport: i0, type: AXSlidingItemDirectiveModule, imports: [CommonModule, AXSlidingItemDirective], exports: [AXSlidingItemDirective] }); }
99
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXSlidingItemDirectiveModule, imports: [MODULES] }); }
97
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXSlidingItemDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
98
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.11", ngImport: i0, type: AXSlidingItemDirectiveModule, imports: [CommonModule, AXSlidingItemDirective], exports: [AXSlidingItemDirective] }); }
99
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXSlidingItemDirectiveModule, imports: [MODULES] }); }
100
100
  }
101
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXSlidingItemDirectiveModule, decorators: [{
101
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXSlidingItemDirectiveModule, decorators: [{
102
102
  type: NgModule,
103
103
  args: [{
104
104
  imports: [...MODULES, ...COMPONENT],
@@ -81,10 +81,10 @@ class AXStickyDirective {
81
81
  this.mutationObserver.disconnect();
82
82
  }
83
83
  }
84
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXStickyDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
85
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.10", type: AXStickyDirective, isStandalone: true, selector: "[axSticky]", inputs: { stickyClass: ["axSticky", "stickyClass"], stickyOffset: "stickyOffset", stickyParent: "stickyParent", stickyTarget: "stickyTarget" }, outputs: { isStickyChange: "isStickyChange" }, exportAs: ["axpSticky"], ngImport: i0 }); }
84
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXStickyDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
85
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.11", type: AXStickyDirective, isStandalone: true, selector: "[axSticky]", inputs: { stickyClass: ["axSticky", "stickyClass"], stickyOffset: "stickyOffset", stickyParent: "stickyParent", stickyTarget: "stickyTarget" }, outputs: { isStickyChange: "isStickyChange" }, exportAs: ["axpSticky"], ngImport: i0 }); }
86
86
  }
87
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXStickyDirective, decorators: [{
87
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXStickyDirective, decorators: [{
88
88
  type: Directive,
89
89
  args: [{
90
90
  selector: '[axSticky]',
@@ -8,10 +8,10 @@ class AXVirtualScrollingItemDirective {
8
8
  get nativeElement() {
9
9
  return this.elementRef.nativeElement;
10
10
  }
11
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXVirtualScrollingItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
12
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.10", type: AXVirtualScrollingItemDirective, isStandalone: true, selector: "[axVirtualScrollingItem]", ngImport: i0 }); }
11
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXVirtualScrollingItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
12
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.11", type: AXVirtualScrollingItemDirective, isStandalone: true, selector: "[axVirtualScrollingItem]", ngImport: i0 }); }
13
13
  }
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXVirtualScrollingItemDirective, decorators: [{
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXVirtualScrollingItemDirective, decorators: [{
15
15
  type: Directive,
16
16
  args: [{ selector: '[axVirtualScrollingItem]' }]
17
17
  }] });
@@ -76,10 +76,10 @@ class AXVirtualScrollingContainerDirective {
76
76
  get __hostClass() {
77
77
  return `${this.height()}`;
78
78
  }
79
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXVirtualScrollingContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
80
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "19.2.10", type: AXVirtualScrollingContainerDirective, isStandalone: true, selector: "[axVirtualScrollingContainer]", inputs: { height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { ScrollEnd: "ScrollEnd" }, host: { properties: { "style.height": "this.__hostClass" } }, queries: [{ propertyName: "children", predicate: AXVirtualScrollingItemDirective, isSignal: true }], ngImport: i0 }); }
79
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXVirtualScrollingContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
80
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "19.2.11", type: AXVirtualScrollingContainerDirective, isStandalone: true, selector: "[axVirtualScrollingContainer]", inputs: { height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { ScrollEnd: "ScrollEnd" }, host: { properties: { "style.height": "this.__hostClass" } }, queries: [{ propertyName: "children", predicate: AXVirtualScrollingItemDirective, isSignal: true }], ngImport: i0 }); }
81
81
  }
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXVirtualScrollingContainerDirective, decorators: [{
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXVirtualScrollingContainerDirective, decorators: [{
83
83
  type: Directive,
84
84
  args: [{ selector: '[axVirtualScrollingContainer]' }]
85
85
  }], propDecorators: { __hostClass: [{
@@ -90,11 +90,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
90
90
  const COMPONENT = [AXVirtualScrollingContainerDirective, AXVirtualScrollingItemDirective];
91
91
  const MODULES = [];
92
92
  class AXVirtualScrollModule {
93
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXVirtualScrollModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
94
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.10", ngImport: i0, type: AXVirtualScrollModule, imports: [AXVirtualScrollingContainerDirective, AXVirtualScrollingItemDirective], exports: [AXVirtualScrollingContainerDirective, AXVirtualScrollingItemDirective] }); }
95
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXVirtualScrollModule, imports: [MODULES] }); }
93
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXVirtualScrollModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
94
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.11", ngImport: i0, type: AXVirtualScrollModule, imports: [AXVirtualScrollingContainerDirective, AXVirtualScrollingItemDirective], exports: [AXVirtualScrollingContainerDirective, AXVirtualScrollingItemDirective] }); }
95
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXVirtualScrollModule, imports: [MODULES] }); }
96
96
  }
97
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXVirtualScrollModule, decorators: [{
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXVirtualScrollModule, decorators: [{
98
98
  type: NgModule,
99
99
  args: [{
100
100
  imports: [...MODULES, ...COMPONENT],
@@ -1,5 +1,5 @@
1
+ import { AXPlacement } from '@acorex/cdk/common';
1
2
  import { AXComponentOptions } from '@acorex/core/components';
2
- import { AXPlacement } from '@acorex/core/types';
3
3
  import { ComponentRef, EmbeddedViewRef } from '@angular/core';
4
4
  export interface AXOverlayRef<T> {
5
5
  instance: EmbeddedViewRef<T> | ComponentRef<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/cdk",
3
- "version": "19.14.0",
3
+ "version": "19.14.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=19.0.0",
6
6
  "@angular/core": ">=19.0.0",
@@ -31,6 +31,10 @@
31
31
  "types": "./collapse/index.d.ts",
32
32
  "default": "./fesm2022/acorex-cdk-collapse.mjs"
33
33
  },
34
+ "./common": {
35
+ "types": "./common/index.d.ts",
36
+ "default": "./fesm2022/acorex-cdk-common.mjs"
37
+ },
34
38
  "./dom": {
35
39
  "types": "./dom/index.d.ts",
36
40
  "default": "./fesm2022/acorex-cdk-dom.mjs"