@sisense/sdk-ui-angular 2.1.1 → 2.2.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/esm2020/lib/components/dashboard/dashboard.component.mjs +19 -6
- package/dist/esm2020/version.mjs +2 -2
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs +17 -5
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs +17 -5
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/lib/components/dashboard/dashboard.component.d.ts +23 -2
- package/dist/package.json +4 -4
- package/dist/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -179,7 +179,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
179
179
|
args: [SISENSE_CONTEXT_CONFIG_TOKEN]
|
|
180
180
|
}] }]; } });
|
|
181
181
|
|
|
182
|
-
var packageVersion = '2.
|
|
182
|
+
var packageVersion = '2.2.0';
|
|
183
183
|
|
|
184
184
|
function translateToPreactWidgetProps(widgetProps) {
|
|
185
185
|
const { beforeRender, dataReady, beforeMenuOpen, dataPointClick, dataPointContextMenu, dataPointsSelect, ...commonWidgetProps } = widgetProps;
|
|
@@ -3209,12 +3209,21 @@ class DashboardComponent {
|
|
|
3209
3209
|
*
|
|
3210
3210
|
* @category Constructor
|
|
3211
3211
|
*/
|
|
3212
|
-
themeService
|
|
3212
|
+
themeService,
|
|
3213
|
+
/**
|
|
3214
|
+
* Plugin service
|
|
3215
|
+
*
|
|
3216
|
+
* @internal
|
|
3217
|
+
* @category Constructor
|
|
3218
|
+
*/
|
|
3219
|
+
pluginService) {
|
|
3213
3220
|
this.sisenseContextService = sisenseContextService;
|
|
3214
3221
|
this.themeService = themeService;
|
|
3222
|
+
this.pluginService = pluginService;
|
|
3215
3223
|
this.componentAdapter = new ComponentAdapter(Dashboard, [
|
|
3216
3224
|
createSisenseContextConnector(this.sisenseContextService),
|
|
3217
3225
|
createThemeContextConnector(this.themeService),
|
|
3226
|
+
createPluginsContextConnector(this.pluginService),
|
|
3218
3227
|
]);
|
|
3219
3228
|
}
|
|
3220
3229
|
/**
|
|
@@ -3241,6 +3250,7 @@ class DashboardComponent {
|
|
|
3241
3250
|
defaultDataSource: this.defaultDataSource,
|
|
3242
3251
|
widgetsOptions: this.widgetsOptions,
|
|
3243
3252
|
styleOptions: this.styleOptions,
|
|
3253
|
+
tabbersOptions: this.tabbersOptions,
|
|
3244
3254
|
});
|
|
3245
3255
|
}
|
|
3246
3256
|
/**
|
|
@@ -3250,12 +3260,12 @@ class DashboardComponent {
|
|
|
3250
3260
|
this.componentAdapter.destroy();
|
|
3251
3261
|
}
|
|
3252
3262
|
}
|
|
3253
|
-
DashboardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DashboardComponent, deps: [{ token: SisenseContextService }, { token: ThemeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3254
|
-
DashboardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DashboardComponent, selector: "csdk-dashboard", inputs: { title: "title", layoutOptions: "layoutOptions", config: "config", widgets: "widgets", filters: "filters", defaultDataSource: "defaultDataSource", widgetsOptions: "widgetsOptions", styleOptions: "styleOptions" }, viewQueries: [{ propertyName: "preactRef", first: true, predicate: ["preact"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "\n <div #preact class=\"csdk-full-size-container\"></div>\n", isInline: true, styles: [".csdk-full-size-container{width:100%;height:100%}\n"] });
|
|
3263
|
+
DashboardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DashboardComponent, deps: [{ token: SisenseContextService }, { token: ThemeService }, { token: PluginsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3264
|
+
DashboardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DashboardComponent, selector: "csdk-dashboard", inputs: { title: "title", layoutOptions: "layoutOptions", config: "config", widgets: "widgets", filters: "filters", defaultDataSource: "defaultDataSource", widgetsOptions: "widgetsOptions", styleOptions: "styleOptions", tabbersOptions: "tabbersOptions" }, viewQueries: [{ propertyName: "preactRef", first: true, predicate: ["preact"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "\n <div #preact class=\"csdk-full-size-container\"></div>\n", isInline: true, styles: [".csdk-full-size-container{width:100%;height:100%}\n"] });
|
|
3255
3265
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DashboardComponent, decorators: [{
|
|
3256
3266
|
type: Component,
|
|
3257
3267
|
args: [{ selector: 'csdk-dashboard', template: template, styles: [".csdk-full-size-container{width:100%;height:100%}\n"] }]
|
|
3258
|
-
}], ctorParameters: function () { return [{ type: SisenseContextService }, { type: ThemeService }]; }, propDecorators: { preactRef: [{
|
|
3268
|
+
}], ctorParameters: function () { return [{ type: SisenseContextService }, { type: ThemeService }, { type: PluginsService }]; }, propDecorators: { preactRef: [{
|
|
3259
3269
|
type: ViewChild,
|
|
3260
3270
|
args: [rootId]
|
|
3261
3271
|
}], title: [{
|
|
@@ -3274,6 +3284,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3274
3284
|
type: Input
|
|
3275
3285
|
}], styleOptions: [{
|
|
3276
3286
|
type: Input
|
|
3287
|
+
}], tabbersOptions: [{
|
|
3288
|
+
type: Input
|
|
3277
3289
|
}] } });
|
|
3278
3290
|
|
|
3279
3291
|
/**
|