x-block-lib 0.4.5 → 0.4.7

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.
@@ -1,5 +1,5 @@
1
1
  interface Props {
2
- type: 'app';
2
+ type: 'app' | 'func' | 'flow';
3
3
  version: string;
4
4
  active: boolean;
5
5
  }
@@ -8,7 +8,10 @@ type __VLS_PublicProps = {
8
8
  'lock': boolean;
9
9
  'scale': number;
10
10
  } & typeof __VLS_typeProps;
11
- declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
12
+ load: () => void;
13
+ save: () => void;
14
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
15
  change: (...args: any[]) => void;
13
16
  ready: (...args: any[]) => void;
14
17
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
@@ -0,0 +1,10 @@
1
+ interface Props {
2
+ id: string;
3
+ title: string;
4
+ }
5
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ "x-click": (...args: any[]) => void;
7
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
8
+ "onX-click"?: ((...args: any[]) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ export default _default;
@@ -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,4 +1,4 @@
1
- declare const toolbox: {
1
+ export declare const appToolboxV1: {
2
2
  kind: string;
3
3
  contents: ({
4
4
  kind: string;
@@ -28,4 +28,3 @@ declare const toolbox: {
28
28
  custom: string;
29
29
  })[];
30
30
  };
31
- export default toolbox;
@@ -0,0 +1,30 @@
1
+ export declare const flowToolboxV1: {
2
+ kind: string;
3
+ contents: ({
4
+ kind: string;
5
+ name: string;
6
+ categorystyle: string;
7
+ contents: ({
8
+ kind: string;
9
+ text: string;
10
+ type?: undefined;
11
+ } | {
12
+ kind: string;
13
+ type: string;
14
+ text?: undefined;
15
+ })[];
16
+ } | {
17
+ kind: string;
18
+ name: string;
19
+ categorystyle: string;
20
+ contents: {
21
+ kind: string;
22
+ type: string;
23
+ }[];
24
+ } | {
25
+ kind: string;
26
+ name: string;
27
+ categorystyle: string;
28
+ custom: string;
29
+ })[];
30
+ };
@@ -0,0 +1,30 @@
1
+ export declare const funcToolboxV1: {
2
+ kind: string;
3
+ contents: ({
4
+ kind: string;
5
+ name: string;
6
+ categorystyle: string;
7
+ contents: ({
8
+ kind: string;
9
+ text: string;
10
+ type?: undefined;
11
+ } | {
12
+ kind: string;
13
+ type: string;
14
+ text?: undefined;
15
+ })[];
16
+ } | {
17
+ kind: string;
18
+ name: string;
19
+ categorystyle: string;
20
+ contents: {
21
+ kind: string;
22
+ type: string;
23
+ }[];
24
+ } | {
25
+ kind: string;
26
+ name: string;
27
+ categorystyle: string;
28
+ custom: string;
29
+ })[];
30
+ };
@@ -1,2 +1,3 @@
1
- import appToolboxV1 from './app/v1';
2
- export { appToolboxV1 };
1
+ export * from './app/v1';
2
+ export * from './flow/v1';
3
+ export * from './func/v1';
@@ -0,0 +1 @@
1
+ export declare function loadLocaleMessageBlock(locale: string): Promise<object>;
@@ -0,0 +1,9 @@
1
+ const o = {
2
+ "x-block-lib": {
3
+ navigator: "Navigator",
4
+ noOption: "No Option"
5
+ }
6
+ };
7
+ export {
8
+ o as default
9
+ };
@@ -0,0 +1,9 @@
1
+ const o = {
2
+ "x-block-lib": {
3
+ navigator: "导航器",
4
+ noOption: "没有选项"
5
+ }
6
+ };
7
+ export {
8
+ o as default
9
+ };
package/dist/index.d.ts CHANGED
@@ -2,3 +2,4 @@ declare const _default: {
2
2
  install: (app: import("vue").App) => void;
3
3
  };
4
4
  export default _default;
5
+ export * from './i18n';