x-block-lib 0.6.28 → 0.6.30

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.
@@ -16313,13 +16313,15 @@ const lf = /* @__PURE__ */ Qg(nf), {
16313
16313
  javascriptGenerator: Kb
16314
16314
  } = lf;
16315
16315
  export {
16316
- Hb as A,
16316
+ Cb as A,
16317
16317
  df as B,
16318
16318
  yf as C,
16319
- Qg as D,
16319
+ Pb as D,
16320
16320
  Of as E,
16321
16321
  Mf as F,
16322
16322
  Jf as G,
16323
+ Hb as H,
16324
+ Qg as I,
16323
16325
  h_ as M,
16324
16326
  a_ as N,
16325
16327
  jb as O,
@@ -16332,26 +16334,26 @@ export {
16332
16334
  Tb as b,
16333
16335
  Hf as c,
16334
16336
  ab as d,
16335
- Df as e,
16337
+ Bf as e,
16336
16338
  pb as f,
16337
- xf as g,
16338
- fb as h,
16339
+ Pf as g,
16340
+ Df as h,
16339
16341
  vb as i,
16340
16342
  Kb as j,
16341
- db as k,
16342
- v_ as l,
16343
- wf as m,
16344
- _b as n,
16345
- kb as o,
16346
- wb as p,
16347
- yb as q,
16343
+ xf as k,
16344
+ fb as l,
16345
+ db as m,
16346
+ v_ as n,
16347
+ wf as o,
16348
+ _b as p,
16349
+ kb as q,
16348
16350
  Mb as r,
16349
16351
  Fb as s,
16350
- nb as t,
16352
+ wb as t,
16351
16353
  Wb as u,
16352
- af as v,
16353
- R_ as w,
16354
- cb as x,
16355
- Cb as y,
16356
- Pb as z
16354
+ yb as v,
16355
+ nb as w,
16356
+ af as x,
16357
+ R_ as y,
16358
+ cb as z
16357
16359
  };
@@ -12,10 +12,10 @@ type __VLS_PublicProps = __VLS_Props & {
12
12
  };
13
13
  declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
14
14
  loading: import("vue").Ref<boolean, boolean>;
15
- load: (state: object) => void;
15
+ load: (state: any) => void;
16
16
  save: () => {
17
17
  [key: string]: any;
18
- };
18
+ } | undefined;
19
19
  generateCode: () => string;
20
20
  fireStateChange: () => void;
21
21
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -0,0 +1,3 @@
1
+ import * as Blockly from 'blockly/core';
2
+ export declare function loadFromJson(json: any, workspace: Blockly.Workspace): void;
3
+ export declare function saveToJson(workspace: Blockly.Workspace): any;
@@ -3,6 +3,7 @@ import './color';
3
3
  import './common';
4
4
  import './compute';
5
5
  import './data';
6
+ import './json';
6
7
  import './list';
7
8
  import './logic';
8
9
  import './loop';
@@ -0,0 +1,6 @@
1
+ import './jsonArray/v1';
2
+ import './jsonBoolean/v1';
3
+ import './jsonMap/v1';
4
+ import './jsonNumber/v1';
5
+ import './jsonRoot/v1';
6
+ import './jsonString/v1';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,5 @@
1
1
  export * from './comp/v1';
2
2
  export * from './flow/v1';
3
3
  export * from './func/v1';
4
+ export * from './json/v1';
4
5
  export * from './page/v1';
@@ -0,0 +1,12 @@
1
+ export declare const jsonToolboxV1: {
2
+ kind: string;
3
+ contents: {
4
+ kind: string;
5
+ name: string;
6
+ colour: string;
7
+ contents: {
8
+ kind: string;
9
+ type: string;
10
+ }[];
11
+ }[];
12
+ };
@@ -1,4 +1,6 @@
1
1
  import * as Blockly from 'blockly/core';
2
+ export declare const plusImage: string;
3
+ export declare const minusImage: string;
2
4
  export declare function toBlockType(key: string): string;
3
5
  export declare function toCheck(key: string): string;
4
6
  export declare function ensureOpts(options: Blockly.MenuOption[]): Blockly.MenuOption[];