gamma-app-controller 1.3.1 → 1.3.3
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/esm2020/lib/application-controller/application-view-components/create-comp-view/create-comp-view.component.mjs +10 -5
- package/esm2020/lib/application-controller/support-components/dash-table/dash-table.component.mjs +2 -2
- package/esm2020/lib/application-controller/support-components/table-with-bar/table-with-bar.component.mjs +2 -2
- package/esm2020/lib/shared/permission-helper.mjs +1 -1
- package/fesm2015/gamma-app-controller.mjs +13 -6
- package/fesm2015/gamma-app-controller.mjs.map +1 -1
- package/fesm2020/gamma-app-controller.mjs +11 -6
- package/fesm2020/gamma-app-controller.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4864,7 +4864,7 @@ class DashTableComponent {
|
|
|
4864
4864
|
this.configColume = Object.keys(value.data[0]);
|
|
4865
4865
|
this.dataSourseForTable = value.data.slice(0, 10);
|
|
4866
4866
|
this.selectedViewConfigs = value;
|
|
4867
|
-
this.userOptionContainer = value.selectedWidgetConfig
|
|
4867
|
+
this.userOptionContainer = value.selectedWidgetConfig?.permissions ? value.selectedWidgetConfig.permissions : [];
|
|
4868
4868
|
this.selectedTableViewType = value.selectedViewType;
|
|
4869
4869
|
if (value.selectedWidgetConfig) {
|
|
4870
4870
|
this.table_columns_config['kpiConfig'] = value.selectedWidgetConfig;
|
|
@@ -5315,7 +5315,7 @@ class TableWithBarComponent {
|
|
|
5315
5315
|
this.configColume = Object.keys(value.data[0]);
|
|
5316
5316
|
this.dataSourseForTable = value.data.slice(0, 5);
|
|
5317
5317
|
this.selectedViewConfigs = value;
|
|
5318
|
-
this.userOptionContainer = value.selectedWidgetConfig
|
|
5318
|
+
this.userOptionContainer = value.selectedWidgetConfig?.permissions ? value.selectedWidgetConfig.permissions : [];
|
|
5319
5319
|
this.selectedTableViewType = value.selectedViewType;
|
|
5320
5320
|
if (value.selectedWidgetConfig) {
|
|
5321
5321
|
this.table_columns_config['kpiConfig'] = value.selectedWidgetConfig;
|
|
@@ -6629,10 +6629,15 @@ class CreateCompViewComponent {
|
|
|
6629
6629
|
this.getDataSet();
|
|
6630
6630
|
}
|
|
6631
6631
|
getViewType(e) {
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6632
|
+
if (e.event) {
|
|
6633
|
+
this.isKpiConfigSelected = false;
|
|
6634
|
+
this.isKpiSelected = false;
|
|
6635
|
+
this.isGenerate = false;
|
|
6636
|
+
this.isCreateNewView = false;
|
|
6637
|
+
this.creatCompViewObject['viewName'] = this.selectedDataSet.datasetName + ' ' + e.value;
|
|
6638
|
+
this.creatCompViewObject['viewLabel'] = this.selectedDataSet.datasetName + ' ' + e.value;
|
|
6639
|
+
;
|
|
6640
|
+
}
|
|
6636
6641
|
}
|
|
6637
6642
|
getDataSet() {
|
|
6638
6643
|
this.service.getAppDatasetConfigs().subscribe({
|