@cngx/common 0.1.0-rc.5 → 0.1.0-rc.6
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/fesm2022/cngx-common-data.mjs +2 -2
- package/fesm2022/cngx-common-display.mjs +8 -8
- package/fesm2022/cngx-common-display.mjs.map +1 -1
- package/fesm2022/cngx-common-interactive.mjs +6 -6
- package/fesm2022/cngx-common-interactive.mjs.map +1 -1
- package/fesm2022/cngx-common.mjs +1 -1
- package/package.json +1 -1
- package/theming/components/cngx-accordion.css +17 -6
- package/theming/components/cngx-breadcrumb.css +1 -1
- package/theming/components/cngx-data-grid.css +3 -4
- package/theming/components/cngx-slider.css +1 -1
|
@@ -2975,7 +2975,7 @@ class CngxStatus {
|
|
|
2975
2975
|
@if (label()) {
|
|
2976
2976
|
<span class="cngx-status__label">{{ label() }}</span>
|
|
2977
2977
|
}
|
|
2978
|
-
`, isInline: true, styles: ["@layer cngx.tokens{@property --cngx-status-gap{syntax: \"<length>\"; inherits: false; initial-value: 6px;}@property --cngx-status-dot-size{syntax: \"<length>\"; inherits: false; initial-value:
|
|
2978
|
+
`, isInline: true, styles: ["@layer cngx.tokens{@property --cngx-status-gap{syntax: \"<length>\"; inherits: false; initial-value: 6px;}@property --cngx-status-dot-size{syntax: \"<length>\"; inherits: false; initial-value: 16px;}@property --cngx-status-glyph-size{syntax: \"*\"; inherits: true; initial-value: .7em;}@property --cngx-status-dot-fg{syntax: \"<color>\"; inherits: true; initial-value: white;}@property --cngx-status-size{syntax: \"*\"; inherits: true; initial-value: .8125rem;}@property --cngx-status-weight{syntax: \"<number>\"; inherits: true; initial-value: 500;}@property --cngx-status-success-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.65 .18 145);}@property --cngx-status-warning-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.75 .15 85);}@property --cngx-status-danger-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.65 .22 25);}@property --cngx-status-info-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .14 250);}@property --cngx-status-neutral-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .02 290);}@media(prefers-color-scheme:dark){:root:not([data-color-scheme=light]):not(.light){--cngx-status-success-color: oklch(.78 .16 145);--cngx-status-warning-color: oklch(.82 .13 85);--cngx-status-danger-color: oklch(.75 .18 25);--cngx-status-info-color: oklch(.72 .12 250);--cngx-status-neutral-color: oklch(.7 .02 290)}}[data-color-scheme=dark],.dark{--cngx-status-success-color: oklch(.78 .16 145);--cngx-status-warning-color: oklch(.82 .13 85);--cngx-status-danger-color: oklch(.75 .18 25);--cngx-status-info-color: oklch(.72 .12 250);--cngx-status-neutral-color: oklch(.7 .02 290)}[data-color-scheme=light],.light{--cngx-status-success-color: oklch(.65 .18 145);--cngx-status-warning-color: oklch(.75 .15 85);--cngx-status-danger-color: oklch(.65 .22 25);--cngx-status-info-color: oklch(.6 .14 250);--cngx-status-neutral-color: oklch(.6 .02 290)}}@layer cngx.components{@scope(.cngx-status){:scope{--cngx-status-gap: var(--cngx-space-sm);display:inline-flex;align-items:center;gap:var(--cngx-status-gap, 6px);font-size:var(--cngx-status-size, .8125rem);font-weight:var(--cngx-status-weight, 500)}.cngx-status__dot{display:inline-flex;align-items:center;justify-content:center;inline-size:var(--cngx-status-dot-size, 1rem);block-size:var(--cngx-status-dot-size, 1rem);border-radius:50%;font-size:var(--cngx-status-glyph-size, .7em);line-height:1;color:var(--cngx-status-dot-fg, white);background:var(--cngx-status-neutral-color, oklch(.6 .02 290))}:scope.cngx-status--success .cngx-status__dot{background:var(--cngx-status-success-color, var(--cngx-color-success, oklch(.65 .18 145)))}:scope.cngx-status--warning .cngx-status__dot{background:var(--cngx-status-warning-color, oklch(.75 .15 85))}:scope.cngx-status--danger .cngx-status__dot{background:var(--cngx-status-danger-color, var(--cngx-color-danger, oklch(.65 .22 25)))}:scope.cngx-status--info .cngx-status__dot{background:var(--cngx-status-info-color, oklch(.6 .14 250))}:scope.cngx-status--neutral .cngx-status__dot{background:var(--cngx-status-neutral-color, oklch(.6 .02 290))}}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2979
2979
|
}
|
|
2980
2980
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStatus, decorators: [{
|
|
2981
2981
|
type: Component,
|
|
@@ -2992,7 +2992,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2992
2992
|
@if (label()) {
|
|
2993
2993
|
<span class="cngx-status__label">{{ label() }}</span>
|
|
2994
2994
|
}
|
|
2995
|
-
`, styles: ["@layer cngx.tokens{@property --cngx-status-gap{syntax: \"<length>\"; inherits: false; initial-value: 6px;}@property --cngx-status-dot-size{syntax: \"<length>\"; inherits: false; initial-value:
|
|
2995
|
+
`, styles: ["@layer cngx.tokens{@property --cngx-status-gap{syntax: \"<length>\"; inherits: false; initial-value: 6px;}@property --cngx-status-dot-size{syntax: \"<length>\"; inherits: false; initial-value: 16px;}@property --cngx-status-glyph-size{syntax: \"*\"; inherits: true; initial-value: .7em;}@property --cngx-status-dot-fg{syntax: \"<color>\"; inherits: true; initial-value: white;}@property --cngx-status-size{syntax: \"*\"; inherits: true; initial-value: .8125rem;}@property --cngx-status-weight{syntax: \"<number>\"; inherits: true; initial-value: 500;}@property --cngx-status-success-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.65 .18 145);}@property --cngx-status-warning-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.75 .15 85);}@property --cngx-status-danger-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.65 .22 25);}@property --cngx-status-info-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .14 250);}@property --cngx-status-neutral-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .02 290);}@media(prefers-color-scheme:dark){:root:not([data-color-scheme=light]):not(.light){--cngx-status-success-color: oklch(.78 .16 145);--cngx-status-warning-color: oklch(.82 .13 85);--cngx-status-danger-color: oklch(.75 .18 25);--cngx-status-info-color: oklch(.72 .12 250);--cngx-status-neutral-color: oklch(.7 .02 290)}}[data-color-scheme=dark],.dark{--cngx-status-success-color: oklch(.78 .16 145);--cngx-status-warning-color: oklch(.82 .13 85);--cngx-status-danger-color: oklch(.75 .18 25);--cngx-status-info-color: oklch(.72 .12 250);--cngx-status-neutral-color: oklch(.7 .02 290)}[data-color-scheme=light],.light{--cngx-status-success-color: oklch(.65 .18 145);--cngx-status-warning-color: oklch(.75 .15 85);--cngx-status-danger-color: oklch(.65 .22 25);--cngx-status-info-color: oklch(.6 .14 250);--cngx-status-neutral-color: oklch(.6 .02 290)}}@layer cngx.components{@scope(.cngx-status){:scope{--cngx-status-gap: var(--cngx-space-sm);display:inline-flex;align-items:center;gap:var(--cngx-status-gap, 6px);font-size:var(--cngx-status-size, .8125rem);font-weight:var(--cngx-status-weight, 500)}.cngx-status__dot{display:inline-flex;align-items:center;justify-content:center;inline-size:var(--cngx-status-dot-size, 1rem);block-size:var(--cngx-status-dot-size, 1rem);border-radius:50%;font-size:var(--cngx-status-glyph-size, .7em);line-height:1;color:var(--cngx-status-dot-fg, white);background:var(--cngx-status-neutral-color, oklch(.6 .02 290))}:scope.cngx-status--success .cngx-status__dot{background:var(--cngx-status-success-color, var(--cngx-color-success, oklch(.65 .18 145)))}:scope.cngx-status--warning .cngx-status__dot{background:var(--cngx-status-warning-color, oklch(.75 .15 85))}:scope.cngx-status--danger .cngx-status__dot{background:var(--cngx-status-danger-color, var(--cngx-color-danger, oklch(.65 .22 25)))}:scope.cngx-status--info .cngx-status__dot{background:var(--cngx-status-info-color, oklch(.6 .14 250))}:scope.cngx-status--neutral .cngx-status__dot{background:var(--cngx-status-neutral-color, oklch(.6 .02 290))}}}\n"] }]
|
|
2996
2996
|
}], ctorParameters: () => [], propDecorators: { tone: [{ type: i0.Input, args: [{ isSignal: true, alias: "tone", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], live: [{ type: i0.Input, args: [{ isSignal: true, alias: "live", required: false }] }] } });
|
|
2997
2997
|
|
|
2998
2998
|
/**
|
|
@@ -136,7 +136,7 @@ class CngxSegmentedProgress {
|
|
|
136
136
|
aria-hidden="true"
|
|
137
137
|
></span>
|
|
138
138
|
}
|
|
139
|
-
`, isInline: true, styles: [".cngx-segmented-progress{display:flex;align-items:center;gap:var(--cngx-segmented-progress-gap, .25rem);inline-size:var(--cngx-segmented-progress-inline-size, 100%)}.cngx-segmented-progress__segment{flex:1 1 0;block-size:var(--cngx-segmented-progress-thickness, .375rem);border-radius:var(--cngx-segmented-progress-radius, 999px);background:var(--cngx-segmented-progress-todo-color, var(--mat-sys-surface-variant, #e0e0e0));transition:background var(--cngx-segmented-progress-transition, .15s ease)}.cngx-segmented-progress__segment[data-state=done]{background:var(--cngx-segmented-progress-done-color, var(--mat-sys-primary, #3f51b5))}.cngx-segmented-progress__segment[data-state=active]{background:var(--cngx-segmented-progress-active-color, var(--mat-sys-primary, #3f51b5));opacity:var(--cngx-segmented-progress-active-opacity, .6)}.cngx-segmented-progress__segment[data-state=error]{background:var(--cngx-segmented-progress-error-color, var(--mat-sys-error, #b3261e))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
139
|
+
`, isInline: true, styles: [".cngx-segmented-progress{--cngx-segmented-progress-gap: var(--cngx-space-xs, .25rem);display:flex;align-items:center;gap:var(--cngx-segmented-progress-gap, .25rem);inline-size:var(--cngx-segmented-progress-inline-size, 100%)}.cngx-segmented-progress__segment{flex:1 1 0;block-size:var(--cngx-segmented-progress-thickness, .375rem);border-radius:var(--cngx-segmented-progress-radius, 999px);background:var(--cngx-segmented-progress-todo-color, var(--mat-sys-surface-variant, #e0e0e0));transition:background var(--cngx-segmented-progress-transition, .15s ease)}.cngx-segmented-progress__segment[data-state=done]{background:var(--cngx-segmented-progress-done-color, var(--mat-sys-primary, #3f51b5))}.cngx-segmented-progress__segment[data-state=active]{background:var(--cngx-segmented-progress-active-color, var(--mat-sys-primary, #3f51b5));opacity:var(--cngx-segmented-progress-active-opacity, .6)}.cngx-segmented-progress__segment[data-state=error]{background:var(--cngx-segmented-progress-error-color, var(--mat-sys-error, #b3261e))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
140
140
|
}
|
|
141
141
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxSegmentedProgress, decorators: [{
|
|
142
142
|
type: Component,
|
|
@@ -155,7 +155,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
155
155
|
aria-hidden="true"
|
|
156
156
|
></span>
|
|
157
157
|
}
|
|
158
|
-
`, styles: [".cngx-segmented-progress{display:flex;align-items:center;gap:var(--cngx-segmented-progress-gap, .25rem);inline-size:var(--cngx-segmented-progress-inline-size, 100%)}.cngx-segmented-progress__segment{flex:1 1 0;block-size:var(--cngx-segmented-progress-thickness, .375rem);border-radius:var(--cngx-segmented-progress-radius, 999px);background:var(--cngx-segmented-progress-todo-color, var(--mat-sys-surface-variant, #e0e0e0));transition:background var(--cngx-segmented-progress-transition, .15s ease)}.cngx-segmented-progress__segment[data-state=done]{background:var(--cngx-segmented-progress-done-color, var(--mat-sys-primary, #3f51b5))}.cngx-segmented-progress__segment[data-state=active]{background:var(--cngx-segmented-progress-active-color, var(--mat-sys-primary, #3f51b5));opacity:var(--cngx-segmented-progress-active-opacity, .6)}.cngx-segmented-progress__segment[data-state=error]{background:var(--cngx-segmented-progress-error-color, var(--mat-sys-error, #b3261e))}\n"] }]
|
|
158
|
+
`, styles: [".cngx-segmented-progress{--cngx-segmented-progress-gap: var(--cngx-space-xs, .25rem);display:flex;align-items:center;gap:var(--cngx-segmented-progress-gap, .25rem);inline-size:var(--cngx-segmented-progress-inline-size, 100%)}.cngx-segmented-progress__segment{flex:1 1 0;block-size:var(--cngx-segmented-progress-thickness, .375rem);border-radius:var(--cngx-segmented-progress-radius, 999px);background:var(--cngx-segmented-progress-todo-color, var(--mat-sys-surface-variant, #e0e0e0));transition:background var(--cngx-segmented-progress-transition, .15s ease)}.cngx-segmented-progress__segment[data-state=done]{background:var(--cngx-segmented-progress-done-color, var(--mat-sys-primary, #3f51b5))}.cngx-segmented-progress__segment[data-state=active]{background:var(--cngx-segmented-progress-active-color, var(--mat-sys-primary, #3f51b5));opacity:var(--cngx-segmented-progress-active-opacity, .6)}.cngx-segmented-progress__segment[data-state=error]{background:var(--cngx-segmented-progress-error-color, var(--mat-sys-error, #b3261e))}\n"] }]
|
|
159
159
|
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], total: [{ type: i0.Input, args: [{ isSignal: true, alias: "total", required: false }] }], segments: [{ type: i0.Input, args: [{ isSignal: true, alias: "segments", required: false }] }], valueTextFormat: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueTextFormat", required: false }] }] } });
|
|
160
160
|
|
|
161
161
|
/**
|
|
@@ -713,13 +713,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
713
713
|
*/
|
|
714
714
|
class CngxMetaList {
|
|
715
715
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxMetaList, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
716
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: CngxMetaList, isStandalone: true, selector: "cngx-meta-list", host: { classAttribute: "cngx-meta-list" }, exportAs: ["cngxMetaList"], ngImport: i0, template: '<ng-content />', isInline: true, styles: [".cngx-meta-list{display:flex;flex-wrap:wrap;gap:var(--cngx-meta-list-gap, .4rem 1.2rem);color:var(--cngx-meta-list-color, var(--cngx-color-text-muted, #6b7280));font-size:var(--cngx-meta-list-fs, inherit)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
716
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: CngxMetaList, isStandalone: true, selector: "cngx-meta-list", host: { classAttribute: "cngx-meta-list" }, exportAs: ["cngxMetaList"], ngImport: i0, template: '<ng-content />', isInline: true, styles: [".cngx-meta-list{--cngx-meta-list-gap: var(--cngx-space-sm, .4rem) var(--cngx-space-md, 1.2rem);display:flex;flex-wrap:wrap;gap:var(--cngx-meta-list-gap, .4rem 1.2rem);color:var(--cngx-meta-list-color, var(--cngx-color-text-muted, #6b7280));font-size:var(--cngx-meta-list-fs, inherit)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
717
717
|
}
|
|
718
718
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxMetaList, decorators: [{
|
|
719
719
|
type: Component,
|
|
720
720
|
args: [{ selector: 'cngx-meta-list', exportAs: 'cngxMetaList', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '<ng-content />', host: {
|
|
721
721
|
class: 'cngx-meta-list',
|
|
722
|
-
}, styles: [".cngx-meta-list{display:flex;flex-wrap:wrap;gap:var(--cngx-meta-list-gap, .4rem 1.2rem);color:var(--cngx-meta-list-color, var(--cngx-color-text-muted, #6b7280));font-size:var(--cngx-meta-list-fs, inherit)}\n"] }]
|
|
722
|
+
}, styles: [".cngx-meta-list{--cngx-meta-list-gap: var(--cngx-space-sm, .4rem) var(--cngx-space-md, 1.2rem);display:flex;flex-wrap:wrap;gap:var(--cngx-meta-list-gap, .4rem 1.2rem);color:var(--cngx-meta-list-color, var(--cngx-color-text-muted, #6b7280));font-size:var(--cngx-meta-list-fs, inherit)}\n"] }]
|
|
723
723
|
}] });
|
|
724
724
|
|
|
725
725
|
/**
|
|
@@ -745,7 +745,7 @@ class CngxMeta {
|
|
|
745
745
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxMeta, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
746
746
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxMeta, isStandalone: true, selector: "cngx-meta", inputs: { term: { classPropertyName: "term", publicName: "term", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "cngx-meta" }, exportAs: ["cngxMeta"], ngImport: i0, template: `@if (term(); as t) {
|
|
747
747
|
<span class="cngx-meta__term">{{ t }}</span>
|
|
748
|
-
}<span class="cngx-meta__value"><ng-content /></span>`, isInline: true, styles: [".cngx-meta{display:inline-flex;align-items:baseline;gap:var(--cngx-meta-gap, .35em);min-inline-size:0}.cngx-meta__term{font-weight:var(--cngx-meta-term-weight, 600);color:var(--cngx-meta-term-color, inherit)}.cngx-meta__value{min-inline-size:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
748
|
+
}<span class="cngx-meta__value"><ng-content /></span>`, isInline: true, styles: [".cngx-meta{--cngx-meta-gap: var(--cngx-space-xs, .35em);display:inline-flex;align-items:baseline;gap:var(--cngx-meta-gap, .35em);min-inline-size:0}.cngx-meta__term{font-weight:var(--cngx-meta-term-weight, 600);color:var(--cngx-meta-term-color, inherit)}.cngx-meta__value{min-inline-size:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
749
749
|
}
|
|
750
750
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxMeta, decorators: [{
|
|
751
751
|
type: Component,
|
|
@@ -753,7 +753,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
753
753
|
<span class="cngx-meta__term">{{ t }}</span>
|
|
754
754
|
}<span class="cngx-meta__value"><ng-content /></span>`, host: {
|
|
755
755
|
class: 'cngx-meta',
|
|
756
|
-
}, styles: [".cngx-meta{display:inline-flex;align-items:baseline;gap:var(--cngx-meta-gap, .35em);min-inline-size:0}.cngx-meta__term{font-weight:var(--cngx-meta-term-weight, 600);color:var(--cngx-meta-term-color, inherit)}.cngx-meta__value{min-inline-size:0}\n"] }]
|
|
756
|
+
}, styles: [".cngx-meta{--cngx-meta-gap: var(--cngx-space-xs, .35em);display:inline-flex;align-items:baseline;gap:var(--cngx-meta-gap, .35em);min-inline-size:0}.cngx-meta__term{font-weight:var(--cngx-meta-term-weight, 600);color:var(--cngx-meta-term-color, inherit)}.cngx-meta__value{min-inline-size:0}\n"] }]
|
|
757
757
|
}], propDecorators: { term: [{ type: i0.Input, args: [{ isSignal: true, alias: "term", required: false }] }] } });
|
|
758
758
|
|
|
759
759
|
/**
|
|
@@ -1148,7 +1148,7 @@ class CngxPasswordStrengthMeter {
|
|
|
1148
1148
|
aria-hidden="true"
|
|
1149
1149
|
></span>
|
|
1150
1150
|
}
|
|
1151
|
-
`, isInline: true, styles: [".cngx-password-strength-meter{display:flex;align-items:center;gap:var(--cngx-password-strength-meter-gap, .25rem);inline-size:var(--cngx-password-strength-meter-inline-size, 100%)}.cngx-password-strength-meter__segment{flex:1 1 0;block-size:var(--cngx-password-strength-meter-thickness, .375rem);border-radius:var(--cngx-password-strength-meter-radius, 999px);background:var(--cngx-password-strength-meter-empty-color, #e0e0e0);transition:background var(--cngx-password-strength-meter-transition, .15s ease)}.cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-fill-color, #3f51b5)}.cngx-password-strength-meter[data-strength=weak] .cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-weak-color, #b3261e)}.cngx-password-strength-meter[data-strength=fair] .cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-fair-color, #ed6c02)}.cngx-password-strength-meter[data-strength=good] .cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-good-color, #0288d1)}.cngx-password-strength-meter[data-strength=strong] .cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-strong-color, #2e7d32)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1151
|
+
`, isInline: true, styles: [".cngx-password-strength-meter{--cngx-password-strength-meter-gap: var(--cngx-space-xs, .25rem);display:flex;align-items:center;gap:var(--cngx-password-strength-meter-gap, .25rem);inline-size:var(--cngx-password-strength-meter-inline-size, 100%)}.cngx-password-strength-meter__segment{flex:1 1 0;block-size:var(--cngx-password-strength-meter-thickness, .375rem);border-radius:var(--cngx-password-strength-meter-radius, 999px);background:var(--cngx-password-strength-meter-empty-color, #e0e0e0);transition:background var(--cngx-password-strength-meter-transition, .15s ease)}.cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-fill-color, #3f51b5)}.cngx-password-strength-meter[data-strength=weak] .cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-weak-color, #b3261e)}.cngx-password-strength-meter[data-strength=fair] .cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-fair-color, #ed6c02)}.cngx-password-strength-meter[data-strength=good] .cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-good-color, #0288d1)}.cngx-password-strength-meter[data-strength=strong] .cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-strong-color, #2e7d32)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1152
1152
|
}
|
|
1153
1153
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxPasswordStrengthMeter, decorators: [{
|
|
1154
1154
|
type: Component,
|
|
@@ -1164,7 +1164,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1164
1164
|
aria-hidden="true"
|
|
1165
1165
|
></span>
|
|
1166
1166
|
}
|
|
1167
|
-
`, styles: [".cngx-password-strength-meter{display:flex;align-items:center;gap:var(--cngx-password-strength-meter-gap, .25rem);inline-size:var(--cngx-password-strength-meter-inline-size, 100%)}.cngx-password-strength-meter__segment{flex:1 1 0;block-size:var(--cngx-password-strength-meter-thickness, .375rem);border-radius:var(--cngx-password-strength-meter-radius, 999px);background:var(--cngx-password-strength-meter-empty-color, #e0e0e0);transition:background var(--cngx-password-strength-meter-transition, .15s ease)}.cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-fill-color, #3f51b5)}.cngx-password-strength-meter[data-strength=weak] .cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-weak-color, #b3261e)}.cngx-password-strength-meter[data-strength=fair] .cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-fair-color, #ed6c02)}.cngx-password-strength-meter[data-strength=good] .cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-good-color, #0288d1)}.cngx-password-strength-meter[data-strength=strong] .cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-strong-color, #2e7d32)}\n"] }]
|
|
1167
|
+
`, styles: [".cngx-password-strength-meter{--cngx-password-strength-meter-gap: var(--cngx-space-xs, .25rem);display:flex;align-items:center;gap:var(--cngx-password-strength-meter-gap, .25rem);inline-size:var(--cngx-password-strength-meter-inline-size, 100%)}.cngx-password-strength-meter__segment{flex:1 1 0;block-size:var(--cngx-password-strength-meter-thickness, .375rem);border-radius:var(--cngx-password-strength-meter-radius, 999px);background:var(--cngx-password-strength-meter-empty-color, #e0e0e0);transition:background var(--cngx-password-strength-meter-transition, .15s ease)}.cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-fill-color, #3f51b5)}.cngx-password-strength-meter[data-strength=weak] .cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-weak-color, #b3261e)}.cngx-password-strength-meter[data-strength=fair] .cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-fair-color, #ed6c02)}.cngx-password-strength-meter[data-strength=good] .cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-good-color, #0288d1)}.cngx-password-strength-meter[data-strength=strong] .cngx-password-strength-meter__segment[data-filled=true]{background:var(--cngx-password-strength-meter-strong-color, #2e7d32)}\n"] }]
|
|
1168
1168
|
}], propDecorators: { score: [{ type: i0.Input, args: [{ isSignal: true, alias: "score", required: true }] }] } });
|
|
1169
1169
|
|
|
1170
1170
|
/**
|