@gooddata/sdk-ui-dashboard 10.13.0-alpha.26 → 10.13.0-alpha.27
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/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.js +2 -11
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.js.map +1 -1
- package/package.json +15 -15
package/esm/__version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "10.13.0-alpha.
|
|
1
|
+
export declare const LIB_VERSION = "10.13.0-alpha.27";
|
|
2
2
|
//# sourceMappingURL=__version.d.ts.map
|
package/esm/__version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardAttachments.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"DashboardAttachments.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAKnF,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AAEjG,MAAM,WAAW,0BAA0B;IACvC,qBAAqB,CAAC,EAAE,yBAAyB,CAAC;IAClD,iBAAiB,EAAE,OAAO,CAAC;IAC3B,0BAA0B,EAAE,OAAO,CAAC;IACpC,gBAAgB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACvC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,oBAAoB,EAAE,qBAAqB,EAAE,CAAC;IAC9C,qCAAqC,EAAE,CACnC,iBAAiB,EAAE,OAAO,EAC1B,OAAO,CAAC,EAAE,iBAAiB,EAAE,KAC5B,IAAI,CAAC;CACb;AAED,eAAO,MAAM,oBAAoB,UAAW,0BAA0B,sBAiFrE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// (C) 2019-2024 GoodData Corporation
|
|
2
|
-
import React, {
|
|
2
|
+
import React, { useState } from "react";
|
|
3
3
|
import { FormattedMessage } from "react-intl";
|
|
4
4
|
import { Message } from "@gooddata/sdk-ui-kit";
|
|
5
5
|
import { AttachmentFilters } from "./AttachmentFilters.js";
|
|
@@ -20,7 +20,6 @@ export const DashboardAttachments = (props) => {
|
|
|
20
20
|
* "default" is used when editing without filters.
|
|
21
21
|
*/
|
|
22
22
|
!isEditing || savedFilters ? "edited" : "default");
|
|
23
|
-
const [attachmentsDisabled, setAttachmentsDisabled] = useState(false);
|
|
24
23
|
const showAttachmentFilters = isEditing
|
|
25
24
|
? attachmentFilterType !== "default"
|
|
26
25
|
: areDashboardFiltersChanged && dashboardSelected;
|
|
@@ -33,19 +32,11 @@ export const DashboardAttachments = (props) => {
|
|
|
33
32
|
const handleDashboardAttachmentSelectionChange = () => {
|
|
34
33
|
onDashboardAttachmentsSelectionChange(!dashboardSelected, includeFilters ? dashboardFilters : undefined);
|
|
35
34
|
};
|
|
36
|
-
useEffect(() => {
|
|
37
|
-
// Because on dashboard we now only have one attachment type, we can just call the callback
|
|
38
|
-
// and check it by default and disable the attachments. In future we might have more attachment types
|
|
39
|
-
// and change this behavior.
|
|
40
|
-
onDashboardAttachmentsSelectionChange(true, undefined);
|
|
41
|
-
setAttachmentsDisabled(true);
|
|
42
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
43
|
-
}, []);
|
|
44
35
|
return (React.createElement("div", { className: "gd-input-component gd-notifications-channels-attachments s-notifications-channels-attachments" },
|
|
45
36
|
React.createElement("label", { className: "gd-label" },
|
|
46
37
|
React.createElement(FormattedMessage, { id: "dialogs.schedule.email.attachments.label" })),
|
|
47
38
|
React.createElement("div", { className: "gd-attachment-list" },
|
|
48
|
-
React.createElement(AttachmentDashboard, { disabled:
|
|
39
|
+
React.createElement(AttachmentDashboard, { disabled: true, pdfSelected: dashboardSelected, onSelectionChange: handleDashboardAttachmentSelectionChange }),
|
|
49
40
|
React.createElement(AttachmentFilters, { filterType: attachmentFilterType, onChange: handleAttachmentFilterTypeChange, hidden: !showAttachmentFilters, disabled: isEditing, filters: filtersToDisplayInfo }),
|
|
50
41
|
isCrossFiltering && dashboardSelected ? (React.createElement(Message, { type: "progress", className: "gd-attachment-list-message" },
|
|
51
42
|
React.createElement(FormattedMessage, { id: "dialogs.schedule.management.attachments.message", values: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardAttachments.js","sourceRoot":"","sources":["../../../../../../src/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAa,
|
|
1
|
+
{"version":3,"file":"DashboardAttachments.js","sourceRoot":"","sources":["../../../../../../src/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAwB,MAAM,wBAAwB,CAAC;AACjF,OAAO,EAAE,6BAA6B,EAAE,MAAM,6CAA6C,CAAC;AAC5F,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAgB3D,MA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A0C,GAAG,CAC9D;QACR,6BAAK,SAAS,EAAC,oBAAoB;YAC/B,oBAAC,mBAAmB,IAChB,QAAQ,QACR,WAAW,EAAE,iBAAiB,EAC9B,iBAAiB,EAAE,wCAAwC,GAC7D;YACF,oBAAC,iBAAiB,IACd,UAAU,EAAE,oBAAoB,EAChC,QAAQ,EAAE,gCAAgC,EAC1C,MAAM,EAAE,CAAC,qBAAqB,EAC9B,QAAQ,EAAE,SAAS,EACnB,OAAO,EAAE,oBAAoB,GAC/B;YACD,gBAAgB,IAAI,iBAAiB,CAAC,CAAC,CAAC,CACrC,oBAAC,OAAO,IAAC,IAAI,EAAC,UAAU,EAAC,SAAS,EAAC,4BAA4B;gBAC3D,oBAAC,gBAAgB,IACb,EAAE,EAAC,iDAAiD,EACpD,MAAM,EAAE;wBACJ,MAAM,EAAE,CAAC,MAAiB,EAAE,EAAE,CAAC,oCAAS,MAAM,CAAU;qBAC3D,GACH,CACI,CACb,CAAC,CAAC,CAAC,IAAI,CACN,CACJ,CACT,CAAC;AACN,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-dashboard",
|
|
3
|
-
"version": "10.13.0-alpha.
|
|
3
|
+
"version": "10.13.0-alpha.27",
|
|
4
4
|
"description": "GoodData SDK - Dashboard Component",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -57,17 +57,17 @@
|
|
|
57
57
|
"ts-invariant": "^0.7.5",
|
|
58
58
|
"tslib": "^2.5.0",
|
|
59
59
|
"uuid": "^8.3.2",
|
|
60
|
-
"@gooddata/sdk-backend-base": "10.13.0-alpha.
|
|
61
|
-
"@gooddata/sdk-backend-spi": "10.13.0-alpha.
|
|
62
|
-
"@gooddata/sdk-
|
|
63
|
-
"@gooddata/sdk-
|
|
64
|
-
"@gooddata/sdk-ui-
|
|
65
|
-
"@gooddata/sdk-ui-
|
|
66
|
-
"@gooddata/sdk-ui-geo": "10.13.0-alpha.
|
|
67
|
-
"@gooddata/sdk-ui-kit": "10.13.0-alpha.
|
|
68
|
-
"@gooddata/sdk-ui-theme-provider": "10.13.0-alpha.
|
|
69
|
-
"@gooddata/sdk-ui-vis-commons": "10.13.0-alpha.
|
|
70
|
-
"@gooddata/util": "10.13.0-alpha.
|
|
60
|
+
"@gooddata/sdk-backend-base": "10.13.0-alpha.27",
|
|
61
|
+
"@gooddata/sdk-backend-spi": "10.13.0-alpha.27",
|
|
62
|
+
"@gooddata/sdk-model": "10.13.0-alpha.27",
|
|
63
|
+
"@gooddata/sdk-ui": "10.13.0-alpha.27",
|
|
64
|
+
"@gooddata/sdk-ui-ext": "10.13.0-alpha.27",
|
|
65
|
+
"@gooddata/sdk-ui-filters": "10.13.0-alpha.27",
|
|
66
|
+
"@gooddata/sdk-ui-geo": "10.13.0-alpha.27",
|
|
67
|
+
"@gooddata/sdk-ui-kit": "10.13.0-alpha.27",
|
|
68
|
+
"@gooddata/sdk-ui-theme-provider": "10.13.0-alpha.27",
|
|
69
|
+
"@gooddata/sdk-ui-vis-commons": "10.13.0-alpha.27",
|
|
70
|
+
"@gooddata/util": "10.13.0-alpha.27"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"react": "^16.10.0 || ^17.0.0 || ^18.0.0",
|
|
@@ -120,9 +120,9 @@
|
|
|
120
120
|
"typescript": "5.3.3",
|
|
121
121
|
"vitest": "1.0.4",
|
|
122
122
|
"vitest-dom": "0.1.1",
|
|
123
|
-
"@gooddata/i18n-toolkit": "10.13.0-alpha.
|
|
124
|
-
"@gooddata/reference-workspace": "10.13.0-alpha.
|
|
125
|
-
"@gooddata/sdk-backend-mockingbird": "10.13.0-alpha.
|
|
123
|
+
"@gooddata/i18n-toolkit": "10.13.0-alpha.27",
|
|
124
|
+
"@gooddata/reference-workspace": "10.13.0-alpha.27",
|
|
125
|
+
"@gooddata/sdk-backend-mockingbird": "10.13.0-alpha.27"
|
|
126
126
|
},
|
|
127
127
|
"scripts": {
|
|
128
128
|
"clean": "rm -rf ci dist esm coverage *.log styles/css tsconfig.tsbuildinfo",
|