@symphony-talent/component-library 4.62.0 → 4.64.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.
Files changed (22) hide show
  1. package/esm2020/lib/atoms/input-file-upload/input-file-upload.component.mjs +23 -9
  2. package/esm2020/lib/atoms/input-file-upload/input-file-upload.model.mjs +1 -1
  3. package/esm2020/lib/atoms/input-file-upload/input-file-upload.module.mjs +7 -5
  4. package/esm2020/projects/component-library/lib/atoms/input-file-upload/input-file-upload.component.mjs +23 -9
  5. package/esm2020/projects/component-library/lib/atoms/input-file-upload/input-file-upload.model.mjs +1 -1
  6. package/esm2020/projects/component-library/lib/atoms/input-file-upload/input-file-upload.module.mjs +7 -5
  7. package/fesm2015/symphony-talent-component-library-projects-component-library.mjs +19 -6
  8. package/fesm2015/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
  9. package/fesm2015/symphony-talent-component-library.mjs +19 -6
  10. package/fesm2015/symphony-talent-component-library.mjs.map +1 -1
  11. package/fesm2020/symphony-talent-component-library-projects-component-library.mjs +19 -6
  12. package/fesm2020/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
  13. package/fesm2020/symphony-talent-component-library.mjs +19 -6
  14. package/fesm2020/symphony-talent-component-library.mjs.map +1 -1
  15. package/lib/atoms/input-file-upload/input-file-upload.component.d.ts +4 -1
  16. package/lib/atoms/input-file-upload/input-file-upload.model.d.ts +1 -0
  17. package/lib/atoms/input-file-upload/input-file-upload.module.d.ts +4 -3
  18. package/package.json +1 -1
  19. package/projects/component-library/global.scss +3 -0
  20. package/projects/component-library/lib/atoms/input-file-upload/input-file-upload.component.d.ts +4 -1
  21. package/projects/component-library/lib/atoms/input-file-upload/input-file-upload.model.d.ts +1 -0
  22. package/projects/component-library/lib/atoms/input-file-upload/input-file-upload.module.d.ts +4 -3
@@ -4,14 +4,17 @@ import * as i0 from "@angular/core";
4
4
  export declare class InputFileUploadComponent implements OnInit {
5
5
  inputFileUploadModel: InputFileUploadModel;
6
6
  closeButtonClicked: EventEmitter<void>;
7
+ textChanged: EventEmitter<string>;
7
8
  getFileDetails: EventEmitter<File>;
9
+ private toolTip;
8
10
  file: File;
9
11
  filetypeAccepted: string;
10
12
  constructor();
11
13
  ngOnInit(): void;
12
14
  onCloseButtonClick(): void;
13
15
  onFileSelect(event: any): void;
16
+ onTextChange(event: any): void;
14
17
  onClick(event: any): void;
15
18
  static ɵfac: i0.ɵɵFactoryDeclaration<InputFileUploadComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<InputFileUploadComponent, "symphony-input-file-upload", never, { "inputFileUploadModel": "inputFileUploadModel"; }, { "closeButtonClicked": "closeButtonClicked"; "getFileDetails": "getFileDetails"; }, never, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputFileUploadComponent, "symphony-input-file-upload", never, { "inputFileUploadModel": "inputFileUploadModel"; }, { "closeButtonClicked": "closeButtonClicked"; "textChanged": "textChanged"; "getFileDetails": "getFileDetails"; }, never, never>;
17
20
  }
@@ -5,4 +5,5 @@ export interface InputFileUploadModel {
5
5
  fileFormatAccepted: string[];
6
6
  hasError?: boolean;
7
7
  errorText?: string;
8
+ placeholder?: string;
8
9
  }
