@qlik/embed-runtime
Advanced tools
Comparing version 1.1.6 to 1.2.0
# @qlik/embed-runtime | ||
## 1.2.0 | ||
### Minor Changes | ||
- 62fcc63: feat: add types for classic/chart | ||
### Patch Changes | ||
- 456a848: feat: allow selections to be applied to alternate states | ||
## 1.1.6 | ||
@@ -4,0 +14,0 @@ |
import { HostConfig } from '@qlik/api/auth'; | ||
type TypeNotYetAvailable = any; | ||
type CommonAnalyticsProps = { | ||
type Neverify<T> = { | ||
[P in keyof T]?: never; | ||
}; | ||
type WithAppId = { | ||
/** | ||
@@ -9,2 +12,13 @@ * The id of the qlik sense app to be used. | ||
appId: string; | ||
}; | ||
type WithObjectId = { | ||
objectId: string; | ||
}; | ||
type WithChartProperties = { | ||
type: string; | ||
dimensions?: string[]; | ||
measures?: string[]; | ||
properties?: any; | ||
}; | ||
type CommonAnalyticsProps = WithAppId & { | ||
/** | ||
@@ -33,14 +47,2 @@ * Configuration options for analytics UIs | ||
}; | ||
type Neverify<T> = { | ||
[P in keyof T]?: never; | ||
}; | ||
type WithObjectId = { | ||
objectId: string; | ||
}; | ||
type WithChartProperties = { | ||
type: string; | ||
dimensions?: string[]; | ||
measures?: string[]; | ||
properties?: any; | ||
}; | ||
/** | ||
@@ -108,2 +110,6 @@ * Properties for an embedded object/chart | ||
}; | ||
type ClassicChartProps = WithAppId & WithObjectId & { | ||
theme?: string; | ||
onRendered?: () => void; | ||
}; | ||
declare global { | ||
@@ -135,2 +141,6 @@ interface QlikEmbedUIs { | ||
}; | ||
"classic/chart": { | ||
props: ClassicChartProps; | ||
ref: object; | ||
}; | ||
} | ||
@@ -137,0 +147,0 @@ } |
@@ -23,2 +23,3 @@ import { HostConfig } from '@qlik/api/auth'; | ||
name: string; | ||
state?: string; | ||
values?: FieldValue[]; | ||
@@ -25,0 +26,0 @@ search?: { |
{ | ||
"name": "@qlik/embed-runtime", | ||
"version": "1.1.6", | ||
"version": "1.2.0", | ||
"description": "Types for Qlik Embed libraries", | ||
@@ -26,3 +26,3 @@ "license": "ISC", | ||
"@qlik/tsconfig": "^0.2.7", | ||
"@types/node": "^20.15.0", | ||
"@types/node": "^20.16.1", | ||
"eslint": "^8.57.0", | ||
@@ -29,0 +29,0 @@ "prettier": "^3.3.3", |
17740
368