@burger-editor/client 4.0.0-alpha.32 → 4.0.0-alpha.33

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.
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
package/dist/client.js CHANGED
@@ -43690,7 +43690,7 @@ function parseConfig(config) {
43690
43690
  }
43691
43691
  }
43692
43692
 
43693
- const version = "4.0.0-alpha.31";
43693
+ const version = "4.0.0-alpha.32";
43694
43694
  function attachDraftSwitcher(engine) {
43695
43695
  if (engine.hasDraft()) {
43696
43696
  const container = document.createElement("div");
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1,10 @@
1
+ import { Config } from '@burger-editor/core';
2
+ /**
3
+ * 意味ない。たぶんそれぞれのプラットフォームでConfigの型が違うから。
4
+ * @deprecated
5
+ * @param urlOrScriptElement
6
+ * @returns
7
+ */
8
+ export declare function getConfig(urlOrScriptElement: string): Promise<Config>;
9
+ export declare function getConfig(urlOrScriptElement: HTMLScriptElement): Promise<Config>;
10
+ //# sourceMappingURL=get-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-config.d.ts","sourceRoot":"","sources":["../src/get-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAElD;;;;;GAKG;AACH,wBAAsB,SAAS,CAAC,kBAAkB,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;AAC7E,wBAAsB,SAAS,CAAC,kBAAkB,EAAE,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ *
3
+ * @param src
4
+ */
5
+ export declare function getExt(src: string): {
6
+ ext: string;
7
+ isImage: boolean;
8
+ isVideo: boolean;
9
+ isAudio: boolean;
10
+ isDoc: boolean;
11
+ isPpt: boolean;
12
+ isXls: boolean;
13
+ isPdf: boolean;
14
+ };
15
+ //# sourceMappingURL=get-ext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-ext.d.ts","sourceRoot":"","sources":["../src/get-ext.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM;;;;;;;;;EAqBjC"}
@@ -0,0 +1,19 @@
1
+ import { BurgerEditorEngineOptions, BurgerEditorEngine } from '@burger-editor/core';
2
+ export declare const version: string;
3
+ /**
4
+ *
5
+ * @param engine
6
+ */
7
+ export declare function attachDraftSwitcher(engine: BurgerEditorEngine): {
8
+ cleanUp: () => void;
9
+ } | null;
10
+ /**
11
+ *
12
+ * @param options
13
+ */
14
+ export declare function createBurgerEditorClient(options: Omit<BurgerEditorEngineOptions, 'ui' | 'blockMenu'>): Promise<{
15
+ engine: BurgerEditorEngine;
16
+ }>;
17
+ export { Migrator } from '@burger-editor/migrator';
18
+ export { getConfig } from './get-config.js';
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAErE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAczD,OAAO,gBAAgB,CAAC;AAExB,eAAO,MAAM,OAAO,QAAc,CAAC;AAEnC;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,kBAAkB;;SAc7D;AAED;;;GAGG;AACH,wBAAsB,wBAAwB,CAC7C,OAAO,EAAE,IAAI,CAAC,yBAAyB,EAAE,IAAI,GAAG,WAAW,CAAC;;GA4G5D;AAED,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1,8 @@
1
+ /**
2
+ *
3
+ * @param elA
4
+ * @param elB
5
+ * @param duration
6
+ */
7
+ export declare function replaceElement(elA: HTMLElement, elB: HTMLElement, duration?: number): Promise<void>;
8
+ //# sourceMappingURL=replace-element.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"replace-element.d.ts","sourceRoot":"","sources":["../src/replace-element.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAsB,cAAc,CAAC,GAAG,EAAE,WAAW,EAAE,GAAG,EAAE,WAAW,EAAE,QAAQ,SAAM,iBAgFtF"}
@@ -0,0 +1,10 @@
1
+ import { Component, MountOptions } from 'svelte';
2
+ /**
3
+ *
4
+ * @param component
5
+ * @param options
6
+ */
7
+ export declare function svelteMount<P extends Record<string, any>>(component: Component<P>, options: MountOptions<P>): {
8
+ cleanUp: () => void;
9
+ };
10
+ //# sourceMappingURL=svelte-mount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"svelte-mount.d.ts","sourceRoot":"","sources":["../src/svelte-mount.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAItD;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACxD,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,EACvB,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC;;EASxB"}
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burger-editor/client",
3
- "version": "4.0.0-alpha.32",
3
+ "version": "4.0.0-alpha.33",
4
4
  "description": "BurgerEditor client package",
5
5
  "author": "D-ZERO",
6
6
  "license": "(MIT OR Apache-2.0)",
@@ -30,10 +30,10 @@
30
30
  "dev": "vite build --watch"
31
31
  },
32
32
  "dependencies": {
33
- "@burger-editor/core": "4.0.0-alpha.32",
34
- "@burger-editor/custom-element": "4.0.0-alpha.32",
35
- "@burger-editor/migrator": "4.0.0-alpha.32",
36
- "@burger-editor/utils": "4.0.0-alpha.32",
33
+ "@burger-editor/core": "4.0.0-alpha.33",
34
+ "@burger-editor/custom-element": "4.0.0-alpha.33",
35
+ "@burger-editor/migrator": "4.0.0-alpha.33",
36
+ "@burger-editor/utils": "4.0.0-alpha.33",
37
37
  "@tabler/icons-svelte": "3.35.0",
38
38
  "jquery": "3.7.1",
39
39
  "svelte": "5.45.2"
@@ -45,5 +45,5 @@
45
45
  "vite": "7.2.4",
46
46
  "vite-plugin-dts": "4.5.4"
47
47
  },
48
- "gitHead": "65279bc623c0c33e5c7da6d71c2def6cc7cd584b"
48
+ "gitHead": "a6cc4391bbafde0cc974b8a50e27ccb95659ea5d"
49
49
  }