lucid-extension-sdk 0.0.203 → 0.0.205
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.
package/commandtypes.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ export declare const enum CommandName {
|
|
|
56
56
|
ElementExists = "ee",
|
|
57
57
|
ExecuteFormula = "ef",
|
|
58
58
|
FindAvailableSpace = "fas",
|
|
59
|
+
FireBeaconEvent = "fbe",
|
|
59
60
|
GetOAuthClientId = "goci",
|
|
60
61
|
GetConnectedLines = "gcl",
|
|
61
62
|
GetCurrentPage = "gcp",
|
|
@@ -283,6 +284,10 @@ export type CommandArgs = {
|
|
|
283
284
|
query: FindAvailableSpaceQuery;
|
|
284
285
|
result: FindAvailableSpaceResult;
|
|
285
286
|
};
|
|
287
|
+
[CommandName.FireBeaconEvent]: {
|
|
288
|
+
query: FireBeaconEventQuery;
|
|
289
|
+
result: FireBeaconEventResult;
|
|
290
|
+
};
|
|
286
291
|
[CommandName.GetOAuthClientId]: {
|
|
287
292
|
query: GetOAuthClientIdQuery;
|
|
288
293
|
result: GetOAuthClientIdResult;
|
|
@@ -957,6 +962,11 @@ export type FindAvailableSpaceResult = {
|
|
|
957
962
|
/** Origin of the rectangle of empty space */
|
|
958
963
|
'y': number;
|
|
959
964
|
};
|
|
965
|
+
export type FireBeaconEventQuery = {
|
|
966
|
+
/** the beacon event to be sent */
|
|
967
|
+
'e': string;
|
|
968
|
+
};
|
|
969
|
+
export type FireBeaconEventResult = void;
|
|
960
970
|
export type AnimateViewportQuery = {
|
|
961
971
|
/** ID of the page to view */
|
|
962
972
|
'p': string;
|
package/commandtypes.js
CHANGED
|
@@ -34,6 +34,7 @@ exports.commandTitles = new Map([
|
|
|
34
34
|
["ee" /* CommandName.ElementExists */, 'ElementExists'],
|
|
35
35
|
["ef" /* CommandName.ExecuteFormula */, 'ExecuteFormula'],
|
|
36
36
|
["fas" /* CommandName.FindAvailableSpace */, 'FindAvailableSpace'],
|
|
37
|
+
["fbe" /* CommandName.FireBeaconEvent */, 'FireBeaconEvent'],
|
|
37
38
|
["goci" /* CommandName.GetOAuthClientId */, 'GetOAuthClientId'],
|
|
38
39
|
["gcl" /* CommandName.GetConnectedLines */, 'GetConnectedLines'],
|
|
39
40
|
["gcp" /* CommandName.GetCurrentPage */, 'GetCurrentPage'],
|
|
@@ -66,4 +66,8 @@ export declare class TableBlockProxy extends BlockProxy {
|
|
|
66
66
|
getAutoResizeRows(): boolean;
|
|
67
67
|
setAutoResizeColumns(auto: boolean): void;
|
|
68
68
|
setAutoResizeRows(auto: boolean): void;
|
|
69
|
+
/**
|
|
70
|
+
* @param margin The inset margin to be used, it control the margin for each table cell.
|
|
71
|
+
*/
|
|
72
|
+
setInsetMargin(margin: number): void;
|
|
69
73
|
}
|
|
@@ -129,6 +129,12 @@ class TableBlockProxy extends blockproxy_1.BlockProxy {
|
|
|
129
129
|
setAutoResizeRows(auto) {
|
|
130
130
|
this.properties.set('AutoRowHeight', auto);
|
|
131
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* @param margin The inset margin to be used, it control the margin for each table cell.
|
|
134
|
+
*/
|
|
135
|
+
setInsetMargin(margin) {
|
|
136
|
+
this.properties.set('InsetMargin', margin);
|
|
137
|
+
}
|
|
132
138
|
}
|
|
133
139
|
exports.TableBlockProxy = TableBlockProxy;
|
|
134
140
|
TableBlockProxy.classNameRegex = /^DefaultTableBlock$/;
|