@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.
- package/checkbox/src/checkbox.directive.d.ts +11 -0
- package/core/index.d.ts +2 -0
- package/core/src/isNumber.d.ts +1 -0
- package/core/src/nullish.d.ts +1 -0
- package/dialog/src/dialog.config.d.ts +1 -0
- package/fesm2022/radix-ng-primitives-accordion.mjs +20 -20
- package/fesm2022/radix-ng-primitives-alert-dialog.mjs +22 -22
- package/fesm2022/radix-ng-primitives-aspect-ratio.mjs +3 -3
- package/fesm2022/radix-ng-primitives-avatar.mjs +16 -16
- package/fesm2022/radix-ng-primitives-checkbox.mjs +28 -17
- package/fesm2022/radix-ng-primitives-checkbox.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-collapsible.mjs +10 -10
- package/fesm2022/radix-ng-primitives-context-menu.mjs +36 -36
- package/fesm2022/radix-ng-primitives-core.mjs +14 -8
- package/fesm2022/radix-ng-primitives-core.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-dialog.mjs +40 -38
- package/fesm2022/radix-ng-primitives-dialog.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-dropdown-menu.mjs +35 -35
- package/fesm2022/radix-ng-primitives-hover-card.mjs +30 -33
- package/fesm2022/radix-ng-primitives-hover-card.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-label.mjs +3 -3
- package/fesm2022/radix-ng-primitives-menu.mjs +429 -62
- package/fesm2022/radix-ng-primitives-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-menubar.mjs +87 -139
- package/fesm2022/radix-ng-primitives-menubar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-popover.mjs +30 -33
- package/fesm2022/radix-ng-primitives-popover.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-progress.mjs +68 -90
- package/fesm2022/radix-ng-primitives-progress.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-radio.mjs +13 -13
- package/fesm2022/radix-ng-primitives-roving-focus.mjs +7 -7
- package/fesm2022/radix-ng-primitives-select.mjs +36 -36
- package/fesm2022/radix-ng-primitives-separator.mjs +4 -4
- package/fesm2022/radix-ng-primitives-separator.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-slider.mjs +131 -102
- package/fesm2022/radix-ng-primitives-slider.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-switch.mjs +13 -13
- package/fesm2022/radix-ng-primitives-tabs.mjs +16 -16
- package/fesm2022/radix-ng-primitives-toggle-group.mjs +136 -15
- package/fesm2022/radix-ng-primitives-toggle-group.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toggle.mjs +6 -6
- package/fesm2022/radix-ng-primitives-toolbar.mjs +155 -0
- package/fesm2022/radix-ng-primitives-toolbar.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-tooltip.mjs +30 -33
- package/fesm2022/radix-ng-primitives-tooltip.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-visually-hidden.mjs +9 -9
- package/hover-card/src/hover-card-root.directive.d.ts +4 -4
- package/menu/index.d.ts +20 -9
- package/menu/src/menu-content.directive.d.ts +1 -1
- package/menu/src/menu-directive.d.ts +1 -1
- package/menu/src/menu-group.directive.d.ts +1 -1
- package/menu/src/menu-item-checkbox.directive.d.ts +21 -0
- package/menu/src/menu-item-indicator.directive.d.ts +10 -0
- package/menu/src/menu-item-radio.directive.d.ts +20 -0
- package/menu/src/menu-item.directive.d.ts +8 -2
- package/menu/src/menu-label.directive.d.ts +1 -1
- package/menu/src/menu-radio-group.directive.d.ts +6 -0
- package/menu/src/menu-separator.directive.d.ts +1 -2
- package/menu/src/menu-trigger.directive.d.ts +35 -0
- package/menu/src/utils.d.ts +3 -0
- package/menubar/index.d.ts +1 -1
- package/menubar/src/menubar-content.directive.d.ts +2 -2
- package/menubar/src/menubar-item-checkbox.directive.d.ts +2 -10
- package/menubar/src/menubar-item-indicator.directive.d.ts +2 -1
- package/menubar/src/menubar-item-radio.directive.d.ts +2 -10
- package/menubar/src/menubar-item.directive.d.ts +1 -3
- package/menubar/src/menubar-radio-group.directive.d.ts +1 -1
- package/menubar/src/menubar-root.directive.d.ts +3 -4
- package/menubar/src/menubar-separator.directive.d.ts +1 -1
- package/menubar/src/menubar-trigger.directive.d.ts +2 -7
- package/package.json +9 -128
- package/popover/src/popover-root.directive.d.ts +4 -4
- package/progress/src/progress-root.directive.d.ts +19 -33
- package/schematics/collection.json +10 -0
- package/schematics/ng-add/index.d.ts +6 -0
- package/schematics/ng-add/index.js +61 -0
- package/schematics/ng-add/index.js.map +1 -0
- package/schematics/ng-add/package-config.d.ts +18 -0
- package/schematics/ng-add/package-config.js +51 -0
- package/schematics/ng-add/package-config.js.map +1 -0
- package/separator/src/separator.directive.d.ts +1 -1
- package/slider/src/slider-horizontal.component.d.ts +6 -7
- package/slider/src/slider-impl.directive.d.ts +6 -7
- package/slider/src/slider-root.component.d.ts +78 -4
- package/slider/src/slider-vertical.component.d.ts +6 -7
- package/toggle-group/index.d.ts +1 -0
- package/toggle-group/src/toggle-group-item.directive.d.ts +8 -2
- package/toggle-group/src/toggle-group-without-focus.directive.d.ts +69 -0
- package/toggle-group/src/toggle-group.directive.d.ts +12 -1
- package/toggle-group/src/toggle-group.token.d.ts +8 -3
- package/toolbar/README.md +3 -0
- package/toolbar/index.d.ts +19 -0
- package/toolbar/src/toolbar-button.directive.d.ts +11 -0
- package/toolbar/src/toolbar-link.directive.d.ts +7 -0
- package/toolbar/src/toolbar-root.directive.d.ts +8 -0
- package/toolbar/src/toolbar-root.token.d.ts +5 -0
- package/toolbar/src/toolbar-separator.directive.d.ts +6 -0
- package/toolbar/src/toolbar-toggle-group.directive.d.ts +6 -0
- package/toolbar/src/toolbar-toggle-item.directive.d.ts +6 -0
- package/tooltip/src/tooltip-root.directive.d.ts +4 -4
- 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" |
|
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:
|
12
|
-
slideMove:
|
13
|
-
slideEnd:
|
14
|
-
stepKeyDown:
|
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:
|
19
|
-
homeKeyDown:
|
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:
|
7
|
-
slideMove:
|
8
|
-
slideEnd:
|
9
|
-
homeKeyDown:
|
10
|
-
endKeyDown:
|
11
|
-
stepKeyDown:
|
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 {
|
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
|
-
|
18
|
-
|
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; }; }, { "
|
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:
|
12
|
-
slideMove:
|
13
|
-
slideEnd:
|
14
|
-
stepKeyDown:
|
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:
|
19
|
-
homeKeyDown:
|
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;
|
package/toggle-group/index.d.ts
CHANGED
@@ -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("
|
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
|
-
* @
|
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
|
-
* @
|
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
|
-
|
3
|
-
|
4
|
-
|
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,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
|
-
"__#
|
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
|
-
"__#
|
94
|
-
"__#
|
95
|
-
"__#
|
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;
|