@energycap/components 0.39.4-ECAP-23220-bc-file-upload-dialog.20231221-0959 → 0.39.4-ECAP-23219-bills-tree-collapse.20231221-1321

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.
@@ -35,26 +35,6 @@ export declare class FileUploadComponent extends FormControlBase implements OnIn
35
35
  * and set the file name and contents to the formModel, otherwise on failure it'll do nothing.
36
36
  */
37
37
  onFileSelected?: (file: File) => Promise<any>;
38
- /**
39
- * Optional callback supported for when the hosting page needs to process multiple files
40
- * We simply map the FileList to an array of File objects and pass that array to the
41
- * callback and let the hosting page handle the processing
42
- */
43
- onMultipleFilesSelected?: (files: File[]) => Promise<any>;
44
- /**
45
- * Optional display type that controls whether the file input textbox is displayed or
46
- * simply a button the user clicks to launch the OS file storage dialog.
47
- * Default: file
48
- */
49
- displayType?: 'file' | 'button';
50
- /**
51
- * When display type is set to button this property will control the button label
52
- */
53
- buttonLabel?: string;
54
- /**
55
- * Optional property to control whether the user can select multiple files
56
- */
57
- multiSelect?: boolean;
58
38
  fileInput?: ElementRef;
59
39
  /** Property bound to the file input to filter what file types are shown in the dialog */
60
40
  fileTypeAccept: string | undefined;
@@ -88,11 +68,6 @@ export declare class FileUploadComponent extends FormControlBase implements OnIn
88
68
  * @param onFileSelectedResult
89
69
  */
90
70
  private patchFileResult;
91
- /** Maps the files to an array of File objects and sends them along
92
- * to the derived onMultipleFileSelected method in the hosting component
93
- */
94
- private handleMultipleFiles;
95
- private readFile;
96
71
  static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
97
- static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ec-file-upload", never, { "placeholder": "placeholder"; "fileType": "fileType"; "fileOutput": "fileOutput"; "customExtensions": "customExtensions"; "onFileSelected": "onFileSelected"; "onMultipleFilesSelected": "onMultipleFilesSelected"; "displayType": "displayType"; "buttonLabel": "buttonLabel"; "multiSelect": "multiSelect"; }, {}, never, never, false, never>;
72
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ec-file-upload", never, { "placeholder": "placeholder"; "fileType": "fileType"; "fileOutput": "fileOutput"; "customExtensions": "customExtensions"; "onFileSelected": "onFileSelected"; }, {}, never, never, false, never>;
98
73
  }
@@ -17,8 +17,8 @@ export declare class HierarchyItem implements LinkItem {
17
17
  queryParams?: Params | null;
18
18
  queryParamsHandling?: QueryParamsHandling;
19
19
  icon?: string;
20
- /** Display item as a link or a heading */
21
- display?: 'default' | 'heading';
20
+ /** Display item as a link, a heading, or with a divider line below it */
21
+ display?: 'default' | 'heading' | 'divider';
22
22
  /** Set to hide toggle, even if item has children */
23
23
  hideToggle?: boolean;
24
24
  /** Flag to indicate whether the item has children or not, mostly drives
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@energycap/components",
3
- "version": "0.39.4-ECAP-23220-bc-file-upload-dialog.20231221-0959",
3
+ "version": "0.39.4-ECAP-23219-bills-tree-collapse.20231221-1321",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },
@@ -41,7 +41,5 @@
41
41
  "ClearSelection_TC": "Clear Selection",
42
42
  "ItemPickerNoItemsSelected_SC": "No {{itemName}} selected. Select from the available {{itemName}} list.",
43
43
  "Done_TC": "Done",
44
- "LearnMore_SC": "Learn more",
45
- "SelectZipFiles_ELS": "Select ZIP files...",
46
- "Browse_TC": "Browse"
44
+ "LearnMore_SC": "Learn more"
47
45
  }