codexly-ui 0.0.30 → 0.0.32
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/codexly-ui.mjs +10 -9
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +29 -29
package/fesm2022/codexly-ui.mjs
CHANGED
|
@@ -11,6 +11,7 @@ import { Chart, LineController, BarController, PieController, DoughnutController
|
|
|
11
11
|
import * as i1$2 from '@angular/cdk/portal';
|
|
12
12
|
import { PortalModule, ComponentPortal } from '@angular/cdk/portal';
|
|
13
13
|
import { FocusTrapFactory } from '@angular/cdk/a11y';
|
|
14
|
+
import { CdkScrollable } from '@angular/cdk/scrolling';
|
|
14
15
|
import { RouterLink, RouterLinkActive } from '@angular/router';
|
|
15
16
|
|
|
16
17
|
// ── Parse 'red' | 'red-500' → { color, shade } ───────────────────────────────
|
|
@@ -1730,7 +1731,7 @@ class ClxCarouselComponent {
|
|
|
1730
1731
|
_slides = contentChildren(ClxCarouselDirective, ...(ngDevMode ? [{ debugName: "_slides" }] : []));
|
|
1731
1732
|
_autoPlayTimer = null;
|
|
1732
1733
|
_touchStartX = 0;
|
|
1733
|
-
_zone = inject(NgZone);
|
|
1734
|
+
_zone = inject(NgZone, { optional: true }) ?? { run: (fn) => fn(), runOutsideAngular: (fn) => fn() };
|
|
1734
1735
|
_aspectClass = computed(() => CAROUSEL_ASPECT_RATIO_MAP[this.aspectRatio()] ?? '', ...(ngDevMode ? [{ debugName: "_aspectClass" }] : []));
|
|
1735
1736
|
_viewportClass = computed(() => {
|
|
1736
1737
|
const base = this._aspectClass();
|
|
@@ -4935,7 +4936,7 @@ class ClxAlertComponent {
|
|
|
4935
4936
|
_resolve = inject(CLX_ALERT_RESOLVE);
|
|
4936
4937
|
_animate = inject(ClxAnimateService);
|
|
4937
4938
|
_el = inject((ElementRef));
|
|
4938
|
-
_zone = inject(NgZone);
|
|
4939
|
+
_zone = inject(NgZone, { optional: true }) ?? { run: (fn) => fn(), runOutsideAngular: (fn) => fn() };
|
|
4939
4940
|
// ─── Resolved options ─────────────────────────────────────────────────────
|
|
4940
4941
|
get _type() { return this._opts.type ?? 'info'; }
|
|
4941
4942
|
_icon = signal(ALERT_ICON_MAP[this._type], ...(ngDevMode ? [{ debugName: "_icon" }] : []));
|
|
@@ -5983,7 +5984,7 @@ class ClxToastComponent {
|
|
|
5983
5984
|
dismiss = output();
|
|
5984
5985
|
_animate = inject(ClxAnimateService);
|
|
5985
5986
|
_el = inject((ElementRef));
|
|
5986
|
-
_zone = inject(NgZone);
|
|
5987
|
+
_zone = inject(NgZone, { optional: true }) ?? { run: (fn) => fn(), runOutsideAngular: (fn) => fn() };
|
|
5987
5988
|
// ─── Timer state ──────────────────────────────────────────────────────────
|
|
5988
5989
|
_progressPct = signal(100, ...(ngDevMode ? [{ debugName: "_progressPct" }] : []));
|
|
5989
5990
|
_timerHandle = null;
|
|
@@ -9065,7 +9066,7 @@ class ClxEditorComponent {
|
|
|
9065
9066
|
_sourceEl;
|
|
9066
9067
|
// ── Services ─────────────────────────────────────────────────────────────
|
|
9067
9068
|
_cdr = inject(ChangeDetectorRef);
|
|
9068
|
-
_zone = inject(NgZone);
|
|
9069
|
+
_zone = inject(NgZone, { optional: true }) ?? { run: (fn) => fn(), runOutsideAngular: (fn) => fn() };
|
|
9069
9070
|
_destroyRef = inject(DestroyRef);
|
|
9070
9071
|
_modal = inject(ClxModalService);
|
|
9071
9072
|
// ── Select options ────────────────────────────────────────────────────────
|
|
@@ -10881,7 +10882,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImpo
|
|
|
10881
10882
|
}] } });
|
|
10882
10883
|
|
|
10883
10884
|
class ClxAppLayoutComponent {
|
|
10884
|
-
_zone = inject(NgZone);
|
|
10885
|
+
_zone = inject(NgZone, { optional: true }) ?? { run: (fn) => fn(), runOutsideAngular: (fn) => fn() };
|
|
10885
10886
|
_document = inject(DOCUMENT);
|
|
10886
10887
|
activeColor = input('indigo', ...(ngDevMode ? [{ debugName: "activeColor" }] : []));
|
|
10887
10888
|
_sidebarOpen = signal(false, ...(ngDevMode ? [{ debugName: "_sidebarOpen" }] : []));
|
|
@@ -11014,19 +11015,19 @@ class ClxAppLayoutComponent {
|
|
|
11014
11015
|
<ng-content select="[clx-header]"></ng-content>
|
|
11015
11016
|
</header>
|
|
11016
11017
|
|
|
11017
|
-
<main class="flex-1 overflow-y-auto bg-white">
|
|
11018
|
+
<main cdkScrollable class="flex-1 overflow-y-auto bg-white">
|
|
11018
11019
|
<ng-content></ng-content>
|
|
11019
11020
|
</main>
|
|
11020
11021
|
|
|
11021
11022
|
</div>
|
|
11022
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ClxIconComponent, selector: "span[clx-icon]", inputs: ["name", "size", "color", "fill"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
11023
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ClxIconComponent, selector: "span[clx-icon]", inputs: ["name", "size", "color", "fill"] }, { kind: "directive", type: CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
11023
11024
|
}
|
|
11024
11025
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: ClxAppLayoutComponent, decorators: [{
|
|
11025
11026
|
type: Component,
|
|
11026
11027
|
args: [{
|
|
11027
11028
|
selector: 'clx-app-layout',
|
|
11028
11029
|
standalone: true,
|
|
11029
|
-
imports: [ClxIconComponent],
|
|
11030
|
+
imports: [ClxIconComponent, CdkScrollable],
|
|
11030
11031
|
template: `
|
|
11031
11032
|
<!-- Mobile backdrop -->
|
|
11032
11033
|
@if (_showBackdrop()) {
|
|
@@ -11076,7 +11077,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImpo
|
|
|
11076
11077
|
<ng-content select="[clx-header]"></ng-content>
|
|
11077
11078
|
</header>
|
|
11078
11079
|
|
|
11079
|
-
<main class="flex-1 overflow-y-auto bg-white">
|
|
11080
|
+
<main cdkScrollable class="flex-1 overflow-y-auto bg-white">
|
|
11080
11081
|
<ng-content></ng-content>
|
|
11081
11082
|
</main>
|
|
11082
11083
|
|