@cuby-ui/core 0.0.398 → 0.0.399
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/components/file-icon/file-icon.component.d.ts +3 -2
- package/esm2022/components/file-icon/file-icon.component.mjs +5 -4
- package/esm2022/components/file-icon/file-icon.options.mjs +2 -1
- package/esm2022/editor/components/editor-attaches-tool/editor-attaches-tool.component.mjs +2 -2
- package/esm2022/widgets/framer-preview/framer-preview.component.mjs +77 -0
- package/esm2022/widgets/framer-preview/framer-preview.options.mjs +2 -0
- package/esm2022/widgets/framer-preview/index.mjs +2 -0
- package/esm2022/widgets/index.mjs +2 -1
- package/fesm2022/cuby-ui-core.mjs +78 -5
- package/fesm2022/cuby-ui-core.mjs.map +1 -1
- package/package.json +4 -4
- package/widgets/framer-preview/framer-preview.component.d.ts +26 -0
- package/widgets/framer-preview/framer-preview.options.d.ts +5 -0
- package/widgets/framer-preview/index.d.ts +2 -0
- package/widgets/index.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cuby-ui/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.399",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=18.0.0",
|
|
6
6
|
"@angular/core": ">=18.0.0",
|
|
7
7
|
"@angular/elements": ">=18.0.0",
|
|
8
8
|
"@angular/forms": ">=18.0.0",
|
|
9
|
-
"@cuby-ui/api": "^0.0.
|
|
10
|
-
"@cuby-ui/cdk": "^0.0.
|
|
11
|
-
"@cuby-ui/icons": "^0.0.
|
|
9
|
+
"@cuby-ui/api": "^0.0.399",
|
|
10
|
+
"@cuby-ui/cdk": "^0.0.399",
|
|
11
|
+
"@cuby-ui/icons": "^0.0.399",
|
|
12
12
|
"@editorjs/editorjs": "2.29.1",
|
|
13
13
|
"@editorjs/header": "^2.8.1",
|
|
14
14
|
"@editorjs/list": "^1.9.0",
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { JTextFragment } from '@cuby-ui/api';
|
|
2
|
+
import type { CuiNullable } from '@cuby-ui/cdk';
|
|
3
|
+
import type { CuiEditorConfig } from '../../editor';
|
|
4
|
+
import { CuiImageUrl } from './framer-preview.options';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CuiFramerPreviewComponent {
|
|
7
|
+
private readonly hostElement;
|
|
8
|
+
private readonly frameApiService;
|
|
9
|
+
private subscription;
|
|
10
|
+
protected isVideo: boolean;
|
|
11
|
+
protected editorConfig: CuiEditorConfig;
|
|
12
|
+
protected readonly jText: import("@angular/core").WritableSignal<CuiNullable<JTextFragment>>;
|
|
13
|
+
protected readonly thumbnailUrl: import("@angular/core").WritableSignal<CuiNullable<CuiImageUrl>>;
|
|
14
|
+
protected readonly isDescriptionEmpty: import("@angular/core").Signal<boolean>;
|
|
15
|
+
readonly framerId: import("@angular/core").InputSignal<string>;
|
|
16
|
+
readonly config: import("@angular/core").InputSignal<CuiEditorConfig>;
|
|
17
|
+
readonly editorResourceUrl: import("@angular/core").InputSignal<string>;
|
|
18
|
+
readonly title: import("@angular/core").InputSignal<string | undefined>;
|
|
19
|
+
constructor();
|
|
20
|
+
private initConfigEffect;
|
|
21
|
+
private initFramerIdEffect;
|
|
22
|
+
private initFrameFragments;
|
|
23
|
+
private setResourceFile;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiFramerPreviewComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiFramerPreviewComponent, "cui-framer-preview", never, { "framerId": { "alias": "framerId"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "editorResourceUrl": { "alias": "editorResourceUrl"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
26
|
+
}
|
package/widgets/index.d.ts
CHANGED