plmt-constructor-sdk 0.13.4 → 0.13.5
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/__internal__/config.d.ts +10 -14
- package/__internal__/widget-io.d.ts +12 -12
- package/__internal__/widget-io.js +12 -12
- package/package.json +1 -1
package/__internal__/config.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import { Text, DataQueryMethod, DataQueryFunction } from '../config';
|
|
|
2
2
|
import { ColumnType } from '../data';
|
|
3
3
|
import { DatasetColumnType_Server } from './dataset';
|
|
4
4
|
export declare enum ConfigDataBlockType_Server {
|
|
5
|
-
Column =
|
|
6
|
-
Filter =
|
|
7
|
-
Sort =
|
|
8
|
-
Colorizer =
|
|
9
|
-
Drilldown =
|
|
5
|
+
Column = "column",
|
|
6
|
+
Filter = "filter",
|
|
7
|
+
Sort = "sort",
|
|
8
|
+
Colorizer = "colorizer",
|
|
9
|
+
Drilldown = "drilldown"
|
|
10
10
|
}
|
|
11
11
|
export interface Config_Server {
|
|
12
12
|
label: Text;
|
|
@@ -43,15 +43,11 @@ export interface ConfigDataOptionBlock_Server {
|
|
|
43
43
|
max?: number;
|
|
44
44
|
function?: DataQueryFunction;
|
|
45
45
|
}
|
|
46
|
-
export declare const configDataBlock_Server =
|
|
47
|
-
|
|
48
|
-
export declare const
|
|
49
|
-
export declare const
|
|
50
|
-
export declare
|
|
51
|
-
export declare function decodeDrilldownData(
|
|
52
|
-
source: string,
|
|
53
|
-
additionalFilterSources: string[],
|
|
54
|
-
): string;
|
|
46
|
+
export declare const configDataBlock_Server = "8316067a-d04b-4b21-bd4d-35529846617b";
|
|
47
|
+
export declare const blockFilterKey = "34642664-dbd1-4e35-b0ea-2eaabe796b48";
|
|
48
|
+
export declare const blockSortKey = "2c849ed6-6105-4aa2-a961-9f95135dfe3b";
|
|
49
|
+
export declare const blockColorizeKey = "badd51f7-82ce-45b2-a67e-37d52df88c5c";
|
|
50
|
+
export declare function decodeDrilldownData(source: string, additionalFilterSources: string[]): string;
|
|
55
51
|
export declare function encodeDrilldownData(key: string): {
|
|
56
52
|
source: string;
|
|
57
53
|
additionalFilterSources: string[];
|
|
@@ -4,20 +4,20 @@ import { WidgetRenderEnv } from '../widget';
|
|
|
4
4
|
import { ThemeProvide } from './theme';
|
|
5
5
|
import { WidgetDataOptionColumn_Server, WidgetRepresent } from './widget';
|
|
6
6
|
export declare enum Input {
|
|
7
|
-
Change = "
|
|
8
|
-
ChangeLang = "
|
|
9
|
-
ChangeTheme = "
|
|
10
|
-
ChangeOtherFilters = "
|
|
11
|
-
ChangeWidgetRenderEnv = "
|
|
7
|
+
Change = "ptnl.input.change",
|
|
8
|
+
ChangeLang = "ptnl.input.changeLang",
|
|
9
|
+
ChangeTheme = "ptnl.input.changeTheme",
|
|
10
|
+
ChangeOtherFilters = "ptnl.input.ChangeOtherFilters",
|
|
11
|
+
ChangeWidgetRenderEnv = "ptnl.input.changeWidgetRenderEnv"
|
|
12
12
|
}
|
|
13
13
|
export declare enum Output {
|
|
14
|
-
Init = "
|
|
15
|
-
Ready = "
|
|
16
|
-
SetFilter = "
|
|
17
|
-
RemoveFilterAt = "
|
|
18
|
-
SetSort = "
|
|
19
|
-
RemoveSortAt = "
|
|
20
|
-
Interact = "
|
|
14
|
+
Init = "ptnl.output.init",
|
|
15
|
+
Ready = "ptnl.output.ready",
|
|
16
|
+
SetFilter = "ptnl.output.setFilter",
|
|
17
|
+
RemoveFilterAt = "ptnl.output.RemoveFilterAt",
|
|
18
|
+
SetSort = "ptnl.output.setSort",
|
|
19
|
+
RemoveSortAt = "ptnl.output.RemoveSortAt",
|
|
20
|
+
Interact = "ptnl.output.interact"
|
|
21
21
|
}
|
|
22
22
|
export interface InputParameter extends Record<Input, any> {
|
|
23
23
|
[Input.Change]: WidgetRepresent;
|
|
@@ -3,19 +3,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Output = exports.Input = void 0;
|
|
4
4
|
var Input;
|
|
5
5
|
(function (Input) {
|
|
6
|
-
Input["Change"] = "
|
|
7
|
-
Input["ChangeLang"] = "
|
|
8
|
-
Input["ChangeTheme"] = "
|
|
9
|
-
Input["ChangeOtherFilters"] = "
|
|
10
|
-
Input["ChangeWidgetRenderEnv"] = "
|
|
6
|
+
Input["Change"] = "ptnl.input.change";
|
|
7
|
+
Input["ChangeLang"] = "ptnl.input.changeLang";
|
|
8
|
+
Input["ChangeTheme"] = "ptnl.input.changeTheme";
|
|
9
|
+
Input["ChangeOtherFilters"] = "ptnl.input.ChangeOtherFilters";
|
|
10
|
+
Input["ChangeWidgetRenderEnv"] = "ptnl.input.changeWidgetRenderEnv";
|
|
11
11
|
})(Input = exports.Input || (exports.Input = {}));
|
|
12
12
|
var Output;
|
|
13
13
|
(function (Output) {
|
|
14
|
-
Output["Init"] = "
|
|
15
|
-
Output["Ready"] = "
|
|
16
|
-
Output["SetFilter"] = "
|
|
17
|
-
Output["RemoveFilterAt"] = "
|
|
18
|
-
Output["SetSort"] = "
|
|
19
|
-
Output["RemoveSortAt"] = "
|
|
20
|
-
Output["Interact"] = "
|
|
14
|
+
Output["Init"] = "ptnl.output.init";
|
|
15
|
+
Output["Ready"] = "ptnl.output.ready";
|
|
16
|
+
Output["SetFilter"] = "ptnl.output.setFilter";
|
|
17
|
+
Output["RemoveFilterAt"] = "ptnl.output.RemoveFilterAt";
|
|
18
|
+
Output["SetSort"] = "ptnl.output.setSort";
|
|
19
|
+
Output["RemoveSortAt"] = "ptnl.output.RemoveSortAt";
|
|
20
|
+
Output["Interact"] = "ptnl.output.interact";
|
|
21
21
|
})(Output = exports.Output || (exports.Output = {}));
|