@ic3/reporting-api 9.0.1 → 9.1.1
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/README.md +1 -1
- package/dist/index.cjs +1906 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +11284 -81
- package/dist/index.js +1782 -96
- package/dist/index.js.map +1 -1
- package/package.json +51 -19
- package/dist/ApiUtils.d.ts +0 -57
- package/dist/ApiUtils.js +0 -79
- package/dist/ApiUtils.js.map +0 -1
- package/dist/ILocalizationManager.d.ts +0 -3
- package/dist/ILocalizationManager.js +0 -3
- package/dist/ILocalizationManager.js.map +0 -1
- package/dist/IMigrationManager.d.ts +0 -4
- package/dist/IMigrationManager.js +0 -3
- package/dist/IMigrationManager.js.map +0 -1
- package/dist/INotification.d.ts +0 -84
- package/dist/INotification.js +0 -3
- package/dist/INotification.js.map +0 -1
- package/dist/IOnNewEventJsContext.d.ts +0 -85
- package/dist/IOnNewEventJsContext.js +0 -3
- package/dist/IOnNewEventJsContext.js.map +0 -1
- package/dist/IPluginDefinition.d.ts +0 -41
- package/dist/IPluginDefinition.js +0 -3
- package/dist/IPluginDefinition.js.map +0 -1
- package/dist/IRemotePluginName.d.ts +0 -5
- package/dist/IRemotePluginName.js +0 -3
- package/dist/IRemotePluginName.js.map +0 -1
- package/dist/IThemeManager.d.ts +0 -87
- package/dist/IThemeManager.js +0 -8
- package/dist/IThemeManager.js.map +0 -1
- package/dist/ITidyTableTransformation.d.ts +0 -44
- package/dist/ITidyTableTransformation.js +0 -3
- package/dist/ITidyTableTransformation.js.map +0 -1
- package/dist/ITidyTableTransformationManager.d.ts +0 -4
- package/dist/ITidyTableTransformationManager.js +0 -3
- package/dist/ITidyTableTransformationManager.js.map +0 -1
- package/dist/ITypes.d.ts +0 -43
- package/dist/ITypes.js +0 -38
- package/dist/ITypes.js.map +0 -1
- package/dist/IUserMenuOptionManager.d.ts +0 -13
- package/dist/IUserMenuOptionManager.js +0 -3
- package/dist/IUserMenuOptionManager.js.map +0 -1
- package/dist/IVersionedPluginDefinition.d.ts +0 -8
- package/dist/IVersionedPluginDefinition.js +0 -3
- package/dist/IVersionedPluginDefinition.js.map +0 -1
- package/dist/IWidgetDefaultsManager.d.ts +0 -4
- package/dist/IWidgetDefaultsManager.js +0 -3
- package/dist/IWidgetDefaultsManager.js.map +0 -1
- package/dist/IWidgetManager.d.ts +0 -7
- package/dist/IWidgetManager.js +0 -3
- package/dist/IWidgetManager.js.map +0 -1
- package/dist/IWidgetVariantManager.d.ts +0 -22
- package/dist/IWidgetVariantManager.js +0 -3
- package/dist/IWidgetVariantManager.js.map +0 -1
- package/dist/IcEvent.d.ts +0 -59
- package/dist/IcEvent.js +0 -27
- package/dist/IcEvent.js.map +0 -1
- package/dist/LazyTreeView.d.ts +0 -130
- package/dist/LazyTreeView.js +0 -3
- package/dist/LazyTreeView.js.map +0 -1
- package/dist/Logger.d.ts +0 -13
- package/dist/Logger.js +0 -3
- package/dist/Logger.js.map +0 -1
- package/dist/PublicAmCharts4Base.d.ts +0 -91
- package/dist/PublicAmCharts4Base.js +0 -3
- package/dist/PublicAmCharts4Base.js.map +0 -1
- package/dist/PublicAmchartsData.d.ts +0 -116
- package/dist/PublicAmchartsData.js +0 -170
- package/dist/PublicAmchartsData.js.map +0 -1
- package/dist/PublicCommon.d.ts +0 -1
- package/dist/PublicCommon.js +0 -3
- package/dist/PublicCommon.js.map +0 -1
- package/dist/PublicContext.d.ts +0 -389
- package/dist/PublicContext.js +0 -19
- package/dist/PublicContext.js.map +0 -1
- package/dist/PublicDateShortcutUtils.d.ts +0 -41
- package/dist/PublicDateShortcutUtils.js +0 -3
- package/dist/PublicDateShortcutUtils.js.map +0 -1
- package/dist/PublicI18n.d.ts +0 -8
- package/dist/PublicI18n.js +0 -3
- package/dist/PublicI18n.js.map +0 -1
- package/dist/PublicLayout.d.ts +0 -247
- package/dist/PublicLayout.js +0 -3
- package/dist/PublicLayout.js.map +0 -1
- package/dist/PublicTemplate.d.ts +0 -630
- package/dist/PublicTemplate.js +0 -33
- package/dist/PublicTemplate.js.map +0 -1
- package/dist/PublicTemplateExprForm.d.ts +0 -30
- package/dist/PublicTemplateExprForm.js +0 -3
- package/dist/PublicTemplateExprForm.js.map +0 -1
- package/dist/PublicTemplateForm.d.ts +0 -866
- package/dist/PublicTemplateForm.js +0 -122
- package/dist/PublicTemplateForm.js.map +0 -1
- package/dist/PublicTemplates.d.ts +0 -70
- package/dist/PublicTemplates.js +0 -3
- package/dist/PublicTemplates.js.map +0 -1
- package/dist/PublicTheme.d.ts +0 -1013
- package/dist/PublicTheme.js +0 -14
- package/dist/PublicTheme.js.map +0 -1
- package/dist/PublicTidyColumn.d.ts +0 -755
- package/dist/PublicTidyColumn.js +0 -100
- package/dist/PublicTidyColumn.js.map +0 -1
- package/dist/PublicTidyHistogram.d.ts +0 -81
- package/dist/PublicTidyHistogram.js +0 -105
- package/dist/PublicTidyHistogram.js.map +0 -1
- package/dist/PublicTidyMath.d.ts +0 -175
- package/dist/PublicTidyMath.js +0 -3
- package/dist/PublicTidyMath.js.map +0 -1
- package/dist/PublicTidyTable.d.ts +0 -534
- package/dist/PublicTidyTable.js +0 -3
- package/dist/PublicTidyTable.js.map +0 -1
- package/dist/PublicTidyTableInteractions.d.ts +0 -317
- package/dist/PublicTidyTableInteractions.js +0 -31
- package/dist/PublicTidyTableInteractions.js.map +0 -1
- package/dist/PublicTidyTableTypeGuards.d.ts +0 -6
- package/dist/PublicTidyTableTypeGuards.js +0 -36
- package/dist/PublicTidyTableTypeGuards.js.map +0 -1
- package/dist/PublicTidyTableTypes.d.ts +0 -480
- package/dist/PublicTidyTableTypes.js +0 -154
- package/dist/PublicTidyTableTypes.js.map +0 -1
- package/dist/PublicTidyTree.d.ts +0 -71
- package/dist/PublicTidyTree.js +0 -89
- package/dist/PublicTidyTree.js.map +0 -1
- package/dist/RemoteContainerUtils.d.ts +0 -9
- package/dist/RemoteContainerUtils.js +0 -49
- package/dist/RemoteContainerUtils.js.map +0 -1
- package/dist/ReportingVersion.d.ts +0 -9
- package/dist/ReportingVersion.js +0 -13
- package/dist/ReportingVersion.js.map +0 -1
- package/dist/ThemeAugmentation.d.ts +0 -35
- package/dist/ThemeAugmentation.js +0 -3
- package/dist/ThemeAugmentation.js.map +0 -1
- package/dist/theme/ThemeAIWidgetChatBot.d.ts +0 -49
- package/dist/theme/ThemeAIWidgetChatBot.js +0 -19
- package/dist/theme/ThemeAIWidgetChatBot.js.map +0 -1
- package/dist/theme/ThemeAlertDialog.d.ts +0 -13
- package/dist/theme/ThemeAlertDialog.js +0 -17
- package/dist/theme/ThemeAlertDialog.js.map +0 -1
- package/dist/theme/ThemeAmCharts4.d.ts +0 -1634
- package/dist/theme/ThemeAmCharts4.js +0 -84
- package/dist/theme/ThemeAmCharts4.js.map +0 -1
- package/dist/theme/ThemeApp.d.ts +0 -66
- package/dist/theme/ThemeApp.js +0 -64
- package/dist/theme/ThemeApp.js.map +0 -1
- package/dist/theme/ThemeAppMenuIcon.d.ts +0 -7
- package/dist/theme/ThemeAppMenuIcon.js +0 -8
- package/dist/theme/ThemeAppMenuIcon.js.map +0 -1
- package/dist/theme/ThemeBaseTable.d.ts +0 -122
- package/dist/theme/ThemeBaseTable.js +0 -10
- package/dist/theme/ThemeBaseTable.js.map +0 -1
- package/dist/theme/ThemeCodeMirror.d.ts +0 -4
- package/dist/theme/ThemeCodeMirror.js +0 -8
- package/dist/theme/ThemeCodeMirror.js.map +0 -1
- package/dist/theme/ThemeDatePicker.d.ts +0 -214
- package/dist/theme/ThemeDatePicker.js +0 -37
- package/dist/theme/ThemeDatePicker.js.map +0 -1
- package/dist/theme/ThemeEditorTopBar.d.ts +0 -39
- package/dist/theme/ThemeEditorTopBar.js +0 -43
- package/dist/theme/ThemeEditorTopBar.js.map +0 -1
- package/dist/theme/ThemeEmbeddedReport.d.ts +0 -37
- package/dist/theme/ThemeEmbeddedReport.js +0 -9
- package/dist/theme/ThemeEmbeddedReport.js.map +0 -1
- package/dist/theme/ThemeErrorRenderer.d.ts +0 -51
- package/dist/theme/ThemeErrorRenderer.js +0 -55
- package/dist/theme/ThemeErrorRenderer.js.map +0 -1
- package/dist/theme/ThemeFilter.d.ts +0 -28
- package/dist/theme/ThemeFilter.js +0 -3
- package/dist/theme/ThemeFilter.js.map +0 -1
- package/dist/theme/ThemeFilterAutocomplete.d.ts +0 -58
- package/dist/theme/ThemeFilterAutocomplete.js +0 -15
- package/dist/theme/ThemeFilterAutocomplete.js.map +0 -1
- package/dist/theme/ThemeFilterButtons.d.ts +0 -74
- package/dist/theme/ThemeFilterButtons.js +0 -23
- package/dist/theme/ThemeFilterButtons.js.map +0 -1
- package/dist/theme/ThemeFilterCheckboxRadio.d.ts +0 -52
- package/dist/theme/ThemeFilterCheckboxRadio.js +0 -23
- package/dist/theme/ThemeFilterCheckboxRadio.js.map +0 -1
- package/dist/theme/ThemeFilterPanel.d.ts +0 -243
- package/dist/theme/ThemeFilterPanel.js +0 -127
- package/dist/theme/ThemeFilterPanel.js.map +0 -1
- package/dist/theme/ThemeFilterPanelViewsMenu.d.ts +0 -8
- package/dist/theme/ThemeFilterPanelViewsMenu.js +0 -12
- package/dist/theme/ThemeFilterPanelViewsMenu.js.map +0 -1
- package/dist/theme/ThemeFilterSlider.d.ts +0 -92
- package/dist/theme/ThemeFilterSlider.js +0 -41
- package/dist/theme/ThemeFilterSlider.js.map +0 -1
- package/dist/theme/ThemeFilterSwitch.d.ts +0 -41
- package/dist/theme/ThemeFilterSwitch.js +0 -15
- package/dist/theme/ThemeFilterSwitch.js.map +0 -1
- package/dist/theme/ThemeFilterTree.d.ts +0 -112
- package/dist/theme/ThemeFilterTree.js +0 -23
- package/dist/theme/ThemeFilterTree.js.map +0 -1
- package/dist/theme/ThemeGlobal.d.ts +0 -4
- package/dist/theme/ThemeGlobal.js +0 -9
- package/dist/theme/ThemeGlobal.js.map +0 -1
- package/dist/theme/ThemeGoogle.d.ts +0 -132
- package/dist/theme/ThemeGoogle.js +0 -64
- package/dist/theme/ThemeGoogle.js.map +0 -1
- package/dist/theme/ThemeGoogleHeatMap.d.ts +0 -58
- package/dist/theme/ThemeGoogleHeatMap.js +0 -3
- package/dist/theme/ThemeGoogleHeatMap.js.map +0 -1
- package/dist/theme/ThemeGoogleKmlLayer.d.ts +0 -40
- package/dist/theme/ThemeGoogleKmlLayer.js +0 -3
- package/dist/theme/ThemeGoogleKmlLayer.js.map +0 -1
- package/dist/theme/ThemeGoogleMarker.d.ts +0 -147
- package/dist/theme/ThemeGoogleMarker.js +0 -3
- package/dist/theme/ThemeGoogleMarker.js.map +0 -1
- package/dist/theme/ThemeHomeCard.d.ts +0 -9
- package/dist/theme/ThemeHomeCard.js +0 -10
- package/dist/theme/ThemeHomeCard.js.map +0 -1
- package/dist/theme/ThemeHomeConsole.d.ts +0 -16
- package/dist/theme/ThemeHomeConsole.js +0 -20
- package/dist/theme/ThemeHomeConsole.js.map +0 -1
- package/dist/theme/ThemeHtmlBox.d.ts +0 -33
- package/dist/theme/ThemeHtmlBox.js +0 -11
- package/dist/theme/ThemeHtmlBox.js.map +0 -1
- package/dist/theme/ThemeIc3CustomDrilldownMenu.d.ts +0 -7
- package/dist/theme/ThemeIc3CustomDrilldownMenu.js +0 -11
- package/dist/theme/ThemeIc3CustomDrilldownMenu.js.map +0 -1
- package/dist/theme/ThemeIc3TableCell.d.ts +0 -10
- package/dist/theme/ThemeIc3TableCell.js +0 -7
- package/dist/theme/ThemeIc3TableCell.js.map +0 -1
- package/dist/theme/ThemeIc3TableCellDrilldown.d.ts +0 -12
- package/dist/theme/ThemeIc3TableCellDrilldown.js +0 -11
- package/dist/theme/ThemeIc3TableCellDrilldown.js.map +0 -1
- package/dist/theme/ThemeIc3WidgetBoxSpinner.d.ts +0 -15
- package/dist/theme/ThemeIc3WidgetBoxSpinner.js +0 -13
- package/dist/theme/ThemeIc3WidgetBoxSpinner.js.map +0 -1
- package/dist/theme/ThemeImage.d.ts +0 -30
- package/dist/theme/ThemeImage.js +0 -12
- package/dist/theme/ThemeImage.js.map +0 -1
- package/dist/theme/ThemeKpiBox.d.ts +0 -33
- package/dist/theme/ThemeKpiBox.js +0 -3
- package/dist/theme/ThemeKpiBox.js.map +0 -1
- package/dist/theme/ThemeKpiCard.d.ts +0 -133
- package/dist/theme/ThemeKpiCard.js +0 -19
- package/dist/theme/ThemeKpiCard.js.map +0 -1
- package/dist/theme/ThemeLayout.d.ts +0 -10
- package/dist/theme/ThemeLayout.js +0 -14
- package/dist/theme/ThemeLayout.js.map +0 -1
- package/dist/theme/ThemeLayoutPage.d.ts +0 -24
- package/dist/theme/ThemeLayoutPage.js +0 -28
- package/dist/theme/ThemeLayoutPage.js.map +0 -1
- package/dist/theme/ThemeLazyTreeClasses.d.ts +0 -29
- package/dist/theme/ThemeLazyTreeClasses.js +0 -31
- package/dist/theme/ThemeLazyTreeClasses.js.map +0 -1
- package/dist/theme/ThemeListCounter.d.ts +0 -15
- package/dist/theme/ThemeListCounter.js +0 -17
- package/dist/theme/ThemeListCounter.js.map +0 -1
- package/dist/theme/ThemeMarkdownText.d.ts +0 -27
- package/dist/theme/ThemeMarkdownText.js +0 -3
- package/dist/theme/ThemeMarkdownText.js.map +0 -1
- package/dist/theme/ThemePivotTable.d.ts +0 -93
- package/dist/theme/ThemePivotTable.js +0 -31
- package/dist/theme/ThemePivotTable.js.map +0 -1
- package/dist/theme/ThemePrintButton.d.ts +0 -29
- package/dist/theme/ThemePrintButton.js +0 -10
- package/dist/theme/ThemePrintButton.js.map +0 -1
- package/dist/theme/ThemeQueryBuilderNode.d.ts +0 -13
- package/dist/theme/ThemeQueryBuilderNode.js +0 -13
- package/dist/theme/ThemeQueryBuilderNode.js.map +0 -1
- package/dist/theme/ThemeRegexFilter.d.ts +0 -24
- package/dist/theme/ThemeRegexFilter.js +0 -26
- package/dist/theme/ThemeRegexFilter.js.map +0 -1
- package/dist/theme/ThemeRepetitionWidget.d.ts +0 -57
- package/dist/theme/ThemeRepetitionWidget.js +0 -3
- package/dist/theme/ThemeRepetitionWidget.js.map +0 -1
- package/dist/theme/ThemeReportAppBar.d.ts +0 -17
- package/dist/theme/ThemeReportAppBar.js +0 -21
- package/dist/theme/ThemeReportAppBar.js.map +0 -1
- package/dist/theme/ThemeReportAppLeftPanel.d.ts +0 -8
- package/dist/theme/ThemeReportAppLeftPanel.js +0 -12
- package/dist/theme/ThemeReportAppLeftPanel.js.map +0 -1
- package/dist/theme/ThemeSeparator.d.ts +0 -13
- package/dist/theme/ThemeSeparator.js +0 -3
- package/dist/theme/ThemeSeparator.js.map +0 -1
- package/dist/theme/ThemeSinglePanelFilter.d.ts +0 -18
- package/dist/theme/ThemeSinglePanelFilter.js +0 -3
- package/dist/theme/ThemeSinglePanelFilter.js.map +0 -1
- package/dist/theme/ThemeTable.d.ts +0 -160
- package/dist/theme/ThemeTable.js +0 -157
- package/dist/theme/ThemeTable.js.map +0 -1
- package/dist/theme/ThemeWidgetBox.d.ts +0 -164
- package/dist/theme/ThemeWidgetBox.js +0 -124
- package/dist/theme/ThemeWidgetBox.js.map +0 -1
- package/dist/theme/ThemeWidgetBoxContentMessage.d.ts +0 -11
- package/dist/theme/ThemeWidgetBoxContentMessage.js +0 -15
- package/dist/theme/ThemeWidgetBoxContentMessage.js.map +0 -1
- package/dist/theme/ThemeWidgetFilteredBy.d.ts +0 -5
- package/dist/theme/ThemeWidgetFilteredBy.js +0 -9
- package/dist/theme/ThemeWidgetFilteredBy.js.map +0 -1
package/dist/PublicContext.d.ts
DELETED
|
@@ -1,389 +0,0 @@
|
|
|
1
|
-
import { LazyTreeViewProps } from "./LazyTreeView";
|
|
2
|
-
import { ITidyTable } from "./PublicTidyTable";
|
|
3
|
-
import { ITidyTableTransformation } from "./ITidyTableTransformation";
|
|
4
|
-
import { Theme } from "@mui/material/styles";
|
|
5
|
-
import { ThemeFormatters, ThemeTextFormatter } from "./PublicTheme";
|
|
6
|
-
import { ITidyColumn, ITidyNumericColumn } from "./PublicTidyColumn";
|
|
7
|
-
import { IPublicWidgetTemplateDefinition } from "./PublicTemplate";
|
|
8
|
-
import { ITidyMath } from "./PublicTidyMath";
|
|
9
|
-
import { ILogger } from "./Logger";
|
|
10
|
-
import { AppNotification } from "./INotification";
|
|
11
|
-
import { WidgetNotificationHandler } from "./IcEvent";
|
|
12
|
-
import { TidyRowFilter } from "./PublicTidyTableTypes";
|
|
13
|
-
import { FormFieldTidyTableExprType } from "./PublicTemplateForm";
|
|
14
|
-
export declare enum WidgetRenderLayoutStatus {
|
|
15
|
-
RENDERING = "RENDERING",
|
|
16
|
-
RENDERED = "RENDERED"
|
|
17
|
-
}
|
|
18
|
-
export declare enum WidgetWarningSeverity {
|
|
19
|
-
WARNING = 0,
|
|
20
|
-
ERROR = 1
|
|
21
|
-
}
|
|
22
|
-
export declare enum IContentMessageType {
|
|
23
|
-
info = 0,
|
|
24
|
-
error = 1
|
|
25
|
-
}
|
|
26
|
-
export interface IPublicContext {
|
|
27
|
-
logger(): ILogger;
|
|
28
|
-
isAppConsole(): boolean;
|
|
29
|
-
isAppReportViewer(): boolean;
|
|
30
|
-
isAppReportEditor(): boolean;
|
|
31
|
-
isAppReportEditorPreview(): boolean;
|
|
32
|
-
isAppReportAppEditor(): boolean;
|
|
33
|
-
isAppGadgetEditor(): boolean;
|
|
34
|
-
/**
|
|
35
|
-
* React, returns true when loaded
|
|
36
|
-
*/
|
|
37
|
-
useGoogleMapHook(): boolean | Error;
|
|
38
|
-
getTheme(): Theme;
|
|
39
|
-
/**
|
|
40
|
-
* Return the formatter for the current user's locale.
|
|
41
|
-
*/
|
|
42
|
-
getThemeFormatter(): ThemeFormatters;
|
|
43
|
-
getUserName(): string;
|
|
44
|
-
getReportName(): string;
|
|
45
|
-
getReportPath(): string;
|
|
46
|
-
getReportFolderName(): string;
|
|
47
|
-
getReportLocale(): string;
|
|
48
|
-
/**
|
|
49
|
-
* @param format Formatter. Defaults to `defaultNumber` from the theme.
|
|
50
|
-
*/
|
|
51
|
-
getNumberFormatter(format: ThemeTextFormatter | null | undefined): (value: any | undefined) => string;
|
|
52
|
-
/**
|
|
53
|
-
* @param format Formatter. Defaults to `defaultDate` or `defaultDatetime` from the theme.
|
|
54
|
-
*/
|
|
55
|
-
getDateFormatter(format: ThemeTextFormatter | null | undefined): (value: any | undefined) => string;
|
|
56
|
-
/**
|
|
57
|
-
* translate the content of a report (the title of widgets, content of some widgets...). This does use another file
|
|
58
|
-
*
|
|
59
|
-
* aka content localization
|
|
60
|
-
*/
|
|
61
|
-
translateContent(content: string, ...args: any[]): string;
|
|
62
|
-
/**
|
|
63
|
-
* localized report application tags (e.g. edit, write, save.. )
|
|
64
|
-
*/
|
|
65
|
-
localize(name: string, ...args: any[]): string;
|
|
66
|
-
/**
|
|
67
|
-
* localized report application error tags
|
|
68
|
-
*/
|
|
69
|
-
localizeError(name: string, ...args: any[]): string;
|
|
70
|
-
/**
|
|
71
|
-
* Localization for transformations
|
|
72
|
-
*/
|
|
73
|
-
localizeTransformationCaption(template: ITidyTableTransformation<any>): {
|
|
74
|
-
info: string;
|
|
75
|
-
description?: string;
|
|
76
|
-
};
|
|
77
|
-
localizeFormField(pluginId: string, widgetTemplateId: string, name: string, ...args: any[]): [string, string | undefined, string | undefined];
|
|
78
|
-
/**
|
|
79
|
-
* markdown to sanitized html
|
|
80
|
-
*/
|
|
81
|
-
markdownToHtml(markDown: string): string;
|
|
82
|
-
/**
|
|
83
|
-
* A bunch of mathematical functions related to the tidy table.
|
|
84
|
-
*/
|
|
85
|
-
tidyMath(): ITidyMath;
|
|
86
|
-
/**
|
|
87
|
-
* Create an expression from a field.
|
|
88
|
-
*
|
|
89
|
-
* @param expression typically coming from a widget field so it cannot be null if there is a default value.
|
|
90
|
-
* To prevent usage of the default, pass a string with a single space to make this method return undefined.
|
|
91
|
-
* @param selectedColumns get the row of these columns using `_rowOfSelectedColumns` or `_selectedColumns`.
|
|
92
|
-
* @param isRowSelected function for usage with `totalSelectedOrTotal`. Use tableInter.isSelected(rowIdx).
|
|
93
|
-
*/
|
|
94
|
-
createExpression<T extends FormFieldTidyTableExprType>(fieldType: T, field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, selectedColumns: ITidyColumn[] | undefined, isRowSelected?: TidyRowFilter): T extends "tidyTableColorRowExpr" | "tidyTableScaleRowExpr" | "tidyTableHtmlRowExpr" | "tidyTableNumericRowExpr" | "tidyTableStringRowExpr" | "tidyTableTextRowExpr" ? ((rowIdx: number) => string) | undefined : (() => string) | undefined;
|
|
95
|
-
/**
|
|
96
|
-
* Not in widget public context because of transformation not applied from a widget context always.
|
|
97
|
-
*
|
|
98
|
-
* @param expression typically coming from a widget field so it cannot be null if there is a default value.
|
|
99
|
-
* To prevent usage of the default, pass an "empty" string that makes this method returns
|
|
100
|
-
* undefined.
|
|
101
|
-
* @param selectedColumns get the row of these columns using `_rowOfSelectedColumns` or `_selectedColumns`.
|
|
102
|
-
* @param isRowSelected function for usage with `totalSelectedOrTotal`. Use tableInter.isSelected(rowIdx).
|
|
103
|
-
*
|
|
104
|
-
* @deprecated will be removed in version >=9.1.0. Use `createExpression` instead.
|
|
105
|
-
*/
|
|
106
|
-
createTableRowTextExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, selectedColumns: ITidyColumn[] | undefined, isRowSelected?: TidyRowFilter): ((rowIdx: number) => string) | undefined;
|
|
107
|
-
/**
|
|
108
|
-
* Not in widget public context because of transformation not applied from a widget context always.
|
|
109
|
-
*
|
|
110
|
-
* @param expression typically coming from a widget field so it cannot be null if there is a default value.
|
|
111
|
-
* To prevent usage of the default, pass an "empty" string that makes this method returns
|
|
112
|
-
* undefined.
|
|
113
|
-
* @param isRowSelected function for usage with `totalSelectedOrTotal`. Use tableInter.isSelected(rowIdx).
|
|
114
|
-
*
|
|
115
|
-
* @deprecated will be removed in version >=9.1.0. Use `createExpression` instead.
|
|
116
|
-
*/
|
|
117
|
-
createTableTextExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, isRowSelected?: TidyRowFilter): (() => string) | undefined;
|
|
118
|
-
/**
|
|
119
|
-
* Not in widget public context because of transformation not applied from a widget context always.
|
|
120
|
-
*
|
|
121
|
-
* @param expression typically coming from a widget field so it cannot be null if there is a default value.
|
|
122
|
-
* To prevent usage of the default, pass an "empty" string that makes this method returns
|
|
123
|
-
* undefined.
|
|
124
|
-
* @param selectedColumns get the row of these columns using `_rowOfSelectedColumns` or `_selectedColumns`.
|
|
125
|
-
* @param isRowSelected function for usage with `totalSelectedOrTotal`. Use tableInter.isSelected(rowIdx).
|
|
126
|
-
*
|
|
127
|
-
* @deprecated will be removed in version >=9.1.0. Use `createExpression` instead.
|
|
128
|
-
*/
|
|
129
|
-
createTableRowMarkdownExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, selectedColumns: ITidyColumn[] | undefined, isRowSelected?: TidyRowFilter): ((rowIdx: number) => string) | undefined;
|
|
130
|
-
/**
|
|
131
|
-
* Not in widget public context because of transformation not applied from a widget context always.
|
|
132
|
-
*
|
|
133
|
-
* @param expression typically coming from a widget field so it cannot be null if there is a default value.
|
|
134
|
-
* To prevent usage of the default, pass an "empty" string that makes this method returns
|
|
135
|
-
* undefined.
|
|
136
|
-
* @param selectedColumns get the row of these columns using `_rowOfSelectedColumns` or `_selectedColumns`.
|
|
137
|
-
* @param isRowSelected function for usage with `totalSelectedOrTotal`. Use tableInter.isSelected(rowIdx).
|
|
138
|
-
*
|
|
139
|
-
* @deprecated will be removed in version >=9.1.0. Use `createExpression` instead.
|
|
140
|
-
*/
|
|
141
|
-
createTableMarkdownExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, selectedColumns: ITidyColumn[] | undefined, isRowSelected?: TidyRowFilter): (() => string) | undefined;
|
|
142
|
-
/**
|
|
143
|
-
* Not in widget public context because of transformation not applied from a widget context always.
|
|
144
|
-
*
|
|
145
|
-
* @param expression typically coming from a widget field so it cannot be null if there is a default value.
|
|
146
|
-
* To prevent usage of the default, pass an "empty" string that makes this method returns
|
|
147
|
-
* undefined.
|
|
148
|
-
* @param selectedColumns get the row of these columns using `_rowOfSelectedColumns` or `_selectedColumns`.
|
|
149
|
-
* @param isRowSelected function for usage with `totalSelectedOrTotal`. Use tableInter.isSelected(rowIdx).
|
|
150
|
-
*
|
|
151
|
-
* @deprecated will be removed in version >=9.1.0. Use `createExpression` instead.
|
|
152
|
-
*/
|
|
153
|
-
createTableRowNumericExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, selectedColumns: ITidyColumn[] | undefined, isRowSelected?: TidyRowFilter): ((rowIdx: number) => number | undefined) | undefined;
|
|
154
|
-
/**
|
|
155
|
-
* same as createTableRowNumericExpr but returning a string
|
|
156
|
-
* @param selectedColumns get the row of these columns using `_rowOfSelectedColumns` or `_selectedColumns`.
|
|
157
|
-
* @param isRowSelected function for usage with `totalSelectedOrTotal`. Use tableInter.isSelected(rowIdx).
|
|
158
|
-
*
|
|
159
|
-
* @deprecated will be removed in version >=9.1.0. Use `createExpression` instead.
|
|
160
|
-
*/
|
|
161
|
-
createTableRowNumericStringExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, selectedColumns: ITidyColumn[] | undefined, isRowSelected?: TidyRowFilter): ((rowIdx: number) => string | undefined) | undefined;
|
|
162
|
-
/**
|
|
163
|
-
* @param selectedColumns get the row of these columns using `_rowOfSelectedColumns` or `_selectedColumns`.
|
|
164
|
-
* @param isRowSelected function for usage with `totalSelectedOrTotal`. Use tableInter.isSelected(rowIdx).
|
|
165
|
-
*
|
|
166
|
-
* @deprecated will be removed in version >=9.1.0. Use `createExpression` instead.
|
|
167
|
-
*/
|
|
168
|
-
createTableScaleRowNumericExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, selectedColumns: ITidyColumn[] | undefined, isRowSelected?: TidyRowFilter): ((rowIdx: number) => number | undefined) | undefined;
|
|
169
|
-
/**
|
|
170
|
-
* Not in widget public context because of transformation not applied from a widget context always.
|
|
171
|
-
*
|
|
172
|
-
* @param expression typically coming from a widget field so it cannot be null if there is a default value.
|
|
173
|
-
* To prevent usage of the default, pass an "empty" string that makes this method returns
|
|
174
|
-
* undefined.
|
|
175
|
-
* @param selectedColumns get the row of these columns using `_rowOfSelectedColumns` or `_selectedColumns`.
|
|
176
|
-
* @param isRowSelected function for usage with `totalSelectedOrTotal`. Use tableInter.isSelected(rowIdx).
|
|
177
|
-
*
|
|
178
|
-
* @deprecated will be removed in version >=9.1.0. Use `createExpression` instead.
|
|
179
|
-
*/
|
|
180
|
-
createTableNumericExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, selectedColumns: ITidyColumn[] | undefined, isRowSelected?: TidyRowFilter): (() => number | undefined) | undefined;
|
|
181
|
-
/**
|
|
182
|
-
* same as createTableNumericExpr but returning a javascript object
|
|
183
|
-
*
|
|
184
|
-
* @deprecated will be removed in version >=9.1.0. Use `createExpression` instead.
|
|
185
|
-
*/
|
|
186
|
-
createTableNumericStringExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, selectedColumns: ITidyColumn[] | undefined, isRowSelected?: TidyRowFilter): (() => any | undefined) | undefined;
|
|
187
|
-
/**
|
|
188
|
-
* same as createTableNumericExpr but returning a javascript object
|
|
189
|
-
*
|
|
190
|
-
* @deprecated will be removed in version >=9.1.0. Use `createExpression` instead.
|
|
191
|
-
*/
|
|
192
|
-
createTableNumericJSExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, selectedColumns: ITidyColumn[] | undefined, isRowSelected?: TidyRowFilter): (() => any | undefined) | undefined;
|
|
193
|
-
/**
|
|
194
|
-
* Event methods that do not depend on a Table
|
|
195
|
-
*
|
|
196
|
-
* @see ITidyTableInteractionEvent for more
|
|
197
|
-
*/
|
|
198
|
-
/**
|
|
199
|
-
* actionName if the action is bound to a channel, clears the event (has no value)
|
|
200
|
-
*/
|
|
201
|
-
fireClearEventName(actionName: string): void;
|
|
202
|
-
/**
|
|
203
|
-
* actionName if the action is bound to a channel, send an Mdx Event (value,mdx)
|
|
204
|
-
*/
|
|
205
|
-
fireMdxEventName(actionName: string, value: string, mdx: string): void;
|
|
206
|
-
/**
|
|
207
|
-
* Used for publishing app notifications (e.g., print the report).
|
|
208
|
-
*/
|
|
209
|
-
fireAppNotification(notification: AppNotification): void;
|
|
210
|
-
formatDate(value: Date | string | undefined | null, format: ThemeTextFormatter | null | undefined, locale?: string): string;
|
|
211
|
-
formatNumber(value: number | string | undefined | null, format: ThemeTextFormatter | null | undefined, locale?: string): string;
|
|
212
|
-
/**
|
|
213
|
-
* A shortcut for formatNumber( theme.formatter.defaultNumber )
|
|
214
|
-
*/
|
|
215
|
-
formatAmount(value: number | string | undefined | null, locale?: string): string;
|
|
216
|
-
/**
|
|
217
|
-
* A shortcut for formatNumber( theme.formatter.defaultPercent )
|
|
218
|
-
*/
|
|
219
|
-
formatPercent(value: number | string | undefined | null, locale?: string): string;
|
|
220
|
-
}
|
|
221
|
-
export interface IWidgetStableContext extends IPublicContext {
|
|
222
|
-
getTemplateId(): string;
|
|
223
|
-
getNsId(): string;
|
|
224
|
-
getWidgetId(): string;
|
|
225
|
-
getTemplateId(): string;
|
|
226
|
-
isPrintingMode(): boolean;
|
|
227
|
-
renderWidgetContentMessage(type: IContentMessageType, message: string): any;
|
|
228
|
-
renderLazyTreeView<T>(props: LazyTreeViewProps): T;
|
|
229
|
-
wrapWithTooltip(tooltip: string | undefined, wrappedElement: React.ReactElement): React.ReactElement;
|
|
230
|
-
onWidgetRenderStatusChange(status: WidgetRenderLayoutStatus): void;
|
|
231
|
-
/**
|
|
232
|
-
* Event methods that do not depend on a Table
|
|
233
|
-
*
|
|
234
|
-
* @see ITidyTableInteractionEvent for more
|
|
235
|
-
*/
|
|
236
|
-
/**
|
|
237
|
-
* returns true if the actionName in bound to a channel
|
|
238
|
-
*/
|
|
239
|
-
firesEvent(actionName: string): boolean;
|
|
240
|
-
/**
|
|
241
|
-
* actionName if the action is bound to a channel, clears the event (has no value)
|
|
242
|
-
*/
|
|
243
|
-
fireClearEvent(actionName: string): void;
|
|
244
|
-
/**
|
|
245
|
-
* actionName if the action is bound to a channel, send an Mdx Event (value,mdx)
|
|
246
|
-
*/
|
|
247
|
-
fireMdxEvent(actionName: string, value: string, mdx: string): void;
|
|
248
|
-
fireMdxEvents(events: {
|
|
249
|
-
actionName: string;
|
|
250
|
-
value: string;
|
|
251
|
-
mdx: string;
|
|
252
|
-
}[]): void;
|
|
253
|
-
/**
|
|
254
|
-
* Cypress testing purpose, after a rendering of the chart
|
|
255
|
-
*/
|
|
256
|
-
incrementWidgetContentRendering(): void;
|
|
257
|
-
getWidgetTemplateDefinition(qualifiedId: string): IPublicWidgetTemplateDefinition<any>;
|
|
258
|
-
resolveWidgetTemplateDefinition(definition: IPublicWidgetTemplateDefinition<any>): Promise<IPublicWidgetTemplateDefinition<any>>;
|
|
259
|
-
/**
|
|
260
|
-
* React -> combines useReduxOwnProps and setReduxOwnProps with a similar syntax to Redux.useState
|
|
261
|
-
*
|
|
262
|
-
* Note it's NOT the initial value but value if undefined
|
|
263
|
-
*/
|
|
264
|
-
useReduxOwnPropsState<T>(fieldName: string, valueIfUndefined?: T): [T, (newValue: T | undefined) => void];
|
|
265
|
-
/**
|
|
266
|
-
* React -> useSelector on widgetOwnProps[fieldName]
|
|
267
|
-
*/
|
|
268
|
-
useReduxOwnProps<T>(fieldName: string): T;
|
|
269
|
-
/**
|
|
270
|
-
* Redux -> set in Redux value in widgetOwnProps[fieldName]
|
|
271
|
-
*/
|
|
272
|
-
setReduxOwnProps(fieldName: string, value: any): void;
|
|
273
|
-
/**
|
|
274
|
-
* Google map
|
|
275
|
-
*/
|
|
276
|
-
/**
|
|
277
|
-
* React only, like an use function
|
|
278
|
-
*
|
|
279
|
-
* Loads Google map library with the API key as set
|
|
280
|
-
*
|
|
281
|
-
* return
|
|
282
|
-
* true when the google map is ready (lib loaded)
|
|
283
|
-
* error when
|
|
284
|
-
*/
|
|
285
|
-
reactUseGoogleMap(): boolean | Error;
|
|
286
|
-
/**
|
|
287
|
-
* React only, like an use function
|
|
288
|
-
*
|
|
289
|
-
* reactUseGoogleMap() + rendered the map into the div referenced by ref with mapOptions
|
|
290
|
-
*
|
|
291
|
-
* @param mapOptions google.maps.MapOptions
|
|
292
|
-
* @param ref ref React.RefObject<HTMLDivElement>
|
|
293
|
-
*
|
|
294
|
-
* return
|
|
295
|
-
* undefined if loading
|
|
296
|
-
* {map} google.maps.Map instance when loaded
|
|
297
|
-
* {error} if loaded on error
|
|
298
|
-
*/
|
|
299
|
-
reactUseGoogleMapPlus(mapOptions: any, ref: any): undefined | {
|
|
300
|
-
map?: any;
|
|
301
|
-
error?: Error;
|
|
302
|
-
};
|
|
303
|
-
/**
|
|
304
|
-
* Returns latitude and longitude with the same logic as for internal maps
|
|
305
|
-
*
|
|
306
|
-
*
|
|
307
|
-
*/
|
|
308
|
-
getMapCoordinates(table: ITidyTable): [ITidyNumericColumn, ITidyNumericColumn] | [];
|
|
309
|
-
getGoogleMapRenderedDelayMS(): number;
|
|
310
|
-
/**
|
|
311
|
-
* Displays an warning icon in the widget header showing the warning when the user hovers the icon.
|
|
312
|
-
* Be sure to clear all warnings before rendering using {@see widgetClearWarnings}
|
|
313
|
-
*/
|
|
314
|
-
addWidgetWarning(warning: string, severity?: WidgetWarningSeverity): void;
|
|
315
|
-
/**
|
|
316
|
-
* Clear the warnings in the widget.
|
|
317
|
-
*/
|
|
318
|
-
widgetClearWarnings(): void;
|
|
319
|
-
/**
|
|
320
|
-
* Notification
|
|
321
|
-
*
|
|
322
|
-
* like a listener on the components, for React the implementation uses a useEffect, it should
|
|
323
|
-
* NOT be called conditionally.
|
|
324
|
-
*/
|
|
325
|
-
useNotification(notifications: WidgetNotificationHandler | WidgetNotificationHandler[], deps: ReadonlyArray<unknown> | undefined): void;
|
|
326
|
-
useUserMenu(handler: (userMenu: string) => any | void, deps: ReadonlyArray<unknown> | undefined): void;
|
|
327
|
-
/**
|
|
328
|
-
* doExport callback is called on each exportToExcel from the userMenu of the widget
|
|
329
|
-
*
|
|
330
|
-
* if the callback returns a tidyTable, this table will be exported
|
|
331
|
-
* if undefined is returned no further action
|
|
332
|
-
*
|
|
333
|
-
* disabled === true, the doExport function is not used
|
|
334
|
-
*/
|
|
335
|
-
onExportToExcel(doExport: undefined | ((fileName: string | undefined) => ITidyTable | undefined | null), disabled?: boolean): void;
|
|
336
|
-
exportToExcel(table: ITidyTable, asPivotForExcel: boolean, rows: number[] | undefined): void;
|
|
337
|
-
useUserMenuWidth(): number | undefined;
|
|
338
|
-
/**
|
|
339
|
-
* Get the (translated) file name for exporting. Does not include file extension. Method returns 'export-file'
|
|
340
|
-
* if no file name is found.
|
|
341
|
-
* @param defaultName if not undefined, method returns this.
|
|
342
|
-
* @param defaultFileName
|
|
343
|
-
*/
|
|
344
|
-
getExportFileName(defaultFileName?: string): string;
|
|
345
|
-
/**
|
|
346
|
-
* Returns the report name of the report defining this widget (i.e. could be the embedding)
|
|
347
|
-
*/
|
|
348
|
-
getDefiningReportName(): string;
|
|
349
|
-
/**
|
|
350
|
-
* Returns the report path of the report defining this widget (i.e. could be the embedding)
|
|
351
|
-
*/
|
|
352
|
-
getDefiningReportPath(): string;
|
|
353
|
-
/**
|
|
354
|
-
* Returns the report folder name of the report defining this widget (i.e. could be the embedding)
|
|
355
|
-
*/
|
|
356
|
-
getDefiningReportFolderName(): string;
|
|
357
|
-
}
|
|
358
|
-
export interface IWidgetPublicContext extends IPublicContext {
|
|
359
|
-
/**
|
|
360
|
-
* Context unlikely to change during the lifecycle of a widget
|
|
361
|
-
* more appropriate to use in a React hook context.
|
|
362
|
-
*/
|
|
363
|
-
getStableContext(): IWidgetStableContext;
|
|
364
|
-
/**
|
|
365
|
-
* Get the width of the widget box in pixels.
|
|
366
|
-
*/
|
|
367
|
-
getWidgetWidth(): number | undefined;
|
|
368
|
-
/**
|
|
369
|
-
* Get the height of the widget box in pixels.
|
|
370
|
-
*/
|
|
371
|
-
getWidgetHeight(): number | undefined;
|
|
372
|
-
getWidgetPageNb(): number;
|
|
373
|
-
/**
|
|
374
|
-
* Returns true if and only if the widgets has a header (from the chart box settings).
|
|
375
|
-
*/
|
|
376
|
-
widgetHasHeader(): boolean;
|
|
377
|
-
getBoxSettings(): IPublicWidgetBoxSettings;
|
|
378
|
-
}
|
|
379
|
-
export interface IPublicWidgetBoxSettings {
|
|
380
|
-
widgetId: string;
|
|
381
|
-
waitingEventOrResult?: string;
|
|
382
|
-
emptyResult?: string;
|
|
383
|
-
}
|
|
384
|
-
export interface IWidgetEditorPublicContext {
|
|
385
|
-
/**
|
|
386
|
-
* The variants available in the theme for the edited widget.
|
|
387
|
-
*/
|
|
388
|
-
getWidgetVariantIds(componentName?: string): string[];
|
|
389
|
-
}
|
package/dist/PublicContext.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IContentMessageType = exports.WidgetWarningSeverity = exports.WidgetRenderLayoutStatus = void 0;
|
|
4
|
-
var WidgetRenderLayoutStatus;
|
|
5
|
-
(function (WidgetRenderLayoutStatus) {
|
|
6
|
-
WidgetRenderLayoutStatus["RENDERING"] = "RENDERING";
|
|
7
|
-
WidgetRenderLayoutStatus["RENDERED"] = "RENDERED";
|
|
8
|
-
})(WidgetRenderLayoutStatus || (exports.WidgetRenderLayoutStatus = WidgetRenderLayoutStatus = {}));
|
|
9
|
-
var WidgetWarningSeverity;
|
|
10
|
-
(function (WidgetWarningSeverity) {
|
|
11
|
-
WidgetWarningSeverity[WidgetWarningSeverity["WARNING"] = 0] = "WARNING";
|
|
12
|
-
WidgetWarningSeverity[WidgetWarningSeverity["ERROR"] = 1] = "ERROR";
|
|
13
|
-
})(WidgetWarningSeverity || (exports.WidgetWarningSeverity = WidgetWarningSeverity = {}));
|
|
14
|
-
var IContentMessageType;
|
|
15
|
-
(function (IContentMessageType) {
|
|
16
|
-
IContentMessageType[IContentMessageType["info"] = 0] = "info";
|
|
17
|
-
IContentMessageType[IContentMessageType["error"] = 1] = "error";
|
|
18
|
-
})(IContentMessageType || (exports.IContentMessageType = IContentMessageType = {}));
|
|
19
|
-
//# sourceMappingURL=PublicContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PublicContext.js","sourceRoot":"","sources":["../src/PublicContext.ts"],"names":[],"mappings":";;;AAcA,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAChC,mDAAuB,CAAA;IACvB,iDAAqB,CAAA;AACzB,CAAC,EAHW,wBAAwB,wCAAxB,wBAAwB,QAGnC;AAED,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC7B,uEAAO,CAAA;IACP,mEAAK,CAAA;AACT,CAAC,EAHW,qBAAqB,qCAArB,qBAAqB,QAGhC;AAED,IAAY,mBAAkC;AAA9C,WAAY,mBAAmB;IAAG,6DAAI,CAAA;IAAE,+DAAK,CAAA;AAAA,CAAC,EAAlC,mBAAmB,mCAAnB,mBAAmB,QAAe"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
type DateType = any;
|
|
2
|
-
export interface PublicDateShortcutUtils<T = DateType> {
|
|
3
|
-
/**
|
|
4
|
-
* Get a date. See documentation for `new Date(…)` for the year, month and day arguments.
|
|
5
|
-
*/
|
|
6
|
-
asDate(year: number, month: number, day: number): T;
|
|
7
|
-
/**
|
|
8
|
-
* Return the current datetime.
|
|
9
|
-
*/
|
|
10
|
-
now(): T;
|
|
11
|
-
/**
|
|
12
|
-
* Return the current date. Returns the anchor date if it exists. The date returned has time 00:00:00.
|
|
13
|
-
* To get the date and time, use `current()`.
|
|
14
|
-
*/
|
|
15
|
-
currentDate(): T;
|
|
16
|
-
/**
|
|
17
|
-
* Return the current datetime. Returns the anchor datetime if it exists.
|
|
18
|
-
*/
|
|
19
|
-
current(): T;
|
|
20
|
-
/**
|
|
21
|
-
* Returns the anchor date.
|
|
22
|
-
*/
|
|
23
|
-
getAnchorDate(): T | null;
|
|
24
|
-
/**
|
|
25
|
-
* Return the date of today with the time 00:00:00. To get the date and time, use `now()`.
|
|
26
|
-
*/
|
|
27
|
-
today(): T;
|
|
28
|
-
/**
|
|
29
|
-
* Get the bottom limit of the allowed date range (included). Returns `null` if no bottom limit.
|
|
30
|
-
*/
|
|
31
|
-
minAllowedDate(): T | null;
|
|
32
|
-
/**
|
|
33
|
-
* Get the upper limit of the allowed date range (included). Returns `null` if no upper limit.
|
|
34
|
-
*/
|
|
35
|
-
maxAllowedDate(): T | null;
|
|
36
|
-
/**
|
|
37
|
-
* Returns intersect of `range` and [minDate, maxDate].
|
|
38
|
-
*/
|
|
39
|
-
clampDates(range: [T | null, T | null]): [T | null, T | null];
|
|
40
|
-
}
|
|
41
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PublicDateShortcutUtils.js","sourceRoot":"","sources":["../src/PublicDateShortcutUtils.ts"],"names":[],"mappings":""}
|
package/dist/PublicI18n.d.ts
DELETED
package/dist/PublicI18n.js
DELETED
package/dist/PublicI18n.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PublicI18n.js","sourceRoot":"","sources":["../src/PublicI18n.ts"],"names":[],"mappings":""}
|