nath-angular-ui 0.2.3 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nath-angular-ui",
3
- "version": "0.2.3",
3
+ "version": "0.3.0",
4
4
  "peerDependencies": {
5
5
  "@angular/aria": "^22.0.0",
6
6
  "@angular/cdk": "^22.0.0",
@@ -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>;
@@ -1130,5 +1149,5 @@ declare const rangeNotMinMax: (range: number[] | undefined, min: number | undefi
1130
1149
 
1131
1150
  declare function isSortOrderValid(order: string): boolean;
1132
1151
 
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 };
1152
+ 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, 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 };
1153
+ export type { BooleanDisplayMode, Breadcrumb, CodeFile, ConfirmationButton, ConfirmationConfig, DialogConfig, MenuItem, NathMenuPositionX, NathMenuPositionY, NathToastPosition, NathToastType, NathTooltipPosition, PaginatorChangeEvent, RadioOption, SelectItem, SliderValue, ThemeConfig, Toast, TrackByFnOrKey, TristateValue };