@firestitch/content 18.0.2 → 18.0.4
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/app/modules/content/components/content/content.component.d.ts +2 -7
- package/app/modules/content/components/content-renderer/content-renderer.component.d.ts +2 -5
- package/app/modules/content-layouts/components/content-layout/content-layout.component.d.ts +2 -6
- package/app/modules/content-layouts/components/content-layout-editor/content-layout-editor.component.d.ts +2 -9
- package/app/modules/content-layouts/components/content-layouts/content-layouts.component.d.ts +1 -4
- package/app/modules/content-pages/components/content-page/content-page.component.d.ts +2 -6
- package/app/modules/content-pages/components/content-page-editor/content-page-editor.component.d.ts +2 -9
- package/app/modules/content-pages/components/content-pages/content-pages.component.d.ts +1 -4
- package/app/modules/content-pages/fs-content-pages.module.d.ts +1 -23
- package/app/modules/content-style/components/content-style/content-style.component.d.ts +2 -5
- package/app/modules/editor/components/editor/editor.component.d.ts +2 -4
- package/app/modules/editor/components/editor-label/editor-label.component.d.ts +1 -1
- package/esm2022/app/enums/index.mjs +1 -1
- package/esm2022/app/interfaces/index.mjs +1 -1
- package/esm2022/app/modules/content/components/content/content.component.mjs +13 -28
- package/esm2022/app/modules/content/components/content-renderer/content-renderer.component.mjs +10 -20
- package/esm2022/app/modules/content-layouts/components/content-layout/content-layout.component.mjs +36 -33
- package/esm2022/app/modules/content-layouts/components/content-layout-editor/content-layout-editor.component.mjs +43 -36
- package/esm2022/app/modules/content-layouts/components/content-layouts/content-layouts.component.mjs +17 -20
- package/esm2022/app/modules/content-pages/components/content-page/content-page.component.mjs +40 -36
- package/esm2022/app/modules/content-pages/components/content-page-editor/content-page-editor.component.mjs +46 -37
- package/esm2022/app/modules/content-pages/components/content-pages/content-pages.component.mjs +17 -20
- package/esm2022/app/modules/content-pages/components/index.mjs +1 -1
- package/esm2022/app/modules/content-pages/fs-content-pages.module.mjs +9 -95
- package/esm2022/app/modules/content-style/components/content-style/content-style.component.mjs +22 -23
- package/esm2022/app/modules/editor/components/editor/editor.component.mjs +28 -19
- package/esm2022/app/modules/editor/components/editor-label/editor-label.component.mjs +4 -4
- package/esm2022/public_api.mjs +1 -4
- package/fesm2022/firestitch-content.mjs +388 -686
- package/fesm2022/firestitch-content.mjs.map +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +0 -3
- package/app/modules/content/components/content/index.d.ts +0 -1
- package/app/modules/content/components/content-renderer/index.d.ts +0 -1
- package/app/modules/content/fs-content.module.d.ts +0 -10
- package/app/modules/content-layouts/components/content-layout-editor/index.d.ts +0 -1
- package/app/modules/content-layouts/components/content-layouts/index.d.ts +0 -1
- package/app/modules/content-layouts/components/index.d.ts +0 -3
- package/app/modules/content-layouts/fs-content-layouts.module.d.ts +0 -29
- package/app/modules/content-style/fs-content-style.module.d.ts +0 -14
- package/app/modules/editor/components/editor-label/index.d.ts +0 -1
- package/app/modules/editor/fs-content-editor.module.d.ts +0 -24
- package/app/modules/editor/index.d.ts +0 -1
- package/esm2022/app/modules/content/components/content/index.mjs +0 -2
- package/esm2022/app/modules/content/components/content-renderer/index.mjs +0 -2
- package/esm2022/app/modules/content/fs-content.module.mjs +0 -31
- package/esm2022/app/modules/content-layouts/components/content-layout-editor/index.mjs +0 -2
- package/esm2022/app/modules/content-layouts/components/content-layouts/index.mjs +0 -2
- package/esm2022/app/modules/content-layouts/components/index.mjs +0 -4
- package/esm2022/app/modules/content-layouts/fs-content-layouts.module.mjs +0 -106
- package/esm2022/app/modules/content-style/fs-content-style.module.mjs +0 -48
- package/esm2022/app/modules/editor/components/editor-label/index.mjs +0 -2
- package/esm2022/app/modules/editor/fs-content-editor.module.mjs +0 -87
- package/esm2022/app/modules/editor/index.mjs +0 -2
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, Input, } from '@angular/core';
|
|
2
|
+
import { NgClass } from '@angular/common';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
4
|
export class EditorLabelComponent {
|
|
5
5
|
changed;
|
|
6
6
|
focused;
|
|
7
7
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: EditorLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
8
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: EditorLabelComponent, isStandalone: true, selector: "app-editor-label", inputs: { changed: "changed", focused: "focused" }, ngImport: i0, template: "<div class=\"label\" [ngClass]=\"{ focused: focused }\">\n <ng-content></ng-content>\n @if (changed) {\n <span class=\"changed\"> ●</span>\n }\n</div>\n", styles: [".label{display:inline-block;background-color:#1e1e1e;color:#c8c8c8;padding:3px 9px 2px;border-top-left-radius:6px;border-top-right-radius:6px;font-size:80%;text-transform:uppercase}.label.focused{color:#fff}.label .changed{font-size:110%;line-height:0}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9
9
|
}
|
|
10
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: EditorLabelComponent, decorators: [{
|
|
11
11
|
type: Component,
|
|
12
|
-
args: [{ selector: 'app-editor-label', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"label\" [ngClass]=\"{ focused: focused }\">\n <ng-content></ng-content>\n
|
|
12
|
+
args: [{ selector: 'app-editor-label', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgClass], template: "<div class=\"label\" [ngClass]=\"{ focused: focused }\">\n <ng-content></ng-content>\n @if (changed) {\n <span class=\"changed\"> ●</span>\n }\n</div>\n", styles: [".label{display:inline-block;background-color:#1e1e1e;color:#c8c8c8;padding:3px 9px 2px;border-top-left-radius:6px;border-top-right-radius:6px;font-size:80%;text-transform:uppercase}.label.focused{color:#fff}.label .changed{font-size:110%;line-height:0}\n"] }]
|
|
13
13
|
}], propDecorators: { changed: [{
|
|
14
14
|
type: Input
|
|
15
15
|
}], focused: [{
|
|
16
16
|
type: Input
|
|
17
17
|
}] } });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdG9yLWxhYmVsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9lZGl0b3IvY29tcG9uZW50cy9lZGl0b3ItbGFiZWwvZWRpdG9yLWxhYmVsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9lZGl0b3IvY29tcG9uZW50cy9lZGl0b3ItbGFiZWwvZWRpdG9yLWxhYmVsLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULEtBQUssR0FDTixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0saUJBQWlCLENBQUM7O0FBVzFDLE1BQU0sT0FBTyxvQkFBb0I7SUFHeEIsT0FBTyxDQUFVO0lBR2pCLE9BQU8sQ0FBVTt1R0FOYixvQkFBb0I7MkZBQXBCLG9CQUFvQixnSUNoQmpDLDJLQU1BLHdURFFjLE9BQU87OzJGQUVSLG9CQUFvQjtrQkFSaEMsU0FBUzsrQkFDSSxrQkFBa0IsbUJBR1gsdUJBQXVCLENBQUMsTUFBTSxjQUNuQyxJQUFJLFdBQ1AsQ0FBQyxPQUFPLENBQUM7OEJBS2IsT0FBTztzQkFEYixLQUFLO2dCQUlDLE9BQU87c0JBRGIsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XG4gIENoYW5nZURldGVjdGlvblN0cmF0ZWd5LFxuICBDb21wb25lbnQsXG4gIElucHV0LFxufSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IE5nQ2xhc3MgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuXG5cbkBDb21wb25lbnQoe1xuICAgIHNlbGVjdG9yOiAnYXBwLWVkaXRvci1sYWJlbCcsXG4gICAgdGVtcGxhdGVVcmw6ICcuL2VkaXRvci1sYWJlbC5jb21wb25lbnQuaHRtbCcsXG4gICAgc3R5bGVVcmxzOiBbJy4vZWRpdG9yLWxhYmVsLmNvbXBvbmVudC5zY3NzJ10sXG4gICAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG4gICAgc3RhbmRhbG9uZTogdHJ1ZSxcbiAgICBpbXBvcnRzOiBbTmdDbGFzc10sXG59KVxuZXhwb3J0IGNsYXNzIEVkaXRvckxhYmVsQ29tcG9uZW50IHtcblxuICBASW5wdXQoKVxuICBwdWJsaWMgY2hhbmdlZDogYm9vbGVhbjtcblxuICBASW5wdXQoKVxuICBwdWJsaWMgZm9jdXNlZDogYm9vbGVhbjtcblxufVxuIiwiPGRpdiBjbGFzcz1cImxhYmVsXCIgW25nQ2xhc3NdPVwieyBmb2N1c2VkOiBmb2N1c2VkIH1cIj5cbiAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuICBAaWYgKGNoYW5nZWQpIHtcbiAgICA8c3BhbiBjbGFzcz1cImNoYW5nZWRcIj4mbmJzcDsmIzk2Nzk7PC9zcGFuPlxuICB9XG48L2Rpdj5cbiJdfQ==
|
package/esm2022/public_api.mjs
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
export { FsContentLayoutsModule } from './app/modules/content-layouts/fs-content-layouts.module';
|
|
2
1
|
export { FsContentPagesModule } from './app/modules/content-pages/fs-content-pages.module';
|
|
3
|
-
export { FsContentStyleModule } from './app/modules/content-style/fs-content-style.module';
|
|
4
|
-
export { FsContentModule } from './app/modules/content/fs-content.module';
|
|
5
2
|
export { FsContentLayoutsComponent } from './app/modules/content-layouts/components/content-layouts/content-layouts.component';
|
|
6
3
|
export { FsContentPagesComponent } from './app/modules/content-pages/components/content-pages/content-pages.component';
|
|
7
4
|
export { ContentStyleComponent } from './app/modules/content-style/components/content-style';
|
|
8
5
|
export { FsContentComponent } from './app/modules/content/components/content/content.component';
|
|
9
6
|
export { FS_CONTENT_CONFIG } from './app/injectors/content-config.injector';
|
|
10
7
|
export * from './app/interfaces';
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHFEQUFxRCxDQUFDO0FBSTNGLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLG9GQUFvRixDQUFDO0FBQy9ILE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDhFQUE4RSxDQUFDO0FBQ3ZILE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHNEQUFzRCxDQUFDO0FBQzdGLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLDREQUE0RCxDQUFDO0FBRWhHLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHlDQUF5QyxDQUFDO0FBRTVFLGNBQWMsa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJcbmV4cG9ydCB7IEZzQ29udGVudFBhZ2VzTW9kdWxlIH0gZnJvbSAnLi9hcHAvbW9kdWxl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