codexly-ui 0.1.23 → 0.2.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/package.json
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codexly-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^21.0.0",
|
|
6
6
|
"@angular/core": "^21.0.0",
|
|
7
7
|
"@angular/router": "^21.0.0",
|
|
8
8
|
"@angular/forms": "^21.0.0",
|
|
9
9
|
"@angular/cdk": "^21.0.0",
|
|
10
|
-
"rxjs": "^7.0.0"
|
|
10
|
+
"rxjs": "^7.0.0",
|
|
11
|
+
"chart.js": "^4.5.1"
|
|
12
|
+
},
|
|
13
|
+
"peerDependenciesMeta": {
|
|
14
|
+
"chart.js": {
|
|
15
|
+
"optional": true
|
|
16
|
+
}
|
|
11
17
|
},
|
|
12
18
|
"dependencies": {
|
|
13
19
|
"tslib": "^2.3.0"
|
|
@@ -23,6 +29,10 @@
|
|
|
23
29
|
".": {
|
|
24
30
|
"types": "./types/codexly-ui.d.ts",
|
|
25
31
|
"default": "./fesm2022/codexly-ui.mjs"
|
|
32
|
+
},
|
|
33
|
+
"./charts": {
|
|
34
|
+
"types": "./types/codexly-ui-charts.d.ts",
|
|
35
|
+
"default": "./fesm2022/codexly-ui-charts.mjs"
|
|
26
36
|
}
|
|
27
37
|
},
|
|
28
38
|
"module": "fesm2022/codexly-ui.mjs",
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as node_modules_chart_js_dist_types_utils from 'node_modules/chart.js/dist/types/utils';
|
|
2
|
+
import * as chart_js from 'chart.js';
|
|
3
|
+
import { ChartType, ChartData, ChartOptions } from 'chart.js';
|
|
4
|
+
import * as _angular_core from '@angular/core';
|
|
5
|
+
import { AfterViewInit, OnDestroy, ElementRef } from '@angular/core';
|
|
6
|
+
|
|
7
|
+
type ClxChartType = Extract<ChartType, 'line' | 'bar' | 'pie' | 'doughnut' | 'radar' | 'polarArea'>;
|
|
8
|
+
interface ClxChartOptions {
|
|
9
|
+
type: ClxChartType;
|
|
10
|
+
data: ChartData;
|
|
11
|
+
options?: ChartOptions;
|
|
12
|
+
height?: number | string;
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
ariaLabel?: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
declare class ClxChartComponent implements AfterViewInit, OnDestroy {
|
|
18
|
+
canvasRef: ElementRef<HTMLCanvasElement>;
|
|
19
|
+
type: _angular_core.InputSignal<ClxChartType>;
|
|
20
|
+
data: _angular_core.InputSignal<ChartData<keyof chart_js.ChartTypeRegistry, (number | [number, number] | chart_js.Point | chart_js.BubbleDataPoint | null)[], unknown>>;
|
|
21
|
+
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>>>;
|
|
22
|
+
height: _angular_core.InputSignal<string | number>;
|
|
23
|
+
ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
24
|
+
loading: _angular_core.InputSignal<boolean>;
|
|
25
|
+
private _chart?;
|
|
26
|
+
private _injector;
|
|
27
|
+
_hostHeight: _angular_core.Signal<string | number>;
|
|
28
|
+
ngAfterViewInit(): void;
|
|
29
|
+
private _createChart;
|
|
30
|
+
ngOnDestroy(): void;
|
|
31
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxChartComponent, never>;
|
|
32
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxChartComponent, "clx-chart", never, { "type": { "alias": "type"; "required": true; "isSignal": true; }; "data": { "alias": "data"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { ClxChartComponent };
|
|
36
|
+
export type { ClxChartOptions, ClxChartType };
|
package/types/codexly-ui.d.ts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { TemplateRef, AfterContentInit, OnDestroy, OnInit, QueryList, Signal,
|
|
2
|
+
import { TemplateRef, AfterContentInit, OnDestroy, OnInit, QueryList, Signal, ElementRef, AfterViewInit, InjectionToken, Provider, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
3
|
import * as codexly_ui from 'codexly-ui';
|
|
4
4
|
import { FormControl, ControlValueAccessor, FormGroup } from '@angular/forms';
|
|
5
|
-
import * as node_modules_chart_js_dist_types_utils from 'node_modules/chart.js/dist/types/utils';
|
|
6
|
-
import * as chart_js from 'chart.js';
|
|
7
|
-
import { ChartType, ChartData, ChartOptions } from 'chart.js';
|
|
8
5
|
import * as _angular_cdk_overlay from '@angular/cdk/overlay';
|
|
9
6
|
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
10
7
|
import { Observable } from 'rxjs';
|
|
@@ -1192,34 +1189,6 @@ declare class ClxTimelineItemComponent {
|
|
|
1192
1189
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxTimelineItemComponent, "clx-timeline-item", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "time": { "alias": "time"; "required": false; "isSignal": true; }; "last": { "alias": "last"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1193
1190
|
}
|
|
1194
1191
|
|
|
1195
|
-
type ClxChartType = Extract<ChartType, 'line' | 'bar' | 'pie' | 'doughnut' | 'radar' | 'polarArea'>;
|
|
1196
|
-
interface ClxChartOptions {
|
|
1197
|
-
type: ClxChartType;
|
|
1198
|
-
data: ChartData;
|
|
1199
|
-
options?: ChartOptions;
|
|
1200
|
-
height?: number | string;
|
|
1201
|
-
loading?: boolean;
|
|
1202
|
-
ariaLabel?: string;
|
|
1203
|
-
}
|
|
1204
|
-
|
|
1205
|
-
declare class ClxChartComponent implements AfterViewInit, OnDestroy {
|
|
1206
|
-
canvasRef: ElementRef<HTMLCanvasElement>;
|
|
1207
|
-
type: _angular_core.InputSignal<ClxChartType>;
|
|
1208
|
-
data: _angular_core.InputSignal<ChartData<keyof chart_js.ChartTypeRegistry, (number | [number, number] | chart_js.Point | chart_js.BubbleDataPoint | null)[], unknown>>;
|
|
1209
|
-
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>>>;
|
|
1210
|
-
height: _angular_core.InputSignal<string | number>;
|
|
1211
|
-
ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
1212
|
-
loading: _angular_core.InputSignal<boolean>;
|
|
1213
|
-
private _chart?;
|
|
1214
|
-
private _injector;
|
|
1215
|
-
_hostHeight: _angular_core.Signal<string | number>;
|
|
1216
|
-
ngAfterViewInit(): void;
|
|
1217
|
-
private _createChart;
|
|
1218
|
-
ngOnDestroy(): void;
|
|
1219
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxChartComponent, never>;
|
|
1220
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxChartComponent, "clx-chart", never, { "type": { "alias": "type"; "required": true; "isSignal": true; }; "data": { "alias": "data"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1221
|
-
}
|
|
1222
|
-
|
|
1223
1192
|
type ClxCheckboxVariant = 'solid' | 'outline';
|
|
1224
1193
|
|
|
1225
1194
|
declare class ClxCheckboxComponent implements ControlValueAccessor {
|
|
@@ -2397,7 +2366,7 @@ declare class ClxMenuComponent implements AfterViewInit {
|
|
|
2397
2366
|
ngAfterViewInit(): void;
|
|
2398
2367
|
protected readonly _iconCls: _angular_core.Signal<string>;
|
|
2399
2368
|
protected _buttonCls(isActive: boolean): string;
|
|
2400
|
-
protected readonly NAV_CHILDREN_WRAPPER = "grid transition-
|
|
2369
|
+
protected readonly NAV_CHILDREN_WRAPPER = "grid transition-[grid-template-rows] duration-300 ease-in-out";
|
|
2401
2370
|
protected readonly NAV_CHILDREN_INNER = "overflow-hidden";
|
|
2402
2371
|
protected readonly NAV_CHILDREN_LIST = "ml-6 py-1 space-y-0.5";
|
|
2403
2372
|
protected _toggle(): void;
|
|
@@ -3026,7 +2995,7 @@ declare class ClxProgressBarComponent {
|
|
|
3026
2995
|
readonly variant: _angular_core.InputSignal<ClxProgressBarVariant>;
|
|
3027
2996
|
readonly label: _angular_core.InputSignal<string>;
|
|
3028
2997
|
readonly showValue: _angular_core.InputSignal<boolean>;
|
|
3029
|
-
readonly valueFormat: _angular_core.InputSignal<"
|
|
2998
|
+
readonly valueFormat: _angular_core.InputSignal<"percent" | "fraction" | "value">;
|
|
3030
2999
|
protected readonly _pct: _angular_core.Signal<number>;
|
|
3031
3000
|
protected readonly _pbSize: _angular_core.Signal<ClxProgressBarSize>;
|
|
3032
3001
|
protected readonly _trackH: _angular_core.Signal<string>;
|
|
@@ -3090,5 +3059,5 @@ declare class ClxPageEmptyComponent {
|
|
|
3090
3059
|
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>;
|
|
3091
3060
|
}
|
|
3092
3061
|
|
|
3093
|
-
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_FONT_CATALOG, 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,
|
|
3094
|
-
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,
|
|
3062
|
+
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_FONT_CATALOG, 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, 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 };
|
|
3063
|
+
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, 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, ClxFontFamily, ClxFontOption, 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 };
|