nath-angular-ui 0.2.4 → 0.4.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
|
@@ -111,6 +111,25 @@ declare class BreadcrumbService {
|
|
|
111
111
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<BreadcrumbService>;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
+
interface CodeFile {
|
|
115
|
+
name: string;
|
|
116
|
+
content: string;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
declare class NathCodeViewer {
|
|
120
|
+
readonly files: _angular_core.InputSignal<CodeFile[]>;
|
|
121
|
+
readonly showLineNumbers: _angular_core.InputSignal<boolean>;
|
|
122
|
+
readonly showFullPaths: _angular_core.InputSignal<boolean>;
|
|
123
|
+
protected readonly activeIndex: _angular_core.WritableSignal<number>;
|
|
124
|
+
protected readonly copied: _angular_core.WritableSignal<boolean>;
|
|
125
|
+
protected readonly activeFile: _angular_core.Signal<CodeFile | undefined>;
|
|
126
|
+
protected readonly lines: _angular_core.Signal<string[]>;
|
|
127
|
+
protected selectTab(index: number): void;
|
|
128
|
+
protected copyToClipboard(): void;
|
|
129
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NathCodeViewer, never>;
|
|
130
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NathCodeViewer, "nath-code-viewer", never, { "files": { "alias": "files"; "required": true; "isSignal": true; }; "showLineNumbers": { "alias": "showLineNumbers"; "required": false; "isSignal": true; }; "showFullPaths": { "alias": "showFullPaths"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
131
|
+
}
|
|
132
|
+
|
|
114
133
|
declare class NathDatepicker implements FormValueControl<Date | null> {
|
|
115
134
|
withTime: _angular_core.InputSignal<boolean>;
|
|
116
135
|
placeholder: _angular_core.InputSignal<string>;
|
|
@@ -924,6 +943,19 @@ declare class NathSlider implements FormValueControl<number | number[] | null> {
|
|
|
924
943
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NathSlider, "nath-slider", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "rangeBackground": { "alias": "rangeBackground"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
925
944
|
}
|
|
926
945
|
|
|
946
|
+
declare class NathShowErrors {
|
|
947
|
+
private static readonly errorMessages;
|
|
948
|
+
readonly signalField: _angular_core.InputSignal<FieldState<any, any> | undefined>;
|
|
949
|
+
readonly control: _angular_core.InputSignal<AbstractControl<any, any, any> | undefined>;
|
|
950
|
+
controlValue: _angular_core.Signal<any>;
|
|
951
|
+
controlErrors: _angular_core.Signal<any[]>;
|
|
952
|
+
static getMessage(type: string, params: any): string;
|
|
953
|
+
shouldShowErrors(): boolean;
|
|
954
|
+
listOfErrors(): any[];
|
|
955
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NathShowErrors, never>;
|
|
956
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NathShowErrors, "nath-show-errors", never, { "signalField": { "alias": "signalField"; "required": false; "isSignal": true; }; "control": { "alias": "control"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
957
|
+
}
|
|
958
|
+
|
|
927
959
|
declare enum ORDER {
|
|
928
960
|
ASC = "asc",
|
|
929
961
|
DESC = "desc"
|
|
@@ -1130,5 +1162,5 @@ declare const rangeNotMinMax: (range: number[] | undefined, min: number | undefi
|
|
|
1130
1162
|
|
|
1131
1163
|
declare function isSortOrderValid(order: string): boolean;
|
|
1132
1164
|
|
|
1133
|
-
export { BreadcrumbService, ConfirmationService, DARK_THEME_CLASS, DIALOG_DATA, DialogRef, DialogService, NathAutocomplete, NathBooleanControl, NathBreadcrumbs, NathConfirmationDialog, NathDatepicker, NathDialogContainer, NathDrawer, NathFileUpload, NathFloatingLabel, NathFormField, NathImagePreview, NathMenu, NathMenuList, NathMultiselect, NathPaginatedView, NathPaginator, NathPanel, NathPickList, NathProgressBar, NathProgressCircle, NathRadioButtonGroup, NathRatingHeart, NathRatingInput, NathSelect, NathSkeleton, NathSlider, NathSortIcon, NathSplitButton, NathTabs, NathThemeSwitch, NathToastContainer, NathToc, NathTooltipContainer, NathTooltipDirective, ORDER, RATING_MAP, THEME_CONFIG, TabDirective, TabPanelDirective, ThemeService, ToastService, getRatingColor, hasRequiredValidator, isRequired, isSortOrderValid, isTruthy, next, provideThemeConfig, rangeMinMax, rangeNotMinMax, validateAllFormFields };
|
|
1134
|
-
export type { BooleanDisplayMode, Breadcrumb, ConfirmationButton, ConfirmationConfig, DialogConfig, MenuItem, NathMenuPositionX, NathMenuPositionY, NathToastPosition, NathToastType, NathTooltipPosition, PaginatorChangeEvent, RadioOption, SelectItem, SliderValue, ThemeConfig, Toast, TrackByFnOrKey, TristateValue };
|
|
1165
|
+
export { BreadcrumbService, ConfirmationService, DARK_THEME_CLASS, DIALOG_DATA, DialogRef, DialogService, NathAutocomplete, NathBooleanControl, NathBreadcrumbs, NathCodeViewer, NathConfirmationDialog, NathDatepicker, NathDialogContainer, NathDrawer, NathFileUpload, NathFloatingLabel, NathFormField, NathImagePreview, NathMenu, NathMenuList, NathMultiselect, NathPaginatedView, NathPaginator, NathPanel, NathPickList, NathProgressBar, NathProgressCircle, NathRadioButtonGroup, NathRatingHeart, NathRatingInput, NathSelect, NathShowErrors, NathSkeleton, NathSlider, NathSortIcon, NathSplitButton, NathTabs, NathThemeSwitch, NathToastContainer, NathToc, NathTooltipContainer, NathTooltipDirective, ORDER, RATING_MAP, THEME_CONFIG, TabDirective, TabPanelDirective, ThemeService, ToastService, getRatingColor, hasRequiredValidator, isRequired, isSortOrderValid, isTruthy, next, provideThemeConfig, rangeMinMax, rangeNotMinMax, validateAllFormFields };
|
|
1166
|
+
export type { BooleanDisplayMode, Breadcrumb, CodeFile, ConfirmationButton, ConfirmationConfig, DialogConfig, MenuItem, NathMenuPositionX, NathMenuPositionY, NathToastPosition, NathToastType, NathTooltipPosition, PaginatorChangeEvent, RadioOption, SelectItem, SliderValue, ThemeConfig, Toast, TrackByFnOrKey, TristateValue };
|