@datapos/datapos-shared 0.3.247 → 0.3.249

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.
@@ -3,9 +3,8 @@ export interface Presenter extends Component {
3
3
  readonly config: PresenterConfig;
4
4
  list(): ComponentRef[];
5
5
  render(presentationPath: string, renderTo: HTMLElement, data?: unknown): Promise<void>;
6
- setColorMode(colorModeId: ColorModeId): void;
6
+ setColorMode(colorModeId: string): void;
7
7
  }
8
- export type ColorModeId = 'dark' | 'light';
9
8
  export interface PresenterConfig extends ModuleConfig {
10
9
  presentations: ComponentRef[];
11
10
  typeId: 'presenter';
@@ -21,7 +21,7 @@ export type { RetrieveResult, RetrieveSettings, RetrieveSummary } from './compon
21
21
  export type { UpsertSettings } from './component/connector';
22
22
  export type { ConnectionAuthorizationConfig, ConnectionColumnConfig, ConnectionConfig, ConnectionNodeConfig } from './component/connector/connection';
23
23
  export type { DPAFileSystemFileHandle, Encoding, StorageTypeId, UsageTypeId } from './component/connector/connection';
24
- export type { Context, ContextConfig, ContextLocalisedConfig, ContextListSettings, ContextListResult } from './component/context';
24
+ export type { Context, ContextConfig, ContextLocalisedConfig, ContextListSettings, ContextListResult, ContextModuleOperation } from './component/context';
25
25
  export type { ContextModelGroupConfig, ContextModelGroupLocalisedConfig, ContextModelConfig, ContextModelLocalisedConfig } from './component/context';
26
26
  export type { ContextModelDimensionGroupConfig, ContextModelDimensionGroupLocalisedConfig, ContextModelDimensionConfig, ContextModelDimensionLocalisedConfig, ContextModelDimensionHierarchyConfig, ContextModelDimensionHierarchyLocalisedConfig } from './component/context';
27
27
  export type { ContextModelEntityGroupConfig, ContextModelEntityGroupLocalisedConfig, ContextModelEntityConfig, ContextModelEntityLocalisedConfig, ContextModelEntityDataItemConfig, // Data items.
@@ -35,8 +35,7 @@ export type { DimensionConfig, DimensionLocalisedConfig } from './component/dime
35
35
  export type { ConnectorInterfaceResult, ContextInterfaceResult, Engine, EngineConfig, EngineWorker } from './engine';
36
36
  export type { SerialisedError } from './errors';
37
37
  export type { EventQueryConfig, EventQueryLocalisedConfig } from './component/eventQuery';
38
- export type { Presenter, PresenterConfig, PresenterLocalisedConfig } from './component/presenter';
39
- export type { ColorModeId } from './component/presenter';
38
+ export type { Presenter, PresenterConfig, PresenterLocalisedConfig, PresenterModuleOperation } from './component/presenter';
40
39
  export type { PresentationConfig, PresentationView } from './component/presenter/presentation';
41
40
  export type { PresentationCategoryId, PresentationCartesianTypeId, PresentationPolarTypeId, PresentationRangeTypeId, PresentationVisualConfig, PresentationVisualContentConfig, PresentationVisualViewConfig, PresentationVisualCartesianChartViewConfig, PresentationVisualChordDiagramViewConfig, PresentationVisualPeriodFlowBoundariesChartViewConfig, PresentationVisualPolarChartViewConfig, PresentationVisualRangeChartViewConfig, PresentationVisualSankeyDiagramViewConfig, PresentationVisualStreamGraphViewConfig, PresentationVisualValueTableViewConfig } from './component/presenter/presentation';
42
41
  export type { ToolConfig } from './component/tool';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-shared",
3
- "version": "0.3.247",
3
+ "version": "0.3.249",
4
4
  "description": "A TypeScript library containing common declarations and utilities used across other Data Positioning repositories.",
5
5
  "license": "MIT",
6
6
  "private": false,