@dotcms/angular 1.2.5-next.6 → 1.2.5-next.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.
- package/README.md +15 -15
- package/fesm2022/dotcms-angular.mjs +96 -92
- package/fesm2022/dotcms-angular.mjs.map +1 -1
- package/lib/components/dotcms-editable-text/dotcms-editable-text.component.d.ts +14 -1
- package/lib/components/dotcms-editable-text/dotcms-editable-text.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3,6 +3,18 @@ import { OnChanges, OnInit } from '@angular/core';
|
|
|
3
3
|
import { DotCMSBasicContentlet } from '@dotcms/types';
|
|
4
4
|
import { DOT_EDITABLE_TEXT_FORMAT, DOT_EDITABLE_TEXT_MODE } from './utils';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/** Minimal TinyMCE editor API used by this component (avoids non-portable reference to nested tinymce types). */
|
|
7
|
+
interface DotEditableTextEditor {
|
|
8
|
+
getContent(options?: {
|
|
9
|
+
format?: string;
|
|
10
|
+
}): string;
|
|
11
|
+
isDirty(): boolean;
|
|
12
|
+
setContent(content: string, options?: {
|
|
13
|
+
format?: string;
|
|
14
|
+
}): void;
|
|
15
|
+
focus(): void;
|
|
16
|
+
hasFocus(): boolean;
|
|
17
|
+
}
|
|
6
18
|
/**
|
|
7
19
|
* Dot editable text component.
|
|
8
20
|
* This component is responsible to render a text field that can be edited inline.
|
|
@@ -63,7 +75,7 @@ export declare class DotCMSEditableTextComponent<T extends DotCMSBasicContentlet
|
|
|
63
75
|
* @readonly
|
|
64
76
|
* @memberof DotCMSEditableTextComponent
|
|
65
77
|
*/
|
|
66
|
-
get editor():
|
|
78
|
+
get editor(): DotEditableTextEditor | undefined;
|
|
67
79
|
/**
|
|
68
80
|
* Represents if the component is inside the editor
|
|
69
81
|
*
|
|
@@ -127,4 +139,5 @@ export declare class DotCMSEditableTextComponent<T extends DotCMSBasicContentlet
|
|
|
127
139
|
static ɵfac: i0.ɵɵFactoryDeclaration<DotCMSEditableTextComponent<any>, never>;
|
|
128
140
|
static ɵcmp: i0.ɵɵComponentDeclaration<DotCMSEditableTextComponent<any>, "dotcms-editable-text", never, { "mode": { "alias": "mode"; "required": false; }; "format": { "alias": "format"; "required": false; }; "contentlet": { "alias": "contentlet"; "required": false; }; "fieldName": { "alias": "fieldName"; "required": false; }; }, {}, never, never, true, never>;
|
|
129
141
|
}
|
|
142
|
+
export {};
|
|
130
143
|
//# sourceMappingURL=dotcms-editable-text.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dotcms-editable-text.component.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdk/angular/src/lib/components/dotcms-editable-text/dotcms-editable-text.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAsB,MAAM,0BAA0B,CAAC;AAE/E,OAAO,EAMH,SAAS,EACT,MAAM,EAIT,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,qBAAqB,EAA6B,MAAM,eAAe,CAAC;AAKjF,OAAO,EAAkB,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;;AAE3F;;;;;;;;GAQG;AACH,qBAgBa,2BAA2B,CAAC,CAAC,SAAS,qBAAqB,CACpE,YAAW,MAAM,EAAE,SAAS;;IAEA,eAAe,EAAG,eAAe,CAAC;IAE9D;;;;;OAKG;IACM,IAAI,EAAE,sBAAsB,CAAW;IAChD;;;;;OAKG;IACM,MAAM,EAAE,wBAAwB,CAAU;IACnD;;;;;OAKG;IACM,UAAU,EAAG,CAAC,CAAC;IACxB;;;;OAIG;IACM,SAAS,EAAG,MAAM,CAAC,CAAC;IAE7B;;;;;OAKG;IACH,SAAS,CAAC,OAAO,SAAM;IACvB;;;;;;OAMG;IACH,SAAS,CAAC,IAAI,EAAG,eAAe,CAAC,MAAM,CAAC,CAAC;IASzC;;;;;OAKG;IACH,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"dotcms-editable-text.component.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdk/angular/src/lib/components/dotcms-editable-text/dotcms-editable-text.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAsB,MAAM,0BAA0B,CAAC;AAE/E,OAAO,EAMH,SAAS,EACT,MAAM,EAIT,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,qBAAqB,EAA6B,MAAM,eAAe,CAAC;AAKjF,OAAO,EAAkB,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;;AAE3F,iHAAiH;AACjH,UAAU,qBAAqB;IAC3B,UAAU,CAAC,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM,CAAC;IAClD,OAAO,IAAI,OAAO,CAAC;IACnB,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IACjE,KAAK,IAAI,IAAI,CAAC;IACd,QAAQ,IAAI,OAAO,CAAC;CACvB;AAED;;;;;;;;GAQG;AACH,qBAgBa,2BAA2B,CAAC,CAAC,SAAS,qBAAqB,CACpE,YAAW,MAAM,EAAE,SAAS;;IAEA,eAAe,EAAG,eAAe,CAAC;IAE9D;;;;;OAKG;IACM,IAAI,EAAE,sBAAsB,CAAW;IAChD;;;;;OAKG;IACM,MAAM,EAAE,wBAAwB,CAAU;IACnD;;;;;OAKG;IACM,UAAU,EAAG,CAAC,CAAC;IACxB;;;;OAIG;IACM,SAAS,EAAG,MAAM,CAAC,CAAC;IAE7B;;;;;OAKG;IACH,SAAS,CAAC,OAAO,SAAM;IACvB;;;;;;OAMG;IACH,SAAS,CAAC,IAAI,EAAG,eAAe,CAAC,MAAM,CAAC,CAAC;IASzC;;;;;OAKG;IACH,IAAI,MAAM,IAAI,qBAAqB,GAAG,SAAS,CAE9C;IAED;;;;;;OAMG;IACH,SAAS,KAAK,UAAU,sCAIvB;IAED;;;;;OAKG;IACH,IAAI,eAAe,eAElB;IAED;;;;;;OAMG;IAEH,SAAS,CAAC,EAAE,IAAI,EAAE,EAAE,YAAY;IAgBhC,QAAQ;IAmBR,WAAW;IAOX;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,KAAK,EAAE,EAAE;QAAE,KAAK,EAAE,UAAU,CAAA;KAAE;IAyB5C;;;;;OAKG;IACH,UAAU;IA8BV;;;;;;;OAOG;IACH,OAAO,CAAC,kBAAkB;IAQ1B;;;;;;;OAOG;IACH,OAAO,CAAC,gBAAgB;yCAvOf,2BAA2B;2CAA3B,2BAA2B;CA0OvC"}
|