@cuby-ui/core 0.0.397 → 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/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@cuby-ui/core",
3
- "version": "0.0.397",
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.397",
10
- "@cuby-ui/cdk": "^0.0.397",
11
- "@cuby-ui/icons": "^0.0.397",
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
+ }
@@ -0,0 +1,5 @@
1
+ import type { CuiNullable } from '@cuby-ui/cdk';
2
+ export interface CuiImageUrl {
3
+ readonly src: CuiNullable<string>;
4
+ readonly name: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ export { CuiFramerPreviewComponent } from './framer-preview.component';
2
+ export { CuiImageUrl } from './framer-preview.options';
@@ -11,3 +11,4 @@ export * from './select-modal';
11
11
  export * from './storage-list';
12
12
  export * from './utility-modal';
13
13
  export * from './user-action-context-menu';
14
+ export { CuiFramerPreviewComponent, CuiImageUrl } from './framer-preview';