codexly-ui 0.0.93 → 0.0.95
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/assets/styles/_theme.css +4 -2
- package/fesm2022/codexly-ui.mjs +204 -178
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/codexly-ui.d.ts +57 -51
package/package.json
CHANGED
package/types/codexly-ui.d.ts
CHANGED
|
@@ -87,6 +87,7 @@ declare const CLX_COLOR_HEX: {
|
|
|
87
87
|
slate300: string;
|
|
88
88
|
slate400: string;
|
|
89
89
|
};
|
|
90
|
+
declare const CLX_COLOR_HEX_100: Record<ClxColor, string>;
|
|
90
91
|
|
|
91
92
|
type ClxTrendDirection = 'up' | 'down' | 'neutral';
|
|
92
93
|
interface ClxStatMetric {
|
|
@@ -105,7 +106,7 @@ declare class ClxStatCardComponent {
|
|
|
105
106
|
readonly metric: _angular_core.InputSignal<ClxStatMetric>;
|
|
106
107
|
readonly chartData: _angular_core.InputSignal<number[]>;
|
|
107
108
|
readonly color: _angular_core.InputSignal<ClxColorInput>;
|
|
108
|
-
readonly layout: _angular_core.InputSignal<"
|
|
109
|
+
readonly layout: _angular_core.InputSignal<"horizontal" | "vertical" | "bar">;
|
|
109
110
|
protected readonly _hostClass: _angular_core.Signal<string>;
|
|
110
111
|
protected readonly _barHeights: _angular_core.Signal<number[]>;
|
|
111
112
|
protected readonly _iconBg: _angular_core.Signal<string>;
|
|
@@ -115,7 +116,7 @@ declare class ClxStatCardComponent {
|
|
|
115
116
|
protected readonly _gradId: _angular_core.Signal<string>;
|
|
116
117
|
protected readonly _trendColor: _angular_core.Signal<"red" | "green" | "slate">;
|
|
117
118
|
protected readonly _trendArrowIcon: _angular_core.Signal<"arrow_upward" | "arrow_downward" | "remove">;
|
|
118
|
-
protected readonly _trendTextClass: _angular_core.Signal<"text-
|
|
119
|
+
protected readonly _trendTextClass: _angular_core.Signal<"text-green-500" | "text-red-500" | "text-slate-400">;
|
|
119
120
|
protected readonly _trendIcon: _angular_core.Signal<"remove" | "arrow_outward" | "south_east">;
|
|
120
121
|
protected readonly _formattedValue: _angular_core.Signal<string>;
|
|
121
122
|
protected readonly _points: _angular_core.Signal<SparkPoint[]>;
|
|
@@ -201,7 +202,7 @@ interface ClxCarouselConfig {
|
|
|
201
202
|
}
|
|
202
203
|
|
|
203
204
|
declare class ClxCarouselComponent implements AfterContentInit, OnDestroy {
|
|
204
|
-
private readonly
|
|
205
|
+
private readonly _themeSvc;
|
|
205
206
|
readonly clxColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
206
207
|
protected readonly _clxColor: _angular_core.Signal<ClxColorInput>;
|
|
207
208
|
readonly autoPlay: _angular_core.InputSignal<boolean>;
|
|
@@ -361,7 +362,7 @@ interface ClxTreeExpandEvent {
|
|
|
361
362
|
}
|
|
362
363
|
|
|
363
364
|
declare class ClxTreeComponent {
|
|
364
|
-
private readonly
|
|
365
|
+
private readonly _themeSvc;
|
|
365
366
|
readonly nodes: _angular_core.InputSignal<ClxTreeNode[]>;
|
|
366
367
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
367
368
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
@@ -381,7 +382,7 @@ declare class ClxTreeComponent {
|
|
|
381
382
|
icon: "xs" | "sm" | "md";
|
|
382
383
|
indent: string;
|
|
383
384
|
}>;
|
|
384
|
-
protected readonly _indentPx: _angular_core.Signal<16 |
|
|
385
|
+
protected readonly _indentPx: _angular_core.Signal<16 | 20 | 24>;
|
|
385
386
|
protected readonly _rootClass: _angular_core.Signal<string>;
|
|
386
387
|
protected _isExpanded(id: string | number): boolean;
|
|
387
388
|
protected _isSelected(id: string | number): boolean;
|
|
@@ -428,7 +429,7 @@ interface ClxFilterChangeEvent {
|
|
|
428
429
|
}
|
|
429
430
|
|
|
430
431
|
declare class ClxFilterPanelComponent {
|
|
431
|
-
private readonly
|
|
432
|
+
private readonly _themeSvc;
|
|
432
433
|
readonly fields: _angular_core.InputSignal<ClxFilterField[]>;
|
|
433
434
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
434
435
|
readonly showApply: _angular_core.InputSignal<boolean>;
|
|
@@ -513,7 +514,7 @@ declare class ClxTabDirective {
|
|
|
513
514
|
}
|
|
514
515
|
|
|
515
516
|
declare class ClxTabsComponent {
|
|
516
|
-
private readonly
|
|
517
|
+
private readonly _themeSvc;
|
|
517
518
|
readonly tabs: _angular_core.InputSignal<ClxTabItem[]>;
|
|
518
519
|
readonly clxColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
519
520
|
readonly activeTab: _angular_core.ModelSignal<string>;
|
|
@@ -557,7 +558,7 @@ declare class ClxDrawerComponent {
|
|
|
557
558
|
readonly cancelClick: _angular_core.OutputEmitterRef<void>;
|
|
558
559
|
private readonly _modalRef;
|
|
559
560
|
private readonly _sizeToken;
|
|
560
|
-
private readonly
|
|
561
|
+
private readonly _themeSvc;
|
|
561
562
|
protected readonly _resolvedSize: _angular_core.Signal<ClxDrawerSize>;
|
|
562
563
|
protected readonly _hostClass: _angular_core.Signal<string>;
|
|
563
564
|
protected readonly _hasBuiltInButtons: _angular_core.Signal<boolean>;
|
|
@@ -649,7 +650,7 @@ declare class ClxModalComponent {
|
|
|
649
650
|
readonly cancelClick: _angular_core.OutputEmitterRef<void>;
|
|
650
651
|
private readonly _modalRef;
|
|
651
652
|
private readonly _sizeToken;
|
|
652
|
-
private readonly
|
|
653
|
+
private readonly _themeSvc;
|
|
653
654
|
protected readonly _resolvedSize: _angular_core.Signal<ClxModalSize>;
|
|
654
655
|
protected readonly _hostClass: _angular_core.Signal<string>;
|
|
655
656
|
protected readonly _hasBuiltInButtons: _angular_core.Signal<boolean>;
|
|
@@ -688,7 +689,7 @@ type PageItem = {
|
|
|
688
689
|
id: string;
|
|
689
690
|
};
|
|
690
691
|
declare class ClxPaginationComponent {
|
|
691
|
-
private readonly
|
|
692
|
+
private readonly _themeSvc;
|
|
692
693
|
readonly totalItems: _angular_core.InputSignal<number>;
|
|
693
694
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
694
695
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
@@ -797,7 +798,7 @@ type ClxCardPadding = 'none' | 'sm' | 'md' | 'lg';
|
|
|
797
798
|
type ClxCardShadow = 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
798
799
|
|
|
799
800
|
declare class ClxCardComponent {
|
|
800
|
-
private readonly
|
|
801
|
+
private readonly _themeSvc;
|
|
801
802
|
readonly variant: _angular_core.InputSignal<ClxCardVariant>;
|
|
802
803
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
803
804
|
readonly padding: _angular_core.InputSignal<ClxCardPadding>;
|
|
@@ -842,7 +843,7 @@ interface ClxStepperStep {
|
|
|
842
843
|
}
|
|
843
844
|
|
|
844
845
|
declare class ClxStepperComponent {
|
|
845
|
-
private readonly
|
|
846
|
+
private readonly _themeSvc;
|
|
846
847
|
readonly steps: _angular_core.InputSignal<ClxStepperStep[]>;
|
|
847
848
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
848
849
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
@@ -873,7 +874,7 @@ type ClxShape = 'rounded' | 'pill' | 'circle';
|
|
|
873
874
|
type ClxAvatarContentType = 'image' | 'text' | 'icon';
|
|
874
875
|
|
|
875
876
|
declare class ClxAvatarComponent {
|
|
876
|
-
private readonly
|
|
877
|
+
private readonly _themeSvc;
|
|
877
878
|
readonly src: _angular_core.InputSignal<string | null>;
|
|
878
879
|
readonly initials: _angular_core.InputSignal<string | null>;
|
|
879
880
|
readonly iconName: _angular_core.InputSignal<string | null>;
|
|
@@ -899,7 +900,7 @@ declare class ClxButtonGroupComponent {
|
|
|
899
900
|
readonly label: _angular_core.InputSignal<string>;
|
|
900
901
|
readonly shape: _angular_core.InputSignal<ClxButtonGroupShape>;
|
|
901
902
|
readonly attached: _angular_core.InputSignal<boolean>;
|
|
902
|
-
readonly orientation: _angular_core.InputSignal<"
|
|
903
|
+
readonly orientation: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
903
904
|
protected readonly _groupClass: _angular_core.Signal<string>;
|
|
904
905
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxButtonGroupComponent, never>;
|
|
905
906
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxButtonGroupComponent, "clx-button-group", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "attached": { "alias": "attached"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
@@ -917,7 +918,7 @@ interface ClxListItem {
|
|
|
917
918
|
}
|
|
918
919
|
|
|
919
920
|
declare class ClxListComponent {
|
|
920
|
-
private readonly
|
|
921
|
+
private readonly _themeSvc;
|
|
921
922
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
922
923
|
readonly resolvedColor: _angular_core.Signal<ClxColorInput>;
|
|
923
924
|
readonly variant: _angular_core.InputSignal<ClxListVariant>;
|
|
@@ -960,7 +961,7 @@ declare const LIST_SIZE_MAP: Record<ClxListSize, {
|
|
|
960
961
|
|
|
961
962
|
declare class ClxListItemComponent {
|
|
962
963
|
protected readonly _ctx: ClxListContext;
|
|
963
|
-
private readonly
|
|
964
|
+
private readonly _themeSvc;
|
|
964
965
|
readonly label: _angular_core.InputSignal<string>;
|
|
965
966
|
readonly sublabel: _angular_core.InputSignal<string>;
|
|
966
967
|
readonly icon: _angular_core.InputSignal<string>;
|
|
@@ -979,7 +980,7 @@ declare class ClxListItemComponent {
|
|
|
979
980
|
}
|
|
980
981
|
|
|
981
982
|
declare class ClxRatingComponent {
|
|
982
|
-
private readonly
|
|
983
|
+
private readonly _themeSvc;
|
|
983
984
|
readonly value: _angular_core.InputSignal<number>;
|
|
984
985
|
readonly max: _angular_core.InputSignal<number>;
|
|
985
986
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
@@ -995,7 +996,7 @@ declare class ClxRatingComponent {
|
|
|
995
996
|
}
|
|
996
997
|
|
|
997
998
|
declare class ClxBadgeComponent {
|
|
998
|
-
private readonly
|
|
999
|
+
private readonly _themeSvc;
|
|
999
1000
|
readonly variant: _angular_core.InputSignal<ClxBadgeVariant>;
|
|
1000
1001
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
1001
1002
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "xs" | undefined>;
|
|
@@ -1010,7 +1011,7 @@ declare class ClxBadgeComponent {
|
|
|
1010
1011
|
}
|
|
1011
1012
|
|
|
1012
1013
|
declare class ClxButtonComponent {
|
|
1013
|
-
private readonly
|
|
1014
|
+
private readonly _themeSvc;
|
|
1014
1015
|
readonly variant: _angular_core.InputSignal<ClxButtonVariant>;
|
|
1015
1016
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
1016
1017
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg" | "xxs" | "xs" | undefined>;
|
|
@@ -1071,7 +1072,7 @@ type ClxSpinnerVariant = 'spinner' | 'dots' | 'pulse';
|
|
|
1071
1072
|
type ClxSpinnerColor = ClxColorInput | 'inherit';
|
|
1072
1073
|
|
|
1073
1074
|
declare class ClxSpinnerComponent {
|
|
1074
|
-
private readonly
|
|
1075
|
+
private readonly _themeSvc;
|
|
1075
1076
|
readonly size: _angular_core.InputSignal<ClxSize>;
|
|
1076
1077
|
readonly color: _angular_core.InputSignal<ClxSpinnerColor | undefined>;
|
|
1077
1078
|
readonly variant: _angular_core.InputSignal<ClxSpinnerVariant>;
|
|
@@ -1089,7 +1090,7 @@ type ClxTagSize = 'sm' | 'md';
|
|
|
1089
1090
|
type ClxTagShape = 'rounded' | 'pill';
|
|
1090
1091
|
|
|
1091
1092
|
declare class ClxTagComponent {
|
|
1092
|
-
private readonly
|
|
1093
|
+
private readonly _themeSvc;
|
|
1093
1094
|
readonly variant: _angular_core.InputSignal<ClxTagVariant>;
|
|
1094
1095
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
1095
1096
|
readonly size: _angular_core.InputSignal<ClxTagSize | undefined>;
|
|
@@ -1114,7 +1115,7 @@ type ClxTooltipPosition = 'top' | 'bottom' | 'left' | 'right';
|
|
|
1114
1115
|
type ClxTooltipSize = 'sm' | 'md';
|
|
1115
1116
|
|
|
1116
1117
|
declare class ClxTooltipComponent {
|
|
1117
|
-
private readonly
|
|
1118
|
+
private readonly _themeSvc;
|
|
1118
1119
|
readonly text: _angular_core.InputSignal<string>;
|
|
1119
1120
|
readonly position: _angular_core.InputSignal<ClxTooltipPosition>;
|
|
1120
1121
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
@@ -1130,7 +1131,7 @@ type ClxTimelineMode = 'left' | 'alternate';
|
|
|
1130
1131
|
type ClxTimelineSize = 'sm' | 'md' | 'lg';
|
|
1131
1132
|
|
|
1132
1133
|
declare class ClxTimelineComponent {
|
|
1133
|
-
private readonly
|
|
1134
|
+
private readonly _themeSvc;
|
|
1134
1135
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
1135
1136
|
readonly resolvedColor: _angular_core.Signal<ClxColorInput>;
|
|
1136
1137
|
readonly lineStyle: _angular_core.InputSignal<ClxTimelineLineStyle>;
|
|
@@ -1200,7 +1201,7 @@ interface ClxChartOptions {
|
|
|
1200
1201
|
declare class ClxChartComponent implements AfterViewInit, OnDestroy {
|
|
1201
1202
|
canvasRef: ElementRef<HTMLCanvasElement>;
|
|
1202
1203
|
type: _angular_core.InputSignal<ClxChartType>;
|
|
1203
|
-
data: _angular_core.InputSignal<ChartData<keyof chart_js.ChartTypeRegistry, (number |
|
|
1204
|
+
data: _angular_core.InputSignal<ChartData<keyof chart_js.ChartTypeRegistry, (number | [number, number] | chart_js.Point | chart_js.BubbleDataPoint | null)[], unknown>>;
|
|
1204
1205
|
options: _angular_core.InputSignal<node_modules_chart_js_dist_types_utils._DeepPartialObject<chart_js.CoreChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.ElementChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.PluginChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.DatasetChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.ScaleChartOptions<keyof chart_js.ChartTypeRegistry>>>;
|
|
1205
1206
|
height: _angular_core.InputSignal<string | number>;
|
|
1206
1207
|
ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
@@ -1218,7 +1219,7 @@ declare class ClxChartComponent implements AfterViewInit, OnDestroy {
|
|
|
1218
1219
|
type ClxCheckboxVariant = 'solid' | 'outline';
|
|
1219
1220
|
|
|
1220
1221
|
declare class ClxCheckboxComponent implements ControlValueAccessor {
|
|
1221
|
-
private readonly
|
|
1222
|
+
private readonly _themeSvc;
|
|
1222
1223
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
1223
1224
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
1224
1225
|
readonly variant: _angular_core.InputSignal<ClxCheckboxVariant>;
|
|
@@ -1268,7 +1269,7 @@ type ClxColorPickerFormat = 'hex' | 'rgb' | 'hsl';
|
|
|
1268
1269
|
declare class ClxColorPickerComponent implements ControlValueAccessor {
|
|
1269
1270
|
private static _seq;
|
|
1270
1271
|
protected readonly _labelId: string;
|
|
1271
|
-
private readonly
|
|
1272
|
+
private readonly _themeSvc;
|
|
1272
1273
|
readonly label: _angular_core.InputSignal<string>;
|
|
1273
1274
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
1274
1275
|
readonly size: _angular_core.InputSignal<ClxColorPickerSize | undefined>;
|
|
@@ -1382,7 +1383,7 @@ declare class ClxDatepickerComponent implements ControlValueAccessor {
|
|
|
1382
1383
|
protected readonly _isOpen: _angular_core.WritableSignal<boolean>;
|
|
1383
1384
|
protected readonly _showYearPicker: _angular_core.WritableSignal<boolean>;
|
|
1384
1385
|
protected readonly _dayLabels: string[];
|
|
1385
|
-
private readonly
|
|
1386
|
+
private readonly _themeSvc;
|
|
1386
1387
|
private readonly _el;
|
|
1387
1388
|
private readonly _sso;
|
|
1388
1389
|
readonly _scrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
|
|
@@ -1462,7 +1463,7 @@ declare class ClxTimepickerComponent implements ControlValueAccessor {
|
|
|
1462
1463
|
protected readonly _isOpen: _angular_core.WritableSignal<boolean>;
|
|
1463
1464
|
protected readonly _hours: number[];
|
|
1464
1465
|
protected readonly _minutes: number[];
|
|
1465
|
-
private readonly
|
|
1466
|
+
private readonly _themeSvc;
|
|
1466
1467
|
private readonly _el;
|
|
1467
1468
|
private readonly _sso;
|
|
1468
1469
|
readonly _scrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
|
|
@@ -1534,7 +1535,7 @@ interface DatePreset {
|
|
|
1534
1535
|
range: () => ClxDateRange;
|
|
1535
1536
|
}
|
|
1536
1537
|
declare class ClxDateRangePickerComponent implements ControlValueAccessor {
|
|
1537
|
-
private readonly
|
|
1538
|
+
private readonly _themeSvc;
|
|
1538
1539
|
readonly label: _angular_core.InputSignal<string>;
|
|
1539
1540
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
1540
1541
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
@@ -1618,7 +1619,8 @@ declare class ClxDateRangePickerComponent implements ControlValueAccessor {
|
|
|
1618
1619
|
|
|
1619
1620
|
declare class ClxEditorLinkModalComponent {
|
|
1620
1621
|
private readonly _modalRef;
|
|
1621
|
-
|
|
1622
|
+
private readonly _themeSvc;
|
|
1623
|
+
protected readonly _primaryColor: _angular_core.Signal<codexly_ui.ClxColorInput>;
|
|
1622
1624
|
protected readonly _form: FormGroup<{
|
|
1623
1625
|
text: FormControl<string>;
|
|
1624
1626
|
url: FormControl<string>;
|
|
@@ -1645,14 +1647,14 @@ interface ToolBtn {
|
|
|
1645
1647
|
mark?: string;
|
|
1646
1648
|
}
|
|
1647
1649
|
declare class ClxEditorComponent implements AfterViewInit, OnDestroy, ControlValueAccessor {
|
|
1648
|
-
private readonly
|
|
1650
|
+
private readonly _themeSvc;
|
|
1649
1651
|
readonly label: _angular_core.InputSignal<string>;
|
|
1650
1652
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
1651
1653
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
1652
1654
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
1653
1655
|
readonly size: _angular_core.InputSignal<ClxEditorSize | undefined>;
|
|
1654
1656
|
protected readonly _editorSize: _angular_core.Signal<ClxEditorSize>;
|
|
1655
|
-
readonly status: _angular_core.InputSignal<"
|
|
1657
|
+
readonly status: _angular_core.InputSignal<"error" | "default" | "success">;
|
|
1656
1658
|
readonly statusMessage: _angular_core.InputSignal<string>;
|
|
1657
1659
|
readonly hint: _angular_core.InputSignal<string>;
|
|
1658
1660
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
@@ -1728,7 +1730,7 @@ type ClxInputSize = 'sm' | 'md' | 'lg';
|
|
|
1728
1730
|
type ClxInputType = 'text' | 'password' | 'email' | 'search' | 'tel' | 'url';
|
|
1729
1731
|
|
|
1730
1732
|
declare class ClxInputComponent implements ControlValueAccessor {
|
|
1731
|
-
private readonly
|
|
1733
|
+
private readonly _themeSvc;
|
|
1732
1734
|
readonly label: _angular_core.InputSignal<string>;
|
|
1733
1735
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
1734
1736
|
readonly type: _angular_core.InputSignal<ClxInputType>;
|
|
@@ -1829,7 +1831,7 @@ declare class ClxNumberComponent implements ControlValueAccessor {
|
|
|
1829
1831
|
private _onTouched;
|
|
1830
1832
|
protected readonly _isAtMin: _angular_core.Signal<boolean>;
|
|
1831
1833
|
protected readonly _isAtMax: _angular_core.Signal<boolean>;
|
|
1832
|
-
private readonly
|
|
1834
|
+
private readonly _themeSvc;
|
|
1833
1835
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
1834
1836
|
protected readonly _sizeConfig: _angular_core.Signal<{
|
|
1835
1837
|
container: string;
|
|
@@ -1866,12 +1868,12 @@ type ClxRadioVariant = 'solid' | 'outline';
|
|
|
1866
1868
|
|
|
1867
1869
|
declare const CLX_RADIO_GROUP: InjectionToken<ClxRadioGroupComponent>;
|
|
1868
1870
|
declare class ClxRadioGroupComponent implements ControlValueAccessor {
|
|
1869
|
-
private readonly
|
|
1871
|
+
private readonly _themeSvc;
|
|
1870
1872
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
1871
1873
|
readonly resolvedColor: _angular_core.Signal<ClxColorInput>;
|
|
1872
1874
|
readonly variant: _angular_core.InputSignal<ClxRadioVariant>;
|
|
1873
1875
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg">;
|
|
1874
|
-
readonly direction: _angular_core.InputSignal<"
|
|
1876
|
+
readonly direction: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
1875
1877
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
1876
1878
|
/** Current selected value — readable by child clx-radio via injection */
|
|
1877
1879
|
readonly _value: _angular_core.WritableSignal<unknown>;
|
|
@@ -1898,7 +1900,7 @@ declare class ClxRadioComponent {
|
|
|
1898
1900
|
readonly variant: _angular_core.InputSignal<ClxRadioVariant | null>;
|
|
1899
1901
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg" | null>;
|
|
1900
1902
|
private readonly _group;
|
|
1901
|
-
private readonly
|
|
1903
|
+
private readonly _themeSvc;
|
|
1902
1904
|
protected readonly _checked: _angular_core.Signal<boolean>;
|
|
1903
1905
|
protected readonly _isDisabled: _angular_core.Signal<boolean>;
|
|
1904
1906
|
private readonly _color;
|
|
@@ -1955,7 +1957,7 @@ declare class ClxSelectComponent implements ControlValueAccessor {
|
|
|
1955
1957
|
private readonly _wasTouched;
|
|
1956
1958
|
private readonly _selectedVals;
|
|
1957
1959
|
private readonly _cvaDisabled;
|
|
1958
|
-
private readonly
|
|
1960
|
+
private readonly _themeSvc;
|
|
1959
1961
|
private readonly _ngControl;
|
|
1960
1962
|
protected readonly _activeColor: Signal<ClxColorInput>;
|
|
1961
1963
|
private readonly _el;
|
|
@@ -2014,7 +2016,7 @@ declare class ClxSelectComponent implements ControlValueAccessor {
|
|
|
2014
2016
|
type ClxSliderSize = 'sm' | 'md' | 'lg';
|
|
2015
2017
|
|
|
2016
2018
|
declare class ClxSliderComponent implements ControlValueAccessor {
|
|
2017
|
-
private readonly
|
|
2019
|
+
private readonly _themeSvc;
|
|
2018
2020
|
readonly label: _angular_core.InputSignal<string>;
|
|
2019
2021
|
readonly hint: _angular_core.InputSignal<string>;
|
|
2020
2022
|
readonly errorMessage: _angular_core.InputSignal<string>;
|
|
@@ -2070,7 +2072,7 @@ declare class ClxSliderComponent implements ControlValueAccessor {
|
|
|
2070
2072
|
|
|
2071
2073
|
type ClxSwitchSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
2072
2074
|
declare class ClxSwitchComponent implements ControlValueAccessor {
|
|
2073
|
-
private readonly
|
|
2075
|
+
private readonly _themeSvc;
|
|
2074
2076
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
2075
2077
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
2076
2078
|
readonly size: _angular_core.InputSignal<ClxSwitchSize | undefined>;
|
|
@@ -2142,7 +2144,7 @@ declare class ClxTextareaComponent implements ControlValueAccessor {
|
|
|
2142
2144
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
2143
2145
|
protected readonly _taId: string;
|
|
2144
2146
|
readonly _value: _angular_core.WritableSignal<string>;
|
|
2145
|
-
private readonly
|
|
2147
|
+
private readonly _themeSvc;
|
|
2146
2148
|
private readonly _cvaDisabled;
|
|
2147
2149
|
private _cvaConnected;
|
|
2148
2150
|
protected readonly _disabled: _angular_core.Signal<boolean>;
|
|
@@ -2197,7 +2199,7 @@ type ClxUploadSize = 'sm' | 'md' | 'lg';
|
|
|
2197
2199
|
type ClxUploadError = 'fileType' | 'fileSize';
|
|
2198
2200
|
|
|
2199
2201
|
declare class ClxUploadComponent implements ControlValueAccessor {
|
|
2200
|
-
private readonly
|
|
2202
|
+
private readonly _themeSvc;
|
|
2201
2203
|
readonly multiple: _angular_core.InputSignal<boolean>;
|
|
2202
2204
|
readonly accept: _angular_core.InputSignal<string>;
|
|
2203
2205
|
/** Max file size in bytes. 0 = no limit. */
|
|
@@ -2273,7 +2275,7 @@ type ClxWizardOrientation = 'horizontal' | 'vertical';
|
|
|
2273
2275
|
type ClxWizardStepStatus = 'pending' | 'active' | 'completed' | 'error';
|
|
2274
2276
|
|
|
2275
2277
|
declare class ClxWizardComponent implements AfterContentInit {
|
|
2276
|
-
private readonly
|
|
2278
|
+
private readonly _themeSvc;
|
|
2277
2279
|
readonly color: _angular_core.InputSignal<codexly_ui.ClxColorInput | undefined>;
|
|
2278
2280
|
protected readonly _color: _angular_core.Signal<codexly_ui.ClxColorInput>;
|
|
2279
2281
|
readonly orientation: _angular_core.InputSignal<ClxWizardOrientation>;
|
|
@@ -2347,7 +2349,7 @@ declare class ClxBrandComponent {
|
|
|
2347
2349
|
}
|
|
2348
2350
|
|
|
2349
2351
|
declare class ClxMenuItemComponent {
|
|
2350
|
-
private readonly
|
|
2352
|
+
private readonly _themeSvc;
|
|
2351
2353
|
readonly label: _angular_core.InputSignal<string>;
|
|
2352
2354
|
readonly icon: _angular_core.InputSignal<string>;
|
|
2353
2355
|
readonly active: _angular_core.InputSignal<boolean>;
|
|
@@ -2371,7 +2373,7 @@ declare class ClxMenuItemComponent {
|
|
|
2371
2373
|
}
|
|
2372
2374
|
|
|
2373
2375
|
declare class ClxMenuComponent implements AfterContentInit, AfterViewInit {
|
|
2374
|
-
private readonly
|
|
2376
|
+
private readonly _themeSvc;
|
|
2375
2377
|
readonly label: _angular_core.InputSignal<string>;
|
|
2376
2378
|
readonly icon: _angular_core.InputSignal<string>;
|
|
2377
2379
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
@@ -2423,7 +2425,7 @@ declare class ClxProfileComponent {
|
|
|
2423
2425
|
readonly signOutLabel: _angular_core.InputSignal<string>;
|
|
2424
2426
|
readonly menuAction: _angular_core.OutputEmitterRef<string>;
|
|
2425
2427
|
readonly signOut: _angular_core.OutputEmitterRef<void>;
|
|
2426
|
-
private readonly
|
|
2428
|
+
private readonly _themeSvc;
|
|
2427
2429
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
2428
2430
|
private readonly _sso;
|
|
2429
2431
|
readonly _scrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
|
|
@@ -2491,7 +2493,7 @@ declare class ClxColumnDefDirective<T> {
|
|
|
2491
2493
|
}
|
|
2492
2494
|
|
|
2493
2495
|
declare class ClxTableComponent<T = any> {
|
|
2494
|
-
private readonly
|
|
2496
|
+
private readonly _themeSvc;
|
|
2495
2497
|
readonly data: _angular_core.InputSignal<T[]>;
|
|
2496
2498
|
readonly columns: _angular_core.InputSignal<ClxTableColumn<T>[]>;
|
|
2497
2499
|
readonly loading: _angular_core.InputSignal<boolean>;
|
|
@@ -2879,12 +2881,16 @@ declare class ClxTooltipDirective {
|
|
|
2879
2881
|
type ClxThemeMode = 'light' | 'dark' | 'system';
|
|
2880
2882
|
declare class ClxThemeService {
|
|
2881
2883
|
private readonly _isBrowser;
|
|
2884
|
+
private readonly _initial;
|
|
2882
2885
|
private readonly _mode;
|
|
2883
2886
|
private readonly _sysDark;
|
|
2887
|
+
private readonly _config;
|
|
2884
2888
|
readonly mode: _angular_core.Signal<ClxThemeMode>;
|
|
2889
|
+
readonly config: _angular_core.Signal<ClxThemeConfig>;
|
|
2885
2890
|
readonly isDark: _angular_core.Signal<boolean>;
|
|
2886
2891
|
constructor();
|
|
2887
2892
|
setMode(mode: ClxThemeMode): void;
|
|
2893
|
+
setConfig(patch: Partial<ClxThemeConfig>): void;
|
|
2888
2894
|
toggle(): void;
|
|
2889
2895
|
private _loadMode;
|
|
2890
2896
|
private _getSystemDark;
|
|
@@ -2978,7 +2984,7 @@ type ClxProgressBarSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
|
2978
2984
|
type ClxProgressBarVariant = 'solid' | 'striped' | 'indeterminate';
|
|
2979
2985
|
|
|
2980
2986
|
declare class ClxProgressBarComponent {
|
|
2981
|
-
private readonly
|
|
2987
|
+
private readonly _themeSvc;
|
|
2982
2988
|
readonly value: _angular_core.InputSignal<number>;
|
|
2983
2989
|
readonly max: _angular_core.InputSignal<number>;
|
|
2984
2990
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
@@ -2987,7 +2993,7 @@ declare class ClxProgressBarComponent {
|
|
|
2987
2993
|
readonly variant: _angular_core.InputSignal<ClxProgressBarVariant>;
|
|
2988
2994
|
readonly label: _angular_core.InputSignal<string>;
|
|
2989
2995
|
readonly showValue: _angular_core.InputSignal<boolean>;
|
|
2990
|
-
readonly valueFormat: _angular_core.InputSignal<"
|
|
2996
|
+
readonly valueFormat: _angular_core.InputSignal<"value" | "percent" | "fraction">;
|
|
2991
2997
|
protected readonly _pct: _angular_core.Signal<number>;
|
|
2992
2998
|
protected readonly _pbSize: _angular_core.Signal<ClxProgressBarSize>;
|
|
2993
2999
|
protected readonly _trackH: _angular_core.Signal<string>;
|
|
@@ -3032,7 +3038,7 @@ declare class ClxPageServerErrorComponent {
|
|
|
3032
3038
|
}
|
|
3033
3039
|
|
|
3034
3040
|
declare class ClxPageEmptyComponent {
|
|
3035
|
-
private readonly
|
|
3041
|
+
private readonly _themeSvc;
|
|
3036
3042
|
readonly icon: _angular_core.InputSignal<string>;
|
|
3037
3043
|
readonly title: _angular_core.InputSignal<string>;
|
|
3038
3044
|
readonly description: _angular_core.InputSignal<string>;
|
|
@@ -3051,5 +3057,5 @@ declare class ClxPageEmptyComponent {
|
|
|
3051
3057
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxPageEmptyComponent, "clx-page-empty", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "ctaLabel": { "alias": "ctaLabel"; "required": false; "isSignal": true; }; "ctaIcon": { "alias": "ctaIcon"; "required": false; "isSignal": true; }; "ctaColor": { "alias": "ctaColor"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "cta": "cta"; }, never, never, true, never>;
|
|
3052
3058
|
}
|
|
3053
3059
|
|
|
3054
|
-
export { CLX_ADDON_BORDER, CLX_ADDON_TEXT, CLX_ALERT_OPTIONS, CLX_ALERT_RESOLVE, CLX_BG_ADDON, CLX_BG_DISABLED, CLX_BG_ICON_WRAP, CLX_BG_SECTION, CLX_BG_SURFACE, CLX_BORDER_DEFAULT, CLX_BORDER_DISABLED, CLX_BORDER_MEDIUM, CLX_COLOR_HEX, CLX_COLOR_MAP, CLX_MODAL_ANIM_CONFIG, CLX_MODAL_DATA, CLX_MODAL_REF, CLX_OPTION_DISABLED, CLX_PLACEHOLDER, CLX_RADIO_GROUP, CLX_RADIUS_MAP, CLX_TEXT_BODY, CLX_TEXT_DISABLED, CLX_TEXT_HEADING, CLX_TEXT_HINT, CLX_TEXT_IDLE, CLX_TEXT_INPUT, CLX_TEXT_LABEL, CLX_TEXT_OPTION, CLX_TEXT_SUBTITLE, CLX_TEXT_TITLE, CLX_THEME_CONFIG, CLX_THEME_DEFAULTS, CLX_TOAST_DEFAULTS, ClxAlertComponent, ClxAlertService, ClxAnimateDirective, ClxAnimateGroupDirective, ClxAnimateService, ClxAppLayoutComponent, ClxAvatarComponent, ClxBadgeComponent, ClxBrandComponent, ClxButtonComponent, ClxButtonGroupComponent, ClxCardBodyDirective, ClxCardComponent, ClxCardFooterDirective, ClxCardHeaderDirective, ClxCarouselComponent, ClxCarouselDirective, ClxCartComponent, ClxCartSummaryDrawer, ClxCellDirective, ClxChartComponent, ClxCheckboxComponent, ClxColorPickerComponent, ClxColumnDefDirective, ClxDateRangePickerComponent, ClxDatepickerComponent, ClxDrawerComponent, ClxDrawerService, ClxEditorComponent, ClxEditorLinkModalComponent, ClxFilterPanelComponent, ClxHeaderCellDirective, ClxIconComponent, ClxInputComponent, ClxListComponent, ClxListItemComponent, ClxMenuComponent, ClxMenuItemComponent, ClxModalComponent, ClxModalService, ClxNavGroupComponent, ClxNumberComponent, ClxPageEmptyComponent, ClxPageNotFoundComponent, ClxPageServerErrorComponent, ClxPageUnauthorizedComponent, ClxPaginationComponent, ClxProductComponent, ClxProductDetailComponent, ClxProfileComponent, ClxProgressBarComponent, ClxRadioComponent, ClxRadioGroupComponent, ClxRatingComponent, ClxSelectComponent, ClxSkeletonComponent, ClxSliderComponent, ClxSpinnerComponent, ClxStatCardComponent, ClxStepComponent, ClxStepperComponent, ClxSwitchComponent, ClxTabDirective, ClxTableComponent, ClxTabsComponent, ClxTagComponent, ClxTextareaComponent, ClxThemeService, ClxTimelineComponent, ClxTimelineItemComponent, ClxTimepickerComponent, ClxToastComponent, ClxToastContainerComponent, ClxToastService, ClxTooltipComponent, ClxTooltipDirective, ClxTreeComponent, ClxUploadComponent, ClxWishlistComponent, ClxWizardComponent, TIMEPICKER_SIZE_MAP, parseColorInput, provideCodexlyTheme, resolveColor, resolveContainerRadius, resolveRadius };
|
|
3060
|
+
export { CLX_ADDON_BORDER, CLX_ADDON_TEXT, CLX_ALERT_OPTIONS, CLX_ALERT_RESOLVE, CLX_BG_ADDON, CLX_BG_DISABLED, CLX_BG_ICON_WRAP, CLX_BG_SECTION, CLX_BG_SURFACE, CLX_BORDER_DEFAULT, CLX_BORDER_DISABLED, CLX_BORDER_MEDIUM, CLX_COLOR_HEX, CLX_COLOR_HEX_100, CLX_COLOR_MAP, CLX_MODAL_ANIM_CONFIG, CLX_MODAL_DATA, CLX_MODAL_REF, CLX_OPTION_DISABLED, CLX_PLACEHOLDER, CLX_RADIO_GROUP, CLX_RADIUS_MAP, CLX_TEXT_BODY, CLX_TEXT_DISABLED, CLX_TEXT_HEADING, CLX_TEXT_HINT, CLX_TEXT_IDLE, CLX_TEXT_INPUT, CLX_TEXT_LABEL, CLX_TEXT_OPTION, CLX_TEXT_SUBTITLE, CLX_TEXT_TITLE, CLX_THEME_CONFIG, CLX_THEME_DEFAULTS, CLX_TOAST_DEFAULTS, ClxAlertComponent, ClxAlertService, ClxAnimateDirective, ClxAnimateGroupDirective, ClxAnimateService, ClxAppLayoutComponent, ClxAvatarComponent, ClxBadgeComponent, ClxBrandComponent, ClxButtonComponent, ClxButtonGroupComponent, ClxCardBodyDirective, ClxCardComponent, ClxCardFooterDirective, ClxCardHeaderDirective, ClxCarouselComponent, ClxCarouselDirective, ClxCartComponent, ClxCartSummaryDrawer, ClxCellDirective, ClxChartComponent, ClxCheckboxComponent, ClxColorPickerComponent, ClxColumnDefDirective, ClxDateRangePickerComponent, ClxDatepickerComponent, ClxDrawerComponent, ClxDrawerService, ClxEditorComponent, ClxEditorLinkModalComponent, ClxFilterPanelComponent, ClxHeaderCellDirective, ClxIconComponent, ClxInputComponent, ClxListComponent, ClxListItemComponent, ClxMenuComponent, ClxMenuItemComponent, ClxModalComponent, ClxModalService, ClxNavGroupComponent, ClxNumberComponent, ClxPageEmptyComponent, ClxPageNotFoundComponent, ClxPageServerErrorComponent, ClxPageUnauthorizedComponent, ClxPaginationComponent, ClxProductComponent, ClxProductDetailComponent, ClxProfileComponent, ClxProgressBarComponent, ClxRadioComponent, ClxRadioGroupComponent, ClxRatingComponent, ClxSelectComponent, ClxSkeletonComponent, ClxSliderComponent, ClxSpinnerComponent, ClxStatCardComponent, ClxStepComponent, ClxStepperComponent, ClxSwitchComponent, ClxTabDirective, ClxTableComponent, ClxTabsComponent, ClxTagComponent, ClxTextareaComponent, ClxThemeService, ClxTimelineComponent, ClxTimelineItemComponent, ClxTimepickerComponent, ClxToastComponent, ClxToastContainerComponent, ClxToastService, ClxTooltipComponent, ClxTooltipDirective, ClxTreeComponent, ClxUploadComponent, ClxWishlistComponent, ClxWizardComponent, TIMEPICKER_SIZE_MAP, parseColorInput, provideCodexlyTheme, resolveColor, resolveContainerRadius, resolveRadius };
|
|
3055
3061
|
export type { ClxAlertButtonOptions, ClxAlertOptions, ClxAlertResult, ClxAlertType, ClxAnimateAttentionSeeker, ClxAnimateBackEntrance, ClxAnimateBackExit, ClxAnimateBouncingEntrance, ClxAnimateBouncingExit, ClxAnimateConfig, ClxAnimateDefaults, ClxAnimateEvent, ClxAnimateFadingEntrance, ClxAnimateFadingExit, ClxAnimateFlipper, ClxAnimateLightspeed, ClxAnimateName, ClxAnimateRotatingEntrance, ClxAnimateRotatingExit, ClxAnimateSlidingEntrance, ClxAnimateSlidingExit, ClxAnimateSpecial, ClxAnimateTrigger, ClxAnimateZoomingEntrance, ClxAnimateZoomingExit, ClxAvatarContentType, ClxBadgeVariant, ClxButtonColor, ClxButtonGroupShape, ClxButtonVariant, ClxCardPadding, ClxCardShadow, ClxCardVariant, ClxCarouselAspectRatio, ClxCarouselConfig, ClxCartItem, ClxCartSummaryData, ClxCellContext, ClxChartOptions, ClxChartType, ClxCheckboxVariant, ClxColor, ClxColorInput, ClxColorPickerFormat, ClxColorPickerSize, ClxColorResolved, ClxColorTokens, ClxCouponResult, ClxDateRange, ClxDateRangePickerSize, ClxDateRangePickerStatus, ClxDatepickerSize, ClxDatepickerStatus, ClxDrawerButtonOptions, ClxDrawerConfig, ClxDrawerRef, ClxDrawerSize, ClxEditorSize, ClxEditorTool, ClxEditorToolbarGroup, ClxFilterChangeEvent, ClxFilterField, ClxFilterFieldType, ClxFilterOption, ClxFilterValue, ClxFilterValues, ClxInputSize, ClxInputStatus, ClxInputType, ClxListItem, ClxListSize, ClxListVariant, ClxModalButtonOptions, ClxModalConfig, ClxModalRef, ClxModalSize, ClxNumberSize, ClxNumberVariant, ClxPageChangeEvent, ClxPageSizeChangeEvent, ClxPaginationSize, ClxProduct, ClxProductDescription, ClxProductDetailData, ClxProductLayout, ClxProductSize, ClxProductSpec, ClxProfileMenuItem, ClxProgressBarSize, ClxProgressBarVariant, ClxRadioVariant, ClxReview, ClxRippleItem, ClxSelectOption, ClxSelectSize, ClxShade, ClxShape, ClxSize, ClxSkeletonVariant, ClxSliderSize, ClxSpecOption, ClxSpecType, ClxSpinnerColor, ClxSpinnerVariant, ClxStatMetric, ClxStepperOrientation, ClxStepperSize, ClxStepperStatus, ClxStepperStep, ClxTabItem, ClxTableColumn, ClxTablePageEvent, ClxTableSelectionEvent, ClxTableSort, ClxTableSortEvent, ClxTagShape, ClxTagSize, ClxTagVariant, ClxTextareaResize, ClxTextareaSize, ClxTextareaStatus, ClxThemeConfig, ClxThemeMode, ClxTimelineLineStyle, ClxTimelineMode, ClxTimelineSize, ClxTimepickerSize, ClxTimepickerStatus, ClxToastAction, ClxToastEntry, ClxToastOptions, ClxToastPosition, ClxToastType, ClxTooltipPosition, ClxTooltipSize, ClxTreeExpandEvent, ClxTreeNode, ClxTreeSelectEvent, ClxTreeSize, ClxTreeVariant, ClxTrendDirection, ClxUploadError, ClxUploadSize, ClxVariation, ClxWishlistItem, ClxWishlistPageChangeEvent, ClxWizardColor, ClxWizardOrientation, ClxWizardStepStatus, SparkPoint };
|