@ieeesa-npm/presentation 0.22.6 → 0.22.7

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.
@@ -1,10 +1,10 @@
1
- import { AfterViewInit, ElementRef, EventEmitter, OnInit, Renderer2 } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
3
  import { EditorConfig } from 'ngx-simple-text-editor';
4
4
  import { FieldConfig } from '../../models/field-config.model';
5
5
  import { FormUtilityService } from '../../services/form-utility.service';
6
6
  import * as i0 from "@angular/core";
7
- export declare class RichTextEditorComponent implements OnInit, AfterViewInit {
7
+ export declare class RichTextEditorComponent implements OnInit, AfterViewInit, OnDestroy {
8
8
  private elementRef;
9
9
  private renderer;
10
10
  private formUtilityService;
@@ -33,6 +33,9 @@ export declare class RichTextEditorComponent implements OnInit, AfterViewInit {
33
33
  */
34
34
  get editorConfig(): EditorConfig;
35
35
  richTextEditorContentChange: EventEmitter<string>;
36
+ colorPickerInput: HTMLInputElement;
37
+ colorPickerButton: HTMLElement;
38
+ operatingSystemName: string;
36
39
  constructor(elementRef: ElementRef, renderer: Renderer2, formUtilityService: FormUtilityService);
37
40
  /**
38
41
  * Initializes the form group and config details.
@@ -45,6 +48,18 @@ export declare class RichTextEditorComponent implements OnInit, AfterViewInit {
45
48
  * @memberof RichTextEditorComponent
46
49
  */
47
50
  ngAfterViewInit(): void;
51
+ /**
52
+ * Opens/closes the color picker explicitly for Safari browser.
53
+ * @memberof RichTextEditorComponent
54
+ * @returns {void}
55
+ */
56
+ toggleColorPicker(): void;
57
+ /**
58
+ * Sets the height and width of the input field color to open the color picker in Safari.
59
+ * @memberof RichTextEditorComponent
60
+ * @returns {void}
61
+ */
62
+ setColorPickerInputStyle(pixelValue: string): void;
48
63
  /**
49
64
  * Sets RTE toolbar buttons button type to button to prevent form submit event when the toolbar buttons clicked.
50
65
  */
@@ -55,6 +70,18 @@ export declare class RichTextEditorComponent implements OnInit, AfterViewInit {
55
70
  * @memberof RichTextEditorComponent
56
71
  */
57
72
  onRichTextEditorContentChange(): void;
73
+ /**
74
+ * Gets the operating system name of the client machine.
75
+ * @memberof RichTextEditorComponent
76
+ * @returns {string}
77
+ */
78
+ getOperatingSystemName(): string;
79
+ /**
80
+ * Removes the click event listener of color picker button.
81
+ * @memberof RichTextEditorComponent
82
+ * @returns {void}
83
+ */
84
+ ngOnDestroy(): void;
58
85
  static ɵfac: i0.ɵɵFactoryDeclaration<RichTextEditorComponent, never>;
59
86
  static ɵcmp: i0.ɵɵComponentDeclaration<RichTextEditorComponent, "ieeesa-rich-text-editor", never, { "value": { "alias": "value"; "required": false; }; "editorLabel": { "alias": "editorLabel"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "isEditorLabelNeeded": { "alias": "isEditorLabelNeeded"; "required": false; }; "editorConfig": { "alias": "editorConfig"; "required": false; }; }, { "richTextEditorContentChange": "richTextEditorContentChange"; }, never, never, true, never>;
60
87
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/presentation",
3
- "version": "0.22.6",
3
+ "version": "0.22.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",