@gooddata/sdk-ui-ext 9.5.0-alpha.3 → 9.5.0-alpha.30
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/index.d.ts +1 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -0
- package/esm/index.js.map +1 -1
- package/esm/internal/assets/icons/attribute-hierarchy.svg +1 -0
- package/esm/internal/assets/icons/attribute.svg +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailBubble.d.ts +15 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailBubble.d.ts.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailBubble.js +20 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailBubble.js.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailPanel.d.ts +25 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailPanel.d.ts.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailPanel.js +29 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailPanel.js.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AddActionMenu.d.ts +9 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AddActionMenu.d.ts.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AddActionMenu.js +32 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AddActionMenu.js.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AddAttributeAction.d.ts +4 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AddAttributeAction.d.ts.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AddAttributeAction.js +18 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AddAttributeAction.js.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeDropdown.d.ts +7 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeDropdown.d.ts.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeDropdown.js +28 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeDropdown.js.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeDropdownBody.d.ts +11 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeDropdownBody.d.ts.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeDropdownBody.js +40 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeDropdownBody.js.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialog.d.ts +17 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialog.d.ts.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialog.js +12 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialog.js.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogContent.d.ts +4 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogContent.d.ts.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogContent.js +24 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogContent.js.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogCore.d.ts +4 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogCore.d.ts.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogCore.js +17 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogCore.js.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogFooter.d.ts +4 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogFooter.d.ts.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogFooter.js +39 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogFooter.js.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogHeader.d.ts +4 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogHeader.d.ts.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogHeader.js +17 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogHeader.js.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogProvider.d.ts +33 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogProvider.d.ts.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogProvider.js +89 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogProvider.js.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeItem.d.ts +9 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeItem.d.ts.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeItem.js +15 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeItem.js.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeItemActions.d.ts +7 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeItemActions.d.ts.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeItemActions.js +26 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeItemActions.js.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/DeleteAttributeHieraryConfirmation.d.ts +4 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/DeleteAttributeHieraryConfirmation.d.ts.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/DeleteAttributeHieraryConfirmation.js +22 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/DeleteAttributeHieraryConfirmation.js.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/types.d.ts +18 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/types.d.ts.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/types.js +6 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/types.js.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/useBackendProvider.d.ts +19 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/useBackendProvider.d.ts.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/useBackendProvider.js +121 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/useBackendProvider.js.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/utils.d.ts +8 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/utils.d.ts.map +1 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/utils.js +46 -0
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/utils.js.map +1 -0
- package/esm/internal/components/attributeHierarchies/index.d.ts +4 -0
- package/esm/internal/components/attributeHierarchies/index.d.ts.map +1 -0
- package/esm/internal/components/attributeHierarchies/index.js +5 -0
- package/esm/internal/components/attributeHierarchies/index.js.map +1 -0
- package/esm/internal/components/configurationControls/CheckboxControl.d.ts +1 -0
- package/esm/internal/components/configurationControls/CheckboxControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/CheckboxControl.js +2 -2
- package/esm/internal/components/configurationControls/CheckboxControl.js.map +1 -1
- package/esm/internal/components/configurationControls/ColumnHeadersPositionControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/ColumnHeadersPositionControl.js +2 -4
- package/esm/internal/components/configurationControls/ColumnHeadersPositionControl.js.map +1 -1
- package/esm/internal/components/configurationControls/MetricsPositionControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/MetricsPositionControl.js +2 -4
- package/esm/internal/components/configurationControls/MetricsPositionControl.js.map +1 -1
- package/esm/internal/components/configurationControls/interactions/InteractionsSection.d.ts +14 -0
- package/esm/internal/components/configurationControls/interactions/InteractionsSection.d.ts.map +1 -0
- package/esm/internal/components/configurationControls/interactions/InteractionsSection.js +15 -0
- package/esm/internal/components/configurationControls/interactions/InteractionsSection.js.map +1 -0
- package/esm/internal/components/configurationPanels/BaseChartConfigurationPanel.d.ts.map +1 -1
- package/esm/internal/components/configurationPanels/BaseChartConfigurationPanel.js +1 -0
- package/esm/internal/components/configurationPanels/BaseChartConfigurationPanel.js.map +1 -1
- package/esm/internal/components/configurationPanels/BubbleChartConfigurationPanel.d.ts.map +1 -1
- package/esm/internal/components/configurationPanels/BubbleChartConfigurationPanel.js +1 -0
- package/esm/internal/components/configurationPanels/BubbleChartConfigurationPanel.js.map +1 -1
- package/esm/internal/components/configurationPanels/BulletChartConfigurationPanel.d.ts.map +1 -1
- package/esm/internal/components/configurationPanels/BulletChartConfigurationPanel.js +1 -0
- package/esm/internal/components/configurationPanels/BulletChartConfigurationPanel.js.map +1 -1
- package/esm/internal/components/configurationPanels/ConfigurationPanelContent.d.ts +2 -1
- package/esm/internal/components/configurationPanels/ConfigurationPanelContent.d.ts.map +1 -1
- package/esm/internal/components/configurationPanels/ConfigurationPanelContent.js +7 -2
- package/esm/internal/components/configurationPanels/ConfigurationPanelContent.js.map +1 -1
- package/esm/internal/components/configurationPanels/FunnelChartConfigurationPanel.d.ts.map +1 -1
- package/esm/internal/components/configurationPanels/FunnelChartConfigurationPanel.js +1 -0
- package/esm/internal/components/configurationPanels/FunnelChartConfigurationPanel.js.map +1 -1
- package/esm/internal/components/configurationPanels/HeatMapConfigurationPanel.d.ts.map +1 -1
- package/esm/internal/components/configurationPanels/HeatMapConfigurationPanel.js +1 -0
- package/esm/internal/components/configurationPanels/HeatMapConfigurationPanel.js.map +1 -1
- package/esm/internal/components/configurationPanels/LineChartBasedConfigurationPanel.d.ts.map +1 -1
- package/esm/internal/components/configurationPanels/LineChartBasedConfigurationPanel.js +1 -0
- package/esm/internal/components/configurationPanels/LineChartBasedConfigurationPanel.js.map +1 -1
- package/esm/internal/components/configurationPanels/PieChartConfigurationPanel.d.ts.map +1 -1
- package/esm/internal/components/configurationPanels/PieChartConfigurationPanel.js +1 -0
- package/esm/internal/components/configurationPanels/PieChartConfigurationPanel.js.map +1 -1
- package/esm/internal/components/configurationPanels/PivotTableConfigurationPanel.d.ts +1 -0
- package/esm/internal/components/configurationPanels/PivotTableConfigurationPanel.d.ts.map +1 -1
- package/esm/internal/components/configurationPanels/PivotTableConfigurationPanel.js +14 -6
- package/esm/internal/components/configurationPanels/PivotTableConfigurationPanel.js.map +1 -1
- package/esm/internal/components/configurationPanels/PyramidChartConfigurationPanel.d.ts.map +1 -1
- package/esm/internal/components/configurationPanels/PyramidChartConfigurationPanel.js +1 -0
- package/esm/internal/components/configurationPanels/PyramidChartConfigurationPanel.js.map +1 -1
- package/esm/internal/components/configurationPanels/SankeyChartConfigurationPanel.d.ts.map +1 -1
- package/esm/internal/components/configurationPanels/SankeyChartConfigurationPanel.js +1 -0
- package/esm/internal/components/configurationPanels/SankeyChartConfigurationPanel.js.map +1 -1
- package/esm/internal/components/configurationPanels/ScatterPlotConfigurationPanel.d.ts.map +1 -1
- package/esm/internal/components/configurationPanels/ScatterPlotConfigurationPanel.js +1 -0
- package/esm/internal/components/configurationPanels/ScatterPlotConfigurationPanel.js.map +1 -1
- package/esm/internal/components/configurationPanels/TreeMapConfigurationPanel.d.ts.map +1 -1
- package/esm/internal/components/configurationPanels/TreeMapConfigurationPanel.js +1 -0
- package/esm/internal/components/configurationPanels/TreeMapConfigurationPanel.js.map +1 -1
- package/esm/internal/components/configurationPanels/WaterfallChartConfigurationPanel.d.ts.map +1 -1
- package/esm/internal/components/configurationPanels/WaterfallChartConfigurationPanel.js +1 -0
- package/esm/internal/components/configurationPanels/WaterfallChartConfigurationPanel.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/ConfirmDialogs/DeleteConfirmDialog.d.ts +1 -0
- package/esm/internal/components/dialogs/userManagementDialogs/ConfirmDialogs/DeleteConfirmDialog.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/ConfirmDialogs/DeleteConfirmDialog.js +2 -2
- package/esm/internal/components/dialogs/userManagementDialogs/ConfirmDialogs/DeleteConfirmDialog.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/CreateUserGroupDialog.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/CreateUserGroupDialog.js +6 -3
- package/esm/internal/components/dialogs/userManagementDialogs/CreateUserGroupDialog.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DeleteUserDialog.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DeleteUserDialog.js +2 -2
- package/esm/internal/components/dialogs/userManagementDialogs/DeleteUserDialog.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DeleteUserGroupDialog.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DeleteUserGroupDialog.js +2 -2
- package/esm/internal/components/dialogs/userManagementDialogs/DeleteUserGroupDialog.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DeleteUserGroupsDialog.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DeleteUserGroupsDialog.js +20 -15
- package/esm/internal/components/dialogs/userManagementDialogs/DeleteUserGroupsDialog.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DeleteUsersDialog.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DeleteUsersDialog.js +20 -15
- package/esm/internal/components/dialogs/userManagementDialogs/DeleteUsersDialog.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Details/DetailRow.js +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Details/DetailRow.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Details/EditUserDetails.d.ts +1 -0
- package/esm/internal/components/dialogs/userManagementDialogs/Details/EditUserDetails.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Details/EditUserDetails.js +5 -5
- package/esm/internal/components/dialogs/userManagementDialogs/Details/EditUserDetails.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Details/EditUserGroupDetails.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Details/EditUserGroupDetails.js +2 -2
- package/esm/internal/components/dialogs/userManagementDialogs/Details/EditUserGroupDetails.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Details/detailsHooks.d.ts +3 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Details/detailsHooks.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Details/detailsHooks.js +15 -3
- package/esm/internal/components/dialogs/userManagementDialogs/Details/detailsHooks.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserEditDialog.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserEditDialog.js +10 -10
- package/esm/internal/components/dialogs/userManagementDialogs/UserEditDialog.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroupEditDialog.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroupEditDialog.js +5 -5
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroupEditDialog.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/AddUserGroup.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/AddUserGroup.js +2 -2
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/AddUserGroup.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/AddUserGroupContent.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/AddUserGroupContent.js +3 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/AddUserGroupContent.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/UserGroupItem.d.ts +1 -0
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/UserGroupItem.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/UserGroupItem.js +7 -5
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/UserGroupItem.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/UserGroupsList.d.ts +2 -0
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/UserGroupsList.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/UserGroupsList.js +3 -2
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/UserGroupsList.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/userGroupHooks.d.ts +1 -0
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/userGroupHooks.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/userGroupHooks.js +7 -2
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/userGroupHooks.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Users/AddUser.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Users/AddUser.js +2 -2
- package/esm/internal/components/dialogs/userManagementDialogs/Users/AddUser.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Users/usersHooks.d.ts +1 -0
- package/esm/internal/components/dialogs/userManagementDialogs/Users/usersHooks.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Users/usersHooks.js +7 -2
- package/esm/internal/components/dialogs/userManagementDialogs/Users/usersHooks.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AddWorkspace.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AddWorkspace.js +2 -2
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AddWorkspace.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/PermissionsDropdownList.js +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/PermissionsDropdownList.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceList.js +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceList.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceListEmpty.d.ts +2 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceListEmpty.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceListEmpty.js +7 -2
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceListEmpty.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/workspaceHooks.d.ts +2 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/workspaceHooks.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/workspaceHooks.js +27 -6
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/workspaceHooks.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/dialogHooks.d.ts +18 -6
- package/esm/internal/components/dialogs/userManagementDialogs/dialogHooks.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/dialogHooks.js +86 -43
- package/esm/internal/components/dialogs/userManagementDialogs/dialogHooks.js.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/locales.d.ts +7 -1
- package/esm/internal/components/dialogs/userManagementDialogs/locales.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/locales.js +3 -1
- package/esm/internal/components/dialogs/userManagementDialogs/locales.js.map +1 -1
- package/esm/internal/components/pluggableVisualizations/areaChart/PluggableAreaChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/areaChart/PluggableAreaChart.js +5 -3
- package/esm/internal/components/pluggableVisualizations/areaChart/PluggableAreaChart.js.map +1 -1
- package/esm/internal/components/pluggableVisualizations/barChart/PluggableBarChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/barChart/PluggableBarChart.js +4 -1
- package/esm/internal/components/pluggableVisualizations/barChart/PluggableBarChart.js.map +1 -1
- package/esm/internal/components/pluggableVisualizations/baseChart/PluggableBaseChart.d.ts +2 -1
- package/esm/internal/components/pluggableVisualizations/baseChart/PluggableBaseChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/baseChart/PluggableBaseChart.js +5 -1
- package/esm/internal/components/pluggableVisualizations/baseChart/PluggableBaseChart.js.map +1 -1
- package/esm/internal/components/pluggableVisualizations/bubbleChart/PluggableBubbleChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/bubbleChart/PluggableBubbleChart.js +4 -1
- package/esm/internal/components/pluggableVisualizations/bubbleChart/PluggableBubbleChart.js.map +1 -1
- package/esm/internal/components/pluggableVisualizations/bulletChart/PluggableBulletChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/bulletChart/PluggableBulletChart.js +4 -1
- package/esm/internal/components/pluggableVisualizations/bulletChart/PluggableBulletChart.js.map +1 -1
- package/esm/internal/components/pluggableVisualizations/columnChart/PluggableColumnChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/columnChart/PluggableColumnChart.js.map +1 -1
- package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChart.js +6 -4
- package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChart.js.map +1 -1
- package/esm/internal/components/pluggableVisualizations/funnelChart/PluggableFunnelChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/funnelChart/PluggableFunnelChart.js +4 -1
- package/esm/internal/components/pluggableVisualizations/funnelChart/PluggableFunnelChart.js.map +1 -1
- package/esm/internal/components/pluggableVisualizations/geoChart/PluggableGeoPushpinChart.d.ts +0 -1
- package/esm/internal/components/pluggableVisualizations/geoChart/PluggableGeoPushpinChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/geoChart/PluggableGeoPushpinChart.js +0 -1
- package/esm/internal/components/pluggableVisualizations/geoChart/PluggableGeoPushpinChart.js.map +1 -1
- package/esm/internal/components/pluggableVisualizations/heatMap/PluggableHeatmap.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/heatMap/PluggableHeatmap.js +5 -1
- package/esm/internal/components/pluggableVisualizations/heatMap/PluggableHeatmap.js.map +1 -1
- package/esm/internal/components/pluggableVisualizations/lineChart/PluggableLineChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/lineChart/PluggableLineChart.js +4 -1
- package/esm/internal/components/pluggableVisualizations/lineChart/PluggableLineChart.js.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pieChart/PluggablePieChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pieChart/PluggablePieChart.js +4 -1
- package/esm/internal/components/pluggableVisualizations/pieChart/PluggablePieChart.js.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTable/PluggablePivotTable.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTable/PluggablePivotTable.js +5 -2
- package/esm/internal/components/pluggableVisualizations/pivotTable/PluggablePivotTable.js.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pyramidChart/PluggablePyramidChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pyramidChart/PluggablePyramidChart.js +4 -1
- package/esm/internal/components/pluggableVisualizations/pyramidChart/PluggablePyramidChart.js.map +1 -1
- package/esm/internal/components/pluggableVisualizations/sankeyChart/PluggableSankeyChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/sankeyChart/PluggableSankeyChart.js +4 -1
- package/esm/internal/components/pluggableVisualizations/sankeyChart/PluggableSankeyChart.js.map +1 -1
- package/esm/internal/components/pluggableVisualizations/scatterPlot/PluggableScatterPlot.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/scatterPlot/PluggableScatterPlot.js +4 -1
- package/esm/internal/components/pluggableVisualizations/scatterPlot/PluggableScatterPlot.js.map +1 -1
- package/esm/internal/components/pluggableVisualizations/treeMap/PluggableTreemap.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/treeMap/PluggableTreemap.js +4 -1
- package/esm/internal/components/pluggableVisualizations/treeMap/PluggableTreemap.js.map +1 -1
- package/esm/internal/components/pluggableVisualizations/waterfallChart/PluggableWaterfallChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/waterfallChart/PluggableWaterfallChart.js +4 -1
- package/esm/internal/components/pluggableVisualizations/waterfallChart/PluggableWaterfallChart.js.map +1 -1
- package/esm/internal/constants/supportedProperties.d.ts.map +1 -1
- package/esm/internal/constants/supportedProperties.js +21 -2
- package/esm/internal/constants/supportedProperties.js.map +1 -1
- package/esm/internal/translations/en-US.json +14 -4
- package/esm/internal/utils/bucketRules.d.ts +3 -2
- package/esm/internal/utils/bucketRules.d.ts.map +1 -1
- package/esm/internal/utils/bucketRules.js +15 -8
- package/esm/internal/utils/bucketRules.js.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/pivotTableUiConfigHelper.d.ts +2 -2
- package/esm/internal/utils/uiConfigHelpers/pivotTableUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/pivotTableUiConfigHelper.js +18 -20
- package/esm/internal/utils/uiConfigHelpers/pivotTableUiConfigHelper.js.map +1 -1
- package/esm/locales.d.ts.map +1 -1
- package/esm/locales.js +2 -0
- package/esm/locales.js.map +1 -1
- package/esm/sdk-ui-ext.d.ts +58 -0
- package/package.json +18 -18
- package/styles/css/main.css +271 -0
- package/styles/css/main.css.map +1 -1
- package/styles/internal/css/attribute_hierarchies.css +266 -0
- package/styles/internal/css/attribute_hierarchies.css.map +1 -0
- package/styles/internal/css/config_panel.css +9 -0
- package/styles/internal/css/config_panel.css.map +1 -1
- package/styles/internal/css/user_management_dialogs.css +6 -0
- package/styles/internal/css/user_management_dialogs.css.map +1 -1
- package/styles/internal/scss/attribute_hierarchies.scss +316 -0
- package/styles/internal/scss/config_panel.scss +9 -0
- package/styles/internal/scss/user_management_dialogs.scss +6 -0
- package/styles/scss/main.scss +1 -0
package/esm/index.d.ts
CHANGED
|
@@ -29,4 +29,5 @@ export declare function getInsightWithAppliedDrillDown(insight: IInsight, drillE
|
|
|
29
29
|
*/
|
|
30
30
|
export declare function getInsightVisualizationMeta(insight: IInsightDefinition): IVisualizationMeta;
|
|
31
31
|
export * from "./internal/components/dialogs/userManagementDialogs/index.js";
|
|
32
|
+
export * from "./internal/components/attributeHierarchies/index.js";
|
|
32
33
|
//# sourceMappingURL=index.d.ts.map
|
package/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,E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,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAGH,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,cAAc,wBAAwB,CAAC;AAGvC,OAAO,EACH,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,6BAA6B,EAC7B,kBAAkB,EAClB,SAAS,EACT,gBAAgB,EAChB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACtB,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,gCAAgC,EAChC,+BAA+B,EAC/B,+BAA+B,EAC/B,sCAAsC,EACtC,gCAAgC,EAChC,uCAAuC,EACvC,4BAA4B,EAC5B,mCAAmC,EACnC,iCAAiC,EACjC,kBAAkB,EAClB,wBAAwB,GAC3B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AAGvF;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,SAAS,GAAG,sBAAsB,CAE3G;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAC1C,OAAO,EAAE,QAAQ,EACjB,UAAU,EAAE,WAAW,EACvB,eAAe,EAAE,oBAAoB,EACrC,0BAA0B,EAAE,OAAO,GACpC,QAAQ,CASV;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,kBAAkB,GAAG,kBAAkB,CAE3F;AAED,cAAc,8DAA8D,CAAC;AAE7E,cAAc,qDAAqD,CAAC"}
|
package/esm/index.js
CHANGED
|
@@ -39,4 +39,5 @@ export function getInsightVisualizationMeta(insight) {
|
|
|
39
39
|
return FullVisualizationCatalog.forInsight(insight).getMeta();
|
|
40
40
|
}
|
|
41
41
|
export * from "./internal/components/dialogs/userManagementDialogs/index.js";
|
|
42
|
+
export * from "./internal/components/attributeHierarchies/index.js";
|
|
42
43
|
//# sourceMappingURL=index.js.map
|
package/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC;;;;;;;;;;GAUG;AAIH,OAAO,EACH,qBAAqB,EACrB,wBAAwB,GAI3B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,cAAc,wBAAwB,CAAC;AAEvC,gCAAgC;AAChC,OAAO,EAEH,qBAAqB,EAMrB,qBAAqB,EACrB,qBAAqB,EAIrB,UAAU,EACV,gBAAgB,EAChB,gCAAgC,EAEhC,+BAA+B,EAC/B,sCAAsC,EACtC,gCAAgC,EAChC,uCAAuC,EACvC,4BAA4B,EAC5B,mCAAmC,EACnC,iCAAiC,EACjC,kBAAkB,GAErB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,iBAAiB,EAAoB,MAAM,kCAAkC,CAAC;AAEvF,mHAAmH;AACnH;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAAC,OAA2B,EAAE,QAAmB;IAC/E,OAAO,wBAAwB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,OAAO,EAAE,qBAAqB,EAAE,QAAQ,CAAC,CAAC;AAC9G,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,8BAA8B,CAC1C,OAAiB,EACjB,UAAuB,EACvB,eAAqC,EACrC,0BAAmC;IAEnC,OAAO,wBAAwB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,cAAc,CAC9D,OAAO,EACP;QACI,eAAe;QACf,KAAK,EAAE,UAAU;KACpB,EACD,0BAA0B,CAC7B,CAAC;AACN,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,2BAA2B,CAAC,OAA2B;IACnE,OAAO,wBAA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,OAAO,EAAE,CAAC;AAClE,CAAC;AAED,cAAc,8DAA8D,CAAC;AAE7E,cAAc,qDAAqD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="13" height="14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M.5 1a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-7Zm6 5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h6a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-6ZM6 10.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-6a.5.5 0 0 1-.5-.5v-1ZM2 4H1v6a1 1 0 0 0 1 1h3v-1H2V7h3V6H2V4Z" fill="#94A1AD"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="18" height="7" xmlns="http://www.w3.org/2000/svg"><path d="M5.879 6.277 3.413.302A.495.495 0 0 0 2.5.304L.035 6.28a.532.532 0 0 0 .102.534.486.486 0 0 0 .55.112.486.486 0 0 0 .262-.268l.693-1.684h2.63l.69 1.677a.44.44 0 0 0 .087.143.514.514 0 0 0 .376.173c.015 0 .099-.013.113-.016a.48.48 0 0 0 .338-.286.506.506 0 0 0 .004-.385l-.001-.003ZM2.054 3.981l.905-2.19.903 2.19H2.054Zm9.603.015a1.472 1.472 0 0 0-.573-.665L11 3.282a1.703 1.703 0 0 0 .336-.803 3.74 3.74 0 0 0 .04-.493 2.621 2.621 0 0 0-.141-.868 1.48 1.48 0 0 0-.45-.648 1.878 1.878 0 0 0-.734-.36A3.996 3.996 0 0 0 9.06 0H7.333a.433.433 0 0 0-.19.041.499.499 0 0 0-.137.1.442.442 0 0 0-.107.17.72.72 0 0 0-.036.186l.006 5.948a.444.444 0 0 0 .037.227c.023.053.053.1.088.142a.443.443 0 0 0 .335.153h1.965c.216 0 .408-.007.577-.02a4.99 4.99 0 0 0 .476-.059 2.052 2.052 0 0 0 .743-.271 1.472 1.472 0 0 0 .567-.661c.058-.136.104-.289.134-.453a2.62 2.62 0 0 0 .04-.525 2.714 2.714 0 0 0-.04-.53 2.133 2.133 0 0 0-.134-.452ZM10.32 1.374a.483.483 0 0 1 .064.133 1.51 1.51 0 0 1 .065.49 1.526 1.526 0 0 1-.065.474.497.497 0 0 1-.064.133.716.716 0 0 1-.101.115.728.728 0 0 1-.17.11 1.171 1.171 0 0 1-.245.083 2.42 2.42 0 0 1-.33.054 4.049 4.049 0 0 1-.414.018H7.79l.004-1.99H9.06c.15 0 .289.005.414.018.12.012.23.03.33.053.092.022.174.05.245.084a.653.653 0 0 1 .271.225ZM9.29 5.97h-1.5l.004-1.99h1.444l.026-.003c.184.014.367.006.515.016.137.01.262.024.374.043.105.02.197.042.275.07.073.025.14.055.192.085a.815.815 0 0 1 .11.09.363.363 0 0 1 .077.108c.028.06.053.138.075.231.02.092.03.21.027.36.003.143-.006.262-.027.353a1.03 1.03 0 0 1-.075.228.394.394 0 0 1-.08.114.776.776 0 0 1-.1.082c-.06.035-.126.066-.2.091-.077.028-.17.051-.274.07-.111.02-.235.032-.372.04a8.85 8.85 0 0 1-.491.012Zm8.538-.153a.558.558 0 0 1-.051.377.54.54 0 0 1-.112.141 2.47 2.47 0 0 1-.418.282 2.689 2.689 0 0 1-.473.197 3.322 3.322 0 0 1-.53.116 4.183 4.183 0 0 1-.583.038c-.242 0-.473-.018-.687-.053a3.014 3.014 0 0 1-.611-.167 2.571 2.571 0 0 1-.53-.28 2.389 2.389 0 0 1-.441-.394 2.64 2.64 0 0 1-.345-.504 3.222 3.222 0 0 1-.244-.606 4.677 4.677 0 0 1-.145-.696 5.932 5.932 0 0 1-.05-.786c0-.276.017-.54.05-.786s.082-.479.145-.693a3.28 3.28 0 0 1 .243-.605c.098-.187.215-.358.346-.508a2.425 2.425 0 0 1 .972-.672c.189-.073.394-.128.61-.164a4.47 4.47 0 0 1 1.27-.015c.186.026.364.065.53.116.167.052.326.118.472.194.15.08.29.172.416.278a.613.613 0 0 1 .112.141.514.514 0 0 1 .062.184.558.558 0 0 1-.074.364.508.508 0 0 1-.131.14.398.398 0 0 1-.16.068.398.398 0 0 1-.17-.01.45.45 0 0 1-.148-.075 1.523 1.523 0 0 0-.286-.192 1.916 1.916 0 0 0-.34-.137 2.793 2.793 0 0 0-.404-.086 3.722 3.722 0 0 0-1.001.01 2.295 2.295 0 0 0-.452.115c-.136.052-.26.116-.371.19a1.532 1.532 0 0 0-.515.588c-.065.126-.12.268-.165.423a3.22 3.22 0 0 0-.102.517 5.135 5.135 0 0 0-.034.615c0 .22.01.426.034.615.022.19.057.363.102.517.045.155.1.297.165.424.065.125.14.238.224.336.082.091.18.177.29.251.112.075.236.138.372.19.135.051.287.09.452.116.307.048.682.051 1.002.011.144-.018.278-.046.403-.083a1.766 1.766 0 0 0 .621-.325.377.377 0 0 1 .324-.089.425.425 0 0 1 .29.208c.026.04.05.1.066.164Z" fill="#EF8600" fill-rule="evenodd"/></svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface IAttributeHierarchyDetailBubbleProps {
|
|
7
|
+
className?: string;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const AttributeHierarchyDetailBubble: React.FC<IAttributeHierarchyDetailBubbleProps>;
|
|
15
|
+
//# sourceMappingURL=AttributeHierarchyDetailBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeHierarchyDetailBubble.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailBubble.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B;;;GAGG;AACH,MAAM,WAAW,oCAAoC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAKD;;;GAGG;AACH,eAAO,MAAM,8BAA8B,EAAE,KAAK,CAAC,EAAE,CAAC,oCAAoC,CAyBzF,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// (C) 2023 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import cx from "classnames";
|
|
4
|
+
import { Bubble, BubbleHoverTrigger } from "@gooddata/sdk-ui-kit";
|
|
5
|
+
const ALIGN_POINTS = [{ align: "cr cl" }];
|
|
6
|
+
const ARROW_OFFSETS = { "cr cl": [15, 0] };
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export const AttributeHierarchyDetailBubble = (props) => {
|
|
12
|
+
const { children, className } = props;
|
|
13
|
+
return (React.createElement(BubbleHoverTrigger, { showDelay: 0, eventsOnBubble: true },
|
|
14
|
+
React.createElement("div", { className: cx("s-description-trigger", {
|
|
15
|
+
"gd-icon-circle-question-wrapper": !className,
|
|
16
|
+
}, className) },
|
|
17
|
+
React.createElement("div", { className: "gd-icon-circle-question" })),
|
|
18
|
+
React.createElement(Bubble, { className: "bubble-light gd-attribute-hierarchy-detail-panel-bubble", alignPoints: ALIGN_POINTS, arrowOffsets: ARROW_OFFSETS, closeOnOutsideClick: true }, children)));
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=AttributeHierarchyDetailBubble.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeHierarchyDetailBubble.js","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailBubble.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAWlE,MAAM,YAAY,GAAG,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;AAC1C,MAAM,aAAa,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC;AAE3C;;;GAGG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAmD,CAAC,KAAK,EAAE,EAAE;IACpG,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IACtC,OAAO,CACH,oBAAC,kBAAkB,IAAC,SAAS,EAAE,CAAC,EAAE,cAAc,EAAE,IAAI;QAClD,6BACI,SAAS,EAAE,EAAE,CACT,uBAAuB,EACvB;gBACI,iCAAiC,EAAE,CAAC,SAAS;aAChD,EACD,SAAS,CACZ;YAED,6BAAK,SAAS,EAAC,yBAAyB,GAAG,CACzC;QACN,oBAAC,MAAM,IACH,SAAS,EAAC,yDAAyD,EACnE,WAAW,EAAE,YAAY,EACzB,YAAY,EAAE,aAAa,EAC3B,mBAAmB,EAAE,IAAI,IAExB,QAAQ,CACJ,CACQ,CACxB,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface IAttributeHierarchyDetailItem {
|
|
7
|
+
title: string;
|
|
8
|
+
isDate: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export interface IAttributeHierarchyDetailPanelProps {
|
|
15
|
+
title: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
attributes: IAttributeHierarchyDetailItem[];
|
|
18
|
+
onEdit?: () => void;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
export declare const AttributeHierarchyDetailPanel: React.FC<IAttributeHierarchyDetailPanelProps>;
|
|
25
|
+
//# sourceMappingURL=AttributeHierarchyDetailPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeHierarchyDetailPanel.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailPanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B;;;GAGG;AACH,MAAM,WAAW,6BAA6B;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,WAAW,mCAAmC;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,6BAA6B,EAAE,CAAC;IAC5C,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED;;;GAGG;AACH,eAAO,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,mCAAmC,CAuCvF,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// (C) 2023 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import cx from "classnames";
|
|
4
|
+
import { useIntl } from "react-intl";
|
|
5
|
+
import { messages } from "@gooddata/sdk-ui";
|
|
6
|
+
import { Button } from "@gooddata/sdk-ui-kit";
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export const AttributeHierarchyDetailPanel = ({ title, description, attributes, onEdit, }) => {
|
|
12
|
+
const { formatMessage } = useIntl();
|
|
13
|
+
const hierarchyLevelsText = formatMessage(messages.hierarchyListLevels);
|
|
14
|
+
const editText = formatMessage(messages.hierarchyListEdit);
|
|
15
|
+
return (React.createElement("div", { className: "gd-attribute-hierarchy-detail-panel" },
|
|
16
|
+
React.createElement("div", { className: "gd-attribute-hierarchy-detail-title" }, title),
|
|
17
|
+
description && React.createElement("div", { className: "gd-attribute-hierarchy-detail-description" }, description),
|
|
18
|
+
React.createElement("div", { className: "gd-attribute-hierarchy-detail-levels" }, hierarchyLevelsText),
|
|
19
|
+
attributes.map((item, index) => {
|
|
20
|
+
const itemClassNames = cx("gd-attribute-hierarchy-detail-item", {
|
|
21
|
+
"is-date": item.isDate,
|
|
22
|
+
"is-attribute": !item.isDate,
|
|
23
|
+
});
|
|
24
|
+
return (React.createElement("div", { key: index, className: itemClassNames }, item.title));
|
|
25
|
+
}),
|
|
26
|
+
onEdit ? (React.createElement("div", { className: "gd-attribute-hierarchy-detail-panel-actions s-gd-attribute-hierarchy-detail-panel-actions" },
|
|
27
|
+
React.createElement(Button, { className: "gd-button-secondary gd-icon-pencil gd-button-small gd-attribute-hierarchy-detail-edit-button s-gd-attribute-hierarchy-detail-edit-button", value: editText, onClick: onEdit }))) : null));
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=AttributeHierarchyDetailPanel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeHierarchyDetailPanel.js","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailPanel.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAsB9C;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAkD,CAAC,EACzF,KAAK,EACL,WAAW,EACX,UAAU,EACV,MAAM,GACT,EAAE,EAAE;IACD,MAAM,EAAE,aAAa,EAAE,GAAG,OAAO,EAAE,CAAC;IAEpC,MAAM,mBAAmB,GAAG,aAAa,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IACxE,MAAM,QAAQ,GAAG,aAAa,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IAE3D,OAAO,CACH,6BAAK,SAAS,EAAC,qCAAqC;QAChD,6BAAK,SAAS,EAAC,qCAAqC,IAAE,KAAK,CAAO;QACjE,WAAW,IAAI,6BAAK,SAAS,EAAC,2CAA2C,IAAE,WAAW,CAAO;QAC9F,6BAAK,SAAS,EAAC,sCAAsC,IAAE,mBAAmB,CAAO;QAChF,UAAU,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;YAC5B,MAAM,cAAc,GAAG,EAAE,CAAC,oCAAoC,EAAE;gBAC5D,SAAS,EAAE,IAAI,CAAC,MAAM;gBACtB,cAAc,EAAE,CAAC,IAAI,CAAC,MAAM;aAC/B,CAAC,CAAC;YACH,OAAO,CACH,6BAAK,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,cAAc,IACrC,IAAI,CAAC,KAAK,CACT,CACT,CAAC;QACN,CAAC,CAAC;QAED,MAAM,CAAC,CAAC,CAAC,CACN,6BAAK,SAAS,EAAC,2FAA2F;YACtG,oBAAC,MAAM,IACH,SAAS,EAAC,0IAA0I,EACpJ,KAAK,EAAE,QAAQ,EACf,OAAO,EAAE,MAAM,GACjB,CACA,CACT,CAAC,CAAC,CAAC,IAAI,CACN,CACT,CAAC;AACN,CAAC,CAAC"}
|
package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AddActionMenu.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface IAddActionMenuProps {
|
|
3
|
+
rowIndex: number;
|
|
4
|
+
alignTo: HTMLElement;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
}
|
|
7
|
+
declare const AddActionMenu: React.FC<IAddActionMenuProps>;
|
|
8
|
+
export default AddActionMenu;
|
|
9
|
+
//# sourceMappingURL=AddActionMenu.d.ts.map
|
package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AddActionMenu.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddActionMenu.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AddActionMenu.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,UAAU,mBAAmB;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,WAAW,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AAID,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAuChD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AddActionMenu.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// (C) 2023 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { useIntl } from "react-intl";
|
|
4
|
+
import { ItemsWrapper, Item, Separator, Overlay } from "@gooddata/sdk-ui-kit";
|
|
5
|
+
import { messages } from "@gooddata/sdk-ui";
|
|
6
|
+
import { useAttributeHierarchyDialog } from "./AttributeHierarchyDialogProvider.js";
|
|
7
|
+
const ALIGN_POINTS = [{ align: "br tr" }];
|
|
8
|
+
const AddActionMenu = ({ rowIndex, alignTo, onClose }) => {
|
|
9
|
+
const { formatMessage } = useIntl();
|
|
10
|
+
const { onAddEmptyAttribute } = useAttributeHierarchyDialog();
|
|
11
|
+
const handleAddAbove = () => {
|
|
12
|
+
onAddEmptyAttribute(rowIndex - 1);
|
|
13
|
+
onClose();
|
|
14
|
+
};
|
|
15
|
+
const handleAddBellow = () => {
|
|
16
|
+
onAddEmptyAttribute(rowIndex);
|
|
17
|
+
onClose();
|
|
18
|
+
};
|
|
19
|
+
const addAboveText = formatMessage(messages.hierarchyAddAttributeAbove);
|
|
20
|
+
const addBellowText = formatMessage(messages.hierarchyAddAttributeBellow);
|
|
21
|
+
return (React.createElement(Overlay, { alignTo: alignTo, alignPoints: ALIGN_POINTS, closeOnMouseDrag: true, closeOnOutsideClick: true, onClose: onClose, className: "attribute-hierarchy-add-action-menu s-attribute-hierarchy-add-action-menu" },
|
|
22
|
+
React.createElement(ItemsWrapper, { smallItemsSpacing: true },
|
|
23
|
+
React.createElement(Item, { onClick: handleAddAbove },
|
|
24
|
+
React.createElement("i", { className: "gd-icon-arrow-up s-add-above" }),
|
|
25
|
+
addAboveText),
|
|
26
|
+
React.createElement(Separator, null),
|
|
27
|
+
React.createElement(Item, { onClick: handleAddBellow },
|
|
28
|
+
React.createElement("i", { className: "gd-icon-arrow-down s-add-below" }),
|
|
29
|
+
addBellowText))));
|
|
30
|
+
};
|
|
31
|
+
export default AddActionMenu;
|
|
32
|
+
//# sourceMappingURL=AddActionMenu.js.map
|
package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AddActionMenu.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddActionMenu.js","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AddActionMenu.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AAQpF,MAAM,YAAY,GAAG,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;AAE1C,MAAM,aAAa,GAAkC,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE;IACpF,MAAM,EAAE,aAAa,EAAE,GAAG,OAAO,EAAE,CAAC;IACpC,MAAM,EAAE,mBAAmB,EAAE,GAAG,2BAA2B,EAAE,CAAC;IAE9D,MAAM,cAAc,GAAG,GAAG,EAAE;QACxB,mBAAmB,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC;QAClC,OAAO,EAAE,CAAC;IACd,CAAC,CAAC;IAEF,MAAM,eAAe,GAAG,GAAG,EAAE;QACzB,mBAAmB,CAAC,QAAQ,CAAC,CAAC;QAC9B,OAAO,EAAE,CAAC;IACd,CAAC,CAAC;IAEF,MAAM,YAAY,GAAG,aAAa,CAAC,QAAQ,CAAC,0BAA0B,CAAC,CAAC;IACxE,MAAM,aAAa,GAAG,aAAa,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC;IAE1E,OAAO,CACH,oBAAC,OAAO,IACJ,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,YAAY,EACzB,gBAAgB,EAAE,IAAI,EACtB,mBAAmB,EAAE,IAAI,EACzB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,2EAA2E;QAErF,oBAAC,YAAY,IAAC,iBAAiB;YAC3B,oBAAC,IAAI,IAAC,OAAO,EAAE,cAAc;gBACzB,2BAAG,SAAS,EAAC,8BAA8B,GAAG;gBAC7C,YAAY,CACV;YACP,oBAAC,SAAS,OAAG;YACb,oBAAC,IAAI,IAAC,OAAO,EAAE,eAAe;gBAC1B,2BAAG,SAAS,EAAC,gCAAgC,GAAG;gBAC/C,aAAa,CACX,CACI,CACT,CACb,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddAttributeAction.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AddAttributeAction.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAmB/B,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AddAttributeAction.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// (C) 2023 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { Button } from "@gooddata/sdk-ui-kit";
|
|
4
|
+
import { useIntl } from "react-intl";
|
|
5
|
+
import { messages } from "@gooddata/sdk-ui";
|
|
6
|
+
import { useAttributeHierarchyDialog } from "./AttributeHierarchyDialogProvider.js";
|
|
7
|
+
const AddAttributeAction = () => {
|
|
8
|
+
const { formatMessage } = useIntl();
|
|
9
|
+
const { onAddEmptyAttribute, attributes } = useAttributeHierarchyDialog();
|
|
10
|
+
const handleAddAttribute = () => {
|
|
11
|
+
onAddEmptyAttribute(attributes.length - 1);
|
|
12
|
+
};
|
|
13
|
+
const addAttributeText = formatMessage(messages.hierarchyAddAttribute);
|
|
14
|
+
return (React.createElement("div", { className: "attribute-hierarchy-add-attribute-action s-attribute-hierarchy-add-attribute-action" },
|
|
15
|
+
React.createElement(Button, { className: "gd-button-link gd-icon-plus", value: addAttributeText, onClick: handleAddAttribute })));
|
|
16
|
+
};
|
|
17
|
+
export default AddAttributeAction;
|
|
18
|
+
//# sourceMappingURL=AddAttributeAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddAttributeAction.js","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AddAttributeAction.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AAEpF,MAAM,kBAAkB,GAAa,GAAG,EAAE;IACtC,MAAM,EAAE,aAAa,EAAE,GAAG,OAAO,EAAE,CAAC;IACpC,MAAM,EAAE,mBAAmB,EAAE,UAAU,EAAE,GAAG,2BAA2B,EAAE,CAAC;IAE1E,MAAM,kBAAkB,GAAG,GAAG,EAAE;QAC5B,mBAAmB,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAC/C,CAAC,CAAC;IAEF,MAAM,gBAAgB,GAAG,aAAa,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC;IAEvE,OAAO,CACH,6BAAK,SAAS,EAAC,qFAAqF;QAChG,oBAAC,MAAM,IACH,SAAS,EAAC,6BAA6B,EACvC,KAAK,EAAE,gBAAgB,EACvB,OAAO,EAAE,kBAAkB,GAC7B,CACA,CACT,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeDropdown.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeDropdown.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AASnD,UAAU,uBAAuB;IAC7B,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAgDxD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeDropdown.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// (C) 2023 GoodData Corporation
|
|
2
|
+
import React, { useEffect, useState } from "react";
|
|
3
|
+
import { useIntl } from "react-intl";
|
|
4
|
+
import { Dropdown, DropdownButton } from "@gooddata/sdk-ui-kit";
|
|
5
|
+
import { messages } from "@gooddata/sdk-ui";
|
|
6
|
+
import AttributeDropdownBody from "./AttributeDropdownBody.js";
|
|
7
|
+
import { useAttributeHierarchyDialog } from "./AttributeHierarchyDialogProvider.js";
|
|
8
|
+
const AttributeDropdown = ({ rowIndex }) => {
|
|
9
|
+
const { formatMessage } = useIntl();
|
|
10
|
+
const { getValidAttributes, onCompleteAttribute } = useAttributeHierarchyDialog();
|
|
11
|
+
const [items, setItems] = useState([]);
|
|
12
|
+
const [isLoading, setLoading] = useState(true);
|
|
13
|
+
const handleSelect = (selectedItem) => {
|
|
14
|
+
onCompleteAttribute(selectedItem, rowIndex);
|
|
15
|
+
};
|
|
16
|
+
useEffect(() => {
|
|
17
|
+
getValidAttributes(rowIndex).then((attributes) => {
|
|
18
|
+
setItems(attributes);
|
|
19
|
+
setLoading(false);
|
|
20
|
+
});
|
|
21
|
+
}, [getValidAttributes, rowIndex]);
|
|
22
|
+
const chooseAttributeText = formatMessage(messages.hierarchyAttributeDropdown);
|
|
23
|
+
return (React.createElement(Dropdown, { className: "attribute-hierarchy-attribute-dropdown s-attribute-hierarchy-attribute-dropdown", closeOnParentScroll: true, closeOnMouseDrag: true, closeOnOutsideClick: true, openOnInit: true, renderButton: ({ isOpen, toggleDropdown }) => (React.createElement(DropdownButton, { className: "attribute-heirarchy-attribute-dropdown-button s-attribute-heirarchy-attribute-dropdown-button", value: chooseAttributeText, isOpen: isOpen, isSmall: true, onClick: toggleDropdown })), renderBody: ({ closeDropdown }) => {
|
|
24
|
+
return (React.createElement(AttributeDropdownBody, { items: items, isLoading: isLoading, onSelect: handleSelect, closeDropdown: closeDropdown }));
|
|
25
|
+
} }));
|
|
26
|
+
};
|
|
27
|
+
export default AttributeDropdown;
|
|
28
|
+
//# sourceMappingURL=AttributeDropdown.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeDropdown.js","sourceRoot":"","sources":["../../../../../src/intern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AO,CACH,oBAAC,QAAQ,IACL,SAAS,EAAC,iFAAiF,EAC3F,mBAAmB,EAAE,IAAI,EACzB,gBAAgB,EAAE,IAAI,EACtB,mBAAmB,EAAE,IAAI,EACzB,UAAU,EAAE,IAAI,EAChB,YAAY,EAAE,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC,CAC1C,oBAAC,cAAc,IACX,SAAS,EAAC,+FAA+F,EACzG,KAAK,EAAE,mBAAmB,EAC1B,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,IAAI,EACb,OAAO,EAAE,cAAc,GACzB,CACL,EACD,UAAU,EAAE,CAAC,EAAE,aAAa,EAAE,EAAE,EAAE;YAC9B,OAAO,CACH,oBAAC,qBAAqB,IAClB,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,YAAY,EACtB,aAAa,EAAE,aAAa,GAC9B,CACL,CAAC;QACN,CAAC,GACH,CACL,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { EmptyParamCallback, ICatalogAttributeData } from "./types.js";
|
|
3
|
+
interface IAttributeDropdownBodyProps {
|
|
4
|
+
items: ICatalogAttributeData[];
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
onSelect: (item: ICatalogAttributeData) => void;
|
|
7
|
+
closeDropdown: EmptyParamCallback;
|
|
8
|
+
}
|
|
9
|
+
declare const AttributeDropdownBody: React.FC<IAttributeDropdownBodyProps>;
|
|
10
|
+
export default AttributeDropdownBody;
|
|
11
|
+
//# sourceMappingURL=AttributeDropdownBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeDropdownBody.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeDropdownBody.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,OAAO,EAA4B,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAMjG,UAAU,2BAA2B;IACjC,KAAK,EAAE,qBAAqB,EAAE,CAAC;IAC/B,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAChD,aAAa,EAAE,kBAAkB,CAAC;CACrC;AAeD,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAqDhE,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// (C) 2023 GoodData Corporation
|
|
2
|
+
import React, { useState } from "react";
|
|
3
|
+
import { useIntl } from "react-intl";
|
|
4
|
+
import { DropdownList, SingleSelectListItem } from "@gooddata/sdk-ui-kit";
|
|
5
|
+
import { messages } from "@gooddata/sdk-ui";
|
|
6
|
+
import { CatalogAttributeDataType } from "./types.js";
|
|
7
|
+
import { searchAttributes } from "./utils.js";
|
|
8
|
+
const DEFAULT_DROPDOWN_WIDTH = 253;
|
|
9
|
+
const DEFAULT_DROPDOWN_MAX_HEIGHT = 270;
|
|
10
|
+
const TABS = [
|
|
11
|
+
{
|
|
12
|
+
id: CatalogAttributeDataType.ATTRIBUTE,
|
|
13
|
+
iconOnly: true,
|
|
14
|
+
icon: "gd-icon-attribute",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
id: CatalogAttributeDataType.DATE_ATTRIBUTE,
|
|
18
|
+
iconOnly: true,
|
|
19
|
+
icon: "gd-icon-date",
|
|
20
|
+
},
|
|
21
|
+
];
|
|
22
|
+
const AttributeDropdownBody = ({ items, isLoading, closeDropdown, onSelect, }) => {
|
|
23
|
+
const { formatMessage } = useIntl();
|
|
24
|
+
const [selectedTab, setSelectedTab] = useState(CatalogAttributeDataType.ATTRIBUTE);
|
|
25
|
+
const [searchString, setSearchString] = useState("");
|
|
26
|
+
const displayItems = searchAttributes(items, selectedTab, searchString);
|
|
27
|
+
const handleTabSelect = (tab) => {
|
|
28
|
+
setSelectedTab(tab.id);
|
|
29
|
+
};
|
|
30
|
+
const searchPlaceholderText = formatMessage(messages.hierarchyAttributeSearch);
|
|
31
|
+
return (React.createElement(DropdownList, { className: "attribute-hierarchy-attribute-dropdown-body s-attribute-hierarchy-attribute-dropdown-body", tabsClassName: "attribute-hierarchy-attribute-dropdown-tabs s-attribute-hierarchy-attribute-dropdown-tabs", width: DEFAULT_DROPDOWN_WIDTH, maxHeight: DEFAULT_DROPDOWN_MAX_HEIGHT, showSearch: true, searchPlaceholder: searchPlaceholderText, searchString: searchString, onSearch: setSearchString, items: displayItems, itemsCount: displayItems.length, showTabs: true, tabs: TABS, onTabSelect: handleTabSelect, selectedTabId: selectedTab, isLoading: isLoading, renderItem: ({ item }) => {
|
|
32
|
+
const handleClick = () => {
|
|
33
|
+
closeDropdown();
|
|
34
|
+
onSelect(item);
|
|
35
|
+
};
|
|
36
|
+
return (React.createElement(SingleSelectListItem, { className: "attribute-hierarchy-attribute-dropdown-item s-attribute-hierarchy-attribute-dropdown-item", title: item.title, onClick: handleClick, icon: item.icon }));
|
|
37
|
+
} }));
|
|
38
|
+
};
|
|
39
|
+
export default AttributeDropdownBody;
|
|
40
|
+
//# sourceMappingURL=AttributeDropdownBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeDropdownBody.js","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeDropdownBody.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAQ,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAAE,QAAQ,EAAE,MAAM,k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E,YAAY,EAC1B,QAAQ,EAAE,eAAe,EACzB,KAAK,EAAE,YAAY,EACnB,UAAU,EAAE,YAAY,CAAC,MAAM,EAC/B,QAAQ,EAAE,IAAI,EACd,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,eAAe,EAC5B,aAAa,EAAE,WAAW,EAC1B,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;YACrB,MAAM,WAAW,GAAG,GAAG,EAAE;gBACrB,aAAa,EAAE,CAAC;gBAChB,QAAQ,CAAC,IAAI,CAAC,CAAC;YACnB,CAAC,CAAC;YAEF,OAAO,CACH,oBAAC,oBAAoB,IACjB,SAAS,EAAC,2FAA2F,EACrG,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,WAAW,EACpB,IAAI,EAAE,IAAI,CAAC,IAAI,GACjB,CACL,CAAC;QACN,CAAC,GACH,CACL,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ICatalogAttributeHierarchy, ObjRef } from "@gooddata/sdk-model";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface IAttributeHierarchyDialogProps {
|
|
7
|
+
initialAttributeRef?: ObjRef;
|
|
8
|
+
editingAttributeHierarchy?: ICatalogAttributeHierarchy;
|
|
9
|
+
onClose?: () => void;
|
|
10
|
+
onSaveOrUpdateSuccess?: (attributeHierarchy: ICatalogAttributeHierarchy) => void;
|
|
11
|
+
onDeleteSuccess?: () => void;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
export declare const AttributeHierarchyDialog: React.FC<IAttributeHierarchyDialogProps>;
|
|
17
|
+
//# sourceMappingURL=AttributeHierarchyDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeHierarchyDialog.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialog.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,0BAA0B,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAKzE;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,yBAAyB,CAAC,EAAE,0BAA0B,CAAC;IACvD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,qBAAqB,CAAC,EAAE,CAAC,kBAAkB,EAAE,0BAA0B,KAAK,IAAI,CAAC;IACjF,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAChC;AAED;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CAkB7E,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// (C) 2023 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { AttributeHierarchyDialogProvider } from "./AttributeHierarchyDialogProvider.js";
|
|
4
|
+
import AttributeHierarchyDialogCore from "./AttributeHierarchyDialogCore.js";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export const AttributeHierarchyDialog = ({ initialAttributeRef, editingAttributeHierarchy, onClose, onSaveOrUpdateSuccess, onDeleteSuccess, }) => {
|
|
9
|
+
return (React.createElement(AttributeHierarchyDialogProvider, { initialAttributeRef: initialAttributeRef, editingAttributeHierarchy: editingAttributeHierarchy, onClose: onClose, onSaveOrUpdateSuccess: onSaveOrUpdateSuccess, onDeleteSuccess: onDeleteSuccess },
|
|
10
|
+
React.createElement(AttributeHierarchyDialogCore, null)));
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=AttributeHierarchyDialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeHierarchyDialog.js","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialog.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,4BAA4B,MAAM,mCAAmC,CAAC;AAa7E;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAA6C,CAAC,EAC/E,mBAAmB,EACnB,yBAAyB,EACzB,OAAO,EACP,qBAAqB,EACrB,eAAe,GAClB,EAAE,EAAE;IACD,OAAO,CACH,oBAAC,gCAAgC,IAC7B,mBAAmB,EAAE,mBAAmB,EACxC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,EAAE,OAAO,EAChB,qBAAqB,EAAE,qBAAqB,EAC5C,eAAe,EAAE,eAAe;QAEhC,oBAAC,4BAA4B,OAAG,CACD,CACtC,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeHierarchyDialogContent.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,QAAA,MAAM,+BAA+B,EAAE,KAAK,CAAC,EA6B5C,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// (C) 2023 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { useIntl } from "react-intl";
|
|
4
|
+
import { List, LoadingMask } from "@gooddata/sdk-ui-kit";
|
|
5
|
+
import { messages } from "@gooddata/sdk-ui";
|
|
6
|
+
import AttributeItem from "./AttributeItem.js";
|
|
7
|
+
import { useAttributeHierarchyDialog } from "./AttributeHierarchyDialogProvider.js";
|
|
8
|
+
import AddAttributeAction from "./AddAttributeAction.js";
|
|
9
|
+
const DEFAULT_WIDTH = 845;
|
|
10
|
+
const DEFAULT_HEIGHT = 388;
|
|
11
|
+
const DEFAULT_ROW_HEIGHT = 43;
|
|
12
|
+
const AttributeHierarchyDialogContent = () => {
|
|
13
|
+
const { formatMessage } = useIntl();
|
|
14
|
+
const { isLoading, attributes } = useAttributeHierarchyDialog();
|
|
15
|
+
const emptyItem = attributes.find((item) => !item.completed);
|
|
16
|
+
const tableTitle = formatMessage(messages.hierarchyLevels);
|
|
17
|
+
return (React.createElement("div", { className: "gd-dialog-content attribute-hierarchy-dialog-content" },
|
|
18
|
+
React.createElement("div", { className: "attribute-hierarchy-table-title s-attribute-hierarchy-table-title" }, tableTitle),
|
|
19
|
+
React.createElement(List, { className: "attribute-hierarchy-table s-attribute-hierarchy-table", width: DEFAULT_WIDTH, maxHeight: DEFAULT_HEIGHT, items: attributes, itemHeight: DEFAULT_ROW_HEIGHT, itemsCount: attributes.length, scrollToItem: emptyItem, renderItem: ({ rowIndex, item }) => React.createElement(AttributeItem, { rowIndex: rowIndex, attribute: item }) }),
|
|
20
|
+
React.createElement(AddAttributeAction, null),
|
|
21
|
+
isLoading ? (React.createElement(LoadingMask, { className: "attribute-hierarchy-content-loading-mask s-attribute-hierarchy-content-loading-mask" })) : null));
|
|
22
|
+
};
|
|
23
|
+
export default AttributeHierarchyDialogContent;
|
|
24
|
+
//# sourceMappingURL=AttributeHierarchyDialogContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeHierarchyDialogContent.js","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogContent.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,WAAW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G,CAClH,CAAC,CAAC,CAAC,IAAI,CACN,CACT,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeHierarchyDialogCore.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogCore.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,QAAA,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAiBzC,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// (C) 2023 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { Dialog } from "@gooddata/sdk-ui-kit";
|
|
4
|
+
import AttributeHierarchyDialogHeader from "./AttributeHierarchyDialogHeader.js";
|
|
5
|
+
import AttributeHierarchyDialogContent from "./AttributeHierarchyDialogContent.js";
|
|
6
|
+
import AttributeHierarchyDialogFooter from "./AttributeHierarchyDialogFooter.js";
|
|
7
|
+
import DeleteAttributeHierarchyConfirmation from "./DeleteAttributeHieraryConfirmation.js";
|
|
8
|
+
import { useAttributeHierarchyDialog } from "./AttributeHierarchyDialogProvider.js";
|
|
9
|
+
const AttributeHierarchyDialogCore = () => {
|
|
10
|
+
const { onClose, shouldDisplayDeleteConfirmation } = useAttributeHierarchyDialog();
|
|
11
|
+
return shouldDisplayDeleteConfirmation ? (React.createElement(DeleteAttributeHierarchyConfirmation, null)) : (React.createElement(Dialog, { containerClassName: "attribute-hierarchy-overlay s-attribute-hierarchy-overlay", className: "attribute-hierarchy-dialog s-attribute-hierarchy-dialog", displayCloseButton: true, onClose: onClose },
|
|
12
|
+
React.createElement(AttributeHierarchyDialogHeader, null),
|
|
13
|
+
React.createElement(AttributeHierarchyDialogContent, null),
|
|
14
|
+
React.createElement(AttributeHierarchyDialogFooter, null)));
|
|
15
|
+
};
|
|
16
|
+
export default AttributeHierarchyDialogCore;
|
|
17
|
+
//# sourceMappingURL=AttributeHierarchyDialogCore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeHierarchyDialogCore.js","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogCore.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,8BAA8B,MAAM,qCAAqC,CAAC;AACjF,OAAO,+BAA+B,MAAM,sCAAsC,CAAC;AACnF,OAAO,8BAA8B,MAAM,qCAAqC,CAAC;AACjF,OAAO,oCAAoC,MAAM,yCAAyC,CAAC;AAC3F,OAAO,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AAEpF,MAAM,4BAA4B,GAAa,GAAG,EAAE;IAChD,MAAM,EAAE,OAAO,EAAE,+BAA+B,EAAE,GAAG,2BAA2B,EAAE,CAAC;IAEnF,OAAO,+BAA+B,CAAC,CAAC,CAAC,CACrC,oBAAC,oCAAoC,OAAG,CAC3C,CAAC,CAAC,CAAC,CACA,oBAAC,MAAM,IACH,kBAAkB,EAAC,2DAA2D,EAC9E,SAAS,EAAC,yDAAyD,EACnE,kBAAkB,EAAE,IAAI,EACxB,OAAO,EAAE,OAAO;QAEhB,oBAAC,8BAA8B,OAAG;QAClC,oBAAC,+BAA+B,OAAG;QACnC,oBAAC,8BAA8B,OAAG,CAC7B,CACZ,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeHierarchyDialogFooter.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogFooter.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAYzC,QAAA,MAAM,8BAA8B,EAAE,KAAK,CAAC,EA0E3C,CAAC;AAEF,eAAe,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// (C) 2023 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { FormattedMessage, useIntl } from "react-intl";
|
|
4
|
+
import isEmpty from "lodash/isEmpty.js";
|
|
5
|
+
import { Button } from "@gooddata/sdk-ui-kit";
|
|
6
|
+
import { messages } from "@gooddata/sdk-ui";
|
|
7
|
+
import { useAttributeHierarchyDialog } from "./AttributeHierarchyDialogProvider.js";
|
|
8
|
+
// TODO: the link will be hidden until the documentation is ready
|
|
9
|
+
// the if condition should be removed then after the documentation is ready
|
|
10
|
+
const HOW_TO_WORK_DOCUMENTATION_LINK = "";
|
|
11
|
+
const AttributeHierarchyDialogFooter = () => {
|
|
12
|
+
const { formatMessage } = useIntl();
|
|
13
|
+
const { isEditing, isLoading, attributes, onSaveAttributeHierarchy, onClose, setDisplayDeleteConfirmation, } = useAttributeHierarchyDialog();
|
|
14
|
+
const isSaveDisabled = isEmpty(attributes);
|
|
15
|
+
const onDelete = () => {
|
|
16
|
+
setDisplayDeleteConfirmation(true);
|
|
17
|
+
};
|
|
18
|
+
const deleteText = formatMessage(messages.hierarchyDeleteButton);
|
|
19
|
+
const cancelText = formatMessage(messages.hierarchyCancelButton);
|
|
20
|
+
const saveText = formatMessage(isEditing ? messages.hierarchySaveButton : messages.hierarchyCreateButton);
|
|
21
|
+
return (React.createElement("div", { className: "gd-dialog-footer" },
|
|
22
|
+
React.createElement("div", { className: "attribute-hierarchy-note-message s-attribute-hierarchy-note-message" },
|
|
23
|
+
React.createElement("div", { className: "gd-message progress" },
|
|
24
|
+
React.createElement(FormattedMessage, { id: messages.hierarchyAttributeNoteMessage.id, values: {
|
|
25
|
+
b: (chunks) => React.createElement("strong", null, chunks),
|
|
26
|
+
br: () => React.createElement("br", null),
|
|
27
|
+
}, tagName: "div" }))),
|
|
28
|
+
React.createElement("div", { className: "attribute-hierarchy-footer-actions-wrapper s-attribute-hierarchy-footer-actions-wrapper" },
|
|
29
|
+
HOW_TO_WORK_DOCUMENTATION_LINK ? (React.createElement("div", { className: "gd-dialog-footer-tip" },
|
|
30
|
+
React.createElement("span", { className: "gd-icon-circle-question s-gd-icon-circle-question" }),
|
|
31
|
+
React.createElement("a", { href: HOW_TO_WORK_DOCUMENTATION_LINK, className: "gd-button-link-dimmed", target: "_blank", rel: "noreferrer" },
|
|
32
|
+
React.createElement(FormattedMessage, { id: messages.hierarchyAttributeHowToWork.id })))) : null,
|
|
33
|
+
React.createElement("div", { className: "gd-dialog-footer-actions s-gd-dialog-footer-actions" },
|
|
34
|
+
isEditing ? (React.createElement(Button, { className: "gd-button-link-dimmed attribute-hierarchy-delete-button s-attribute-hierarchy-delete-button", value: deleteText, onClick: onDelete, disabled: isLoading })) : null,
|
|
35
|
+
React.createElement(Button, { className: "gd-button-secondary attribute-hierarchy-cancel-button s-attribute-hierarchy-cancel-button", value: cancelText, onClick: onClose, disabled: isLoading }),
|
|
36
|
+
React.createElement(Button, { className: "gd-button-action attribute-hierarchy-save-button s-attribute-hierarchy-save-button", value: saveText, disabled: isSaveDisabled || isLoading, onClick: onSaveAttributeHierarchy })))));
|
|
37
|
+
};
|
|
38
|
+
export default AttributeHierarchyDialogFooter;
|
|
39
|
+
//# sourceMappingURL=AttributeHierarchyDialogFooter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeHierarchyDialogFooter.js","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogFooter.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,MAA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FAAyF;YACnG,8BAA8B,CAAC,CAAC,CAAC,CAC9B,6BAAK,SAAS,EAAC,sBAAsB;gBACjC,8BAAM,SAAS,EAAC,mDAAmD,GAAG;gBACtE,2BACI,IAAI,EAAE,8BAA8B,EACpC,SAAS,EAAC,uBAAuB,EACjC,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,YAAY;oBAEhB,oBAAC,gBAAgB,IAAC,EAAE,EAAE,QAAQ,CAAC,2BAA2B,CAAC,EAAE,GAAI,CACjE,CACF,CACT,CAAC,CAAC,CAAC,IAAI;YACR,6BAAK,SAAS,EAAC,qDAAqD;gBAC/D,SAAS,CAAC,CAAC,CAAC,CACT,oBAAC,MAAM,IACH,SAAS,EAAC,6FAA6F,EACvG,KAAK,EAAE,UAAU,EACjB,OAAO,EAAE,QAAQ,EACjB,QAAQ,EAAE,SAAS,GACrB,CACL,CAAC,CAAC,CAAC,IAAI;gBACR,oBAAC,MAAM,IACH,SAAS,EAAC,2FAA2F,EACrG,KAAK,EAAE,UAAU,EACjB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,SAAS,GACrB;gBACF,oBAAC,MAAM,IACH,SAAS,EAAC,oFAAoF,EAC9F,KAAK,EAAE,QAAQ,EACf,QAAQ,EAAE,cAAc,IAAI,SAAS,EACrC,OAAO,EAAE,wBAAwB,GACnC,CACA,CACJ,CACJ,CACT,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,8BAA8B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeHierarchyDialogHeader.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,QAAA,MAAM,8BAA8B,EAAE,KAAK,CAAC,EAkB3C,CAAC;AAEF,eAAe,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// (C) 2023 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { EditableLabel } from "@gooddata/sdk-ui-kit";
|
|
4
|
+
import { useIntl } from "react-intl";
|
|
5
|
+
import { messages } from "@gooddata/sdk-ui";
|
|
6
|
+
import { useAttributeHierarchyDialog } from "./AttributeHierarchyDialogProvider.js";
|
|
7
|
+
const ATTRIBUTE_HIERARCHY_TITLE_ROW = 1;
|
|
8
|
+
const AttributeHierarchyDialogHeader = () => {
|
|
9
|
+
const { formatMessage } = useIntl();
|
|
10
|
+
const { title, onUpdateTitle } = useAttributeHierarchyDialog();
|
|
11
|
+
const placeholder = formatMessage(messages.hierarchyUntitled);
|
|
12
|
+
return (React.createElement("div", { className: "gd-dialog-header" },
|
|
13
|
+
React.createElement("i", { className: "gd-attribute-hierarchy-icon s-gd-attribute-hierarchy-icon" }),
|
|
14
|
+
React.createElement(EditableLabel, { value: title, className: "attribute-hierarchy-title s-attribute-hierarchy-title", maxRows: ATTRIBUTE_HIERARCHY_TITLE_ROW, onSubmit: onUpdateTitle, placeholder: placeholder })));
|
|
15
|
+
};
|
|
16
|
+
export default AttributeHierarchyDialogHeader;
|
|
17
|
+
//# sourceMappingURL=AttributeHierarchyDialogHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeHierarchyDialogHeader.js","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogHeader.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AAEpF,MAAM,6BAA6B,GAAG,CAAC,CAAC;AAExC,MAAM,8BAA8B,GAAa,GAAG,EAAE;IAClD,MAAM,EAAE,aAAa,EAAE,GAAG,OAAO,EAAE,CAAC;IACpC,MAAM,EAAE,KAAK,EAAE,aAAa,EAAE,GAAG,2BAA2B,EAAE,CAAC;IAE/D,MAAM,WAAW,GAAG,aAAa,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IAE9D,OAAO,CACH,6BAAK,SAAS,EAAC,kBAAkB;QAC7B,2BAAG,SAAS,EAAC,2DAA2D,GAAG;QAC3E,oBAAC,aAAa,IACV,KAAK,EAAE,KAAK,EACZ,SAAS,EAAC,uDAAuD,EACjE,OAAO,EAAE,6BAA6B,EACtC,QAAQ,EAAE,aAAa,EACvB,WAAW,EAAE,WAAW,GAC1B,CACA,CACT,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,8BAA8B,CAAC"}
|