@radix-ng/primitives 0.12.2 → 0.13.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 +11 -0
- package/compodoc/documentation.json +487 -133
- package/context-menu/index.d.ts +16 -0
- package/dialog/src/dialog.config.d.ts +1 -1
- package/dialog/src/dialog.providers.d.ts +1 -1
- package/dropdown-menu/index.d.ts +16 -0
- package/esm2022/accordion/index.mjs +35 -1
- package/esm2022/context-menu/index.mjs +55 -1
- package/esm2022/dialog/index.mjs +6 -3
- package/esm2022/dialog/src/dialog.config.mjs +1 -1
- package/esm2022/dialog/src/dialog.providers.mjs +2 -2
- package/esm2022/dialog/src/dialog.service.mjs +14 -5
- package/esm2022/dropdown-menu/index.mjs +58 -1
- package/esm2022/progress/index.mjs +23 -1
- package/esm2022/progress/src/progress-indicator.directive.mjs +4 -4
- package/esm2022/progress/src/progress-root.directive.mjs +4 -4
- package/fesm2022/radix-ng-primitives-accordion.mjs +30 -2
- package/fesm2022/radix-ng-primitives-accordion.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-context-menu.mjs +46 -3
- package/fesm2022/radix-ng-primitives-context-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-dialog.mjs +20 -8
- package/fesm2022/radix-ng-primitives-dialog.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-dropdown-menu.mjs +49 -3
- package/fesm2022/radix-ng-primitives-dropdown-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-progress.mjs +27 -8
- package/fesm2022/radix-ng-primitives-progress.mjs.map +1 -1
- package/package.json +1 -1
- package/progress/index.d.ts +8 -0
- package/progress/src/progress-indicator.directive.d.ts +1 -1
- package/progress/src/progress-root.directive.d.ts +1 -1
@@ -3,12 +3,12 @@
|
|
3
3
|
"interfaces": [
|
4
4
|
{
|
5
5
|
"name": "ProgressProps",
|
6
|
-
"id": "interface-ProgressProps-
|
6
|
+
"id": "interface-ProgressProps-689013cd68bdaebb3d7bcd4418d8cab4edd37bd99180558bf809384c98251a7e3a7d618d17719d77625067d1a347f4948650abfb703627eb4a956af2e89c132a",
|
7
7
|
"file": "progress/src/progress-root.directive.ts",
|
8
8
|
"deprecated": false,
|
9
9
|
"deprecationMessage": "",
|
10
10
|
"type": "interface",
|
11
|
-
"sourceCode": "import { Directive, inject, InjectionToken, Input, numberAttribute, OnChanges, SimpleChanges } from '@angular/core';\n\nlet idIterator = 0;\n\nconst MIN_PERCENT = 0;\nconst DEFAULT_MAX = 100;\nconst PROGRESS_NAME = 'Radix Progress';\n\nconst RdxProgressToken = new InjectionToken<RdxProgressRootDirective>('RdxProgressDirective');\n\n/**\n * Injects the current instance of RdxProgressRootDirective.\n * @returns The instance of RdxProgressRootDirective.\n */\nexport function injectProgress(): RdxProgressRootDirective {\n return inject(RdxProgressToken);\n}\n\nexport type ProgressState = 'indeterminate' | 'complete' | 'loading';\n\nexport interface ProgressProps {\n value?: number | null | undefined;\n max?: number;\n getValueLabel?: string;\n}\n\n/**\n * Directive to manage progress bar state and attributes.\n *\n * This directive provides a way to create a progress bar with customizable value and max attributes.\n * It handles aria attributes for accessibility and provides different states like 'indeterminate', 'complete', and 'loading'.\n */\n@Directive({\n selector: '
|
11
|
+
"sourceCode": "import { Directive, inject, InjectionToken, Input, numberAttribute, OnChanges, SimpleChanges } from '@angular/core';\n\nlet idIterator = 0;\n\nconst MIN_PERCENT = 0;\nconst DEFAULT_MAX = 100;\nconst PROGRESS_NAME = 'Radix Progress';\n\nconst RdxProgressToken = new InjectionToken<RdxProgressRootDirective>('RdxProgressDirective');\n\n/**\n * Injects the current instance of RdxProgressRootDirective.\n * @returns The instance of RdxProgressRootDirective.\n */\nexport function injectProgress(): RdxProgressRootDirective {\n return inject(RdxProgressToken);\n}\n\nexport type ProgressState = 'indeterminate' | 'complete' | 'loading';\n\nexport interface ProgressProps {\n value?: number | null | undefined;\n max?: number;\n getValueLabel?: string;\n}\n\n/**\n * Directive to manage progress bar state and attributes.\n *\n * This directive provides a way to create a progress bar with customizable value and max attributes.\n * It handles aria attributes for accessibility and provides different states like 'indeterminate', 'complete', and 'loading'.\n */\n@Directive({\n selector: '[rdxProgressRoot]',\n exportAs: 'rdxProgressRoot',\n standalone: true,\n providers: [{ provide: RdxProgressToken, useExisting: RdxProgressRootDirective }],\n host: {\n role: 'progressbar',\n '[id]': 'id',\n '[attr.aria-valuemax]': 'max',\n '[attr.aria-valuemin]': '0',\n '[attr.aria-valuenow]': 'value',\n '[attr.aria-valuetext]': 'valueLabel(value, max)',\n '[attr.data-state]': 'state',\n '[attr.data-value]': 'value',\n '[attr.data-max]': 'max',\n // set tab index to -1 so screen readers will read the aria-label\n // Note: there is a known issue with JAWS that does not read progressbar aria labels on FireFox\n tabindex: '-1'\n }\n})\nexport class RdxProgressRootDirective implements ProgressProps, OnChanges {\n /**\n * The unique ID for the progress bar.\n * @default 'rdx-progress-bar-{idIterator}'\n */\n @Input() id = `rdx-progress-bar-${idIterator++}`;\n\n /**\n * The current value of the progress bar.\n * @default 0\n */\n @Input({ alias: 'rdxValue', transform: numberAttribute }) value = MIN_PERCENT;\n\n /**\n * The maximum value of the progress bar.\n * @default 100\n */\n @Input({ alias: 'rdxMax', transform: numberAttribute }) max = DEFAULT_MAX;\n\n /**\n * Function to generate the value label.\n */\n @Input('rdxValueLabel') valueLabel: (value: number, max: number) => string = (value, max) =>\n this.defaultGetValueLabel(value, max);\n\n /**\n * Lifecycle hook that is called when any data-bound property of a directive changes.\n * @param changes - The changed properties.\n * @ignore\n */\n ngOnChanges(changes: SimpleChanges) {\n if (changes['max'] && !this.isValidMaxNumber(this.max)) {\n console.error(this.getInvalidMaxError(`${this.max}`, PROGRESS_NAME));\n }\n\n if (changes['value'] && this.value !== null && !this.isValidValueNumber(this.value, this.max)) {\n console.error(this.getInvalidValueError(`${this.value}`, PROGRESS_NAME));\n }\n }\n\n /**\n * Get the state of the progress bar.\n * @returns 'indeterminate' | 'loading' | 'complete'\n * @ignore\n */\n get state(): ProgressState {\n return this.getProgressState(this.value, this.max);\n }\n\n private getProgressState(value: number | undefined | null, maxValue: number): ProgressState {\n return value == null ? 'indeterminate' : value === maxValue ? 'complete' : 'loading';\n }\n\n private defaultGetValueLabel(value: number, max: number) {\n return `${Math.round((value / max) * 100)}%`;\n }\n\n private isValidMaxNumber(max: unknown): max is number {\n return this.isNumber(max) && !isNaN(max) && max > 0;\n }\n\n private isNumber(value: unknown): value is number {\n return typeof value === 'number';\n }\n\n private isValidValueNumber(value: unknown, max: number): value is number {\n return this.isNumber(value) && !isNaN(value) && value <= max && value >= 0;\n }\n\n private getInvalidMaxError(propValue: string, componentName: string): string {\n return `Invalid prop \\`max\\` of value \\`${propValue}\\` supplied to \\`${componentName}\\`. Only numbers greater than 0 are valid max values. Defaulting to \\`${DEFAULT_MAX}\\`.`;\n }\n\n private getInvalidValueError(propValue: string, componentName: string): string {\n return `Invalid prop \\`value\\` of value \\`${propValue}\\` supplied to \\`${componentName}\\`. The \\`value\\` prop must be:\n - a positive number\n - less than the value passed to \\`max\\` (or ${DEFAULT_MAX} if no \\`max\\` prop is set)\n - \\`null\\` or \\`undefined\\` if the progress is indeterminate.\n\n Defaulting to \\`null\\`.`;\n }\n}\n",
|
12
12
|
"properties": [
|
13
13
|
{
|
14
14
|
"name": "getValueLabel",
|
@@ -664,7 +664,7 @@
|
|
664
664
|
},
|
665
665
|
{
|
666
666
|
"name": "RdxDialogService",
|
667
|
-
"id": "injectable-RdxDialogService-
|
667
|
+
"id": "injectable-RdxDialogService-308e6ceefd87ae6454527674ec4d94c4e59be5dcb94deb18ef0c24e20ee7629e3a3ea6f20c1858f17461ba86ab55126092e8cc099b189f68acd3ec8ea613e707",
|
668
668
|
"file": "dialog/src/dialog.service.ts",
|
669
669
|
"properties": [],
|
670
670
|
"methods": [
|
@@ -703,7 +703,7 @@
|
|
703
703
|
"deprecationMessage": "",
|
704
704
|
"description": "<p>Modality control: When <code>isModal</code> is set to <code>true</code>, the dialog will:</p>\n<ul>\n<li>Have a backdrop that blocks interaction with the rest of the page</li>\n<li>Disable closing by clicking outside or pressing Escape</li>\n<li>Set <code>aria-modal="true"</code> for screen readers</li>\n<li>Automatically focus the first tabbable element in the dialog</li>\n<li>Restore focus to the element that opened the dialog when it's closed</li>\n</ul>\n<p>When <code>isModal</code> is <code>false</code>, the dialog will:</p>\n<ul>\n<li>Not have a backdrop, allowing interaction with the rest of the page</li>\n<li>Allow closing by clicking outside or pressing Escape</li>\n<li>Not set <code>aria-modal</code> attribute</li>\n<li>Not automatically manage focus</li>\n</ul>\n",
|
705
705
|
"rawdescription": "\n\nModality control: When `isModal` is set to `true`, the dialog will:\n\n- Have a backdrop that blocks interaction with the rest of the page\n- Disable closing by clicking outside or pressing Escape\n- Set `aria-modal=\"true\"` for screen readers\n- Automatically focus the first tabbable element in the dialog\n- Restore focus to the element that opened the dialog when it's closed\n\n\nWhen `isModal` is `false`, the dialog will:\n\n- Not have a backdrop, allowing interaction with the rest of the page\n- Allow closing by clicking outside or pressing Escape\n- Not set `aria-modal` attribute\n- Not automatically manage focus\n",
|
706
|
-
"sourceCode": "import { Dialog } from '@angular/cdk/dialog';\nimport { inject, Injectable, Injector, Renderer2 } from '@angular/core';\nimport { filter, isObservable, merge, of, switchMap, take, takeUntil } from 'rxjs';\nimport { DISMISSED_VALUE, RdxDialogRef } from './dialog-ref';\nimport type { RdxDialogConfig, RdxDialogResult } from './dialog.config';\n\n/**\n * Modality control: When `isModal` is set to `true`, the dialog will:\n *\n * - Have a backdrop that blocks interaction with the rest of the page\n * - Disable closing by clicking outside or pressing Escape\n * - Set `aria-modal=\"true\"` for screen readers\n * - Automatically focus the first tabbable element in the dialog\n * - Restore focus to the element that opened the dialog when it's closed\n *\n *\n * When `isModal` is `false`, the dialog will:\n *\n * - Not have a backdrop, allowing interaction with the rest of the page\n * - Allow closing by clicking outside or pressing Escape\n * - Not set `aria-modal` attribute\n * - Not automatically manage focus\n */\n@Injectable()\nexport class RdxDialogService {\n #cdkDialog = inject(Dialog);\n #injector = inject(Injector);\n\n open<C>(config: RdxDialogConfig<C>): RdxDialogRef<C> {\n let dialogRef: RdxDialogRef<C>;\n let modeClasses: string[] = [];\n\n switch (config.mode) {\n case '
|
706
|
+
"sourceCode": "import { Dialog } from '@angular/cdk/dialog';\nimport { inject, Injectable, Injector, Renderer2 } from '@angular/core';\nimport { filter, isObservable, merge, of, switchMap, take, takeUntil } from 'rxjs';\nimport { DISMISSED_VALUE, RdxDialogRef } from './dialog-ref';\nimport type { RdxDialogConfig, RdxDialogResult } from './dialog.config';\n\n/**\n * Modality control: When `isModal` is set to `true`, the dialog will:\n *\n * - Have a backdrop that blocks interaction with the rest of the page\n * - Disable closing by clicking outside or pressing Escape\n * - Set `aria-modal=\"true\"` for screen readers\n * - Automatically focus the first tabbable element in the dialog\n * - Restore focus to the element that opened the dialog when it's closed\n *\n *\n * When `isModal` is `false`, the dialog will:\n *\n * - Not have a backdrop, allowing interaction with the rest of the page\n * - Allow closing by clicking outside or pressing Escape\n * - Not set `aria-modal` attribute\n * - Not automatically manage focus\n */\n@Injectable()\nexport class RdxDialogService {\n #cdkDialog = inject(Dialog);\n #injector = inject(Injector);\n\n open<C>(config: RdxDialogConfig<C>): RdxDialogRef<C> {\n let dialogRef: RdxDialogRef<C>;\n let modeClasses: string[] = [];\n\n switch (config.mode) {\n case 'sheet':\n modeClasses = ['mod-sheet', 'mod-right'];\n break;\n case 'sheet-right':\n modeClasses = ['mod-sheet', 'mod-right'];\n break;\n case 'sheet-bottom':\n modeClasses = ['mod-sheet', 'mod-bottom'];\n break;\n case 'sheet-left':\n modeClasses = ['mod-sheet', 'mod-left'];\n break;\n case 'sheet-top':\n modeClasses = ['mod-sheet', 'mod-top'];\n break;\n }\n\n const cdkRef = this.#cdkDialog.open<RdxDialogResult<C> | typeof DISMISSED_VALUE, unknown, C>(config.content, {\n ariaModal: config.modal ?? true,\n hasBackdrop: config.modal ?? true,\n data: 'data' in config ? config.data : null,\n restoreFocus: true,\n role: 'dialog',\n disableClose: true,\n closeOnDestroy: true,\n injector: this.#injector,\n backdropClass: config.backdropClass ? config.backdropClass : 'cdk-overlay-dark-backdrop',\n panelClass: ['dialog', ...modeClasses, ...(config.panelClasses || [])],\n autoFocus: config.autoFocus === 'first-input' ? 'dialog' : (config.autoFocus ?? 'first-tabbable'),\n ariaLabel: config.ariaLabel,\n templateContext: () => ({ dialogRef: dialogRef }),\n providers: (ref) => {\n dialogRef = new RdxDialogRef(ref, config);\n return [\n {\n provide: RdxDialogRef,\n useValue: dialogRef\n }\n ];\n },\n // @FIXME\n ...(config.cdkConfigOverride || ({} as any))\n });\n\n if (cdkRef.componentRef) {\n cdkRef.componentRef.injector\n .get(Renderer2)\n .setStyle(cdkRef.componentRef.location.nativeElement, 'display', 'contents');\n }\n\n merge(cdkRef.backdropClick, cdkRef.keydownEvents.pipe(filter((e) => e.key === 'Escape' && !e.defaultPrevented)))\n .pipe(\n filter(() => config.canCloseWithBackdrop ?? true),\n switchMap(() => {\n const canClose = (cdkRef.componentInstance && config.canClose?.(cdkRef.componentInstance)) ?? true;\n const canClose$ = isObservable(canClose) ? canClose : of(canClose);\n return canClose$.pipe(take(1));\n }),\n\n takeUntil(dialogRef!.closed$)\n )\n .subscribe((canClose) => {\n if (canClose) {\n cdkRef.close(DISMISSED_VALUE);\n }\n });\n\n return dialogRef!;\n }\n}\n",
|
707
707
|
"extends": [],
|
708
708
|
"type": "injectable"
|
709
709
|
},
|
@@ -7038,15 +7038,15 @@
|
|
7038
7038
|
},
|
7039
7039
|
{
|
7040
7040
|
"name": "RdxProgressIndicatorDirective",
|
7041
|
-
"id": "directive-RdxProgressIndicatorDirective-
|
7041
|
+
"id": "directive-RdxProgressIndicatorDirective-72279506a6603b9d295dfc8318b8ed2750a89cfa0819551abc0b602fbd1d68206419a1a6a896835f22342b6ea448127f61499cd0b9422fe13fdc48a9a4bd8bcf",
|
7042
7042
|
"file": "progress/src/progress-indicator.directive.ts",
|
7043
7043
|
"type": "directive",
|
7044
7044
|
"description": "<p>Directive to manage progress indicator state and attributes.</p>\n<p>This directive is used to display the progress indicator inside the progress bar.\nIt inherits the state and value from the <code>RdxProgressRootDirective</code>.</p>\n",
|
7045
7045
|
"rawdescription": "\n\nDirective to manage progress indicator state and attributes.\n\nThis directive is used to display the progress indicator inside the progress bar.\nIt inherits the state and value from the `RdxProgressRootDirective`.\n",
|
7046
|
-
"sourceCode": "import { Directive } from '@angular/core';\nimport { injectProgress } from './progress-root.directive';\n\n/**\n * Directive to manage progress indicator state and attributes.\n *\n * This directive is used to display the progress indicator inside the progress bar.\n * It inherits the state and value from the `RdxProgressRootDirective`.\n */\n@Directive({\n selector: '
|
7047
|
-
"selector": "
|
7046
|
+
"sourceCode": "import { Directive } from '@angular/core';\nimport { injectProgress } from './progress-root.directive';\n\n/**\n * Directive to manage progress indicator state and attributes.\n *\n * This directive is used to display the progress indicator inside the progress bar.\n * It inherits the state and value from the `RdxProgressRootDirective`.\n */\n@Directive({\n selector: '[rdxProgressIndicator]',\n exportAs: 'rdxProgressIndicator',\n standalone: true,\n host: {\n '[attr.data-state]': 'progress.state',\n '[attr.data-value]': 'progress.value',\n '[attr.data-max]': 'progress.max'\n }\n})\nexport class RdxProgressIndicatorDirective {\n /**\n *\n * This allows the directive to access the progress bar state and values.\n */\n protected readonly progress = injectProgress();\n}\n",
|
7047
|
+
"selector": "[rdxProgressIndicator]",
|
7048
7048
|
"providers": [],
|
7049
|
-
"exportAs": "
|
7049
|
+
"exportAs": "rdxProgressIndicator",
|
7050
7050
|
"hostDirectives": [],
|
7051
7051
|
"standalone": true,
|
7052
7052
|
"inputsClass": [],
|
@@ -7077,20 +7077,20 @@
|
|
7077
7077
|
},
|
7078
7078
|
{
|
7079
7079
|
"name": "RdxProgressRootDirective",
|
7080
|
-
"id": "directive-RdxProgressRootDirective-
|
7080
|
+
"id": "directive-RdxProgressRootDirective-689013cd68bdaebb3d7bcd4418d8cab4edd37bd99180558bf809384c98251a7e3a7d618d17719d77625067d1a347f4948650abfb703627eb4a956af2e89c132a",
|
7081
7081
|
"file": "progress/src/progress-root.directive.ts",
|
7082
7082
|
"type": "directive",
|
7083
7083
|
"description": "<p>Directive to manage progress bar state and attributes.</p>\n<p>This directive provides a way to create a progress bar with customizable value and max attributes.\nIt handles aria attributes for accessibility and provides different states like 'indeterminate', 'complete', and 'loading'.</p>\n",
|
7084
7084
|
"rawdescription": "\n\nDirective to manage progress bar state and attributes.\n\nThis directive provides a way to create a progress bar with customizable value and max attributes.\nIt handles aria attributes for accessibility and provides different states like 'indeterminate', 'complete', and 'loading'.\n",
|
7085
|
-
"sourceCode": "import { Directive, inject, InjectionToken, Input, numberAttribute, OnChanges, SimpleChanges } from '@angular/core';\n\nlet idIterator = 0;\n\nconst MIN_PERCENT = 0;\nconst DEFAULT_MAX = 100;\nconst PROGRESS_NAME = 'Radix Progress';\n\nconst RdxProgressToken = new InjectionToken<RdxProgressRootDirective>('RdxProgressDirective');\n\n/**\n * Injects the current instance of RdxProgressRootDirective.\n * @returns The instance of RdxProgressRootDirective.\n */\nexport function injectProgress(): RdxProgressRootDirective {\n return inject(RdxProgressToken);\n}\n\nexport type ProgressState = 'indeterminate' | 'complete' | 'loading';\n\nexport interface ProgressProps {\n value?: number | null | undefined;\n max?: number;\n getValueLabel?: string;\n}\n\n/**\n * Directive to manage progress bar state and attributes.\n *\n * This directive provides a way to create a progress bar with customizable value and max attributes.\n * It handles aria attributes for accessibility and provides different states like 'indeterminate', 'complete', and 'loading'.\n */\n@Directive({\n selector: '
|
7086
|
-
"selector": "
|
7085
|
+
"sourceCode": "import { Directive, inject, InjectionToken, Input, numberAttribute, OnChanges, SimpleChanges } from '@angular/core';\n\nlet idIterator = 0;\n\nconst MIN_PERCENT = 0;\nconst DEFAULT_MAX = 100;\nconst PROGRESS_NAME = 'Radix Progress';\n\nconst RdxProgressToken = new InjectionToken<RdxProgressRootDirective>('RdxProgressDirective');\n\n/**\n * Injects the current instance of RdxProgressRootDirective.\n * @returns The instance of RdxProgressRootDirective.\n */\nexport function injectProgress(): RdxProgressRootDirective {\n return inject(RdxProgressToken);\n}\n\nexport type ProgressState = 'indeterminate' | 'complete' | 'loading';\n\nexport interface ProgressProps {\n value?: number | null | undefined;\n max?: number;\n getValueLabel?: string;\n}\n\n/**\n * Directive to manage progress bar state and attributes.\n *\n * This directive provides a way to create a progress bar with customizable value and max attributes.\n * It handles aria attributes for accessibility and provides different states like 'indeterminate', 'complete', and 'loading'.\n */\n@Directive({\n selector: '[rdxProgressRoot]',\n exportAs: 'rdxProgressRoot',\n standalone: true,\n providers: [{ provide: RdxProgressToken, useExisting: RdxProgressRootDirective }],\n host: {\n role: 'progressbar',\n '[id]': 'id',\n '[attr.aria-valuemax]': 'max',\n '[attr.aria-valuemin]': '0',\n '[attr.aria-valuenow]': 'value',\n '[attr.aria-valuetext]': 'valueLabel(value, max)',\n '[attr.data-state]': 'state',\n '[attr.data-value]': 'value',\n '[attr.data-max]': 'max',\n // set tab index to -1 so screen readers will read the aria-label\n // Note: there is a known issue with JAWS that does not read progressbar aria labels on FireFox\n tabindex: '-1'\n }\n})\nexport class RdxProgressRootDirective implements ProgressProps, OnChanges {\n /**\n * The unique ID for the progress bar.\n * @default 'rdx-progress-bar-{idIterator}'\n */\n @Input() id = `rdx-progress-bar-${idIterator++}`;\n\n /**\n * The current value of the progress bar.\n * @default 0\n */\n @Input({ alias: 'rdxValue', transform: numberAttribute }) value = MIN_PERCENT;\n\n /**\n * The maximum value of the progress bar.\n * @default 100\n */\n @Input({ alias: 'rdxMax', transform: numberAttribute }) max = DEFAULT_MAX;\n\n /**\n * Function to generate the value label.\n */\n @Input('rdxValueLabel') valueLabel: (value: number, max: number) => string = (value, max) =>\n this.defaultGetValueLabel(value, max);\n\n /**\n * Lifecycle hook that is called when any data-bound property of a directive changes.\n * @param changes - The changed properties.\n * @ignore\n */\n ngOnChanges(changes: SimpleChanges) {\n if (changes['max'] && !this.isValidMaxNumber(this.max)) {\n console.error(this.getInvalidMaxError(`${this.max}`, PROGRESS_NAME));\n }\n\n if (changes['value'] && this.value !== null && !this.isValidValueNumber(this.value, this.max)) {\n console.error(this.getInvalidValueError(`${this.value}`, PROGRESS_NAME));\n }\n }\n\n /**\n * Get the state of the progress bar.\n * @returns 'indeterminate' | 'loading' | 'complete'\n * @ignore\n */\n get state(): ProgressState {\n return this.getProgressState(this.value, this.max);\n }\n\n private getProgressState(value: number | undefined | null, maxValue: number): ProgressState {\n return value == null ? 'indeterminate' : value === maxValue ? 'complete' : 'loading';\n }\n\n private defaultGetValueLabel(value: number, max: number) {\n return `${Math.round((value / max) * 100)}%`;\n }\n\n private isValidMaxNumber(max: unknown): max is number {\n return this.isNumber(max) && !isNaN(max) && max > 0;\n }\n\n private isNumber(value: unknown): value is number {\n return typeof value === 'number';\n }\n\n private isValidValueNumber(value: unknown, max: number): value is number {\n return this.isNumber(value) && !isNaN(value) && value <= max && value >= 0;\n }\n\n private getInvalidMaxError(propValue: string, componentName: string): string {\n return `Invalid prop \\`max\\` of value \\`${propValue}\\` supplied to \\`${componentName}\\`. Only numbers greater than 0 are valid max values. Defaulting to \\`${DEFAULT_MAX}\\`.`;\n }\n\n private getInvalidValueError(propValue: string, componentName: string): string {\n return `Invalid prop \\`value\\` of value \\`${propValue}\\` supplied to \\`${componentName}\\`. The \\`value\\` prop must be:\n - a positive number\n - less than the value passed to \\`max\\` (or ${DEFAULT_MAX} if no \\`max\\` prop is set)\n - \\`null\\` or \\`undefined\\` if the progress is indeterminate.\n\n Defaulting to \\`null\\`.`;\n }\n}\n",
|
7086
|
+
"selector": "[rdxProgressRoot]",
|
7087
7087
|
"providers": [
|
7088
7088
|
{
|
7089
7089
|
"name": "{ provide: RdxProgressToken, useExisting: RdxProgressRootDirective }",
|
7090
7090
|
"type": "directive"
|
7091
7091
|
}
|
7092
7092
|
],
|
7093
|
-
"exportAs": "
|
7093
|
+
"exportAs": "rdxProgressRoot",
|
7094
7094
|
"hostDirectives": [],
|
7095
7095
|
"standalone": true,
|
7096
7096
|
"inputsClass": [
|
@@ -10320,15 +10320,219 @@
|
|
10320
10320
|
}
|
10321
10321
|
]
|
10322
10322
|
},
|
10323
|
+
{
|
10324
|
+
"name": "Rdx",
|
10325
|
+
"id": "module-Rdx-092748f1ac1d73a26b603196935c3b0575ba7b819d0d994817f5953fa711a1805e52cbfc692aa4712b94f71c12b54e1e6e636e81ff160ee6ac8b40574f1884d6",
|
10326
|
+
"description": "",
|
10327
|
+
"deprecationMessage": "",
|
10328
|
+
"deprecated": false,
|
10329
|
+
"file": "dropdown-menu/index.ts",
|
10330
|
+
"methods": [],
|
10331
|
+
"sourceCode": "import { NgModule } from '@angular/core';\nimport { RdxDropdownMenuContentDirective } from './src/dropdown-menu-content.directive';\nimport { RdxDropdownMenuItemCheckboxDirective } from './src/dropdown-menu-item-checkbox.directive';\nimport { RdxDropdownMenuItemIndicatorDirective } from './src/dropdown-menu-item-indicator.directive';\nimport { RdxDropdownMenuItemRadioGroupDirective } from './src/dropdown-menu-item-radio-group.directive';\nimport { RdxDropdownMenuItemRadioDirective } from './src/dropdown-menu-item-radio.directive';\nimport { RdxDropdownMenuSelectable } from './src/dropdown-menu-item-selectable';\nimport { RdxDropdownMenuItemDirective } from './src/dropdown-menu-item.directive';\nimport { RdxDropdownMenuLabelDirective } from './src/dropdown-menu-label.directive';\nimport { RdxDropdownMenuSeparatorDirective } from './src/dropdown-menu-separator.directive';\nimport { RdxDropdownMenuTriggerDirective } from './src/dropdown-menu-trigger.directive';\n\nexport * from './src/dropdown-menu-content.directive';\nexport * from './src/dropdown-menu-item-checkbox.directive';\nexport * from './src/dropdown-menu-item-indicator.directive';\nexport * from './src/dropdown-menu-item-radio-group.directive';\nexport * from './src/dropdown-menu-item-radio.directive';\nexport * from './src/dropdown-menu-item-selectable';\nexport * from './src/dropdown-menu-item.directive';\nexport * from './src/dropdown-menu-label.directive';\nexport * from './src/dropdown-menu-separator.directive';\nexport * from './src/dropdown-menu-trigger.directive';\n\nconst _imports = [\n RdxDropdownMenuTriggerDirective,\n RdxDropdownMenuContentDirective,\n RdxDropdownMenuItemCheckboxDirective,\n RdxDropdownMenuItemIndicatorDirective,\n RdxDropdownMenuItemRadioGroupDirective,\n RdxDropdownMenuItemRadioDirective,\n RdxDropdownMenuSelectable,\n RdxDropdownMenuItemDirective,\n RdxDropdownMenuLabelDirective,\n RdxDropdownMenuSeparatorDirective,\n RdxDropdownMenuTriggerDirective\n];\n\n@NgModule({\n imports: [..._imports],\n exports: [..._imports]\n})\nexport class Rdx {}\n",
|
10332
|
+
"children": [
|
10333
|
+
{
|
10334
|
+
"type": "providers",
|
10335
|
+
"elements": []
|
10336
|
+
},
|
10337
|
+
{
|
10338
|
+
"type": "declarations",
|
10339
|
+
"elements": []
|
10340
|
+
},
|
10341
|
+
{
|
10342
|
+
"type": "imports",
|
10343
|
+
"elements": [
|
10344
|
+
{
|
10345
|
+
"name": "RdxAccordionContentDirective"
|
10346
|
+
},
|
10347
|
+
{
|
10348
|
+
"name": "RdxAccordionHeaderDirective"
|
10349
|
+
},
|
10350
|
+
{
|
10351
|
+
"name": "RdxAccordionItemDirective"
|
10352
|
+
},
|
10353
|
+
{
|
10354
|
+
"name": "RdxAccordionRootDirective"
|
10355
|
+
},
|
10356
|
+
{
|
10357
|
+
"name": "RdxAccordionTriggerDirective"
|
10358
|
+
}
|
10359
|
+
]
|
10360
|
+
},
|
10361
|
+
{
|
10362
|
+
"type": "exports",
|
10363
|
+
"elements": [
|
10364
|
+
{
|
10365
|
+
"name": "RdxAccordionContentDirective"
|
10366
|
+
},
|
10367
|
+
{
|
10368
|
+
"name": "RdxAccordionHeaderDirective"
|
10369
|
+
},
|
10370
|
+
{
|
10371
|
+
"name": "RdxAccordionItemDirective"
|
10372
|
+
},
|
10373
|
+
{
|
10374
|
+
"name": "RdxAccordionRootDirective"
|
10375
|
+
},
|
10376
|
+
{
|
10377
|
+
"name": "RdxAccordionTriggerDirective"
|
10378
|
+
}
|
10379
|
+
]
|
10380
|
+
},
|
10381
|
+
{
|
10382
|
+
"type": "bootstrap",
|
10383
|
+
"elements": []
|
10384
|
+
},
|
10385
|
+
{
|
10386
|
+
"type": "classes",
|
10387
|
+
"elements": []
|
10388
|
+
}
|
10389
|
+
]
|
10390
|
+
},
|
10391
|
+
{
|
10392
|
+
"name": "RdxAccordionModule",
|
10393
|
+
"id": "module-RdxAccordionModule-f0d54fbccce917e67d9eba5e3e69beab3a0ecdfed1ac6f443209d3512c8bea5e77984fc7bc5e76ced6dcbc76c84902cfd3f03e10cc118732e8ec97c29c50a297",
|
10394
|
+
"description": "",
|
10395
|
+
"deprecationMessage": "",
|
10396
|
+
"deprecated": false,
|
10397
|
+
"file": "accordion/index.ts",
|
10398
|
+
"methods": [],
|
10399
|
+
"sourceCode": "import { NgModule } from '@angular/core';\nimport { RdxAccordionContentDirective } from './src/accordion-content.directive';\nimport { RdxAccordionHeaderDirective } from './src/accordion-header.directive';\nimport { RdxAccordionItemDirective } from './src/accordion-item.directive';\nimport { RdxAccordionRootDirective } from './src/accordion-root.directive';\nimport { RdxAccordionTriggerDirective } from './src/accordion-trigger.directive';\n\nexport * from './src/accordion-content.directive';\nexport * from './src/accordion-header.directive';\nexport * from './src/accordion-item.directive';\nexport * from './src/accordion-root.directive';\nexport * from './src/accordion-trigger.directive';\n\nconst _imports = [\n RdxAccordionContentDirective,\n RdxAccordionHeaderDirective,\n RdxAccordionItemDirective,\n RdxAccordionRootDirective,\n RdxAccordionTriggerDirective\n];\n\n@NgModule({\n imports: [..._imports],\n exports: [..._imports]\n})\nexport class RdxAccordionModule {}\n",
|
10400
|
+
"children": [
|
10401
|
+
{
|
10402
|
+
"type": "providers",
|
10403
|
+
"elements": []
|
10404
|
+
},
|
10405
|
+
{
|
10406
|
+
"type": "declarations",
|
10407
|
+
"elements": []
|
10408
|
+
},
|
10409
|
+
{
|
10410
|
+
"type": "imports",
|
10411
|
+
"elements": [
|
10412
|
+
{
|
10413
|
+
"name": "RdxAccordionContentDirective"
|
10414
|
+
},
|
10415
|
+
{
|
10416
|
+
"name": "RdxAccordionHeaderDirective"
|
10417
|
+
},
|
10418
|
+
{
|
10419
|
+
"name": "RdxAccordionItemDirective"
|
10420
|
+
},
|
10421
|
+
{
|
10422
|
+
"name": "RdxAccordionRootDirective"
|
10423
|
+
},
|
10424
|
+
{
|
10425
|
+
"name": "RdxAccordionTriggerDirective"
|
10426
|
+
}
|
10427
|
+
]
|
10428
|
+
},
|
10429
|
+
{
|
10430
|
+
"type": "exports",
|
10431
|
+
"elements": [
|
10432
|
+
{
|
10433
|
+
"name": "RdxAccordionContentDirective"
|
10434
|
+
},
|
10435
|
+
{
|
10436
|
+
"name": "RdxAccordionHeaderDirective"
|
10437
|
+
},
|
10438
|
+
{
|
10439
|
+
"name": "RdxAccordionItemDirective"
|
10440
|
+
},
|
10441
|
+
{
|
10442
|
+
"name": "RdxAccordionRootDirective"
|
10443
|
+
},
|
10444
|
+
{
|
10445
|
+
"name": "RdxAccordionTriggerDirective"
|
10446
|
+
}
|
10447
|
+
]
|
10448
|
+
},
|
10449
|
+
{
|
10450
|
+
"type": "bootstrap",
|
10451
|
+
"elements": []
|
10452
|
+
},
|
10453
|
+
{
|
10454
|
+
"type": "classes",
|
10455
|
+
"elements": []
|
10456
|
+
}
|
10457
|
+
]
|
10458
|
+
},
|
10459
|
+
{
|
10460
|
+
"name": "RdxContextMenuModule",
|
10461
|
+
"id": "module-RdxContextMenuModule-ae9a10be40adfa46fc65f5b123ada1b03497abba3f3f504d7b4b139f166b94164ca84a4daf2d6f2982807dbca7e074074ae7c773f91ddc7535160a8b3fbf93f9",
|
10462
|
+
"description": "",
|
10463
|
+
"deprecationMessage": "",
|
10464
|
+
"deprecated": false,
|
10465
|
+
"file": "context-menu/index.ts",
|
10466
|
+
"methods": [],
|
10467
|
+
"sourceCode": "import { NgModule } from '@angular/core';\nimport { RdxContextMenuContentDirective } from './src/context-menu-content.directive';\nimport { RdxContextMenuItemCheckboxDirective } from './src/context-menu-item-checkbox.directive';\nimport { RdxContextMenuItemIndicatorDirective } from './src/context-menu-item-indicator.directive';\nimport { RdxContextMenuItemRadioGroupDirective } from './src/context-menu-item-radio-group.directive';\nimport { RdxContextMenuItemRadioDirective } from './src/context-menu-item-radio.directive';\nimport { RdxContextMenuSelectable } from './src/context-menu-item-selectable';\nimport { RdxContextMenuItemDirective } from './src/context-menu-item.directive';\nimport { RdxContextMenuLabelDirective } from './src/context-menu-label.directive';\nimport { RdxContextMenuSeparatorDirective } from './src/context-menu-separator.directive';\nimport { RdxContextMenuTriggerDirective } from './src/context-menu-trigger.directive';\n\nexport * from './src/context-menu-content.directive';\nexport * from './src/context-menu-item-checkbox.directive';\nexport * from './src/context-menu-item-indicator.directive';\nexport * from './src/context-menu-item-radio-group.directive';\nexport * from './src/context-menu-item-radio.directive';\nexport * from './src/context-menu-item-selectable';\nexport * from './src/context-menu-item.directive';\nexport * from './src/context-menu-label.directive';\nexport * from './src/context-menu-separator.directive';\nexport * from './src/context-menu-trigger.directive';\n\nconst _imports = [\n RdxContextMenuContentDirective,\n RdxContextMenuSelectable,\n RdxContextMenuItemCheckboxDirective,\n RdxContextMenuItemDirective,\n RdxContextMenuItemRadioGroupDirective,\n RdxContextMenuItemIndicatorDirective,\n RdxContextMenuItemRadioDirective,\n RdxContextMenuLabelDirective,\n RdxContextMenuSeparatorDirective,\n RdxContextMenuTriggerDirective\n];\n\n@NgModule({\n imports: [..._imports],\n exports: [..._imports]\n})\nexport class RdxContextMenuModule {}\n",
|
10468
|
+
"children": [
|
10469
|
+
{
|
10470
|
+
"type": "providers",
|
10471
|
+
"elements": []
|
10472
|
+
},
|
10473
|
+
{
|
10474
|
+
"type": "declarations",
|
10475
|
+
"elements": []
|
10476
|
+
},
|
10477
|
+
{
|
10478
|
+
"type": "imports",
|
10479
|
+
"elements": [
|
10480
|
+
{
|
10481
|
+
"name": "RdxAccordionContentDirective"
|
10482
|
+
},
|
10483
|
+
{
|
10484
|
+
"name": "RdxAccordionHeaderDirective"
|
10485
|
+
},
|
10486
|
+
{
|
10487
|
+
"name": "RdxAccordionItemDirective"
|
10488
|
+
},
|
10489
|
+
{
|
10490
|
+
"name": "RdxAccordionRootDirective"
|
10491
|
+
},
|
10492
|
+
{
|
10493
|
+
"name": "RdxAccordionTriggerDirective"
|
10494
|
+
}
|
10495
|
+
]
|
10496
|
+
},
|
10497
|
+
{
|
10498
|
+
"type": "exports",
|
10499
|
+
"elements": [
|
10500
|
+
{
|
10501
|
+
"name": "RdxAccordionContentDirective"
|
10502
|
+
},
|
10503
|
+
{
|
10504
|
+
"name": "RdxAccordionHeaderDirective"
|
10505
|
+
},
|
10506
|
+
{
|
10507
|
+
"name": "RdxAccordionItemDirective"
|
10508
|
+
},
|
10509
|
+
{
|
10510
|
+
"name": "RdxAccordionRootDirective"
|
10511
|
+
},
|
10512
|
+
{
|
10513
|
+
"name": "RdxAccordionTriggerDirective"
|
10514
|
+
}
|
10515
|
+
]
|
10516
|
+
},
|
10517
|
+
{
|
10518
|
+
"type": "bootstrap",
|
10519
|
+
"elements": []
|
10520
|
+
},
|
10521
|
+
{
|
10522
|
+
"type": "classes",
|
10523
|
+
"elements": []
|
10524
|
+
}
|
10525
|
+
]
|
10526
|
+
},
|
10323
10527
|
{
|
10324
10528
|
"name": "RdxDialogModule",
|
10325
|
-
"id": "module-RdxDialogModule-
|
10529
|
+
"id": "module-RdxDialogModule-b1bb3391c9b9008dfdcf5025f651a0f9461c3cfb726e672819f914d63bc01a9f3318517105034fe4cf9438e8d71a0312b7eacbf6e86c8be59b2179c61348f5d1",
|
10326
10530
|
"description": "",
|
10327
10531
|
"deprecationMessage": "",
|
10328
10532
|
"deprecated": false,
|
10329
10533
|
"file": "dialog/index.ts",
|
10330
10534
|
"methods": [],
|
10331
|
-
"sourceCode": "import { NgModule } from '@angular/core';\nimport { RdxDialogCloseDirective } from './src/dialog-close.directive';\nimport { RdxDialogContentDirective } from './src/dialog-content.directive';\nimport { RdxDialogDescriptionDirective } from './src/dialog-description.directive';\nimport { RdxDialogDismissDirective } from './src/dialog-dismiss.directive';\nimport { RdxDialogTitleDirective } from './src/dialog-title.directive';\nimport { RdxDialogTriggerDirective } from './src/dialog-trigger.directive';\n\nexport * from './src/dialog-close.directive';\nexport * from './src/dialog-content.directive';\nexport * from './src/dialog-description.directive';\nexport * from './src/dialog-dismiss.directive';\nexport * from './src/dialog-ref';\nexport * from './src/dialog-title.directive';\nexport * from './src/dialog-trigger.directive';\nexport * from './src/dialog.config';\nexport * from './src/dialog.injectors';\nexport * from './src/dialog.providers';\nexport * from './src/dialog.service';\n\nconst
|
10535
|
+
"sourceCode": "import { NgModule } from '@angular/core';\nimport { RdxDialogCloseDirective } from './src/dialog-close.directive';\nimport { RdxDialogContentDirective } from './src/dialog-content.directive';\nimport { RdxDialogDescriptionDirective } from './src/dialog-description.directive';\nimport { RdxDialogDismissDirective } from './src/dialog-dismiss.directive';\nimport { RdxDialogTitleDirective } from './src/dialog-title.directive';\nimport { RdxDialogTriggerDirective } from './src/dialog-trigger.directive';\n\nexport * from './src/dialog-close.directive';\nexport * from './src/dialog-content.directive';\nexport * from './src/dialog-description.directive';\nexport * from './src/dialog-dismiss.directive';\nexport * from './src/dialog-ref';\nexport * from './src/dialog-title.directive';\nexport * from './src/dialog-trigger.directive';\nexport * from './src/dialog.config';\nexport * from './src/dialog.injectors';\nexport * from './src/dialog.providers';\nexport * from './src/dialog.service';\n\nconst _imports = [\n RdxDialogTriggerDirective,\n RdxDialogContentDirective,\n RdxDialogTitleDirective,\n RdxDialogCloseDirective,\n RdxDialogDescriptionDirective,\n RdxDialogDismissDirective\n];\n\n@NgModule({\n imports: [..._imports],\n exports: [..._imports]\n})\nexport class RdxDialogModule {}\n",
|
10332
10536
|
"children": [
|
10333
10537
|
{
|
10334
10538
|
"type": "providers",
|
@@ -10342,45 +10546,107 @@
|
|
10342
10546
|
"type": "imports",
|
10343
10547
|
"elements": [
|
10344
10548
|
{
|
10345
|
-
"name": "
|
10549
|
+
"name": "RdxAccordionContentDirective"
|
10550
|
+
},
|
10551
|
+
{
|
10552
|
+
"name": "RdxAccordionHeaderDirective"
|
10553
|
+
},
|
10554
|
+
{
|
10555
|
+
"name": "RdxAccordionItemDirective"
|
10556
|
+
},
|
10557
|
+
{
|
10558
|
+
"name": "RdxAccordionRootDirective"
|
10346
10559
|
},
|
10347
10560
|
{
|
10348
|
-
"name": "
|
10561
|
+
"name": "RdxAccordionTriggerDirective"
|
10562
|
+
}
|
10563
|
+
]
|
10564
|
+
},
|
10565
|
+
{
|
10566
|
+
"type": "exports",
|
10567
|
+
"elements": [
|
10568
|
+
{
|
10569
|
+
"name": "RdxAccordionContentDirective"
|
10349
10570
|
},
|
10350
10571
|
{
|
10351
|
-
"name": "
|
10572
|
+
"name": "RdxAccordionHeaderDirective"
|
10352
10573
|
},
|
10353
10574
|
{
|
10354
|
-
"name": "
|
10575
|
+
"name": "RdxAccordionItemDirective"
|
10355
10576
|
},
|
10356
10577
|
{
|
10357
|
-
"name": "
|
10578
|
+
"name": "RdxAccordionRootDirective"
|
10358
10579
|
},
|
10359
10580
|
{
|
10360
|
-
"name": "
|
10581
|
+
"name": "RdxAccordionTriggerDirective"
|
10361
10582
|
}
|
10362
10583
|
]
|
10363
10584
|
},
|
10364
10585
|
{
|
10365
|
-
"type": "
|
10586
|
+
"type": "bootstrap",
|
10587
|
+
"elements": []
|
10588
|
+
},
|
10589
|
+
{
|
10590
|
+
"type": "classes",
|
10591
|
+
"elements": []
|
10592
|
+
}
|
10593
|
+
]
|
10594
|
+
},
|
10595
|
+
{
|
10596
|
+
"name": "RdxProgressModule",
|
10597
|
+
"id": "module-RdxProgressModule-6abdee8015480915d152f0b602396d7e36fbee22c807a20b07cc2618fb9092e8e8b1df8adb2ad86d41a390fcc94fc00e1c8dcae805ab8222c5ac32ef2c9be619",
|
10598
|
+
"description": "",
|
10599
|
+
"deprecationMessage": "",
|
10600
|
+
"deprecated": false,
|
10601
|
+
"file": "progress/index.ts",
|
10602
|
+
"methods": [],
|
10603
|
+
"sourceCode": "import { NgModule } from '@angular/core';\nimport { RdxProgressIndicatorDirective } from './src/progress-indicator.directive';\nimport { RdxProgressRootDirective } from './src/progress-root.directive';\n\nexport * from './src/progress-indicator.directive';\nexport * from './src/progress-root.directive';\n\nexport type { ProgressProps } from './src/progress-root.directive';\n\nconst _imports = [\n RdxProgressRootDirective,\n RdxProgressIndicatorDirective\n];\n\n@NgModule({\n imports: [..._imports],\n exports: [..._imports]\n})\nexport class RdxProgressModule {}\n",
|
10604
|
+
"children": [
|
10605
|
+
{
|
10606
|
+
"type": "providers",
|
10607
|
+
"elements": []
|
10608
|
+
},
|
10609
|
+
{
|
10610
|
+
"type": "declarations",
|
10611
|
+
"elements": []
|
10612
|
+
},
|
10613
|
+
{
|
10614
|
+
"type": "imports",
|
10366
10615
|
"elements": [
|
10367
10616
|
{
|
10368
|
-
"name": "
|
10617
|
+
"name": "RdxAccordionContentDirective"
|
10618
|
+
},
|
10619
|
+
{
|
10620
|
+
"name": "RdxAccordionHeaderDirective"
|
10621
|
+
},
|
10622
|
+
{
|
10623
|
+
"name": "RdxAccordionItemDirective"
|
10369
10624
|
},
|
10370
10625
|
{
|
10371
|
-
"name": "
|
10626
|
+
"name": "RdxAccordionRootDirective"
|
10372
10627
|
},
|
10373
10628
|
{
|
10374
|
-
"name": "
|
10629
|
+
"name": "RdxAccordionTriggerDirective"
|
10630
|
+
}
|
10631
|
+
]
|
10632
|
+
},
|
10633
|
+
{
|
10634
|
+
"type": "exports",
|
10635
|
+
"elements": [
|
10636
|
+
{
|
10637
|
+
"name": "RdxAccordionContentDirective"
|
10375
10638
|
},
|
10376
10639
|
{
|
10377
|
-
"name": "
|
10640
|
+
"name": "RdxAccordionHeaderDirective"
|
10378
10641
|
},
|
10379
10642
|
{
|
10380
|
-
"name": "
|
10643
|
+
"name": "RdxAccordionItemDirective"
|
10381
10644
|
},
|
10382
10645
|
{
|
10383
|
-
"name": "
|
10646
|
+
"name": "RdxAccordionRootDirective"
|
10647
|
+
},
|
10648
|
+
{
|
10649
|
+
"name": "RdxAccordionTriggerDirective"
|
10384
10650
|
}
|
10385
10651
|
]
|
10386
10652
|
},
|
@@ -10519,6 +10785,56 @@
|
|
10519
10785
|
],
|
10520
10786
|
"miscellaneous": {
|
10521
10787
|
"variables": [
|
10788
|
+
{
|
10789
|
+
"name": "_imports",
|
10790
|
+
"ctype": "miscellaneous",
|
10791
|
+
"subtype": "variable",
|
10792
|
+
"file": "accordion/index.ts",
|
10793
|
+
"deprecated": false,
|
10794
|
+
"deprecationMessage": "",
|
10795
|
+
"type": "[]",
|
10796
|
+
"defaultValue": "[\n RdxAccordionContentDirective,\n RdxAccordionHeaderDirective,\n RdxAccordionItemDirective,\n RdxAccordionRootDirective,\n RdxAccordionTriggerDirective\n]"
|
10797
|
+
},
|
10798
|
+
{
|
10799
|
+
"name": "_imports",
|
10800
|
+
"ctype": "miscellaneous",
|
10801
|
+
"subtype": "variable",
|
10802
|
+
"file": "context-menu/index.ts",
|
10803
|
+
"deprecated": false,
|
10804
|
+
"deprecationMessage": "",
|
10805
|
+
"type": "[]",
|
10806
|
+
"defaultValue": "[\n RdxContextMenuContentDirective,\n RdxContextMenuSelectable,\n RdxContextMenuItemCheckboxDirective,\n RdxContextMenuItemDirective,\n RdxContextMenuItemRadioGroupDirective,\n RdxContextMenuItemIndicatorDirective,\n RdxContextMenuItemRadioDirective,\n RdxContextMenuLabelDirective,\n RdxContextMenuSeparatorDirective,\n RdxContextMenuTriggerDirective\n]"
|
10807
|
+
},
|
10808
|
+
{
|
10809
|
+
"name": "_imports",
|
10810
|
+
"ctype": "miscellaneous",
|
10811
|
+
"subtype": "variable",
|
10812
|
+
"file": "dialog/index.ts",
|
10813
|
+
"deprecated": false,
|
10814
|
+
"deprecationMessage": "",
|
10815
|
+
"type": "[]",
|
10816
|
+
"defaultValue": "[\n RdxDialogTriggerDirective,\n RdxDialogContentDirective,\n RdxDialogTitleDirective,\n RdxDialogCloseDirective,\n RdxDialogDescriptionDirective,\n RdxDialogDismissDirective\n]"
|
10817
|
+
},
|
10818
|
+
{
|
10819
|
+
"name": "_imports",
|
10820
|
+
"ctype": "miscellaneous",
|
10821
|
+
"subtype": "variable",
|
10822
|
+
"file": "dropdown-menu/index.ts",
|
10823
|
+
"deprecated": false,
|
10824
|
+
"deprecationMessage": "",
|
10825
|
+
"type": "[]",
|
10826
|
+
"defaultValue": "[\n RdxDropdownMenuTriggerDirective,\n RdxDropdownMenuContentDirective,\n RdxDropdownMenuItemCheckboxDirective,\n RdxDropdownMenuItemIndicatorDirective,\n RdxDropdownMenuItemRadioGroupDirective,\n RdxDropdownMenuItemRadioDirective,\n RdxDropdownMenuSelectable,\n RdxDropdownMenuItemDirective,\n RdxDropdownMenuLabelDirective,\n RdxDropdownMenuSeparatorDirective,\n RdxDropdownMenuTriggerDirective\n]"
|
10827
|
+
},
|
10828
|
+
{
|
10829
|
+
"name": "_imports",
|
10830
|
+
"ctype": "miscellaneous",
|
10831
|
+
"subtype": "variable",
|
10832
|
+
"file": "progress/index.ts",
|
10833
|
+
"deprecated": false,
|
10834
|
+
"deprecationMessage": "",
|
10835
|
+
"type": "[]",
|
10836
|
+
"defaultValue": "[\n RdxProgressRootDirective,\n RdxProgressIndicatorDirective\n]"
|
10837
|
+
},
|
10522
10838
|
{
|
10523
10839
|
"name": "availablePrefixes",
|
10524
10840
|
"ctype": "miscellaneous",
|
@@ -10609,16 +10925,6 @@
|
|
10609
10925
|
"type": "RdxAvatarConfig",
|
10610
10926
|
"defaultValue": "{\n delayMs: 0\n}"
|
10611
10927
|
},
|
10612
|
-
{
|
10613
|
-
"name": "dialogImports",
|
10614
|
-
"ctype": "miscellaneous",
|
10615
|
-
"subtype": "variable",
|
10616
|
-
"file": "dialog/index.ts",
|
10617
|
-
"deprecated": false,
|
10618
|
-
"deprecationMessage": "",
|
10619
|
-
"type": "[]",
|
10620
|
-
"defaultValue": "[\n RdxDialogTriggerDirective,\n RdxDialogContentDirective,\n RdxDialogTitleDirective,\n RdxDialogCloseDirective,\n RdxDialogDescriptionDirective,\n RdxDialogDismissDirective\n]"
|
10621
|
-
},
|
10622
10928
|
{
|
10623
10929
|
"name": "DISMISSED_VALUE",
|
10624
10930
|
"ctype": "miscellaneous",
|
@@ -11059,32 +11365,6 @@
|
|
11059
11365
|
}
|
11060
11366
|
],
|
11061
11367
|
"functions": [
|
11062
|
-
{
|
11063
|
-
"name": "configureRdxDialog",
|
11064
|
-
"file": "dialog/src/dialog.providers.ts",
|
11065
|
-
"ctype": "miscellaneous",
|
11066
|
-
"subtype": "function",
|
11067
|
-
"deprecated": false,
|
11068
|
-
"deprecationMessage": "",
|
11069
|
-
"description": "<p>Configures the RdxDialog module by providing necessary dependencies.</p>\n<p>This function sets up the environment providers required for the RdxDialog to function,\nspecifically importing the Angular CDK's DialogModule.</p>\n",
|
11070
|
-
"args": [],
|
11071
|
-
"returnType": "EnvironmentProviders",
|
11072
|
-
"jsdoctags": [
|
11073
|
-
{
|
11074
|
-
"tagName": {
|
11075
|
-
"pos": 452,
|
11076
|
-
"end": 459,
|
11077
|
-
"flags": 16777216,
|
11078
|
-
"modifierFlagsCache": 0,
|
11079
|
-
"transformFlags": 0,
|
11080
|
-
"kind": 80,
|
11081
|
-
"escapedText": "returns"
|
11082
|
-
},
|
11083
|
-
"comment": "<p>An EnvironmentProviders instance containing the DialogModule.</p>\n",
|
11084
|
-
"returnType": ""
|
11085
|
-
}
|
11086
|
-
]
|
11087
|
-
},
|
11088
11368
|
{
|
11089
11369
|
"name": "getRequestAnimationFrame",
|
11090
11370
|
"file": "core/src/auto-focus.directive.ts",
|
@@ -11584,8 +11864,8 @@
|
|
11584
11864
|
"jsdoctags": [
|
11585
11865
|
{
|
11586
11866
|
"tagName": {
|
11587
|
-
"pos":
|
11588
|
-
"end":
|
11867
|
+
"pos": 925,
|
11868
|
+
"end": 932,
|
11589
11869
|
"flags": 16777216,
|
11590
11870
|
"modifierFlagsCache": 0,
|
11591
11871
|
"transformFlags": 0,
|
@@ -11597,6 +11877,32 @@
|
|
11597
11877
|
}
|
11598
11878
|
]
|
11599
11879
|
},
|
11880
|
+
{
|
11881
|
+
"name": "provideRdxDialogConfig",
|
11882
|
+
"file": "dialog/src/dialog.providers.ts",
|
11883
|
+
"ctype": "miscellaneous",
|
11884
|
+
"subtype": "function",
|
11885
|
+
"deprecated": false,
|
11886
|
+
"deprecationMessage": "",
|
11887
|
+
"description": "<p>Configures the RdxDialog module by providing necessary dependencies.</p>\n<p>This function sets up the environment providers required for the RdxDialog to function,\nspecifically importing the Angular CDK's DialogModule.</p>\n",
|
11888
|
+
"args": [],
|
11889
|
+
"returnType": "EnvironmentProviders",
|
11890
|
+
"jsdoctags": [
|
11891
|
+
{
|
11892
|
+
"tagName": {
|
11893
|
+
"pos": 452,
|
11894
|
+
"end": 459,
|
11895
|
+
"flags": 16777216,
|
11896
|
+
"modifierFlagsCache": 0,
|
11897
|
+
"transformFlags": 0,
|
11898
|
+
"kind": 80,
|
11899
|
+
"escapedText": "returns"
|
11900
|
+
},
|
11901
|
+
"comment": "<p>An EnvironmentProviders instance containing the DialogModule.</p>\n",
|
11902
|
+
"returnType": ""
|
11903
|
+
}
|
11904
|
+
]
|
11905
|
+
},
|
11600
11906
|
{
|
11601
11907
|
"name": "provideValueAccessor",
|
11602
11908
|
"file": "core/src/accessor/provide-value-accessor.ts",
|
@@ -11917,7 +12223,7 @@
|
|
11917
12223
|
"name": "RdxDialogMode",
|
11918
12224
|
"ctype": "miscellaneous",
|
11919
12225
|
"subtype": "typealias",
|
11920
|
-
"rawtype": "\"default\" | \"
|
12226
|
+
"rawtype": "\"default\" | \"sheet\" | \"sheet-bottom\" | \"sheet-top\" | \"sheet-left\" | \"sheet-right\"",
|
11921
12227
|
"file": "dialog/src/dialog.config.ts",
|
11922
12228
|
"deprecated": false,
|
11923
12229
|
"deprecationMessage": "",
|
@@ -12138,6 +12444,66 @@
|
|
12138
12444
|
}
|
12139
12445
|
],
|
12140
12446
|
"groupedVariables": {
|
12447
|
+
"accordion/index.ts": [
|
12448
|
+
{
|
12449
|
+
"name": "_imports",
|
12450
|
+
"ctype": "miscellaneous",
|
12451
|
+
"subtype": "variable",
|
12452
|
+
"file": "accordion/index.ts",
|
12453
|
+
"deprecated": false,
|
12454
|
+
"deprecationMessage": "",
|
12455
|
+
"type": "[]",
|
12456
|
+
"defaultValue": "[\n RdxAccordionContentDirective,\n RdxAccordionHeaderDirective,\n RdxAccordionItemDirective,\n RdxAccordionRootDirective,\n RdxAccordionTriggerDirective\n]"
|
12457
|
+
}
|
12458
|
+
],
|
12459
|
+
"context-menu/index.ts": [
|
12460
|
+
{
|
12461
|
+
"name": "_imports",
|
12462
|
+
"ctype": "miscellaneous",
|
12463
|
+
"subtype": "variable",
|
12464
|
+
"file": "context-menu/index.ts",
|
12465
|
+
"deprecated": false,
|
12466
|
+
"deprecationMessage": "",
|
12467
|
+
"type": "[]",
|
12468
|
+
"defaultValue": "[\n RdxContextMenuContentDirective,\n RdxContextMenuSelectable,\n RdxContextMenuItemCheckboxDirective,\n RdxContextMenuItemDirective,\n RdxContextMenuItemRadioGroupDirective,\n RdxContextMenuItemIndicatorDirective,\n RdxContextMenuItemRadioDirective,\n RdxContextMenuLabelDirective,\n RdxContextMenuSeparatorDirective,\n RdxContextMenuTriggerDirective\n]"
|
12469
|
+
}
|
12470
|
+
],
|
12471
|
+
"dialog/index.ts": [
|
12472
|
+
{
|
12473
|
+
"name": "_imports",
|
12474
|
+
"ctype": "miscellaneous",
|
12475
|
+
"subtype": "variable",
|
12476
|
+
"file": "dialog/index.ts",
|
12477
|
+
"deprecated": false,
|
12478
|
+
"deprecationMessage": "",
|
12479
|
+
"type": "[]",
|
12480
|
+
"defaultValue": "[\n RdxDialogTriggerDirective,\n RdxDialogContentDirective,\n RdxDialogTitleDirective,\n RdxDialogCloseDirective,\n RdxDialogDescriptionDirective,\n RdxDialogDismissDirective\n]"
|
12481
|
+
}
|
12482
|
+
],
|
12483
|
+
"dropdown-menu/index.ts": [
|
12484
|
+
{
|
12485
|
+
"name": "_imports",
|
12486
|
+
"ctype": "miscellaneous",
|
12487
|
+
"subtype": "variable",
|
12488
|
+
"file": "dropdown-menu/index.ts",
|
12489
|
+
"deprecated": false,
|
12490
|
+
"deprecationMessage": "",
|
12491
|
+
"type": "[]",
|
12492
|
+
"defaultValue": "[\n RdxDropdownMenuTriggerDirective,\n RdxDropdownMenuContentDirective,\n RdxDropdownMenuItemCheckboxDirective,\n RdxDropdownMenuItemIndicatorDirective,\n RdxDropdownMenuItemRadioGroupDirective,\n RdxDropdownMenuItemRadioDirective,\n RdxDropdownMenuSelectable,\n RdxDropdownMenuItemDirective,\n RdxDropdownMenuLabelDirective,\n RdxDropdownMenuSeparatorDirective,\n RdxDropdownMenuTriggerDirective\n]"
|
12493
|
+
}
|
12494
|
+
],
|
12495
|
+
"progress/index.ts": [
|
12496
|
+
{
|
12497
|
+
"name": "_imports",
|
12498
|
+
"ctype": "miscellaneous",
|
12499
|
+
"subtype": "variable",
|
12500
|
+
"file": "progress/index.ts",
|
12501
|
+
"deprecated": false,
|
12502
|
+
"deprecationMessage": "",
|
12503
|
+
"type": "[]",
|
12504
|
+
"defaultValue": "[\n RdxProgressRootDirective,\n RdxProgressIndicatorDirective\n]"
|
12505
|
+
}
|
12506
|
+
],
|
12141
12507
|
"core/src/auto-focus.directive.ts": [
|
12142
12508
|
{
|
12143
12509
|
"name": "availablePrefixes",
|
@@ -12368,18 +12734,6 @@
|
|
12368
12734
|
"defaultValue": "new InjectionToken<RdxAvatarConfig>('RdxAvatarConfigToken')"
|
12369
12735
|
}
|
12370
12736
|
],
|
12371
|
-
"dialog/index.ts": [
|
12372
|
-
{
|
12373
|
-
"name": "dialogImports",
|
12374
|
-
"ctype": "miscellaneous",
|
12375
|
-
"subtype": "variable",
|
12376
|
-
"file": "dialog/index.ts",
|
12377
|
-
"deprecated": false,
|
12378
|
-
"deprecationMessage": "",
|
12379
|
-
"type": "[]",
|
12380
|
-
"defaultValue": "[\n RdxDialogTriggerDirective,\n RdxDialogContentDirective,\n RdxDialogTitleDirective,\n RdxDialogCloseDirective,\n RdxDialogDescriptionDirective,\n RdxDialogDismissDirective\n]"
|
12381
|
-
}
|
12382
|
-
],
|
12383
12737
|
"dialog/src/dialog-ref.ts": [
|
12384
12738
|
{
|
12385
12739
|
"name": "DISMISSED_VALUE",
|
@@ -12746,60 +13100,6 @@
|
|
12746
13100
|
]
|
12747
13101
|
},
|
12748
13102
|
"groupedFunctions": {
|
12749
|
-
"dialog/src/dialog.providers.ts": [
|
12750
|
-
{
|
12751
|
-
"name": "configureRdxDialog",
|
12752
|
-
"file": "dialog/src/dialog.providers.ts",
|
12753
|
-
"ctype": "miscellaneous",
|
12754
|
-
"subtype": "function",
|
12755
|
-
"deprecated": false,
|
12756
|
-
"deprecationMessage": "",
|
12757
|
-
"description": "<p>Configures the RdxDialog module by providing necessary dependencies.</p>\n<p>This function sets up the environment providers required for the RdxDialog to function,\nspecifically importing the Angular CDK's DialogModule.</p>\n",
|
12758
|
-
"args": [],
|
12759
|
-
"returnType": "EnvironmentProviders",
|
12760
|
-
"jsdoctags": [
|
12761
|
-
{
|
12762
|
-
"tagName": {
|
12763
|
-
"pos": 452,
|
12764
|
-
"end": 459,
|
12765
|
-
"flags": 16777216,
|
12766
|
-
"modifierFlagsCache": 0,
|
12767
|
-
"transformFlags": 0,
|
12768
|
-
"kind": 80,
|
12769
|
-
"escapedText": "returns"
|
12770
|
-
},
|
12771
|
-
"comment": "<p>An EnvironmentProviders instance containing the DialogModule.</p>\n",
|
12772
|
-
"returnType": ""
|
12773
|
-
}
|
12774
|
-
]
|
12775
|
-
},
|
12776
|
-
{
|
12777
|
-
"name": "provideRdxDialog",
|
12778
|
-
"file": "dialog/src/dialog.providers.ts",
|
12779
|
-
"ctype": "miscellaneous",
|
12780
|
-
"subtype": "function",
|
12781
|
-
"deprecated": false,
|
12782
|
-
"deprecationMessage": "",
|
12783
|
-
"description": "<p>Provides the RdxDialogService for dependency injection.</p>\n<p>This function is used to make the RdxDialogService available for injection\nin components, directives, or other services that require dialog functionality.</p>\n",
|
12784
|
-
"args": [],
|
12785
|
-
"returnType": "Provider",
|
12786
|
-
"jsdoctags": [
|
12787
|
-
{
|
12788
|
-
"tagName": {
|
12789
|
-
"pos": 921,
|
12790
|
-
"end": 928,
|
12791
|
-
"flags": 16777216,
|
12792
|
-
"modifierFlagsCache": 0,
|
12793
|
-
"transformFlags": 0,
|
12794
|
-
"kind": 80,
|
12795
|
-
"escapedText": "returns"
|
12796
|
-
},
|
12797
|
-
"comment": "<p>A provider for the RdxDialogService.</p>\n",
|
12798
|
-
"returnType": ""
|
12799
|
-
}
|
12800
|
-
]
|
12801
|
-
}
|
12802
|
-
],
|
12803
13103
|
"core/src/auto-focus.directive.ts": [
|
12804
13104
|
{
|
12805
13105
|
"name": "getRequestAnimationFrame",
|
@@ -13438,6 +13738,60 @@
|
|
13438
13738
|
]
|
13439
13739
|
}
|
13440
13740
|
],
|
13741
|
+
"dialog/src/dialog.providers.ts": [
|
13742
|
+
{
|
13743
|
+
"name": "provideRdxDialog",
|
13744
|
+
"file": "dialog/src/dialog.providers.ts",
|
13745
|
+
"ctype": "miscellaneous",
|
13746
|
+
"subtype": "function",
|
13747
|
+
"deprecated": false,
|
13748
|
+
"deprecationMessage": "",
|
13749
|
+
"description": "<p>Provides the RdxDialogService for dependency injection.</p>\n<p>This function is used to make the RdxDialogService available for injection\nin components, directives, or other services that require dialog functionality.</p>\n",
|
13750
|
+
"args": [],
|
13751
|
+
"returnType": "Provider",
|
13752
|
+
"jsdoctags": [
|
13753
|
+
{
|
13754
|
+
"tagName": {
|
13755
|
+
"pos": 925,
|
13756
|
+
"end": 932,
|
13757
|
+
"flags": 16777216,
|
13758
|
+
"modifierFlagsCache": 0,
|
13759
|
+
"transformFlags": 0,
|
13760
|
+
"kind": 80,
|
13761
|
+
"escapedText": "returns"
|
13762
|
+
},
|
13763
|
+
"comment": "<p>A provider for the RdxDialogService.</p>\n",
|
13764
|
+
"returnType": ""
|
13765
|
+
}
|
13766
|
+
]
|
13767
|
+
},
|
13768
|
+
{
|
13769
|
+
"name": "provideRdxDialogConfig",
|
13770
|
+
"file": "dialog/src/dialog.providers.ts",
|
13771
|
+
"ctype": "miscellaneous",
|
13772
|
+
"subtype": "function",
|
13773
|
+
"deprecated": false,
|
13774
|
+
"deprecationMessage": "",
|
13775
|
+
"description": "<p>Configures the RdxDialog module by providing necessary dependencies.</p>\n<p>This function sets up the environment providers required for the RdxDialog to function,\nspecifically importing the Angular CDK's DialogModule.</p>\n",
|
13776
|
+
"args": [],
|
13777
|
+
"returnType": "EnvironmentProviders",
|
13778
|
+
"jsdoctags": [
|
13779
|
+
{
|
13780
|
+
"tagName": {
|
13781
|
+
"pos": 452,
|
13782
|
+
"end": 459,
|
13783
|
+
"flags": 16777216,
|
13784
|
+
"modifierFlagsCache": 0,
|
13785
|
+
"transformFlags": 0,
|
13786
|
+
"kind": 80,
|
13787
|
+
"escapedText": "returns"
|
13788
|
+
},
|
13789
|
+
"comment": "<p>An EnvironmentProviders instance containing the DialogModule.</p>\n",
|
13790
|
+
"returnType": ""
|
13791
|
+
}
|
13792
|
+
]
|
13793
|
+
}
|
13794
|
+
],
|
13441
13795
|
"core/src/accessor/provide-value-accessor.ts": [
|
13442
13796
|
{
|
13443
13797
|
"name": "provideValueAccessor",
|
@@ -13711,7 +14065,7 @@
|
|
13711
14065
|
"name": "RdxDialogMode",
|
13712
14066
|
"ctype": "miscellaneous",
|
13713
14067
|
"subtype": "typealias",
|
13714
|
-
"rawtype": "\"default\" | \"
|
14068
|
+
"rawtype": "\"default\" | \"sheet\" | \"sheet-bottom\" | \"sheet-top\" | \"sheet-left\" | \"sheet-right\"",
|
13715
14069
|
"file": "dialog/src/dialog.config.ts",
|
13716
14070
|
"deprecated": false,
|
13717
14071
|
"deprecationMessage": "",
|