x-block-lib 0.5.17 → 0.5.18

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 {};
@@ -2,14 +2,18 @@ import './appDebugTrace/v1';
2
2
  import './appEnv/v1';
3
3
  import './callNodeMethod/v1';
4
4
  import './callNodeMethodAs/v1';
5
+ import './compMethodImpl/v1';
5
6
  import './getNode/v1';
6
7
  import './getNodeProp/v1';
7
8
  import './getNodePropAs/v1';
9
+ import './getPageArgument/v1';
8
10
  import './navigateTo/v1';
9
11
  import './onNodeEvent/v1';
10
12
  import './onNodeEventAs/v1';
11
13
  import './openConfirmDlg/v1';
12
14
  import './openPromptDlg/v1';
13
15
  import './popupMessage/v1';
16
+ import './setCompMethodOutput/v1';
14
17
  import './setNodeProp/v1';
15
18
  import './setNodePropAs/v1';
19
+ import './triggerCompEvent/v1';
@@ -0,0 +1 @@
1
+ export {};
@@ -58,6 +58,7 @@ declare const _default: {
58
58
  EVENT_SCREEN_SIZE_CHANGE: string;
59
59
  EVENT_DARK_MODE_CHANGE: string;
60
60
  LABEL_BOOLEAN: string;
61
+ LABEL_COMP: string;
61
62
  LABEL_CONDITION: string;
62
63
  LABEL_CREATE_VARIABLE: string;
63
64
  LABEL_CREATED: string;
@@ -68,6 +69,7 @@ declare const _default: {
68
69
  LABEL_OBJECT: string;
69
70
  LABEL_OPERATION: string;
70
71
  LABEL_OTHER: string;
72
+ LABEL_PAGE: string;
71
73
  LABEL_PROCEDURE: string;
72
74
  LABEL_PROPERTY: string;
73
75
  LABEL_QUERY_EXTRA: string;
@@ -420,6 +422,9 @@ declare const _default: {
420
422
  UI_V1_CALL_NODE_METHOD_AS_TITLE: string;
421
423
  UI_V1_CALL_NODE_METHOD_AS_TOOLTIP: string;
422
424
  UI_V1_CALL_NODE_METHOD_AS_HELPURL: string;
425
+ UI_V1_COMP_METHOD_IMPL_TITLE: string;
426
+ UI_V1_COMP_METHOD_IMPL_TOOLTIP: string;
427
+ UI_V1_COMP_METHOD_IMPL_HELPURL: string;
423
428
  UI_V1_GET_NODE_TITLE: string;
424
429
  UI_V1_GET_NODE_TOOLTIP: string;
425
430
  UI_V1_GET_NODE_HELPURL: string;
@@ -447,12 +452,18 @@ declare const _default: {
447
452
  UI_V1_POPUP_MESSAGE_TITLE: string;
448
453
  UI_V1_POPUP_MESSAGE_TOOLTIP: string;
449
454
  UI_V1_POPUP_MESSAGE_HELPURL: string;
455
+ UI_V1_SET_COMP_METHOD_OUTPUT_TITLE: string;
456
+ UI_V1_SET_COMP_METHOD_OUTPUT_TOOLTIP: string;
457
+ UI_V1_SET_COMP_METHOD_OUTPUT_HELPURL: string;
450
458
  UI_V1_SET_NODE_PROP_TITLE: string;
451
459
  UI_V1_SET_NODE_PROP_TOOLTIP: string;
452
460
  UI_V1_SET_NODE_PROP_HELPURL: string;
453
461
  UI_V1_SET_NODE_PROP_AS_TITLE: string;
454
462
  UI_V1_SET_NODE_PROP_AS_TOOLTIP: string;
455
463
  UI_V1_SET_NODE_PROP_AS_HELPURL: string;
464
+ UI_V1_TRIGGER_COMP_EVENT_TITLE: string;
465
+ UI_V1_TRIGGER_COMP_EVENT_TOOLTIP: string;
466
+ UI_V1_TRIGGER_COMP_EVENT_HELPURL: string;
456
467
  VARIABLE_V1_GET_CREATE_SET: string;
457
468
  VARIABLE_V1_GET_TOOLTIP: string;
458
469
  VARIABLE_V1_GET_HELPURL: string;
@@ -58,6 +58,7 @@ declare const _default: {
58
58
  EVENT_SCREEN_SIZE_CHANGE: string;
59
59
  EVENT_DARK_MODE_CHANGE: string;
60
60
  LABEL_BOOLEAN: string;
61
+ LABEL_COMP: string;
61
62
  LABEL_CONDITION: string;
62
63
  LABEL_CREATE_VARIABLE: string;
63
64
  LABEL_CREATED: string;
@@ -68,6 +69,7 @@ declare const _default: {
68
69
  LABEL_OBJECT: string;
69
70
  LABEL_OPERATION: string;
70
71
  LABEL_OTHER: string;
72
+ LABEL_PAGE: string;
71
73
  LABEL_PROCEDURE: string;
72
74
  LABEL_PROPERTY: string;
73
75
  LABEL_QUERY_EXTRA: string;
@@ -420,6 +422,9 @@ declare const _default: {
420
422
  UI_V1_CALL_NODE_METHOD_AS_TITLE: string;
421
423
  UI_V1_CALL_NODE_METHOD_AS_TOOLTIP: string;
422
424
  UI_V1_CALL_NODE_METHOD_AS_HELPURL: string;
425
+ UI_V1_COMP_METHOD_IMPL_TITLE: string;
426
+ UI_V1_COMP_METHOD_IMPL_TOOLTIP: string;
427
+ UI_V1_COMP_METHOD_IMPL_HELPURL: string;
423
428
  UI_V1_GET_NODE_TITLE: string;
424
429
  UI_V1_GET_NODE_TOOLTIP: string;
425
430
  UI_V1_GET_NODE_HELPURL: string;
@@ -447,12 +452,18 @@ declare const _default: {
447
452
  UI_V1_POPUP_MESSAGE_TITLE: string;
448
453
  UI_V1_POPUP_MESSAGE_TOOLTIP: string;
449
454
  UI_V1_POPUP_MESSAGE_HELPURL: string;
455
+ UI_V1_SET_COMP_METHOD_OUTPUT_TITLE: string;
456
+ UI_V1_SET_COMP_METHOD_OUTPUT_TOOLTIP: string;
457
+ UI_V1_SET_COMP_METHOD_OUTPUT_HELPURL: string;
450
458
  UI_V1_SET_NODE_PROP_TITLE: string;
451
459
  UI_V1_SET_NODE_PROP_TOOLTIP: string;
452
460
  UI_V1_SET_NODE_PROP_HELPURL: string;
453
461
  UI_V1_SET_NODE_PROP_AS_TITLE: string;
454
462
  UI_V1_SET_NODE_PROP_AS_TOOLTIP: string;
455
463
  UI_V1_SET_NODE_PROP_AS_HELPURL: string;
464
+ UI_V1_TRIGGER_COMP_EVENT_TITLE: string;
465
+ UI_V1_TRIGGER_COMP_EVENT_TOOLTIP: string;
466
+ UI_V1_TRIGGER_COMP_EVENT_HELPURL: string;
456
467
  VARIABLE_V1_GET_CREATE_SET: string;
457
468
  VARIABLE_V1_GET_TOOLTIP: string;
458
469
  VARIABLE_V1_GET_HELPURL: string;
@@ -0,0 +1,72 @@
1
+ import * as Blockly from 'blockly/core';
2
+ export declare function isCompAvail(): boolean;
3
+ export declare function getAllPropertyInfos(): {
4
+ id: string;
5
+ name: string;
6
+ type: string;
7
+ }[];
8
+ export declare function getPropertyInfo(id: string): {
9
+ id: string;
10
+ name: string;
11
+ type: string;
12
+ } | undefined;
13
+ export declare function genPropertyOpts(): Blockly.MenuOption[];
14
+ export declare function getAllMethodInfos(): {
15
+ id: string;
16
+ name: string;
17
+ inputs: {
18
+ id: string;
19
+ name: string;
20
+ type: string;
21
+ }[];
22
+ outputs: {
23
+ id: string;
24
+ name: string;
25
+ type: string;
26
+ }[];
27
+ }[];
28
+ export declare function getMethodInfo(id: string): {
29
+ id: string;
30
+ name: string;
31
+ inputs: {
32
+ id: string;
33
+ name: string;
34
+ type: string;
35
+ }[];
36
+ outputs: {
37
+ id: string;
38
+ name: string;
39
+ type: string;
40
+ }[];
41
+ } | undefined;
42
+ export declare function genMethodOpts(): Blockly.MenuOption[];
43
+ export declare function getMethodAllOutputInfos(methodid: string): {
44
+ id: string;
45
+ name: string;
46
+ type: string;
47
+ }[];
48
+ export declare function getMethodOutputInfo(methodid: string, outputid: string): {
49
+ id: string;
50
+ name: string;
51
+ type: string;
52
+ } | undefined;
53
+ export declare function genMethodOutputOpts(methodid: string): Blockly.MenuOption[];
54
+ export declare function getAllEventInfos(): {
55
+ id: string;
56
+ name: string;
57
+ params: {
58
+ id: string;
59
+ name: string;
60
+ type: string;
61
+ }[];
62
+ }[];
63
+ export declare function getEventInfo(id: string): {
64
+ id: string;
65
+ name: string;
66
+ params: {
67
+ id: string;
68
+ name: string;
69
+ type: string;
70
+ }[];
71
+ } | undefined;
72
+ export declare function genEventOpts(): Blockly.MenuOption[];
@@ -0,0 +1,13 @@
1
+ import * as Blockly from 'blockly/core';
2
+ export declare function isPageAvail(): false | undefined;
3
+ export declare function getAllArgumentInfos(): {
4
+ id: string;
5
+ name: string;
6
+ type: string;
7
+ }[];
8
+ export declare function getArgumentInfo(id: string): {
9
+ id: string;
10
+ name: string;
11
+ type: string;
12
+ } | undefined;
13
+ export declare function genArgumentOpts(): Blockly.MenuOption[];