@ic3/reporting-api 8.0.0-rc.4 → 8.1.0
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/dist/ApiUtils.d.ts +46 -8
- package/dist/ApiUtils.js +37 -21
- package/dist/ApiUtils.js.map +1 -1
- package/dist/INotification.d.ts +26 -6
- package/dist/IOnNewEventJsContext.d.ts +66 -0
- package/dist/{theme/ThemeGoogleMapMarker.js → IOnNewEventJsContext.js} +1 -1
- package/dist/IOnNewEventJsContext.js.map +1 -0
- package/dist/IPluginDefinition.d.ts +9 -0
- package/dist/IReporting.d.ts +15 -5
- package/dist/IThemeManager.d.ts +12 -13
- package/dist/IThemeManager.js.map +1 -1
- package/dist/ITypes.d.ts +22 -0
- package/dist/ITypes.js +28 -0
- package/dist/ITypes.js.map +1 -1
- package/dist/IWidgetManager.d.ts +5 -2
- package/dist/LazyTreeView.d.ts +6 -24
- package/dist/LazyTreeView.js +0 -13
- package/dist/LazyTreeView.js.map +1 -1
- package/dist/Loader.d.ts +78 -0
- package/dist/Loader.js +160 -3
- package/dist/Loader.js.map +1 -1
- package/dist/PublicAmchartsData.d.ts +62 -0
- package/dist/PublicAmchartsData.js +126 -0
- package/dist/PublicAmchartsData.js.map +1 -0
- package/dist/PublicContext.d.ts +40 -3
- package/dist/PublicLayout.d.ts +5 -1
- package/dist/PublicTemplate.d.ts +90 -36
- package/dist/PublicTemplate.js +1 -10
- package/dist/PublicTemplate.js.map +1 -1
- package/dist/PublicTemplateForm.d.ts +66 -8
- package/dist/PublicTemplateForm.js +1 -9
- package/dist/PublicTemplateForm.js.map +1 -1
- package/dist/PublicTemplates.d.ts +61 -0
- package/dist/{theme/ThemeReportAppMenu.js → PublicTemplates.js} +1 -1
- package/dist/PublicTemplates.js.map +1 -0
- package/dist/PublicTheme.d.ts +157 -16
- package/dist/PublicTheme.js.map +1 -1
- package/dist/PublicTidyColumn.d.ts +76 -21
- package/dist/PublicTidyColumn.js +8 -0
- package/dist/PublicTidyColumn.js.map +1 -1
- package/dist/PublicTidyHistogram.d.ts +39 -1
- package/dist/PublicTidyHistogram.js +6 -1
- package/dist/PublicTidyHistogram.js.map +1 -1
- package/dist/PublicTidyMath.d.ts +26 -20
- package/dist/PublicTidyTable.d.ts +44 -19
- package/dist/PublicTidyTableInteractions.d.ts +80 -17
- package/dist/PublicTidyTableTypes.d.ts +109 -19
- package/dist/PublicTidyTableTypes.js +18 -1
- package/dist/PublicTidyTableTypes.js.map +1 -1
- package/dist/PublicTidyTree.d.ts +19 -12
- package/dist/PublicTidyTree.js +25 -16
- package/dist/PublicTidyTree.js.map +1 -1
- package/dist/index.d.ts +20 -3
- package/dist/index.js +25 -4
- package/dist/index.js.map +1 -1
- package/dist/theme/ThemeAmCharts4.d.ts +1358 -0
- package/dist/theme/ThemeAmCharts4.js +61 -0
- package/dist/theme/ThemeAmCharts4.js.map +1 -0
- package/dist/theme/ThemeApp.d.ts +26 -11
- package/dist/theme/ThemeApp.js +51 -0
- package/dist/theme/ThemeApp.js.map +1 -1
- package/dist/theme/ThemeAppMenuIcon.d.ts +7 -0
- package/dist/theme/ThemeAppMenuIcon.js +8 -0
- package/dist/theme/ThemeAppMenuIcon.js.map +1 -0
- package/dist/theme/ThemeBaseTable.d.ts +94 -0
- package/dist/theme/ThemeBaseTable.js +10 -0
- package/dist/theme/ThemeBaseTable.js.map +1 -0
- package/dist/theme/ThemeDatePicker.d.ts +118 -0
- package/dist/theme/ThemeDatePicker.js +11 -0
- package/dist/theme/ThemeDatePicker.js.map +1 -0
- package/dist/theme/ThemeEditorTopBar.d.ts +31 -0
- package/dist/theme/ThemeEditorTopBar.js +35 -0
- package/dist/theme/ThemeEditorTopBar.js.map +1 -0
- package/dist/theme/ThemeEmbeddedReport.d.ts +25 -0
- package/dist/theme/ThemeEmbeddedReport.js +3 -0
- package/dist/theme/ThemeEmbeddedReport.js.map +1 -0
- package/dist/theme/ThemeFilter.d.ts +28 -0
- package/dist/theme/ThemeFilter.js +3 -0
- package/dist/theme/ThemeFilter.js.map +1 -0
- package/dist/theme/ThemeFilterAutocomplete.d.ts +31 -15
- package/dist/theme/ThemeFilterAutocomplete.js.map +1 -1
- package/dist/theme/ThemeFilterButtons.d.ts +40 -23
- package/dist/theme/ThemeFilterButtons.js +1 -1
- package/dist/theme/ThemeFilterButtons.js.map +1 -1
- package/dist/theme/ThemeFilterCheckboxRadio.d.ts +48 -0
- package/dist/theme/ThemeFilterCheckboxRadio.js +23 -0
- package/dist/theme/ThemeFilterCheckboxRadio.js.map +1 -0
- package/dist/theme/ThemeFilterPanel.d.ts +94 -0
- package/dist/theme/ThemeFilterPanel.js +35 -0
- package/dist/theme/ThemeFilterPanel.js.map +1 -0
- package/dist/theme/ThemeFilterSlider.d.ts +42 -28
- package/dist/theme/ThemeFilterSlider.js +7 -7
- package/dist/theme/ThemeFilterSlider.js.map +1 -1
- package/dist/theme/ThemeFilterTree.d.ts +61 -30
- package/dist/theme/ThemeFilterTree.js +2 -1
- package/dist/theme/ThemeFilterTree.js.map +1 -1
- package/dist/theme/ThemeGlobal.d.ts +4 -0
- package/dist/theme/ThemeGlobal.js +9 -0
- package/dist/theme/ThemeGlobal.js.map +1 -0
- package/dist/theme/ThemeGoogle.d.ts +132 -0
- package/dist/theme/ThemeGoogle.js +64 -0
- package/dist/theme/ThemeGoogle.js.map +1 -0
- package/dist/theme/ThemeGoogleHeatMap.d.ts +58 -0
- package/dist/theme/ThemeGoogleHeatMap.js +3 -0
- package/dist/theme/ThemeGoogleHeatMap.js.map +1 -0
- package/dist/theme/ThemeGoogleKmlLayer.d.ts +40 -0
- package/dist/theme/ThemeGoogleKmlLayer.js +3 -0
- package/dist/theme/ThemeGoogleKmlLayer.js.map +1 -0
- package/dist/theme/ThemeGoogleMarker.d.ts +147 -0
- package/dist/theme/ThemeGoogleMarker.js +3 -0
- package/dist/theme/ThemeGoogleMarker.js.map +1 -0
- package/dist/theme/ThemeHtmlBox.d.ts +5 -1
- package/dist/theme/ThemeImage.d.ts +19 -0
- package/dist/theme/ThemeImage.js +3 -0
- package/dist/theme/ThemeImage.js.map +1 -0
- package/dist/theme/ThemeKpiBox.d.ts +46 -0
- package/dist/theme/ThemeKpiBox.js +3 -0
- package/dist/theme/ThemeKpiBox.js.map +1 -0
- package/dist/theme/ThemeKpiCard.d.ts +98 -0
- package/dist/theme/ThemeKpiCard.js +3 -0
- package/dist/theme/ThemeKpiCard.js.map +1 -0
- package/dist/theme/ThemeLazyTreeClasses.d.ts +14 -0
- package/dist/theme/ThemeLazyTreeClasses.js +19 -0
- package/dist/theme/ThemeLazyTreeClasses.js.map +1 -0
- package/dist/theme/ThemeMarkdownText.d.ts +27 -0
- package/dist/theme/ThemeMarkdownText.js +3 -0
- package/dist/theme/ThemeMarkdownText.js.map +1 -0
- package/dist/theme/ThemePivotTable.d.ts +63 -0
- package/dist/theme/ThemePivotTable.js +10 -1
- package/dist/theme/ThemePivotTable.js.map +1 -1
- package/dist/theme/ThemeQueryBuilderNode.d.ts +8 -0
- package/dist/theme/ThemeQueryBuilderNode.js +8 -0
- package/dist/theme/ThemeQueryBuilderNode.js.map +1 -0
- package/dist/theme/ThemeRepetitionWidget.d.ts +51 -0
- package/dist/theme/ThemeRepetitionWidget.js +3 -0
- package/dist/theme/ThemeRepetitionWidget.js.map +1 -0
- package/dist/theme/ThemeReportAppLeftPanel.d.ts +7 -0
- package/dist/theme/ThemeReportAppLeftPanel.js +11 -0
- package/dist/theme/ThemeReportAppLeftPanel.js.map +1 -0
- package/dist/theme/ThemeTable.d.ts +56 -1
- package/dist/theme/ThemeTable.js.map +1 -1
- package/dist/theme/ThemeWidgetBox.d.ts +77 -0
- package/dist/theme/ThemeWidgetBox.js +50 -14
- package/dist/theme/ThemeWidgetBox.js.map +1 -1
- package/package.json +6 -6
- package/dist/theme/ThemeFilterCheckboxes.d.ts +0 -18
- package/dist/theme/ThemeFilterCheckboxes.js +0 -11
- package/dist/theme/ThemeFilterCheckboxes.js.map +0 -1
- package/dist/theme/ThemeGoogleMapMarker.d.ts +0 -51
- package/dist/theme/ThemeGoogleMapMarker.js.map +0 -1
- package/dist/theme/ThemeReportAppMenu.d.ts +0 -18
- package/dist/theme/ThemeReportAppMenu.js.map +0 -1
package/dist/PublicTemplate.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ITidyTable } from "./PublicTidyTable";
|
|
2
2
|
import { ITidyTableInteraction } from "./PublicTidyTableInteractions";
|
|
3
3
|
import { IWidgetPublicContext } from "./PublicContext";
|
|
4
|
-
import {
|
|
4
|
+
import { FormFieldObject, FormFields, IFormColumnChooserFieldDef } from "./PublicTemplateForm";
|
|
5
5
|
import { IWidgetVariantManager } from "./IWidgetVariantManager";
|
|
6
|
-
import { ITidyColumn } from "./PublicTidyColumn";
|
|
7
6
|
import { ReactElement } from "react";
|
|
8
7
|
import { Theme } from "@mui/material/styles";
|
|
8
|
+
import { WidgetTemplateChartOptions, WidgetTemplateIDs } from "./PublicTemplates";
|
|
9
|
+
import { ChartTemplateDataMapping, IFormFieldGranularityItem } from "./PublicTidyTableTypes";
|
|
9
10
|
declare type ChartTemplateWidgetProps = any;
|
|
10
11
|
export declare type IPublicWidgetTemplateDefinition<T extends FormFieldObject> = IPublicWidgetReactTemplateDefinition<T> | IPublicWidgetJsTemplateDefinition<T>;
|
|
11
12
|
export declare enum IWidgetTemplateMdxBuilderAxisPropsConstraint {
|
|
@@ -64,15 +65,15 @@ export interface IWidgetTemplateMdxBuilderMapping {
|
|
|
64
65
|
*/
|
|
65
66
|
mdxAxis: Readonly<IWidgetTemplateMdxBuilderAxisProps[]>;
|
|
66
67
|
/**
|
|
67
|
-
* The generated
|
|
68
|
+
* The generated MDX is for a filter (the cell values are not of interest).
|
|
68
69
|
*/
|
|
69
70
|
mdxIsForFilter?: true;
|
|
70
71
|
/**
|
|
71
|
-
*
|
|
72
|
+
* The cell values are not needed
|
|
72
73
|
*/
|
|
73
74
|
withoutCellValues?: true;
|
|
74
75
|
/**
|
|
75
|
-
*
|
|
76
|
+
* An MDX query if the builder is empty.
|
|
76
77
|
*/
|
|
77
78
|
mdxQueryIfEmpty?: boolean;
|
|
78
79
|
}
|
|
@@ -109,9 +110,22 @@ export interface IPublicJsChartTemplate<T extends FormFieldObject> {
|
|
|
109
110
|
* @see IPublicReactChartTemplate
|
|
110
111
|
* @see FormFieldObject
|
|
111
112
|
*/
|
|
112
|
-
export interface IPublicWidgetReactTemplateDefinition<
|
|
113
|
-
|
|
113
|
+
export interface IPublicWidgetReactTemplateDefinition<OPTIONS extends FormFieldObject> extends IPublicCommonWidgetTemplateDefinition<OPTIONS> {
|
|
114
|
+
/**
|
|
115
|
+
* Actual widget rendering logic.
|
|
116
|
+
*/
|
|
117
|
+
jsCode: (context: IWidgetPublicContext) => IPublicReactChartTemplate<OPTIONS>;
|
|
114
118
|
reactComponent: true;
|
|
119
|
+
/**
|
|
120
|
+
* Only the widget template meta information is required when starting the application.
|
|
121
|
+
*
|
|
122
|
+
* This method gives the opportunity for a widget template to load (Webpack) its actual jsCode logic when required.
|
|
123
|
+
* For example, AmCharts 4 widgets are loading the AmCharts 4 actual JS libraries once their rendering is actually
|
|
124
|
+
* required.
|
|
125
|
+
*
|
|
126
|
+
* @param definitionW a resolved wrapped widget (extending widget).
|
|
127
|
+
*/
|
|
128
|
+
resolveDefinition?: (definitionW?: IPublicWidgetTemplateDefinition<any>) => Promise<IPublicWidgetTemplateDefinition<OPTIONS>>;
|
|
115
129
|
}
|
|
116
130
|
/**
|
|
117
131
|
* The definition of a widget that renders using plain Javascript/Typescript.
|
|
@@ -119,22 +133,27 @@ export interface IPublicWidgetReactTemplateDefinition<T extends FormFieldObject>
|
|
|
119
133
|
* @see IPublicJsChartTemplate
|
|
120
134
|
* @see FormFieldObject
|
|
121
135
|
*/
|
|
122
|
-
export interface IPublicWidgetJsTemplateDefinition<
|
|
123
|
-
|
|
136
|
+
export interface IPublicWidgetJsTemplateDefinition<OPTIONS extends FormFieldObject> extends IPublicCommonWidgetTemplateDefinition<OPTIONS> {
|
|
137
|
+
/**
|
|
138
|
+
* Actual widget rendering logic.
|
|
139
|
+
*/
|
|
140
|
+
jsCode: (context: IWidgetPublicContext, container: HTMLDivElement) => IPublicJsChartTemplate<OPTIONS>;
|
|
124
141
|
reactComponent?: false;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
142
|
+
/**
|
|
143
|
+
* Only the widget template meta information is required when starting the application.
|
|
144
|
+
*
|
|
145
|
+
* This method gives the opportunity for a widget template to load (Webpack) its actual jsCode logic when required.
|
|
146
|
+
* For example, AmCharts 4 widgets are loading the AmCharts 4 actual JS libraries once their rendering is actually
|
|
147
|
+
* required.
|
|
148
|
+
*
|
|
149
|
+
* @param definitionW a resolved wrapped widget (extending widget).
|
|
150
|
+
*/
|
|
151
|
+
resolveDefinition?: (definitionW?: IPublicWidgetTemplateDefinition<any>) => Promise<IPublicWidgetTemplateDefinition<OPTIONS>>;
|
|
133
152
|
}
|
|
134
153
|
/**
|
|
135
154
|
* Definition - static - of a widget template
|
|
136
155
|
*/
|
|
137
|
-
interface IPublicCommonWidgetTemplateDefinition {
|
|
156
|
+
interface IPublicCommonWidgetTemplateDefinition<OPTIONS extends FormFieldObject> {
|
|
138
157
|
/**
|
|
139
158
|
* Determine the widget icon in the widget infos.
|
|
140
159
|
* Used for finding the right documentation.
|
|
@@ -155,6 +174,10 @@ interface IPublicCommonWidgetTemplateDefinition {
|
|
|
155
174
|
* Internal usage: while investigating lazy registration (setup upon registration).
|
|
156
175
|
*/
|
|
157
176
|
debug?: string;
|
|
177
|
+
/**
|
|
178
|
+
* Internal usage: the wrapped pluginId.templateId (setup upon registration).
|
|
179
|
+
*/
|
|
180
|
+
wrapped?: string;
|
|
158
181
|
/**
|
|
159
182
|
* Internal usage: pluginId.templateId (setup upon registration).
|
|
160
183
|
*/
|
|
@@ -273,20 +296,30 @@ interface IPublicCommonWidgetTemplateDefinition {
|
|
|
273
296
|
eventRoles?: ITemplateEventActionDef;
|
|
274
297
|
selection?: {
|
|
275
298
|
/**
|
|
276
|
-
* The
|
|
277
|
-
* columns from the Interaction/Selection configuration (see Selection Granularity).
|
|
299
|
+
* The default selection granularity.
|
|
278
300
|
*/
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
301
|
+
defaultGranularityItems?: IFormFieldGranularityItem[];
|
|
302
|
+
/**
|
|
303
|
+
* The list of columns/roles that can be part of the selection granularity. The granularity editor shows
|
|
304
|
+
* when there are 2 or more roles.
|
|
305
|
+
*/
|
|
306
|
+
granularityItems?: (table: ITidyTable) => IFormFieldGranularityItem[];
|
|
284
307
|
};
|
|
285
308
|
mdxBuilderSettings?: IWidgetTemplateMdxBuilderMapping;
|
|
309
|
+
/**
|
|
310
|
+
* Setup how to get default mappings from the table and options for this widget.
|
|
311
|
+
* If undefined, it uses the default fallback logic.
|
|
312
|
+
*/
|
|
313
|
+
defaultMapping?: (data: IWidgetTemplateTidyOptions<OPTIONS>) => ChartTemplateDataMapping;
|
|
286
314
|
/**
|
|
287
315
|
* The meta information required for editing the widget options.
|
|
288
316
|
*/
|
|
289
|
-
chartOptionsMeta?:
|
|
317
|
+
chartOptionsMeta?: FormFields<OPTIONS>;
|
|
318
|
+
/**
|
|
319
|
+
* An optional hook that allows for modifying the chart options passed as parameter.
|
|
320
|
+
* Used when extending existing widget definition.
|
|
321
|
+
*/
|
|
322
|
+
hookChartOptions?: (options: any) => any;
|
|
290
323
|
/**
|
|
291
324
|
* When registering a variant add the following field editor meta:
|
|
292
325
|
* <pre>
|
|
@@ -305,7 +338,16 @@ interface IPublicCommonWidgetTemplateDefinition {
|
|
|
305
338
|
* Whether or not that component is using React for rendering.
|
|
306
339
|
*/
|
|
307
340
|
reactComponent?: boolean;
|
|
308
|
-
|
|
341
|
+
/**
|
|
342
|
+
* Only the widget template meta information is required when starting the application.
|
|
343
|
+
*
|
|
344
|
+
* This method gives the opportunity for a widget template to load (Webpack) its actual jsCode logic when required.
|
|
345
|
+
* For example, AmCharts 4 widgets are loading the AmCharts 4 actual JS libraries once their rendering is actually
|
|
346
|
+
* required.
|
|
347
|
+
*
|
|
348
|
+
* @param definitionW a resolved wrapped widget (extending widget).
|
|
349
|
+
*/
|
|
350
|
+
resolveDefinition?: (definitionW?: IPublicWidgetTemplateDefinition<any>) => Promise<IPublicWidgetTemplateDefinition<OPTIONS>>;
|
|
309
351
|
/**
|
|
310
352
|
* When defining new widgets using amCharts 4, this method registers the icCube license.
|
|
311
353
|
*/
|
|
@@ -314,6 +356,10 @@ interface IPublicCommonWidgetTemplateDefinition {
|
|
|
314
356
|
* When opening "Use Global Filter" option on Interaction tab
|
|
315
357
|
*/
|
|
316
358
|
enableUseGlobalFilter?: boolean;
|
|
359
|
+
/**
|
|
360
|
+
* Returns true if the widget fires a global event at initialization (start)
|
|
361
|
+
*/
|
|
362
|
+
firesGlobalEventAtStart?: (options: OPTIONS | undefined, templateDef: IPublicWidgetTemplateDefinition<OPTIONS>) => boolean;
|
|
317
363
|
}
|
|
318
364
|
/**
|
|
319
365
|
* *********************************************************************************************************************
|
|
@@ -326,16 +372,13 @@ export declare enum WidgetTemplateDefinitionType {
|
|
|
326
372
|
Map = "map",
|
|
327
373
|
Misc = "misc"
|
|
328
374
|
}
|
|
329
|
-
export interface
|
|
375
|
+
export interface IWidgetTemplateTidyData {
|
|
330
376
|
table: ITidyTable;
|
|
331
377
|
inter: ITidyTableInteraction;
|
|
332
|
-
options: {
|
|
333
|
-
[key: string]: any;
|
|
334
|
-
};
|
|
335
378
|
}
|
|
336
|
-
export interface
|
|
379
|
+
export interface IWidgetTemplateTidyOptions<T extends FormFieldObject> {
|
|
337
380
|
table: ITidyTable;
|
|
338
|
-
|
|
381
|
+
options: T;
|
|
339
382
|
}
|
|
340
383
|
export interface IChartVisualizationTypedInput<T extends FormFieldObject> {
|
|
341
384
|
table: ITidyTable;
|
|
@@ -361,7 +404,7 @@ export declare enum TemplateEventActionNames {
|
|
|
361
404
|
* Definition of the actions supported by a template
|
|
362
405
|
*
|
|
363
406
|
*
|
|
364
|
-
* ( e.g publish: 'onClick' )
|
|
407
|
+
* ( e.g., publish: 'onClick' )
|
|
365
408
|
*/
|
|
366
409
|
export interface ITemplateEventActionDef {
|
|
367
410
|
/**
|
|
@@ -385,7 +428,18 @@ export interface ITemplateEventActionDef {
|
|
|
385
428
|
*/
|
|
386
429
|
selectionSubscribe?: string;
|
|
387
430
|
}
|
|
388
|
-
export interface
|
|
389
|
-
|
|
431
|
+
export interface IWrappedWidgetTemplateDefinition<WIDGET extends WidgetTemplateIDs> {
|
|
432
|
+
/**
|
|
433
|
+
* Some free text used while registering the wrapper (e.g., error purpose).
|
|
434
|
+
*/
|
|
435
|
+
readonly registrationInfo: string;
|
|
436
|
+
/**
|
|
437
|
+
* e.g., ic3.Table
|
|
438
|
+
*/
|
|
439
|
+
readonly wrappedWidgetTemplateId: WIDGET;
|
|
440
|
+
/**
|
|
441
|
+
* A function generating the widget template definition based on the wrapped widget template definition.
|
|
442
|
+
*/
|
|
443
|
+
readonly wrapper: (wrapped: IPublicWidgetTemplateDefinition<WidgetTemplateChartOptions[WIDGET]>) => IPublicWidgetTemplateDefinition<FormFieldObject>;
|
|
390
444
|
}
|
|
391
445
|
export {};
|
package/dist/PublicTemplate.js
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TemplateEventActionNames = exports.WidgetTemplateDefinitionType = exports.
|
|
3
|
+
exports.TemplateEventActionNames = exports.WidgetTemplateDefinitionType = exports.IWidgetTemplateMdxBuilderAxisPropsConstraint = void 0;
|
|
4
4
|
var IWidgetTemplateMdxBuilderAxisPropsConstraint;
|
|
5
5
|
(function (IWidgetTemplateMdxBuilderAxisPropsConstraint) {
|
|
6
6
|
IWidgetTemplateMdxBuilderAxisPropsConstraint["DateType"] = "DateType";
|
|
7
7
|
IWidgetTemplateMdxBuilderAxisPropsConstraint["GeoLatLong"] = "GeoLatLong";
|
|
8
8
|
IWidgetTemplateMdxBuilderAxisPropsConstraint["GeoIso2Code"] = "GeoIso2Code";
|
|
9
9
|
})(IWidgetTemplateMdxBuilderAxisPropsConstraint = exports.IWidgetTemplateMdxBuilderAxisPropsConstraint || (exports.IWidgetTemplateMdxBuilderAxisPropsConstraint = {}));
|
|
10
|
-
/**
|
|
11
|
-
* List of special selection granularities (column selectors)
|
|
12
|
-
*/
|
|
13
|
-
var SelectionGranularityOptions;
|
|
14
|
-
(function (SelectionGranularityOptions) {
|
|
15
|
-
SelectionGranularityOptions["PivotTableTopHeader"] = "ic3pivotTableTopHeader";
|
|
16
|
-
SelectionGranularityOptions["PivotTableLeftHeader"] = "ic3pivotTableLeftHeader";
|
|
17
|
-
SelectionGranularityOptions["PivotTableCell"] = "ic3pivotTableCell";
|
|
18
|
-
})(SelectionGranularityOptions = exports.SelectionGranularityOptions || (exports.SelectionGranularityOptions = {}));
|
|
19
10
|
/**
|
|
20
11
|
* *********************************************************************************************************************
|
|
21
12
|
* DO NOT CHANGE THEIR VALUE : USED FOR FINDING THE DOCUMENTATION.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicTemplate.js","sourceRoot":"","sources":["../src/PublicTemplate.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"PublicTemplate.js","sourceRoot":"","sources":["../src/PublicTemplate.ts"],"names":[],"mappings":";;;AAeA,IAAY,4CAIX;AAJD,WAAY,4CAA4C;IACpD,qEAAqB,CAAA;IACrB,yEAAyB,CAAA;IACzB,2EAA2B,CAAA;AAC/B,CAAC,EAJW,4CAA4C,GAA5C,oDAA4C,KAA5C,oDAA4C,QAIvD;AAuaD;;;;GAIG;AACH,IAAY,4BAKX;AALD,WAAY,4BAA4B;IACpC,+CAAe,CAAA;IACf,iDAAiB,CAAA;IACjB,2CAAW,CAAA;IACX,6CAAa,CAAA;AACjB,CAAC,EALW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAKvC;AA6BD;;GAEG;AACH,IAAY,wBAMX;AAND,WAAY,wBAAwB;IAChC,mDAAuB,CAAA;IAEvB,gBAAgB;IAChB,0DAA8B,CAAA;IAC9B,iEAAqC,CAAA;AACzC,CAAC,EANW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAMnC"}
|
|
@@ -2,7 +2,11 @@ import { IWidgetEditorPublicContext } from "./PublicContext";
|
|
|
2
2
|
import { ITidyColumn } from "./PublicTidyColumn";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { AutocompleteRenderInputParams, AutocompleteRenderOptionState } from "@mui/material/Autocomplete/Autocomplete";
|
|
5
|
-
import { TidyColumnsType, TidyTableColumnSelector } from "./PublicTidyTableTypes";
|
|
5
|
+
import { IFormFieldGranularityItem, TidyColumnsType, TidyTableColumnSelector } from "./PublicTidyTableTypes";
|
|
6
|
+
import { ITidyTable } from "./PublicTidyTable";
|
|
7
|
+
export declare type Hook<T> = {
|
|
8
|
+
hook: (value: T) => void;
|
|
9
|
+
};
|
|
6
10
|
export declare function formFieldIsSelection(field: IFormFieldDef<any>): boolean;
|
|
7
11
|
export interface IFormFieldDef<DEFAULT_VALUE_TYPE> {
|
|
8
12
|
/**
|
|
@@ -93,7 +97,7 @@ export declare type FormFields<T extends FormFieldObject> = {
|
|
|
93
97
|
} | {
|
|
94
98
|
defaultValue?: any;
|
|
95
99
|
mandatory?: false;
|
|
96
|
-
}) & (Required<T>[key] extends FormFieldObject ? Omit<IFormEmbeddedFieldDef<Required<T>[key]>, 'fieldPath'> : Required<T>[key] extends IPaletteDef ? Omit<IFormPaletteEditorFieldDef, 'fieldPath'> : Required<T>[key] extends IColorDef ? Omit<IFormColorEditorFieldDef, 'fieldPath'> : Required<T>[key] extends TidyTableColumnSelector[] ? Omit<
|
|
100
|
+
}) & (Required<T>[key] extends FormFieldObject ? Omit<IFormEmbeddedFieldDef<Required<T>[key]>, 'fieldPath'> : Required<T>[key] extends IPaletteDef ? Omit<IFormPaletteEditorFieldDef, 'fieldPath'> : Required<T>[key] extends IColorDef ? Omit<IFormColorEditorFieldDef, 'fieldPath'> : Required<T>[key] extends TidyTableColumnSelector[] ? Omit<IFormColumnChooserMultipleFieldDef, 'fieldPath'> : Required<T>[key] extends TidyTableColumnSelector ? Omit<IFormColumnChooserSingleFieldDef, 'fieldPath'> : Required<T>[key] extends IFormEventMappingArrayFieldDefType ? Omit<IFormEventMappingArrayFieldDef, 'fieldPath'> : Required<T>[key] extends Hook<any> ? Omit<IFormHookFieldDef<any>, 'fieldPath'> : Required<T>[key] extends boolean ? Omit<IFormBooleanFieldDef, 'fieldPath'> : Required<T>[key] extends number ? Omit<IFormNumberFieldDef, 'fieldPath'> : Required<T>[key] extends string ? Omit<IFormOptionFieldSingleDef, 'fieldPath'> | Omit<IFormStringFieldDef, 'fieldPath'> | Omit<IFormFormatterPickerFieldDef, 'fieldPath'> | Omit<IFormWidgetVariantFieldDef, 'fieldPath'> | Omit<IFormTidyTableTextExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableTextRowExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableHtmlRowExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableHtmlExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableNumericExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableNumericRowExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableColorRowExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableStringRowExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableScaleRowExprFieldDef, 'fieldPath'> | Omit<IFormJsFieldDef, 'fieldPath'> | Omit<IFormJsonFieldDef, 'fieldPath'> | Omit<IFormMarkdownFieldDef, 'fieldPath'> | Omit<IFormOptionFieldReportPathDef, 'fieldPath'> : Required<T>[key] extends string[] ? Omit<IFormOptionFieldMultipleDef, 'fieldPath'> | Omit<IFormGroupsFieldDef, 'fieldPath'> : never);
|
|
97
101
|
};
|
|
98
102
|
export declare enum IFormFieldGroupTypes {
|
|
99
103
|
Selection = "selection",
|
|
@@ -125,6 +129,10 @@ export declare type FormFieldType =
|
|
|
125
129
|
* @see IFormColumnSelectionFieldDef
|
|
126
130
|
*/
|
|
127
131
|
"columnSelection" |
|
|
132
|
+
/**
|
|
133
|
+
* @see IFormConstantsFieldDef
|
|
134
|
+
*/
|
|
135
|
+
"constants" |
|
|
128
136
|
/**
|
|
129
137
|
* @see IFormArrayStringRecordsFieldDef
|
|
130
138
|
*/
|
|
@@ -141,6 +149,10 @@ export declare type FormFieldType =
|
|
|
141
149
|
* @see IFormFormatterPickerFieldDef
|
|
142
150
|
*/
|
|
143
151
|
"formatterPicker" |
|
|
152
|
+
/**
|
|
153
|
+
* @see IFormBooleanFieldDef
|
|
154
|
+
*/
|
|
155
|
+
"fixedBoolean" |
|
|
144
156
|
/**
|
|
145
157
|
* @see IFormBooleanFieldDef
|
|
146
158
|
*/
|
|
@@ -149,6 +161,10 @@ export declare type FormFieldType =
|
|
|
149
161
|
* @see IFormGroupsFieldDef
|
|
150
162
|
*/
|
|
151
163
|
"groups" |
|
|
164
|
+
/**
|
|
165
|
+
* @see IFormFunctionFieldDef
|
|
166
|
+
*/
|
|
167
|
+
"hook" |
|
|
152
168
|
/**
|
|
153
169
|
* @see IFormJsFieldDef
|
|
154
170
|
*/
|
|
@@ -229,10 +245,18 @@ export declare type FormFieldType =
|
|
|
229
245
|
* @see IFormTidyTableTextRowExprFieldDef
|
|
230
246
|
*/
|
|
231
247
|
"tidyTableTextRowExpr" |
|
|
248
|
+
/**
|
|
249
|
+
* @see IFormUrlFieldDef
|
|
250
|
+
*/
|
|
251
|
+
"url" |
|
|
232
252
|
/**
|
|
233
253
|
* @see IFormWidgetVariantFieldDef
|
|
234
254
|
*/
|
|
235
|
-
"widgetVariant"
|
|
255
|
+
"widgetVariant" |
|
|
256
|
+
/**
|
|
257
|
+
* @see IFormGranularitySelectionFieldDef
|
|
258
|
+
*/
|
|
259
|
+
"granularityChooser";
|
|
236
260
|
export declare type FormFieldTidyTableExprType = "tidyTableHtmlExpr" | "tidyTableHtmlRowExpr" | "tidyTableNumericExpr" | "tidyTableNumericRowExpr" | "tidyTableScaleRowExpr" | "tidyTableTextExpr" | "tidyTableTextRowExpr" | "tidyTableStringRowExpr" | "tidyTableColorRowExpr";
|
|
237
261
|
export declare function isTidyTableExpr(type: FormFieldType): type is FormFieldTidyTableExprType;
|
|
238
262
|
export declare function isTidyTableExprTable(type: FormFieldType): boolean;
|
|
@@ -304,7 +328,7 @@ export interface IFormAutocompleteFieldDef<OPTION> extends IFormFieldDef<OPTION>
|
|
|
304
328
|
* @see IFormGroupsFieldDef
|
|
305
329
|
*/
|
|
306
330
|
export interface IFormBooleanFieldDef extends IFormFieldDef<boolean> {
|
|
307
|
-
fieldType: "boolean" | "groupBoolean";
|
|
331
|
+
fieldType: "boolean" | "fixedBoolean" | "groupBoolean";
|
|
308
332
|
}
|
|
309
333
|
/**
|
|
310
334
|
* @see FormFieldDef
|
|
@@ -403,6 +427,15 @@ interface IFormColumnChooserMultipleFieldDef extends IFormFieldDef<TidyTableColu
|
|
|
403
427
|
alias?: string;
|
|
404
428
|
};
|
|
405
429
|
}
|
|
430
|
+
/**
|
|
431
|
+
* @see FormFieldDef
|
|
432
|
+
*/
|
|
433
|
+
export interface IFormGranularitySelectionFieldDef extends IFormFieldDef<IFormFieldGranularityItem> {
|
|
434
|
+
fieldType: "granularityChooser";
|
|
435
|
+
editorConf: {
|
|
436
|
+
options: (table: ITidyTable) => IFormFieldGranularityItem[];
|
|
437
|
+
};
|
|
438
|
+
}
|
|
406
439
|
/**
|
|
407
440
|
* @see FormFieldDef
|
|
408
441
|
*/
|
|
@@ -416,7 +449,17 @@ export interface IFormColumnSelectionFieldDef extends IFormFieldDef<any> {
|
|
|
416
449
|
/**
|
|
417
450
|
* @see FormFieldDef
|
|
418
451
|
*/
|
|
419
|
-
export interface
|
|
452
|
+
export interface IFormConstantsFieldDef extends IFormFieldDef<any> {
|
|
453
|
+
fieldType: "constants";
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* @see FormFieldDef
|
|
457
|
+
*/
|
|
458
|
+
export declare type IFormEventMappingArrayFieldDefType = {
|
|
459
|
+
toEvent: string;
|
|
460
|
+
fromEvent: string;
|
|
461
|
+
}[];
|
|
462
|
+
export interface IFormEventMappingArrayFieldDef extends IFormFieldDef<IFormEventMappingArrayFieldDefType> {
|
|
420
463
|
fieldType: "eventMappingArray";
|
|
421
464
|
}
|
|
422
465
|
/**
|
|
@@ -432,11 +475,21 @@ export interface IFormGroupsFieldDef extends IFormFieldDef<string[]> {
|
|
|
432
475
|
fieldType: "groups";
|
|
433
476
|
groups: string[];
|
|
434
477
|
}
|
|
478
|
+
/**
|
|
479
|
+
* @see FormFieldDef
|
|
480
|
+
*/
|
|
481
|
+
export interface IFormHookFieldDef<T> extends IFormFieldDef<Hook<T>> {
|
|
482
|
+
fieldType: "hook";
|
|
483
|
+
}
|
|
435
484
|
/**
|
|
436
485
|
* @see FormFieldDef
|
|
437
486
|
*/
|
|
438
487
|
export interface IFormJsFieldDef extends IFormFieldDef<string> {
|
|
439
488
|
fieldType: "js";
|
|
489
|
+
editorConf?: {
|
|
490
|
+
helpMdFile: string;
|
|
491
|
+
doNotCompleteEventNames?: true;
|
|
492
|
+
};
|
|
440
493
|
}
|
|
441
494
|
/**
|
|
442
495
|
* @see FormFieldDef
|
|
@@ -459,6 +512,9 @@ export interface IFormFileUploaderFieldDef extends IFormFieldDef<any> {
|
|
|
459
512
|
*/
|
|
460
513
|
export interface IFormMarkdownFieldDef extends IFormFieldDef<string> {
|
|
461
514
|
fieldType: "markdown";
|
|
515
|
+
editorConf?: {
|
|
516
|
+
singleLine: false;
|
|
517
|
+
};
|
|
462
518
|
}
|
|
463
519
|
export declare type MdxExpressionType = "calcMeasure" | "drilldown";
|
|
464
520
|
/**
|
|
@@ -510,6 +566,9 @@ export interface IFormOptionFieldMultipleDef extends IFormFieldDef<string[]> {
|
|
|
510
566
|
getCaption?: (id: string) => string;
|
|
511
567
|
};
|
|
512
568
|
}
|
|
569
|
+
export interface IFormOptionFieldReportPathDef extends IFormFieldDef<string> {
|
|
570
|
+
fieldType: "reportPath";
|
|
571
|
+
}
|
|
513
572
|
export interface IFormOptionFieldSingleDef extends IFormFieldDef<string> {
|
|
514
573
|
fieldType: "option";
|
|
515
574
|
editorConf: {
|
|
@@ -557,7 +616,7 @@ export interface IFormReportPermaLinkFieldDef extends IFormFieldDef<string> {
|
|
|
557
616
|
* @see FormFieldDef
|
|
558
617
|
*/
|
|
559
618
|
export interface IFormStringFieldDef extends IFormFieldDef<string> {
|
|
560
|
-
fieldType: "string";
|
|
619
|
+
fieldType: "string" | "url";
|
|
561
620
|
editorConf?: {
|
|
562
621
|
/**
|
|
563
622
|
* A list of possible strings...
|
|
@@ -693,6 +752,5 @@ export interface IFormWidgetVariantFieldDef extends IFormFieldDef<string> {
|
|
|
693
752
|
export interface IFormFormatterPickerFieldDef extends IFormFieldDef<string> {
|
|
694
753
|
fieldType: "formatterPicker";
|
|
695
754
|
}
|
|
696
|
-
export declare type FormFieldDef = IFormAutocompleteFieldDef<any> | IFormBooleanFieldDef | IFormColorEditorFieldDef | IFormColumnChooserFieldDef | IFormColumnSelectionFieldDef | IFormEventMappingArrayFieldDef | IFormFileUploaderFieldDef | IFormGroupsFieldDef | IFormJsFieldDef | IFormMarkdownFieldDef | IFormMdxFieldDef | IFormNumberFieldDef | IFormOptionFieldDef | IFormOptionFieldSingleDef | IFormOptionFieldMultipleDef | IFormPaletteEditorFieldDef | IFormReportPathFieldDef | IFormReportPermaLinkFieldDef | IFormStringFieldDef | IFormTidyTableHtmlExprFieldDef | IFormTidyTableHtmlRowExprFieldDef | IFormTidyTableNumericExprFieldDef | IFormTidyTableNumericRowExprFieldDef | IFormTidyTableStringRowExprFieldDef | IFormTidyTableColorRowExprFieldDef | IFormTidyTableScaleRowExprFieldDef | IFormTidyTableTextExprFieldDef | IFormTidyTableTextRowExprFieldDef | IFormWidgetVariantFieldDef | IFormFormatterPickerFieldDef;
|
|
697
|
-
export declare function createGroupsMeta(groups: string[]): IFormGroupsFieldDef;
|
|
755
|
+
export declare type FormFieldDef = IFormAutocompleteFieldDef<any> | IFormBooleanFieldDef | IFormColorEditorFieldDef | IFormColumnChooserFieldDef | IFormColumnSelectionFieldDef | IFormConstantsFieldDef | IFormEventMappingArrayFieldDef | IFormFileUploaderFieldDef | IFormGroupsFieldDef | IFormJsFieldDef | IFormMarkdownFieldDef | IFormMdxFieldDef | IFormNumberFieldDef | IFormOptionFieldDef | IFormOptionFieldSingleDef | IFormOptionFieldMultipleDef | IFormPaletteEditorFieldDef | IFormReportPathFieldDef | IFormReportPermaLinkFieldDef | IFormStringFieldDef | IFormTidyTableHtmlExprFieldDef | IFormTidyTableHtmlRowExprFieldDef | IFormTidyTableNumericExprFieldDef | IFormTidyTableNumericRowExprFieldDef | IFormTidyTableStringRowExprFieldDef | IFormTidyTableColorRowExprFieldDef | IFormTidyTableScaleRowExprFieldDef | IFormTidyTableTextExprFieldDef | IFormTidyTableTextRowExprFieldDef | IFormWidgetVariantFieldDef | IFormFormatterPickerFieldDef | IFormGranularitySelectionFieldDef;
|
|
698
756
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.isCodeMirrorModeExpr = exports.AutocompleteNoOptionsText = exports.isTidyTableExprScale = exports.isTidyTableExprNumeric = exports.isTidyTableExprTextHtml = exports.isTidyTableExprText = exports.isTidyTableExprRow = exports.isTidyTableExprTable = exports.isTidyTableExpr = exports.IFormFieldGroupTypes = exports.formFieldIsSelection = void 0;
|
|
4
4
|
function formFieldIsSelection(field) {
|
|
5
5
|
return field.group === IFormFieldGroupTypes.Selection;
|
|
6
6
|
}
|
|
@@ -80,12 +80,4 @@ function isCodeMirrorModeExpr(mode) {
|
|
|
80
80
|
|| mode === "tidyTableColorRowExpr";
|
|
81
81
|
}
|
|
82
82
|
exports.isCodeMirrorModeExpr = isCodeMirrorModeExpr;
|
|
83
|
-
function createGroupsMeta(groups) {
|
|
84
|
-
return {
|
|
85
|
-
fieldType: "groups",
|
|
86
|
-
groups: groups,
|
|
87
|
-
fieldPath: ""
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
exports.createGroupsMeta = createGroupsMeta;
|
|
91
83
|
//# sourceMappingURL=PublicTemplateForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicTemplateForm.js","sourceRoot":"","sources":["../src/PublicTemplateForm.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"PublicTemplateForm.js","sourceRoot":"","sources":["../src/PublicTemplateForm.ts"],"names":[],"mappings":";;;AAaA,SAAgB,oBAAoB,CAAC,KAAyB;IAC1D,OAAO,KAAK,CAAC,KAAK,KAAK,oBAAoB,CAAC,SAAS,CAAC;AAC1D,CAAC;AAFD,oDAEC;AAmJD,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC5B,+CAAuB,CAAA;IACvB,yEAAiD,CAAA;IACjD,sDAA8B,CAAA;AAClC,CAAC,EAJW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAI/B;AA0KD,SAAgB,eAAe,CAAC,IAAmB;IAC/C,OAAO,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,yBAAyB;WAClC,IAAI,KAAK,wBAAwB;WACjC,IAAI,KAAK,uBAAuB;WAChC,IAAI,KAAK,uBAAuB,CAClC;AACT,CAAC;AAXD,0CAWC;AAED,SAAgB,oBAAoB,CAAC,IAAmB;IACpD,OAAO,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB,CACjC;AACT,CAAC;AALD,oDAKC;AAED,SAAgB,kBAAkB,CAAC,IAAmB;IAClD,OAAO,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,yBAAyB;WAClC,IAAI,KAAK,wBAAwB;WACjC,IAAI,KAAK,uBAAuB;WAChC,IAAI,KAAK,uBAAuB,CAClC;AACT,CAAC;AARD,gDAQC;AAED,SAAgB,mBAAmB,CAAC,IAAmB;IACnD,OAAO,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB,CACjC;AACT,CAAC;AAND,kDAMC;AAED,SAAgB,uBAAuB,CAAC,IAAmB;IACvD,OAAO,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB,CACjC;AACT,CAAC;AAJD,0DAIC;AAED,SAAgB,sBAAsB,CAAC,IAAmB;IACtD,OAAO,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,yBAAyB,CACpC;AACT,CAAC;AAJD,wDAIC;AAED,SAAgB,oBAAoB,CAAC,IAAmB;IACpD,OAAO,IAAI,KAAK,uBAAuB,CAClC;AACT,CAAC;AAHD,oDAGC;AAED;;;GAGG;AACH,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACjC,sDAAyB,CAAA;IACzB,gEAAmC,CAAA;AACvC,CAAC,EAHW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAGpC;AAaD,SAAgB,oBAAoB,CAAC,IAAoB;IACrD,OAAO,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,yBAAyB;WAClC,IAAI,KAAK,uBAAuB;WAChC,IAAI,KAAK,wBAAwB;WACjC,IAAI,KAAK,uBAAuB,CAClC;AACT,CAAC;AAXD,oDAWC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { PivotTableChartOptions } from "./theme/ThemePivotTable";
|
|
2
|
+
import { DatePickerChartOptions } from "./theme/ThemeDatePicker";
|
|
3
|
+
import { ImageChartOptions } from "./theme/ThemeImage";
|
|
4
|
+
import { KpiBoxChartOptions } from "./theme/ThemeKpiBox";
|
|
5
|
+
import { KpiCartChartOptions } from "./theme/ThemeKpiCard";
|
|
6
|
+
import { EmbeddedReportChartOptions } from "./theme/ThemeEmbeddedReport";
|
|
7
|
+
import { MarkdownTextChartOptions } from "./theme/ThemeMarkdownText";
|
|
8
|
+
import { FilterPanelChartOptions } from "./theme/ThemeFilterPanel";
|
|
9
|
+
import { RepetitionWidgetChartOptions } from "./theme/ThemeRepetitionWidget";
|
|
10
|
+
import { GoogleHeatMapChartOptions } from "./theme/ThemeGoogleHeatMap";
|
|
11
|
+
import { GoogleMarkerChartOptions } from "./theme/ThemeGoogleMarker";
|
|
12
|
+
import { GoogleKmlLayerChartOptions } from "./theme/ThemeGoogleKmlLayer";
|
|
13
|
+
import { TableChartOptions } from "./theme/ThemeTable";
|
|
14
|
+
import { FormFieldObject } from "./PublicTemplateForm";
|
|
15
|
+
import { FilterButtonsChartOptions } from "./theme/ThemeFilterButtons";
|
|
16
|
+
import { FilterCheckboxRadioChartOptions } from "./theme/ThemeFilterCheckboxRadio";
|
|
17
|
+
import { FilterSliderChartOptions } from "./theme/ThemeFilterSlider";
|
|
18
|
+
import { FilterAutocompleteChartOptions } from "./theme/ThemeFilterAutocomplete";
|
|
19
|
+
import { FilterTreeChartOptions } from "./theme/ThemeFilterTree";
|
|
20
|
+
import { AmCharts4BubbleChartOptions, AmCharts4ComboChartOptions, AmCharts4DonutChartOptions, AmCharts4GaugeChartOptions, AmCharts4HistogramOptions, AmCharts4RegularAreaChartOptions, AmCharts4RegularBarChartOptions, AmCharts4RegularColumnChartOptions, AmCharts4RegularLineChartOptions, AmCharts4SankeyDiagramOptions, AmCharts4ScatterPlotOptions, AmCharts4StackedAreaChartOptions, AmCharts4StackedBarChartOptions, AmCharts4StackedColumnChartOptions, AmCharts4TreemapOptions, GeoMapChartOptions } from "./theme/ThemeAmCharts4";
|
|
21
|
+
interface IWidgetTemplateChartOptions {
|
|
22
|
+
"ic3.DatePicker": DatePickerChartOptions;
|
|
23
|
+
"ic3.EmbeddedReport": EmbeddedReportChartOptions;
|
|
24
|
+
"ic3.FilterAutocomplete": FilterAutocompleteChartOptions;
|
|
25
|
+
"ic3.FilterButtons": FilterButtonsChartOptions;
|
|
26
|
+
"ic3.FilterCheckboxRadio": FilterCheckboxRadioChartOptions;
|
|
27
|
+
"ic3.FilterPanel": FilterPanelChartOptions;
|
|
28
|
+
"ic3.FilterSlider": FilterSliderChartOptions;
|
|
29
|
+
"ic3.FilterTree": FilterTreeChartOptions;
|
|
30
|
+
"ic3.GoogleHeatMap": GoogleHeatMapChartOptions;
|
|
31
|
+
"ic3.GoogleKmlLayer": GoogleKmlLayerChartOptions;
|
|
32
|
+
"ic3.GoogleMarker": GoogleMarkerChartOptions;
|
|
33
|
+
"ic3.Image": ImageChartOptions;
|
|
34
|
+
"ic3.KpiBox": KpiBoxChartOptions;
|
|
35
|
+
"ic3.KpiCard": KpiCartChartOptions;
|
|
36
|
+
"ic3.MarkdownText": MarkdownTextChartOptions;
|
|
37
|
+
"ic3.PivotTable": PivotTableChartOptions;
|
|
38
|
+
"ic3.RepetitionWidget": RepetitionWidgetChartOptions;
|
|
39
|
+
"ic3.Table": TableChartOptions;
|
|
40
|
+
"amCharts4.AmCharts4BubbleChart": AmCharts4BubbleChartOptions;
|
|
41
|
+
"amCharts4.AmCharts4ComboChart": AmCharts4ComboChartOptions;
|
|
42
|
+
"amCharts4.AmCharts4RegularAreaChart": AmCharts4RegularAreaChartOptions;
|
|
43
|
+
"amCharts4.AmCharts4RegularBarChart": AmCharts4RegularBarChartOptions;
|
|
44
|
+
"amCharts4.AmCharts4RegularColumnChart": AmCharts4RegularColumnChartOptions;
|
|
45
|
+
"amCharts4.AmCharts4RegularLineChart": AmCharts4RegularLineChartOptions;
|
|
46
|
+
"amCharts4.AmCharts4ScatterPlot": AmCharts4ScatterPlotOptions;
|
|
47
|
+
"amCharts4.AmCharts4StackedAreaChart": AmCharts4StackedAreaChartOptions;
|
|
48
|
+
"amCharts4.AmCharts4StackedBarChart": AmCharts4StackedBarChartOptions;
|
|
49
|
+
"amCharts4.AmCharts4StackedColumnChart": AmCharts4StackedColumnChartOptions;
|
|
50
|
+
"amCharts4.AmCharts4DonutChart": AmCharts4DonutChartOptions;
|
|
51
|
+
"amCharts4.AmCharts4GaugeChart": AmCharts4GaugeChartOptions;
|
|
52
|
+
"amCharts4.AmCharts4Histogram": AmCharts4HistogramOptions;
|
|
53
|
+
"amCharts4.AmCharts4SankeyDiagram": AmCharts4SankeyDiagramOptions;
|
|
54
|
+
"amCharts4.AmCharts4TreeMap": AmCharts4TreemapOptions;
|
|
55
|
+
"amCharts4.AmCharts4GeoMap": GeoMapChartOptions;
|
|
56
|
+
}
|
|
57
|
+
export declare type WidgetTemplateChartOptions = IWidgetTemplateChartOptions & {
|
|
58
|
+
[key: string]: FormFieldObject;
|
|
59
|
+
};
|
|
60
|
+
export declare type WidgetTemplateIDs = keyof IWidgetTemplateChartOptions;
|
|
61
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PublicTemplates.js","sourceRoot":"","sources":["../src/PublicTemplates.ts"],"names":[],"mappings":""}
|