@gooddata/sdk-ui-analytical-designer 11.67.0-alpha.2 → 11.67.0-alpha.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/NOTICE +943 -2401
- package/esm/components/DeleteReportDialog.d.ts.map +1 -1
- package/esm/components/DeleteReportDialog.js +30 -11
- package/esm/components/DeleteReportDialogUsageList.d.ts +6 -2
- package/esm/components/DeleteReportDialogUsageList.d.ts.map +1 -1
- package/esm/components/DeleteReportDialogUsageList.js +29 -16
- package/esm/components/DeleteReportDialogUsageListItem.d.ts +2 -3
- package/esm/components/DeleteReportDialogUsageListItem.d.ts.map +1 -1
- package/esm/components/DeleteReportDialogUsageListItem.js +2 -3
- package/esm/selectors/dialogs_selector.d.ts +26 -2
- package/esm/selectors/dialogs_selector.d.ts.map +1 -1
- package/esm/selectors/dialogs_selector.js +3 -2
- package/esm/selectors/feature_flag_selector.d.ts +2 -23
- package/esm/selectors/feature_flag_selector.d.ts.map +1 -1
- package/esm/selectors/feature_flag_selector.js +0 -2
- package/esm/selectors/report_visualization_selector.d.ts +0 -4
- package/esm/selectors/report_visualization_selector.d.ts.map +1 -1
- package/esm/selectors/uri_selector.d.ts +22 -0
- package/esm/selectors/uri_selector.d.ts.map +1 -1
- package/esm/selectors/uri_selector.js +1 -0
- package/esm/translations/en-US.json +14 -2
- package/package.json +24 -24
- package/styles/css/delete_report_dialog.css +6 -2
- package/styles/css/delete_report_dialog.css.map +1 -1
- package/styles/css/main.css +6 -2
- package/styles/css/main.css.map +1 -1
- package/styles/scss/delete_report_dialog.scss +8 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteReportDialog.d.ts","sourceRoot":"","sources":["../../src/components/DeleteReportDialog.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DeleteReportDialog.d.ts","sourceRoot":"","sources":["../../src/components/DeleteReportDialog.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,aAAa,IAAI,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAmC/E,MAAM,WAAW,wBAAwB;IACrC,+CAA+C;IAC/C,aAAa,CAAC,EAAE,OAAO,sBAAsB,CAAC;CACjD;AAuBD,wBAAgB,kBAAkB,CAAC,EAAE,aAAsC,EAAE,EAAE,wBAAwB,kDA8FtG"}
|
|
@@ -1,33 +1,50 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
// (C) 2007-2026 GoodData Corporation
|
|
3
3
|
import { useEffect, useState } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { sortBy } from "lodash-es";
|
|
5
|
+
import { FormattedMessage, defineMessages, useIntl } from "react-intl";
|
|
5
6
|
import { useDispatch, useSelector } from "react-redux";
|
|
6
7
|
import { useCancelablePromise } from "@gooddata/sdk-ui";
|
|
7
8
|
import { ConfirmDialog as ConfirmDialogComponent } from "@gooddata/sdk-ui-kit";
|
|
8
9
|
import { deleteReport } from "../actions/delete_actions.js";
|
|
9
10
|
import { hideDialog } from "../actions/dialogs_actions.js";
|
|
10
11
|
import { deleteReportDialogSelector } from "../selectors/dialogs_selector.js";
|
|
11
|
-
import { getInsightUsageOnDashboards } from "../store/insight_usage/insight_usage_helpers.js";
|
|
12
|
+
import { EMPTY_INSIGHT_USAGE_ON_DASHBOARDS, getInsightUsageOnDashboards, } from "../store/insight_usage/insight_usage_helpers.js";
|
|
12
13
|
import { getAnalyticalDashboards, getInsightReferences } from "../utils/api.js";
|
|
13
14
|
import { shortenText } from "../utils/base.js";
|
|
14
15
|
import { DeleteReportDialogUsageList } from "./DeleteReportDialogUsageList.js";
|
|
15
16
|
const MAX_TITLE_LENGTH = 28;
|
|
16
|
-
const
|
|
17
|
+
const deleteProhibitedMessages = defineMessages({
|
|
18
|
+
dashboards: { id: "dialogs.deleteReportConfirmation.deleteProhibited" },
|
|
19
|
+
documents: { id: "dialogs.deleteReportConfirmation.deleteProhibitedDocuments" },
|
|
20
|
+
documentsAndDashboards: { id: "dialogs.deleteReportConfirmation.deleteProhibitedDocumentsAndDashboards" },
|
|
21
|
+
});
|
|
22
|
+
function getDeleteProhibitedMessage(isUsedOnDashboards, isUsedInDocuments) {
|
|
23
|
+
if (!isUsedInDocuments) {
|
|
24
|
+
return deleteProhibitedMessages.dashboards;
|
|
25
|
+
}
|
|
26
|
+
return isUsedOnDashboards
|
|
27
|
+
? deleteProhibitedMessages.documentsAndDashboards
|
|
28
|
+
: deleteProhibitedMessages.documents;
|
|
29
|
+
}
|
|
30
|
+
const useReferencingObjects = (projectId, insightRef, isActive) => {
|
|
17
31
|
return useCancelablePromise({
|
|
18
32
|
promise: async () => {
|
|
19
33
|
if (!insightRef || !isActive) {
|
|
20
34
|
return null;
|
|
21
35
|
}
|
|
22
|
-
const { analyticalDashboards } = await getInsightReferences(projectId, insightRef);
|
|
36
|
+
const { analyticalDashboards, documents } = await getInsightReferences(projectId, insightRef);
|
|
23
37
|
const userDashboards = await getAnalyticalDashboards(projectId);
|
|
24
|
-
return
|
|
38
|
+
return {
|
|
39
|
+
dashboards: getInsightUsageOnDashboards(analyticalDashboards || [], userDashboards),
|
|
40
|
+
documents: sortBy(documents ?? [], (document) => document.title.trim().toLowerCase()),
|
|
41
|
+
};
|
|
25
42
|
},
|
|
26
43
|
}, [projectId, insightRef, isActive]);
|
|
27
44
|
};
|
|
28
45
|
export function DeleteReportDialog({ ConfirmDialog = ConfirmDialogComponent }) {
|
|
29
46
|
const intl = useIntl();
|
|
30
|
-
const { deleteReportDialog, projectId, isEmbedded, analyticalDashboardUriFactory } = useSelector(deleteReportDialogSelector);
|
|
47
|
+
const { deleteReportDialog, projectId, isEmbedded, analyticalDashboardUriFactory, documentUriFactory } = useSelector(deleteReportDialogSelector);
|
|
31
48
|
const dispatch = useDispatch();
|
|
32
49
|
const insightRef = deleteReportDialog?.data?.insightRef;
|
|
33
50
|
const active = deleteReportDialog.active;
|
|
@@ -39,7 +56,7 @@ export function DeleteReportDialog({ ConfirmDialog = ConfirmDialogComponent }) {
|
|
|
39
56
|
setIsDeleting(false);
|
|
40
57
|
}
|
|
41
58
|
}, [active]);
|
|
42
|
-
const { result:
|
|
59
|
+
const { result: referencing, status } = useReferencingObjects(projectId, insightRef, active);
|
|
43
60
|
const isLoadingUsages = status === "loading" || status === "pending";
|
|
44
61
|
const onConfirm = () => {
|
|
45
62
|
dispatch(deleteReport(deleteReportDialog.data.insightRef, true));
|
|
@@ -50,8 +67,10 @@ export function DeleteReportDialog({ ConfirmDialog = ConfirmDialogComponent }) {
|
|
|
50
67
|
setIsDeleting(false);
|
|
51
68
|
};
|
|
52
69
|
// TODO it might make sense to unify this and use the tiger way also on bear
|
|
53
|
-
// on tiger we enable the delete once we are sure the insight is not used on any dashboard
|
|
54
|
-
const
|
|
70
|
+
// on tiger we enable the delete once we are sure the insight is not used on any dashboard or in any document
|
|
71
|
+
const isUsedOnDashboards = (referencing?.dashboards.allDashboardsCount ?? 0) > 0;
|
|
72
|
+
const isUsedInDocuments = (referencing?.documents.length ?? 0) > 0;
|
|
73
|
+
const canDelete = !isLoadingUsages && !isUsedOnDashboards && !isUsedInDocuments;
|
|
55
74
|
const shouldDisableDelete = isDeleting || !canDelete;
|
|
56
75
|
if (deleteReportDialog.active) {
|
|
57
76
|
const decoratedTitle = shortenText(deleteReportDialog.data.meta.title, {
|
|
@@ -60,10 +79,10 @@ export function DeleteReportDialog({ ConfirmDialog = ConfirmDialogComponent }) {
|
|
|
60
79
|
return (_jsxs(ConfirmDialog, { onCancel: onClose, onSubmit: onConfirm, className: "gd-delete-report-dialog s-dialog", headline: intl.formatMessage({ id: "dialogs.deleteReportConfirmation.headline" }), cancelButtonText: intl.formatMessage({ id: "dialogs.deleteReportConfirmation.cancel" }), submitButtonText: intl.formatMessage({ id: "dialogs.deleteReportConfirmation.confirm" }), isSubmitDisabled: shouldDisableDelete, children: [canDelete ? (_jsx("p", { className: "s-delete-report-dialog-title", children: _jsx(FormattedMessage, { id: "dialogs.deleteReportConfirmation.description", values: {
|
|
61
80
|
deletedReportTitle: decoratedTitle,
|
|
62
81
|
strong: (chunks) => _jsx("strong", { children: chunks }),
|
|
63
|
-
} }) })) : null, !isLoadingUsages && !canDelete && (_jsx("p", { className: "s-delete-report-dialog-title", children: _jsx(FormattedMessage, {
|
|
82
|
+
} }) })) : null, !isLoadingUsages && !canDelete && (_jsx("p", { className: "s-delete-report-dialog-title", children: _jsx(FormattedMessage, { ...getDeleteProhibitedMessage(isUsedOnDashboards, isUsedInDocuments), values: {
|
|
64
83
|
deletedReportTitle: decoratedTitle,
|
|
65
84
|
strong: (chunks) => _jsx("strong", { children: chunks }),
|
|
66
|
-
} }) })), _jsx(DeleteReportDialogUsageList, { isLoading: isLoadingUsages, isEmbedded: isEmbedded, referencingDashboards:
|
|
85
|
+
} }) })), _jsx(DeleteReportDialogUsageList, { isLoading: isLoadingUsages, isEmbedded: isEmbedded, referencingDashboards: referencing?.dashboards ?? EMPTY_INSIGHT_USAGE_ON_DASHBOARDS, referencingDocuments: referencing?.documents ?? [], analyticalDashboardUriFactory: analyticalDashboardUriFactory, documentUriFactory: documentUriFactory })] }));
|
|
67
86
|
}
|
|
68
87
|
return null;
|
|
69
88
|
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type IMetadataObject } from "@gooddata/sdk-model";
|
|
2
|
+
import { type AnalyticalDashboardUriFactory, type DocumentUriFactory } from "../selectors/uri_selector.js";
|
|
2
3
|
import { type IInsightUsageOnDashboard } from "../store/insight_usage/insight_usage_state.js";
|
|
4
|
+
type ReferencingDocument = Pick<IMetadataObject, "id" | "title">;
|
|
3
5
|
interface IDeleteReportDialogUsageListProps {
|
|
4
6
|
isLoading: boolean;
|
|
5
7
|
isEmbedded: boolean;
|
|
6
8
|
referencingDashboards: IInsightUsageOnDashboard;
|
|
9
|
+
referencingDocuments: ReferencingDocument[];
|
|
7
10
|
analyticalDashboardUriFactory: AnalyticalDashboardUriFactory;
|
|
11
|
+
documentUriFactory: DocumentUriFactory;
|
|
8
12
|
}
|
|
9
|
-
export declare function DeleteReportDialogUsageList({ isLoading, isEmbedded, referencingDashboards, analyticalDashboardUriFactory, }: IDeleteReportDialogUsageListProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function DeleteReportDialogUsageList({ isLoading, isEmbedded, referencingDashboards, referencingDocuments, analyticalDashboardUriFactory, documentUriFactory, }: IDeleteReportDialogUsageListProps): import("react/jsx-runtime").JSX.Element;
|
|
10
14
|
export {};
|
|
11
15
|
//# sourceMappingURL=DeleteReportDialogUsageList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteReportDialogUsageList.d.ts","sourceRoot":"","sources":["../../src/components/DeleteReportDialogUsageList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DeleteReportDialogUsageList.d.ts","sourceRoot":"","sources":["../../src/components/DeleteReportDialogUsageList.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,OAAO,EAAE,KAAK,6BAA6B,EAAE,KAAK,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAC3G,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AAgB9F,KAAK,mBAAmB,GAAG,IAAI,CAAC,eAAe,EAAE,IAAI,GAAG,OAAO,CAAC,CAAC;AAIjE,UAAU,iCAAiC;IACvC,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,qBAAqB,EAAE,wBAAwB,CAAC;IAChD,oBAAoB,EAAE,mBAAmB,EAAE,CAAC;IAC5C,6BAA6B,EAAE,6BAA6B,CAAC;IAC7D,kBAAkB,EAAE,kBAAkB,CAAC;CAC1C;AAwJD,wBAAgB,2BAA2B,CAAC,EACxC,SAAS,EACT,UAAU,EACV,qBAAqB,EACrB,oBAAoB,EACpB,6BAA6B,EAC7B,kBAAkB,GACrB,EAAE,iCAAiC,2CAwCnC"}
|
|
@@ -1,38 +1,51 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
// (C) 2021-2026 GoodData Corporation
|
|
3
3
|
import { useState } from "react";
|
|
4
|
-
import { FormattedMessage,
|
|
5
|
-
import { Message } from "@gooddata/sdk-ui-kit";
|
|
4
|
+
import { FormattedMessage, defineMessages, useIntl } from "react-intl";
|
|
5
|
+
import { Message, UiButton } from "@gooddata/sdk-ui-kit";
|
|
6
6
|
import { Spinner } from "./catalog/blocks/Spinner.js";
|
|
7
7
|
import { DeleteReportDialogUsageListItem } from "./DeleteReportDialogUsageListItem.js";
|
|
8
|
+
const messages = defineMessages({
|
|
9
|
+
checking: { id: "dialogs.deleteReportConfirmation.usage.checking" },
|
|
10
|
+
notUsed: { id: "dialogs.deleteReportConfirmation.usage.notUsed" },
|
|
11
|
+
dashboardsUsage: { id: "dialogs.deleteReportConfirmation.usage" },
|
|
12
|
+
documentsUsage: { id: "dialogs.deleteReportConfirmation.usage.documents" },
|
|
13
|
+
showMore: { id: "dialogs.deleteReportConfirmation.usage.showMore" },
|
|
14
|
+
showLess: { id: "dialogs.deleteReportConfirmation.usage.showLess" },
|
|
15
|
+
inaccessibleDashboards: { id: "dialogs.deleteReportConfirmation.usage.inaccessibleDashboards" },
|
|
16
|
+
inaccessibleDashboardsOnly: { id: "dialogs.deleteReportConfirmation.usage.inaccessibleDashboardsOnly" },
|
|
17
|
+
});
|
|
18
|
+
const strong = (chunks) => _jsx("strong", { children: chunks });
|
|
19
|
+
function UsageSection({ header, toggleClassName, children }) {
|
|
20
|
+
const intl = useIntl();
|
|
21
|
+
const [showUsageList, setShowUsageList] = useState(false);
|
|
22
|
+
return (_jsxs(Message, { type: "warning", children: [_jsxs("div", { className: "gd-delete-report-dialog-usage-list-header", children: [header, _jsx("span", { className: `gd-delete-report-dialog-usage-more ${toggleClassName}`, children: _jsx(UiButton, { variant: "link", label: intl.formatMessage(showUsageList ? messages.showLess : messages.showMore), onClick: () => setShowUsageList(!showUsageList), accessibilityConfig: { ariaExpanded: showUsageList } }) })] }), showUsageList ? (_jsx("div", { className: "gd-delete-report-dialog-usage-list-wrapper", children: children })) : null] }));
|
|
23
|
+
}
|
|
8
24
|
function ReferencedDashboardsList({ referencingDashboards, isEmbedded, analyticalDashboardUriFactory, }) {
|
|
9
25
|
const { accessibleDashboards } = referencingDashboards;
|
|
10
|
-
return (_jsx("ul", { className: "gd-delete-report-dialog-usage-list", children: accessibleDashboards.map(({ id, title }) => (_jsx(DeleteReportDialogUsageListItem, { id: id, title: title, isEmbedded: isEmbedded,
|
|
26
|
+
return (_jsx("ul", { className: "gd-delete-report-dialog-usage-list", children: accessibleDashboards.map(({ id, title }) => (_jsx(DeleteReportDialogUsageListItem, { id: id, title: title, isEmbedded: isEmbedded, uriFactory: analyticalDashboardUriFactory }, id))) }));
|
|
11
27
|
}
|
|
12
28
|
function InaccessibleDashboardsMessage({ count }) {
|
|
13
|
-
return (_jsx("div", { className: "gd-delete-report-dialog-usage-inaccessible s-delete-report-dialog-usage-inaccessible", children: _jsx(FormattedMessage, {
|
|
29
|
+
return (_jsx("div", { className: "gd-delete-report-dialog-usage-inaccessible s-delete-report-dialog-usage-inaccessible", children: _jsx(FormattedMessage, { ...messages.inaccessibleDashboards, values: { count, b: (chunks) => _jsx("b", { children: chunks }) } }) }));
|
|
14
30
|
}
|
|
15
31
|
function OnlyInaccessibleDashboardsMessage({ count }) {
|
|
16
|
-
return (_jsx("div", { className: "gd-delete-report-dialog-usage-inaccessible s-delete-report-dialog-usage-inaccessible", children: _jsx(FormattedMessage, {
|
|
32
|
+
return (_jsx("div", { className: "gd-delete-report-dialog-usage-inaccessible s-delete-report-dialog-usage-inaccessible", children: _jsx(FormattedMessage, { ...messages.inaccessibleDashboardsOnly, values: { count } }) }));
|
|
17
33
|
}
|
|
18
34
|
function ReferencedDashboards({ referencingDashboards, isEmbedded, analyticalDashboardUriFactory, }) {
|
|
19
35
|
const { allDashboardsCount, accessibleDashboards, inaccessibleDashboardsCount } = referencingDashboards;
|
|
20
|
-
const [showUsageList, setShowUsageList] = useState(false);
|
|
21
|
-
const linkTextIntlKey = showUsageList
|
|
22
|
-
? defineMessage({ id: "dialogs.deleteReportConfirmation.usage.showLess" }).id
|
|
23
|
-
: defineMessage({ id: "dialogs.deleteReportConfirmation.usage.showMore" }).id;
|
|
24
36
|
const renderListOfAccessible = accessibleDashboards.length > 0;
|
|
25
37
|
const renderInaccessibleOnly = accessibleDashboards.length === 0 && inaccessibleDashboardsCount > 0;
|
|
26
38
|
const renderAlsoInaccessible = accessibleDashboards.length > 0 && inaccessibleDashboardsCount > 0;
|
|
27
|
-
return (_jsxs(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
39
|
+
return (_jsxs(UsageSection, { header: _jsx(FormattedMessage, { ...messages.dashboardsUsage, values: { dashboardsCount: allDashboardsCount, strong } }), toggleClassName: "s-delete-report-dialog-usage-more", children: [renderListOfAccessible ? (_jsx(ReferencedDashboardsList, { isEmbedded: isEmbedded, referencingDashboards: referencingDashboards, analyticalDashboardUriFactory: analyticalDashboardUriFactory })) : null, renderAlsoInaccessible ? (_jsx(InaccessibleDashboardsMessage, { count: inaccessibleDashboardsCount })) : null, renderInaccessibleOnly ? (_jsx(OnlyInaccessibleDashboardsMessage, { count: inaccessibleDashboardsCount })) : null] }));
|
|
40
|
+
}
|
|
41
|
+
function ReferencedDocuments({ isEmbedded, referencingDocuments, documentUriFactory, }) {
|
|
42
|
+
return (_jsx(UsageSection, { header: _jsx(FormattedMessage, { ...messages.documentsUsage, values: { documentsCount: referencingDocuments.length, strong } }), toggleClassName: "s-delete-report-dialog-usage-documents-more", children: _jsx("ul", { className: "gd-delete-report-dialog-usage-list", children: referencingDocuments.map(({ id, title }) => (_jsx(DeleteReportDialogUsageListItem, { id: id, title: title, isEmbedded: isEmbedded, uriFactory: documentUriFactory }, id))) }) }));
|
|
31
43
|
}
|
|
32
|
-
export function DeleteReportDialogUsageList({ isLoading, isEmbedded, referencingDashboards, analyticalDashboardUriFactory, }) {
|
|
44
|
+
export function DeleteReportDialogUsageList({ isLoading, isEmbedded, referencingDashboards, referencingDocuments, analyticalDashboardUriFactory, documentUriFactory, }) {
|
|
33
45
|
if (isLoading) {
|
|
34
|
-
return (_jsxs("div", { className: "gd-delete-report-dialog-usage-loading s-delete-report-dialog-usage-loading", children: [_jsx(Spinner, {}), _jsx("span", { className: "gd-delete-report-dialog-usage-loading-message", children: _jsx(FormattedMessage, {
|
|
46
|
+
return (_jsxs("div", { className: "gd-delete-report-dialog-usage-loading s-delete-report-dialog-usage-loading", children: [_jsx(Spinner, {}), _jsx("span", { className: "gd-delete-report-dialog-usage-loading-message", children: _jsx(FormattedMessage, { ...messages.checking }) })] }));
|
|
35
47
|
}
|
|
36
48
|
const isReferencedOnSomeDashboard = referencingDashboards.allDashboardsCount > 0;
|
|
37
|
-
|
|
49
|
+
const isReferencedInSomeDocument = referencingDocuments.length > 0;
|
|
50
|
+
return (_jsxs("div", { className: "gd-delete-report-dialog-usage s-delete-report-dialog-usage", children: [isReferencedOnSomeDashboard ? (_jsx(ReferencedDashboards, { isEmbedded: isEmbedded, referencingDashboards: referencingDashboards, analyticalDashboardUriFactory: analyticalDashboardUriFactory })) : null, isReferencedInSomeDocument ? (_jsx(ReferencedDocuments, { isEmbedded: isEmbedded, referencingDocuments: referencingDocuments, documentUriFactory: documentUriFactory })) : null, isReferencedOnSomeDashboard || isReferencedInSomeDocument ? null : (_jsx(Message, { type: "progress", children: _jsx("div", { className: "gd-delete-report-dialog-no-usage", children: _jsx(FormattedMessage, { ...messages.notUsed }) }) }))] }));
|
|
38
51
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { type AnalyticalDashboardUriFactory } from "../selectors/uri_selector.js";
|
|
2
1
|
interface IDeleteReportDialogUsageListItemProps {
|
|
3
2
|
id: string;
|
|
4
3
|
title: string;
|
|
5
4
|
isEmbedded: boolean;
|
|
6
|
-
|
|
5
|
+
uriFactory: (id: string) => string;
|
|
7
6
|
}
|
|
8
|
-
export declare function DeleteReportDialogUsageListItem({ id, title, isEmbedded,
|
|
7
|
+
export declare function DeleteReportDialogUsageListItem({ id, title, isEmbedded, uriFactory, }: IDeleteReportDialogUsageListItemProps): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export {};
|
|
10
9
|
//# sourceMappingURL=DeleteReportDialogUsageListItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteReportDialogUsageListItem.d.ts","sourceRoot":"","sources":["../../src/components/DeleteReportDialogUsageListItem.tsx"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"DeleteReportDialogUsageListItem.d.ts","sourceRoot":"","sources":["../../src/components/DeleteReportDialogUsageListItem.tsx"],"names":[],"mappings":"AAEA,UAAU,qCAAqC;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAC;CACtC;AAED,wBAAgB,+BAA+B,CAAC,EAC5C,EAAE,EACF,KAAK,EACL,UAAU,EACV,UAAU,GACb,EAAE,qCAAqC,2CA2BvC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
export function DeleteReportDialogUsageListItem({ id, title, isEmbedded,
|
|
2
|
+
export function DeleteReportDialogUsageListItem({ id, title, isEmbedded, uriFactory, }) {
|
|
3
3
|
if (isEmbedded) {
|
|
4
4
|
return (_jsx("li", { children: _jsx("div", { className: "gd-delete-report-dialog-usage-list-item s-delete-report-dialog-usage-list-item", children: _jsx("span", { className: "gd-delete-report-dialog-usage-list-item-text", title: title, children: title }) }) }));
|
|
5
5
|
}
|
|
6
|
-
|
|
7
|
-
return (_jsx("li", { children: _jsxs("a", { className: "gd-delete-report-dialog-usage-list-item s-delete-report-dialog-usage-list-item", href: dashboardUri, rel: "noopener noreferrer", target: "_blank", children: [_jsx("span", { className: "gd-delete-report-dialog-usage-list-item-link", title: title, children: title }), _jsx("span", { className: "gd-delete-report-dialog-usage-list-item-icon" })] }) }));
|
|
6
|
+
return (_jsx("li", { children: _jsxs("a", { className: "gd-delete-report-dialog-usage-list-item s-delete-report-dialog-usage-list-item", href: uriFactory(id), rel: "noopener noreferrer", target: "_blank", children: [_jsx("span", { className: "gd-delete-report-dialog-usage-list-item-link", title: title, children: title }), _jsx("span", { className: "gd-delete-report-dialog-usage-list-item-icon" })] }) }));
|
|
8
7
|
}
|
|
@@ -6,22 +6,25 @@ export declare const deleteReportDialogSelector: ((state: import("../store/types
|
|
|
6
6
|
projectId: string | undefined;
|
|
7
7
|
isEmbedded: boolean | undefined;
|
|
8
8
|
analyticalDashboardUriFactory: import("./uri_selector.js").AnalyticalDashboardUriFactory;
|
|
9
|
+
documentUriFactory: import("./uri_selector.js").DocumentUriFactory;
|
|
9
10
|
}) & {
|
|
10
11
|
clearCache: () => void;
|
|
11
12
|
resultsCount: () => number;
|
|
12
13
|
resetResultsCount: () => void;
|
|
13
14
|
} & {
|
|
14
|
-
resultFunc: (resultFuncArgs_0: import("../store/dialogs/dialogs_state.js").IDeleteReportConfirmationState, resultFuncArgs_1: string | undefined, resultFuncArgs_2: boolean | undefined, resultFuncArgs_3: import("./uri_selector.js").AnalyticalDashboardUriFactory) => {
|
|
15
|
+
resultFunc: (resultFuncArgs_0: import("../store/dialogs/dialogs_state.js").IDeleteReportConfirmationState, resultFuncArgs_1: string | undefined, resultFuncArgs_2: boolean | undefined, resultFuncArgs_3: import("./uri_selector.js").AnalyticalDashboardUriFactory, resultFuncArgs_4: import("./uri_selector.js").DocumentUriFactory) => {
|
|
15
16
|
deleteReportDialog: import("../store/dialogs/dialogs_state.js").IDeleteReportConfirmationState;
|
|
16
17
|
projectId: string | undefined;
|
|
17
18
|
isEmbedded: boolean | undefined;
|
|
18
19
|
analyticalDashboardUriFactory: import("./uri_selector.js").AnalyticalDashboardUriFactory;
|
|
20
|
+
documentUriFactory: import("./uri_selector.js").DocumentUriFactory;
|
|
19
21
|
};
|
|
20
|
-
memoizedResultFunc: ((resultFuncArgs_0: import("../store/dialogs/dialogs_state.js").IDeleteReportConfirmationState, resultFuncArgs_1: string | undefined, resultFuncArgs_2: boolean | undefined, resultFuncArgs_3: import("./uri_selector.js").AnalyticalDashboardUriFactory) => {
|
|
22
|
+
memoizedResultFunc: ((resultFuncArgs_0: import("../store/dialogs/dialogs_state.js").IDeleteReportConfirmationState, resultFuncArgs_1: string | undefined, resultFuncArgs_2: boolean | undefined, resultFuncArgs_3: import("./uri_selector.js").AnalyticalDashboardUriFactory, resultFuncArgs_4: import("./uri_selector.js").DocumentUriFactory) => {
|
|
21
23
|
deleteReportDialog: import("../store/dialogs/dialogs_state.js").IDeleteReportConfirmationState;
|
|
22
24
|
projectId: string | undefined;
|
|
23
25
|
isEmbedded: boolean | undefined;
|
|
24
26
|
analyticalDashboardUriFactory: import("./uri_selector.js").AnalyticalDashboardUriFactory;
|
|
27
|
+
documentUriFactory: import("./uri_selector.js").DocumentUriFactory;
|
|
25
28
|
}) & {
|
|
26
29
|
clearCache: () => void;
|
|
27
30
|
resultsCount: () => number;
|
|
@@ -32,6 +35,7 @@ export declare const deleteReportDialogSelector: ((state: import("../store/types
|
|
|
32
35
|
projectId: string | undefined;
|
|
33
36
|
isEmbedded: boolean | undefined;
|
|
34
37
|
analyticalDashboardUriFactory: import("./uri_selector.js").AnalyticalDashboardUriFactory;
|
|
38
|
+
documentUriFactory: import("./uri_selector.js").DocumentUriFactory;
|
|
35
39
|
};
|
|
36
40
|
dependencies: [((state: import("../store/types.js").IAppState) => import("../store/dialogs/dialogs_state.js").IDeleteReportConfirmationState) & {
|
|
37
41
|
clearCache: () => void;
|
|
@@ -73,6 +77,26 @@ export declare const deleteReportDialogSelector: ((state: import("../store/types
|
|
|
73
77
|
} & {
|
|
74
78
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
75
79
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
80
|
+
}, ((state: import("../store/types.js").IAppState) => import("./uri_selector.js").DocumentUriFactory) & {
|
|
81
|
+
clearCache: () => void;
|
|
82
|
+
resultsCount: () => number;
|
|
83
|
+
resetResultsCount: () => void;
|
|
84
|
+
} & {
|
|
85
|
+
resultFunc: (resultFuncArgs_0: string | undefined) => import("./uri_selector.js").DocumentUriFactory;
|
|
86
|
+
memoizedResultFunc: ((resultFuncArgs_0: string | undefined) => import("./uri_selector.js").DocumentUriFactory) & {
|
|
87
|
+
clearCache: () => void;
|
|
88
|
+
resultsCount: () => number;
|
|
89
|
+
resetResultsCount: () => void;
|
|
90
|
+
};
|
|
91
|
+
lastResult: () => import("./uri_selector.js").DocumentUriFactory;
|
|
92
|
+
dependencies: [typeof getProjectId];
|
|
93
|
+
recomputations: () => number;
|
|
94
|
+
resetRecomputations: () => void;
|
|
95
|
+
dependencyRecomputations: () => number;
|
|
96
|
+
resetDependencyRecomputations: () => void;
|
|
97
|
+
} & {
|
|
98
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
99
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
76
100
|
}];
|
|
77
101
|
recomputations: () => number;
|
|
78
102
|
resetRecomputations: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialogs_selector.d.ts","sourceRoot":"","sources":["../../src/selectors/dialogs_selector.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAExE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAqBnD,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"dialogs_selector.d.ts","sourceRoot":"","sources":["../../src/selectors/dialogs_selector.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAExE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAqBnD,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAatC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKpC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAElC,CAAC;AAEJ,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhD,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEjC,CAAC;AAEJ,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGjC,CAAC"}
|
|
@@ -3,17 +3,18 @@ import { createSelector } from "reselect";
|
|
|
3
3
|
import { getDialogsState } from "../store/dialogs/dialogs_selectors.js";
|
|
4
4
|
import { getProjectId } from "./bootstrap_selector.js";
|
|
5
5
|
import { getIsEmbedded } from "./meta_selector.js";
|
|
6
|
-
import { analyticalDashboardUriFactorySelector } from "./uri_selector.js";
|
|
6
|
+
import { analyticalDashboardUriFactorySelector, documentUriFactorySelector } from "./uri_selector.js";
|
|
7
7
|
const getOpenReportDialog = createSelector(getDialogsState, (dialogs) => dialogs.openReportConfirmation);
|
|
8
8
|
const getDeleteReportDialog = createSelector(getDialogsState, (dialogs) => dialogs.deleteReportConfirmation);
|
|
9
9
|
const getSavingUntitledReportDialog = createSelector(getDialogsState, (dialogs) => dialogs.savingUntitledReport);
|
|
10
10
|
const getOpenAttributeHierarchyEditDialog = createSelector(getDialogsState, (dialogs) => dialogs.openAttributeHierarchyEditDialog.active);
|
|
11
11
|
const getAttributeHierarchyEditDialogData = createSelector(getDialogsState, (dialogs) => dialogs.openAttributeHierarchyEditDialog.data);
|
|
12
|
-
export const deleteReportDialogSelector = createSelector(getDeleteReportDialog, getProjectId, getIsEmbedded, analyticalDashboardUriFactorySelector, (deleteReportDialog, projectId, isEmbedded, analyticalDashboardUriFactory) => ({
|
|
12
|
+
export const deleteReportDialogSelector = createSelector(getDeleteReportDialog, getProjectId, getIsEmbedded, analyticalDashboardUriFactorySelector, documentUriFactorySelector, (deleteReportDialog, projectId, isEmbedded, analyticalDashboardUriFactory, documentUriFactory) => ({
|
|
13
13
|
deleteReportDialog,
|
|
14
14
|
projectId,
|
|
15
15
|
isEmbedded,
|
|
16
16
|
analyticalDashboardUriFactory,
|
|
17
|
+
documentUriFactory,
|
|
17
18
|
}));
|
|
18
19
|
export const saveReportDialogSelector = createSelector(getSavingUntitledReportDialog, (savingUntitledReportDialog) => ({
|
|
19
20
|
savingUntitledReportDialog,
|
|
@@ -3,8 +3,8 @@ import { type IActiveCalendars, type ObjectVisibility, type WeekStart } from "@g
|
|
|
3
3
|
import { type AttributeFilterAvailableSelectionType } from "@gooddata/sdk-ui-filters";
|
|
4
4
|
import { type IAppState } from "../store/types.js";
|
|
5
5
|
export type PlatformEditionConfig = "free" | "growth" | "enterprise";
|
|
6
|
-
type FeatureFlag = "activeFiltersByDefault" | "cellMergedByDefault" | "enableRadarChart" | "enableMekkoChart" | "platformEdition" | "portalLogoPage" | "enableEmbeddingWriteCommands" | "adFormattingDocumentationLink" | "approximateCountAvailable" | "responsiveUiDateFormat" | "dataSamplingAvailable" | "showAllValuesOnDatesAvailable" | "enableEmbedButtonInAD" | "weekStartOnMondayEnabled" | "enableNewUIWeekStartChange" | "weekStart" | "metadataTimeZone" | "showHiddenCatalogItems" | "enableGeoArea" | "enableHLL" | "enableNewInsightChangedPostMessageEvent" | "enableSemanticSearch" | "enableRankingWithMvf" | "enableRankingStrictLimit" | "enableImprovedRankingFilter" | "enableRawExports" | "enableAnalyticalDesignerCatalogSideload" | "enableExportToDocumentStorage" | "enableFiscalCalendars" | "enableNewPivotTable" | "enableNewGeoPushpin" | "enableGeoChartA11yImprovements" | "enableGeoChartsViewportConfig" | "enableGeoSegmentConflictRecommendation" | "enableAccessibilityMode" | "exportResultPollingTimeoutSeconds" | "enableVisualizationFilteringByTags" | "restrictBaseUi" | "
|
|
7
|
-
type FeatureFlagKey = "ACTIVE_FILTERS_BY_DEFAULT" | "CELL_MERGED_BY_DEFAULT" | "ENABLE_RADAR_CHART" | "ENABLE_MEKKO_CHART" | "ENABLE_GEO_AREA" | "ENABLE_HLL" | "PLATFORM_EDITION" | "ENABLE_EMBEDDING_WRITE_COMMANDS" | "AD_FORMATTING_DOCUMENTATION_LINK" | "ENABLE_APPROX_COUNT" | "ENABLE_DATA_SAMPLING" | "ENABLE_SHOW_ALL_VALUES_ON_DATES" | "RESPONSIVE_UI_DATE_FORMAT" | "ENABLE_EMBED_BUTTON_IN_AD" | "WEEK_START" | "METADATA_TIME_ZONE" | "SHOW_HIDDEN_CATALOG_ITEMS" | "ENABLE_RANKING_WITH_MVF" | "ENABLE_RANKING_STRICT_LIMIT" | "ENABLE_IMPROVED_RANKING_FILTER" | "ENABLE_NEW_INSIGHT_CHANGED_POST_MESSAGE_EVENT" | "ENABLE_SEMANTIC_SEARCH" | "ENABLE_RAW_EXPORTS" | "ENABLE_ANALYTICAL_DESIGNER_CATALOG_SIDELOAD" | "ENABLE_EXPORT_TO_DOCUMENT_STORAGE" | "ENABLE_FISCAL_CALENDARS" | "ENABLE_NEW_PIVOT_TABLE" | "ENABLE_NEW_GEO_PUSHPIN" | "ENABLE_GEO_CHART_A11Y_IMPROVEMENTS" | "ENABLE_GEO_CHARTS_VIEWPORT_CONFIG" | "ENABLE_GEO_SEGMENT_CONFLICT_RECOMMENDATION" | "ENABLE_ACCESSIBILITY_MODE" | "EXPORT_RESULT_POLLING_TIMEOUT_SECONDS" | "ENABLE_VISUALIZATION_FILTERING_BY_TAGS" | "RESTRICT_BASE_UI" | "
|
|
6
|
+
type FeatureFlag = "activeFiltersByDefault" | "cellMergedByDefault" | "enableRadarChart" | "enableMekkoChart" | "platformEdition" | "portalLogoPage" | "enableEmbeddingWriteCommands" | "adFormattingDocumentationLink" | "approximateCountAvailable" | "responsiveUiDateFormat" | "dataSamplingAvailable" | "showAllValuesOnDatesAvailable" | "enableEmbedButtonInAD" | "weekStartOnMondayEnabled" | "enableNewUIWeekStartChange" | "weekStart" | "metadataTimeZone" | "showHiddenCatalogItems" | "enableGeoArea" | "enableHLL" | "enableNewInsightChangedPostMessageEvent" | "enableSemanticSearch" | "enableRankingWithMvf" | "enableRankingStrictLimit" | "enableImprovedRankingFilter" | "enableRawExports" | "enableAnalyticalDesignerCatalogSideload" | "enableExportToDocumentStorage" | "enableFiscalCalendars" | "enableNewPivotTable" | "enableNewGeoPushpin" | "enableGeoChartA11yImprovements" | "enableGeoChartsViewportConfig" | "enableGeoSegmentConflictRecommendation" | "enableAccessibilityMode" | "exportResultPollingTimeoutSeconds" | "enableVisualizationFilteringByTags" | "restrictBaseUi" | "enableParameters" | "enableStringParameters" | "enableEnhancedInsightPicker" | "enableDashboardTimezone" | "enableMetricPermissions" | "enableVisualizationPermissions" | "enableGenAiRightPanel" | "enableComputedAttributes" | "enableCollapsibleLeftSidebar";
|
|
7
|
+
type FeatureFlagKey = "ACTIVE_FILTERS_BY_DEFAULT" | "CELL_MERGED_BY_DEFAULT" | "ENABLE_RADAR_CHART" | "ENABLE_MEKKO_CHART" | "ENABLE_GEO_AREA" | "ENABLE_HLL" | "PLATFORM_EDITION" | "ENABLE_EMBEDDING_WRITE_COMMANDS" | "AD_FORMATTING_DOCUMENTATION_LINK" | "ENABLE_APPROX_COUNT" | "ENABLE_DATA_SAMPLING" | "ENABLE_SHOW_ALL_VALUES_ON_DATES" | "RESPONSIVE_UI_DATE_FORMAT" | "ENABLE_EMBED_BUTTON_IN_AD" | "WEEK_START" | "METADATA_TIME_ZONE" | "SHOW_HIDDEN_CATALOG_ITEMS" | "ENABLE_RANKING_WITH_MVF" | "ENABLE_RANKING_STRICT_LIMIT" | "ENABLE_IMPROVED_RANKING_FILTER" | "ENABLE_NEW_INSIGHT_CHANGED_POST_MESSAGE_EVENT" | "ENABLE_SEMANTIC_SEARCH" | "ENABLE_RAW_EXPORTS" | "ENABLE_ANALYTICAL_DESIGNER_CATALOG_SIDELOAD" | "ENABLE_EXPORT_TO_DOCUMENT_STORAGE" | "ENABLE_FISCAL_CALENDARS" | "ENABLE_NEW_PIVOT_TABLE" | "ENABLE_NEW_GEO_PUSHPIN" | "ENABLE_GEO_CHART_A11Y_IMPROVEMENTS" | "ENABLE_GEO_CHARTS_VIEWPORT_CONFIG" | "ENABLE_GEO_SEGMENT_CONFLICT_RECOMMENDATION" | "ENABLE_ACCESSIBILITY_MODE" | "EXPORT_RESULT_POLLING_TIMEOUT_SECONDS" | "ENABLE_VISUALIZATION_FILTERING_BY_TAGS" | "RESTRICT_BASE_UI" | "ENABLE_PARAMETERS" | "ENABLE_STRING_PARAMETERS" | "ENABLE_ENHANCED_INSIGHT_PICKER" | "ENABLE_METRIC_PERMISSIONS" | "ENABLE_VISUALIZATION_PERMISSIONS" | "ENABLE_GEN_AI_RIGHT_PANEL" | "ENABLE_COMPUTED_ATTRIBUTES" | "ENABLE_COLLAPSIBLE_LEFT_SIDEBAR";
|
|
8
8
|
export declare const FEATURE_FLAGS: {
|
|
9
9
|
[key in FeatureFlagKey]: FeatureFlag;
|
|
10
10
|
};
|
|
@@ -1131,27 +1131,6 @@ export declare const enableVisualizationFilteringByTags: ((state: IAppState) =>
|
|
|
1131
1131
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1132
1132
|
};
|
|
1133
1133
|
export declare const getAvailableSelectionTypes: () => AttributeFilterAvailableSelectionType[];
|
|
1134
|
-
export declare const enableShellApplication: ((state: IAppState) => boolean) & {
|
|
1135
|
-
clearCache: () => void;
|
|
1136
|
-
resultsCount: () => number;
|
|
1137
|
-
resetResultsCount: () => void;
|
|
1138
|
-
} & {
|
|
1139
|
-
resultFunc: (resultFuncArgs_0: IUserWorkspaceSettings) => boolean;
|
|
1140
|
-
memoizedResultFunc: ((resultFuncArgs_0: IUserWorkspaceSettings) => boolean) & {
|
|
1141
|
-
clearCache: () => void;
|
|
1142
|
-
resultsCount: () => number;
|
|
1143
|
-
resetResultsCount: () => void;
|
|
1144
|
-
};
|
|
1145
|
-
lastResult: () => boolean;
|
|
1146
|
-
dependencies: [typeof getFeatureFlags];
|
|
1147
|
-
recomputations: () => number;
|
|
1148
|
-
resetRecomputations: () => void;
|
|
1149
|
-
dependencyRecomputations: () => number;
|
|
1150
|
-
resetDependencyRecomputations: () => void;
|
|
1151
|
-
} & {
|
|
1152
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
1153
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1154
|
-
};
|
|
1155
1134
|
export declare const enableEnhancedInsightPicker: ((state: IAppState) => boolean) & {
|
|
1156
1135
|
clearCache: () => void;
|
|
1157
1136
|
resultsCount: () => number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature_flag_selector.d.ts","sourceRoot":"","sources":["../../src/selectors/feature_flag_selector.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,gBAAgB,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACnG,OAAO,EAAE,KAAK,qCAAqC,EAAE,MAAM,0BAA0B,CAAC;AAItF,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,QAAQ,GAAG,YAAY,CAAC;AAErE,KAAK,WAAW,GACV,wBAAwB,GACxB,qBAAqB,GACrB,kBAAkB,GAClB,kBAAkB,GAClB,iBAAiB,GACjB,gBAAgB,GAChB,8BAA8B,GAC9B,+BAA+B,GAC/B,2BAA2B,GAC3B,wBAAwB,GACxB,uBAAuB,GACvB,+BAA+B,GAC/B,uBAAuB,GACvB,0BAA0B,GAC1B,4BAA4B,GAC5B,WAAW,GACX,kBAAkB,GAClB,wBAAwB,GACxB,eAAe,GACf,WAAW,GACX,yCAAyC,GACzC,sBAAsB,GACtB,sBAAsB,GACtB,0BAA0B,GAC1B,6BAA6B,GAC7B,kBAAkB,GAClB,yCAAyC,GACzC,+BAA+B,GAC/B,uBAAuB,GACvB,qBAAqB,GACrB,qBAAqB,GACrB,gCAAgC,GAChC,+BAA+B,GAC/B,wCAAwC,GACxC,yBAAyB,GACzB,mCAAmC,GACnC,oCAAoC,GACpC,gBAAgB,GAChB,
|
|
1
|
+
{"version":3,"file":"feature_flag_selector.d.ts","sourceRoot":"","sources":["../../src/selectors/feature_flag_selector.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,gBAAgB,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACnG,OAAO,EAAE,KAAK,qCAAqC,EAAE,MAAM,0BAA0B,CAAC;AAItF,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,QAAQ,GAAG,YAAY,CAAC;AAErE,KAAK,WAAW,GACV,wBAAwB,GACxB,qBAAqB,GACrB,kBAAkB,GAClB,kBAAkB,GAClB,iBAAiB,GACjB,gBAAgB,GAChB,8BAA8B,GAC9B,+BAA+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F;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;CAGlC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;CAGhC,CAAC"}
|
|
@@ -38,7 +38,6 @@ export const FEATURE_FLAGS = {
|
|
|
38
38
|
EXPORT_RESULT_POLLING_TIMEOUT_SECONDS: "exportResultPollingTimeoutSeconds",
|
|
39
39
|
ENABLE_VISUALIZATION_FILTERING_BY_TAGS: "enableVisualizationFilteringByTags",
|
|
40
40
|
RESTRICT_BASE_UI: "restrictBaseUi",
|
|
41
|
-
ENABLE_SHELL_APPLICATION: "enableShellApplication",
|
|
42
41
|
ENABLE_PARAMETERS: "enableParameters",
|
|
43
42
|
ENABLE_STRING_PARAMETERS: "enableStringParameters",
|
|
44
43
|
ENABLE_ENHANCED_INSIGHT_PICKER: "enableEnhancedInsightPicker",
|
|
@@ -140,7 +139,6 @@ export const getCurrencyFormatOverride = createSelector([getFeatureFlags], (flag
|
|
|
140
139
|
export const enableVisualizationFilteringByTags = createSelector([getFeatureFlags], (flags) => (flags?.[FEATURE_FLAGS.ENABLE_VISUALIZATION_FILTERING_BY_TAGS] ?? false));
|
|
141
140
|
const AVAILABLE_SELECTION_TYPES = ["elements", "arbitrary", "match"];
|
|
142
141
|
export const getAvailableSelectionTypes = () => AVAILABLE_SELECTION_TYPES;
|
|
143
|
-
export const enableShellApplication = createSelector([getFeatureFlags], (flags) => (flags?.[FEATURE_FLAGS.ENABLE_SHELL_APPLICATION] ?? true));
|
|
144
142
|
export const enableEnhancedInsightPicker = createSelector([getFeatureFlags], (flags) => (flags?.[FEATURE_FLAGS.ENABLE_ENHANCED_INSIGHT_PICKER] ?? false));
|
|
145
143
|
export const enableGenAiRightPanel = createSelector([getFeatureFlags], (flags) => (flags?.[FEATURE_FLAGS.ENABLE_GEN_AI_RIGHT_PANEL] ?? false));
|
|
146
144
|
export const enableComputedAttributes = createSelector([getFeatureFlags], (flags) => (flags?.[FEATURE_FLAGS.ENABLE_COMPUTED_ATTRIBUTES] ?? false));
|
|
@@ -1392,7 +1392,6 @@ export declare const reportVisualizationSelector: ((state: import("../store/type
|
|
|
1392
1392
|
enableDashboardTimezone?: boolean;
|
|
1393
1393
|
enableMeasureValueFilterKD?: boolean;
|
|
1394
1394
|
enableVisualizationFilteringByTags?: boolean;
|
|
1395
|
-
enableShellApplication?: boolean;
|
|
1396
1395
|
enableLogicalModelExtensionsFromParentsCall?: boolean;
|
|
1397
1396
|
enableDashboardDensitySetting?: boolean;
|
|
1398
1397
|
enableDashboardsSearch?: boolean;
|
|
@@ -2075,7 +2074,6 @@ export declare const reportVisualizationSelector: ((state: import("../store/type
|
|
|
2075
2074
|
enableDashboardTimezone?: boolean;
|
|
2076
2075
|
enableMeasureValueFilterKD?: boolean;
|
|
2077
2076
|
enableVisualizationFilteringByTags?: boolean;
|
|
2078
|
-
enableShellApplication?: boolean;
|
|
2079
2077
|
enableLogicalModelExtensionsFromParentsCall?: boolean;
|
|
2080
2078
|
enableDashboardDensitySetting?: boolean;
|
|
2081
2079
|
enableDashboardsSearch?: boolean;
|
|
@@ -2754,7 +2752,6 @@ export declare const reportVisualizationSelector: ((state: import("../store/type
|
|
|
2754
2752
|
enableDashboardTimezone?: boolean;
|
|
2755
2753
|
enableMeasureValueFilterKD?: boolean;
|
|
2756
2754
|
enableVisualizationFilteringByTags?: boolean;
|
|
2757
|
-
enableShellApplication?: boolean;
|
|
2758
2755
|
enableLogicalModelExtensionsFromParentsCall?: boolean;
|
|
2759
2756
|
enableDashboardDensitySetting?: boolean;
|
|
2760
2757
|
enableDashboardsSearch?: boolean;
|
|
@@ -3197,7 +3194,6 @@ export declare const reportVisualizationSelector: ((state: import("../store/type
|
|
|
3197
3194
|
enableDashboardTimezone?: boolean;
|
|
3198
3195
|
enableMeasureValueFilterKD?: boolean;
|
|
3199
3196
|
enableVisualizationFilteringByTags?: boolean;
|
|
3200
|
-
enableShellApplication?: boolean;
|
|
3201
3197
|
enableLogicalModelExtensionsFromParentsCall?: boolean;
|
|
3202
3198
|
enableDashboardDensitySetting?: boolean;
|
|
3203
3199
|
enableDashboardsSearch?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report_visualization_selector.d.ts","sourceRoot":"","sources":["../../src/selectors/report_visualization_selector.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE1E,OAAO,EAAuB,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAC7F,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAEhE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,+CAA+C,CAAC;AAEhF,OAAO,EAAE,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAC1F,OAAO,EACH,yBAAyB,EACzB,iBAAiB,EACpB,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AAI9F,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAoBzD;;;;GAIG;AACH,MAAM,WAAW,wBAAyB,SAAQ,oBAAoB;IAClE,cAAc,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAC3C;AA0BD;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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entUriFactory = (documentId: string) => string;
|
|
3
4
|
export declare const analyticalDashboardUriFactorySelector: ((state: import("../store/types.js").IAppState) => AnalyticalDashboardUriFactory) & {
|
|
4
5
|
clearCache: () => void;
|
|
5
6
|
resultsCount: () => number;
|
|
@@ -21,4 +22,25 @@ export declare const analyticalDashboardUriFactorySelector: ((state: import("../
|
|
|
21
22
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
22
23
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
23
24
|
};
|
|
25
|
+
export declare const documentUriFactorySelector: ((state: import("../store/types.js").IAppState) => DocumentUriFactory) & {
|
|
26
|
+
clearCache: () => void;
|
|
27
|
+
resultsCount: () => number;
|
|
28
|
+
resetResultsCount: () => void;
|
|
29
|
+
} & {
|
|
30
|
+
resultFunc: (resultFuncArgs_0: string | undefined) => DocumentUriFactory;
|
|
31
|
+
memoizedResultFunc: ((resultFuncArgs_0: string | undefined) => DocumentUriFactory) & {
|
|
32
|
+
clearCache: () => void;
|
|
33
|
+
resultsCount: () => number;
|
|
34
|
+
resetResultsCount: () => void;
|
|
35
|
+
};
|
|
36
|
+
lastResult: () => DocumentUriFactory;
|
|
37
|
+
dependencies: [typeof getProjectId];
|
|
38
|
+
recomputations: () => number;
|
|
39
|
+
resetRecomputations: () => void;
|
|
40
|
+
dependencyRecomputations: () => number;
|
|
41
|
+
resetDependencyRecomputations: () => void;
|
|
42
|
+
} & {
|
|
43
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
44
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
45
|
+
};
|
|
24
46
|
//# sourceMappingURL=uri_selector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uri_selector.d.ts","sourceRoot":"","sources":["../../src/selectors/uri_selector.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,MAAM,MAAM,6BAA6B,GAAG,CAAC,WAAW,EAAE,MAAM,KAAK,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"uri_selector.d.ts","sourceRoot":"","sources":["../../src/selectors/uri_selector.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,MAAM,MAAM,6BAA6B,GAAG,CAAC,WAAW,EAAE,MAAM,KAAK,MAAM,CAAC;AAC5E,MAAM,MAAM,kBAAkB,GAAG,CAAC,UAAU,EAAE,MAAM,KAAK,MAAM,CAAC;AAEhE,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;CAKjD,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;CAKtC,CAAC"}
|
|
@@ -2,3 +2,4 @@
|
|
|
2
2
|
import { createSelector } from "reselect";
|
|
3
3
|
import { getProjectId } from "./bootstrap_selector.js";
|
|
4
4
|
export const analyticalDashboardUriFactorySelector = createSelector(getProjectId, (projectId) => (dashboardId) => `/workspace/${projectId}/dashboards/#/dashboard/${dashboardId}`);
|
|
5
|
+
export const documentUriFactorySelector = createSelector(getProjectId, (projectId) => (documentId) => `/workspace/${projectId}/publisher/document/${encodeURIComponent(documentId)}`);
|
|
@@ -2228,8 +2228,12 @@
|
|
|
2228
2228
|
"crowdinContext": "Link to collapse and show fewer visualization usage details"
|
|
2229
2229
|
},
|
|
2230
2230
|
"dialogs.deleteReportConfirmation.usage.notUsed": {
|
|
2231
|
-
"text": "The visualization is not used on any dashboard.",
|
|
2232
|
-
"crowdinContext": "Message indicating visualization is not currently used on any dashboards"
|
|
2231
|
+
"text": "The visualization is not used on any dashboard or in any document.",
|
|
2232
|
+
"crowdinContext": "Message indicating visualization is not currently used on any dashboards or in any Publisher documents"
|
|
2233
|
+
},
|
|
2234
|
+
"dialogs.deleteReportConfirmation.usage.documents": {
|
|
2235
|
+
"text": "The visualization is used in <strong>{documentsCount, plural, one {# document} other {# documents}}</strong>.",
|
|
2236
|
+
"crowdinContext": "Shows number of Publisher documents using the visualization. Example: 'used in 1 document' or 'used in 3 documents'"
|
|
2233
2237
|
},
|
|
2234
2238
|
"dialogs.deleteReportConfirmation.usage.inaccessibleDashboards": {
|
|
2235
2239
|
"text": "and <b>{count} more</b> not shared with you.",
|
|
@@ -2251,6 +2255,14 @@
|
|
|
2251
2255
|
"text": "The visualization <strong>{deletedReportTitle}</strong> cannot be deleted because it is used on some dashboards. To delete this visualization, remove it from all dashboards first.",
|
|
2252
2256
|
"crowdinContext": "Error message when visualization cannot be deleted due to usage. {deletedReportTitle} is replaced with the visualization name"
|
|
2253
2257
|
},
|
|
2258
|
+
"dialogs.deleteReportConfirmation.deleteProhibitedDocuments": {
|
|
2259
|
+
"text": "The visualization <strong>{deletedReportTitle}</strong> cannot be deleted because it is used in some documents. To delete this visualization, remove it from all documents first.",
|
|
2260
|
+
"crowdinContext": "Error message when visualization cannot be deleted because Publisher documents use it. {deletedReportTitle} is replaced with the visualization name"
|
|
2261
|
+
},
|
|
2262
|
+
"dialogs.deleteReportConfirmation.deleteProhibitedDocumentsAndDashboards": {
|
|
2263
|
+
"text": "The visualization <strong>{deletedReportTitle}</strong> cannot be deleted because it is used in some documents or dashboards. To delete this visualization, remove it from them first.",
|
|
2264
|
+
"crowdinContext": "Error message when visualization cannot be deleted because both Publisher documents and dashboards use it. {deletedReportTitle} is replaced with the visualization name"
|
|
2265
|
+
},
|
|
2254
2266
|
"dialogs.savingUntitledReportConfirmation.headline": {
|
|
2255
2267
|
"text": "Name your visualization",
|
|
2256
2268
|
"crowdinContext": "Dialog title prompting user to name their visualization"
|