ados-rcm 1.1.519 → 1.1.520

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.
@@ -3,12 +3,9 @@ import { default as ReactQuill } from 'react-quill-new';
3
3
  import { TUseValues } from '../../AHooks/useValues';
4
4
  import { IABaseProps } from '../ABase/ABase';
5
5
  import { IAWrapProps } from '../AWrap/AWrap';
6
- export interface IAEditorCopyContent {
7
- onError?: () => void;
8
- onSuccess?: () => void;
9
- }
6
+ import { IClipboardOptions } from './modules/Copy';
10
7
  export interface IAEditorRef extends ReactQuill {
11
- copyContent: (options?: IAEditorCopyContent) => void;
8
+ copyContent: (options?: IClipboardOptions) => void;
12
9
  }
13
10
  export type TAEditorType = 'Primary' | 'ReadOnly' | 'Raw' | 'Error';
14
11
  export type TAEditorToolbarType = 'Default' | 'Title';
@@ -27,7 +24,6 @@ export interface IAEditorProps extends IABaseProps, IAWrapProps {
27
24
  maxLength?: number;
28
25
  minHeight?: number;
29
26
  noImageResize?: boolean;
30
- onEnterPress?: (value: string) => void;
31
27
  placeholder?: string;
32
28
  readOnly?: boolean;
33
29
  size?: number;
@@ -38,4 +34,4 @@ export interface IAEditorProps extends IABaseProps, IAWrapProps {
38
34
  useError?: TUseValues<boolean>;
39
35
  useValue?: TUseValues<string>;
40
36
  }
41
- export declare const AEditor: React.MemoExoticComponent<(props: IAEditorProps) => React.ReactNode>;
37
+ export declare const AEditor: (props: IAEditorProps) => React.ReactNode;
@@ -0,0 +1,19 @@
1
+ import { default as Quill } from 'quill';
2
+ export interface IClipboardOptions {
3
+ onError?: () => void;
4
+ onSuccess?: () => void;
5
+ }
6
+ export interface ICopyModuleOptions {
7
+ isTitleMode?: boolean;
8
+ }
9
+ declare class CopyModule {
10
+ private quill;
11
+ private cleanupFunctions;
12
+ constructor(quill: Quill, options?: ICopyModuleOptions);
13
+ private setupTitleModePaste;
14
+ private replaceBreaksWithSpaces;
15
+ destroy(): void;
16
+ copyContent(options?: IClipboardOptions): Promise<boolean>;
17
+ copyToClipboard(text: string, html?: string, options?: IClipboardOptions): Promise<boolean>;
18
+ }
19
+ export default CopyModule;
@@ -0,0 +1,8 @@
1
+ declare const BlockEmbed: any;
2
+ declare class Divider extends BlockEmbed {
3
+ static [x: string]: any;
4
+ static blotName: string;
5
+ static tagName: string;
6
+ static create(value: any): any;
7
+ }
8
+ export default Divider;
@@ -0,0 +1,6 @@
1
+ import { default as TableUp, TableCellInnerFormat } from 'quill-table-up';
2
+ declare class JaeKanTableUp extends TableUp {
3
+ fixUnusuaDeletelTable(): void;
4
+ mergeCells(selectedTds: TableCellInnerFormat[]): void;
5
+ }
6
+ export default JaeKanTableUp;
@@ -85,6 +85,7 @@ export declare const Resources: {
85
85
  'Enter link:': string;
86
86
  'Enter video:': string;
87
87
  'Visit URL:': string;
88
+ Edit: string;
88
89
  Save: string;
89
90
  Remove: string;
90
91
  };