ngx-core-components 0.1.6 → 0.3.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/buttons/button/button.component.d.ts +3 -1
- package/buttons/chip/chip.component.d.ts +5 -3
- package/buttons/split-button/split-button.component.d.ts +3 -0
- package/charts/gantt-chart/gantt-chart.component.d.ts +1 -0
- package/charts/gantt-chart/models/gantt-config.model.d.ts +4 -0
- package/feedback/badge/badge.component.d.ts +1 -0
- package/feedback/progress-bar/progress-bar.component.d.ts +1 -1
- package/fesm2022/ngx-core-components-buttons.mjs +92 -27
- package/fesm2022/ngx-core-components-buttons.mjs.map +1 -1
- package/fesm2022/ngx-core-components-charts.mjs +29 -12
- package/fesm2022/ngx-core-components-charts.mjs.map +1 -1
- package/fesm2022/ngx-core-components-dialog.mjs +16 -9
- package/fesm2022/ngx-core-components-dialog.mjs.map +1 -1
- package/fesm2022/ngx-core-components-feedback.mjs +18 -16
- package/fesm2022/ngx-core-components-feedback.mjs.map +1 -1
- package/fesm2022/ngx-core-components-inputs.mjs +104 -17
- package/fesm2022/ngx-core-components-inputs.mjs.map +1 -1
- package/fesm2022/ngx-core-components-layout.mjs +42 -27
- package/fesm2022/ngx-core-components-layout.mjs.map +1 -1
- package/fesm2022/ngx-core-components-navigation.mjs +15 -5
- package/fesm2022/ngx-core-components-navigation.mjs.map +1 -1
- package/fesm2022/ngx-core-components-views.mjs +27 -4
- package/fesm2022/ngx-core-components-views.mjs.map +1 -1
- package/fesm2022/ngx-core-components.mjs.map +1 -1
- package/inputs/dropdown/dropdown.component.d.ts +4 -1
- package/inputs/slider/slider.component.d.ts +13 -5
- package/inputs/textbox/textbox.component.d.ts +7 -1
- package/layout/card/card.component.d.ts +3 -2
- package/layout/tab-strip/tab-strip.component.d.ts +2 -0
- package/navigation/menu/menu.component.d.ts +4 -1
- package/package.json +1 -1
- package/public-api.d.ts +6 -6
- package/views/tree-view/tree-view.component.d.ts +5 -0
|
@@ -6,12 +6,14 @@ export declare class ButtonComponent {
|
|
|
6
6
|
variant: import("@angular/core").InputSignal<ButtonVariant>;
|
|
7
7
|
size: import("@angular/core").InputSignal<ButtonSize>;
|
|
8
8
|
shape: import("@angular/core").InputSignal<ButtonShape>;
|
|
9
|
+
type: import("@angular/core").InputSignal<"button" | "submit" | "reset">;
|
|
9
10
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
10
11
|
loading: import("@angular/core").InputSignal<boolean>;
|
|
11
12
|
prefixIcon: import("@angular/core").InputSignal<string>;
|
|
12
13
|
suffixIcon: import("@angular/core").InputSignal<string>;
|
|
14
|
+
ariaLabel: import("@angular/core").InputSignal<string>;
|
|
13
15
|
clicked: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
14
16
|
btnClass(): string;
|
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ngx-button", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; "isSignal": true; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, ["*"], true, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ngx-button", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; "isSignal": true; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, ["*"], true, never>;
|
|
17
19
|
}
|
|
@@ -6,11 +6,13 @@ export declare class ChipComponent {
|
|
|
6
6
|
selected: import("@angular/core").InputSignal<boolean>;
|
|
7
7
|
removable: import("@angular/core").InputSignal<boolean>;
|
|
8
8
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
9
|
-
removed: import("@angular/core").OutputEmitterRef<void>;
|
|
10
|
-
label: import("@angular/core").InputSignal<string>;
|
|
11
9
|
selectable: import("@angular/core").InputSignal<boolean>;
|
|
10
|
+
label: import("@angular/core").InputSignal<string>;
|
|
11
|
+
removed: import("@angular/core").OutputEmitterRef<void>;
|
|
12
|
+
selectedChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
13
|
+
onChipClick(): void;
|
|
12
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChipComponent, "ngx-chip", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipComponent, "ngx-chip", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "removed": "removed"; "selectedChange": "selectedChange"; }, never, ["*"], true, never>;
|
|
14
16
|
}
|
|
15
17
|
export declare class ChipListComponent {
|
|
16
18
|
wrap: import("@angular/core").InputSignal<boolean>;
|
|
@@ -8,6 +8,7 @@ export interface SplitButtonItem {
|
|
|
8
8
|
separator?: boolean;
|
|
9
9
|
}
|
|
10
10
|
export declare class SplitButtonComponent {
|
|
11
|
+
private el;
|
|
11
12
|
variant: import("@angular/core").InputSignal<ButtonVariant>;
|
|
12
13
|
size: import("@angular/core").InputSignal<ButtonSize>;
|
|
13
14
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
@@ -17,6 +18,8 @@ export declare class SplitButtonComponent {
|
|
|
17
18
|
mainClicked: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
18
19
|
itemClicked: import("@angular/core").OutputEmitterRef<SplitButtonItem>;
|
|
19
20
|
toggle(): void;
|
|
21
|
+
onItemClick(item: SplitButtonItem): void;
|
|
22
|
+
onDocClick(event: MouseEvent): void;
|
|
20
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<SplitButtonComponent, never>;
|
|
21
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<SplitButtonComponent, "ngx-split-button", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; }, { "mainClicked": "mainClicked"; "itemClicked": "itemClicked"; }, never, ["*"], true, never>;
|
|
22
25
|
}
|
|
@@ -118,6 +118,7 @@ export declare class GanttChartComponent {
|
|
|
118
118
|
isTaskSelected(taskId: string): boolean;
|
|
119
119
|
private toggleSelection;
|
|
120
120
|
onTimelineScroll(): void;
|
|
121
|
+
onTreelistWheel(event: WheelEvent): void;
|
|
121
122
|
onSplitBarDown(event: PointerEvent): void;
|
|
122
123
|
onBarPointerDown(event: PointerEvent, task: GanttTask, mode: 'move' | 'resize-left' | 'resize-right'): void;
|
|
123
124
|
onLinkDragStart(event: PointerEvent, task: GanttTask, side: 'start' | 'end'): void;
|
|
@@ -94,5 +94,9 @@ export interface GanttConfig {
|
|
|
94
94
|
maxLevel: number;
|
|
95
95
|
/** Bar height in pixels */
|
|
96
96
|
barHeight: number;
|
|
97
|
+
/** Enable alternate row colors for better row distinction */
|
|
98
|
+
enableAlternateRowColor: boolean;
|
|
99
|
+
/** Enable alternate column colors for better column distinction */
|
|
100
|
+
enableAlternateColumnColor: boolean;
|
|
97
101
|
}
|
|
98
102
|
export declare const DEFAULT_GANTT_CONFIG: GanttConfig;
|
|
@@ -8,6 +8,7 @@ export declare class BadgeComponent {
|
|
|
8
8
|
positioned: import("@angular/core").InputSignal<boolean>;
|
|
9
9
|
position: import("@angular/core").InputSignal<BadgePosition>;
|
|
10
10
|
ariaLabel: import("@angular/core").InputSignal<string>;
|
|
11
|
+
badgeClass: import("@angular/core").Signal<string>;
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
|
12
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "ngx-badge", never, { "content": { "alias": "content"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "dot": { "alias": "dot"; "required": false; "isSignal": true; }; "positioned": { "alias": "positioned"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
13
14
|
}
|
|
@@ -9,7 +9,7 @@ export declare class ProgressBarComponent {
|
|
|
9
9
|
height: import("@angular/core").InputSignal<number>;
|
|
10
10
|
showValue: import("@angular/core").InputSignal<boolean>;
|
|
11
11
|
indeterminate: import("@angular/core").InputSignal<boolean>;
|
|
12
|
-
|
|
12
|
+
clampedPct: import("@angular/core").Signal<number>;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
14
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "ngx-progress-bar", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
15
|
}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, output, Component, signal } from '@angular/core';
|
|
2
|
+
import { input, output, Component, inject, ElementRef, signal, HostListener } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
|
|
5
5
|
class ButtonComponent {
|
|
6
6
|
variant = input('primary');
|
|
7
7
|
size = input('md');
|
|
8
8
|
shape = input('rectangle');
|
|
9
|
+
type = input('button');
|
|
9
10
|
disabled = input(false);
|
|
10
11
|
loading = input(false);
|
|
11
12
|
prefixIcon = input('');
|
|
12
13
|
suffixIcon = input('');
|
|
14
|
+
ariaLabel = input('');
|
|
13
15
|
clicked = output();
|
|
14
16
|
btnClass() {
|
|
15
17
|
const parts = [
|
|
@@ -21,11 +23,13 @@ class ButtonComponent {
|
|
|
21
23
|
return parts.join(' ');
|
|
22
24
|
}
|
|
23
25
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: ButtonComponent, isStandalone: true, selector: "ngx-button", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, shape: { classPropertyName: "shape", publicName: "shape", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, prefixIcon: { classPropertyName: "prefixIcon", publicName: "prefixIcon", isSignal: true, isRequired: false, transformFunction: null }, suffixIcon: { classPropertyName: "suffixIcon", publicName: "suffixIcon", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
|
|
26
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: ButtonComponent, isStandalone: true, selector: "ngx-button", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, shape: { classPropertyName: "shape", publicName: "shape", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, prefixIcon: { classPropertyName: "prefixIcon", publicName: "prefixIcon", isSignal: true, isRequired: false, transformFunction: null }, suffixIcon: { classPropertyName: "suffixIcon", publicName: "suffixIcon", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
|
|
25
27
|
<button
|
|
26
28
|
class="ngx-btn"
|
|
27
29
|
[class]="btnClass()"
|
|
30
|
+
[type]="type()"
|
|
28
31
|
[disabled]="disabled() || loading()"
|
|
32
|
+
[attr.aria-label]="ariaLabel() || null"
|
|
29
33
|
(click)="clicked.emit($event)"
|
|
30
34
|
>
|
|
31
35
|
@if (loading()) {
|
|
@@ -46,7 +50,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
46
50
|
<button
|
|
47
51
|
class="ngx-btn"
|
|
48
52
|
[class]="btnClass()"
|
|
53
|
+
[type]="type()"
|
|
49
54
|
[disabled]="disabled() || loading()"
|
|
55
|
+
[attr.aria-label]="ariaLabel() || null"
|
|
50
56
|
(click)="clicked.emit($event)"
|
|
51
57
|
>
|
|
52
58
|
@if (loading()) {
|
|
@@ -87,12 +93,31 @@ class ChipComponent {
|
|
|
87
93
|
selected = input(false);
|
|
88
94
|
removable = input(false);
|
|
89
95
|
disabled = input(false);
|
|
90
|
-
removed = output();
|
|
91
|
-
label = input('');
|
|
92
96
|
selectable = input(false);
|
|
97
|
+
label = input('');
|
|
98
|
+
removed = output();
|
|
99
|
+
selectedChange = output();
|
|
100
|
+
onChipClick() {
|
|
101
|
+
if (!this.selectable() || this.disabled())
|
|
102
|
+
return;
|
|
103
|
+
this.selectedChange.emit(!this.selected());
|
|
104
|
+
}
|
|
93
105
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ChipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
94
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: ChipComponent, isStandalone: true, selector: "ngx-chip", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, removable: { classPropertyName: "removable", publicName: "removable", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null },
|
|
95
|
-
<span
|
|
106
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: ChipComponent, isStandalone: true, selector: "ngx-chip", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, removable: { classPropertyName: "removable", publicName: "removable", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, selectable: { classPropertyName: "selectable", publicName: "selectable", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { removed: "removed", selectedChange: "selectedChange" }, ngImport: i0, template: `
|
|
107
|
+
<span
|
|
108
|
+
class="ngx-chip"
|
|
109
|
+
[class]="'ngx-chip-' + variant()"
|
|
110
|
+
[class.removable]="removable()"
|
|
111
|
+
[class.selected]="selected()"
|
|
112
|
+
[class.disabled]="disabled()"
|
|
113
|
+
[class.selectable]="selectable()"
|
|
114
|
+
[attr.role]="selectable() ? 'checkbox' : null"
|
|
115
|
+
[attr.aria-checked]="selectable() ? selected() : null"
|
|
116
|
+
[attr.tabindex]="selectable() && !disabled() ? 0 : null"
|
|
117
|
+
(click)="onChipClick()"
|
|
118
|
+
(keydown.enter)="onChipClick()"
|
|
119
|
+
(keydown.space)="onChipClick()"
|
|
120
|
+
>
|
|
96
121
|
@if (icon()) {
|
|
97
122
|
<span class="chip-icon" aria-hidden="true">{{ icon() }}</span>
|
|
98
123
|
}
|
|
@@ -101,12 +126,25 @@ class ChipComponent {
|
|
|
101
126
|
<button class="chip-remove" (click)="$event.stopPropagation(); removed.emit()" aria-label="Remove">✕</button>
|
|
102
127
|
}
|
|
103
128
|
</span>
|
|
104
|
-
`, isInline: true, styles: [":host{display:inline-block}.ngx-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;font-size:12px;font-weight:500;border-radius:999px;background:var(--ngx-chip-bg, #e9ecef);color:var(--ngx-chip-color, #495057);border:1px solid var(--ngx-chip-border, #dee2e6);font-family:inherit;transition:all .12s}.ngx-chip.selected{background:var(--ngx-chip-selected-bg, #dbeafe);color:var(--ngx-chip-selected-color, #1a73e8);border-color:#93c5fd}.ngx-chip.disabled{opacity:.5;cursor:not-allowed}.ngx-chip-info{background:#dbeafe;color:#1a73e8;border-color:#93c5fd}.ngx-chip-success{background:#d1fae5;color:#065f46;border-color:#6ee7b7}.ngx-chip-warning{background:#fef3c7;color:#92400e;border-color:#fcd34d}.ngx-chip-error,.ngx-chip-danger{background:#fee2e2;color:#991b1b;border-color:#fca5a5}.ngx-chip-outlined{background:transparent;color:var(--ngx-btn-primary, #0f0f23);border-color:var(--ngx-btn-primary, #0f0f23)}.chip-icon{font-size:11px}.chip-remove{background:none;border:none;cursor:pointer;font-size:10px;line-height:1;padding:0 0 0 2px;color:inherit;opacity:.7}.chip-remove:hover{opacity:1}\n"] });
|
|
129
|
+
`, isInline: true, styles: [":host{display:inline-block}.ngx-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;font-size:12px;font-weight:500;border-radius:999px;background:var(--ngx-chip-bg, #e9ecef);color:var(--ngx-chip-color, #495057);border:1px solid var(--ngx-chip-border, #dee2e6);font-family:inherit;transition:all .12s}.ngx-chip.selected{background:var(--ngx-chip-selected-bg, #dbeafe);color:var(--ngx-chip-selected-color, #1a73e8);border-color:#93c5fd}.ngx-chip.disabled{opacity:.5;cursor:not-allowed}.ngx-chip-info{background:#dbeafe;color:#1a73e8;border-color:#93c5fd}.ngx-chip-success{background:#d1fae5;color:#065f46;border-color:#6ee7b7}.ngx-chip-warning{background:#fef3c7;color:#92400e;border-color:#fcd34d}.ngx-chip-error,.ngx-chip-danger{background:#fee2e2;color:#991b1b;border-color:#fca5a5}.ngx-chip-outlined{background:transparent;color:var(--ngx-btn-primary, #0f0f23);border-color:var(--ngx-btn-primary, #0f0f23)}.chip-icon{font-size:11px}.chip-remove{background:none;border:none;cursor:pointer;font-size:10px;line-height:1;padding:0 0 0 2px;color:inherit;opacity:.7}.chip-remove:hover{opacity:1}.ngx-chip.selectable{cursor:pointer}.ngx-chip.selectable:hover:not(.disabled){filter:brightness(.95)}\n"] });
|
|
105
130
|
}
|
|
106
131
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ChipComponent, decorators: [{
|
|
107
132
|
type: Component,
|
|
108
133
|
args: [{ selector: 'ngx-chip', standalone: true, template: `
|
|
109
|
-
<span
|
|
134
|
+
<span
|
|
135
|
+
class="ngx-chip"
|
|
136
|
+
[class]="'ngx-chip-' + variant()"
|
|
137
|
+
[class.removable]="removable()"
|
|
138
|
+
[class.selected]="selected()"
|
|
139
|
+
[class.disabled]="disabled()"
|
|
140
|
+
[class.selectable]="selectable()"
|
|
141
|
+
[attr.role]="selectable() ? 'checkbox' : null"
|
|
142
|
+
[attr.aria-checked]="selectable() ? selected() : null"
|
|
143
|
+
[attr.tabindex]="selectable() && !disabled() ? 0 : null"
|
|
144
|
+
(click)="onChipClick()"
|
|
145
|
+
(keydown.enter)="onChipClick()"
|
|
146
|
+
(keydown.space)="onChipClick()"
|
|
147
|
+
>
|
|
110
148
|
@if (icon()) {
|
|
111
149
|
<span class="chip-icon" aria-hidden="true">{{ icon() }}</span>
|
|
112
150
|
}
|
|
@@ -115,7 +153,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
115
153
|
<button class="chip-remove" (click)="$event.stopPropagation(); removed.emit()" aria-label="Remove">✕</button>
|
|
116
154
|
}
|
|
117
155
|
</span>
|
|
118
|
-
`, styles: [":host{display:inline-block}.ngx-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;font-size:12px;font-weight:500;border-radius:999px;background:var(--ngx-chip-bg, #e9ecef);color:var(--ngx-chip-color, #495057);border:1px solid var(--ngx-chip-border, #dee2e6);font-family:inherit;transition:all .12s}.ngx-chip.selected{background:var(--ngx-chip-selected-bg, #dbeafe);color:var(--ngx-chip-selected-color, #1a73e8);border-color:#93c5fd}.ngx-chip.disabled{opacity:.5;cursor:not-allowed}.ngx-chip-info{background:#dbeafe;color:#1a73e8;border-color:#93c5fd}.ngx-chip-success{background:#d1fae5;color:#065f46;border-color:#6ee7b7}.ngx-chip-warning{background:#fef3c7;color:#92400e;border-color:#fcd34d}.ngx-chip-error,.ngx-chip-danger{background:#fee2e2;color:#991b1b;border-color:#fca5a5}.ngx-chip-outlined{background:transparent;color:var(--ngx-btn-primary, #0f0f23);border-color:var(--ngx-btn-primary, #0f0f23)}.chip-icon{font-size:11px}.chip-remove{background:none;border:none;cursor:pointer;font-size:10px;line-height:1;padding:0 0 0 2px;color:inherit;opacity:.7}.chip-remove:hover{opacity:1}\n"] }]
|
|
156
|
+
`, styles: [":host{display:inline-block}.ngx-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;font-size:12px;font-weight:500;border-radius:999px;background:var(--ngx-chip-bg, #e9ecef);color:var(--ngx-chip-color, #495057);border:1px solid var(--ngx-chip-border, #dee2e6);font-family:inherit;transition:all .12s}.ngx-chip.selected{background:var(--ngx-chip-selected-bg, #dbeafe);color:var(--ngx-chip-selected-color, #1a73e8);border-color:#93c5fd}.ngx-chip.disabled{opacity:.5;cursor:not-allowed}.ngx-chip-info{background:#dbeafe;color:#1a73e8;border-color:#93c5fd}.ngx-chip-success{background:#d1fae5;color:#065f46;border-color:#6ee7b7}.ngx-chip-warning{background:#fef3c7;color:#92400e;border-color:#fcd34d}.ngx-chip-error,.ngx-chip-danger{background:#fee2e2;color:#991b1b;border-color:#fca5a5}.ngx-chip-outlined{background:transparent;color:var(--ngx-btn-primary, #0f0f23);border-color:var(--ngx-btn-primary, #0f0f23)}.chip-icon{font-size:11px}.chip-remove{background:none;border:none;cursor:pointer;font-size:10px;line-height:1;padding:0 0 0 2px;color:inherit;opacity:.7}.chip-remove:hover{opacity:1}.ngx-chip.selectable{cursor:pointer}.ngx-chip.selectable:hover:not(.disabled){filter:brightness(.95)}\n"] }]
|
|
119
157
|
}] });
|
|
120
158
|
class ChipListComponent {
|
|
121
159
|
wrap = input(true);
|
|
@@ -136,6 +174,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
136
174
|
}] });
|
|
137
175
|
|
|
138
176
|
class SplitButtonComponent {
|
|
177
|
+
el = inject(ElementRef);
|
|
139
178
|
variant = input('primary');
|
|
140
179
|
size = input('md');
|
|
141
180
|
disabled = input(false);
|
|
@@ -144,9 +183,24 @@ class SplitButtonComponent {
|
|
|
144
183
|
open = signal(false);
|
|
145
184
|
mainClicked = output();
|
|
146
185
|
itemClicked = output();
|
|
147
|
-
toggle() {
|
|
186
|
+
toggle() {
|
|
187
|
+
if (this.disabled() || this.loading())
|
|
188
|
+
return;
|
|
189
|
+
this.open.update(v => !v);
|
|
190
|
+
}
|
|
191
|
+
onItemClick(item) {
|
|
192
|
+
if (item.disabled)
|
|
193
|
+
return;
|
|
194
|
+
this.itemClicked.emit(item);
|
|
195
|
+
this.open.set(false);
|
|
196
|
+
}
|
|
197
|
+
onDocClick(event) {
|
|
198
|
+
if (!this.el.nativeElement.contains(event.target)) {
|
|
199
|
+
this.open.set(false);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
148
202
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SplitButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
149
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: SplitButtonComponent, isStandalone: true, selector: "ngx-split-button", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { mainClicked: "mainClicked", itemClicked: "itemClicked" }, ngImport: i0, template: `
|
|
203
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: SplitButtonComponent, isStandalone: true, selector: "ngx-split-button", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { mainClicked: "mainClicked", itemClicked: "itemClicked" }, host: { listeners: { "document:click": "onDocClick($event)" } }, ngImport: i0, template: `
|
|
150
204
|
<div class="ngx-split-btn" [class.open]="open()">
|
|
151
205
|
<ngx-button [variant]="variant()" [size]="size()" [disabled]="disabled()" [loading]="loading()" (clicked)="mainClicked.emit($event)">
|
|
152
206
|
<ng-content />
|
|
@@ -156,17 +210,21 @@ class SplitButtonComponent {
|
|
|
156
210
|
</button>
|
|
157
211
|
@if (open()) {
|
|
158
212
|
<ul class="split-menu" role="menu">
|
|
159
|
-
@for (item of items(); track item.text) {
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
<
|
|
164
|
-
|
|
213
|
+
@for (item of items(); track (item.text || item.label || $index)) {
|
|
214
|
+
@if (item.separator) {
|
|
215
|
+
<li class="split-menu-separator" role="separator"></li>
|
|
216
|
+
} @else {
|
|
217
|
+
<li class="split-menu-item" [class.disabled]="item.disabled" role="menuitem"
|
|
218
|
+
(click)="onItemClick(item)">
|
|
219
|
+
@if (item.icon) { <span class="item-icon">{{ item.icon }}</span> }
|
|
220
|
+
<span>{{ item.text || item.label }}</span>
|
|
221
|
+
</li>
|
|
222
|
+
}
|
|
165
223
|
}
|
|
166
224
|
</ul>
|
|
167
225
|
}
|
|
168
226
|
</div>
|
|
169
|
-
`, isInline: true, styles: [":host{display:inline-block;position:relative}.ngx-split-btn{display:inline-flex;position:relative}.ngx-split-btn ngx-button :global(.ngx-btn){border-radius:var(--ngx-btn-radius, 4px) 0 0 var(--ngx-btn-radius, 4px)!important;border-right:none}.split-arrow{border-radius:0 var(--ngx-btn-radius, 4px) var(--ngx-btn-radius, 4px) 0!important;padding:0 10px;cursor:pointer;font-family:inherit;border-left:1px solid rgba(255,255,255,.3)}.split-arrow:disabled{opacity:.55;cursor:not-allowed}.split-menu{position:absolute;top:100%;left:0;min-width:100%;margin-top:2px;background:var(--ngx-menu-bg, #fff);border:1px solid var(--ngx-menu-border, #dee2e6);border-radius:6px;box-shadow:0 4px 16px #0000001f;list-style:none;padding:4px 0;z-index:1000}.split-menu-item{display:flex;align-items:center;gap:8px;padding:8px 14px;font-size:13px;cursor:pointer;color:#212529}.split-menu-item:hover:not(.disabled){background:#f1f3f5}.split-menu-item.disabled{color:#adb5bd;cursor:not-allowed}.item-icon{font-size:14px}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "ngx-button", inputs: ["variant", "size", "shape", "disabled", "loading", "prefixIcon", "suffixIcon"], outputs: ["clicked"] }] });
|
|
227
|
+
`, isInline: true, styles: [":host{display:inline-block;position:relative}.ngx-split-btn{display:inline-flex;position:relative}.ngx-split-btn ngx-button :global(.ngx-btn){border-radius:var(--ngx-btn-radius, 4px) 0 0 var(--ngx-btn-radius, 4px)!important;border-right:none}.split-arrow{border-radius:0 var(--ngx-btn-radius, 4px) var(--ngx-btn-radius, 4px) 0!important;padding:0 10px;cursor:pointer;font-family:inherit;border-left:1px solid rgba(255,255,255,.3)}.split-arrow:disabled{opacity:.55;cursor:not-allowed}.split-menu{position:absolute;top:100%;left:0;min-width:100%;margin-top:2px;background:var(--ngx-menu-bg, #fff);border:1px solid var(--ngx-menu-border, #dee2e6);border-radius:6px;box-shadow:0 4px 16px #0000001f;list-style:none;padding:4px 0;z-index:1000}.split-menu-item{display:flex;align-items:center;gap:8px;padding:8px 14px;font-size:13px;cursor:pointer;color:#212529}.split-menu-item:hover:not(.disabled){background:#f1f3f5}.split-menu-item.disabled{color:#adb5bd;cursor:not-allowed}.split-menu-separator{margin:4px 0;height:1px;background:var(--ngx-menu-separator, #dee2e6);list-style:none}.item-icon{font-size:14px}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "ngx-button", inputs: ["variant", "size", "shape", "type", "disabled", "loading", "prefixIcon", "suffixIcon", "ariaLabel"], outputs: ["clicked"] }] });
|
|
170
228
|
}
|
|
171
229
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SplitButtonComponent, decorators: [{
|
|
172
230
|
type: Component,
|
|
@@ -180,18 +238,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
180
238
|
</button>
|
|
181
239
|
@if (open()) {
|
|
182
240
|
<ul class="split-menu" role="menu">
|
|
183
|
-
@for (item of items(); track item.text) {
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
<
|
|
188
|
-
|
|
241
|
+
@for (item of items(); track (item.text || item.label || $index)) {
|
|
242
|
+
@if (item.separator) {
|
|
243
|
+
<li class="split-menu-separator" role="separator"></li>
|
|
244
|
+
} @else {
|
|
245
|
+
<li class="split-menu-item" [class.disabled]="item.disabled" role="menuitem"
|
|
246
|
+
(click)="onItemClick(item)">
|
|
247
|
+
@if (item.icon) { <span class="item-icon">{{ item.icon }}</span> }
|
|
248
|
+
<span>{{ item.text || item.label }}</span>
|
|
249
|
+
</li>
|
|
250
|
+
}
|
|
189
251
|
}
|
|
190
252
|
</ul>
|
|
191
253
|
}
|
|
192
254
|
</div>
|
|
193
|
-
`, styles: [":host{display:inline-block;position:relative}.ngx-split-btn{display:inline-flex;position:relative}.ngx-split-btn ngx-button :global(.ngx-btn){border-radius:var(--ngx-btn-radius, 4px) 0 0 var(--ngx-btn-radius, 4px)!important;border-right:none}.split-arrow{border-radius:0 var(--ngx-btn-radius, 4px) var(--ngx-btn-radius, 4px) 0!important;padding:0 10px;cursor:pointer;font-family:inherit;border-left:1px solid rgba(255,255,255,.3)}.split-arrow:disabled{opacity:.55;cursor:not-allowed}.split-menu{position:absolute;top:100%;left:0;min-width:100%;margin-top:2px;background:var(--ngx-menu-bg, #fff);border:1px solid var(--ngx-menu-border, #dee2e6);border-radius:6px;box-shadow:0 4px 16px #0000001f;list-style:none;padding:4px 0;z-index:1000}.split-menu-item{display:flex;align-items:center;gap:8px;padding:8px 14px;font-size:13px;cursor:pointer;color:#212529}.split-menu-item:hover:not(.disabled){background:#f1f3f5}.split-menu-item.disabled{color:#adb5bd;cursor:not-allowed}.item-icon{font-size:14px}\n"] }]
|
|
194
|
-
}]
|
|
255
|
+
`, styles: [":host{display:inline-block;position:relative}.ngx-split-btn{display:inline-flex;position:relative}.ngx-split-btn ngx-button :global(.ngx-btn){border-radius:var(--ngx-btn-radius, 4px) 0 0 var(--ngx-btn-radius, 4px)!important;border-right:none}.split-arrow{border-radius:0 var(--ngx-btn-radius, 4px) var(--ngx-btn-radius, 4px) 0!important;padding:0 10px;cursor:pointer;font-family:inherit;border-left:1px solid rgba(255,255,255,.3)}.split-arrow:disabled{opacity:.55;cursor:not-allowed}.split-menu{position:absolute;top:100%;left:0;min-width:100%;margin-top:2px;background:var(--ngx-menu-bg, #fff);border:1px solid var(--ngx-menu-border, #dee2e6);border-radius:6px;box-shadow:0 4px 16px #0000001f;list-style:none;padding:4px 0;z-index:1000}.split-menu-item{display:flex;align-items:center;gap:8px;padding:8px 14px;font-size:13px;cursor:pointer;color:#212529}.split-menu-item:hover:not(.disabled){background:#f1f3f5}.split-menu-item.disabled{color:#adb5bd;cursor:not-allowed}.split-menu-separator{margin:4px 0;height:1px;background:var(--ngx-menu-separator, #dee2e6);list-style:none}.item-icon{font-size:14px}\n"] }]
|
|
256
|
+
}], propDecorators: { onDocClick: [{
|
|
257
|
+
type: HostListener,
|
|
258
|
+
args: ['document:click', ['$event']]
|
|
259
|
+
}] } });
|
|
195
260
|
|
|
196
261
|
class DropDownButtonComponent {
|
|
197
262
|
variant = input('secondary');
|
|
@@ -219,7 +284,7 @@ class DropDownButtonComponent {
|
|
|
219
284
|
</ul>
|
|
220
285
|
}
|
|
221
286
|
</div>
|
|
222
|
-
`, isInline: true, styles: [":host{display:inline-block;position:relative}.ngx-dd-btn{display:inline-flex;position:relative}.dd-menu{position:absolute;top:100%;left:0;min-width:160px;margin-top:2px;background:var(--ngx-menu-bg, #fff);border:1px solid var(--ngx-menu-border, #dee2e6);border-radius:6px;box-shadow:0 4px 16px #0000001f;list-style:none;padding:4px 0;z-index:1000}.dd-menu-item{display:flex;align-items:center;gap:8px;padding:8px 14px;font-size:13px;cursor:pointer;color:#212529}.dd-menu-item:hover:not(.disabled){background:#f1f3f5}.dd-menu-item.disabled{color:#adb5bd;cursor:not-allowed}.item-icon{font-size:14px}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "ngx-button", inputs: ["variant", "size", "shape", "disabled", "loading", "prefixIcon", "suffixIcon"], outputs: ["clicked"] }] });
|
|
287
|
+
`, isInline: true, styles: [":host{display:inline-block;position:relative}.ngx-dd-btn{display:inline-flex;position:relative}.dd-menu{position:absolute;top:100%;left:0;min-width:160px;margin-top:2px;background:var(--ngx-menu-bg, #fff);border:1px solid var(--ngx-menu-border, #dee2e6);border-radius:6px;box-shadow:0 4px 16px #0000001f;list-style:none;padding:4px 0;z-index:1000}.dd-menu-item{display:flex;align-items:center;gap:8px;padding:8px 14px;font-size:13px;cursor:pointer;color:#212529}.dd-menu-item:hover:not(.disabled){background:#f1f3f5}.dd-menu-item.disabled{color:#adb5bd;cursor:not-allowed}.item-icon{font-size:14px}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "ngx-button", inputs: ["variant", "size", "shape", "type", "disabled", "loading", "prefixIcon", "suffixIcon", "ariaLabel"], outputs: ["clicked"] }] });
|
|
223
288
|
}
|
|
224
289
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DropDownButtonComponent, decorators: [{
|
|
225
290
|
type: Component,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-core-components-buttons.mjs","sources":["../../../projects/ngx-core-components/buttons/button/button.component.ts","../../../projects/ngx-core-components/buttons/button-group/button-group.component.ts","../../../projects/ngx-core-components/buttons/chip/chip.component.ts","../../../projects/ngx-core-components/buttons/split-button/split-button.component.ts","../../../projects/ngx-core-components/buttons/dropdown-button/dropdown-button.component.ts","../../../projects/ngx-core-components/buttons/public-api.ts","../../../projects/ngx-core-components/buttons/ngx-core-components-buttons.ts"],"sourcesContent":["import { Component, input, output } from '@angular/core';\n\nexport type ButtonVariant = 'primary' | 'secondary' | 'danger' | 'ghost' | 'link' | 'success' | 'warning' | 'info';\nexport type ButtonSize = 'sm' | 'md' | 'lg';\nexport type ButtonShape = 'rectangle' | 'rounded' | 'pill' | 'square';\n\n@Component({\n selector: 'ngx-button',\n standalone: true,\n template: `\n <button\n class=\"ngx-btn\"\n [class]=\"btnClass()\"\n [disabled]=\"disabled() || loading()\"\n (click)=\"clicked.emit($event)\"\n >\n @if (loading()) {\n <span class=\"btn-spinner\" aria-hidden=\"true\"></span>\n } @else if (prefixIcon()) {\n <span class=\"btn-icon\" aria-hidden=\"true\">{{ prefixIcon() }}</span>\n }\n <span class=\"btn-text\"><ng-content /></span>\n @if (suffixIcon()) {\n <span class=\"btn-icon btn-icon-suffix\" aria-hidden=\"true\">{{ suffixIcon() }}</span>\n }\n </button>\n `,\n styles: [`\n :host { display: inline-block; }\n .ngx-btn {\n display: inline-flex; align-items: center; justify-content: center; gap: 6px;\n font-family: inherit; font-weight: 500; cursor: pointer; border: 1px solid transparent;\n transition: all 0.15s; outline: none; text-decoration: none; white-space: nowrap;\n position: relative; overflow: hidden;\n }\n .ngx-btn:focus-visible { box-shadow: 0 0 0 3px rgba(74,144,217,0.3); }\n .ngx-btn:disabled { opacity: 0.55; cursor: not-allowed; }\n\n /* Sizes */\n .ngx-btn-sm { font-size: 12px; padding: 5px 12px; border-radius: var(--ngx-btn-radius, 4px); }\n .ngx-btn-md { font-size: 14px; padding: 8px 18px; border-radius: var(--ngx-btn-radius, 4px); }\n .ngx-btn-lg { font-size: 16px; padding: 11px 24px; border-radius: var(--ngx-btn-radius, 4px); }\n\n /* Shapes */\n .ngx-btn-pill { border-radius: 999px !important; }\n .ngx-btn-square { padding-left: 0 !important; padding-right: 0 !important; aspect-ratio: 1; }\n .ngx-btn-rounded { border-radius: 8px !important; }\n\n /* Variants */\n .ngx-btn-primary { background: var(--ngx-btn-primary-bg, #1a73e8); color: var(--ngx-btn-primary-color, #fff); border-color: var(--ngx-btn-primary-bg, #1a73e8); }\n .ngx-btn-primary:hover:not(:disabled) { background: var(--ngx-btn-primary-hover, #1557b0); border-color: var(--ngx-btn-primary-hover, #1557b0); }\n\n .ngx-btn-secondary { background: var(--ngx-btn-secondary-bg, #f1f3f5); color: var(--ngx-btn-secondary-color, #212529); border-color: var(--ngx-btn-secondary-border, #dee2e6); }\n .ngx-btn-secondary:hover:not(:disabled) { background: var(--ngx-btn-secondary-hover, #e2e6ea); }\n\n .ngx-btn-danger { background: var(--ngx-btn-danger-bg, #e74c3c); color: #fff; border-color: var(--ngx-btn-danger-bg, #e74c3c); }\n .ngx-btn-danger:hover:not(:disabled) { background: var(--ngx-btn-danger-hover, #c0392b); border-color: var(--ngx-btn-danger-hover, #c0392b); }\n\n .ngx-btn-success { background: var(--ngx-btn-success-bg, #27ae60); color: #fff; border-color: var(--ngx-btn-success-bg, #27ae60); }\n .ngx-btn-success:hover:not(:disabled) { background: var(--ngx-btn-success-hover, #1e8449); border-color: var(--ngx-btn-success-hover, #1e8449); }\n\n .ngx-btn-warning { background: var(--ngx-btn-warning-bg, #f39c12); color: #fff; border-color: var(--ngx-btn-warning-bg, #f39c12); }\n .ngx-btn-warning:hover:not(:disabled) { background: var(--ngx-btn-warning-hover, #d68910); border-color: var(--ngx-btn-warning-hover, #d68910); }\n\n .ngx-btn-info { background: var(--ngx-btn-info-bg, #17a2b8); color: #fff; border-color: var(--ngx-btn-info-bg, #17a2b8); }\n .ngx-btn-info:hover:not(:disabled) { background: var(--ngx-btn-info-hover, #138496); }\n\n .ngx-btn-ghost { background: transparent; color: var(--ngx-btn-ghost-color, #1a73e8); border-color: var(--ngx-btn-ghost-border, #1a73e8); }\n .ngx-btn-ghost:hover:not(:disabled) { background: var(--ngx-btn-ghost-hover-bg, #e8f0fe); }\n\n .ngx-btn-link { background: transparent; color: var(--ngx-btn-link-color, #1a73e8); border-color: transparent; text-decoration: underline; padding-left: 2px; padding-right: 2px; }\n .ngx-btn-link:hover:not(:disabled) { color: var(--ngx-btn-link-hover, #1557b0); }\n\n /* Loading spinner */\n .btn-spinner {\n width: 14px; height: 14px; border: 2px solid currentColor; border-top-color: transparent;\n border-radius: 50%; animation: btn-spin 0.6s linear infinite;\n }\n @keyframes btn-spin { to { transform: rotate(360deg); } }\n .btn-icon { font-size: 0.9em; }\n `]\n})\nexport class ButtonComponent {\n variant = input<ButtonVariant>('primary');\n size = input<ButtonSize>('md');\n shape = input<ButtonShape>('rectangle');\n disabled = input(false);\n loading = input(false);\n prefixIcon = input<string>('');\n suffixIcon = input<string>('');\n\n clicked = output<MouseEvent>();\n\n btnClass(): string {\n const parts = [\n `ngx-btn-${this.size()}`,\n `ngx-btn-${this.variant()}`,\n ];\n if (this.shape() !== 'rectangle') parts.push(`ngx-btn-${this.shape()}`);\n return parts.join(' ');\n }\n}\n","import { Component, input, output, contentChildren } from '@angular/core';\nimport { ButtonComponent } from '../button/button.component';\nimport { CommonModule } from '@angular/common';\n\nexport type ButtonGroupSelectionMode = 'none' | 'single' | 'multiple';\n\n@Component({\n selector: 'ngx-button-group',\n standalone: true,\n imports: [CommonModule],\n template: `\n <div class=\"ngx-btn-group\" [class.btn-group-vertical]=\"vertical()\" role=\"group\" [attr.aria-label]=\"ariaLabel()\">\n <ng-content />\n </div>\n `,\n styles: [`\n :host { display: inline-block; }\n .ngx-btn-group { display: inline-flex; }\n .ngx-btn-group :host-context(ngx-button) + :host-context(ngx-button) { margin-left: -1px; }\n .ngx-btn-group :global(ngx-button:not(:first-child) .ngx-btn) { border-left: none; border-radius: 0 !important; }\n .ngx-btn-group :global(ngx-button:first-child .ngx-btn) { border-radius: var(--ngx-btn-radius, 4px) 0 0 var(--ngx-btn-radius, 4px) !important; }\n .ngx-btn-group :global(ngx-button:last-child .ngx-btn) { border-radius: 0 var(--ngx-btn-radius, 4px) var(--ngx-btn-radius, 4px) 0 !important; }\n .ngx-btn-group :global(ngx-button:only-child .ngx-btn) { border-radius: var(--ngx-btn-radius, 4px) !important; }\n\n .btn-group-vertical { flex-direction: column; }\n .btn-group-vertical :global(ngx-button:not(:first-child) .ngx-btn) { border-top: none; border-radius: 0 !important; margin-left: 0; margin-top: -1px; }\n .btn-group-vertical :global(ngx-button:first-child .ngx-btn) { border-radius: var(--ngx-btn-radius, 4px) var(--ngx-btn-radius, 4px) 0 0 !important; }\n .btn-group-vertical :global(ngx-button:last-child .ngx-btn) { border-radius: 0 0 var(--ngx-btn-radius, 4px) var(--ngx-btn-radius, 4px) !important; }\n `]\n})\nexport class ButtonGroupComponent {\n vertical = input(false);\n ariaLabel = input('Button group');\n}\n","import { Component, input, output } from '@angular/core';\n\nexport type ChipVariant = 'default' | 'info' | 'success' | 'warning' | 'error' | 'danger' | 'outlined';\n\n@Component({\n selector: 'ngx-chip',\n standalone: true,\n template: `\n <span class=\"ngx-chip\" [class]=\"'ngx-chip-' + variant()\" [class.removable]=\"removable()\" [class.selected]=\"selected()\" [class.disabled]=\"disabled()\">\n @if (icon()) {\n <span class=\"chip-icon\" aria-hidden=\"true\">{{ icon() }}</span>\n }\n <span class=\"chip-label\">@if (label()) { {{ label() }} } @else { <ng-content /> }</span>\n @if (removable() && !disabled()) {\n <button class=\"chip-remove\" (click)=\"$event.stopPropagation(); removed.emit()\" aria-label=\"Remove\">✕</button>\n }\n </span>\n `,\n styles: [`\n :host { display: inline-block; }\n .ngx-chip {\n display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px;\n font-size: 12px; font-weight: 500; border-radius: 999px;\n background: var(--ngx-chip-bg, #e9ecef); color: var(--ngx-chip-color, #495057);\n border: 1px solid var(--ngx-chip-border, #dee2e6); font-family: inherit; transition: all 0.12s;\n }\n .ngx-chip.selected { background: var(--ngx-chip-selected-bg, #dbeafe); color: var(--ngx-chip-selected-color, #1a73e8); border-color: #93c5fd; }\n .ngx-chip.disabled { opacity: 0.5; cursor: not-allowed; }\n .ngx-chip-info { background: #dbeafe; color: #1a73e8; border-color: #93c5fd; }\n .ngx-chip-success { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }\n .ngx-chip-warning { background: #fef3c7; color: #92400e; border-color: #fcd34d; }\n .ngx-chip-error { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }\n .ngx-chip-danger { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }\n .ngx-chip-outlined { background: transparent; color: var(--ngx-btn-primary, #0f0f23); border-color: var(--ngx-btn-primary, #0f0f23); }\n .chip-icon { font-size: 11px; }\n .chip-remove { background: none; border: none; cursor: pointer; font-size: 10px; line-height: 1; padding: 0 0 0 2px; color: inherit; opacity: 0.7; }\n .chip-remove:hover { opacity: 1; }\n `]\n})\nexport class ChipComponent {\n variant = input<ChipVariant>('default');\n icon = input<string>('');\n selected = input(false);\n removable = input(false);\n disabled = input(false);\n removed = output<void>();\n label = input<string>('');\n selectable = input(false);\n}\n\n@Component({\n selector: 'ngx-chip-list',\n standalone: true,\n template: `\n <div class=\"ngx-chip-list\" [class.chip-list-wrap]=\"wrap()\">\n <ng-content />\n </div>\n `,\n styles: [`\n :host { display: block; }\n .ngx-chip-list { display: flex; gap: 6px; align-items: center; }\n .chip-list-wrap { flex-wrap: wrap; }\n `]\n})\nexport class ChipListComponent {\n wrap = input(true);\n}\n","import { Component, input, output, signal } from '@angular/core';\nimport { ButtonComponent, ButtonVariant, ButtonSize } from '../button/button.component';\n\nexport interface SplitButtonItem { label?: string; text?: string; icon?: string; disabled?: boolean; separator?: boolean; }\n\n@Component({\n selector: 'ngx-split-button',\n standalone: true,\n imports: [ButtonComponent],\n template: `\n <div class=\"ngx-split-btn\" [class.open]=\"open()\">\n <ngx-button [variant]=\"variant()\" [size]=\"size()\" [disabled]=\"disabled()\" [loading]=\"loading()\" (clicked)=\"mainClicked.emit($event)\">\n <ng-content />\n </ngx-button>\n <button class=\"split-arrow\" [class]=\"'ngx-btn ngx-btn-' + size() + ' ngx-btn-' + variant()\" [disabled]=\"disabled()\" (click)=\"toggle()\" aria-haspopup=\"true\" [attr.aria-expanded]=\"open()\">\n <span class=\"arrow-icon\">▾</span>\n </button>\n @if (open()) {\n <ul class=\"split-menu\" role=\"menu\">\n @for (item of items(); track item.text) {\n <li class=\"split-menu-item\" [class.disabled]=\"item.disabled\" role=\"menuitem\"\n (click)=\"!item.disabled && itemClicked.emit(item); open.set(false)\">\n @if (item.icon) { <span class=\"item-icon\">{{ item.icon }}</span> }\n <span>{{ item.text }}</span>\n </li>\n }\n </ul>\n }\n </div>\n `,\n styles: [`\n :host { display: inline-block; position: relative; }\n .ngx-split-btn { display: inline-flex; position: relative; }\n .ngx-split-btn ngx-button :global(.ngx-btn) { border-radius: var(--ngx-btn-radius, 4px) 0 0 var(--ngx-btn-radius, 4px) !important; border-right: none; }\n .split-arrow { border-radius: 0 var(--ngx-btn-radius, 4px) var(--ngx-btn-radius, 4px) 0 !important; padding: 0 10px; cursor: pointer; font-family: inherit; border-left: 1px solid rgba(255,255,255,0.3); }\n .split-arrow:disabled { opacity: 0.55; cursor: not-allowed; }\n .split-menu { position: absolute; top: 100%; left: 0; min-width: 100%; margin-top: 2px; background: var(--ngx-menu-bg, #fff); border: 1px solid var(--ngx-menu-border, #dee2e6); border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,0.12); list-style: none; padding: 4px 0; z-index: 1000; }\n .split-menu-item { display: flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 13px; cursor: pointer; color: #212529; }\n .split-menu-item:hover:not(.disabled) { background: #f1f3f5; }\n .split-menu-item.disabled { color: #adb5bd; cursor: not-allowed; }\n .item-icon { font-size: 14px; }\n `]\n})\nexport class SplitButtonComponent {\n variant = input<ButtonVariant>('primary');\n size = input<ButtonSize>('md');\n disabled = input(false);\n loading = input(false);\n items = input<SplitButtonItem[]>([]);\n open = signal(false);\n\n mainClicked = output<MouseEvent>();\n itemClicked = output<SplitButtonItem>();\n\n toggle(): void { this.open.update(v => !v); }\n}\n","import { Component, input, output, signal } from '@angular/core';\nimport { ButtonComponent, ButtonVariant, ButtonSize } from '../button/button.component';\n\nexport interface DropDownButtonItem { label?: string; text?: string; icon?: string; disabled?: boolean; separator?: boolean; variant?: string; }\n\n@Component({\n selector: 'ngx-dropdown-button',\n standalone: true,\n imports: [ButtonComponent],\n template: `\n <div class=\"ngx-dd-btn\" [class.open]=\"open()\">\n <ngx-button [variant]=\"variant()\" [size]=\"size()\" [disabled]=\"disabled()\" [suffixIcon]=\"'▾'\" (clicked)=\"toggle()\">\n <ng-content />\n </ngx-button>\n @if (open()) {\n <ul class=\"dd-menu\" role=\"menu\">\n @for (item of items(); track item.text) {\n <li class=\"dd-menu-item\" [class.disabled]=\"item.disabled\" role=\"menuitem\"\n (click)=\"!item.disabled && itemClicked.emit(item); open.set(false)\">\n @if (item.icon) { <span class=\"item-icon\">{{ item.icon }}</span> }\n <span>{{ item.text }}</span>\n </li>\n }\n </ul>\n }\n </div>\n `,\n styles: [`\n :host { display: inline-block; position: relative; }\n .ngx-dd-btn { display: inline-flex; position: relative; }\n .dd-menu { position: absolute; top: 100%; left: 0; min-width: 160px; margin-top: 2px; background: var(--ngx-menu-bg, #fff); border: 1px solid var(--ngx-menu-border, #dee2e6); border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,0.12); list-style: none; padding: 4px 0; z-index: 1000; }\n .dd-menu-item { display: flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 13px; cursor: pointer; color: #212529; }\n .dd-menu-item:hover:not(.disabled) { background: #f1f3f5; }\n .dd-menu-item.disabled { color: #adb5bd; cursor: not-allowed; }\n .item-icon { font-size: 14px; }\n `]\n})\nexport class DropDownButtonComponent {\n variant = input<ButtonVariant>('secondary');\n size = input<ButtonSize>('md');\n disabled = input(false);\n items = input<DropDownButtonItem[]>([]);\n open = signal(false);\n itemClicked = output<DropDownButtonItem>();\n toggle(): void { this.open.update(v => !v); }\n}\n","/*\n * Public API Surface — secondary entry point: ngx-core-components/buttons\n */\n\nexport { ButtonComponent } from './button/button.component';\nexport type { ButtonVariant, ButtonSize, ButtonShape } from './button/button.component';\n\nexport { ButtonGroupComponent } from './button-group/button-group.component';\n\nexport { ChipComponent, ChipListComponent } from './chip/chip.component';\nexport type { ChipVariant } from './chip/chip.component';\n\nexport { SplitButtonComponent } from './split-button/split-button.component';\nexport type { SplitButtonItem } from './split-button/split-button.component';\n\nexport { DropDownButtonComponent } from './dropdown-button/dropdown-button.component';\nexport type { DropDownButtonItem } from './dropdown-button/dropdown-button.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAkFa,eAAe,CAAA;AAC1B,IAAA,OAAO,GAAG,KAAK,CAAgB,SAAS,CAAC;AACzC,IAAA,IAAI,GAAG,KAAK,CAAa,IAAI,CAAC;AAC9B,IAAA,KAAK,GAAG,KAAK,CAAc,WAAW,CAAC;AACvC,IAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC;AACvB,IAAA,OAAO,GAAG,KAAK,CAAC,KAA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AAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EA5BxB;;;;;;;;;;;;;;;;;AAiBT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,0lBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAlBS,eAAe,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,MAAA,EAAA,OAAA,EAAA,UAAA,EAAA,SAAA,EAAA,YAAA,EAAA,YAAA,CAAA,EAAA,OAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FA6Bd,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAhCnC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,qBAAqB,cACnB,IAAI,EAAA,OAAA,EACP,CAAC,eAAe,CAAC,EAAA,QAAA,EAChB;;;;;;;;;;;;;;;;;AAiBT,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,0lBAAA,CAAA,EAAA;;;AC1BH;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ngx-core-components-buttons.mjs","sources":["../../../projects/ngx-core-components/buttons/button/button.component.ts","../../../projects/ngx-core-components/buttons/button-group/button-group.component.ts","../../../projects/ngx-core-components/buttons/chip/chip.component.ts","../../../projects/ngx-core-components/buttons/split-button/split-button.component.ts","../../../projects/ngx-core-components/buttons/dropdown-button/dropdown-button.component.ts","../../../projects/ngx-core-components/buttons/public-api.ts","../../../projects/ngx-core-components/buttons/ngx-core-components-buttons.ts"],"sourcesContent":["import { Component, input, output } from '@angular/core';\n\nexport type ButtonVariant = 'primary' | 'secondary' | 'danger' | 'ghost' | 'link' | 'success' | 'warning' | 'info';\nexport type ButtonSize = 'sm' | 'md' | 'lg';\nexport type ButtonShape = 'rectangle' | 'rounded' | 'pill' | 'square';\n\n@Component({\n selector: 'ngx-button',\n standalone: true,\n template: `\n <button\n class=\"ngx-btn\"\n [class]=\"btnClass()\"\n [type]=\"type()\"\n [disabled]=\"disabled() || loading()\"\n [attr.aria-label]=\"ariaLabel() || null\"\n (click)=\"clicked.emit($event)\"\n >\n @if (loading()) {\n <span class=\"btn-spinner\" aria-hidden=\"true\"></span>\n } @else if (prefixIcon()) {\n <span class=\"btn-icon\" aria-hidden=\"true\">{{ prefixIcon() }}</span>\n }\n <span class=\"btn-text\"><ng-content /></span>\n @if (suffixIcon()) {\n <span class=\"btn-icon btn-icon-suffix\" aria-hidden=\"true\">{{ suffixIcon() }}</span>\n }\n </button>\n `,\n styles: [`\n :host { display: inline-block; }\n .ngx-btn {\n display: inline-flex; align-items: center; justify-content: center; gap: 6px;\n font-family: inherit; font-weight: 500; cursor: pointer; border: 1px solid transparent;\n transition: all 0.15s; outline: none; text-decoration: none; white-space: nowrap;\n position: relative; overflow: hidden;\n }\n .ngx-btn:focus-visible { box-shadow: 0 0 0 3px rgba(74,144,217,0.3); }\n .ngx-btn:disabled { opacity: 0.55; cursor: not-allowed; }\n\n /* Sizes */\n .ngx-btn-sm { font-size: 12px; padding: 5px 12px; border-radius: var(--ngx-btn-radius, 4px); }\n .ngx-btn-md { font-size: 14px; padding: 8px 18px; border-radius: var(--ngx-btn-radius, 4px); }\n .ngx-btn-lg { font-size: 16px; padding: 11px 24px; border-radius: var(--ngx-btn-radius, 4px); }\n\n /* Shapes */\n .ngx-btn-pill { border-radius: 999px !important; }\n .ngx-btn-square { padding-left: 0 !important; padding-right: 0 !important; aspect-ratio: 1; }\n .ngx-btn-rounded { border-radius: 8px !important; }\n\n /* Variants */\n .ngx-btn-primary { background: var(--ngx-btn-primary-bg, #1a73e8); color: var(--ngx-btn-primary-color, #fff); border-color: var(--ngx-btn-primary-bg, #1a73e8); }\n .ngx-btn-primary:hover:not(:disabled) { background: var(--ngx-btn-primary-hover, #1557b0); border-color: var(--ngx-btn-primary-hover, #1557b0); }\n\n .ngx-btn-secondary { background: var(--ngx-btn-secondary-bg, #f1f3f5); color: var(--ngx-btn-secondary-color, #212529); border-color: var(--ngx-btn-secondary-border, #dee2e6); }\n .ngx-btn-secondary:hover:not(:disabled) { background: var(--ngx-btn-secondary-hover, #e2e6ea); }\n\n .ngx-btn-danger { background: var(--ngx-btn-danger-bg, #e74c3c); color: #fff; border-color: var(--ngx-btn-danger-bg, #e74c3c); }\n .ngx-btn-danger:hover:not(:disabled) { background: var(--ngx-btn-danger-hover, #c0392b); border-color: var(--ngx-btn-danger-hover, #c0392b); }\n\n .ngx-btn-success { background: var(--ngx-btn-success-bg, #27ae60); color: #fff; border-color: var(--ngx-btn-success-bg, #27ae60); }\n .ngx-btn-success:hover:not(:disabled) { background: var(--ngx-btn-success-hover, #1e8449); border-color: var(--ngx-btn-success-hover, #1e8449); }\n\n .ngx-btn-warning { background: var(--ngx-btn-warning-bg, #f39c12); color: #fff; border-color: var(--ngx-btn-warning-bg, #f39c12); }\n .ngx-btn-warning:hover:not(:disabled) { background: var(--ngx-btn-warning-hover, #d68910); border-color: var(--ngx-btn-warning-hover, #d68910); }\n\n .ngx-btn-info { background: var(--ngx-btn-info-bg, #17a2b8); color: #fff; border-color: var(--ngx-btn-info-bg, #17a2b8); }\n .ngx-btn-info:hover:not(:disabled) { background: var(--ngx-btn-info-hover, #138496); }\n\n .ngx-btn-ghost { background: transparent; color: var(--ngx-btn-ghost-color, #1a73e8); border-color: var(--ngx-btn-ghost-border, #1a73e8); }\n .ngx-btn-ghost:hover:not(:disabled) { background: var(--ngx-btn-ghost-hover-bg, #e8f0fe); }\n\n .ngx-btn-link { background: transparent; color: var(--ngx-btn-link-color, #1a73e8); border-color: transparent; text-decoration: underline; padding-left: 2px; padding-right: 2px; }\n .ngx-btn-link:hover:not(:disabled) { color: var(--ngx-btn-link-hover, #1557b0); }\n\n /* Loading spinner */\n .btn-spinner {\n width: 14px; height: 14px; border: 2px solid currentColor; border-top-color: transparent;\n border-radius: 50%; animation: btn-spin 0.6s linear infinite;\n }\n @keyframes btn-spin { to { transform: rotate(360deg); } }\n .btn-icon { font-size: 0.9em; }\n `]\n})\nexport class ButtonComponent {\n variant = input<ButtonVariant>('primary');\n size = input<ButtonSize>('md');\n shape = input<ButtonShape>('rectangle');\n type = input<'button' | 'submit' | 'reset'>('button');\n disabled = input(false);\n loading = input(false);\n prefixIcon = input<string>('');\n suffixIcon = input<string>('');\n ariaLabel = input<string>('');\n\n clicked = output<MouseEvent>();\n\n btnClass(): string {\n const parts = [\n `ngx-btn-${this.size()}`,\n `ngx-btn-${this.variant()}`,\n ];\n if (this.shape() !== 'rectangle') parts.push(`ngx-btn-${this.shape()}`);\n return parts.join(' ');\n }\n}\n","import { Component, input, output, contentChildren } from '@angular/core';\nimport { ButtonComponent } from '../button/button.component';\nimport { CommonModule } from '@angular/common';\n\nexport type ButtonGroupSelectionMode = 'none' | 'single' | 'multiple';\n\n@Component({\n selector: 'ngx-button-group',\n standalone: true,\n imports: [CommonModule],\n template: `\n <div class=\"ngx-btn-group\" [class.btn-group-vertical]=\"vertical()\" role=\"group\" [attr.aria-label]=\"ariaLabel()\">\n <ng-content />\n </div>\n `,\n styles: [`\n :host { display: inline-block; }\n .ngx-btn-group { display: inline-flex; }\n .ngx-btn-group :host-context(ngx-button) + :host-context(ngx-button) { margin-left: -1px; }\n .ngx-btn-group :global(ngx-button:not(:first-child) .ngx-btn) { border-left: none; border-radius: 0 !important; }\n .ngx-btn-group :global(ngx-button:first-child .ngx-btn) { border-radius: var(--ngx-btn-radius, 4px) 0 0 var(--ngx-btn-radius, 4px) !important; }\n .ngx-btn-group :global(ngx-button:last-child .ngx-btn) { border-radius: 0 var(--ngx-btn-radius, 4px) var(--ngx-btn-radius, 4px) 0 !important; }\n .ngx-btn-group :global(ngx-button:only-child .ngx-btn) { border-radius: var(--ngx-btn-radius, 4px) !important; }\n\n .btn-group-vertical { flex-direction: column; }\n .btn-group-vertical :global(ngx-button:not(:first-child) .ngx-btn) { border-top: none; border-radius: 0 !important; margin-left: 0; margin-top: -1px; }\n .btn-group-vertical :global(ngx-button:first-child .ngx-btn) { border-radius: var(--ngx-btn-radius, 4px) var(--ngx-btn-radius, 4px) 0 0 !important; }\n .btn-group-vertical :global(ngx-button:last-child .ngx-btn) { border-radius: 0 0 var(--ngx-btn-radius, 4px) var(--ngx-btn-radius, 4px) !important; }\n `]\n})\nexport class ButtonGroupComponent {\n vertical = input(false);\n ariaLabel = input('Button group');\n}\n","import { Component, input, output } from '@angular/core';\n\nexport type ChipVariant = 'default' | 'info' | 'success' | 'warning' | 'error' | 'danger' | 'outlined';\n\n@Component({\n selector: 'ngx-chip',\n standalone: true,\n template: `\n <span\n class=\"ngx-chip\"\n [class]=\"'ngx-chip-' + variant()\"\n [class.removable]=\"removable()\"\n [class.selected]=\"selected()\"\n [class.disabled]=\"disabled()\"\n [class.selectable]=\"selectable()\"\n [attr.role]=\"selectable() ? 'checkbox' : null\"\n [attr.aria-checked]=\"selectable() ? selected() : null\"\n [attr.tabindex]=\"selectable() && !disabled() ? 0 : null\"\n (click)=\"onChipClick()\"\n (keydown.enter)=\"onChipClick()\"\n (keydown.space)=\"onChipClick()\"\n >\n @if (icon()) {\n <span class=\"chip-icon\" aria-hidden=\"true\">{{ icon() }}</span>\n }\n <span class=\"chip-label\">@if (label()) { {{ label() }} } @else { <ng-content /> }</span>\n @if (removable() && !disabled()) {\n <button class=\"chip-remove\" (click)=\"$event.stopPropagation(); removed.emit()\" aria-label=\"Remove\">✕</button>\n }\n </span>\n `,\n styles: [`\n :host { display: inline-block; }\n .ngx-chip {\n display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px;\n font-size: 12px; font-weight: 500; border-radius: 999px;\n background: var(--ngx-chip-bg, #e9ecef); color: var(--ngx-chip-color, #495057);\n border: 1px solid var(--ngx-chip-border, #dee2e6); font-family: inherit; transition: all 0.12s;\n }\n .ngx-chip.selected { background: var(--ngx-chip-selected-bg, #dbeafe); color: var(--ngx-chip-selected-color, #1a73e8); border-color: #93c5fd; }\n .ngx-chip.disabled { opacity: 0.5; cursor: not-allowed; }\n .ngx-chip-info { background: #dbeafe; color: #1a73e8; border-color: #93c5fd; }\n .ngx-chip-success { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }\n .ngx-chip-warning { background: #fef3c7; color: #92400e; border-color: #fcd34d; }\n .ngx-chip-error { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }\n .ngx-chip-danger { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }\n .ngx-chip-outlined { background: transparent; color: var(--ngx-btn-primary, #0f0f23); border-color: var(--ngx-btn-primary, #0f0f23); }\n .chip-icon { font-size: 11px; }\n .chip-remove { background: none; border: none; cursor: pointer; font-size: 10px; line-height: 1; padding: 0 0 0 2px; color: inherit; opacity: 0.7; }\n .chip-remove:hover { opacity: 1; }\n .ngx-chip.selectable { cursor: pointer; }\n .ngx-chip.selectable:hover:not(.disabled) { filter: brightness(0.95); }\n `]\n})\nexport class ChipComponent {\n variant = input<ChipVariant>('default');\n icon = input<string>('');\n selected = input(false);\n removable = input(false);\n disabled = input(false);\n selectable = input(false);\n label = input<string>('');\n\n removed = output<void>();\n selectedChange = output<boolean>();\n\n onChipClick(): void {\n if (!this.selectable() || this.disabled()) return;\n this.selectedChange.emit(!this.selected());\n }\n}\n\n@Component({\n selector: 'ngx-chip-list',\n standalone: true,\n template: `\n <div class=\"ngx-chip-list\" [class.chip-list-wrap]=\"wrap()\">\n <ng-content />\n </div>\n `,\n styles: [`\n :host { display: block; }\n .ngx-chip-list { display: flex; gap: 6px; align-items: center; }\n .chip-list-wrap { flex-wrap: wrap; }\n `]\n})\nexport class ChipListComponent {\n wrap = input(true);\n}\n","import { Component, HostListener, ElementRef, inject, input, output, signal } from '@angular/core';\nimport { ButtonComponent, ButtonVariant, ButtonSize } from '../button/button.component';\n\nexport interface SplitButtonItem { label?: string; text?: string; icon?: string; disabled?: boolean; separator?: boolean; }\n\n@Component({\n selector: 'ngx-split-button',\n standalone: true,\n imports: [ButtonComponent],\n template: `\n <div class=\"ngx-split-btn\" [class.open]=\"open()\">\n <ngx-button [variant]=\"variant()\" [size]=\"size()\" [disabled]=\"disabled()\" [loading]=\"loading()\" (clicked)=\"mainClicked.emit($event)\">\n <ng-content />\n </ngx-button>\n <button class=\"split-arrow\" [class]=\"'ngx-btn ngx-btn-' + size() + ' ngx-btn-' + variant()\" [disabled]=\"disabled()\" (click)=\"toggle()\" aria-haspopup=\"true\" [attr.aria-expanded]=\"open()\">\n <span class=\"arrow-icon\">▾</span>\n </button>\n @if (open()) {\n <ul class=\"split-menu\" role=\"menu\">\n @for (item of items(); track (item.text || item.label || $index)) {\n @if (item.separator) {\n <li class=\"split-menu-separator\" role=\"separator\"></li>\n } @else {\n <li class=\"split-menu-item\" [class.disabled]=\"item.disabled\" role=\"menuitem\"\n (click)=\"onItemClick(item)\">\n @if (item.icon) { <span class=\"item-icon\">{{ item.icon }}</span> }\n <span>{{ item.text || item.label }}</span>\n </li>\n }\n }\n </ul>\n }\n </div>\n `,\n styles: [`\n :host { display: inline-block; position: relative; }\n .ngx-split-btn { display: inline-flex; position: relative; }\n .ngx-split-btn ngx-button :global(.ngx-btn) { border-radius: var(--ngx-btn-radius, 4px) 0 0 var(--ngx-btn-radius, 4px) !important; border-right: none; }\n .split-arrow { border-radius: 0 var(--ngx-btn-radius, 4px) var(--ngx-btn-radius, 4px) 0 !important; padding: 0 10px; cursor: pointer; font-family: inherit; border-left: 1px solid rgba(255,255,255,0.3); }\n .split-arrow:disabled { opacity: 0.55; cursor: not-allowed; }\n .split-menu { position: absolute; top: 100%; left: 0; min-width: 100%; margin-top: 2px; background: var(--ngx-menu-bg, #fff); border: 1px solid var(--ngx-menu-border, #dee2e6); border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,0.12); list-style: none; padding: 4px 0; z-index: 1000; }\n .split-menu-item { display: flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 13px; cursor: pointer; color: #212529; }\n .split-menu-item:hover:not(.disabled) { background: #f1f3f5; }\n .split-menu-item.disabled { color: #adb5bd; cursor: not-allowed; }\n .split-menu-separator { margin: 4px 0; height: 1px; background: var(--ngx-menu-separator, #dee2e6); list-style: none; }\n .item-icon { font-size: 14px; }\n `]\n})\nexport class SplitButtonComponent {\n private el = inject(ElementRef);\n\n variant = input<ButtonVariant>('primary');\n size = input<ButtonSize>('md');\n disabled = input(false);\n loading = input(false);\n items = input<SplitButtonItem[]>([]);\n open = signal(false);\n\n mainClicked = output<MouseEvent>();\n itemClicked = output<SplitButtonItem>();\n\n toggle(): void {\n if (this.disabled() || this.loading()) return;\n this.open.update(v => !v);\n }\n\n onItemClick(item: SplitButtonItem): void {\n if (item.disabled) return;\n this.itemClicked.emit(item);\n this.open.set(false);\n }\n\n @HostListener('document:click', ['$event'])\n onDocClick(event: MouseEvent): void {\n if (!this.el.nativeElement.contains(event.target)) {\n this.open.set(false);\n }\n }\n}\n","import { Component, input, output, signal } from '@angular/core';\nimport { ButtonComponent, ButtonVariant, ButtonSize } from '../button/button.component';\n\nexport interface DropDownButtonItem { label?: string; text?: string; icon?: string; disabled?: boolean; separator?: boolean; variant?: string; }\n\n@Component({\n selector: 'ngx-dropdown-button',\n standalone: true,\n imports: [ButtonComponent],\n template: `\n <div class=\"ngx-dd-btn\" [class.open]=\"open()\">\n <ngx-button [variant]=\"variant()\" [size]=\"size()\" [disabled]=\"disabled()\" [suffixIcon]=\"'▾'\" (clicked)=\"toggle()\">\n <ng-content />\n </ngx-button>\n @if (open()) {\n <ul class=\"dd-menu\" role=\"menu\">\n @for (item of items(); track item.text) {\n <li class=\"dd-menu-item\" [class.disabled]=\"item.disabled\" role=\"menuitem\"\n (click)=\"!item.disabled && itemClicked.emit(item); open.set(false)\">\n @if (item.icon) { <span class=\"item-icon\">{{ item.icon }}</span> }\n <span>{{ item.text }}</span>\n </li>\n }\n </ul>\n }\n </div>\n `,\n styles: [`\n :host { display: inline-block; position: relative; }\n .ngx-dd-btn { display: inline-flex; position: relative; }\n .dd-menu { position: absolute; top: 100%; left: 0; min-width: 160px; margin-top: 2px; background: var(--ngx-menu-bg, #fff); border: 1px solid var(--ngx-menu-border, #dee2e6); border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,0.12); list-style: none; padding: 4px 0; z-index: 1000; }\n .dd-menu-item { display: flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 13px; cursor: pointer; color: #212529; }\n .dd-menu-item:hover:not(.disabled) { background: #f1f3f5; }\n .dd-menu-item.disabled { color: #adb5bd; cursor: not-allowed; }\n .item-icon { font-size: 14px; }\n `]\n})\nexport class DropDownButtonComponent {\n variant = input<ButtonVariant>('secondary');\n size = input<ButtonSize>('md');\n disabled = input(false);\n items = input<DropDownButtonItem[]>([]);\n open = signal(false);\n itemClicked = output<DropDownButtonItem>();\n toggle(): void { this.open.update(v => !v); }\n}\n","/*\n * Public API Surface — secondary entry point: ngx-core-components/buttons\n */\n\nexport { ButtonComponent } from './button/button.component';\nexport type { ButtonVariant, ButtonSize, ButtonShape } from './button/button.component';\n\nexport { ButtonGroupComponent } from './button-group/button-group.component';\n\nexport { ChipComponent, ChipListComponent } from './chip/chip.component';\nexport type { ChipVariant } from './chip/chip.component';\n\nexport { SplitButtonComponent } from './split-button/split-button.component';\nexport type { SplitButtonItem } from './split-button/split-button.component';\n\nexport { DropDownButtonComponent } from './dropdown-button/dropdown-button.component';\nexport type { DropDownButtonItem } from './dropdown-button/dropdown-button.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAoFa,eAAe,CAAA;AAC1B,IAAA,OAAO,GAAG,KAAK,CAAgB,SAAS,CAAC;AACzC,IAAA,IAAI,GAAG,KAAK,CAAa,IAAI,CAAC;AAC9B,IAAA,KAAK,GAAG,KAAK,CAAc,WAAW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