orbiq-neural-ui-kit 1.0.13 → 1.0.15
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.
|
@@ -12534,12 +12534,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
12534
12534
|
class NeuralNotificationCenterComponent {
|
|
12535
12535
|
open = input(false, /* @ts-ignore */
|
|
12536
12536
|
...(ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []));
|
|
12537
|
+
position = input('sidebar', /* @ts-ignore */
|
|
12538
|
+
...(ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []));
|
|
12537
12539
|
onClose = new EventEmitter();
|
|
12538
12540
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: NeuralNotificationCenterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12539
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: NeuralNotificationCenterComponent, isStandalone: true, selector: "neural-notification-center", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onClose: "onClose" }, ngImport: i0, template: `
|
|
12541
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: NeuralNotificationCenterComponent, isStandalone: true, selector: "neural-notification-center", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onClose: "onClose" }, ngImport: i0, template: `
|
|
12540
12542
|
<div
|
|
12541
|
-
class="
|
|
12542
|
-
[
|
|
12543
|
+
class="top-0 z-50 flex h-full w-[380px] flex-col bg-surface-base border-outline-gray-2 shadow-[4px_0_24px_rgba(0,0,0,0.08)] transition-transform duration-300 ease-in-out"
|
|
12544
|
+
[ngClass]="{
|
|
12545
|
+
'absolute left-full border-r': position() === 'sidebar',
|
|
12546
|
+
'fixed right-0 border-l': position() === 'right',
|
|
12547
|
+
'translate-x-0': open(),
|
|
12548
|
+
'-translate-x-full opacity-0 pointer-events-none': !open() && position() === 'sidebar',
|
|
12549
|
+
'translate-x-full opacity-0 pointer-events-none': !open() && position() === 'right'
|
|
12550
|
+
}"
|
|
12543
12551
|
>
|
|
12544
12552
|
<div class="flex items-center justify-between border-b border-outline-gray-2 px-4 pt-3 pb-0">
|
|
12545
12553
|
<ng-content select="[header-tabs]"></ng-content>
|
|
@@ -12554,12 +12562,13 @@ class NeuralNotificationCenterComponent {
|
|
|
12554
12562
|
</div>
|
|
12555
12563
|
</div>
|
|
12556
12564
|
|
|
12557
|
-
<div class="flex-1
|
|
12558
|
-
<
|
|
12559
|
-
|
|
12565
|
+
<div class="flex-1 flex flex-col min-h-0 overflow-hidden bg-surface-base">
|
|
12566
|
+
<div class="flex-1 overflow-y-auto p-4">
|
|
12567
|
+
<ng-content></ng-content>
|
|
12568
|
+
</div>
|
|
12560
12569
|
</div>
|
|
12561
12570
|
</div>
|
|
12562
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }] });
|
|
12571
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
12563
12572
|
}
|
|
12564
12573
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: NeuralNotificationCenterComponent, decorators: [{
|
|
12565
12574
|
type: Component,
|
|
@@ -12569,8 +12578,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
12569
12578
|
imports: [CommonModule],
|
|
12570
12579
|
template: `
|
|
12571
12580
|
<div
|
|
12572
|
-
class="
|
|
12573
|
-
[
|
|
12581
|
+
class="top-0 z-50 flex h-full w-[380px] flex-col bg-surface-base border-outline-gray-2 shadow-[4px_0_24px_rgba(0,0,0,0.08)] transition-transform duration-300 ease-in-out"
|
|
12582
|
+
[ngClass]="{
|
|
12583
|
+
'absolute left-full border-r': position() === 'sidebar',
|
|
12584
|
+
'fixed right-0 border-l': position() === 'right',
|
|
12585
|
+
'translate-x-0': open(),
|
|
12586
|
+
'-translate-x-full opacity-0 pointer-events-none': !open() && position() === 'sidebar',
|
|
12587
|
+
'translate-x-full opacity-0 pointer-events-none': !open() && position() === 'right'
|
|
12588
|
+
}"
|
|
12574
12589
|
>
|
|
12575
12590
|
<div class="flex items-center justify-between border-b border-outline-gray-2 px-4 pt-3 pb-0">
|
|
12576
12591
|
<ng-content select="[header-tabs]"></ng-content>
|
|
@@ -12585,14 +12600,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
12585
12600
|
</div>
|
|
12586
12601
|
</div>
|
|
12587
12602
|
|
|
12588
|
-
<div class="flex-1
|
|
12589
|
-
<
|
|
12590
|
-
|
|
12603
|
+
<div class="flex-1 flex flex-col min-h-0 overflow-hidden bg-surface-base">
|
|
12604
|
+
<div class="flex-1 overflow-y-auto p-4">
|
|
12605
|
+
<ng-content></ng-content>
|
|
12606
|
+
</div>
|
|
12591
12607
|
</div>
|
|
12592
12608
|
</div>
|
|
12593
12609
|
`
|
|
12594
12610
|
}]
|
|
12595
|
-
}], propDecorators: { open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], onClose: [{
|
|
12611
|
+
}], propDecorators: { open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], onClose: [{
|
|
12596
12612
|
type: Output
|
|
12597
12613
|
}] } });
|
|
12598
12614
|
|