x-block-lib 0.4.21 → 0.4.23

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.
@@ -2,7 +2,6 @@ interface Props {
2
2
  id: string;
3
3
  title: string;
4
4
  select: boolean;
5
- index: number;
6
5
  }
7
6
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
7
  "x-click": (...args: any[]) => void;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -1,2 +1,5 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ interface Props {
2
+ type: 'list' | 'tree';
3
+ }
4
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
2
5
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import * as Blockly from 'blockly/core';
2
- export type Type = 'page' | 'comp' | 'func' | 'flow';
2
+ export type Type = 'page' | 'comp' | 'func' | 'flow' | 'json';
3
3
  export declare function createWorkspace(container: HTMLDivElement, type: Type, version: string): Blockly.WorkspaceSvg;
@@ -0,0 +1,15 @@
1
+ const t = {
2
+ "x-block-lib": {
3
+ navigator: "Navigator",
4
+ noOption: "No Option",
5
+ temporaryBlock: "Temporary Block",
6
+ tip: {
7
+ hotkeyCtrlE: "Press 'Ctrl W' to navigate",
8
+ hotkeyCtrlQ: "Press 'Ctrl Q' to clean workspace",
9
+ hotkeyCtrlW: "Press 'Ctrl R' to toggle lock state"
10
+ }
11
+ }
12
+ };
13
+ export {
14
+ t as default
15
+ };
@@ -0,0 +1,15 @@
1
+ const t = {
2
+ "x-block-lib": {
3
+ navigator: "导航器",
4
+ noOption: "没有选项",
5
+ temporaryBlock: "临时块",
6
+ tip: {
7
+ hotkeyCtrlE: "按「Ctrl W」导航",
8
+ hotkeyCtrlQ: "按「Ctrl Q」清理工作区",
9
+ hotkeyCtrlW: "按「Ctrl R」切换锁状态"
10
+ }
11
+ }
12
+ };
13
+ export {
14
+ t as default
15
+ };