@radix-ng/primitives 0.28.0 → 0.30.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 (101) hide show
  1. package/checkbox/src/checkbox.directive.d.ts +11 -0
  2. package/core/index.d.ts +2 -0
  3. package/core/src/isNumber.d.ts +1 -0
  4. package/core/src/nullish.d.ts +1 -0
  5. package/dialog/src/dialog.config.d.ts +1 -0
  6. package/fesm2022/radix-ng-primitives-accordion.mjs +20 -20
  7. package/fesm2022/radix-ng-primitives-alert-dialog.mjs +22 -22
  8. package/fesm2022/radix-ng-primitives-aspect-ratio.mjs +3 -3
  9. package/fesm2022/radix-ng-primitives-avatar.mjs +16 -16
  10. package/fesm2022/radix-ng-primitives-checkbox.mjs +28 -17
  11. package/fesm2022/radix-ng-primitives-checkbox.mjs.map +1 -1
  12. package/fesm2022/radix-ng-primitives-collapsible.mjs +10 -10
  13. package/fesm2022/radix-ng-primitives-context-menu.mjs +36 -36
  14. package/fesm2022/radix-ng-primitives-core.mjs +14 -8
  15. package/fesm2022/radix-ng-primitives-core.mjs.map +1 -1
  16. package/fesm2022/radix-ng-primitives-dialog.mjs +40 -38
  17. package/fesm2022/radix-ng-primitives-dialog.mjs.map +1 -1
  18. package/fesm2022/radix-ng-primitives-dropdown-menu.mjs +35 -35
  19. package/fesm2022/radix-ng-primitives-hover-card.mjs +30 -33
  20. package/fesm2022/radix-ng-primitives-hover-card.mjs.map +1 -1
  21. package/fesm2022/radix-ng-primitives-label.mjs +3 -3
  22. package/fesm2022/radix-ng-primitives-menu.mjs +429 -62
  23. package/fesm2022/radix-ng-primitives-menu.mjs.map +1 -1
  24. package/fesm2022/radix-ng-primitives-menubar.mjs +87 -139
  25. package/fesm2022/radix-ng-primitives-menubar.mjs.map +1 -1
  26. package/fesm2022/radix-ng-primitives-popover.mjs +30 -33
  27. package/fesm2022/radix-ng-primitives-popover.mjs.map +1 -1
  28. package/fesm2022/radix-ng-primitives-progress.mjs +68 -90
  29. package/fesm2022/radix-ng-primitives-progress.mjs.map +1 -1
  30. package/fesm2022/radix-ng-primitives-radio.mjs +13 -13
  31. package/fesm2022/radix-ng-primitives-roving-focus.mjs +7 -7
  32. package/fesm2022/radix-ng-primitives-select.mjs +36 -36
  33. package/fesm2022/radix-ng-primitives-separator.mjs +4 -4
  34. package/fesm2022/radix-ng-primitives-separator.mjs.map +1 -1
  35. package/fesm2022/radix-ng-primitives-slider.mjs +131 -102
  36. package/fesm2022/radix-ng-primitives-slider.mjs.map +1 -1
  37. package/fesm2022/radix-ng-primitives-switch.mjs +13 -13
  38. package/fesm2022/radix-ng-primitives-tabs.mjs +16 -16
  39. package/fesm2022/radix-ng-primitives-toggle-group.mjs +136 -15
  40. package/fesm2022/radix-ng-primitives-toggle-group.mjs.map +1 -1
  41. package/fesm2022/radix-ng-primitives-toggle.mjs +6 -6
  42. package/fesm2022/radix-ng-primitives-toolbar.mjs +155 -0
  43. package/fesm2022/radix-ng-primitives-toolbar.mjs.map +1 -0
  44. package/fesm2022/radix-ng-primitives-tooltip.mjs +30 -33
  45. package/fesm2022/radix-ng-primitives-tooltip.mjs.map +1 -1
  46. package/fesm2022/radix-ng-primitives-visually-hidden.mjs +9 -9
  47. package/hover-card/src/hover-card-root.directive.d.ts +4 -4
  48. package/menu/index.d.ts +20 -9
  49. package/menu/src/menu-content.directive.d.ts +1 -1
  50. package/menu/src/menu-directive.d.ts +1 -1
  51. package/menu/src/menu-group.directive.d.ts +1 -1
  52. package/menu/src/menu-item-checkbox.directive.d.ts +21 -0
  53. package/menu/src/menu-item-indicator.directive.d.ts +10 -0
  54. package/menu/src/menu-item-radio.directive.d.ts +20 -0
  55. package/menu/src/menu-item.directive.d.ts +8 -2
  56. package/menu/src/menu-label.directive.d.ts +1 -1
  57. package/menu/src/menu-radio-group.directive.d.ts +6 -0
  58. package/menu/src/menu-separator.directive.d.ts +1 -2
  59. package/menu/src/menu-trigger.directive.d.ts +35 -0
  60. package/menu/src/utils.d.ts +3 -0
  61. package/menubar/index.d.ts +1 -1
  62. package/menubar/src/menubar-content.directive.d.ts +2 -2
  63. package/menubar/src/menubar-item-checkbox.directive.d.ts +2 -10
  64. package/menubar/src/menubar-item-indicator.directive.d.ts +2 -1
  65. package/menubar/src/menubar-item-radio.directive.d.ts +2 -10
  66. package/menubar/src/menubar-item.directive.d.ts +1 -3
  67. package/menubar/src/menubar-radio-group.directive.d.ts +1 -1
  68. package/menubar/src/menubar-root.directive.d.ts +3 -4
  69. package/menubar/src/menubar-separator.directive.d.ts +1 -1
  70. package/menubar/src/menubar-trigger.directive.d.ts +2 -7
  71. package/package.json +9 -128
  72. package/popover/src/popover-root.directive.d.ts +4 -4
  73. package/progress/src/progress-root.directive.d.ts +19 -33
  74. package/schematics/collection.json +10 -0
  75. package/schematics/ng-add/index.d.ts +6 -0
  76. package/schematics/ng-add/index.js +61 -0
  77. package/schematics/ng-add/index.js.map +1 -0
  78. package/schematics/ng-add/package-config.d.ts +18 -0
  79. package/schematics/ng-add/package-config.js +51 -0
  80. package/schematics/ng-add/package-config.js.map +1 -0
  81. package/separator/src/separator.directive.d.ts +1 -1
  82. package/slider/src/slider-horizontal.component.d.ts +6 -7
  83. package/slider/src/slider-impl.directive.d.ts +6 -7
  84. package/slider/src/slider-root.component.d.ts +78 -4
  85. package/slider/src/slider-vertical.component.d.ts +6 -7
  86. package/toggle-group/index.d.ts +1 -0
  87. package/toggle-group/src/toggle-group-item.directive.d.ts +8 -2
  88. package/toggle-group/src/toggle-group-without-focus.directive.d.ts +69 -0
  89. package/toggle-group/src/toggle-group.directive.d.ts +12 -1
  90. package/toggle-group/src/toggle-group.token.d.ts +8 -3
  91. package/toolbar/README.md +3 -0
  92. package/toolbar/index.d.ts +19 -0
  93. package/toolbar/src/toolbar-button.directive.d.ts +11 -0
  94. package/toolbar/src/toolbar-link.directive.d.ts +7 -0
  95. package/toolbar/src/toolbar-root.directive.d.ts +8 -0
  96. package/toolbar/src/toolbar-root.token.d.ts +5 -0
  97. package/toolbar/src/toolbar-separator.directive.d.ts +6 -0
  98. package/toolbar/src/toolbar-toggle-group.directive.d.ts +6 -0
  99. package/toolbar/src/toolbar-toggle-item.directive.d.ts +6 -0
  100. package/tooltip/src/tooltip-root.directive.d.ts +4 -4
  101. package/compodoc/documentation.json +0 -39585
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ngAdd = ngAdd;
4
+ const schematics_1 = require("@angular-devkit/schematics");
5
+ const tasks_1 = require("@angular-devkit/schematics/tasks");
6
+ const dependencies_1 = require("@schematics/angular/utility/dependencies");
7
+ const pkgJson = require("../../package.json");
8
+ const package_config_1 = require("./package-config");
9
+ /**
10
+ * This is executed when `ng add @radix-ng/primitives` is run.
11
+ * It installs all dependencies in the 'package.json'.
12
+ */
13
+ function ngAdd() {
14
+ return (tree, context) => {
15
+ const pkg = pkgJson;
16
+ context.logger.info(``);
17
+ context.logger.info(`Installing ${pkg.name} dependencies...`);
18
+ const ngCoreVersionTag = (0, package_config_1.getPackageVersionFromPackageJson)(tree, '@angular/core');
19
+ context.logger.info(`@angular/core version ${ngCoreVersionTag}`);
20
+ if (!ngCoreVersionTag) {
21
+ throw new schematics_1.SchematicsException('@angular/core version not found');
22
+ }
23
+ const projectDeps = [
24
+ {
25
+ name: '@angular/animations',
26
+ type: dependencies_1.NodeDependencyType.Default,
27
+ version: ngCoreVersionTag,
28
+ overwrite: false
29
+ },
30
+ { name: '@angular/common', type: dependencies_1.NodeDependencyType.Default, version: ngCoreVersionTag, overwrite: false },
31
+ { name: '@angular/core', type: dependencies_1.NodeDependencyType.Default, version: ngCoreVersionTag, overwrite: false }
32
+ ];
33
+ projectDeps.forEach((dep) => {
34
+ (0, dependencies_1.addPackageJsonDependency)(tree, dep);
35
+ context.logger.info(`Added dependency: ${dep.name}@${dep.version}`);
36
+ });
37
+ const libraryDeps = [
38
+ {
39
+ name: '@angular/cdk',
40
+ type: dependencies_1.NodeDependencyType.Default,
41
+ version: pkg.peerDependencies['@angular/cdk'],
42
+ overwrite: false
43
+ }
44
+ ];
45
+ libraryDeps.forEach((dep) => {
46
+ (0, dependencies_1.addPackageJsonDependency)(tree, dep);
47
+ context.logger.info(`Added dependency: ${dep.name}@${dep.version}`);
48
+ });
49
+ const library = {
50
+ name: pkg.name,
51
+ type: dependencies_1.NodeDependencyType.Default,
52
+ version: `~${pkg.version}`,
53
+ overwrite: true
54
+ };
55
+ (0, dependencies_1.addPackageJsonDependency)(tree, library);
56
+ context.logger.info(`Installing ${library.name}@${library.version}`);
57
+ context.addTask(new tasks_1.NodePackageInstallTask());
58
+ return tree;
59
+ };
60
+ }
61
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/primitives/schematics/ng-add/index.ts"],"names":[],"mappings":";;AAUA,sBA0DC;AApED,2DAA+F;AAC/F,4DAA0E;AAC1E,2EAAwH;AACxH,8CAA8C;AAC9C,qDAAiF;AAEjF;;;GAGG;AACH,SAAgB,KAAK;IACjB,OAAO,CAAC,IAAU,EAAE,OAAyB,EAAE,EAAE;QAC7C,MAAM,GAAG,GAAG,OAAiC,CAAC;QAE9C,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,GAAG,CAAC,IAAI,kBAAkB,CAAC,CAAC;QAE9D,MAAM,gBAAgB,GAAG,IAAA,iDAAgC,EAAC,IAAI,EAAE,eAAe,CAAC,CAAC;QACjF,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,yBAAyB,gBAAgB,EAAE,CAAC,CAAC;QAEjE,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACpB,MAAM,IAAI,gCAAmB,CAAC,iCAAiC,CAAC,CAAC;QACrE,CAAC;QAED,MAAM,WAAW,GAAqB;YAClC;gBACI,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,iCAAkB,CAAC,OAAO;gBAChC,OAAO,EAAE,gBAAgB;gBACzB,SAAS,EAAE,KAAK;aACnB;YACD,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,iCAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,KAAK,EAAE;YAC1G,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,iCAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,KAAK,EAAE;SAC3G,CAAC;QAEF,WAAW,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YACxB,IAAA,uCAAwB,EAAC,IAAI,EAAE,GAAG,CAAC,CAAC;YACpC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,qBAAqB,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;QACxE,CAAC,CAAC,CAAC;QAEH,MAAM,WAAW,GAAqB;YAClC;gBACI,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,iCAAkB,CAAC,OAAO;gBAChC,OAAO,EAAE,GAAG,CAAC,gBAAgB,CAAC,cAAc,CAAC;gBAC7C,SAAS,EAAE,KAAK;aACnB;SACJ,CAAC;QAEF,WAAW,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YACxB,IAAA,uCAAwB,EAAC,IAAI,EAAE,GAAG,CAAC,CAAC;YACpC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,qBAAqB,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;QACxE,CAAC,CAAC,CAAC;QAEH,MAAM,OAAO,GAAmB;YAC5B,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,IAAI,EAAE,iCAAkB,CAAC,OAAO;YAChC,OAAO,EAAE,IAAI,GAAG,CAAC,OAAO,EAAE;YAC1B,SAAS,EAAE,IAAI;SAClB,CAAC;QAEF,IAAA,uCAAwB,EAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QACxC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,OAAO,CAAC,IAAI,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;QAErE,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,EAAE,CAAC,CAAC;QAE9C,OAAO,IAAI,CAAC;IAChB,CAAC,CAAC;AACN,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @license
3
+ * Copyright Google LLC All Rights Reserved.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license that can be
6
+ * found in the LICENSE file at https://angular.io/license
7
+ */
8
+ import { Tree } from '@angular-devkit/schematics';
9
+ export interface PackageJson {
10
+ dependencies: Record<string, string>;
11
+ name: string;
12
+ peerDependencies: Record<string, string>;
13
+ version: string;
14
+ }
15
+ /** Adds a package to the package.json in the given host tree. */
16
+ export declare function addPackageToPackageJson(host: Tree, pkg: string, version: string): Tree;
17
+ /** Gets the version of the specified package by looking at the package.json in the given tree. */
18
+ export declare function getPackageVersionFromPackageJson(tree: Tree, name: string): string | null;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /**
3
+ * @license
4
+ * Copyright Google LLC All Rights Reserved.
5
+ *
6
+ * Use of this source code is governed by an MIT-style license that can be
7
+ * found in the LICENSE file at https://angular.io/license
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.addPackageToPackageJson = addPackageToPackageJson;
11
+ exports.getPackageVersionFromPackageJson = getPackageVersionFromPackageJson;
12
+ /**
13
+ * Sorts the keys of the given object.
14
+ * @returns A new object instance with sorted keys
15
+ */
16
+ function sortObjectByKeys(obj) {
17
+ return Object.keys(obj)
18
+ .sort()
19
+ .reduce((result, key) => {
20
+ result[key] = obj[key];
21
+ return result;
22
+ }, {});
23
+ }
24
+ /** Adds a package to the package.json in the given host tree. */
25
+ function addPackageToPackageJson(host, pkg, version) {
26
+ if (host.exists('package.json')) {
27
+ const sourceText = host.read('package.json').toString('utf-8');
28
+ const json = JSON.parse(sourceText);
29
+ if (!json.dependencies) {
30
+ json.dependencies = {};
31
+ }
32
+ if (!json.dependencies[pkg]) {
33
+ json.dependencies[pkg] = version;
34
+ json.dependencies = sortObjectByKeys(json.dependencies);
35
+ }
36
+ host.overwrite('package.json', JSON.stringify(json, null, 2));
37
+ }
38
+ return host;
39
+ }
40
+ /** Gets the version of the specified package by looking at the package.json in the given tree. */
41
+ function getPackageVersionFromPackageJson(tree, name) {
42
+ if (!tree.exists('package.json')) {
43
+ return null;
44
+ }
45
+ const packageJson = JSON.parse(tree.read('package.json').toString('utf8'));
46
+ if (packageJson.dependencies && packageJson.dependencies[name]) {
47
+ return packageJson.dependencies[name];
48
+ }
49
+ return null;
50
+ }
51
+ //# sourceMappingURL=package-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"package-config.js","sourceRoot":"","sources":["../../../../packages/primitives/schematics/ng-add/package-config.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AA4BH,0DAkBC;AAGD,4EAYC;AAlDD;;;GAGG;AACH,SAAS,gBAAgB,CAAC,GAA2B;IACjD,OAAO,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;SAClB,IAAI,EAAE;SACN,MAAM,CACH,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE;QACZ,MAAM,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;QACvB,OAAO,MAAM,CAAC;IAClB,CAAC,EACD,EAA4B,CAC/B,CAAC;AACV,CAAC;AAED,iEAAiE;AACjE,SAAgB,uBAAuB,CAAC,IAAU,EAAE,GAAW,EAAE,OAAe;IAC5E,IAAI,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,EAAE,CAAC;QAC9B,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,cAAc,CAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QAChE,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAgB,CAAC;QAEnD,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;YACrB,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QAC3B,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC;YAC1B,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC;YACjC,IAAI,CAAC,YAAY,GAAG,gBAAgB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC5D,CAAC;QAED,IAAI,CAAC,SAAS,CAAC,cAAc,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,kGAAkG;AAClG,SAAgB,gCAAgC,CAAC,IAAU,EAAE,IAAY;IACrE,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,EAAE,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAgB,CAAC;IAE3F,IAAI,WAAW,CAAC,YAAY,IAAI,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;QAC7D,OAAO,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;IAC1C,CAAC;IAED,OAAO,IAAI,CAAC;AAChB,CAAC"}
@@ -50,7 +50,7 @@ export declare class RdxSeparatorRootDirective {
50
50
  *
51
51
  * @ignore
52
52
  */
53
- protected readonly computedAriaOrientation: import("@angular/core").Signal<"vertical" | null>;
53
+ protected readonly computedAriaOrientation: import("@angular/core").Signal<"vertical" | undefined>;
54
54
  static ɵfac: i0.ɵɵFactoryDeclaration<RdxSeparatorRootDirective, never>;
55
55
  static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSeparatorRootDirective, "div[rdxSeparatorRoot]", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "decorative": { "alias": "decorative"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
56
56
  }
@@ -1,5 +1,4 @@
1
1
  import { BooleanInput } from '@angular/cdk/coercion';
2
- import { EventEmitter } from '@angular/core';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class RdxSliderHorizontalComponent {
5
4
  private readonly rootContext;
@@ -8,15 +7,15 @@ export declare class RdxSliderHorizontalComponent {
8
7
  min: number;
9
8
  max: number;
10
9
  className: string;
11
- slideStart: EventEmitter<number>;
12
- slideMove: EventEmitter<number>;
13
- slideEnd: EventEmitter<void>;
14
- stepKeyDown: EventEmitter<{
10
+ readonly slideStart: import("@angular/core").OutputEmitterRef<number>;
11
+ readonly slideMove: import("@angular/core").OutputEmitterRef<number>;
12
+ readonly slideEnd: import("@angular/core").OutputEmitterRef<void>;
13
+ readonly stepKeyDown: import("@angular/core").OutputEmitterRef<{
15
14
  event: KeyboardEvent;
16
15
  direction: number;
17
16
  }>;
18
- endKeyDown: EventEmitter<KeyboardEvent>;
19
- homeKeyDown: EventEmitter<KeyboardEvent>;
17
+ readonly endKeyDown: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
18
+ readonly homeKeyDown: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
20
19
  private readonly sliderElement;
21
20
  private readonly rect;
22
21
  onSlideStart(event: PointerEvent): void;
@@ -1,14 +1,13 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { RdxSliderRootComponent } from './slider-root.component';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class RdxSliderImplDirective {
5
4
  protected readonly rootContext: RdxSliderRootComponent;
6
- slideStart: EventEmitter<PointerEvent>;
7
- slideMove: EventEmitter<PointerEvent>;
8
- slideEnd: EventEmitter<PointerEvent>;
9
- homeKeyDown: EventEmitter<KeyboardEvent>;
10
- endKeyDown: EventEmitter<KeyboardEvent>;
11
- stepKeyDown: EventEmitter<KeyboardEvent>;
5
+ readonly slideStart: import("@angular/core").OutputEmitterRef<PointerEvent>;
6
+ readonly slideMove: import("@angular/core").OutputEmitterRef<PointerEvent>;
7
+ readonly slideEnd: import("@angular/core").OutputEmitterRef<PointerEvent>;
8
+ readonly homeKeyDown: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
9
+ readonly endKeyDown: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
10
+ readonly stepKeyDown: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
12
11
  onKeyDown(event: KeyboardEvent): void;
13
12
  onPointerDown(event: PointerEvent): void;
14
13
  onPointerMove(event: PointerEvent): void;
@@ -1,22 +1,96 @@
1
1
  import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
2
- import { EventEmitter, OnInit } from '@angular/core';
2
+ import { OnInit } from '@angular/core';
3
3
  import { RdxSliderOrientationContextService } from './slider-orientation-context.service';
4
4
  import * as i0 from "@angular/core";
5
+ /**
6
+ * @group Components
7
+ */
5
8
  export declare class RdxSliderRootComponent implements OnInit {
6
9
  /** @ignore */
7
10
  readonly orientationContext: RdxSliderOrientationContextService;
11
+ /**
12
+ * The minimum value for the range.
13
+ *
14
+ * @group Props
15
+ * @defaultValue 0
16
+ */
8
17
  readonly min: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
18
+ /**
19
+ * The maximum value for the range.
20
+ *
21
+ * @group Props
22
+ * @defaultValue 100
23
+ */
9
24
  readonly max: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
25
+ /**
26
+ * The stepping interval.
27
+ *
28
+ * @group Props
29
+ * @defaultValue 1
30
+ */
10
31
  readonly step: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
32
+ /**
33
+ * The minimum permitted steps between multiple thumbs.
34
+ *
35
+ * @group Props
36
+ * @defaultValue 0
37
+ */
11
38
  readonly minStepsBetweenThumbs: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
39
+ /**
40
+ * The orientation of the slider.
41
+ *
42
+ * @group Props
43
+ * @defaultValue 'horizontal'
44
+ */
12
45
  readonly orientation: import("@angular/core").InputSignal<"horizontal" | "vertical">;
46
+ /**
47
+ * When true, prevents the user from interacting with the slider.
48
+ *
49
+ * @group Props
50
+ * @defaultValue false
51
+ */
13
52
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
53
+ /**
54
+ * Whether the slider is visually inverted.
55
+ *
56
+ * @group Props
57
+ * @defaultValue false
58
+ */
14
59
  readonly inverted: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
60
+ /**
61
+ * The reading direction of the combobox when applicable.
62
+ *
63
+ * @group Props
64
+ * @defaultValue 'ltr'
65
+ */
15
66
  readonly dir: import("@angular/core").InputSignal<"ltr" | "rtl">;
16
67
  className: string;
17
- valueChange: EventEmitter<number[]>;
18
- valueCommit: EventEmitter<number[]>;
68
+ /**
69
+ * Style class of the component.
70
+ *
71
+ * @group Props
72
+ */
73
+ readonly styleClass: import("@angular/core").InputSignal<string | undefined>;
74
+ /**
75
+ * The controlled value of the slider.
76
+ *
77
+ * @group Props
78
+ */
19
79
  readonly modelValue: import("@angular/core").ModelSignal<number[]>;
80
+ /**
81
+ * Event handler called when the slider value changes.
82
+ *
83
+ * @group Emits
84
+ */
85
+ readonly valueChange: import("@angular/core").OutputEmitterRef<number[]>;
86
+ /**
87
+ * Event handler called when the value changes at the end of an interaction.
88
+ *
89
+ * Useful when you only need to capture a final value e.g. to update a backend service.
90
+ *
91
+ * @group Emits
92
+ */
93
+ readonly valueCommit: import("@angular/core").OutputEmitterRef<number[]>;
20
94
  /** @ignore */
21
95
  readonly valueIndexToChange: import("@angular/core").ModelSignal<number>;
22
96
  /** @ignore */
@@ -45,5 +119,5 @@ export declare class RdxSliderRootComponent implements OnInit {
45
119
  /** @ignore */
46
120
  updateValues(value: number, atIndex: number, commit?: boolean): void;
47
121
  static ɵfac: i0.ɵɵFactoryDeclaration<RdxSliderRootComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<RdxSliderRootComponent, "rdx-slider", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "minStepsBetweenThumbs": { "alias": "minStepsBetweenThumbs"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inverted": { "alias": "inverted"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; }; "modelValue": { "alias": "modelValue"; "required": false; "isSignal": true; }; "valueIndexToChange": { "alias": "valueIndexToChange"; "required": false; "isSignal": true; }; "valuesBeforeSlideStart": { "alias": "valuesBeforeSlideStart"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "valueCommit": "valueCommit"; "modelValue": "modelValueChange"; "valueIndexToChange": "valueIndexToChangeChange"; "valuesBeforeSlideStart": "valuesBeforeSlideStartChange"; }, never, ["*"], true, never>;
122
+ static ɵcmp: i0.ɵɵComponentDeclaration<RdxSliderRootComponent, "rdx-slider", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "minStepsBetweenThumbs": { "alias": "minStepsBetweenThumbs"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inverted": { "alias": "inverted"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; "modelValue": { "alias": "modelValue"; "required": false; "isSignal": true; }; "valueIndexToChange": { "alias": "valueIndexToChange"; "required": false; "isSignal": true; }; "valuesBeforeSlideStart": { "alias": "valuesBeforeSlideStart"; "required": false; "isSignal": true; }; }, { "modelValue": "modelValueChange"; "valueChange": "valueChange"; "valueCommit": "valueCommit"; "valueIndexToChange": "valueIndexToChangeChange"; "valuesBeforeSlideStart": "valuesBeforeSlideStartChange"; }, never, ["*"], true, never>;
49
123
  }
@@ -1,5 +1,4 @@
1
1
  import { BooleanInput } from '@angular/cdk/coercion';
2
- import { EventEmitter } from '@angular/core';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class RdxSliderVerticalComponent {
5
4
  private readonly rootContext;
@@ -8,15 +7,15 @@ export declare class RdxSliderVerticalComponent {
8
7
  min: number;
9
8
  max: number;
10
9
  className: string;
11
- slideStart: EventEmitter<number>;
12
- slideMove: EventEmitter<number>;
13
- slideEnd: EventEmitter<void>;
14
- stepKeyDown: EventEmitter<{
10
+ readonly slideStart: import("@angular/core").OutputEmitterRef<number>;
11
+ readonly slideMove: import("@angular/core").OutputEmitterRef<number>;
12
+ readonly slideEnd: import("@angular/core").OutputEmitterRef<void>;
13
+ readonly stepKeyDown: import("@angular/core").OutputEmitterRef<{
15
14
  event: KeyboardEvent;
16
15
  direction: number;
17
16
  }>;
18
- endKeyDown: EventEmitter<KeyboardEvent>;
19
- homeKeyDown: EventEmitter<KeyboardEvent>;
17
+ readonly endKeyDown: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
18
+ readonly homeKeyDown: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
20
19
  private readonly sliderElement;
21
20
  private readonly rect;
22
21
  onSlideStart(event: PointerEvent): void;
@@ -1,4 +1,5 @@
1
1
  export * from './src/toggle-group-item.directive';
2
2
  export * from './src/toggle-group-item.token';
3
+ export * from './src/toggle-group-without-focus.directive';
3
4
  export * from './src/toggle-group.directive';
4
5
  export * from './src/toggle-group.token';
@@ -2,6 +2,9 @@ import { BooleanInput } from '@angular/cdk/coercion';
2
2
  import * as i0 from "@angular/core";
3
3
  import * as i1 from "@radix-ng/primitives/roving-focus";
4
4
  import * as i2 from "@radix-ng/primitives/toggle";
5
+ /**
6
+ * @group Components
7
+ */
5
8
  export declare class RdxToggleGroupItemDirective {
6
9
  private readonly rdxToggleDirective;
7
10
  private readonly rdxRovingFocusItemDirective;
@@ -9,14 +12,17 @@ export declare class RdxToggleGroupItemDirective {
9
12
  * Access the toggle group.
10
13
  * @ignore
11
14
  */
12
- protected readonly rootContext: import("@radix-ng/primitives/toggle-group").RdxToggleGroupDirective;
15
+ protected readonly rootContext: import("./toggle-group.token").IRdxToggleGroup;
13
16
  /**
14
17
  * The value of this toggle button.
18
+ *
19
+ * @group Props
15
20
  */
16
21
  readonly value: import("@angular/core").InputSignal<string>;
17
22
  /**
18
23
  * Whether this toggle button is disabled.
19
- * @default false
24
+ * @defaultValue false
25
+ * @group Props
20
26
  */
21
27
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
22
28
  private readonly isPressed;
@@ -0,0 +1,69 @@
1
+ import { BooleanInput } from '@angular/cdk/coercion';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class RdxToggleGroupWithoutFocusDirective implements ControlValueAccessor {
5
+ /**
6
+ * @ignore
7
+ */
8
+ readonly id: string;
9
+ /**
10
+ * @group Props
11
+ */
12
+ readonly value: import("@angular/core").ModelSignal<string | string[] | undefined>;
13
+ /**
14
+ * @group Props
15
+ */
16
+ readonly type: import("@angular/core").InputSignal<"single" | "multiple">;
17
+ /**
18
+ * Whether the toggle group is disabled.
19
+ * @defaultValue false
20
+ * @group Props
21
+ */
22
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
23
+ /**
24
+ * Event emitted when the selected toggle button changes.
25
+ * @group Emits
26
+ */
27
+ readonly onValueChange: import("@angular/core").OutputEmitterRef<string | string[] | undefined>;
28
+ /**
29
+ * The value change callback.
30
+ */
31
+ private onChange?;
32
+ /**
33
+ * onTouch function registered via registerOnTouch (ControlValueAccessor).
34
+ */
35
+ protected onTouched?: () => void;
36
+ /**
37
+ * Toggle a value.
38
+ * @param value The value to toggle.
39
+ * @ignore
40
+ */
41
+ toggle(value: string): void;
42
+ /**
43
+ * Select a value from Angular forms.
44
+ * @param value The value to select.
45
+ * @ignore
46
+ */
47
+ writeValue(value: string): void;
48
+ /**
49
+ * Register a callback to be called when the value changes.
50
+ * @param fn The callback to register.
51
+ * @ignore
52
+ */
53
+ registerOnChange(fn: (value: string | string[] | undefined) => void): void;
54
+ /**
55
+ * Register a callback to be called when the toggle group is touched.
56
+ * @param fn The callback to register.
57
+ * @ignore
58
+ */
59
+ registerOnTouched(fn: () => void): void;
60
+ private readonly accessorDisabled;
61
+ /**
62
+ * Set the disabled state of the toggle group.
63
+ * @param isDisabled Whether the toggle group is disabled.
64
+ * @ignore
65
+ */
66
+ setDisabledState(isDisabled: boolean): void;
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxToggleGroupWithoutFocusDirective, never>;
68
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxToggleGroupWithoutFocusDirective, "[rdxToggleGroupWithoutFocus]", ["rdxToggleGroupWithoutFocus"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "onValueChange": "onValueChange"; }, never, never, true, never>;
69
+ }
@@ -2,20 +2,31 @@ import { BooleanInput } from '@angular/cdk/coercion';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "@radix-ng/primitives/roving-focus";
5
+ /**
6
+ * @group Components
7
+ */
5
8
  export declare class RdxToggleGroupDirective implements ControlValueAccessor {
6
9
  /**
7
10
  * @ignore
8
11
  */
9
12
  readonly id: string;
13
+ /**
14
+ * @group Props
15
+ */
10
16
  readonly value: import("@angular/core").ModelSignal<string | string[] | undefined>;
17
+ /**
18
+ * @group Props
19
+ */
11
20
  readonly type: import("@angular/core").InputSignal<"single" | "multiple">;
12
21
  /**
13
22
  * Whether the toggle group is disabled.
14
- * @default false
23
+ * @defaultValue false
24
+ * @group Props
15
25
  */
16
26
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
17
27
  /**
18
28
  * Event emitted when the selected toggle button changes.
29
+ * @group Emits
19
30
  */
20
31
  readonly onValueChange: import("@angular/core").OutputEmitterRef<string | string[] | undefined>;
21
32
  /**
@@ -1,4 +1,9 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import type { RdxToggleGroupDirective } from './toggle-group.directive';
3
- export declare const RdxToggleGroupToken: InjectionToken<RdxToggleGroupDirective>;
4
- export declare function injectToggleGroup(): RdxToggleGroupDirective;
2
+ export interface IRdxToggleGroup {
3
+ toggle(value: string): void;
4
+ disabled: any;
5
+ value: any;
6
+ type: any;
7
+ }
8
+ export declare const RdxToggleGroupToken: InjectionToken<IRdxToggleGroup>;
9
+ export declare function injectToggleGroup(): IRdxToggleGroup;
@@ -0,0 +1,3 @@
1
+ # @radix-ng/primitives/toolbar
2
+
3
+ Secondary entry point of `@radix-ng/primitives/toolbar`.
@@ -0,0 +1,19 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./src/toolbar-root.directive";
3
+ import * as i2 from "./src/toolbar-button.directive";
4
+ import * as i3 from "./src/toolbar-link.directive";
5
+ import * as i4 from "./src/toolbar-toggle-group.directive";
6
+ import * as i5 from "./src/toolbar-toggle-item.directive";
7
+ import * as i6 from "./src/toolbar-separator.directive";
8
+ export * from './src/toolbar-button.directive';
9
+ export * from './src/toolbar-link.directive';
10
+ export * from './src/toolbar-root.directive';
11
+ export * from './src/toolbar-root.token';
12
+ export * from './src/toolbar-separator.directive';
13
+ export * from './src/toolbar-toggle-group.directive';
14
+ export * from './src/toolbar-toggle-item.directive';
15
+ export declare class RdxToolbarModule {
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxToolbarModule, never>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RdxToolbarModule, never, [typeof i1.RdxToolbarRootDirective, typeof i2.RdxToolbarButtonDirective, typeof i3.RdxToolbarLinkDirective, typeof i4.RdxToolbarToggleGroupDirective, typeof i5.RdxToolbarToggleItemDirective, typeof i6.RdxToolbarSeparatorDirective], [typeof i1.RdxToolbarRootDirective, typeof i2.RdxToolbarButtonDirective, typeof i3.RdxToolbarLinkDirective, typeof i4.RdxToolbarToggleGroupDirective, typeof i5.RdxToolbarToggleItemDirective, typeof i6.RdxToolbarSeparatorDirective]>;
18
+ static ɵinj: i0.ɵɵInjectorDeclaration<RdxToolbarModule>;
19
+ }
@@ -0,0 +1,11 @@
1
+ import { BooleanInput } from '@angular/cdk/coercion';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@radix-ng/primitives/roving-focus";
4
+ export declare class RdxToolbarButtonDirective {
5
+ #private;
6
+ private readonly rdxRovingFocusItemDirective;
7
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
8
+ private readonly isDisabled;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxToolbarButtonDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxToolbarButtonDirective, "[rdxToolbarButton]", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.RdxRovingFocusItemDirective; inputs: { "focusable": "focusable"; }; outputs: {}; }]>;
11
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@radix-ng/primitives/roving-focus";
3
+ export declare class RdxToolbarLinkDirective {
4
+ onKeyDown($event: KeyboardEvent): void;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxToolbarLinkDirective, never>;
6
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxToolbarLinkDirective, "[rdxToolbarLink]", never, {}, {}, never, never, true, [{ directive: typeof i1.RdxRovingFocusItemDirective; inputs: { "focusable": "focusable"; }; outputs: {}; }]>;
7
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@radix-ng/primitives/roving-focus";
3
+ export declare class RdxToolbarRootDirective {
4
+ readonly orientation: import("@angular/core").InputSignal<"horizontal" | "vertical">;
5
+ readonly dir: import("@angular/core").InputSignal<"ltr" | "rtl">;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxToolbarRootDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxToolbarRootDirective, "[rdxToolbarRoot]", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.RdxRovingFocusGroupDirective; inputs: { "dir": "dir"; "orientation": "orientation"; "loop": "loop"; }; outputs: {}; }]>;
8
+ }
@@ -0,0 +1,5 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { RdxToolbarRootDirective } from './toolbar-root.directive';
3
+ export declare const RDX_TOOLBAR_ROOT_TOKEN: InjectionToken<RdxToolbarRootDirective>;
4
+ export declare function injectRootContext(): RdxToolbarRootDirective;
5
+ export declare function provideRootContext(): Provider;
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@radix-ng/primitives/separator";
3
+ export declare class RdxToolbarSeparatorDirective {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxToolbarSeparatorDirective, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxToolbarSeparatorDirective, "[rdxToolbarSeparator]", never, {}, {}, never, never, true, [{ directive: typeof i1.RdxSeparatorRootDirective; inputs: { "orientation": "orientation"; "decorative": "decorative"; }; outputs: {}; }]>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@radix-ng/primitives/toggle-group";
3
+ export declare class RdxToolbarToggleGroupDirective {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxToolbarToggleGroupDirective, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxToolbarToggleGroupDirective, "[rdxToolbarToggleGroup]", never, {}, {}, never, never, true, [{ directive: typeof i1.RdxToggleGroupWithoutFocusDirective; inputs: { "value": "value"; "type": "type"; "disabled": "disabled"; }; outputs: {}; }]>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@radix-ng/primitives/toggle-group";
3
+ export declare class RdxToolbarToggleItemDirective {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxToolbarToggleItemDirective, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxToolbarToggleItemDirective, "[rdxToolbarToggleItem]", never, {}, {}, never, never, true, [{ directive: typeof i1.RdxToggleGroupItemDirective; inputs: { "value": "value"; "disabled": "disabled"; }; outputs: {}; }]>;
6
+ }
@@ -79,7 +79,7 @@ export declare class RdxTooltipRootDirective {
79
79
  window: Window & typeof globalThis;
80
80
  primitiveConfigs?: import("./utils/types").PrimitiveConfigs;
81
81
  onDestroyCallbacks: Set<() => void>;
82
- "__#11176@#clickDomRootEventCallbacks": Set<(event: MouseEvent) => void>;
82
+ "__#11630@#clickDomRootEventCallbacks": Set<(event: MouseEvent) => void>;
83
83
  registerPrimitive<T extends object>(primitiveInstance: T): void;
84
84
  deregisterPrimitive<T extends object>(primitiveInstance: T): void;
85
85
  preventPrimitiveFromCdkEvent<T extends object>(primitiveInstance: T, eventType: import("./utils/types").EventType): void;
@@ -90,9 +90,9 @@ export declare class RdxTooltipRootDirective {
90
90
  primitivePreventedFromCdkEvent<T extends object>(primitiveInstance: T, eventType: import("./utils/types").EventType): boolean | undefined;
91
91
  addClickDomRootEventCallback(callback: (event: MouseEvent) => void): void;
92
92
  removeClickDomRootEventCallback(callback: (event: MouseEvent) => void): boolean;
93
- "__#11176@#setPreventPrimitiveFromCdkEvent"<T extends object, R extends import("./utils/types").EventType, K extends import("./utils/types").PrimitiveConfig[`prevent${Capitalize<R>}`]>(primitiveInstance: T, eventType: R, value: K): void;
94
- "__#11176@#registerOnDestroyCallbacks"(): void;
95
- "__#11176@#listenToClickDomRootEvent"(): void;
93
+ "__#11630@#setPreventPrimitiveFromCdkEvent"<T extends object, R extends import("./utils/types").EventType, K extends import("./utils/types").PrimitiveConfig[`prevent${Capitalize<R>}`]>(primitiveInstance: T, eventType: R, value: K): void;
94
+ "__#11630@#registerOnDestroyCallbacks"(): void;
95
+ "__#11630@#listenToClickDomRootEvent"(): void;
96
96
  } | null;
97
97
  /** @ignore */
98
98
  readonly destroyRef: DestroyRef;