@@ -2,10 +2,11 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./input-file-upload.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "../icon/icon.module";
5
- import * as i4 from "../tooltip-wrapper/tooltip-wrapper.module";
6
- import * as i5 from "../paragraph/paragraph.module";
5
+ import * as i4 from "../paragraph/paragraph.module";
6
+ import * as i5 from "@angular/forms";
7
+ import * as i6 from "ngx-bootstrap/tooltip";
7
8
  export declare class InputFileUploadModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<InputFileUploadModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<InputFileUploadModule, [typeof i1.InputFileUploadComponent], [typeof i2.CommonModule, typeof i3.IconModule, typeof i4.TooltipWrapperModule, typeof i5.ParagraphModule], [typeof i1.InputFileUploadComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<InputFileUploadModule, [typeof i1.InputFileUploadComponent], [typeof i2.CommonModule, typeof i3.IconModule, typeof i4.ParagraphModule, typeof i5.FormsModule, typeof i6.TooltipModule], [typeof i1.InputFileUploadComponent]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<InputFileUploadModule>;
11
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symphony-talent/component-library",
3
- "version": "4.62.0",
3
+ "version": "4.64.0",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "ag-grid-angular": "^24.0.0",
@@ -206,6 +206,9 @@ body {
206
206
  .sfx-link {
207
207
  color: $color-st-link;
208
208
  }
209
+ .sfx-txt-red-v2 {
210
+ color: $color-v2-red-1;
211
+ }
209
212
  .sfx-v2-purple1 {
210
213
  color: $color-v2-purple-1;
211
214
  }
@@ -4,14 +4,17 @@ import * as i0 from "@angular/core";
4
4
  export declare class InputFileUploadComponent implements OnInit {
5
5
  inputFileUploadModel: InputFileUploadModel;
6
6
  closeButtonClicked: EventEmitter<void>;
7
+ textChanged: EventEmitter<string>;
7
8
  getFileDetails: EventEmitter<File>;
9
+ private toolTip;
8
10
  file: File;
9
11
  filetypeAccepted: string;
10
12
  constructor();
11
13
  ngOnInit(): void;
12
14
  onCloseButtonClick(): void;
13
15
  onFileSelect(event: any): void;
16
+ onTextChange(event: any): void;
14
17
  onClick(event: any): void;
15
18
  static ɵfac: i0.ɵɵFactoryDeclaration<InputFileUploadComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<InputFileUploadComponent, "symphony-input-file-upload", never, { "inputFileUploadModel": "inputFileUploadModel"; }, { "closeButtonClicked": "closeButtonClicked"; "getFileDetails": "getFileDetails"; }, never, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputFileUploadComponent, "symphony-input-file-upload", never, { "inputFileUploadModel": "inputFileUploadModel"; }, { "closeButtonClicked": "closeButtonClicked"; "textChanged": "textChanged"; "getFileDetails": "getFileDetails"; }, never, never>;
17
20
  }
@@ -5,4 +5,5 @@ export interface InputFileUploadModel {
5
5
  fileFormatAccepted: string[];
6
6
  hasError?: boolean;
7
7
  errorText?: string;
8
+ placeholder?: string;
8
9
  }
@@ -2,10 +2,11 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./input-file-upload.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "../icon/icon.module";
5
- import * as i4 from "../tooltip-wrapper/tooltip-wrapper.module";
6
- import * as i5 from "../paragraph/paragraph.module";
5
+ import * as i4 from "../paragraph/paragraph.module";
6
+ import * as i5 from "@angular/forms";
7
+ import * as i6 from "ngx-bootstrap/tooltip";
7
8
  export declare class InputFileUploadModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<InputFileUploadModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<InputFileUploadModule, [typeof i1.InputFileUploadComponent], [typeof i2.CommonModule, typeof i3.IconModule, typeof i4.TooltipWrapperModule, typeof i5.ParagraphModule], [typeof i1.InputFileUploadComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<InputFileUploadModule, [typeof i1.InputFileUploadComponent], [typeof i2.CommonModule, typeof i3.IconModule, typeof i4.ParagraphModule, typeof i5.FormsModule, typeof i6.TooltipModule], [typeof i1.InputFileUploadComponent]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<InputFileUploadModule>;
11
12
  }