x-block-lib 0.8.1 → 0.8.2

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,2 +1,4 @@
1
+ import './appBind/v1';
1
2
  import './onAppEvent/v1';
2
3
  import './triggerAppEvent/v1';
4
+ import './watchEffect/v1';
@@ -1,3 +1,4 @@
1
+ import './appDebugTrace/v1';
1
2
  import './openConfirmDlg/v1';
2
3
  import './openPromptDlg/v1';
3
4
  import './popupMessage/v1';
@@ -1,5 +1,3 @@
1
- import './appDebugTrace/v1';
2
1
  import './appEnvIs/v1';
3
2
  import './navigateTo/v1';
4
3
  import './selectComp/v1';
5
- import './watchEffect/v1';
@@ -1,6 +1,6 @@
1
1
  import * as Blockly from 'blockly/core';
2
2
  declare function callback(): Blockly.utils.toolbox.FlyoutDefinition;
3
- export declare const appStateCategoryV1: {
3
+ export declare const appCompCategoryV1: {
4
4
  name: string;
5
5
  callback: typeof callback;
6
6
  };
@@ -1,7 +1,6 @@
1
+ export * from './comp/v1';
1
2
  export * from './compute/v1';
2
- export * from './event/v1';
3
- export * from './method/v1';
3
+ export * from './message/v1';
4
4
  export * from './misc/v1';
5
- export * from './property/v1';
5
+ export * from './page/v1';
6
6
  export * from './resource/v1';
7
- export * from './state/v1';
@@ -1,6 +1,6 @@
1
1
  import * as Blockly from 'blockly/core';
2
2
  declare function callback(): Blockly.utils.toolbox.FlyoutDefinition;
3
- export declare const appMethodCategoryV1: {
3
+ export declare const appMessageCategoryV1: {
4
4
  name: string;
5
5
  callback: typeof callback;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import * as Blockly from 'blockly/core';
2
2
  declare function callback(): Blockly.utils.toolbox.FlyoutDefinition;
3
- export declare const appEventCategoryV1: {
3
+ export declare const appPageCategoryV1: {
4
4
  name: string;
5
5
  callback: typeof callback;
6
6
  };
@@ -1,5 +1,9 @@
1
1
  export declare function createLabel(text: string): Element;
2
2
  export declare function createBlock(type: string, children?: Element[]): Element;
3
+ export declare function createMutation(attrs: {
4
+ key: string;
5
+ value: string;
6
+ }[]): Element;
3
7
  export declare function createShadowOfTextV1(inputName: string, content?: string): Element;
4
8
  export declare function createShadowOfMathNumberV1(inputName: string, content?: number): Element;
5
9
  export declare function createShadowOfLogicBooleanV1(inputName: string, content?: boolean): Element;
@@ -1 +1,2 @@
1
1
  export declare function setLocale(locale: string): Promise<void>;
2
+ export declare function localeMsg(key: string): string;
@@ -36,22 +36,21 @@ declare const _default: {
36
36
  BUTTON_NO_COMPUTE: string;
37
37
  BUTTON_NO_TABLE: string;
38
38
  CATEGORY_COLOR: string;
39
+ CATEGORY_COMP: string;
39
40
  CATEGORY_COMPUTE: string;
40
41
  CATEGORY_DATA: string;
41
- CATEGORY_EVENT: string;
42
42
  CATEGORY_FLOW: string;
43
43
  CATEGORY_FUNC: string;
44
44
  CATEGORY_LIST: string;
45
45
  CATEGORY_LOGIC: string;
46
46
  CATEGORY_LOOP: string;
47
47
  CATEGORY_MATH: string;
48
- CATEGORY_METHOD: string;
48
+ CATEGORY_MESSAGE: string;
49
49
  CATEGORY_MISC: string;
50
50
  CATEGORY_OBJECT: string;
51
+ CATEGORY_PAGE: string;
51
52
  CATEGORY_PROCEDURE: string;
52
- CATEGORY_PROPERTY: string;
53
53
  CATEGORY_RESOURCE: string;
54
- CATEGORY_STATE: string;
55
54
  CATEGORY_TEXT: string;
56
55
  CATEGORY_TIME: string;
57
56
  CATEGORY_VARIABLE: string;
@@ -68,7 +67,6 @@ declare const _default: {
68
67
  LABEL_MATH_OPERATION: string;
69
68
  LABEL_MESSAGE: string;
70
69
  LABEL_METHOD: string;
71
- LABEL_MISC: string;
72
70
  LABEL_OBJECT: string;
73
71
  LABEL_OPERATION: string;
74
72
  LABEL_PROCEDURE: string;
@@ -124,6 +122,11 @@ declare const _default: {
124
122
  APP_TEXT: string;
125
123
  APP_TITLE: string;
126
124
  APP_VALUE: string;
125
+ APP_V1_APP_BIND_TITLE: string;
126
+ APP_V1_APP_BIND_TOOLTIP: string;
127
+ APP_V1_APP_BIND_HELPURL: string;
128
+ APP_V1_APP_BIND_CONTAINER_TITLE: string;
129
+ APP_V1_APP_BIND_ITEM_TITLE: string;
127
130
  APP_V1_APP_DEBUG_TRACE_TITLE: string;
128
131
  APP_V1_APP_DEBUG_TRACE_TOOLTIP: string;
129
132
  APP_V1_APP_DEBUG_TRACE_HELPURL: string;
@@ -36,22 +36,21 @@ declare const _default: {
36
36
  BUTTON_NO_COMPUTE: string;
37
37
  BUTTON_NO_TABLE: string;
38
38
  CATEGORY_COLOR: string;
39
+ CATEGORY_COMP: string;
39
40
  CATEGORY_COMPUTE: string;
40
41
  CATEGORY_DATA: string;
41
- CATEGORY_EVENT: string;
42
42
  CATEGORY_FLOW: string;
43
43
  CATEGORY_FUNC: string;
44
44
  CATEGORY_LIST: string;
45
45
  CATEGORY_LOGIC: string;
46
46
  CATEGORY_LOOP: string;
47
47
  CATEGORY_MATH: string;
48
- CATEGORY_METHOD: string;
48
+ CATEGORY_MESSAGE: string;
49
49
  CATEGORY_MISC: string;
50
50
  CATEGORY_OBJECT: string;
51
+ CATEGORY_PAGE: string;
51
52
  CATEGORY_PROCEDURE: string;
52
- CATEGORY_PROPERTY: string;
53
53
  CATEGORY_RESOURCE: string;
54
- CATEGORY_STATE: string;
55
54
  CATEGORY_TEXT: string;
56
55
  CATEGORY_TIME: string;
57
56
  CATEGORY_VARIABLE: string;
@@ -68,7 +67,6 @@ declare const _default: {
68
67
  LABEL_MATH_OPERATION: string;
69
68
  LABEL_MESSAGE: string;
70
69
  LABEL_METHOD: string;
71
- LABEL_MISC: string;
72
70
  LABEL_OBJECT: string;
73
71
  LABEL_OPERATION: string;
74
72
  LABEL_PROCEDURE: string;
@@ -124,6 +122,11 @@ declare const _default: {
124
122
  APP_TEXT: string;
125
123
  APP_TITLE: string;
126
124
  APP_VALUE: string;
125
+ APP_V1_APP_BIND_TITLE: string;
126
+ APP_V1_APP_BIND_TOOLTIP: string;
127
+ APP_V1_APP_BIND_HELPURL: string;
128
+ APP_V1_APP_BIND_CONTAINER_TITLE: string;
129
+ APP_V1_APP_BIND_ITEM_TITLE: string;
127
130
  APP_V1_APP_DEBUG_TRACE_TITLE: string;
128
131
  APP_V1_APP_DEBUG_TRACE_TOOLTIP: string;
129
132
  APP_V1_APP_DEBUG_TRACE_HELPURL: string;