@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
@@ -2,20 +2,29 @@ import * as i0 from '@angular/core';
|
|
2
2
|
import { input, computed, inject, ElementRef, Directive } from '@angular/core';
|
3
3
|
|
4
4
|
let idIterator = 0;
|
5
|
-
class
|
5
|
+
class RdxLabelDirective {
|
6
6
|
constructor() {
|
7
7
|
this.id = input(`rdx-label-${idIterator++}`);
|
8
|
+
/**
|
9
|
+
* @ignore
|
10
|
+
*/
|
8
11
|
this.elementId = computed(() => (this.id() ? this.id() : null));
|
9
12
|
/**
|
10
13
|
* The id of the element the label is associated with.
|
11
14
|
* @default '-'
|
12
15
|
*/
|
13
16
|
this.htmlFor = input('');
|
17
|
+
/**
|
18
|
+
* @ignore
|
19
|
+
*/
|
14
20
|
this.elementRef = inject((ElementRef));
|
15
21
|
}
|
16
22
|
// prevent text selection when double-clicking label
|
17
23
|
// The main problem with double-clicks in a web app is that
|
18
24
|
// you will have to create special code to handle this on touch enabled devices.
|
25
|
+
/**
|
26
|
+
* @ignore
|
27
|
+
*/
|
19
28
|
onMouseDown(event) {
|
20
29
|
const target = event.target;
|
21
30
|
// only prevent text selection if clicking inside the label itself
|
@@ -23,20 +32,18 @@ class RdxLabelRootDirective {
|
|
23
32
|
return;
|
24
33
|
}
|
25
34
|
// prevent text selection when double-clicking label
|
26
|
-
if (this.elementRef.nativeElement.contains(target) &&
|
27
|
-
!event.defaultPrevented &&
|
28
|
-
event.detail > 1) {
|
35
|
+
if (this.elementRef.nativeElement.contains(target) && !event.defaultPrevented && event.detail > 1) {
|
29
36
|
event.preventDefault();
|
30
37
|
}
|
31
38
|
}
|
32
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
33
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
40
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: RdxLabelDirective, isStandalone: true, selector: "label[rdxLabel]", 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: ["rdxLabel"], ngImport: i0 }); }
|
34
41
|
}
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxLabelDirective, decorators: [{
|
36
43
|
type: Directive,
|
37
44
|
args: [{
|
38
|
-
selector: 'label[
|
39
|
-
exportAs: '
|
45
|
+
selector: 'label[rdxLabel]',
|
46
|
+
exportAs: 'rdxLabel',
|
40
47
|
standalone: true,
|
41
48
|
host: {
|
42
49
|
'[attr.id]': 'this.elementId()',
|
@@ -50,5 +57,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.4", ngImpor
|
|
50
57
|
* Generated bundle index. Do not edit.
|
51
58
|
*/
|
52
59
|
|
53
|
-
export {
|
60
|
+
export { RdxLabelDirective };
|
54
61
|
//# sourceMappingURL=radix-ng-primitives-label.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"radix-ng-primitives-label.mjs","sources":["../../../packages/primitives/label/src/label
|
1
|
+
{"version":3,"file":"radix-ng-primitives-label.mjs","sources":["../../../packages/primitives/label/src/label.directive.ts","../../../packages/primitives/label/radix-ng-primitives-label.ts"],"sourcesContent":["import { computed, Directive, ElementRef, inject, input } from '@angular/core';\n\nlet idIterator = 0;\n\n@Directive({\n selector: 'label[rdxLabel]',\n exportAs: 'rdxLabel',\n standalone: true,\n host: {\n '[attr.id]': 'this.elementId()',\n '[attr.for]': 'htmlFor ? htmlFor() : null',\n '(mousedown)': 'onMouseDown($event)'\n }\n})\nexport class RdxLabelDirective {\n readonly id = input<string>(`rdx-label-${idIterator++}`);\n /**\n * @ignore\n */\n protected readonly elementId = computed(() => (this.id() ? this.id() : null));\n /**\n * The id of the element the label is associated with.\n * @default '-'\n */\n readonly htmlFor = input<string>('');\n\n /**\n * @ignore\n */\n private readonly elementRef = inject(ElementRef<HTMLElement>);\n\n // prevent text selection when double-clicking label\n // The main problem with double-clicks in a web app is that\n // you will have to create special code to handle this on touch enabled devices.\n /**\n * @ignore\n */\n onMouseDown(event: MouseEvent): void {\n const target = event.target as HTMLElement;\n\n // only prevent text selection if clicking inside the label itself\n if (['BUTTON', 'INPUT', 'SELECT', 'TEXTAREA'].includes(target.tagName)) {\n return;\n }\n\n // prevent text selection when double-clicking label\n if (this.elementRef.nativeElement.contains(target) && !event.defaultPrevented && event.detail > 1) {\n event.preventDefault();\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA,IAAI,UAAU,GAAG,CAAC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AAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,WAAA,EAAA,qBAAA,EAAA,EAAA,UAAA,EAAA,EAAA,SAAA,EAAA,kBAAA,EAAA,UAAA,EAAA,4BAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA,UAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAV7B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,QAAQ,EAAE,UAAU;AACpB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACF,wBAAA,WAAW,EAAE,kBAAkB;AAC/B,wBAAA,YAAY,EAAE,4BAA4B;AAC1C,wBAAA,aAAa,EAAE,qBAAqB;AACvC,qBAAA;AACJ,iBAAA,CAAA;;;ACbD;;AAEG;;;;"}
|
@@ -6,10 +6,10 @@ import * as i1$1 from '@radix-ng/primitives/separator';
|
|
6
6
|
import { RdxSeparatorRootDirective } from '@radix-ng/primitives/separator';
|
7
7
|
|
8
8
|
class RdxMenuContentDirective {
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
10
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
10
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.2", type: RdxMenuContentDirective, isStandalone: true, selector: "[MenuContent]", hostDirectives: [{ directive: i1.CdkMenu }], ngImport: i0 }); }
|
11
11
|
}
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuContentDirective, decorators: [{
|
13
13
|
type: Directive,
|
14
14
|
args: [{
|
15
15
|
selector: '[MenuContent]',
|
@@ -19,10 +19,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.4", ngImpor
|
|
19
19
|
}] });
|
20
20
|
|
21
21
|
class RdxMenuDirective {
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
23
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
23
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.2", type: RdxMenuDirective, isStandalone: true, selector: "[Menu],[MenuSub]", hostDirectives: [{ directive: i1.CdkMenu }], ngImport: i0 }); }
|
24
24
|
}
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuDirective, decorators: [{
|
26
26
|
type: Directive,
|
27
27
|
args: [{
|
28
28
|
selector: '[Menu],[MenuSub]',
|
@@ -33,10 +33,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.4", ngImpor
|
|
33
33
|
}] });
|
34
34
|
|
35
35
|
class RdxMenuGroupDirective {
|
36
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
37
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
36
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
37
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.2", type: RdxMenuGroupDirective, isStandalone: true, selector: "[MenuGroup]", host: { attributes: { "role": "group" } }, hostDirectives: [{ directive: i1.CdkMenuGroup }], ngImport: i0 }); }
|
38
38
|
}
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuGroupDirective, decorators: [{
|
40
40
|
type: Directive,
|
41
41
|
args: [{
|
42
42
|
selector: '[MenuGroup]',
|
@@ -48,6 +48,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.4", ngImpor
|
|
48
48
|
}]
|
49
49
|
}] });
|
50
50
|
|
51
|
+
// type radixProps = {
|
52
|
+
// disabled: boolean;
|
53
|
+
// onSelect: () => {};
|
54
|
+
// };
|
51
55
|
class RdxMenuItemDirective {
|
52
56
|
constructor() {
|
53
57
|
this.cdkMenuItem = inject(CdkMenuItem, { host: true });
|
@@ -63,10 +67,10 @@ class RdxMenuItemDirective {
|
|
63
67
|
this.cdkMenuItem.disabled = this.disabled();
|
64
68
|
});
|
65
69
|
}
|
66
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
67
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.
|
70
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
71
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: RdxMenuItemDirective, isStandalone: true, selector: "[MenuItem]", inputs: { disabled: { classPropertyName: "disabled", publicName: "rdxDisabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onSelect: "onSelect" }, host: { attributes: { "role": "menuitem", "type": "button", "tabindex": "0" }, properties: { "attr.data-orientation": "'horizontal'", "attr.data-disabled": "disabledState() ? '' : undefined", "disabled": "disabledState()" } }, hostDirectives: [{ directive: i1.CdkMenuItem }], ngImport: i0 }); }
|
68
72
|
}
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuItemDirective, decorators: [{
|
70
74
|
type: Directive,
|
71
75
|
args: [{
|
72
76
|
selector: '[MenuItem]',
|
@@ -87,10 +91,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.4", ngImpor
|
|
87
91
|
}] } });
|
88
92
|
|
89
93
|
class RdxMenuLabelDirective {
|
90
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
91
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
94
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
95
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.2", type: RdxMenuLabelDirective, isStandalone: true, selector: "div[MenuLabel]", ngImport: i0 }); }
|
92
96
|
}
|
93
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
97
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuLabelDirective, decorators: [{
|
94
98
|
type: Directive,
|
95
99
|
args: [{
|
96
100
|
selector: 'div[MenuLabel]',
|
@@ -99,10 +103,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.4", ngImpor
|
|
99
103
|
}] });
|
100
104
|
|
101
105
|
class RdxMenuSeparatorDirective {
|
102
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
103
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
106
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuSeparatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
107
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.2", type: RdxMenuSeparatorDirective, isStandalone: true, selector: "[MenuSeparator]", host: { attributes: { "role": "separator" }, properties: { "attr.aria-orientation": "'horizontal'" } }, hostDirectives: [{ directive: i1$1.RdxSeparatorRootDirective }], ngImport: i0 }); }
|
104
108
|
}
|
105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuSeparatorDirective, decorators: [{
|
106
110
|
type: Directive,
|
107
111
|
args: [{
|
108
112
|
selector: '[MenuSeparator]',
|
@@ -124,8 +128,8 @@ const menuImports = [
|
|
124
128
|
RdxMenuLabelDirective
|
125
129
|
];
|
126
130
|
class MenuModule {
|
127
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
128
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.
|
131
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
132
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.2", ngImport: i0, type: MenuModule, imports: [RdxMenuDirective,
|
129
133
|
RdxMenuGroupDirective,
|
130
134
|
RdxMenuItemDirective,
|
131
135
|
RdxMenuSeparatorDirective,
|
@@ -136,9 +140,9 @@ class MenuModule {
|
|
136
140
|
RdxMenuSeparatorDirective,
|
137
141
|
RdxMenuContentDirective,
|
138
142
|
RdxMenuLabelDirective] }); }
|
139
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.
|
143
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MenuModule }); }
|
140
144
|
}
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MenuModule, decorators: [{
|
142
146
|
type: NgModule,
|
143
147
|
args: [{
|
144
148
|
imports: [...menuImports],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"radix-ng-primitives-menu.mjs","sources":["../../../packages/primitives/menu/src/menu-content.directive.ts","../../../packages/primitives/menu/src/menu-directive.ts","../../../packages/primitives/menu/src/menu-group.directive.ts","../../../packages/primitives/menu/src/menu-item.directive.ts","../../../packages/primitives/menu/src/menu-label.directive.ts","../../../packages/primitives/menu/src/menu-separator.directive.ts","../../../packages/primitives/menu/index.ts","../../../packages/primitives/menu/radix-ng-primitives-menu.ts"],"sourcesContent":["import { CdkMenu } from '@angular/cdk/menu';\nimport { Directive } from '@angular/core';\n\n@Directive({\n selector: '[MenuContent]',\n standalone: true,\n hostDirectives: [CdkMenu]\n})\nexport class RdxMenuContentDirective {}\n","import { CdkMenu } from '@angular/cdk/menu';\nimport { Directive } from '@angular/core';\n\n@Directive({\n selector: '[Menu],[MenuSub]',\n standalone: true,\n host: {},\n hostDirectives: [CdkMenu]\n})\nexport class RdxMenuDirective {}\n","import { CdkMenuGroup } from '@angular/cdk/menu';\nimport { Directive } from '@angular/core';\n\n@Directive({\n selector: '[MenuGroup]',\n standalone: true,\n hostDirectives: [CdkMenuGroup],\n host: {\n role: 'group'\n }\n})\nexport class RdxMenuGroupDirective {}\n","import { BooleanInput } from '@angular/cdk/coercion';\nimport { CdkMenuItem } from '@angular/cdk/menu';\nimport {
|
1
|
+
{"version":3,"file":"radix-ng-primitives-menu.mjs","sources":["../../../packages/primitives/menu/src/menu-content.directive.ts","../../../packages/primitives/menu/src/menu-directive.ts","../../../packages/primitives/menu/src/menu-group.directive.ts","../../../packages/primitives/menu/src/menu-item.directive.ts","../../../packages/primitives/menu/src/menu-label.directive.ts","../../../packages/primitives/menu/src/menu-separator.directive.ts","../../../packages/primitives/menu/index.ts","../../../packages/primitives/menu/radix-ng-primitives-menu.ts"],"sourcesContent":["import { CdkMenu } from '@angular/cdk/menu';\nimport { Directive } from '@angular/core';\n\n@Directive({\n selector: '[MenuContent]',\n standalone: true,\n hostDirectives: [CdkMenu]\n})\nexport class RdxMenuContentDirective {}\n","import { CdkMenu } from '@angular/cdk/menu';\nimport { Directive } from '@angular/core';\n\n@Directive({\n selector: '[Menu],[MenuSub]',\n standalone: true,\n host: {},\n hostDirectives: [CdkMenu]\n})\nexport class RdxMenuDirective {}\n","import { CdkMenuGroup } from '@angular/cdk/menu';\nimport { Directive } from '@angular/core';\n\n@Directive({\n selector: '[MenuGroup]',\n standalone: true,\n hostDirectives: [CdkMenuGroup],\n host: {\n role: 'group'\n }\n})\nexport class RdxMenuGroupDirective {}\n","import { BooleanInput } from '@angular/cdk/coercion';\nimport { CdkMenuItem } from '@angular/cdk/menu';\nimport { booleanAttribute, computed, Directive, effect, inject, input, Output } from '@angular/core';\n\n// type radixProps = {\n// disabled: boolean;\n// onSelect: () => {};\n// };\n\n@Directive({\n selector: '[MenuItem]',\n standalone: true,\n hostDirectives: [CdkMenuItem],\n host: {\n role: 'menuitem',\n type: 'button',\n tabindex: '0',\n '[attr.data-orientation]': \"'horizontal'\",\n //'[attr.data-highlighted]': \"\",\n '[attr.data-disabled]': \"disabledState() ? '' : undefined\",\n '[disabled]': 'disabledState()'\n }\n})\nexport class RdxMenuItemDirective {\n private readonly cdkMenuItem = inject(CdkMenuItem, { host: true });\n\n // When true, prevents the user from interacting with the item.\n readonly disabled = input<boolean, BooleanInput>(false, {\n transform: booleanAttribute,\n alias: 'rdxDisabled'\n });\n\n protected readonly disabledState = computed(() => this.disabled());\n\n // Event handler called when the user selects an item (via mouse or keyboard).\n @Output()\n onSelect = this.cdkMenuItem.triggered;\n\n constructor() {\n effect(() => {\n this.cdkMenuItem.disabled = this.disabled();\n });\n }\n}\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: 'div[MenuLabel]',\n standalone: true\n})\nexport class RdxMenuLabelDirective {}\n","import { Directive } from '@angular/core';\nimport { RdxSeparatorRootDirective } from '@radix-ng/primitives/separator';\n\n@Directive({\n selector: '[MenuSeparator]',\n standalone: true,\n hostDirectives: [RdxSeparatorRootDirective],\n host: {\n role: 'separator',\n '[attr.aria-orientation]': \"'horizontal'\"\n }\n})\nexport class RdxMenuSeparatorDirective {}\n","import { NgModule } from '@angular/core';\nimport { RdxMenuContentDirective } from './src/menu-content.directive';\nimport { RdxMenuDirective } from './src/menu-directive';\nimport { RdxMenuGroupDirective } from './src/menu-group.directive';\nimport { RdxMenuItemDirective } from './src/menu-item.directive';\nimport { RdxMenuLabelDirective } from './src/menu-label.directive';\nimport { RdxMenuSeparatorDirective } from './src/menu-separator.directive';\n\nexport * from './src/menu-content.directive';\nexport * from './src/menu-directive';\nexport * from './src/menu-group.directive';\nexport * from './src/menu-item.directive';\nexport * from './src/menu-label.directive';\nexport * from './src/menu-separator.directive';\n\nconst menuImports = [\n RdxMenuDirective,\n RdxMenuGroupDirective,\n RdxMenuItemDirective,\n RdxMenuSeparatorDirective,\n RdxMenuContentDirective,\n RdxMenuLabelDirective\n];\n\n@NgModule({\n imports: [...menuImports],\n exports: [...menuImports]\n})\nexport class MenuModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;MAQa,uBAAuB,CAAA;8GAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,OAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBALnC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,UAAU,EAAE,IAAI;oBAChB,cAAc,EAAE,CAAC,OAAO,CAAC;AAC5B,iBAAA,CAAA;;;MCEY,gBAAgB,CAAA;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAhB,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,OAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAN5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA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AyB,CAAC;AAC3C,oBAAA,IAAI,EAAE;AACF,wBAAA,IAAI,EAAE,WAAW;AACjB,wBAAA,yBAAyB,EAAE,cAAc;AAC5C,qBAAA;AACJ,iBAAA,CAAA;;;ACID,MAAM,WAAW,GAAG;IAChB,gBAAgB;IAChB,qBAAqB;IACrB,oBAAoB;IACpB,yBAAyB;IACzB,uBAAuB;IACvB,qBAAqB;CACxB,CAAC;MAMW,UAAU,CAAA;8GAAV,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAV,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,YAZnB,gBAAgB;YAChB,qBAAqB;YACrB,oBAAoB;YACpB,yBAAyB;YACzB,uBAAuB;AACvB,YAAA,qBAAqB,aALrB,gBAAgB;YAChB,qBAAqB;YACrB,oBAAoB;YACpB,yBAAyB;YACzB,uBAAuB;YACvB,qBAAqB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAOZ,UAAU,EAAA,CAAA,CAAA,EAAA;;2FAAV,UAAU,EAAA,UAAA,EAAA,CAAA;kBAJtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,GAAG,WAAW,CAAC;AACzB,oBAAA,OAAO,EAAE,CAAC,GAAG,WAAW,CAAC;AAC5B,iBAAA,CAAA;;;AC3BD;;AAEG;;;;"}
|
@@ -6,10 +6,10 @@ import * as i1$1 from '@radix-ng/primitives/menu';
|
|
6
6
|
import { RdxMenuItemDirective, RdxMenuSeparatorDirective } from '@radix-ng/primitives/menu';
|
7
7
|
|
8
8
|
class RdxMenuBarContentDirective {
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
10
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuBarContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
10
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.2", type: RdxMenuBarContentDirective, isStandalone: true, selector: "[MenuBarContent]", hostDirectives: [{ directive: i1.CdkMenu }], ngImport: i0 }); }
|
11
11
|
}
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuBarContentDirective, decorators: [{
|
13
13
|
type: Directive,
|
14
14
|
args: [{
|
15
15
|
selector: '[MenuBarContent]',
|
@@ -31,10 +31,10 @@ class RdxMenubarItemCheckboxDirective {
|
|
31
31
|
this.cdkMenuItemCheckbox.disabled = this.disabled();
|
32
32
|
});
|
33
33
|
}
|
34
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
35
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenubarItemCheckboxDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
35
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: RdxMenubarItemCheckboxDirective, isStandalone: true, selector: "[MenubarCheckboxItem]", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "menuitemcheckbox" }, properties: { "attr.data-state": "checked() ? \"checked\": \"unchecked\"", "disabled": "disabledState()" } }, hostDirectives: [{ directive: i1.CdkMenuItemCheckbox }], ngImport: i0 }); }
|
36
36
|
}
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenubarItemCheckboxDirective, decorators: [{
|
38
38
|
type: Directive,
|
39
39
|
args: [{
|
40
40
|
selector: '[MenubarCheckboxItem]',
|
@@ -49,10 +49,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.4", ngImpor
|
|
49
49
|
}], ctorParameters: () => [] });
|
50
50
|
|
51
51
|
class RdxMenubarItemIndicatorDirective {
|
52
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
53
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenubarItemIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
53
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.2", type: RdxMenubarItemIndicatorDirective, isStandalone: true, selector: "[MenubarItemIndicator]", host: { properties: { "attr.data-state": "true" } }, ngImport: i0 }); }
|
54
54
|
}
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenubarItemIndicatorDirective, decorators: [{
|
56
56
|
type: Directive,
|
57
57
|
args: [{
|
58
58
|
selector: '[MenubarItemIndicator]',
|
@@ -76,10 +76,10 @@ class RdxMenubarItemRadioDirective {
|
|
76
76
|
this.cdkMenuItemRadio.disabled = this.disabled();
|
77
77
|
});
|
78
78
|
}
|
79
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
80
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.
|
79
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenubarItemRadioDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
80
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: RdxMenubarItemRadioDirective, isStandalone: true, selector: "[MenubarItemRadio]", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "menuitemradio" }, properties: { "attr.aria-checked": "checked()", "attr.data-state": "checked() ? \"checked\": \"unchecked\"", "disabled": "disabledState()" } }, hostDirectives: [{ directive: i1.CdkMenuItemRadio }], ngImport: i0 }); }
|
81
81
|
}
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenubarItemRadioDirective, decorators: [{
|
83
83
|
type: Directive,
|
84
84
|
args: [{
|
85
85
|
selector: '[MenubarItemRadio]',
|
@@ -98,10 +98,10 @@ class RdxMenuBarItemDirective {
|
|
98
98
|
constructor() {
|
99
99
|
this.disabled = input(false, { transform: booleanAttribute });
|
100
100
|
}
|
101
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
102
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.
|
101
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuBarItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
102
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: RdxMenuBarItemDirective, isStandalone: true, selector: "[MenuBarItem]", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, hostDirectives: [{ directive: i1$1.RdxMenuItemDirective, inputs: ["rdxDisabled", "disabled"] }], ngImport: i0 }); }
|
103
103
|
}
|
104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuBarItemDirective, decorators: [{
|
105
105
|
type: Directive,
|
106
106
|
args: [{
|
107
107
|
selector: '[MenuBarItem]',
|
@@ -111,10 +111,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.4", ngImpor
|
|
111
111
|
}] });
|
112
112
|
|
113
113
|
class RdxMenubarRadioGroupDirective {
|
114
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
115
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
114
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenubarRadioGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
115
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.2", type: RdxMenubarRadioGroupDirective, isStandalone: true, selector: "[MenubarRadioGroup]", hostDirectives: [{ directive: i1.CdkMenuGroup }], ngImport: i0 }); }
|
116
116
|
}
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenubarRadioGroupDirective, decorators: [{
|
118
118
|
type: Directive,
|
119
119
|
args: [{
|
120
120
|
selector: '[MenubarRadioGroup]',
|
@@ -127,10 +127,10 @@ class RdxMenuBarDirective {
|
|
127
127
|
constructor() {
|
128
128
|
this.orientation = input('horizontal');
|
129
129
|
}
|
130
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
131
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.
|
130
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuBarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
131
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: RdxMenuBarDirective, isStandalone: true, selector: "[MenuBarRoot]", inputs: { orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "tabindex": "0" }, properties: { "attr.data-orientation": "orientation()" } }, hostDirectives: [{ directive: i1.CdkMenuBar }], ngImport: i0 }); }
|
132
132
|
}
|
133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuBarDirective, decorators: [{
|
134
134
|
type: Directive,
|
135
135
|
args: [{
|
136
136
|
selector: '[MenuBarRoot]',
|
@@ -144,10 +144,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.4", ngImpor
|
|
144
144
|
}] });
|
145
145
|
|
146
146
|
class RdxMenubarSeparatorDirective {
|
147
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
148
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
147
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenubarSeparatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
148
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.2", type: RdxMenubarSeparatorDirective, isStandalone: true, selector: "[MenubarSeparator]", hostDirectives: [{ directive: i1$1.RdxMenuSeparatorDirective }], ngImport: i0 }); }
|
149
149
|
}
|
150
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenubarSeparatorDirective, decorators: [{
|
151
151
|
type: Directive,
|
152
152
|
args: [{
|
153
153
|
selector: '[MenubarSeparator]',
|
@@ -175,10 +175,10 @@ class RdxMenuBarTriggerDirective {
|
|
175
175
|
}
|
176
176
|
}
|
177
177
|
}
|
178
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
179
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.
|
178
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuBarTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
179
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: RdxMenuBarTriggerDirective, isStandalone: true, selector: "[MenuBarTrigger]", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "type": "button", "role": "menuitem" }, listeners: { "pointerdown": "onPointerDown($event)" }, properties: { "attr.aria-haspopup": "'menu'", "attr.aria-expanded": "cdkTrigger.isOpen()", "attr.data-state": "cdkTrigger.isOpen() ? 'open': 'closed'", "attr.data-disabled": "disabled() ? '' : undefined", "disabled": "disabled()" } }, hostDirectives: [{ directive: i1.CdkMenuTrigger, inputs: ["cdkMenuTriggerFor", "MenuBarTrigger"] }], ngImport: i0 }); }
|
180
180
|
}
|
181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RdxMenuBarTriggerDirective, decorators: [{
|
182
182
|
type: Directive,
|
183
183
|
args: [{
|
184
184
|
selector: '[MenuBarTrigger]',
|
@@ -209,8 +209,8 @@ const menubarImports = [
|
|
209
209
|
RdxMenubarRadioGroupDirective
|
210
210
|
];
|
211
211
|
class MenubarModule {
|
212
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
213
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.
|
212
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MenubarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
213
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.2", ngImport: i0, type: MenubarModule, imports: [RdxMenuBarContentDirective,
|
214
214
|
RdxMenuBarTriggerDirective,
|
215
215
|
RdxMenubarSeparatorDirective,
|
216
216
|
RdxMenubarItemCheckboxDirective,
|
@@ -227,9 +227,9 @@ class MenubarModule {
|
|
227
227
|
RdxMenubarItemIndicatorDirective,
|
228
228
|
RdxMenubarItemRadioDirective,
|
229
229
|
RdxMenubarRadioGroupDirective] }); }
|
230
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.
|
230
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MenubarModule }); }
|
231
231
|
}
|
232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MenubarModule, decorators: [{
|
233
233
|
type: NgModule,
|
234
234
|
args: [{
|
235
235
|
imports: [...menubarImports],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"radix-ng-primitives-menubar.mjs","sources":["../../../packages/primitives/menubar/src/menubar-content.directive.ts","../../../packages/primitives/menubar/src/menubar-item-checkbox.directive.ts","../../../packages/primitives/menubar/src/menubar-item-indicator.directive.ts","../../../packages/primitives/menubar/src/menubar-item-radio.directive.ts","../../../packages/primitives/menubar/src/menubar-item.directive.ts","../../../packages/primitives/menubar/src/menubar-radio-group.directive.ts","../../../packages/primitives/menubar/src/menubar-root.directive.ts","../../../packages/primitives/menubar/src/menubar-separator.directive.ts","../../../packages/primitives/menubar/src/menubar-trigger.directive.ts","../../../packages/primitives/menubar/index.ts","../../../packages/primitives/menubar/radix-ng-primitives-menubar.ts"],"sourcesContent":["import { CdkMenu } from '@angular/cdk/menu';\nimport { Directive } from '@angular/core';\n\n@Directive({\n selector: '[MenuBarContent]',\n standalone: true,\n hostDirectives: [CdkMenu]\n})\nexport class RdxMenuBarContentDirective {}\n","import { BooleanInput } from '@angular/cdk/coercion';\nimport { CdkMenuItemCheckbox } from '@angular/cdk/menu';\nimport {\n booleanAttribute,\n computed,\n Directive,\n effect,\n inject,\n input,\n signal\n} from '@angular/core';\n\n@Directive({\n selector: '[MenubarCheckboxItem]',\n standalone: true,\n hostDirectives: [CdkMenuItemCheckbox],\n host: {\n role: 'menuitemcheckbox',\n '[attr.data-state]': 'checked() ? \"checked\": \"unchecked\"',\n '[disabled]': 'disabledState()'\n }\n})\nexport class RdxMenubarItemCheckboxDirective {\n private readonly cdkMenuItemCheckbox = inject(CdkMenuItemCheckbox, { host: true });\n\n readonly disabled = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n readonly checked = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n\n protected readonly disabledState = computed(() => this.disabled || this.disabled$());\n\n protected readonly checked$ = signal(this.cdkMenuItemCheckbox.checked);\n protected readonly disabled$ = signal(this.cdkMenuItemCheckbox.disabled);\n\n constructor() {\n effect(() => {\n this.cdkMenuItemCheckbox.checked = this.checked();\n this.cdkMenuItemCheckbox.disabled = this.disabled();\n });\n }\n}\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[MenubarItemIndicator]',\n standalone: true,\n host: {\n '[attr.data-state]': 'true'\n }\n})\nexport class RdxMenubarItemIndicatorDirective {}\n","import { BooleanInput } from '@angular/cdk/coercion';\nimport { CdkMenuItemRadio } from '@angular/cdk/menu';\nimport {\n booleanAttribute,\n computed,\n Directive,\n effect,\n inject,\n input,\n signal\n} from '@angular/core';\n\n@Directive({\n selector: '[MenubarItemRadio]',\n standalone: true,\n hostDirectives: [CdkMenuItemRadio],\n host: {\n role: 'menuitemradio',\n '[attr.aria-checked]': 'checked()',\n '[attr.data-state]': 'checked() ? \"checked\": \"unchecked\"',\n '[disabled]': 'disabledState()'\n }\n})\nexport class RdxMenubarItemRadioDirective {\n private readonly cdkMenuItemRadio = inject(CdkMenuItemRadio, { host: true });\n\n readonly disabled = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n readonly checked = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n\n protected readonly disabledState = computed(() => this.disabled || this.disabled$());\n\n protected readonly checked$ = signal(this.cdkMenuItemRadio.checked);\n protected readonly disabled$ = signal(this.cdkMenuItemRadio.disabled);\n\n constructor() {\n effect(() => {\n this.cdkMenuItemRadio.checked = this.checked();\n this.cdkMenuItemRadio.disabled = this.disabled();\n });\n }\n}\n","import { BooleanInput } from '@angular/cdk/coercion';\nimport { booleanAttribute, Directive, input } from '@angular/core';\n\nimport { RdxMenuItemDirective } from '@radix-ng/primitives/menu';\n\n@Directive({\n selector: '[MenuBarItem]',\n standalone: true,\n hostDirectives: [{ directive: RdxMenuItemDirective, inputs: ['rdxDisabled: disabled '] }]\n})\nexport class RdxMenuBarItemDirective {\n readonly disabled = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n}\n","import { CdkMenuGroup } from '@angular/cdk/menu';\nimport { Directive } from '@angular/core';\n\n@Directive({\n selector: '[MenubarRadioGroup]',\n standalone: true,\n hostDirectives: [CdkMenuGroup]\n})\nexport class RdxMenubarRadioGroupDirective {}\n","import { CdkMenuBar } from '@angular/cdk/menu';\nimport { Directive, input } from '@angular/core';\n\n@Directive({\n selector: '[MenuBarRoot]',\n standalone: true,\n hostDirectives: [CdkMenuBar],\n host: {\n tabindex: '0',\n '[attr.data-orientation]': 'orientation()'\n }\n})\nexport class RdxMenuBarDirective {\n readonly orientation = input<'horizontal' | 'vertical'>('horizontal');\n}\n","import { Directive } from '@angular/core';\n\nimport { RdxMenuSeparatorDirective } from '@radix-ng/primitives/menu';\n\n@Directive({\n selector: '[MenubarSeparator]',\n standalone: true,\n hostDirectives: [RdxMenuSeparatorDirective]\n})\nexport class RdxMenubarSeparatorDirective {}\n","import { BooleanInput } from '@angular/cdk/coercion';\nimport { CdkMenuTrigger } from '@angular/cdk/menu';\nimport { booleanAttribute, Directive, inject, input, Input } from '@angular/core';\n\n@Directive({\n selector: '[MenuBarTrigger]',\n standalone: true,\n hostDirectives: [{ directive: CdkMenuTrigger, inputs: ['cdkMenuTriggerFor: MenuBarTrigger'] }],\n host: {\n type: 'button',\n role: 'menuitem',\n '[attr.aria-haspopup]': \"'menu'\",\n '[attr.aria-expanded]': 'cdkTrigger.isOpen()',\n '[attr.data-state]': \"cdkTrigger.isOpen() ? 'open': 'closed'\",\n '[attr.data-disabled]': \"disabled() ? '' : undefined\",\n '[disabled]': 'disabled()',\n\n '(pointerdown)': 'onPointerDown($event)'\n }\n})\nexport class RdxMenuBarTriggerDirective {\n protected readonly cdkTrigger = inject(CdkMenuTrigger, { host: true });\n\n readonly disabled = input<boolean, BooleanInput>(false, {\n transform: booleanAttribute\n });\n\n onPointerDown($event: MouseEvent) {\n // only call handler if it's the left button (mousedown gets triggered by all mouse buttons)\n // but not when the control key is pressed (avoiding MacOS right click)\n if (!this.disabled() && $event.button === 0 && !$event.ctrlKey) {\n /* empty */\n if (!this.cdkTrigger.isOpen()) {\n // prevent trigger focusing when opening\n // this allows the content to be given focus without competition\n $event.preventDefault();\n }\n }\n }\n}\n","import { NgModule } from '@angular/core';\n\nimport { RdxMenuBarContentDirective } from './src/menubar-content.directive';\nimport { RdxMenubarItemCheckboxDirective } from './src/menubar-item-checkbox.directive';\nimport { RdxMenubarItemIndicatorDirective } from './src/menubar-item-indicator.directive';\nimport { RdxMenubarItemRadioDirective } from './src/menubar-item-radio.directive';\nimport { RdxMenuBarItemDirective } from './src/menubar-item.directive';\nimport { RdxMenubarRadioGroupDirective } from './src/menubar-radio-group.directive';\nimport { RdxMenuBarDirective } from './src/menubar-root.directive';\nimport { RdxMenubarSeparatorDirective } from './src/menubar-separator.directive';\nimport { RdxMenuBarTriggerDirective } from './src/menubar-trigger.directive';\n\nexport * from './src/menubar-content.directive';\nexport * from './src/menubar-item.directive';\nexport * from './src/menubar-item-checkbox.directive';\nexport * from './src/menubar-item-radio.directive';\nexport * from './src/menubar-radio-group.directive';\nexport * from './src/menubar-item-indicator.directive';\nexport * from './src/menubar-root.directive';\nexport * from './src/menubar-separator.directive';\nexport * from './src/menubar-trigger.directive';\n\nconst menubarImports = [\n RdxMenuBarContentDirective,\n RdxMenuBarTriggerDirective,\n RdxMenubarSeparatorDirective,\n RdxMenubarItemCheckboxDirective,\n RdxMenuBarDirective,\n RdxMenuBarItemDirective,\n RdxMenubarItemIndicatorDirective,\n RdxMenubarItemRadioDirective,\n RdxMenubarRadioGroupDirective\n];\n\n@NgModule({\n imports: [...menubarImports],\n exports: [...menubarImports]\n})\nexport class MenubarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\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AAG,cAAc,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,GAAG,cAAc,CAAC;AAC/B,iBAAA,CAAA;;;ACrCD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"radix-ng-primitives-menubar.mjs","sources":["../../../packages/primitives/menubar/src/menubar-content.directive.ts","../../../packages/primitives/menubar/src/menubar-item-checkbox.directive.ts","../../../packages/primitives/menubar/src/menubar-item-indicator.directive.ts","../../../packages/primitives/menubar/src/menubar-item-radio.directive.ts","../../../packages/primitives/menubar/src/menubar-item.directive.ts","../../../packages/primitives/menubar/src/menubar-radio-group.directive.ts","../../../packages/primitives/menubar/src/menubar-root.directive.ts","../../../packages/primitives/menubar/src/menubar-separator.directive.ts","../../../packages/primitives/menubar/src/menubar-trigger.directive.ts","../../../packages/primitives/menubar/index.ts","../../../packages/primitives/menubar/radix-ng-primitives-menubar.ts"],"sourcesContent":["import { CdkMenu } from '@angular/cdk/menu';\nimport { Directive } from '@angular/core';\n\n@Directive({\n selector: '[MenuBarContent]',\n standalone: true,\n hostDirectives: [CdkMenu]\n})\nexport class RdxMenuBarContentDirective {}\n","import { BooleanInput } from '@angular/cdk/coercion';\nimport { CdkMenuItemCheckbox } from '@angular/cdk/menu';\nimport { booleanAttribute, computed, Directive, effect, inject, input, signal } from '@angular/core';\n\n@Directive({\n selector: '[MenubarCheckboxItem]',\n standalone: true,\n hostDirectives: [CdkMenuItemCheckbox],\n host: {\n role: 'menuitemcheckbox',\n '[attr.data-state]': 'checked() ? \"checked\": \"unchecked\"',\n '[disabled]': 'disabledState()'\n }\n})\nexport class RdxMenubarItemCheckboxDirective {\n private readonly cdkMenuItemCheckbox = inject(CdkMenuItemCheckbox, { host: true });\n\n readonly disabled = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n readonly checked = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n\n protected readonly disabledState = computed(() => this.disabled || this.disabled$());\n\n protected readonly checked$ = signal(this.cdkMenuItemCheckbox.checked);\n protected readonly disabled$ = signal(this.cdkMenuItemCheckbox.disabled);\n\n constructor() {\n effect(() => {\n this.cdkMenuItemCheckbox.checked = this.checked();\n this.cdkMenuItemCheckbox.disabled = this.disabled();\n });\n }\n}\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[MenubarItemIndicator]',\n standalone: true,\n host: {\n '[attr.data-state]': 'true'\n }\n})\nexport class RdxMenubarItemIndicatorDirective {}\n","import { BooleanInput } from '@angular/cdk/coercion';\nimport { CdkMenuItemRadio } from '@angular/cdk/menu';\nimport { booleanAttribute, computed, Directive, effect, inject, input, signal } from '@angular/core';\n\n@Directive({\n selector: '[MenubarItemRadio]',\n standalone: true,\n hostDirectives: [CdkMenuItemRadio],\n host: {\n role: 'menuitemradio',\n '[attr.aria-checked]': 'checked()',\n '[attr.data-state]': 'checked() ? \"checked\": \"unchecked\"',\n '[disabled]': 'disabledState()'\n }\n})\nexport class RdxMenubarItemRadioDirective {\n private readonly cdkMenuItemRadio = inject(CdkMenuItemRadio, { host: true });\n\n readonly disabled = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n readonly checked = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n\n protected readonly disabledState = computed(() => this.disabled || this.disabled$());\n\n protected readonly checked$ = signal(this.cdkMenuItemRadio.checked);\n protected readonly disabled$ = signal(this.cdkMenuItemRadio.disabled);\n\n constructor() {\n effect(() => {\n this.cdkMenuItemRadio.checked = this.checked();\n this.cdkMenuItemRadio.disabled = this.disabled();\n });\n }\n}\n","import { BooleanInput } from '@angular/cdk/coercion';\nimport { booleanAttribute, Directive, input } from '@angular/core';\nimport { RdxMenuItemDirective } from '@radix-ng/primitives/menu';\n\n@Directive({\n selector: '[MenuBarItem]',\n standalone: true,\n hostDirectives: [{ directive: RdxMenuItemDirective, inputs: ['rdxDisabled: disabled '] }]\n})\nexport class RdxMenuBarItemDirective {\n readonly disabled = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n}\n","import { CdkMenuGroup } from '@angular/cdk/menu';\nimport { Directive } from '@angular/core';\n\n@Directive({\n selector: '[MenubarRadioGroup]',\n standalone: true,\n hostDirectives: [CdkMenuGroup]\n})\nexport class RdxMenubarRadioGroupDirective {}\n","import { CdkMenuBar } from '@angular/cdk/menu';\nimport { Directive, input } from '@angular/core';\n\n@Directive({\n selector: '[MenuBarRoot]',\n standalone: true,\n hostDirectives: [CdkMenuBar],\n host: {\n tabindex: '0',\n '[attr.data-orientation]': 'orientation()'\n }\n})\nexport class RdxMenuBarDirective {\n readonly orientation = input<'horizontal' | 'vertical'>('horizontal');\n}\n","import { Directive } from '@angular/core';\nimport { RdxMenuSeparatorDirective } from '@radix-ng/primitives/menu';\n\n@Directive({\n selector: '[MenubarSeparator]',\n standalone: true,\n hostDirectives: [RdxMenuSeparatorDirective]\n})\nexport class RdxMenubarSeparatorDirective {}\n","import { BooleanInput } from '@angular/cdk/coercion';\nimport { CdkMenuTrigger } from '@angular/cdk/menu';\nimport { booleanAttribute, Directive, inject, input } from '@angular/core';\n\n@Directive({\n selector: '[MenuBarTrigger]',\n standalone: true,\n hostDirectives: [{ directive: CdkMenuTrigger, inputs: ['cdkMenuTriggerFor: MenuBarTrigger'] }],\n host: {\n type: 'button',\n role: 'menuitem',\n '[attr.aria-haspopup]': \"'menu'\",\n '[attr.aria-expanded]': 'cdkTrigger.isOpen()',\n '[attr.data-state]': \"cdkTrigger.isOpen() ? 'open': 'closed'\",\n '[attr.data-disabled]': \"disabled() ? '' : undefined\",\n '[disabled]': 'disabled()',\n\n '(pointerdown)': 'onPointerDown($event)'\n }\n})\nexport class RdxMenuBarTriggerDirective {\n protected readonly cdkTrigger = inject(CdkMenuTrigger, { host: true });\n\n readonly disabled = input<boolean, BooleanInput>(false, {\n transform: booleanAttribute\n });\n\n onPointerDown($event: MouseEvent) {\n // only call handler if it's the left button (mousedown gets triggered by all mouse buttons)\n // but not when the control key is pressed (avoiding MacOS right click)\n if (!this.disabled() && $event.button === 0 && !$event.ctrlKey) {\n /* empty */\n if (!this.cdkTrigger.isOpen()) {\n // prevent trigger focusing when opening\n // this allows the content to be given focus without competition\n $event.preventDefault();\n }\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { RdxMenuBarContentDirective } from './src/menubar-content.directive';\nimport { RdxMenubarItemCheckboxDirective } from './src/menubar-item-checkbox.directive';\nimport { RdxMenubarItemIndicatorDirective } from './src/menubar-item-indicator.directive';\nimport { RdxMenubarItemRadioDirective } from './src/menubar-item-radio.directive';\nimport { RdxMenuBarItemDirective } from './src/menubar-item.directive';\nimport { RdxMenubarRadioGroupDirective } from './src/menubar-radio-group.directive';\nimport { RdxMenuBarDirective } from './src/menubar-root.directive';\nimport { RdxMenubarSeparatorDirective } from './src/menubar-separator.directive';\nimport { RdxMenuBarTriggerDirective } from './src/menubar-trigger.directive';\n\nexport * from './src/menubar-content.directive';\nexport * from './src/menubar-item-checkbox.directive';\nexport * from './src/menubar-item-indicator.directive';\nexport * from './src/menubar-item-radio.directive';\nexport * from './src/menubar-item.directive';\nexport * from './src/menubar-radio-group.directive';\nexport * from './src/menubar-root.directive';\nexport * from './src/menubar-separator.directive';\nexport * from './src/menubar-trigger.directive';\n\nconst menubarImports = [\n RdxMenuBarContentDirective,\n RdxMenuBarTriggerDirective,\n RdxMenubarSeparatorDirective,\n RdxMenubarItemCheckboxDirective,\n RdxMenuBarDirective,\n RdxMenuBarItemDirective,\n RdxMenubarItemIndicatorDirective,\n RdxMenubarItemRadioDirective,\n RdxMenubarRadioGroupDirective\n];\n\n@NgModule({\n imports: [...menubarImports],\n exports: [...menubarImports]\n})\nexport class MenubarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;MAQa,0BAA0B,CAAA;8GAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA1B,0BAA0B,EAAA,YAAA,EAAA,IA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