@nova-ui/bits 13.0.7-4441 → 13.0.8-4480
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/common/common.module.d.ts +16 -15
- package/common/directives/click-filter/click-filter.directive.d.ts +15 -0
- package/common/directives/click-filter/public-api.d.ts +5 -0
- package/common/directives/index.d.ts +1 -0
- package/common/directives/public-api.d.ts +1 -0
- package/esm2020/common/common.module.mjs +7 -2
- package/esm2020/common/directives/click-filter/click-filter.directive.mjs +57 -0
- package/esm2020/common/directives/click-filter/public-api.mjs +23 -0
- package/esm2020/common/directives/index.mjs +2 -1
- package/esm2020/common/directives/public-api.mjs +2 -1
- package/esm2020/lib/radio/radio-group.component.mjs +16 -19
- package/esm2020/public_api.mjs +2 -1
- package/fesm2015/nova-ui-bits.mjs +99 -21
- package/fesm2015/nova-ui-bits.mjs.map +1 -1
- package/fesm2020/nova-ui-bits.mjs +99 -21
- package/fesm2020/nova-ui-bits.mjs.map +1 -1
- package/lib/radio/radio-group.component.d.ts +5 -3
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, Injectable, Optional, SkipSelf, EventEmitter, Pipe, Inject, PLATFORM_ID, Directive,
|
|
2
|
+
import { InjectionToken, Injectable, Optional, SkipSelf, EventEmitter, Pipe, Inject, PLATFORM_ID, Directive, Input, Output, HostListener, HostBinding, NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, ViewContainerRef, Attribute, ViewChild, forwardRef, ContentChildren, ElementRef, ContentChild, TemplateRef, QueryList, ViewChildren, Injector, SecurityContext } from '@angular/core';
|
|
3
3
|
import * as i3 from '@angular/common';
|
|
4
4
|
import { DOCUMENT, isPlatformBrowser, CommonModule, DatePipe, SlicePipe } from '@angular/common';
|
|
5
5
|
import _differenceWith from 'lodash/differenceWith';
|
|
@@ -2232,6 +2232,83 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2232
2232
|
args: [{ providedIn: "root" }]
|
|
2233
2233
|
}], ctorParameters: function () { return [{ type: UtilService }]; } });
|
|
2234
2234
|
|
|
2235
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2236
|
+
//
|
|
2237
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2238
|
+
// of this software and associated documentation files (the "Software"), to
|
|
2239
|
+
// deal in the Software without restriction, including without limitation the
|
|
2240
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
2241
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
2242
|
+
// furnished to do so, subject to the following conditions:
|
|
2243
|
+
//
|
|
2244
|
+
// The above copyright notice and this permission notice shall be included in
|
|
2245
|
+
// all copies or substantial portions of the Software.
|
|
2246
|
+
//
|
|
2247
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2248
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2249
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2250
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2251
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2252
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2253
|
+
// THE SOFTWARE.
|
|
2254
|
+
const isTargetAnAnchor = (event) => event.target instanceof HTMLAnchorElement;
|
|
2255
|
+
const isTargetNotAnAnchor = (event) => !isTargetAnAnchor(event);
|
|
2256
|
+
const makePredicate = (value) => typeof value === "boolean" ? () => value : value;
|
|
2257
|
+
|
|
2258
|
+
class ClickFilterDirective {
|
|
2259
|
+
constructor() {
|
|
2260
|
+
this._cancelBubble = makePredicate(true);
|
|
2261
|
+
this._preventDefault = isTargetNotAnAnchor;
|
|
2262
|
+
this.passed$ = new EventEmitter();
|
|
2263
|
+
this.canceled$ = new EventEmitter();
|
|
2264
|
+
this.prevented$ = new EventEmitter();
|
|
2265
|
+
}
|
|
2266
|
+
set cancelBubble(value) {
|
|
2267
|
+
this._cancelBubble = makePredicate(value ?? true);
|
|
2268
|
+
}
|
|
2269
|
+
set preventDefault(value) {
|
|
2270
|
+
this._preventDefault = makePredicate(value ?? isTargetNotAnAnchor);
|
|
2271
|
+
}
|
|
2272
|
+
handleEvent(event) {
|
|
2273
|
+
let passed = true;
|
|
2274
|
+
if (this._cancelBubble(event)) {
|
|
2275
|
+
event.stopPropagation();
|
|
2276
|
+
event.stopImmediatePropagation();
|
|
2277
|
+
this.canceled$.emit(event);
|
|
2278
|
+
passed = false;
|
|
2279
|
+
}
|
|
2280
|
+
if (this._preventDefault(event)) {
|
|
2281
|
+
event.preventDefault();
|
|
2282
|
+
this.prevented$.emit(event);
|
|
2283
|
+
passed = false;
|
|
2284
|
+
}
|
|
2285
|
+
if (passed) {
|
|
2286
|
+
this.passed$.emit(event);
|
|
2287
|
+
}
|
|
2288
|
+
}
|
|
2289
|
+
}
|
|
2290
|
+
ClickFilterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ClickFilterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2291
|
+
ClickFilterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ClickFilterDirective, selector: "[nuiClickFilter]", inputs: { cancelBubble: "cancelBubble", preventDefault: "preventDefault" }, outputs: { passed$: "passed$", canceled$: "canceled$", prevented$: "prevented$" }, host: { listeners: { "click": "handleEvent($event)" } }, ngImport: i0 });
|
|
2292
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ClickFilterDirective, decorators: [{
|
|
2293
|
+
type: Directive,
|
|
2294
|
+
args: [{
|
|
2295
|
+
selector: "[nuiClickFilter]",
|
|
2296
|
+
}]
|
|
2297
|
+
}], propDecorators: { cancelBubble: [{
|
|
2298
|
+
type: Input
|
|
2299
|
+
}], preventDefault: [{
|
|
2300
|
+
type: Input
|
|
2301
|
+
}], passed$: [{
|
|
2302
|
+
type: Output
|
|
2303
|
+
}], canceled$: [{
|
|
2304
|
+
type: Output
|
|
2305
|
+
}], prevented$: [{
|
|
2306
|
+
type: Output
|
|
2307
|
+
}], handleEvent: [{
|
|
2308
|
+
type: HostListener,
|
|
2309
|
+
args: ["click", ["$event"]]
|
|
2310
|
+
}] } });
|
|
2311
|
+
|
|
2235
2312
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2236
2313
|
/**
|
|
2237
2314
|
*
|
|
@@ -3728,7 +3805,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3728
3805
|
class NuiCommonModule {
|
|
3729
3806
|
}
|
|
3730
3807
|
NuiCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NuiCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3731
|
-
NuiCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NuiCommonModule, declarations: [
|
|
3808
|
+
NuiCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NuiCommonModule, declarations: [ClickFilterDirective,
|
|
3809
|
+
ClickInterceptorDirective,
|
|
3732
3810
|
ClipboardDirective,
|
|
3733
3811
|
DraggableDirective,
|
|
3734
3812
|
DroppableDirective,
|
|
@@ -3741,6 +3819,7 @@ NuiCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
3741
3819
|
UnitConversionPipe,
|
|
3742
3820
|
MapKeyValuePipe,
|
|
3743
3821
|
ZoomContentDirective], imports: [CommonModule], exports: [CommonModule,
|
|
3822
|
+
ClickFilterDirective,
|
|
3744
3823
|
ClickInterceptorDirective,
|
|
3745
3824
|
ClipboardDirective,
|
|
3746
3825
|
DraggableDirective,
|
|
@@ -3806,6 +3885,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3806
3885
|
{ provide: imagesPresetToken, useValue: imagesData },
|
|
3807
3886
|
],
|
|
3808
3887
|
declarations: [
|
|
3888
|
+
ClickFilterDirective,
|
|
3809
3889
|
ClickInterceptorDirective,
|
|
3810
3890
|
ClipboardDirective,
|
|
3811
3891
|
DraggableDirective,
|
|
@@ -3822,6 +3902,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3822
3902
|
],
|
|
3823
3903
|
exports: [
|
|
3824
3904
|
CommonModule,
|
|
3905
|
+
ClickFilterDirective,
|
|
3825
3906
|
ClickInterceptorDirective,
|
|
3826
3907
|
ClipboardDirective,
|
|
3827
3908
|
DraggableDirective,
|
|
@@ -14201,27 +14282,21 @@ class RadioGroupComponent {
|
|
|
14201
14282
|
this.checkSelectedRadioButton();
|
|
14202
14283
|
}
|
|
14203
14284
|
}
|
|
14204
|
-
|
|
14205
|
-
this.
|
|
14206
|
-
|
|
14207
|
-
|
|
14208
|
-
|
|
14209
|
-
|
|
14210
|
-
this.setChildDisabled(child);
|
|
14211
|
-
});
|
|
14285
|
+
registerChild(child) {
|
|
14286
|
+
this.renderer.setAttribute(child.inputViewContainer.element.nativeElement, "name", this.name);
|
|
14287
|
+
this.subscriptions.push(this.subscribeToRadioEvent(child));
|
|
14288
|
+
// timeout to prevent "expression changed after it has been checked" error
|
|
14289
|
+
setTimeout(() => {
|
|
14290
|
+
this.setChildDisabled(child);
|
|
14212
14291
|
});
|
|
14292
|
+
}
|
|
14293
|
+
ngAfterContentInit() {
|
|
14294
|
+
this.children.toArray().forEach((child) => this.registerChild(child));
|
|
14213
14295
|
this.children.changes.subscribe((radioComponentQueryList) => {
|
|
14214
14296
|
this.subscriptions.forEach((sub) => sub.unsubscribe());
|
|
14215
14297
|
radioComponentQueryList
|
|
14216
14298
|
.toArray()
|
|
14217
|
-
.forEach((
|
|
14218
|
-
this.renderer.setAttribute(radio.inputViewContainer.element.nativeElement, "name", this.name);
|
|
14219
|
-
this.subscriptions.push(this.subscribeToRadioEvent(radio));
|
|
14220
|
-
// timeout to prevent "expression changed after it has been checked" error
|
|
14221
|
-
setTimeout(() => {
|
|
14222
|
-
this.setChildDisabled(radio);
|
|
14223
|
-
});
|
|
14224
|
-
});
|
|
14299
|
+
.forEach((child) => this.registerChild(child));
|
|
14225
14300
|
});
|
|
14226
14301
|
}
|
|
14227
14302
|
onChange(value) { }
|
|
@@ -14399,14 +14474,14 @@ class RadioComponent {
|
|
|
14399
14474
|
}
|
|
14400
14475
|
}
|
|
14401
14476
|
RadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RadioComponent, deps: [{ token: RadioGroupComponent, optional: true }, { token: i0.ChangeDetectorRef }, { token: EventBusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14402
|
-
RadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RadioComponent, selector: "nui-radio", inputs: { value: "value", hovered: "hovered", checked: "checked", hint: "hint", disabled: "disabled", ariaLabel: "ariaLabel" }, outputs: { valueChange: "valueChange" }, host: { attributes: { "role": "radio" }, properties: { "class.nui-radio--hovered": "hovered", "class.nui-radio--checked": "checked" } }, viewQueries: [{ propertyName: "inputViewContainer", first: true, predicate: ["inputViewContainer"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "radioTransclude", first: true, predicate: ["radioTransclude"], descendants: true, static: true }], ngImport: i0, template: "<div\n class=\"nui-radio\"\n [class.nui-radio--empty]=\"radioTranscludeIsEmpty && !hint\"\n>\n <label\n class=\"nui-radio__label\"\n [class.nui-radio__label--translucent]=\"disabled\"\n (mouseenter)=\"hoverHandler()\"\n (mouseleave)=\"hoverHandler()\"\n >\n <div class=\"nui-radio__content\">\n <input\n #inputViewContainer\n class=\"nui-radio__input\"\n type=\"radio\"\n [value]=\"value\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [attr.aria-label]=\"ariaLabel\"\n (change)=\"changeHandler()\"\n (click)=\"onInputClick($event)\"\n />\n\n <div\n class=\"nui-radio__mark\"\n [class.nui-radio__mark--disabled]=\"disabled\"\n >\n <div class=\"nui-radio__glyph\"></div>\n </div>\n\n <div #radioTransclude class=\"nui-radio__transclude\">\n <ng-content></ng-content>\n </div>\n </div>\n\n <
|
|
14477
|
+
RadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RadioComponent, selector: "nui-radio", inputs: { value: "value", hovered: "hovered", checked: "checked", hint: "hint", disabled: "disabled", ariaLabel: "ariaLabel" }, outputs: { valueChange: "valueChange" }, host: { attributes: { "role": "radio" }, properties: { "class.nui-radio--hovered": "hovered", "class.nui-radio--checked": "checked" } }, queries: [{ propertyName: "contentHints", predicate: ["[nui-radio-hint]"] }], viewQueries: [{ propertyName: "inputViewContainer", first: true, predicate: ["inputViewContainer"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "radioTransclude", first: true, predicate: ["radioTransclude"], descendants: true, static: true }], ngImport: i0, template: "<div\n class=\"nui-radio\"\n [class.nui-radio--empty]=\"radioTranscludeIsEmpty && !hint\"\n>\n <label\n class=\"nui-radio__label\"\n [class.nui-radio__label--translucent]=\"disabled\"\n (mouseenter)=\"hoverHandler()\"\n (mouseleave)=\"hoverHandler()\"\n >\n <div class=\"nui-radio__content\">\n <input\n #inputViewContainer\n class=\"nui-radio__input\"\n type=\"radio\"\n [value]=\"value\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [attr.aria-label]=\"ariaLabel\"\n (change)=\"changeHandler()\"\n (click)=\"onInputClick($event)\"\n />\n\n <div\n class=\"nui-radio__mark\"\n [class.nui-radio__mark--disabled]=\"disabled\"\n >\n <div class=\"nui-radio__glyph\"></div>\n </div>\n\n <div #radioTransclude class=\"nui-radio__transclude\">\n <ng-content></ng-content>\n </div>\n </div>\n\n <div #hintDiv class=\"nui-radio__hint nui-help-hint\">\n <ng-content select=\"[hint]\"></ng-content>\n <ng-container *ngIf=\"!!hint\">\n {{ hint }}\n </ng-container>\n </div>\n </label>\n</div>\n", styles: [".nui-radio-group-inline>.nui-radio-group{display:inline-flex}.nui-radio-group-inline>.nui-radio-group .nui-radio{margin-left:5px}.nui .nui-radio{border-radius:3px;cursor:pointer;line-height:14px}.nui .nui-radio:hover{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05))}.nui .nui-radio__label{cursor:pointer;font-weight:400;margin:0;min-height:30px;min-width:30px;padding:7px;position:relative;width:100%}.nui .nui-radio__label--translucent{-webkit-user-select:none;-o-user-select:none;user-select:none;color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3));cursor:default}.nui .nui-radio__content{align-items:center;display:flex;flex-wrap:nowrap;justify-content:flex-start;min-height:16px}.nui .nui-radio__mark{background:var(--nui-color-bg-content,#fff);background-size:16px;border:solid 2px;border-color:var(--nui-color-active,#0079aa);border-radius:100%;height:16px;margin:0 7px 0 0;padding:3px;width:16px;flex-shrink:0;flex-grow:0}.nui .nui-radio__mark.nui-radio__mark--disabled{background-color:var(--nui-color-bg-content,#fff);border-color:var(--nui-color-disabled,#b3b3b3);cursor:not-allowed}.nui .nui-radio__glyph{background:var(--nui-color-bg-content,#fff);border-radius:100%;display:none;height:100%;width:100%}.nui .nui-radio__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;outline:0;overflow:hidden;padding:0;position:absolute;width:1px}.nui .nui-radio__input[disabled],.nui .nui-radio__input.disabled{cursor:not-allowed}.nui .nui-radio__input:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.nui .nui-radio__input:disabled+.nui-radio__mark{background-color:var(--nui-color-bg-content,#fff);border-color:var(--nui-color-disabled,#b3b3b3)}.nui .nui-radio.nui-radio--empty{display:inline-block}.nui .nui-radio.nui-radio--empty .nui-radio__label{justify-content:center;margin:auto;width:auto}.nui .nui-radio.nui-radio--empty .nui-radio__mark{margin:auto}.nui .nui-radio .nui-help-hint{line-height:14px;margin-left:23px;padding:0}.nui .nui-radio--checked .nui-radio__mark{background-color:var(--nui-color-active,#0079aa);border-color:var(--nui-color-active,#0079aa)}.nui .nui-radio--checked .nui-radio__mark>.nui-radio__glyph{display:block}.nui .nui-radio--checked .nui-radio__mark--disabled{background-color:var(--nui-color-off,#4d4d4d);border-color:var(--nui-color-off,#4d4d4d)}.nui .nui-radio--checked .nui-radio__input+.nui-radio__mark{background-color:var(--nui-color-active,#0079aa);border-color:var(--nui-color-active,#0079aa)}.nui .nui-radio--checked .nui-radio__input+.nui-radio__mark>.nui-radio__glyph{display:block}.nui .nui-radio--checked .nui-radio__input:disabled+.nui-radio__mark{background-color:var(--nui-color-disabled,#b3b3b3);border-color:var(--nui-color-disabled,#b3b3b3)}.nui-repeat-item__radio .nui-radio:hover{background:none}.nui-repeat-item__radio .nui-radio .nui-radio__hint{display:none}\n"], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
14403
14478
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RadioComponent, decorators: [{
|
|
14404
14479
|
type: Component,
|
|
14405
14480
|
args: [{ selector: "nui-radio", encapsulation: ViewEncapsulation.None, host: {
|
|
14406
14481
|
"[class.nui-radio--hovered]": "hovered",
|
|
14407
14482
|
"[class.nui-radio--checked]": "checked",
|
|
14408
14483
|
role: "radio",
|
|
14409
|
-
}, template: "<div\n class=\"nui-radio\"\n [class.nui-radio--empty]=\"radioTranscludeIsEmpty && !hint\"\n>\n <label\n class=\"nui-radio__label\"\n [class.nui-radio__label--translucent]=\"disabled\"\n (mouseenter)=\"hoverHandler()\"\n (mouseleave)=\"hoverHandler()\"\n >\n <div class=\"nui-radio__content\">\n <input\n #inputViewContainer\n class=\"nui-radio__input\"\n type=\"radio\"\n [value]=\"value\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [attr.aria-label]=\"ariaLabel\"\n (change)=\"changeHandler()\"\n (click)=\"onInputClick($event)\"\n />\n\n <div\n class=\"nui-radio__mark\"\n [class.nui-radio__mark--disabled]=\"disabled\"\n >\n <div class=\"nui-radio__glyph\"></div>\n </div>\n\n <div #radioTransclude class=\"nui-radio__transclude\">\n <ng-content></ng-content>\n </div>\n </div>\n\n <
|
|
14484
|
+
}, template: "<div\n class=\"nui-radio\"\n [class.nui-radio--empty]=\"radioTranscludeIsEmpty && !hint\"\n>\n <label\n class=\"nui-radio__label\"\n [class.nui-radio__label--translucent]=\"disabled\"\n (mouseenter)=\"hoverHandler()\"\n (mouseleave)=\"hoverHandler()\"\n >\n <div class=\"nui-radio__content\">\n <input\n #inputViewContainer\n class=\"nui-radio__input\"\n type=\"radio\"\n [value]=\"value\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [attr.aria-label]=\"ariaLabel\"\n (change)=\"changeHandler()\"\n (click)=\"onInputClick($event)\"\n />\n\n <div\n class=\"nui-radio__mark\"\n [class.nui-radio__mark--disabled]=\"disabled\"\n >\n <div class=\"nui-radio__glyph\"></div>\n </div>\n\n <div #radioTransclude class=\"nui-radio__transclude\">\n <ng-content></ng-content>\n </div>\n </div>\n\n <div #hintDiv class=\"nui-radio__hint nui-help-hint\">\n <ng-content select=\"[hint]\"></ng-content>\n <ng-container *ngIf=\"!!hint\">\n {{ hint }}\n </ng-container>\n </div>\n </label>\n</div>\n", styles: [".nui-radio-group-inline>.nui-radio-group{display:inline-flex}.nui-radio-group-inline>.nui-radio-group .nui-radio{margin-left:5px}.nui .nui-radio{border-radius:3px;cursor:pointer;line-height:14px}.nui .nui-radio:hover{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05))}.nui .nui-radio__label{cursor:pointer;font-weight:400;margin:0;min-height:30px;min-width:30px;padding:7px;position:relative;width:100%}.nui .nui-radio__label--translucent{-webkit-user-select:none;-o-user-select:none;user-select:none;color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3));cursor:default}.nui .nui-radio__content{align-items:center;display:flex;flex-wrap:nowrap;justify-content:flex-start;min-height:16px}.nui .nui-radio__mark{background:var(--nui-color-bg-content,#fff);background-size:16px;border:solid 2px;border-color:var(--nui-color-active,#0079aa);border-radius:100%;height:16px;margin:0 7px 0 0;padding:3px;width:16px;flex-shrink:0;flex-grow:0}.nui .nui-radio__mark.nui-radio__mark--disabled{background-color:var(--nui-color-bg-content,#fff);border-color:var(--nui-color-disabled,#b3b3b3);cursor:not-allowed}.nui .nui-radio__glyph{background:var(--nui-color-bg-content,#fff);border-radius:100%;display:none;height:100%;width:100%}.nui .nui-radio__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;outline:0;overflow:hidden;padding:0;position:absolute;width:1px}.nui .nui-radio__input[disabled],.nui .nui-radio__input.disabled{cursor:not-allowed}.nui .nui-radio__input:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.nui .nui-radio__input:disabled+.nui-radio__mark{background-color:var(--nui-color-bg-content,#fff);border-color:var(--nui-color-disabled,#b3b3b3)}.nui .nui-radio.nui-radio--empty{display:inline-block}.nui .nui-radio.nui-radio--empty .nui-radio__label{justify-content:center;margin:auto;width:auto}.nui .nui-radio.nui-radio--empty .nui-radio__mark{margin:auto}.nui .nui-radio .nui-help-hint{line-height:14px;margin-left:23px;padding:0}.nui .nui-radio--checked .nui-radio__mark{background-color:var(--nui-color-active,#0079aa);border-color:var(--nui-color-active,#0079aa)}.nui .nui-radio--checked .nui-radio__mark>.nui-radio__glyph{display:block}.nui .nui-radio--checked .nui-radio__mark--disabled{background-color:var(--nui-color-off,#4d4d4d);border-color:var(--nui-color-off,#4d4d4d)}.nui .nui-radio--checked .nui-radio__input+.nui-radio__mark{background-color:var(--nui-color-active,#0079aa);border-color:var(--nui-color-active,#0079aa)}.nui .nui-radio--checked .nui-radio__input+.nui-radio__mark>.nui-radio__glyph{display:block}.nui .nui-radio--checked .nui-radio__input:disabled+.nui-radio__mark{background-color:var(--nui-color-disabled,#b3b3b3);border-color:var(--nui-color-disabled,#b3b3b3)}.nui-repeat-item__radio .nui-radio:hover{background:none}.nui-repeat-item__radio .nui-radio .nui-radio__hint{display:none}\n"] }]
|
|
14410
14485
|
}], ctorParameters: function () { return [{ type: RadioGroupComponent, decorators: [{
|
|
14411
14486
|
type: Optional
|
|
14412
14487
|
}] }, { type: i0.ChangeDetectorRef }, { type: EventBusService }]; }, propDecorators: { value: [{
|
|
@@ -14429,6 +14504,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
14429
14504
|
}], radioTransclude: [{
|
|
14430
14505
|
type: ViewChild,
|
|
14431
14506
|
args: ["radioTransclude", { static: true }]
|
|
14507
|
+
}], contentHints: [{
|
|
14508
|
+
type: ContentChildren,
|
|
14509
|
+
args: ["[nui-radio-hint]"]
|
|
14432
14510
|
}] } });
|
|
14433
14511
|
|
|
14434
14512
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
@@ -26774,5 +26852,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
26774
26852
|
* Generated bundle index. Do not edit.
|
|
26775
26853
|
*/
|
|
26776
26854
|
|
|
26777
|
-
export { ANNOUNCER_CLOSE_MESSAGE, ANNOUNCER_OPEN_MESSAGE_SUFFIX, OverlayArrowComponent as ArrowComponent, BaseSelect, BreadcrumbComponent, BreadcrumbStateService, BusyComponent, ButtonComponent, ButtonIcon, ButtonSizeType, CHECKBOX_KEYDOWN_EVENT, CLOSE_POPOVER_EVENT, COMPLETE_RESIZE_EVENT, CardComponent, CardGroupComponent, CheckboxChangeEvent, CheckboxComponent, CheckboxGroupComponent, CheckboxStatus, ChipComponent, ChipsComponent, ChipsOverflowComponent, ClickInterceptorDirective, ClientSideDataSource, ClipboardDirective, ComboboxComponent, ComboboxV2Component, ComboboxV2OptionHighlightDirective, ConfirmationDialogComponent, ContentComponent, CopyTextComponent, CustomValidationMessageComponent, DEFAULT_INTERACTIVE_ELEMENTS, DEFAULT_TABLE_HEADER_OFFSET, DEMO_PATH_TOKEN, DOCUMENT_CLICK_EVENT, DataFilterService, DataSourceFeatures, DataSourceService, DatePickerComponent, DateTimePickerComponent, DialogBackdropComponent, DialogComponent, DialogFooterComponent, DialogHeaderComponent, DialogService, DialogStackService, DividerComponent, DndDropTargetDirective, DomUtilService, DragAndDropService, DraggableComponent, DraggableDirective, DroppableComponent, DroppableDirective, EdgeDetectionService, ErrorStateMatcher, EventBus, EventBusService, EventDefinition, EventPropagationService, ExampleCodeComponent, ExampleWrapperComponent, ExpanderComponent, FIXED_WIDTH_CLASS, FormFieldComponent, HighlightPipe, HistoryStorage, IEvent, IconCategory, IconCategoryNamespace, IconComponent, IconService, IconSeverity, IconState, IconStatus, IconWidget, ImageComponent, KEYBOARD_CODE, KEY_CODE, LayoutResizerComponent, LimitToPipe, ListService, LocalFilteringDataSource, LogLevel, LoggerService, MapKeyValuePipe, MarkAsSelectedItemDirective, MenuActionComponent, MenuActionType, MenuComponent, MenuGroupComponent, MenuItemBaseComponent, MenuItemComponent, MenuKeyControlService, MenuLinkComponent, MenuOptionComponent, MenuPopupComponent, MenuSwitchComponent, MessageComponent, NUI_ENV_PROVIDER, NUI_ENV_PROVIDER_FACTORY, NUI_SELECT_V2_OPTION_PARENT_COMPONENT, NoopDataSourceService, NotificationService, NuiActiveDialog, NuiBreadcrumbModule, NuiBusyModule, NuiButtonModule, NuiCheckboxModule, NuiChipsModule, NuiCommonModule, NuiContentModule, NuiDatePickerModule, NuiDateTimePickerModule, NuiDialogEvent, NuiDialogModule, NuiDialogRef, NuiDividerModule, NuiDndModule, NuiDocsModule, NuiDragDropModule, NuiEnvironment, NuiExpanderModule, NuiFormFieldControl, NuiFormFieldModule, NuiIconModule, NuiImageModule, NuiLayoutModule, NuiMenuModule, NuiMessageModule, NuiOverlayAdditionsModule, NuiOverlayModule, NuiPaginatorModule, NuiPanelModule, NuiPopoverModule, NuiPopupModule, NuiProgressModule, NuiRadioModule, NuiRepeatModule, NuiSearchModule, NuiSelectModule, NuiSelectV2Module, NuiSelectorModule, NuiSorterModule, NuiSpinnerModule, NuiSwitchModule, NuiTableModule, NuiTabsModule, NuiTextboxModule, NuiTimeFrameBarModule, NuiTimeFramePickerModule, NuiTimePickerModule, NuiToastModule, NuiToolbarModule, NuiTooltipModule, NuiValidationMessageModule, NuiValidators, NuiWizardModule, NuiWizardV2Module, OVERLAY_ARROW_SIZE, OVERLAY_CONTAINER, OVERLAY_CONTAINER_CLASS, OVERLAY_DEFAULT_PRIORITY, OVERLAY_ITEM, OVERLAY_PANEL_CLASS, OVERLAY_WITH_POPUP_STYLES_CLASS, OverlayComponent, OverlayContainerService, OverlayCustomContainer, OverlayItemComponent, OverlayPlacement, OverlayPosition, OverlayPositionService, OverlayService, OverlayUtilitiesService, POPOVER_CLOSED_EVENT, POPUP_V2_VIEWPORT_MARGINS_DEFAULT, PaddingOptions, PaginatorComponent, PanelBackgroundColor, PanelComponent, PanelModes, PanelStates, PopoverComponent, PopoverModalComponent, PopoverOverlayPosition, PopupComponent, PopupDeprecatedComponent, PopupToggleDirective, PositionService, ProgressComponent, QuickPickerComponent, RESIZE_DEBOUNCE_TIME, RadioComponent, RadioGroupComponent, RepeatComponent, RepeatItemComponent, RepeatSelectionMode, ResizeDirection, ResizeDirective, ResizeObserverDirective, ResizeUnit, ResizerDirective, SearchComponent, SearchService, SelectComponent, SelectV2Component, SelectV2OptionComponent, SelectV2OptionGroupComponent, SelectionModel, SelectionType, SelectorComponent, SelectorService, ServerSideDataSource, SetFocusDirective, SheetComponent, SheetGroupComponent, SizeParameters, SliceRangePipe, SorterComponent, SorterDirection, SpinnerComponent, SpinnerSize, SrlcIndicatorComponent, SrlcStage, SwitchComponent, TABLE_ROW_HEIGHT, TabComponent, TabGroupComponent, TabHeadingComponent, TabHeadingCustomTemplateRefDirective, TabHeadingDirective, TabHeadingGroupComponent, TableCellDefDirective, TableCellDirective, TableColumnDefDirective, TableComponent, TableFooterCellDefDirective, TableFooterCellDirective, TableFooterRowComponent, TableFooterRowDefDirective, TableHeaderCellComponent, TableHeaderCellDefDirective, TableHeaderRowComponent, TableHeaderRowDefDirective, TableResizerDirective, TableRowComponent, TableRowDefDirective, TableStateHandlerService, TableStickyHeaderDirective, TableVirtualScrollDirective, TableVirtualScrollHeaderPosition, TableVirtualScrollLinearDirective, TextboxComponent, TextboxNumberComponent, ThemeSwitchService, ThemeSwitcherComponent, TimeFrameBarComponent, TimeFrameFormatPipe, TimeFramePickerComponent, TimePickerComponent, TimeframeService, ToastComponent, ToastContainerService, ToastDirective, ToastService, ToolbarComponent, ToolbarGroupComponent, ToolbarItemComponent, ToolbarItemDisplayStyle, ToolbarItemType, ToolbarMessageComponent, ToolbarSplitterComponent, TooltipComponent, TooltipDirective, TransientCacheService, UnitBase, UnitConversionPipe, UnitConversionService, UtilService, ValidationMessageComponent, VirtualViewportManager, WIZARD_CONFIG, WIZARD_CONFIG_DEFAULT, WIZARD_STEP_STATE_DEFAULT_CONFIG, WizardComponent, WizardDirective, WizardFooterComponent, WizardHorizontalComponent, WizardStepComponent, WizardStepFooterDirective, WizardStepHeaderComponent, WizardStepLabelDirective, WizardStepV2Component, WizardStepperNextDirective, WizardStepperPreviousDirective, WizardVerticalComponent, ZoomContentDirective, buttonConstants, complexScrollStrategyFactory, datePickerDateFormats, datePickerDefaults, defaultFilters, expand, getOverlayPositions, imagesPresetToken, immutableSet, nameof, popoverConstants, regexpValidation, removeErrors, resizeDirectionHelpers, scrollConstants, traverse, unitConversionConstants, unitConversionToken, uuid };
|
|
26855
|
+
export { ANNOUNCER_CLOSE_MESSAGE, ANNOUNCER_OPEN_MESSAGE_SUFFIX, OverlayArrowComponent as ArrowComponent, BaseSelect, BreadcrumbComponent, BreadcrumbStateService, BusyComponent, ButtonComponent, ButtonIcon, ButtonSizeType, CHECKBOX_KEYDOWN_EVENT, CLOSE_POPOVER_EVENT, COMPLETE_RESIZE_EVENT, CardComponent, CardGroupComponent, CheckboxChangeEvent, CheckboxComponent, CheckboxGroupComponent, CheckboxStatus, ChipComponent, ChipsComponent, ChipsOverflowComponent, ClickFilterDirective, ClickInterceptorDirective, ClientSideDataSource, ClipboardDirective, ComboboxComponent, ComboboxV2Component, ComboboxV2OptionHighlightDirective, ConfirmationDialogComponent, ContentComponent, CopyTextComponent, CustomValidationMessageComponent, DEFAULT_INTERACTIVE_ELEMENTS, DEFAULT_TABLE_HEADER_OFFSET, DEMO_PATH_TOKEN, DOCUMENT_CLICK_EVENT, DataFilterService, DataSourceFeatures, DataSourceService, DatePickerComponent, DateTimePickerComponent, DialogBackdropComponent, DialogComponent, DialogFooterComponent, DialogHeaderComponent, DialogService, DialogStackService, DividerComponent, DndDropTargetDirective, DomUtilService, DragAndDropService, DraggableComponent, DraggableDirective, DroppableComponent, DroppableDirective, EdgeDetectionService, ErrorStateMatcher, EventBus, EventBusService, EventDefinition, EventPropagationService, ExampleCodeComponent, ExampleWrapperComponent, ExpanderComponent, FIXED_WIDTH_CLASS, FormFieldComponent, HighlightPipe, HistoryStorage, IEvent, IconCategory, IconCategoryNamespace, IconComponent, IconService, IconSeverity, IconState, IconStatus, IconWidget, ImageComponent, KEYBOARD_CODE, KEY_CODE, LayoutResizerComponent, LimitToPipe, ListService, LocalFilteringDataSource, LogLevel, LoggerService, MapKeyValuePipe, MarkAsSelectedItemDirective, MenuActionComponent, MenuActionType, MenuComponent, MenuGroupComponent, MenuItemBaseComponent, MenuItemComponent, MenuKeyControlService, MenuLinkComponent, MenuOptionComponent, MenuPopupComponent, MenuSwitchComponent, MessageComponent, NUI_ENV_PROVIDER, NUI_ENV_PROVIDER_FACTORY, NUI_SELECT_V2_OPTION_PARENT_COMPONENT, NoopDataSourceService, NotificationService, NuiActiveDialog, NuiBreadcrumbModule, NuiBusyModule, NuiButtonModule, NuiCheckboxModule, NuiChipsModule, NuiCommonModule, NuiContentModule, NuiDatePickerModule, NuiDateTimePickerModule, NuiDialogEvent, NuiDialogModule, NuiDialogRef, NuiDividerModule, NuiDndModule, NuiDocsModule, NuiDragDropModule, NuiEnvironment, NuiExpanderModule, NuiFormFieldControl, NuiFormFieldModule, NuiIconModule, NuiImageModule, NuiLayoutModule, NuiMenuModule, NuiMessageModule, NuiOverlayAdditionsModule, NuiOverlayModule, NuiPaginatorModule, NuiPanelModule, NuiPopoverModule, NuiPopupModule, NuiProgressModule, NuiRadioModule, NuiRepeatModule, NuiSearchModule, NuiSelectModule, NuiSelectV2Module, NuiSelectorModule, NuiSorterModule, NuiSpinnerModule, NuiSwitchModule, NuiTableModule, NuiTabsModule, NuiTextboxModule, NuiTimeFrameBarModule, NuiTimeFramePickerModule, NuiTimePickerModule, NuiToastModule, NuiToolbarModule, NuiTooltipModule, NuiValidationMessageModule, NuiValidators, NuiWizardModule, NuiWizardV2Module, OVERLAY_ARROW_SIZE, OVERLAY_CONTAINER, OVERLAY_CONTAINER_CLASS, OVERLAY_DEFAULT_PRIORITY, OVERLAY_ITEM, OVERLAY_PANEL_CLASS, OVERLAY_WITH_POPUP_STYLES_CLASS, OverlayComponent, OverlayContainerService, OverlayCustomContainer, OverlayItemComponent, OverlayPlacement, OverlayPosition, OverlayPositionService, OverlayService, OverlayUtilitiesService, POPOVER_CLOSED_EVENT, POPUP_V2_VIEWPORT_MARGINS_DEFAULT, PaddingOptions, PaginatorComponent, PanelBackgroundColor, PanelComponent, PanelModes, PanelStates, PopoverComponent, PopoverModalComponent, PopoverOverlayPosition, PopupComponent, PopupDeprecatedComponent, PopupToggleDirective, PositionService, ProgressComponent, QuickPickerComponent, RESIZE_DEBOUNCE_TIME, RadioComponent, RadioGroupComponent, RepeatComponent, RepeatItemComponent, RepeatSelectionMode, ResizeDirection, ResizeDirective, ResizeObserverDirective, ResizeUnit, ResizerDirective, SearchComponent, SearchService, SelectComponent, SelectV2Component, SelectV2OptionComponent, SelectV2OptionGroupComponent, SelectionModel, SelectionType, SelectorComponent, SelectorService, ServerSideDataSource, SetFocusDirective, SheetComponent, SheetGroupComponent, SizeParameters, SliceRangePipe, SorterComponent, SorterDirection, SpinnerComponent, SpinnerSize, SrlcIndicatorComponent, SrlcStage, SwitchComponent, TABLE_ROW_HEIGHT, TabComponent, TabGroupComponent, TabHeadingComponent, TabHeadingCustomTemplateRefDirective, TabHeadingDirective, TabHeadingGroupComponent, TableCellDefDirective, TableCellDirective, TableColumnDefDirective, TableComponent, TableFooterCellDefDirective, TableFooterCellDirective, TableFooterRowComponent, TableFooterRowDefDirective, TableHeaderCellComponent, TableHeaderCellDefDirective, TableHeaderRowComponent, TableHeaderRowDefDirective, TableResizerDirective, TableRowComponent, TableRowDefDirective, TableStateHandlerService, TableStickyHeaderDirective, TableVirtualScrollDirective, TableVirtualScrollHeaderPosition, TableVirtualScrollLinearDirective, TextboxComponent, TextboxNumberComponent, ThemeSwitchService, ThemeSwitcherComponent, TimeFrameBarComponent, TimeFrameFormatPipe, TimeFramePickerComponent, TimePickerComponent, TimeframeService, ToastComponent, ToastContainerService, ToastDirective, ToastService, ToolbarComponent, ToolbarGroupComponent, ToolbarItemComponent, ToolbarItemDisplayStyle, ToolbarItemType, ToolbarMessageComponent, ToolbarSplitterComponent, TooltipComponent, TooltipDirective, TransientCacheService, UnitBase, UnitConversionPipe, UnitConversionService, UtilService, ValidationMessageComponent, VirtualViewportManager, WIZARD_CONFIG, WIZARD_CONFIG_DEFAULT, WIZARD_STEP_STATE_DEFAULT_CONFIG, WizardComponent, WizardDirective, WizardFooterComponent, WizardHorizontalComponent, WizardStepComponent, WizardStepFooterDirective, WizardStepHeaderComponent, WizardStepLabelDirective, WizardStepV2Component, WizardStepperNextDirective, WizardStepperPreviousDirective, WizardVerticalComponent, ZoomContentDirective, buttonConstants, complexScrollStrategyFactory, datePickerDateFormats, datePickerDefaults, defaultFilters, expand, getOverlayPositions, imagesPresetToken, immutableSet, isTargetAnAnchor, isTargetNotAnAnchor, makePredicate, nameof, popoverConstants, regexpValidation, removeErrors, resizeDirectionHelpers, scrollConstants, traverse, unitConversionConstants, unitConversionToken, uuid };
|
|
26778
26856
|
//# sourceMappingURL=nova-ui-bits.mjs.map
|