@ixon-cdk/iframe-adapter 1.26.0-next.1 → 1.27.0-next.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/index.d.ts CHANGED
@@ -1,13 +1,2 @@
1
- import { ComponentContext } from '@ixon-cdk/types';
2
- import { ComponentContextOptions } from '@ixon-cdk/types';
3
-
4
- export declare function connect({ iframe, context }: {
5
- iframe: HTMLIFrameElement;
6
- context: ComponentContext;
7
- }): {
8
- destroy: () => void;
9
- };
10
-
11
- export declare function getComponentContext(options?: ComponentContextOptions): Promise<ComponentContext>;
12
-
13
- export { }
1
+ export * from './packages/component-devkit/src/iframe-adapter/src/index'
2
+ export {}
@@ -0,0 +1,2 @@
1
+ import { ComponentContext, ComponentContextOptions } from '@ixon-cdk/types';
2
+ export declare function getComponentContext(options?: ComponentContextOptions): Promise<ComponentContext>;
@@ -0,0 +1,7 @@
1
+ import { ComponentContext } from '@ixon-cdk/types';
2
+ export declare function connect({ iframe, context }: {
3
+ iframe: HTMLIFrameElement;
4
+ context: ComponentContext;
5
+ }): {
6
+ destroy: () => void;
7
+ };
@@ -0,0 +1,43 @@
1
+ export declare const EVENTS: {
2
+ Create: string;
3
+ Created: string;
4
+ Destroy: string;
5
+ BackendComponentClientCreate: string;
6
+ BackendComponentClientDestroy: string;
7
+ BackendComponentClientCall: string;
8
+ BackendComponentClientCallResult: string;
9
+ LoggingDataClientCreate: string;
10
+ LoggingDataClientDestroy: string;
11
+ LoggingDataClientQuery: string;
12
+ LoggingDataClientQueryResult: string;
13
+ ResourceDataClientCreate: string;
14
+ ResourceDataClientDestroy: string;
15
+ ResourceDataClientQuery: string;
16
+ ResourceDataClientQueryResult: string;
17
+ ResourceDataClientRender: string;
18
+ ResourceDataClientRenderResult: string;
19
+ ResourceDataClientUpdate: string;
20
+ ResourceDataClientUpdated: string;
21
+ OpenActionMenu: string;
22
+ OpenActionMenuResult: string;
23
+ OpenActionBottomSheet: string;
24
+ OpenActionBottomSheetResult: string;
25
+ OpenAlertDialog: string;
26
+ OpenAlertDialogResult: string;
27
+ OpenConfirmDialog: string;
28
+ OpenConfirmDialogResult: string;
29
+ OpenContentDialog: string;
30
+ OpenContentDialogResult: string;
31
+ OpenFormDialog: string;
32
+ OpenFormDialogResult: string;
33
+ OpenSelectPanel: string;
34
+ OpenSelectPanelResult: string;
35
+ OpenToast: string;
36
+ OpenToastResult: string;
37
+ ShowVpnStatusDetails: string;
38
+ ToggleVpn: string;
39
+ VpnClientStatusChange: string;
40
+ NavigateByUrl: string;
41
+ SetTimeRange: string;
42
+ TimeRangeChange: string;
43
+ };
@@ -0,0 +1,2 @@
1
+ export { connect } from './connect';
2
+ export { getComponentContext } from './component-context';
@@ -0,0 +1,15 @@
1
+ import { ComponentContextAppData, Discovery, LoggingDataTimeRange, VpnClientStatus } from '@ixon-cdk/types';
2
+ export interface SerializableContext {
3
+ _apiLinkEntries: [string, Discovery][];
4
+ _designTokenEntries: [string, string][];
5
+ appData: ComponentContextAppData;
6
+ componentBaseUrl: string;
7
+ destroyed: boolean;
8
+ mode: 'edit' | 'view';
9
+ inputs: {
10
+ [key: string]: any;
11
+ };
12
+ timeRange: LoggingDataTimeRange;
13
+ timeRangeIsAdjustable: boolean;
14
+ vpnClientStatus: VpnClientStatus;
15
+ }
@@ -0,0 +1,15 @@
1
+ import { LoggingDataMetric, LoggingDataQuery } from '@ixon-cdk/types';
2
+ interface SerializedLoggingDataMetric {
3
+ queryRef: {
4
+ query: LoggingDataQuery;
5
+ variable?: any;
6
+ tag?: any;
7
+ };
8
+ time: number;
9
+ value: {
10
+ locale?: any;
11
+ rawValue?: any;
12
+ };
13
+ }
14
+ export declare function deserializeLoggingDataMetrics(metrics: SerializedLoggingDataMetric[]): LoggingDataMetric[];
15
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/iframe-adapter",
3
- "version": "1.26.0-next.1",
3
+ "version": "1.27.0-next.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -14,11 +14,11 @@
14
14
  "type": "module",
15
15
  "license": "ISC",
16
16
  "peerDependencies": {
17
- "@ixon-cdk/types": "^1.26.0-next.1"
17
+ "@ixon-cdk/types": "^1.27.0-next.0"
18
18
  },
19
19
  "devDependencies": {
20
20
  "typescript": "~5.5.4",
21
- "vite": "^7.2.6",
22
- "vite-plugin-dts": "4.5.4"
21
+ "unplugin-dts": "^1.0.0",
22
+ "vite": "^7.3.3"
23
23
  }
24
24
  }