croco-html 2.52.0 → 2.55.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.
- package/esm2022/lib/components/editor/visual-editor/visual-editor.component.mjs +8 -15
- package/esm2022/lib/pipes/sprite-icon-path.pipe.mjs +2 -4
- package/fesm2022/croco-html.mjs +8 -18
- package/fesm2022/croco-html.mjs.map +1 -1
- package/lib/components/editor/visual-editor/visual-editor.component.d.ts +1 -2
- package/lib/index.d.ts +6 -6
- package/package.json +1 -1
- package/esm2022/sprites-hash.mjs +0 -2
- package/sprites-hash.d.ts +0 -4
- package/src/assets/svg-for-sprites/source-code-tab.svg +0 -4
- package/src/assets/svg-for-sprites/viewer-tab.svg +0 -5
- package/src/assets/svg-for-sprites/visual-editor-tab.svg +0 -5
|
@@ -45,8 +45,7 @@ export declare class VisualEditorComponent implements OnInit, AfterViewInit {
|
|
|
45
45
|
ngAfterViewInit(): void;
|
|
46
46
|
ngAfterContentChecked(): void;
|
|
47
47
|
addTag(): void;
|
|
48
|
-
startAddingText(): void;
|
|
49
|
-
finishAddingText(): void;
|
|
48
|
+
startAddingText(tag?: string): void;
|
|
50
49
|
resetTextStyle(): void;
|
|
51
50
|
addTextTags(): void;
|
|
52
51
|
postFilesStartedEventHandler(model: FilePostingStarted): void;
|
package/lib/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { MainEditorBlockComponent } from "./components";
|
|
|
3
3
|
import { MainEditorComponent } from "./components";
|
|
4
4
|
import { FileIdSelectComponent } from "./components";
|
|
5
5
|
import { XmlTagHeaderInnerTextViewComponent } from "./components";
|
|
6
|
-
import { XmlTagHtmlViewComponent } from "./components";
|
|
7
6
|
import { XmlTagRichTextViewComponent } from "./components";
|
|
8
7
|
import { XmlTagTableViewComponent } from "./components";
|
|
9
8
|
import { XmlTagViewComponent } from "./components";
|
|
@@ -11,13 +10,14 @@ import { VisualEditorComponent } from './components';
|
|
|
11
10
|
import { AddFilesBtnComponent } from './components';
|
|
12
11
|
import { XmlTagExternalVideoComponent } from "./components";
|
|
13
12
|
import { HtmlRawEditorComponent } from "./components";
|
|
14
|
-
import {
|
|
13
|
+
import { MatTabsModule } from '@angular/material/tabs';
|
|
15
14
|
import { RichTextToHtmlPipe, TagToSpanPipe, ToHtmlBodyTagsPipe, ToPreviewHtmlPipe, ToPreviewPipe } from "./pipes";
|
|
16
15
|
import { FileImageTagViewComponent, UploadFilesBtnComponent } from "./components";
|
|
17
16
|
import { HtmlRawViewComponent } from "./components";
|
|
17
|
+
import { HtmlViewComponent } from "./components";
|
|
18
18
|
import { XmlTagCustomWidgetComponent } from "./components";
|
|
19
|
-
export declare const EditorComponents: (typeof AddFilesBtnComponent | typeof
|
|
20
|
-
export declare const XmlComponents: (typeof
|
|
19
|
+
export declare const EditorComponents: (typeof AddFilesBtnComponent | typeof MainEditorBlockComponent | typeof VisualEditorComponent | typeof MainEditorComponent | typeof HtmlRawEditorComponent | typeof FileIdSelectComponent | typeof ImageEditorComponent)[];
|
|
20
|
+
export declare const XmlComponents: (typeof XmlTagViewComponent | typeof HtmlViewComponent | typeof XmlTagExternalVideoComponent | typeof XmlTagHeaderInnerTextViewComponent | typeof XmlTagRichTextViewComponent | typeof XmlTagTableViewComponent | typeof FileImageTagViewComponent | typeof HtmlRawViewComponent | typeof XmlTagCustomWidgetComponent)[];
|
|
21
21
|
export declare const CrocoPipes: (typeof RichTextToHtmlPipe | typeof ToPreviewPipe | typeof TagToSpanPipe | typeof ToHtmlBodyTagsPipe | typeof ToPreviewHtmlPipe)[];
|
|
22
|
-
export declare const CrocoHtmlDeclarations: (typeof
|
|
23
|
-
export declare const MaterialModules: (typeof
|
|
22
|
+
export declare const CrocoHtmlDeclarations: (typeof AddFilesBtnComponent | typeof MainEditorBlockComponent | typeof VisualEditorComponent | typeof XmlTagViewComponent | typeof HtmlViewComponent | typeof MainEditorComponent | typeof UploadFilesBtnComponent | typeof XmlTagExternalVideoComponent | typeof XmlTagHeaderInnerTextViewComponent | typeof RichTextToHtmlPipe | typeof XmlTagRichTextViewComponent | typeof XmlTagTableViewComponent | typeof FileImageTagViewComponent | typeof HtmlRawViewComponent | typeof XmlTagCustomWidgetComponent | typeof HtmlRawEditorComponent | typeof FileIdSelectComponent | typeof ImageEditorComponent | typeof ToPreviewPipe | typeof TagToSpanPipe | typeof ToHtmlBodyTagsPipe | typeof ToPreviewHtmlPipe)[];
|
|
23
|
+
export declare const MaterialModules: (typeof MatTabsModule)[];
|
package/package.json
CHANGED
package/esm2022/sprites-hash.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export const spritesHash = { symbol: "croco-html-svg-sprite", useHash: false };
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ByaXRlcy1oYXNoLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvY3JvY28taHRtbC9zcmMvc3ByaXRlcy1oYXNoLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLFdBQVcsR0FBRyxFQUFFLE1BQU0sRUFBRSx1QkFBdUIsRUFBRSxPQUFPLEVBQUUsS0FBSyxFQUFFLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3Qgc3ByaXRlc0hhc2ggPSB7IHN5bWJvbDogXCJjcm9jby1odG1sLXN2Zy1zcHJpdGVcIiwgdXNlSGFzaDogZmFsc2UgfTsiXX0=
|
package/sprites-hash.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="30" height="24" viewBox="0 0 30 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path
|
|
3
|
-
d="M13.0746 23.9757L10.2152 23.146C9.91523 23.0617 9.74648 22.7476 9.83086 22.4476L16.2293 0.406986C16.3137 0.106985 16.6277 -0.0617645 16.9277 0.0226105L19.7871 0.852298C20.0871 0.936673 20.2559 1.25074 20.1715 1.55074L13.773 23.5914C13.684 23.8914 13.3746 24.0648 13.0746 23.9757ZM7.73086 18.7164L9.76992 16.5414C9.98555 16.3117 9.97148 15.946 9.73242 15.7351L5.48555 11.9992L9.73242 8.26324C9.97148 8.0523 9.99023 7.68667 9.76992 7.45699L7.73086 5.28199C7.51992 5.05699 7.16367 5.04292 6.93398 5.25855L0.179297 11.5867C-0.0597656 11.807 -0.0597656 12.1867 0.179297 12.407L6.93398 18.7398C7.16367 18.9554 7.51992 18.946 7.73086 18.7164ZM23.0684 18.7445L29.823 12.4117C30.0621 12.1914 30.0621 11.8117 29.823 11.5914L23.0684 5.25386C22.8434 5.04292 22.4871 5.0523 22.2715 5.2773L20.2324 7.4523C20.0168 7.68199 20.0309 8.04761 20.2699 8.25855L24.5168 11.9992L20.2699 15.7351C20.0309 15.946 20.0121 16.3117 20.2324 16.5414L22.2715 18.7164C22.4824 18.946 22.8387 18.9554 23.0684 18.7445Z"/>
|
|
4
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="32" height="30" viewBox="0 0 32 30" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path
|
|
3
|
-
d="M31.8081 14.1889C28.797 8.31109 22.8303 4.33331 16.0026 4.33331C9.17479 4.33331 3.20813 8.31109 0.197015 14.1889C0.0700503 14.4404 0.00390625 14.7182 0.00390625 15C0.00390625 15.2817 0.0700503 15.5596 0.197015 15.8111C3.20813 21.6889 9.17479 25.6666 16.0026 25.6666C22.8303 25.6666 28.797 21.6889 31.8081 15.8111C31.9351 15.5596 32.0012 15.2817 32.0012 15C32.0012 14.7182 31.9351 14.4404 31.8081 14.1889ZM16.0026 23C14.4203 23 12.8736 22.5308 11.558 21.6517C10.2424 20.7727 9.21704 19.5233 8.61154 18.0614C8.00603 16.5996 7.84761 14.9911 8.15629 13.4393C8.46497 11.8874 9.2269 10.4619 10.3457 9.34313C11.4645 8.22431 12.89 7.46238 14.4418 7.1537C15.9937 6.84502 17.6022 7.00344 19.064 7.60894C20.5258 8.21444 21.7753 9.23982 22.6543 10.5554C23.5334 11.871 24.0026 13.4177 24.0026 15C24.0033 16.0508 23.7969 17.0914 23.3951 18.0623C22.9933 19.0332 22.4041 19.9154 21.6611 20.6585C20.918 21.4015 20.0358 21.9907 19.0649 22.3925C18.094 22.7943 17.0534 23.0007 16.0026 23ZM16.0026 9.66665C15.5267 9.67352 15.0539 9.74453 14.597 9.87776C14.9689 10.3904 15.1459 11.0188 15.096 11.6502C15.0461 12.2815 14.7726 12.8744 14.3248 13.3222C13.877 13.7701 13.2841 14.0435 12.6528 14.0934C12.0214 14.1433 11.393 13.9664 10.8803 13.5944C10.5886 14.6689 10.6413 15.8079 11.0308 16.8509C11.4203 17.8939 12.1271 18.7885 13.0518 19.4088C13.9764 20.029 15.0723 20.3436 16.1851 20.3084C17.2979 20.2732 18.3717 19.8898 19.2552 19.2123C20.1388 18.5348 20.7876 17.5973 21.1103 16.5317C21.4331 15.4661 21.4135 14.3261 21.0544 13.2722C20.6953 12.2183 20.0147 11.3036 19.1085 10.6568C18.2022 10.01 17.116 9.6637 16.0026 9.66665Z"/>
|
|
4
|
-
<rect width="32" height="28.4444" fill="none"/>
|
|
5
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="32" height="26" viewBox="0 0 32 26" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path
|
|
3
|
-
d="M12.75 13.285C13.065 13.6 13.57 13.6 13.88 13.285L14.445 12.72C14.76 12.405 14.76 11.9 14.445 11.59L12.665 9.80001L14.45 8.01501C14.765 7.70001 14.765 7.19501 14.45 6.88501L13.885 6.32001C13.57 6.00501 13.065 6.00501 12.755 6.32001L9.84 9.23501C9.525 9.55001 9.525 10.055 9.84 10.365L12.76 13.28L12.75 13.285ZM17.55 12.72L18.115 13.285C18.43 13.6 18.935 13.6 19.245 13.285L22.16 10.37C22.475 10.055 22.475 9.55001 22.16 9.24001L19.245 6.32501C18.93 6.01001 18.425 6.01001 18.115 6.32501L17.55 6.89001C17.235 7.20501 17.235 7.71001 17.55 8.02001L19.34 9.80001L17.555 11.585C17.24 11.9 17.24 12.405 17.555 12.715L17.55 12.72ZM31.2 21H19.075C19.04 21.99 18.34 22.6 17.44 22.6H14.4C13.465 22.6 12.75 21.725 12.76 21H0.8C0.36 21 0 21.36 0 21.8V22.6C0 24.36 1.44 25.8 3.2 25.8H28.8C30.56 25.8 32 24.36 32 22.6V21.8C32 21.36 31.64 21 31.2 21ZM28.8 2.60001C28.8 1.28001 27.72 0.200012 26.4 0.200012H5.6C4.28 0.200012 3.2 1.28001 3.2 2.60001V19.4H28.8V2.60001ZM25.6 16.2H6.4V3.40001H25.6V16.2Z"/>
|
|
4
|
-
<rect width="32" height="25.6" fill="none"/>
|
|
5
|
-
</svg>
|