@gooddata/code-cli 0.44.0-alpha.3 → 0.44.0-alpha.4
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.js +15 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37366,7 +37366,7 @@ function isPromise(value) {
|
|
|
37366
37366
|
//#endregion
|
|
37367
37367
|
//#region package.json
|
|
37368
37368
|
var name$1 = "@gooddata/code-cli";
|
|
37369
|
-
var version$1 = "0.44.0-alpha.
|
|
37369
|
+
var version$1 = "0.44.0-alpha.4";
|
|
37370
37370
|
//#endregion
|
|
37371
37371
|
//#region ../code/esm/features/references/types.js
|
|
37372
37372
|
var UpdateReferencesType;
|
|
@@ -38040,6 +38040,10 @@ const metadata_v1 = {
|
|
|
38040
38040
|
"type": "boolean",
|
|
38041
38041
|
"description": "Whether user can save and apply filter views for this dashboard. Defaults to true."
|
|
38042
38042
|
},
|
|
38043
|
+
"persistent_filters_across_tabs": {
|
|
38044
|
+
"type": "boolean",
|
|
38045
|
+
"description": "Whether persistent filters across tabs are enabled for this dashboard. Defaults to true."
|
|
38046
|
+
},
|
|
38043
38047
|
"enable_section_headers": {
|
|
38044
38048
|
"type": "boolean",
|
|
38045
38049
|
"description": "Applies to the root layout. Whether all sections headers are enabled. Defaults to true."
|
|
@@ -42954,6 +42958,10 @@ const metadata_v1 = {
|
|
|
42954
42958
|
"type": "boolean",
|
|
42955
42959
|
"description": "Whether user can save and apply filter views for this dashboard. Defaults to true."
|
|
42956
42960
|
},
|
|
42961
|
+
"persistent_filters_across_tabs": {
|
|
42962
|
+
"type": "boolean",
|
|
42963
|
+
"description": "Whether persistent filters across tabs are enabled for this dashboard. Defaults to true."
|
|
42964
|
+
},
|
|
42957
42965
|
"enable_section_headers": {
|
|
42958
42966
|
"type": "boolean",
|
|
42959
42967
|
"description": "Applies to the root layout. Whether all sections headers are enabled. Defaults to true."
|
|
@@ -95638,7 +95646,8 @@ function yamlDashboardToDeclarative(entities, input) {
|
|
|
95638
95646
|
...input.cross_filtering === false ? { disableCrossFiltering: true } : {},
|
|
95639
95647
|
...input.user_filters_save === false ? { disableUserFilterSave: true } : {},
|
|
95640
95648
|
...input.user_filters_reset === false ? { disableUserFilterReset: true } : {},
|
|
95641
|
-
...input.filter_views === false ? { disableFilterViews: true } : {}
|
|
95649
|
+
...input.filter_views === false ? { disableFilterViews: true } : {},
|
|
95650
|
+
...input.persistent_filters_across_tabs === false ? { disablePersistentFiltersAcrossTabs: true } : {}
|
|
95642
95651
|
} : {
|
|
95643
95652
|
version: "2",
|
|
95644
95653
|
layout,
|
|
@@ -95652,6 +95661,7 @@ function yamlDashboardToDeclarative(entities, input) {
|
|
|
95652
95661
|
...input.user_filters_save === false ? { disableUserFilterSave: true } : {},
|
|
95653
95662
|
...input.user_filters_reset === false ? { disableUserFilterReset: true } : {},
|
|
95654
95663
|
...input.filter_views === false ? { disableFilterViews: true } : {},
|
|
95664
|
+
...input.persistent_filters_across_tabs === false ? { disablePersistentFiltersAcrossTabs: true } : {},
|
|
95655
95665
|
filterContextRef: filterContext ? createIdentifier(filterContext.id, { forceType: "filterContext" }) : void 0
|
|
95656
95666
|
};
|
|
95657
95667
|
return {
|
|
@@ -97552,6 +97562,7 @@ function declarativeDashboardToYaml(entities, dashboard, filterContexts, context
|
|
|
97552
97562
|
if (content.disableUserFilterReset) doc.add(entryWithSpace("user_filters_reset", false));
|
|
97553
97563
|
if (content.disableUserFilterSave) doc.add(entryWithSpace("user_filters_save", false));
|
|
97554
97564
|
if (content.disableFilterViews) doc.add(entryWithSpace("filter_views", false));
|
|
97565
|
+
if (content.disablePersistentFiltersAcrossTabs) doc.add(entryWithSpace("persistent_filters_across_tabs", false));
|
|
97555
97566
|
const hasMultipleTabs = content.tabs && content.tabs.length > 1;
|
|
97556
97567
|
const hasSingleTabWithTitle = content.tabs?.length === 1 && content.tabs[0].title;
|
|
97557
97568
|
const shouldUseTabs = hasMultipleTabs || hasSingleTabWithTitle;
|
|
@@ -151789,7 +151800,7 @@ const _CONFIG = {
|
|
|
151789
151800
|
common: {
|
|
151790
151801
|
"X-Requested-With": "XMLHttpRequest",
|
|
151791
151802
|
"X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
|
|
151792
|
-
"X-GDC-JS-PACKAGE-VERSION": "11.48.0-alpha.
|
|
151803
|
+
"X-GDC-JS-PACKAGE-VERSION": "11.48.0-alpha.4"
|
|
151793
151804
|
},
|
|
151794
151805
|
post: { "Content-Type": "application/json;charset=utf8" },
|
|
151795
151806
|
put: { "Content-Type": "application/json;charset=utf8" }
|
|
@@ -198167,7 +198178,7 @@ async function get(state, opts) {
|
|
|
198167
198178
|
//#endregion
|
|
198168
198179
|
//#region ../code/package.json
|
|
198169
198180
|
var name = "@gooddata/code";
|
|
198170
|
-
var version = "0.44.0-alpha.
|
|
198181
|
+
var version = "0.44.0-alpha.4";
|
|
198171
198182
|
//#endregion
|
|
198172
198183
|
//#region ../code/esm/actions/initialize.js
|
|
198173
198184
|
async function initialize(state, emitter, options) {
|