cats-ui-lib 2.0.15 → 2.0.17

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/index.d.ts CHANGED
@@ -1010,6 +1010,8 @@ declare class FileUploadComponent implements ControlValueAccessor {
1010
1010
  maxSize: number | null;
1011
1011
  minSize: number | null;
1012
1012
  helperText: string;
1013
+ onfileChange: EventEmitter<any>;
1014
+ onfileRemove: EventEmitter<any>;
1013
1015
  /**
1014
1016
  * Accepted MIME types or extensions, comma-separated.
1015
1017
  * e.g. 'image/png,image/jpeg' or '.png,.jpg,.pdf'
@@ -1051,7 +1053,7 @@ declare class FileUploadComponent implements ControlValueAccessor {
1051
1053
  get displayError(): string;
1052
1054
  get hasError(): boolean;
1053
1055
  static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
1054
- static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "cats-ui-file-upload", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "buttonPosition": { "alias": "buttonPosition"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "minSize": { "alias": "minSize"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; }, {}, never, never, true, never>;
1056
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "cats-ui-file-upload", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "buttonPosition": { "alias": "buttonPosition"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "minSize": { "alias": "minSize"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; }, { "onfileChange": "onfileChange"; "onfileRemove": "onfileRemove"; }, never, never, true, never>;
1055
1057
  }
1056
1058
 
1057
1059
  interface HeaderConfig {
@@ -1114,10 +1116,45 @@ declare class DialogBoxService {
1114
1116
  static ɵprov: i0.ɵɵInjectableDeclaration<DialogBoxService>;
1115
1117
  }
1116
1118
 
1119
+ interface SidebarAttribute {
1120
+ attributeId?: number;
1121
+ attributeName: string;
1122
+ attributeDesc?: string;
1123
+ viewAccess?: boolean;
1124
+ createAccess?: boolean;
1125
+ updateAccess?: boolean;
1126
+ deleteAccess?: boolean;
1127
+ }
1128
+ interface SidebarFeature {
1129
+ featureId?: number;
1130
+ moduleId?: number;
1131
+ featuresName: string;
1132
+ icon?: string;
1133
+ activeIcon?: string;
1134
+ expandable?: boolean;
1135
+ url?: string;
1136
+ isEnable: boolean;
1137
+ attributes?: SidebarAttribute[];
1138
+ }
1139
+ interface SidebarModule {
1140
+ moduleName: string;
1141
+ icon?: string;
1142
+ activeIcon?: string;
1143
+ expandable?: boolean;
1144
+ url?: string;
1145
+ isEnable: boolean;
1146
+ features: SidebarFeature[];
1147
+ }
1117
1148
  declare class SidebarComponent {
1149
+ config: SidebarModule[];
1150
+ expandedFeatures: Set<string>;
1151
+ activeItem: string | null;
1152
+ toggleFeature(key: string): void;
1153
+ isExpanded(key: string): boolean;
1154
+ setActive(key: string): void;
1118
1155
  static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
1119
- static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "cats-ui-sidebar", never, {}, {}, never, never, true, never>;
1156
+ static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "cats-ui-sidebar", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
1120
1157
  }
1121
1158
 
1122
1159
  export { AccordionComponent, AccordionItemComponent, AutoCompleteMultiSelectComponent, AutoCompleteMultiSelectConfig, AutoCompleteSingleSelectComponent, AutoCompleteSingleSelectConfig, CatsUiService, CatsUiTooltipDirective, CheckBoxConfig, CheckBoxSubtask, CheckboxButtonComponent, CustomDatePickerComponent, DROPDOWN_CONTROL_VALUE_ACCESSOR, DROPDOWN_CONTROL_VALUE_VALIDATOR, DialogBoxComponent, DialogBoxService, FileUploadComponent, HeaderComponent, InputComponent, InputConfig, MULTI_SELECT_CONTROL_VALUE_ACCESSOR, MULTI_SELECT_CONTROL_VALUE_VALIDATOR, MultiSelectComponent, MultiSelectConfig, OutsideClickDirective, RadioButtonComponent, SINGLE_SELECT_CONTROL_VALUE_ACCESSOR, SINGLE_SELECT_CONTROL_VALUE_VALIDATOR, SearchBoxComponent, SearchConfig, SidebarComponent, SingleSelectComponent, SingleSelectConfig, TabContentComponent, TabsetComponent, TimestampFilterComponent, ToggleConfig, ToogleButtonComponent, WizardComponent, WizardService, WizardStepDirective };
1123
- export type { CalenderView, DatePickerConfig, DatePickerMode, DateRange, DateTimeResult, DialogConfig, FilterType, HeaderConfig, RadioButtonConfig, TabConfig, TabItem, TimeFilterConfig, TimeFilterOption, TimeFilterOutput, TimeFilterValue };
1160
+ export type { CalenderView, DatePickerConfig, DatePickerMode, DateRange, DateTimeResult, DialogConfig, FilterType, HeaderConfig, RadioButtonConfig, SidebarAttribute, SidebarFeature, SidebarModule, TabConfig, TabItem, TimeFilterConfig, TimeFilterOption, TimeFilterOutput, TimeFilterValue };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cats-ui-lib",
3
- "version": "2.0.15",
3
+ "version": "2.0.17",
4
4
  "peerDependencies": {
5
5
  "@angular/core": ">=18 <22",
6
6
  "@angular/common": ">=18 <22"