lucid-extension-sdk 0.0.60 → 0.0.61
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/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TaskManagementCardIntegration = void 0;
|
|
4
|
-
const lucid_extension_sdk_1 = require("../../lucid-extension-sdk");
|
|
5
4
|
const cardintegration_1 = require("../core/cardintegration/cardintegration");
|
|
6
5
|
const cardintegrationconfig_1 = require("../core/cardintegration/cardintegrationconfig");
|
|
7
6
|
const collectiondefinition_1 = require("../data/collectiondefinition");
|
|
8
7
|
const collectionproxy_1 = require("../data/collectionproxy");
|
|
8
|
+
const datasourceproxy_1 = require("../data/datasourceproxy");
|
|
9
9
|
class TaskManagementCardIntegration {
|
|
10
10
|
constructor(client) {
|
|
11
11
|
this.client = client;
|
|
@@ -46,7 +46,7 @@ class TaskManagementCardIntegration {
|
|
|
46
46
|
if (onSelectedFieldsChange) {
|
|
47
47
|
onSelectedFieldsChangeActionName = TaskManagementCardIntegration.nextHookName();
|
|
48
48
|
this.client.registerAction(onSelectedFieldsChangeActionName, (param) => {
|
|
49
|
-
const dataSource = new
|
|
49
|
+
const dataSource = new datasourceproxy_1.DataSourceProxy(param['ds'], this.client);
|
|
50
50
|
onSelectedFieldsChange(dataSource, param['sf']);
|
|
51
51
|
});
|
|
52
52
|
}
|
package/sdk/editorclient.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { GroupProxy } from './document/groupproxy';
|
|
|
10
10
|
import { LineProxy } from './document/lineproxy';
|
|
11
11
|
import { PageProxy } from './document/pageproxy';
|
|
12
12
|
import { FileUploadData } from './ui/menu';
|
|
13
|
-
export declare type
|
|
13
|
+
export declare type DataActionResponse = {
|
|
14
14
|
/** The HTTP Status Code from the Extension Data Sync endpoint */
|
|
15
15
|
'status': number;
|
|
16
16
|
} & ({
|
|
@@ -60,7 +60,7 @@ export declare class EditorClient {
|
|
|
60
60
|
* @returns
|
|
61
61
|
* @throws A string with an error from the data sync server
|
|
62
62
|
*/
|
|
63
|
-
performDataAction(flowName: string, dataConnectorName: string, syncDataSourceId?: undefined | string, flowData?: unknown, async?: boolean): Promise<
|
|
63
|
+
performDataAction(flowName: string, dataConnectorName: string, syncDataSourceId?: undefined | string, flowData?: unknown, async?: boolean): Promise<DataActionResponse>;
|
|
64
64
|
awaitDataImport(dataConnectorName: string, syncDataSourceId: undefined | string, syncCollectionId: string, primaryKeys: string[], timeout?: number): Promise<CollectionProxy>;
|
|
65
65
|
/**
|
|
66
66
|
* Make a network request
|
package/sdk/index.d.ts
CHANGED
|
@@ -1,17 +1,57 @@
|
|
|
1
|
+
export * from './commandtypes';
|
|
2
|
+
export * from './core/base64';
|
|
3
|
+
export * from './core/cardintegration/cardfielddisplaysettings';
|
|
1
4
|
export * from './core/cardintegration/cardintegration';
|
|
5
|
+
export * from './core/cardintegration/cardintegrationconfig';
|
|
6
|
+
export * from './core/checks';
|
|
7
|
+
export * from './core/data/fieldtypedefinition/basefieldtypedefinition';
|
|
8
|
+
export * from './core/data/fieldtypedefinition/collectionenumfieldtype';
|
|
9
|
+
export * from './core/data/fieldtypedefinition/fieldtypearray';
|
|
10
|
+
export * from './core/data/fieldtypedefinition/fieldtypedefinition';
|
|
11
|
+
export * from './core/data/fieldtypedefinition/literalfieldtype';
|
|
12
|
+
export * from './core/data/fieldtypedefinition/ndimensionalfieldtypearray';
|
|
13
|
+
export * from './core/data/fieldtypedefinition/scalarfieldtype';
|
|
14
|
+
export * from './core/data/fieldtypedefinition/semantickind';
|
|
15
|
+
export * from './core/data/referencekeys/serializedreferencekey';
|
|
16
|
+
export * from './core/data/serializedfield/serializeddataitems';
|
|
17
|
+
export * from './core/data/serializedfield/serializedfielddefinition';
|
|
2
18
|
export * from './core/data/serializedfield/serializedfields';
|
|
19
|
+
export * from './core/data/serializedfield/serializedschema';
|
|
3
20
|
export * from './core/dataerrortype';
|
|
21
|
+
export * from './core/guards';
|
|
22
|
+
export * from './core/iframe/iframeutils';
|
|
4
23
|
export * from './core/jsonserializable';
|
|
24
|
+
export * from './core/object';
|
|
5
25
|
export * from './core/offsettype';
|
|
26
|
+
export * from './core/optionalkey';
|
|
27
|
+
export * from './core/properties/datagraphic/badgeposition';
|
|
28
|
+
export * from './core/properties/datagraphic/datagraphicindexes';
|
|
29
|
+
export * from './core/properties/datagraphic/staticdatagraphicsettings';
|
|
30
|
+
export * from './core/properties/fillcolor';
|
|
31
|
+
export * from './core/properties/shadow';
|
|
6
32
|
export * from './core/serializeddataerror';
|
|
7
33
|
export * from './core/shapedatainheritance';
|
|
34
|
+
export * from './core/unfurl/unfurlcallbacks';
|
|
8
35
|
export * from './core/unfurl/unfurldetails';
|
|
36
|
+
export * from './core/unfurl/unfurliframe';
|
|
37
|
+
export * from './core/unfurl/unfurlrefresherrortype';
|
|
38
|
+
export * from './core/unfurl/unfurlthumbnail';
|
|
39
|
+
export * from './core/validators/validators';
|
|
9
40
|
export * from './core/xhr';
|
|
41
|
+
export * from './data/collectiondefinition';
|
|
10
42
|
export * from './data/collectionproxy';
|
|
11
43
|
export * from './data/dataerror';
|
|
12
44
|
export * from './data/dataitemproxy';
|
|
13
45
|
export * from './data/dataproxy';
|
|
14
46
|
export * from './data/datasourceproxy';
|
|
47
|
+
export * from './data/referencekeydefinition';
|
|
48
|
+
export * from './data/referencekeyproxy';
|
|
49
|
+
export * from './data/schemadefinition';
|
|
50
|
+
export * from './document/blockclasses/blockproxyregistry';
|
|
51
|
+
export * from './document/blockclasses/cardblockproxy';
|
|
52
|
+
export * from './document/blockclasses/customblockproxy';
|
|
53
|
+
export * from './document/blockclasses/erdblockproxy';
|
|
54
|
+
export * from './document/blockclasses/linkunfurlblockproxy';
|
|
15
55
|
export * from './document/blockdefinition';
|
|
16
56
|
export * from './document/blockproxy';
|
|
17
57
|
export * from './document/documentproxy';
|
|
@@ -20,14 +60,19 @@ export * from './document/groupproxy';
|
|
|
20
60
|
export * from './document/itemproxy';
|
|
21
61
|
export * from './document/linedefinition';
|
|
22
62
|
export * from './document/lineproxy';
|
|
63
|
+
export * from './document/linetextareapositioning';
|
|
23
64
|
export * from './document/mapproxy';
|
|
24
65
|
export * from './document/pagedefinition';
|
|
25
66
|
export * from './document/pageproxy';
|
|
67
|
+
export * from './document/propertystoreproxy';
|
|
26
68
|
export * from './document/shapedataproxy';
|
|
27
69
|
export * from './document/taskmanagementcardintegration';
|
|
28
70
|
export * from './editorclient';
|
|
71
|
+
export * from './index';
|
|
29
72
|
export * from './math';
|
|
73
|
+
export * from './message/unfurleventmessage';
|
|
30
74
|
export * from './ui/alertmodal';
|
|
75
|
+
export * from './ui/iframeui';
|
|
31
76
|
export * from './ui/menu';
|
|
32
77
|
export * from './ui/modal';
|
|
33
78
|
export * from './ui/panel';
|
package/sdk/index.js
CHANGED
|
@@ -14,20 +14,60 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./commandtypes"), exports);
|
|
18
|
+
__exportStar(require("./core/base64"), exports);
|
|
19
|
+
__exportStar(require("./core/cardintegration/cardfielddisplaysettings"), exports);
|
|
17
20
|
__exportStar(require("./core/cardintegration/cardintegration"), exports);
|
|
21
|
+
__exportStar(require("./core/cardintegration/cardintegrationconfig"), exports);
|
|
22
|
+
__exportStar(require("./core/checks"), exports);
|
|
23
|
+
__exportStar(require("./core/data/fieldtypedefinition/basefieldtypedefinition"), exports);
|
|
24
|
+
__exportStar(require("./core/data/fieldtypedefinition/collectionenumfieldtype"), exports);
|
|
25
|
+
__exportStar(require("./core/data/fieldtypedefinition/fieldtypearray"), exports);
|
|
26
|
+
__exportStar(require("./core/data/fieldtypedefinition/fieldtypedefinition"), exports);
|
|
27
|
+
__exportStar(require("./core/data/fieldtypedefinition/literalfieldtype"), exports);
|
|
28
|
+
__exportStar(require("./core/data/fieldtypedefinition/ndimensionalfieldtypearray"), exports);
|
|
29
|
+
__exportStar(require("./core/data/fieldtypedefinition/scalarfieldtype"), exports);
|
|
30
|
+
__exportStar(require("./core/data/fieldtypedefinition/semantickind"), exports);
|
|
31
|
+
__exportStar(require("./core/data/referencekeys/serializedreferencekey"), exports);
|
|
32
|
+
__exportStar(require("./core/data/serializedfield/serializeddataitems"), exports);
|
|
33
|
+
__exportStar(require("./core/data/serializedfield/serializedfielddefinition"), exports);
|
|
18
34
|
__exportStar(require("./core/data/serializedfield/serializedfields"), exports);
|
|
35
|
+
__exportStar(require("./core/data/serializedfield/serializedschema"), exports);
|
|
19
36
|
__exportStar(require("./core/dataerrortype"), exports);
|
|
37
|
+
__exportStar(require("./core/guards"), exports);
|
|
38
|
+
__exportStar(require("./core/iframe/iframeutils"), exports);
|
|
20
39
|
__exportStar(require("./core/jsonserializable"), exports);
|
|
40
|
+
__exportStar(require("./core/object"), exports);
|
|
21
41
|
__exportStar(require("./core/offsettype"), exports);
|
|
42
|
+
__exportStar(require("./core/optionalkey"), exports);
|
|
43
|
+
__exportStar(require("./core/properties/datagraphic/badgeposition"), exports);
|
|
44
|
+
__exportStar(require("./core/properties/datagraphic/datagraphicindexes"), exports);
|
|
45
|
+
__exportStar(require("./core/properties/datagraphic/staticdatagraphicsettings"), exports);
|
|
46
|
+
__exportStar(require("./core/properties/fillcolor"), exports);
|
|
47
|
+
__exportStar(require("./core/properties/shadow"), exports);
|
|
22
48
|
__exportStar(require("./core/serializeddataerror"), exports);
|
|
23
49
|
__exportStar(require("./core/shapedatainheritance"), exports);
|
|
50
|
+
__exportStar(require("./core/unfurl/unfurlcallbacks"), exports);
|
|
24
51
|
__exportStar(require("./core/unfurl/unfurldetails"), exports);
|
|
52
|
+
__exportStar(require("./core/unfurl/unfurliframe"), exports);
|
|
53
|
+
__exportStar(require("./core/unfurl/unfurlrefresherrortype"), exports);
|
|
54
|
+
__exportStar(require("./core/unfurl/unfurlthumbnail"), exports);
|
|
55
|
+
__exportStar(require("./core/validators/validators"), exports);
|
|
25
56
|
__exportStar(require("./core/xhr"), exports);
|
|
57
|
+
__exportStar(require("./data/collectiondefinition"), exports);
|
|
26
58
|
__exportStar(require("./data/collectionproxy"), exports);
|
|
27
59
|
__exportStar(require("./data/dataerror"), exports);
|
|
28
60
|
__exportStar(require("./data/dataitemproxy"), exports);
|
|
29
61
|
__exportStar(require("./data/dataproxy"), exports);
|
|
30
62
|
__exportStar(require("./data/datasourceproxy"), exports);
|
|
63
|
+
__exportStar(require("./data/referencekeydefinition"), exports);
|
|
64
|
+
__exportStar(require("./data/referencekeyproxy"), exports);
|
|
65
|
+
__exportStar(require("./data/schemadefinition"), exports);
|
|
66
|
+
__exportStar(require("./document/blockclasses/blockproxyregistry"), exports);
|
|
67
|
+
__exportStar(require("./document/blockclasses/cardblockproxy"), exports);
|
|
68
|
+
__exportStar(require("./document/blockclasses/customblockproxy"), exports);
|
|
69
|
+
__exportStar(require("./document/blockclasses/erdblockproxy"), exports);
|
|
70
|
+
__exportStar(require("./document/blockclasses/linkunfurlblockproxy"), exports);
|
|
31
71
|
__exportStar(require("./document/blockdefinition"), exports);
|
|
32
72
|
__exportStar(require("./document/blockproxy"), exports);
|
|
33
73
|
__exportStar(require("./document/documentproxy"), exports);
|
|
@@ -36,14 +76,19 @@ __exportStar(require("./document/groupproxy"), exports);
|
|
|
36
76
|
__exportStar(require("./document/itemproxy"), exports);
|
|
37
77
|
__exportStar(require("./document/linedefinition"), exports);
|
|
38
78
|
__exportStar(require("./document/lineproxy"), exports);
|
|
79
|
+
__exportStar(require("./document/linetextareapositioning"), exports);
|
|
39
80
|
__exportStar(require("./document/mapproxy"), exports);
|
|
40
81
|
__exportStar(require("./document/pagedefinition"), exports);
|
|
41
82
|
__exportStar(require("./document/pageproxy"), exports);
|
|
83
|
+
__exportStar(require("./document/propertystoreproxy"), exports);
|
|
42
84
|
__exportStar(require("./document/shapedataproxy"), exports);
|
|
43
85
|
__exportStar(require("./document/taskmanagementcardintegration"), exports);
|
|
44
86
|
__exportStar(require("./editorclient"), exports);
|
|
87
|
+
__exportStar(require("./index"), exports);
|
|
45
88
|
__exportStar(require("./math"), exports);
|
|
89
|
+
__exportStar(require("./message/unfurleventmessage"), exports);
|
|
46
90
|
__exportStar(require("./ui/alertmodal"), exports);
|
|
91
|
+
__exportStar(require("./ui/iframeui"), exports);
|
|
47
92
|
__exportStar(require("./ui/menu"), exports);
|
|
48
93
|
__exportStar(require("./ui/modal"), exports);
|
|
49
94
|
__exportStar(require("./ui/panel"), exports);
|
package/sdk/ui/viewport.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BlockDefinition } from '
|
|
1
|
+
import { BlockDefinition } from '../document/blockdefinition';
|
|
2
2
|
import { ItemProxy } from '../document/itemproxy';
|
|
3
3
|
import { PageProxy } from '../document/pageproxy';
|
|
4
4
|
import { EditorClient } from '../editorclient';
|
|
@@ -79,7 +79,7 @@ export declare class Viewport {
|
|
|
79
79
|
* @returns A promise resolving to a reference to the created block, if successfully dropped,
|
|
80
80
|
* or undefined if the user cancels the drag interaction.
|
|
81
81
|
*/
|
|
82
|
-
startDraggingNewBlock(definition: BlockDefinition): Promise<import("
|
|
82
|
+
startDraggingNewBlock(definition: BlockDefinition): Promise<import("..").BlockProxy | undefined>;
|
|
83
83
|
/**
|
|
84
84
|
* If startDraggingNewBlock has been called, and the drag-new-block interaction is still active,
|
|
85
85
|
* cancel that interaction.
|