cats-ui-lib 2.0.15 → 2.0.16
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/README.md +179 -223
- package/fesm2022/cats-ui-lib.mjs +24 -4
- package/fesm2022/cats-ui-lib.mjs.map +1 -1
- package/index.d.ts +39 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1010,6 +1010,7 @@ declare class FileUploadComponent implements ControlValueAccessor {
|
|
|
1010
1010
|
maxSize: number | null;
|
|
1011
1011
|
minSize: number | null;
|
|
1012
1012
|
helperText: string;
|
|
1013
|
+
onfileChange: EventEmitter<any>;
|
|
1013
1014
|
/**
|
|
1014
1015
|
* Accepted MIME types or extensions, comma-separated.
|
|
1015
1016
|
* e.g. 'image/png,image/jpeg' or '.png,.jpg,.pdf'
|
|
@@ -1051,7 +1052,7 @@ declare class FileUploadComponent implements ControlValueAccessor {
|
|
|
1051
1052
|
get displayError(): string;
|
|
1052
1053
|
get hasError(): boolean;
|
|
1053
1054
|
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>;
|
|
1055
|
+
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"; }, never, never, true, never>;
|
|
1055
1056
|
}
|
|
1056
1057
|
|
|
1057
1058
|
interface HeaderConfig {
|
|
@@ -1114,10 +1115,45 @@ declare class DialogBoxService {
|
|
|
1114
1115
|
static ɵprov: i0.ɵɵInjectableDeclaration<DialogBoxService>;
|
|
1115
1116
|
}
|
|
1116
1117
|
|
|
1118
|
+
interface SidebarAttribute {
|
|
1119
|
+
attributeId?: number;
|
|
1120
|
+
attributeName: string;
|
|
1121
|
+
attributeDesc?: string;
|
|
1122
|
+
viewAccess?: boolean;
|
|
1123
|
+
createAccess?: boolean;
|
|
1124
|
+
updateAccess?: boolean;
|
|
1125
|
+
deleteAccess?: boolean;
|
|
1126
|
+
}
|
|
1127
|
+
interface SidebarFeature {
|
|
1128
|
+
featureId?: number;
|
|
1129
|
+
moduleId?: number;
|
|
1130
|
+
featuresName: string;
|
|
1131
|
+
icon?: string;
|
|
1132
|
+
activeIcon?: string;
|
|
1133
|
+
expandable?: boolean;
|
|
1134
|
+
url?: string;
|
|
1135
|
+
isEnable: boolean;
|
|
1136
|
+
attributes?: SidebarAttribute[];
|
|
1137
|
+
}
|
|
1138
|
+
interface SidebarModule {
|
|
1139
|
+
moduleName: string;
|
|
1140
|
+
icon?: string;
|
|
1141
|
+
activeIcon?: string;
|
|
1142
|
+
expandable?: boolean;
|
|
1143
|
+
url?: string;
|
|
1144
|
+
isEnable: boolean;
|
|
1145
|
+
features: SidebarFeature[];
|
|
1146
|
+
}
|
|
1117
1147
|
declare class SidebarComponent {
|
|
1148
|
+
config: SidebarModule[];
|
|
1149
|
+
expandedFeatures: Set<string>;
|
|
1150
|
+
activeItem: string | null;
|
|
1151
|
+
toggleFeature(key: string): void;
|
|
1152
|
+
isExpanded(key: string): boolean;
|
|
1153
|
+
setActive(key: string): void;
|
|
1118
1154
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
|
|
1119
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "cats-ui-sidebar", never, {}, {}, never, never, true, never>;
|
|
1155
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "cats-ui-sidebar", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
|
|
1120
1156
|
}
|
|
1121
1157
|
|
|
1122
1158
|
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 };
|
|
1159
|
+
export type { CalenderView, DatePickerConfig, DatePickerMode, DateRange, DateTimeResult, DialogConfig, FilterType, HeaderConfig, RadioButtonConfig, SidebarAttribute, SidebarFeature, SidebarModule, TabConfig, TabItem, TimeFilterConfig, TimeFilterOption, TimeFilterOutput, TimeFilterValue };
|