@radix-ng/primitives 0.8.2 → 0.9.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/accordion/index.d.ts +3 -3
- package/accordion/src/accordion-content.directive.d.ts +1 -1
- package/accordion/src/accordion-header.directive.d.ts +1 -1
- package/accordion/src/accordion-item.directive.d.ts +1 -1
- package/accordion/src/accordion-root.directive.d.ts +1 -1
- package/accordion/src/accordion-trigger.directive.d.ts +1 -1
- package/alert-dialog/index.d.ts +2 -2
- package/avatar/index.d.ts +2 -2
- package/avatar/src/avatar-fallback.directive.d.ts +3 -3
- package/avatar/src/avatar-image.directive.d.ts +6 -6
- package/avatar/src/avatar-root.directive.d.ts +4 -4
- package/checkbox/index.d.ts +1 -1
- package/collapsible/index.d.ts +1 -1
- package/collapsible/src/collapsible-content.directive.d.ts +1 -1
- package/collapsible/src/collapsible-root.directive.d.ts +1 -1
- package/collapsible/src/collapsible-trigger.directive.d.ts +1 -1
- package/dropdown-menu/index.d.ts +8 -3
- package/dropdown-menu/src/dropdown-menu-content.directive.d.ts +12 -2
- package/dropdown-menu/src/dropdown-menu-item-checkbox.directive.d.ts +6 -0
- package/dropdown-menu/src/dropdown-menu-item-indicator.directive.d.ts +7 -0
- package/dropdown-menu/src/dropdown-menu-item-radio-group.directive.d.ts +12 -0
- package/dropdown-menu/src/dropdown-menu-item-radio.directive.d.ts +19 -0
- package/dropdown-menu/src/dropdown-menu-item-selectable.d.ts +14 -0
- package/dropdown-menu/src/dropdown-menu-item.directive.d.ts +13 -4
- package/dropdown-menu/src/dropdown-menu-label.directive.d.ts +1 -1
- package/dropdown-menu/src/dropdown-menu-separator.directive.d.ts +2 -2
- package/dropdown-menu/src/dropdown-menu-trigger.directive.d.ts +31 -1
- package/esm2022/accordion/index.mjs +4 -4
- package/esm2022/accordion/src/accordion-content.directive.mjs +7 -9
- package/esm2022/accordion/src/accordion-header.directive.mjs +5 -5
- package/esm2022/accordion/src/accordion-item.directive.mjs +17 -9
- package/esm2022/accordion/src/accordion-root.directive.mjs +5 -5
- package/esm2022/accordion/src/accordion-trigger.directive.mjs +5 -5
- package/esm2022/alert-dialog/index.mjs +3 -3
- package/esm2022/alert-dialog/src/alert-dialog-cancel.directive.mjs +4 -4
- package/esm2022/alert-dialog/src/alert-dialog-content.directive.mjs +3 -3
- package/esm2022/alert-dialog/src/alert-dialog-root.directive.mjs +5 -4
- package/esm2022/alert-dialog/src/alert-dialog-title.directive.mjs +3 -3
- package/esm2022/alert-dialog/src/alert-dialog-trigger.directive.mjs +4 -4
- package/esm2022/alert-dialog/src/alert-dialog.service.mjs +6 -9
- package/esm2022/avatar/index.mjs +1 -1
- package/esm2022/avatar/src/avatar-fallback.directive.mjs +6 -6
- package/esm2022/avatar/src/avatar-image.directive.mjs +6 -6
- package/esm2022/avatar/src/avatar-root.directive.mjs +6 -6
- package/esm2022/checkbox/index.mjs +2 -2
- package/esm2022/checkbox/src/checkbox-button.directive.mjs +5 -5
- package/esm2022/checkbox/src/checkbox-indicator.directive.mjs +4 -4
- package/esm2022/checkbox/src/checkbox-input.directive.mjs +5 -5
- package/esm2022/checkbox/src/checkbox.directive.mjs +4 -4
- package/esm2022/checkbox/src/checkbox.token.mjs +1 -1
- package/esm2022/collapsible/index.mjs +2 -2
- package/esm2022/collapsible/src/collapsible-content.directive.mjs +13 -7
- package/esm2022/collapsible/src/collapsible-root.directive.mjs +5 -5
- package/esm2022/collapsible/src/collapsible-trigger.directive.mjs +5 -5
- package/esm2022/dropdown-menu/index.mjs +9 -4
- package/esm2022/dropdown-menu/src/dropdown-menu-content.directive.mjs +36 -10
- package/esm2022/dropdown-menu/src/dropdown-menu-item-checkbox.directive.mjs +26 -0
- package/esm2022/dropdown-menu/src/dropdown-menu-item-indicator.directive.mjs +22 -0
- package/esm2022/dropdown-menu/src/dropdown-menu-item-radio-group.directive.mjs +37 -0
- package/esm2022/dropdown-menu/src/dropdown-menu-item-radio.directive.mjs +60 -0
- package/esm2022/dropdown-menu/src/dropdown-menu-item-selectable.mjs +40 -0
- package/esm2022/dropdown-menu/src/dropdown-menu-item.directive.mjs +45 -16
- package/esm2022/dropdown-menu/src/dropdown-menu-label.directive.mjs +5 -5
- package/esm2022/dropdown-menu/src/dropdown-menu-separator.directive.mjs +8 -8
- package/esm2022/dropdown-menu/src/dropdown-menu-trigger.directive.mjs +128 -12
- package/esm2022/label/index.mjs +2 -2
- package/esm2022/label/src/label.directive.mjs +54 -0
- package/esm2022/menu/index.mjs +7 -7
- package/esm2022/menu/src/menu-content.directive.mjs +3 -3
- package/esm2022/menu/src/menu-directive.mjs +3 -3
- package/esm2022/menu/src/menu-group.directive.mjs +3 -3
- package/esm2022/menu/src/menu-item.directive.mjs +8 -4
- package/esm2022/menu/src/menu-label.directive.mjs +3 -3
- package/esm2022/menu/src/menu-separator.directive.mjs +4 -4
- package/esm2022/menubar/index.mjs +7 -7
- package/esm2022/menubar/src/menubar-content.directive.mjs +3 -3
- package/esm2022/menubar/src/menubar-item-checkbox.directive.mjs +4 -4
- package/esm2022/menubar/src/menubar-item-indicator.directive.mjs +3 -3
- package/esm2022/menubar/src/menubar-item-radio.directive.mjs +4 -4
- package/esm2022/menubar/src/menubar-item.directive.mjs +4 -4
- package/esm2022/menubar/src/menubar-radio-group.directive.mjs +3 -3
- package/esm2022/menubar/src/menubar-root.directive.mjs +3 -3
- package/esm2022/menubar/src/menubar-separator.directive.mjs +4 -4
- package/esm2022/menubar/src/menubar-trigger.directive.mjs +4 -4
- package/esm2022/progress/src/progress-indicator.directive.mjs +19 -9
- package/esm2022/progress/src/progress-root.directive.mjs +63 -7
- package/esm2022/radio/src/radio-indicator.directive.mjs +4 -4
- package/esm2022/radio/src/radio-item.directive.mjs +4 -8
- package/esm2022/radio/src/radio-root.directive.mjs +5 -9
- package/esm2022/separator/src/separator.directive.mjs +3 -3
- package/esm2022/switch/index.mjs +29 -4
- package/esm2022/switch/src/switch-input.directive.mjs +6 -6
- package/esm2022/switch/src/switch-root.directive.mjs +7 -7
- package/esm2022/switch/src/switch-thumb.directive.mjs +6 -6
- package/esm2022/tabs/index.mjs +7 -7
- package/esm2022/tabs/src/tabs-content.directive.mjs +5 -5
- package/esm2022/tabs/src/tabs-context.service.mjs +3 -3
- package/esm2022/tabs/src/tabs-list.directive.mjs +5 -5
- package/esm2022/tabs/src/tabs-root.directive.mjs +5 -5
- package/esm2022/tabs/src/tabs-trigger.directive.mjs +5 -5
- package/esm2022/toggle/index.mjs +2 -2
- package/esm2022/toggle/src/toggle.directive.mjs +39 -0
- package/esm2022/toggle-group/src/toggle-group-button.directive.mjs +6 -14
- package/esm2022/toggle-group/src/toggle-group-button.token.mjs +1 -1
- package/esm2022/toggle-group/src/toggle-group-multi.directive.mjs +6 -32
- package/esm2022/toggle-group/src/toggle-group.directive.mjs +5 -25
- package/esm2022/toggle-group/src/toggle-group.token.mjs +1 -1
- package/fesm2022/radix-ng-primitives-accordion.mjs +73 -67
- package/fesm2022/radix-ng-primitives-accordion.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-alert-dialog.mjs +49 -51
- package/fesm2022/radix-ng-primitives-alert-dialog.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-avatar.mjs +15 -15
- package/fesm2022/radix-ng-primitives-avatar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-checkbox.mjs +43 -43
- package/fesm2022/radix-ng-primitives-checkbox.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-collapsible.mjs +20 -14
- package/fesm2022/radix-ng-primitives-collapsible.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-dropdown-menu.mjs +381 -46
- package/fesm2022/radix-ng-primitives-dropdown-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-label.mjs +17 -10
- package/fesm2022/radix-ng-primitives-label.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-menu.mjs +26 -22
- package/fesm2022/radix-ng-primitives-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-menubar.mjs +31 -31
- package/fesm2022/radix-ng-primitives-menubar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-progress.mjs +80 -14
- package/fesm2022/radix-ng-primitives-progress.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-radio.mjs +10 -14
- package/fesm2022/radix-ng-primitives-radio.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-separator.mjs +3 -3
- package/fesm2022/radix-ng-primitives-switch.mjs +53 -31
- package/fesm2022/radix-ng-primitives-switch.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-tabs.mjs +23 -23
- package/fesm2022/radix-ng-primitives-tabs.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toggle-group.mjs +14 -64
- package/fesm2022/radix-ng-primitives-toggle-group.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toggle.mjs +18 -28
- package/fesm2022/radix-ng-primitives-toggle.mjs.map +1 -1
- package/label/index.d.ts +1 -1
- package/label/src/label.directive.d.ts +23 -0
- package/menu/index.d.ts +2 -2
- package/menubar/index.d.ts +2 -2
- package/package.json +1 -7
- package/progress/src/progress-indicator.directive.d.ts +12 -2
- package/progress/src/progress-root.directive.d.ts +38 -4
- package/radio/src/radio-item.directive.d.ts +1 -2
- package/radio/src/radio-root.directive.d.ts +1 -2
- package/switch/index.d.ts +11 -3
- package/switch/src/switch-input.directive.d.ts +1 -1
- package/switch/src/switch-root.directive.d.ts +1 -1
- package/switch/src/switch-thumb.directive.d.ts +1 -1
- package/tabs/index.d.ts +2 -2
- package/tabs/src/tabs-content.directive.d.ts +1 -1
- package/tabs/src/tabs-list.directive.d.ts +1 -1
- package/tabs/src/tabs-root.directive.d.ts +1 -1
- package/tabs/src/tabs-trigger.directive.d.ts +1 -1
- package/toggle/index.d.ts +2 -2
- package/toggle/src/toggle.directive.d.ts +30 -0
- package/toggle-group/src/toggle-group-button.directive.d.ts +1 -7
- package/toggle-group/src/toggle-group-multi.directive.d.ts +3 -13
- package/toggle-group/src/toggle-group.directive.d.ts +3 -9
- package/esm2022/label/src/label-root.directive.mjs +0 -47
- package/esm2022/roving-focus/index.mjs +0 -3
- package/esm2022/roving-focus/radix-ng-primitives-roving-focus.mjs +0 -5
- package/esm2022/roving-focus/src/roving-focus-group.directive.mjs +0 -109
- package/esm2022/roving-focus/src/roving-focus-item.directive.mjs +0 -86
- package/esm2022/toggle/src/toggle-root.directive.mjs +0 -49
- package/fesm2022/radix-ng-primitives-roving-focus.mjs +0 -198
- package/fesm2022/radix-ng-primitives-roving-focus.mjs.map +0 -1
- package/label/src/label-root.directive.d.ts +0 -14
- package/roving-focus/README.md +0 -1
- package/roving-focus/index.d.ts +0 -2
- package/roving-focus/src/roving-focus-group.directive.d.ts +0 -53
- package/roving-focus/src/roving-focus-item.directive.d.ts +0 -50
- package/toggle/src/toggle-root.directive.d.ts +0 -32
@@ -0,0 +1,23 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class RdxLabelDirective {
|
3
|
+
readonly id: import("@angular/core").InputSignal<string>;
|
4
|
+
/**
|
5
|
+
* @ignore
|
6
|
+
*/
|
7
|
+
protected readonly elementId: import("@angular/core").Signal<string | null>;
|
8
|
+
/**
|
9
|
+
* The id of the element the label is associated with.
|
10
|
+
* @default '-'
|
11
|
+
*/
|
12
|
+
readonly htmlFor: import("@angular/core").InputSignal<string>;
|
13
|
+
/**
|
14
|
+
* @ignore
|
15
|
+
*/
|
16
|
+
private readonly elementRef;
|
17
|
+
/**
|
18
|
+
* @ignore
|
19
|
+
*/
|
20
|
+
onMouseDown(event: MouseEvent): void;
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxLabelDirective, never>;
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxLabelDirective, "label[rdxLabel]", ["rdxLabel"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "htmlFor": { "alias": "htmlFor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
23
|
+
}
|
package/menu/index.d.ts
CHANGED
@@ -5,12 +5,12 @@ import * as i3 from "./src/menu-item.directive";
|
|
5
5
|
import * as i4 from "./src/menu-separator.directive";
|
6
6
|
import * as i5 from "./src/menu-content.directive";
|
7
7
|
import * as i6 from "./src/menu-label.directive";
|
8
|
+
export * from './src/menu-content.directive';
|
8
9
|
export * from './src/menu-directive';
|
9
10
|
export * from './src/menu-group.directive';
|
10
11
|
export * from './src/menu-item.directive';
|
11
|
-
export * from './src/menu-separator.directive';
|
12
|
-
export * from './src/menu-content.directive';
|
13
12
|
export * from './src/menu-label.directive';
|
13
|
+
export * from './src/menu-separator.directive';
|
14
14
|
export declare class MenuModule {
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuModule, never>;
|
16
16
|
static ɵmod: i0.ɵɵNgModuleDeclaration<MenuModule, never, [typeof i1.RdxMenuDirective, typeof i2.RdxMenuGroupDirective, typeof i3.RdxMenuItemDirective, typeof i4.RdxMenuSeparatorDirective, typeof i5.RdxMenuContentDirective, typeof i6.RdxMenuLabelDirective], [typeof i1.RdxMenuDirective, typeof i2.RdxMenuGroupDirective, typeof i3.RdxMenuItemDirective, typeof i4.RdxMenuSeparatorDirective, typeof i5.RdxMenuContentDirective, typeof i6.RdxMenuLabelDirective]>;
|
package/menubar/index.d.ts
CHANGED
@@ -9,11 +9,11 @@ import * as i7 from "./src/menubar-item-indicator.directive";
|
|
9
9
|
import * as i8 from "./src/menubar-item-radio.directive";
|
10
10
|
import * as i9 from "./src/menubar-radio-group.directive";
|
11
11
|
export * from './src/menubar-content.directive';
|
12
|
-
export * from './src/menubar-item.directive';
|
13
12
|
export * from './src/menubar-item-checkbox.directive';
|
13
|
+
export * from './src/menubar-item-indicator.directive';
|
14
14
|
export * from './src/menubar-item-radio.directive';
|
15
|
+
export * from './src/menubar-item.directive';
|
15
16
|
export * from './src/menubar-radio-group.directive';
|
16
|
-
export * from './src/menubar-item-indicator.directive';
|
17
17
|
export * from './src/menubar-root.directive';
|
18
18
|
export * from './src/menubar-separator.directive';
|
19
19
|
export * from './src/menubar-trigger.directive';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@radix-ng/primitives",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.9.0",
|
4
4
|
"license": "MIT",
|
5
5
|
"publishConfig": {
|
6
6
|
"access": "public"
|
@@ -103,12 +103,6 @@
|
|
103
103
|
"esm": "./esm2022/radio/radix-ng-primitives-radio.mjs",
|
104
104
|
"default": "./fesm2022/radix-ng-primitives-radio.mjs"
|
105
105
|
},
|
106
|
-
"./roving-focus": {
|
107
|
-
"types": "./roving-focus/index.d.ts",
|
108
|
-
"esm2022": "./esm2022/roving-focus/radix-ng-primitives-roving-focus.mjs",
|
109
|
-
"esm": "./esm2022/roving-focus/radix-ng-primitives-roving-focus.mjs",
|
110
|
-
"default": "./fesm2022/radix-ng-primitives-roving-focus.mjs"
|
111
|
-
},
|
112
106
|
"./separator": {
|
113
107
|
"types": "./separator/index.d.ts",
|
114
108
|
"esm2022": "./esm2022/separator/radix-ng-primitives-separator.mjs",
|
@@ -1,6 +1,16 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
|
+
/**
|
3
|
+
* Directive to manage progress indicator state and attributes.
|
4
|
+
*
|
5
|
+
* This directive is used to display the progress indicator inside the progress bar.
|
6
|
+
* It inherits the state and value from the `RdxProgressRootDirective`.
|
7
|
+
*/
|
2
8
|
export declare class RdxProgressIndicatorDirective {
|
3
|
-
|
9
|
+
/**
|
10
|
+
*
|
11
|
+
* This allows the directive to access the progress bar state and values.
|
12
|
+
*/
|
13
|
+
protected readonly progress: import("./progress-root.directive").RdxProgressRootDirective;
|
4
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxProgressIndicatorDirective, never>;
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxProgressIndicatorDirective, "div[
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxProgressIndicatorDirective, "div[rdxProgressIndicator]", ["ProgressIndicator"], {}, {}, never, never, true, never>;
|
6
16
|
}
|
@@ -1,29 +1,63 @@
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
1
2
|
import * as i0 from "@angular/core";
|
3
|
+
/**
|
4
|
+
* Injects the current instance of RdxProgressRootDirective.
|
5
|
+
* @returns The instance of RdxProgressRootDirective.
|
6
|
+
*/
|
2
7
|
export declare function injectProgress(): RdxProgressRootDirective;
|
3
|
-
export type ProgressState = 'indeterminate' | '
|
8
|
+
export type ProgressState = 'indeterminate' | 'complete' | 'loading';
|
4
9
|
export interface ProgressProps {
|
5
10
|
value?: number | null | undefined;
|
6
11
|
max?: number;
|
7
12
|
getValueLabel?: string;
|
8
13
|
}
|
9
|
-
|
14
|
+
/**
|
15
|
+
* Directive to manage progress bar state and attributes.
|
16
|
+
*
|
17
|
+
* This directive provides a way to create a progress bar with customizable value and max attributes.
|
18
|
+
* It handles aria attributes for accessibility and provides different states like 'indeterminate', 'complete', and 'loading'.
|
19
|
+
*/
|
20
|
+
export declare class RdxProgressRootDirective implements ProgressProps, OnChanges {
|
21
|
+
/**
|
22
|
+
* The unique ID for the progress bar.
|
23
|
+
* @default 'rdx-progress-bar-{idIterator}'
|
24
|
+
*/
|
10
25
|
id: string;
|
26
|
+
/**
|
27
|
+
* The current value of the progress bar.
|
28
|
+
* @default 0
|
29
|
+
*/
|
11
30
|
value: number;
|
12
31
|
/**
|
32
|
+
* The maximum value of the progress bar.
|
13
33
|
* @default 100
|
14
34
|
*/
|
15
35
|
max: number;
|
36
|
+
/**
|
37
|
+
* Function to generate the value label.
|
38
|
+
*/
|
16
39
|
valueLabel: (value: number, max: number) => string;
|
40
|
+
/**
|
41
|
+
* Lifecycle hook that is called when any data-bound property of a directive changes.
|
42
|
+
* @param changes - The changed properties.
|
43
|
+
* @ignore
|
44
|
+
*/
|
45
|
+
ngOnChanges(changes: SimpleChanges): void;
|
17
46
|
/**
|
18
47
|
* Get the state of the progress bar.
|
19
48
|
* @returns 'indeterminate' | 'loading' | 'complete'
|
20
|
-
* @
|
49
|
+
* @ignore
|
21
50
|
*/
|
22
51
|
get state(): ProgressState;
|
23
52
|
private getProgressState;
|
24
53
|
private defaultGetValueLabel;
|
54
|
+
private isValidMaxNumber;
|
55
|
+
private isNumber;
|
56
|
+
private isValidValueNumber;
|
57
|
+
private getInvalidMaxError;
|
58
|
+
private getInvalidValueError;
|
25
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxProgressRootDirective, never>;
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxProgressRootDirective, "div[
|
60
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxProgressRootDirective, "div[rdxProgressRoot]", ["ProgressRoot"], { "id": { "alias": "id"; "required": false; }; "value": { "alias": "rdxValue"; "required": false; }; "max": { "alias": "rdxMax"; "required": false; }; "valueLabel": { "alias": "rdxValueLabel"; "required": false; }; }, {}, never, never, true, never>;
|
27
61
|
static ngAcceptInputType_value: unknown;
|
28
62
|
static ngAcceptInputType_max: unknown;
|
29
63
|
}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
-
import * as i1 from "@radix-ng/primitives/roving-focus";
|
4
3
|
export declare const RdxRadioItemToken: InjectionToken<RdxRadioItemDirective>;
|
5
4
|
export declare function injectRadioItem(): RdxRadioItemDirective;
|
6
5
|
export declare class RdxRadioItemDirective {
|
@@ -12,6 +11,6 @@ export declare class RdxRadioItemDirective {
|
|
12
11
|
_onFocus(): void;
|
13
12
|
_onClick(): void;
|
14
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxRadioItemDirective, never>;
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxRadioItemDirective, "[RadioItem]", ["RadioItem"], { "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": true; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true,
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxRadioItemDirective, "[RadioItem]", ["RadioItem"], { "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": true; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
16
15
|
static ngAcceptInputType_disabled: unknown;
|
17
16
|
}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { EventEmitter, InjectionToken } from '@angular/core';
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "@radix-ng/primitives/roving-focus";
|
5
4
|
export declare const RdxRadioGroupToken: InjectionToken<RdxRadioGroupDirective>;
|
6
5
|
export declare function injectRadioGroup(): RdxRadioGroupDirective;
|
7
6
|
interface RadioGroupProps {
|
@@ -66,7 +65,7 @@ export declare class RdxRadioGroupDirective implements RadioGroupProps, ControlV
|
|
66
65
|
*/
|
67
66
|
_onFocusout(): void;
|
68
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxRadioGroupDirective, never>;
|
69
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxRadioGroupDirective, "div[RadioRoot]", ["RadioRoot"], { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dir": { "alias": "dir"; "required": false; }; }, { "onValueChange": "onValueChange"; }, never, never, true,
|
68
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxRadioGroupDirective, "div[RadioRoot]", ["RadioRoot"], { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dir": { "alias": "dir"; "required": false; }; }, { "onValueChange": "onValueChange"; }, never, never, true, never>;
|
70
69
|
static ngAcceptInputType_disabled: unknown;
|
71
70
|
}
|
72
71
|
export {};
|
package/switch/index.d.ts
CHANGED
@@ -1,5 +1,13 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./src/switch-root.directive";
|
3
|
+
import * as i2 from "./src/switch-input.directive";
|
4
|
+
import * as i3 from "./src/switch-thumb.directive";
|
4
5
|
export * from './src/switch-input.directive';
|
6
|
+
export * from './src/switch-root.directive';
|
7
|
+
export * from './src/switch-thumb.directive';
|
5
8
|
export type { SwitchProps } from './src/switch-root.directive';
|
9
|
+
export declare class RdxSwitchModule {
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSwitchModule, never>;
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RdxSwitchModule, never, [typeof i1.RdxSwitchRootDirective, typeof i2.RdxSwitchInputDirective, typeof i3.RdxSwitchThumbDirective], [typeof i1.RdxSwitchRootDirective, typeof i2.RdxSwitchInputDirective, typeof i3.RdxSwitchThumbDirective]>;
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RdxSwitchModule>;
|
13
|
+
}
|
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
|
|
2
2
|
export declare class RdxSwitchInputDirective {
|
3
3
|
protected readonly switchRoot: import("./switch-root.directive").RdxSwitchRootDirective;
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSwitchInputDirective, never>;
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSwitchInputDirective, "input[
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSwitchInputDirective, "input[rdxSwitchInput]", ["rdxSwitchInput"], {}, {}, never, never, true, never>;
|
6
6
|
}
|
@@ -47,5 +47,5 @@ export declare class RdxSwitchRootDirective implements SwitchProps, ControlValue
|
|
47
47
|
*/
|
48
48
|
protected toggle(): void;
|
49
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSwitchRootDirective, never>;
|
50
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSwitchRootDirective, "button[
|
50
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSwitchRootDirective, "button[rdxSwitchRoot]", ["rdxSwitchRoot"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "onCheckedChange": "onCheckedChange"; }, never, never, true, never>;
|
51
51
|
}
|
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
|
|
2
2
|
export declare class RdxSwitchThumbDirective {
|
3
3
|
protected readonly switchRoot: import("./switch-root.directive").RdxSwitchRootDirective;
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSwitchThumbDirective, never>;
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSwitchThumbDirective, "span[
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSwitchThumbDirective, "span[rdxSwitchThumb]", ["rdxSwitchThumb"], {}, {}, never, never, true, never>;
|
6
6
|
}
|
package/tabs/index.d.ts
CHANGED
@@ -3,11 +3,11 @@ import * as i1 from "./src/tabs-root.directive";
|
|
3
3
|
import * as i2 from "./src/tabs-content.directive";
|
4
4
|
import * as i3 from "./src/tabs-list.directive";
|
5
5
|
import * as i4 from "./src/tabs-trigger.directive";
|
6
|
-
export * from './src/tabs-root.directive';
|
7
6
|
export * from './src/tabs-content.directive';
|
7
|
+
export * from './src/tabs-context.service';
|
8
8
|
export * from './src/tabs-list.directive';
|
9
|
+
export * from './src/tabs-root.directive';
|
9
10
|
export * from './src/tabs-trigger.directive';
|
10
|
-
export * from './src/tabs-context.service';
|
11
11
|
export declare class RdxTabsModule {
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxTabsModule, never>;
|
13
13
|
static ɵmod: i0.ɵɵNgModuleDeclaration<RdxTabsModule, never, [typeof i1.RdxTabsRootDirective, typeof i2.RdxTabsContentDirective, typeof i3.RdxTabsListDirective, typeof i4.RdxTabsTriggerDirective], [typeof i1.RdxTabsRootDirective, typeof i2.RdxTabsContentDirective, typeof i3.RdxTabsListDirective, typeof i4.RdxTabsTriggerDirective]>;
|
@@ -4,5 +4,5 @@ export declare class RdxTabsContentDirective {
|
|
4
4
|
readonly value: import("@angular/core").InputSignal<string>;
|
5
5
|
protected readonly selected: import("@angular/core").Signal<boolean>;
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxTabsContentDirective, never>;
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxTabsContentDirective, "[
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxTabsContentDirective, "[rdxTabsContent]", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
8
8
|
}
|
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
|
|
2
2
|
export declare class RdxTabsListDirective {
|
3
3
|
protected readonly tabsContext: import("./tabs-context.service").RdxTabsContextService;
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxTabsListDirective, never>;
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxTabsListDirective, "[
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxTabsListDirective, "[rdxTabsList]", never, {}, {}, never, never, true, never>;
|
6
6
|
}
|
@@ -33,5 +33,5 @@ export declare class RdxTabsRootDirective implements OnInit {
|
|
33
33
|
constructor();
|
34
34
|
ngOnInit(): void;
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxTabsRootDirective, never>;
|
36
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxTabsRootDirective, "[
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxTabsRootDirective, "[rdxTabsRoot]", never, { "value": { "alias": "value"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "dir": { "alias": "dir"; "required": false; }; }, { "onValueChange": "onValueChange"; }, never, never, true, never>;
|
37
37
|
}
|
@@ -14,6 +14,6 @@ export declare class RdxTabsTriggerDirective implements TabsTriggerProps {
|
|
14
14
|
protected onMouseDown(event: MouseEvent): void;
|
15
15
|
protected onKeyDown(event: KeyboardEvent): void;
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxTabsTriggerDirective, never>;
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxTabsTriggerDirective, "[
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxTabsTriggerDirective, "[rdxTabsTrigger]", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
18
18
|
}
|
19
19
|
export {};
|
package/toggle/index.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export * from './src/toggle
|
2
|
-
export type { ToggleProps } from './src/toggle
|
1
|
+
export * from './src/toggle.directive';
|
2
|
+
export type { ToggleProps } from './src/toggle.directive';
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export interface ToggleProps {
|
4
|
+
/**
|
5
|
+
* The controlled state of the toggle.
|
6
|
+
*/
|
7
|
+
pressed?: boolean;
|
8
|
+
/**
|
9
|
+
* The state of the toggle when initially rendered. Use `defaultPressed`
|
10
|
+
* if you do not need to control the state of the toggle.
|
11
|
+
* @defaultValue false
|
12
|
+
*/
|
13
|
+
defaultPressed?: boolean;
|
14
|
+
/**
|
15
|
+
* The callback that fires when the state of the toggle changes.
|
16
|
+
*/
|
17
|
+
onPressedChange?: EventEmitter<boolean>;
|
18
|
+
}
|
19
|
+
export declare class RdxToggleDirective {
|
20
|
+
readonly defaultPressed: import("@angular/core").InputSignal<boolean>;
|
21
|
+
readonly pressed: import("@angular/core").ModelSignal<boolean>;
|
22
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
23
|
+
/**
|
24
|
+
* Event emitted when the toggle is pressed.
|
25
|
+
*/
|
26
|
+
readonly onPressedChange: EventEmitter<boolean>;
|
27
|
+
protected toggle(): void;
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxToggleDirective, never>;
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxToggleDirective, "button[rdxToggle]", ["rdxToggle"], { "defaultPressed": { "alias": "defaultPressed"; "required": false; "isSignal": true; }; "pressed": { "alias": "pressed"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "pressed": "pressedChange"; "onPressedChange": "onPressedChange"; }, never, never, true, never>;
|
30
|
+
}
|
@@ -1,17 +1,11 @@
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
-
import * as i1 from "@radix-ng/primitives/roving-focus";
|
4
3
|
export declare class RdxToggleGroupButtonDirective implements OnChanges {
|
5
4
|
/**
|
6
5
|
* Access the toggle group.
|
7
6
|
* @ignore
|
8
7
|
*/
|
9
8
|
protected readonly toggleGroup: import("@radix-ng/primitives/toggle-group").RdxToggleGroupDirective | import("@radix-ng/primitives/toggle-group").RdxToggleGroupMultiDirective;
|
10
|
-
/**
|
11
|
-
* Access the roving focus item.
|
12
|
-
* @ignore
|
13
|
-
*/
|
14
|
-
private readonly rovingFocusItem;
|
15
9
|
/**
|
16
10
|
* The value of this toggle button.
|
17
11
|
*/
|
@@ -40,6 +34,6 @@ export declare class RdxToggleGroupButtonDirective implements OnChanges {
|
|
40
34
|
*/
|
41
35
|
updateDisabled(): void;
|
42
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxToggleGroupButtonDirective, never>;
|
43
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxToggleGroupButtonDirective, "button[rdxToggleGroupButton]", never, { "value": { "alias": "value"; "required": true; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true,
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxToggleGroupButtonDirective, "button[rdxToggleGroupButton]", never, { "value": { "alias": "value"; "required": true; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
44
38
|
static ngAcceptInputType_disabled: unknown;
|
45
39
|
}
|
@@ -1,14 +1,8 @@
|
|
1
|
-
import { AfterContentInit, EventEmitter, OnChanges,
|
1
|
+
import { AfterContentInit, EventEmitter, OnChanges, QueryList, SimpleChanges } from '@angular/core';
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
3
3
|
import type { RdxToggleGroupButtonDirective } from './toggle-group-button.directive';
|
4
4
|
import * as i0 from "@angular/core";
|
5
|
-
|
6
|
-
export declare class RdxToggleGroupMultiDirective implements OnInit, OnChanges, AfterContentInit, ControlValueAccessor {
|
7
|
-
/**
|
8
|
-
* Access the roving focus group
|
9
|
-
* @ignore
|
10
|
-
*/
|
11
|
-
private readonly rovingFocusGroup;
|
5
|
+
export declare class RdxToggleGroupMultiDirective implements OnChanges, AfterContentInit, ControlValueAccessor {
|
12
6
|
/**
|
13
7
|
* The selected toggle button.
|
14
8
|
*/
|
@@ -47,10 +41,6 @@ export declare class RdxToggleGroupMultiDirective implements OnInit, OnChanges,
|
|
47
41
|
* @ignore
|
48
42
|
*/
|
49
43
|
protected onTouched?: () => void;
|
50
|
-
/**
|
51
|
-
* @ignore
|
52
|
-
*/
|
53
|
-
ngOnInit(): void;
|
54
44
|
/**
|
55
45
|
* @ignore
|
56
46
|
*/
|
@@ -97,7 +87,7 @@ export declare class RdxToggleGroupMultiDirective implements OnInit, OnChanges,
|
|
97
87
|
*/
|
98
88
|
setDisabledState(isDisabled: boolean): void;
|
99
89
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxToggleGroupMultiDirective, never>;
|
100
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxToggleGroupMultiDirective, "[rdxToggleGroupMulti]", never, { "value": { "alias": "rdxToggleGroupMultiValue"; "required": false; }; "orientation": { "alias": "rdxToggleGroupMultiOrientation"; "required": false; }; "disabled": { "alias": "rdxToggleGroupMultiDisabled"; "required": false; }; "wrap": { "alias": "rdxToggleGroupMultiWrap"; "required": false; }; "valueChange": { "alias": "rdxToggleGroupMultiValueChange"; "required": false; }; }, {}, ["buttons"], never, true,
|
90
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxToggleGroupMultiDirective, "[rdxToggleGroupMulti]", never, { "value": { "alias": "rdxToggleGroupMultiValue"; "required": false; }; "orientation": { "alias": "rdxToggleGroupMultiOrientation"; "required": false; }; "disabled": { "alias": "rdxToggleGroupMultiDisabled"; "required": false; }; "wrap": { "alias": "rdxToggleGroupMultiWrap"; "required": false; }; "valueChange": { "alias": "rdxToggleGroupMultiValueChange"; "required": false; }; }, {}, ["buttons"], never, true, never>;
|
101
91
|
static ngAcceptInputType_disabled: unknown;
|
102
92
|
static ngAcceptInputType_wrap: unknown;
|
103
93
|
}
|
@@ -1,13 +1,8 @@
|
|
1
|
-
import { AfterContentInit, EventEmitter, OnChanges,
|
1
|
+
import { AfterContentInit, EventEmitter, OnChanges, QueryList, SimpleChanges } from '@angular/core';
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
3
3
|
import type { RdxToggleGroupButtonDirective } from './toggle-group-button.directive';
|
4
4
|
import * as i0 from "@angular/core";
|
5
|
-
|
6
|
-
export declare class RdxToggleGroupDirective implements OnInit, OnChanges, AfterContentInit, ControlValueAccessor {
|
7
|
-
/**
|
8
|
-
* Access the roving focus group
|
9
|
-
*/
|
10
|
-
private readonly rovingFocusGroup;
|
5
|
+
export declare class RdxToggleGroupDirective implements OnChanges, AfterContentInit, ControlValueAccessor {
|
11
6
|
/**
|
12
7
|
* The selected toggle button.
|
13
8
|
*/
|
@@ -43,7 +38,6 @@ export declare class RdxToggleGroupDirective implements OnInit, OnChanges, After
|
|
43
38
|
* onTouch function registered via registerOnTouch (ControlValueAccessor).
|
44
39
|
*/
|
45
40
|
protected onTouched?: () => void;
|
46
|
-
ngOnInit(): void;
|
47
41
|
ngOnChanges(changes: SimpleChanges): void;
|
48
42
|
ngAfterContentInit(): void;
|
49
43
|
/**
|
@@ -84,7 +78,7 @@ export declare class RdxToggleGroupDirective implements OnInit, OnChanges, After
|
|
84
78
|
*/
|
85
79
|
setDisabledState(isDisabled: boolean): void;
|
86
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxToggleGroupDirective, never>;
|
87
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxToggleGroupDirective, "[rdxToggleGroup]", never, { "value": { "alias": "value"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "wrap": { "alias": "wrap"; "required": false; }; "valueChange": { "alias": "valueChange"; "required": false; }; }, {}, ["buttons"], never, true,
|
81
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxToggleGroupDirective, "[rdxToggleGroup]", never, { "value": { "alias": "value"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "wrap": { "alias": "wrap"; "required": false; }; "valueChange": { "alias": "valueChange"; "required": false; }; }, {}, ["buttons"], never, true, never>;
|
88
82
|
static ngAcceptInputType_disabled: unknown;
|
89
83
|
static ngAcceptInputType_wrap: unknown;
|
90
84
|
}
|
@@ -1,47 +0,0 @@
|
|
1
|
-
import { computed, Directive, ElementRef, inject, input } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
let idIterator = 0;
|
4
|
-
export class RdxLabelRootDirective {
|
5
|
-
constructor() {
|
6
|
-
this.id = input(`rdx-label-${idIterator++}`);
|
7
|
-
this.elementId = computed(() => (this.id() ? this.id() : null));
|
8
|
-
/**
|
9
|
-
* The id of the element the label is associated with.
|
10
|
-
* @default '-'
|
11
|
-
*/
|
12
|
-
this.htmlFor = input('');
|
13
|
-
this.elementRef = inject((ElementRef));
|
14
|
-
}
|
15
|
-
// prevent text selection when double-clicking label
|
16
|
-
// The main problem with double-clicks in a web app is that
|
17
|
-
// you will have to create special code to handle this on touch enabled devices.
|
18
|
-
onMouseDown(event) {
|
19
|
-
const target = event.target;
|
20
|
-
// only prevent text selection if clicking inside the label itself
|
21
|
-
if (['BUTTON', 'INPUT', 'SELECT', 'TEXTAREA'].includes(target.tagName)) {
|
22
|
-
return;
|
23
|
-
}
|
24
|
-
// prevent text selection when double-clicking label
|
25
|
-
if (this.elementRef.nativeElement.contains(target) &&
|
26
|
-
!event.defaultPrevented &&
|
27
|
-
event.detail > 1) {
|
28
|
-
event.preventDefault();
|
29
|
-
}
|
30
|
-
}
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.4", ngImport: i0, type: RdxLabelRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
32
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.0.4", type: RdxLabelRootDirective, isStandalone: true, selector: "label[LabelRoot]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, htmlFor: { classPropertyName: "htmlFor", publicName: "htmlFor", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "mousedown": "onMouseDown($event)" }, properties: { "attr.id": "this.elementId()", "attr.for": "htmlFor ? htmlFor() : null" } }, exportAs: ["LabelRoot"], ngImport: i0 }); }
|
33
|
-
}
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.4", ngImport: i0, type: RdxLabelRootDirective, decorators: [{
|
35
|
-
type: Directive,
|
36
|
-
args: [{
|
37
|
-
selector: 'label[LabelRoot]',
|
38
|
-
exportAs: 'LabelRoot',
|
39
|
-
standalone: true,
|
40
|
-
host: {
|
41
|
-
'[attr.id]': 'this.elementId()',
|
42
|
-
'[attr.for]': 'htmlFor ? htmlFor() : null',
|
43
|
-
'(mousedown)': 'onMouseDown($event)'
|
44
|
-
}
|
45
|
-
}]
|
46
|
-
}] });
|
47
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZX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Qgc2VsZWN0aW9uIGlmIGNsaWNraW5nIGluc2lkZSB0aGUgbGFiZWwgaXRzZWxmXG4gICAgICAgIGlmIChbJ0JVVFRPTicsICdJTlBVVCcsICdTRUxFQ1QnLCAnVEVYVEFSRUEnXS5pbmNsdWRlcyh0YXJnZXQudGFnTmFtZSkpIHtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIHByZXZlbnQgdGV4dCBzZWxlY3Rpb24gd2hlbiBkb3VibGUtY2xpY2tpbmcgbGFiZWxcbiAgICAgICAgaWYgKFxuICAgICAgICAgICAgdGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQuY29udGFpbnModGFyZ2V0KSAmJlxuICAgICAgICAgICAgIWV2ZW50LmRlZmF1bHRQcmV2ZW50ZWQgJiZcbiAgICAgICAgICAgIGV2ZW50LmRldGFpbCA+IDFcbiAgICAgICAgKSB7XG4gICAgICAgICAgICBldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICAgICAgICB9XG4gICAgfVxufVxuIl19
|
@@ -1,3 +0,0 @@
|
|
1
|
-
export * from './src/roving-focus-group.directive';
|
2
|
-
export * from './src/roving-focus-item.directive';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9wcmltaXRpdmVzL3JvdmluZy1mb2N1cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG9DQUFvQyxDQUFDO0FBQ25ELGNBQWMsbUNBQW1DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NyYy9yb3ZpbmctZm9jdXMtZ3JvdXAuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL3JvdmluZy1mb2N1cy1pdGVtLmRpcmVjdGl2ZSc7XG4iXX0=
|
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './index';
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaXgtbmctcHJpbWl0aXZlcy1yb3ZpbmctZm9jdXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9wcmltaXRpdmVzL3JvdmluZy1mb2N1cy9yYWRpeC1uZy1wcmltaXRpdmVzLXJvdmluZy1mb2N1cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|