@sisense/sdk-ui-angular 1.24.0 → 1.26.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-by-id.component.mjs +5 -2
- package/dist/esm2020/lib/services/query.service.mjs +3 -3
- package/dist/esm2020/version.mjs +2 -2
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs +7 -4
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs +7 -4
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/lib/components/dashboard/dashboard-by-id.component.d.ts +7 -1
- package/dist/package.json +4 -4
- package/dist/version.d.ts +1 -1
- package/package.json +7 -7
|
@@ -6,7 +6,7 @@ export { boxWhiskerProcessResult, dashboardHelpers, dashboardModelTranslator, wi
|
|
|
6
6
|
import { map, BehaviorSubject } from 'rxjs';
|
|
7
7
|
import { __decorate } from 'tslib';
|
|
8
8
|
import merge from 'ts-deepmerge';
|
|
9
|
-
import {
|
|
9
|
+
import { getFilterListAndRelationsJaql } from '@sisense/sdk-data';
|
|
10
10
|
import { trackProductEvent } from '@sisense/sdk-tracking';
|
|
11
11
|
|
|
12
12
|
const rootId = 'preact';
|
|
@@ -228,7 +228,7 @@ let QueryService = class QueryService {
|
|
|
228
228
|
async executeQuery(params) {
|
|
229
229
|
const { dataSource, dimensions, measures, filters, highlights, count, offset, onBeforeQuery } = params;
|
|
230
230
|
const app = await this.sisenseContextService.getApp();
|
|
231
|
-
const { filters: filterList, relations: filterRelations } =
|
|
231
|
+
const { filters: filterList, relations: filterRelations } = getFilterListAndRelationsJaql(filters);
|
|
232
232
|
const data = await executeQuery({
|
|
233
233
|
dataSource,
|
|
234
234
|
dimensions,
|
|
@@ -448,7 +448,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
448
448
|
}]
|
|
449
449
|
}], ctorParameters: function () { return [{ type: SisenseContextService }]; } });
|
|
450
450
|
|
|
451
|
-
var packageVersion = '1.
|
|
451
|
+
var packageVersion = '1.26.0';
|
|
452
452
|
|
|
453
453
|
function Trackable(target, propertyKey, descriptor) {
|
|
454
454
|
const originalMethod = descriptor.value;
|
|
@@ -4124,6 +4124,7 @@ class DashboardByIdComponent {
|
|
|
4124
4124
|
createPreactComponent() {
|
|
4125
4125
|
const props = {
|
|
4126
4126
|
dashboardOid: this.dashboardOid,
|
|
4127
|
+
persist: this.persist,
|
|
4127
4128
|
};
|
|
4128
4129
|
return createElement(DashboardById, props);
|
|
4129
4130
|
}
|
|
@@ -4135,7 +4136,7 @@ class DashboardByIdComponent {
|
|
|
4135
4136
|
}
|
|
4136
4137
|
}
|
|
4137
4138
|
DashboardByIdComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DashboardByIdComponent, deps: [{ token: SisenseContextService }, { token: ThemeService }, { token: PluginsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4138
|
-
DashboardByIdComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DashboardByIdComponent, selector: "csdk-dashboard-by-id", inputs: { dashboardOid: "dashboardOid" }, viewQueries: [{ propertyName: "preactRef", first: true, predicate: ["preact"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "\n <div #preact style=\"width: 100%; height: 100%\"></div>\n", isInline: true });
|
|
4139
|
+
DashboardByIdComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DashboardByIdComponent, selector: "csdk-dashboard-by-id", inputs: { dashboardOid: "dashboardOid", persist: "persist" }, viewQueries: [{ propertyName: "preactRef", first: true, predicate: ["preact"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "\n <div #preact style=\"width: 100%; height: 100%\"></div>\n", isInline: true });
|
|
4139
4140
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DashboardByIdComponent, decorators: [{
|
|
4140
4141
|
type: Component,
|
|
4141
4142
|
args: [{
|
|
@@ -4147,6 +4148,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
4147
4148
|
args: [rootId]
|
|
4148
4149
|
}], dashboardOid: [{
|
|
4149
4150
|
type: Input
|
|
4151
|
+
}], persist: [{
|
|
4152
|
+
type: Input
|
|
4150
4153
|
}] } });
|
|
4151
4154
|
|
|
4152
4155
|
/**
|