Socket
Socket
Sign inDemoInstall

wily-angular-commons

Package Overview
Dependencies
57
Maintainers
2
Versions
58
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 13.0.0-rc4 to 13.0.0-rc5

app/modules/rich-text/text-align.d.ts

151

app/modules/rich-text/rich-text.component.d.ts

@@ -1,98 +0,17 @@

import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, Renderer2 } from '@angular/core';
import { AfterViewInit, EventEmitter } from '@angular/core';
import { Editor } from '@tiptap/core';
import { ControlValueAccessor } from '@angular/forms';
import { EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
/**
* Accessor information for the Rich Text Editor
*/
export declare const RICH_TEXT_VALUE_ACCESSOR: any;
/**
* Rich Text Editor that wraps Quill. Allows us to customize.
* TODO: Remove formatting on paste (preserve new-lines)
*/
export declare class RichTextComponent implements AfterViewInit, ControlValueAccessor, OnDestroy {
private renderer;
private changeDetectorRef;
/**
* ViewChild of the editor div
*/
editor: ElementRef<HTMLDivElement>;
/**
* ViewChild of the editor toolbar div
*/
toolbar: ElementRef<HTMLDivElement>;
/**
* Set value
* @param value the value to set
*/
set value(value: string);
/**
* Get value
*/
get value(): string;
/**
* Enable hide/show of the Rich Text controls. If false, show them all the time.
*/
doHideShow: boolean;
/**
* Height of the input
*/
export declare class RichTextComponent implements ControlValueAccessor, AfterViewInit {
placeholder: string;
hideControls: boolean;
height: string;
/**
* Sets the input to readonly
*/
readonly: boolean;
/**
* Placeholder text
*/
placeholder: string;
/**
* Toolbar background color
*/
toolbarClassList: string;
/**
* Editor background color
*/
editorClassList: string;
/**
* Event emitted on editor text change
*/
get readonly(): boolean;
set readonly(readonly: boolean);
textChanged: EventEmitter<{
htmlValue: string;
textValue: string;
delta: any;
source: any;
}>;
/**
* Event emitted on selection change
*/
selectionChanged: EventEmitter<any>;
/**
* Event emitted when the editor has initialized. Emits the underlying quill instance
*/
init: EventEmitter<any>;
/**
* Toolbar visible?
*/
toolbarVisible: boolean;
/**
* Whether or not the editor has focus
*/
editorFocused: boolean;
/**
* The value of the editor
* @private
*/
private _value;
/**
* Reference to the underlying Quill instance
* @private
*/
private quill;
/**
* Array of keyup event unlisten functions
* @private
*/
private keyupUnlisteners;
/**
* Function called on change

@@ -105,53 +24,17 @@ */

onTouched: (() => void) | undefined;
/**
* Dependency injection site
* @param renderer the Angular renderer
* @param changeDetectorRef reference to the Angular change detection service
*/
constructor(renderer: Renderer2, changeDetectorRef: ChangeDetectorRef);
/**
* Allow a user to point at an image on the internet so that it's not just embedded in the text.
*/
private _value;
private _editable;
editor: Editor;
get value(): any;
set value(value: string);
private static formatLegacyRichText;
ngAfterViewInit(): void;
/**
* Destroy component, invoke keyup unlisten functions
*/
ngOnDestroy(): void;
/**
* Register change function
* @param fn the function to call on change
*/
onBlur(): void;
writeValue(value: string): void;
registerOnChange(fn: any): void;
/**
* Register touched function
* @param fn the function to call on touch
*/
registerOnTouched(fn: any): void;
/**
* Set disabled state
* @param isDisabled whether or not the control is disabled
*/
setDisabledState(isDisabled: boolean): void;
/**
* Write to the editor
* @param value the value to write
*/
writeValue(value: any): void;
/**
* Listen for editor focus on tab
* @param event the keyup KeyboardEvent
*/
onKeyUp(event: KeyboardEvent): void;
/**
* Listen for editor focus on click
*/
onClick(): void;
/**
* Applies accessibility to a quill editor
* TODO: Deprecate this method once this issue is resolved (https://github.com/quilljs/quill/issues/1173)
* @param {object} editor - A Quill editor instance
*/
applyAccessibilityHacks(editor: any): void;
setLink(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<RichTextComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<RichTextComponent, "wily-rich-text", never, { "value": "value"; "doHideShow": "doHideShow"; "height": "height"; "readonly": "readonly"; "placeholder": "placeholder"; "toolbarClassList": "toolbarClassList"; "editorClassList": "editorClassList"; }, { "textChanged": "textChanged"; "selectionChanged": "selectionChanged"; "init": "init"; }, never, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<RichTextComponent, "wily-rich-text", never, { "placeholder": "placeholder"; "hideControls": "hideControls"; "height": "height"; "readonly": "readonly"; }, { "textChanged": "textChanged"; }, never, never>;
}
import * as i0 from "@angular/core";
import * as i1 from "./rich-text.component";
import * as i2 from "./rich-text-v2/rich-text-v2.component";
import * as i3 from "@angular/common";
import * as i4 from "../tooltip/tooltip.module";
import * as i5 from "ngx-tiptap";
import * as i6 from "@angular/forms";
import * as i7 from "@angular/platform-browser";
import * as i2 from "@angular/common";
import * as i3 from "../tooltip/tooltip.module";
import * as i4 from "ngx-tiptap";
import * as i5 from "@angular/forms";
import * as i6 from "@angular/platform-browser";
export declare class WilyRichTextModule {
static ɵfac: i0.ɵɵFactoryDeclaration<WilyRichTextModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<WilyRichTextModule, [typeof i1.RichTextComponent, typeof i2.RichTextV2Component], [typeof i3.CommonModule, typeof i4.WilyTooltipModule, typeof i5.NgxTiptapModule, typeof i6.FormsModule, typeof i7.BrowserModule], [typeof i1.RichTextComponent, typeof i2.RichTextV2Component]>;
static ɵmod: i0.ɵɵNgModuleDeclaration<WilyRichTextModule, [typeof i1.RichTextComponent], [typeof i2.CommonModule, typeof i3.WilyTooltipModule, typeof i4.NgxTiptapModule, typeof i5.FormsModule, typeof i6.BrowserModule], [typeof i1.RichTextComponent]>;
static ɵinj: i0.ɵɵInjectorDeclaration<WilyRichTextModule>;
}
{
"name": "wily-angular-commons",
"version": "13.0.0-rc4",
"version": "13.0.0-rc5",
"license": "MIT",

@@ -12,3 +12,3 @@ "private": false,

"intl": "^1.2.5",
"quill": "^1.3.7",
"ngx-tiptap": "^4.0.4",
"rxjs": "^7.5.4",

@@ -15,0 +15,0 @@ "web-animations-js": "^2.3.2",

@@ -33,3 +33,2 @@ /** MODULES */

export * from './app/modules/rich-text/rich-text.component';
export * from './app/modules/rich-text/rich-text-v2/rich-text-v2.component';
export * from './app/modules/endpoint-state/components/endpoint-state.component';

@@ -36,0 +35,0 @@ export * from './app/modules/dialog/dialog.component';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc