ckeditor5-phoenix 1.16.1 → 1.17.1

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.
@@ -6,5 +6,5 @@ export declare function getNearestContextParentPromise(el: HTMLElement): Promise
6
6
  /**
7
7
  * Phoenix LiveView hook for CKEditor 5 context elements.
8
8
  */
9
- export declare const ContextHook: import('../../types').RequiredBy<import('phoenix_live_view').Hook<any>, "mounted" | "destroyed">;
9
+ export declare const ContextHook: import('../../types').RequiredBy<import('phoenix_live_view').Hook<any, HTMLElement>, "mounted" | "destroyed">;
10
10
  //# sourceMappingURL=context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/hooks/context/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AA4I1D;;GAEG;AACH,wBAAsB,8BAA8B,CAAC,EAAE,EAAE,WAAW,GAAG,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAQ9G;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,kGAA4B,CAAC"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/hooks/context/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AA4I1D;;GAEG;AACH,wBAAsB,8BAA8B,CAAC,EAAE,EAAE,WAAW,GAAG,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAQ9G;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,+GAA4B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Phoenix LiveView hook for CKEditor 5 editable elements.
3
3
  */
4
- export declare const EditableHook: import('../types').RequiredBy<import('phoenix_live_view').Hook<any>, "mounted" | "destroyed">;
4
+ export declare const EditableHook: import('../types').RequiredBy<import('phoenix_live_view').Hook<any, HTMLElement>, "mounted" | "destroyed">;
5
5
  //# sourceMappingURL=editable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"editable.d.ts","sourceRoot":"","sources":["../../src/hooks/editable.ts"],"names":[],"mappings":"AAmGA;;GAEG;AACH,eAAO,MAAM,YAAY,+FAA6B,CAAC"}
1
+ {"version":3,"file":"editable.d.ts","sourceRoot":"","sources":["../../src/hooks/editable.ts"],"names":[],"mappings":"AAmGA;;GAEG;AACH,eAAO,MAAM,YAAY,4GAA6B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Phoenix LiveView hook for CKEditor 5.
3
3
  */
4
- export declare const EditorHook: import('../../types').RequiredBy<import('phoenix_live_view').Hook<any>, "mounted" | "destroyed">;
4
+ export declare const EditorHook: import('../../types').RequiredBy<import('phoenix_live_view').Hook<any, HTMLElement>, "mounted" | "destroyed">;
5
5
  //# sourceMappingURL=editor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../src/hooks/editor/editor.ts"],"names":[],"mappings":"AA6TA;;GAEG;AACH,eAAO,MAAM,UAAU,kGAA2B,CAAC"}
1
+ {"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../src/hooks/editor/editor.ts"],"names":[],"mappings":"AA6TA;;GAEG;AACH,eAAO,MAAM,UAAU,+GAA2B,CAAC"}
@@ -4,7 +4,7 @@ import { PluginConstructor } from 'ckeditor5';
4
4
  * This adapter handles image uploads to a Phoenix backend endpoint.
5
5
  */
6
6
  export declare function createPhoenixUploadAdapterPlugin(): Promise<PluginConstructor>;
7
- declare module '@ckeditor/ckeditor5-core' {
7
+ declare module 'ckeditor5' {
8
8
  interface EditorConfig {
9
9
  /**
10
10
  * Configuration for Phoenix upload adapter.
@@ -1 +1 @@
1
- {"version":3,"file":"phoenix-upload-adapter.d.ts","sourceRoot":"","sources":["../../../../src/hooks/editor/plugins/phoenix-upload-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAc,iBAAiB,EAAiB,MAAM,WAAW,CAAC;AAI9E;;;GAGG;AACH,wBAAsB,gCAAgC,IAAI,OAAO,CAAC,iBAAiB,CAAC,CA0CnF;AAED,OAAO,QAAQ,0BAA0B,CAAC;IAExC,UAAU,YAAY;QACpB;;WAEG;QACH,aAAa,CAAC,EAAE;YACd;;eAEG;YACH,GAAG,EAAE,MAAM,CAAC;SACb,CAAC;KACH;CACF"}
1
+ {"version":3,"file":"phoenix-upload-adapter.d.ts","sourceRoot":"","sources":["../../../../src/hooks/editor/plugins/phoenix-upload-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAc,iBAAiB,EAAiB,MAAM,WAAW,CAAC;AAI9E;;;GAGG;AACH,wBAAsB,gCAAgC,IAAI,OAAO,CAAC,iBAAiB,CAAC,CA0CnF;AAED,OAAO,QAAQ,WAAW,CAAC;IAEzB,UAAU,YAAY;QACpB;;WAEG;QACH,aAAa,CAAC,EAAE;YACd;;eAEG;YACH,GAAG,EAAE,MAAM,CAAC;SACb,CAAC;KACH;CACF"}
@@ -1,7 +1,7 @@
1
1
  export declare const Hooks: {
2
- CKEditor5: import('../types').RequiredBy<import('phoenix_live_view').Hook<any>, "mounted" | "destroyed">;
3
- CKEditable: import('../types').RequiredBy<import('phoenix_live_view').Hook<any>, "mounted" | "destroyed">;
4
- CKUIPart: import('../types').RequiredBy<import('phoenix_live_view').Hook<any>, "mounted" | "destroyed">;
5
- CKContext: import('../types').RequiredBy<import('phoenix_live_view').Hook<any>, "mounted" | "destroyed">;
2
+ CKEditor5: import('../types').RequiredBy<import('phoenix_live_view').Hook<any, HTMLElement>, "mounted" | "destroyed">;
3
+ CKEditable: import('../types').RequiredBy<import('phoenix_live_view').Hook<any, HTMLElement>, "mounted" | "destroyed">;
4
+ CKUIPart: import('../types').RequiredBy<import('phoenix_live_view').Hook<any, HTMLElement>, "mounted" | "destroyed">;
5
+ CKContext: import('../types').RequiredBy<import('phoenix_live_view').Hook<any, HTMLElement>, "mounted" | "destroyed">;
6
6
  };
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Phoenix LiveView hook for CKEditor 5 UI parts.
3
3
  */
4
- export declare const UIPartHook: import('../types').RequiredBy<import('phoenix_live_view').Hook<any>, "mounted" | "destroyed">;
4
+ export declare const UIPartHook: import('../types').RequiredBy<import('phoenix_live_view').Hook<any, HTMLElement>, "mounted" | "destroyed">;
5
5
  //# sourceMappingURL=ui-part.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-part.d.ts","sourceRoot":"","sources":["../../src/hooks/ui-part.ts"],"names":[],"mappings":"AA0FA;;GAEG;AACH,eAAO,MAAM,UAAU,+FAA2B,CAAC"}
1
+ {"version":3,"file":"ui-part.d.ts","sourceRoot":"","sources":["../../src/hooks/ui-part.ts"],"names":[],"mappings":"AA0FA;;GAEG;AACH,eAAO,MAAM,UAAU,4GAA2B,CAAC"}