@atlaskit/link-datasource 6.1.11 → 6.2.0
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/CHANGELOG.md +15 -0
- package/dist/cjs/common/ui/common/render-svg.js +1 -1
- package/dist/cjs/hooks/useAssetsClient.js +63 -33
- package/dist/cjs/services/cmdbService.js +76 -40
- package/dist/cjs/services/getMeta.js +33 -0
- package/dist/cjs/types/assets/types.js +5 -0
- package/dist/cjs/ui/assets-modal/modal/index.js +3 -3
- package/dist/cjs/ui/assets-modal/modal/render-assets-content/index.compiled.css +0 -1
- package/dist/cjs/ui/assets-modal/modal/render-assets-content/index.js +1 -1
- package/dist/cjs/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -1
- package/dist/cjs/ui/assets-modal/search-container/aql-search-input/index.js +1 -1
- package/dist/cjs/ui/assets-modal/search-container/index.compiled.css +0 -1
- package/dist/cjs/ui/assets-modal/search-container/index.js +1 -1
- package/dist/cjs/ui/assets-modal/search-container/loading-state.js +1 -1
- package/dist/cjs/ui/assets-modal/search-container/object-schema-select/index.js +1 -1
- package/dist/cjs/ui/assets-modal/search-container/styled.compiled.css +0 -1
- package/dist/cjs/ui/assets-modal/search-container/styled.js +1 -1
- package/dist/cjs/ui/common/error-state/access-required.js +1 -1
- package/dist/cjs/ui/common/error-state/loading-error.js +1 -1
- package/dist/cjs/ui/common/error-state/modal-loading-error.compiled.css +0 -1
- package/dist/cjs/ui/common/error-state/modal-loading-error.js +1 -1
- package/dist/cjs/ui/common/error-state/no-instances.js +1 -1
- package/dist/cjs/ui/common/error-state/no-results.compiled.css +0 -1
- package/dist/cjs/ui/common/error-state/no-results.js +1 -1
- package/dist/cjs/ui/common/error-state/provider-auth-required-svg.js +1 -1
- package/dist/cjs/ui/common/error-state/provider-auth-required.js +1 -1
- package/dist/cjs/ui/common/initial-state-view/index.js +1 -1
- package/dist/cjs/ui/common/modal/basic-search-input/index.js +1 -1
- package/dist/cjs/ui/common/modal/content-container/index.compiled.css +0 -1
- package/dist/cjs/ui/common/modal/content-container/index.js +1 -1
- package/dist/cjs/ui/common/modal/count-view-smart-link/index.compiled.css +0 -1
- package/dist/cjs/ui/common/modal/count-view-smart-link/index.js +1 -1
- package/dist/cjs/ui/common/modal/display-view-dropdown/display-view-drop-down.compiled.css +0 -1
- package/dist/cjs/ui/common/modal/display-view-dropdown/display-view-drop-down.js +1 -1
- package/dist/cjs/ui/common/modal/mode-switcher/index.js +2 -2
- package/dist/cjs/ui/common/modal/popup-select/control.js +1 -1
- package/dist/cjs/ui/common/modal/popup-select/custom-checkbox-option.compiled.css +0 -1
- package/dist/cjs/ui/common/modal/popup-select/custom-checkbox-option.js +1 -1
- package/dist/cjs/ui/common/modal/popup-select/dropdownIndicator.js +1 -1
- package/dist/cjs/ui/common/modal/popup-select/footer.js +1 -1
- package/dist/cjs/ui/common/modal/popup-select/formatOptionLabel.js +1 -1
- package/dist/cjs/ui/common/modal/popup-select/menu-list/index.js +1 -1
- package/dist/cjs/ui/common/modal/popup-select/menu-list/selectMessage.compiled.css +0 -1
- package/dist/cjs/ui/common/modal/popup-select/menu-list/selectMessage.js +1 -1
- package/dist/cjs/ui/common/modal/popup-select/trigger.compiled.css +0 -1
- package/dist/cjs/ui/common/modal/popup-select/trigger.js +1 -1
- package/dist/cjs/ui/common/modal/search-count/index.js +1 -1
- package/dist/cjs/ui/common/modal/site-selector/index.compiled.css +0 -1
- package/dist/cjs/ui/common/modal/site-selector/index.js +1 -1
- package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/PopupComponent.compiled.css +0 -1
- package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/PopupComponent.js +1 -1
- package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js +1 -1
- package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.compiled.css +0 -1
- package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.js +1 -1
- package/dist/cjs/ui/confluence-search-modal/basic-filters/index.js +1 -1
- package/dist/cjs/ui/confluence-search-modal/confluence-search-container/index.js +1 -1
- package/dist/cjs/ui/confluence-search-modal/modal/index.compiled.css +0 -1
- package/dist/cjs/ui/confluence-search-modal/modal/index.js +3 -3
- package/dist/cjs/ui/datasource-table-view/datasourceTableView.js +3 -3
- package/dist/cjs/ui/issue-like-table/column-picker/concatenated-menu-list.js +1 -1
- package/dist/cjs/ui/issue-like-table/column-picker/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/drag-column-preview.compiled.css +0 -1
- package/dist/cjs/ui/issue-like-table/drag-column-preview.js +1 -1
- package/dist/cjs/ui/issue-like-table/draggable-table-heading.compiled.css +0 -1
- package/dist/cjs/ui/issue-like-table/draggable-table-heading.js +1 -1
- package/dist/cjs/ui/issue-like-table/edit-type/icon/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/edit-type/status/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/edit-type/text/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/edit-type/user/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/empty-state/index.compiled.css +0 -1
- package/dist/cjs/ui/issue-like-table/empty-state/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/empty-state/type.js +1 -1
- package/dist/cjs/ui/issue-like-table/index.compiled.css +0 -1
- package/dist/cjs/ui/issue-like-table/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/render-type/richtext/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/render-type/user/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/shared-components/avatar/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/shared-components/icon/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/table-cell-content/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/table-cell-content/inline-edit.js +1 -1
- package/dist/cjs/ui/issue-like-table/truncate-text-tag/index.js +1 -1
- package/dist/cjs/ui/jira-issues-modal/basic-filters/ui/index.js +1 -1
- package/dist/cjs/ui/jira-issues-modal/jira-search-container/index.js +1 -1
- package/dist/cjs/ui/jira-issues-modal/modal/index.compiled.css +0 -1
- package/dist/cjs/ui/jira-issues-modal/modal/index.js +3 -3
- package/dist/cjs/ui/table-footer/index.js +1 -1
- package/dist/cjs/ui/table-footer/powered-by-jsm-assets/index.js +1 -1
- package/dist/cjs/ui/table-footer/provider-link/index.compiled.css +0 -1
- package/dist/cjs/ui/table-footer/provider-link/index.js +1 -1
- package/dist/es2019/common/ui/common/render-svg.js +1 -1
- package/dist/es2019/hooks/useAssetsClient.js +22 -3
- package/dist/es2019/services/cmdbService.js +16 -0
- package/dist/es2019/services/getMeta.js +27 -0
- package/dist/es2019/types/assets/types.js +5 -0
- package/dist/es2019/ui/assets-modal/modal/index.js +2 -2
- package/dist/es2019/ui/assets-modal/modal/render-assets-content/index.compiled.css +0 -1
- package/dist/es2019/ui/assets-modal/modal/render-assets-content/index.js +1 -1
- package/dist/es2019/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -1
- package/dist/es2019/ui/assets-modal/search-container/aql-search-input/index.js +1 -1
- package/dist/es2019/ui/assets-modal/search-container/index.compiled.css +0 -1
- package/dist/es2019/ui/assets-modal/search-container/index.js +1 -1
- package/dist/es2019/ui/assets-modal/search-container/loading-state.js +1 -1
- package/dist/es2019/ui/assets-modal/search-container/object-schema-select/index.js +1 -1
- package/dist/es2019/ui/assets-modal/search-container/styled.compiled.css +0 -1
- package/dist/es2019/ui/assets-modal/search-container/styled.js +1 -1
- package/dist/es2019/ui/common/error-state/access-required.js +1 -1
- package/dist/es2019/ui/common/error-state/loading-error.js +1 -1
- package/dist/es2019/ui/common/error-state/modal-loading-error.compiled.css +0 -1
- package/dist/es2019/ui/common/error-state/modal-loading-error.js +1 -1
- package/dist/es2019/ui/common/error-state/no-instances.js +1 -1
- package/dist/es2019/ui/common/error-state/no-results.compiled.css +0 -1
- package/dist/es2019/ui/common/error-state/no-results.js +1 -1
- package/dist/es2019/ui/common/error-state/provider-auth-required-svg.js +1 -1
- package/dist/es2019/ui/common/error-state/provider-auth-required.js +1 -1
- package/dist/es2019/ui/common/initial-state-view/index.js +1 -1
- package/dist/es2019/ui/common/modal/basic-search-input/index.js +1 -1
- package/dist/es2019/ui/common/modal/content-container/index.compiled.css +0 -1
- package/dist/es2019/ui/common/modal/content-container/index.js +1 -1
- package/dist/es2019/ui/common/modal/count-view-smart-link/index.compiled.css +0 -1
- package/dist/es2019/ui/common/modal/count-view-smart-link/index.js +1 -1
- package/dist/es2019/ui/common/modal/display-view-dropdown/display-view-drop-down.compiled.css +0 -1
- package/dist/es2019/ui/common/modal/display-view-dropdown/display-view-drop-down.js +1 -1
- package/dist/es2019/ui/common/modal/mode-switcher/index.js +2 -2
- package/dist/es2019/ui/common/modal/popup-select/control.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/custom-checkbox-option.compiled.css +0 -1
- package/dist/es2019/ui/common/modal/popup-select/custom-checkbox-option.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/dropdownIndicator.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/footer.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/formatOptionLabel.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/menu-list/index.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/menu-list/selectMessage.compiled.css +0 -1
- package/dist/es2019/ui/common/modal/popup-select/menu-list/selectMessage.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/trigger.compiled.css +0 -1
- package/dist/es2019/ui/common/modal/popup-select/trigger.js +1 -1
- package/dist/es2019/ui/common/modal/search-count/index.js +1 -1
- package/dist/es2019/ui/common/modal/site-selector/index.compiled.css +0 -1
- package/dist/es2019/ui/common/modal/site-selector/index.js +1 -1
- package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/PopupComponent.compiled.css +0 -1
- package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/PopupComponent.js +1 -1
- package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js +1 -1
- package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.compiled.css +0 -1
- package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.js +1 -1
- package/dist/es2019/ui/confluence-search-modal/basic-filters/index.js +1 -1
- package/dist/es2019/ui/confluence-search-modal/confluence-search-container/index.js +1 -1
- package/dist/es2019/ui/confluence-search-modal/modal/index.compiled.css +0 -1
- package/dist/es2019/ui/confluence-search-modal/modal/index.js +2 -2
- package/dist/es2019/ui/datasource-table-view/datasourceTableView.js +2 -2
- package/dist/es2019/ui/issue-like-table/column-picker/concatenated-menu-list.js +1 -1
- package/dist/es2019/ui/issue-like-table/column-picker/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/drag-column-preview.compiled.css +0 -1
- package/dist/es2019/ui/issue-like-table/drag-column-preview.js +1 -1
- package/dist/es2019/ui/issue-like-table/draggable-table-heading.compiled.css +0 -1
- package/dist/es2019/ui/issue-like-table/draggable-table-heading.js +1 -1
- package/dist/es2019/ui/issue-like-table/edit-type/icon/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/edit-type/status/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/edit-type/text/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/edit-type/user/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/empty-state/index.compiled.css +0 -1
- package/dist/es2019/ui/issue-like-table/empty-state/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/empty-state/type.js +1 -1
- package/dist/es2019/ui/issue-like-table/index.compiled.css +0 -1
- package/dist/es2019/ui/issue-like-table/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/render-type/richtext/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/render-type/user/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/shared-components/avatar/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/shared-components/icon/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/table-cell-content/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/table-cell-content/inline-edit.js +1 -1
- package/dist/es2019/ui/issue-like-table/truncate-text-tag/index.js +1 -1
- package/dist/es2019/ui/jira-issues-modal/basic-filters/ui/index.js +1 -1
- package/dist/es2019/ui/jira-issues-modal/jira-search-container/index.js +1 -1
- package/dist/es2019/ui/jira-issues-modal/modal/index.compiled.css +0 -1
- package/dist/es2019/ui/jira-issues-modal/modal/index.js +2 -2
- package/dist/es2019/ui/table-footer/index.js +1 -1
- package/dist/es2019/ui/table-footer/powered-by-jsm-assets/index.js +1 -1
- package/dist/es2019/ui/table-footer/provider-link/index.compiled.css +0 -1
- package/dist/es2019/ui/table-footer/provider-link/index.js +1 -1
- package/dist/esm/common/ui/common/render-svg.js +1 -1
- package/dist/esm/hooks/useAssetsClient.js +64 -34
- package/dist/esm/services/cmdbService.js +75 -39
- package/dist/esm/services/getMeta.js +27 -0
- package/dist/esm/types/assets/types.js +5 -0
- package/dist/esm/ui/assets-modal/modal/index.js +2 -2
- package/dist/esm/ui/assets-modal/modal/render-assets-content/index.compiled.css +0 -1
- package/dist/esm/ui/assets-modal/modal/render-assets-content/index.js +1 -1
- package/dist/esm/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -1
- package/dist/esm/ui/assets-modal/search-container/aql-search-input/index.js +1 -1
- package/dist/esm/ui/assets-modal/search-container/index.compiled.css +0 -1
- package/dist/esm/ui/assets-modal/search-container/index.js +1 -1
- package/dist/esm/ui/assets-modal/search-container/loading-state.js +1 -1
- package/dist/esm/ui/assets-modal/search-container/object-schema-select/index.js +1 -1
- package/dist/esm/ui/assets-modal/search-container/styled.compiled.css +0 -1
- package/dist/esm/ui/assets-modal/search-container/styled.js +1 -1
- package/dist/esm/ui/common/error-state/access-required.js +1 -1
- package/dist/esm/ui/common/error-state/loading-error.js +1 -1
- package/dist/esm/ui/common/error-state/modal-loading-error.compiled.css +0 -1
- package/dist/esm/ui/common/error-state/modal-loading-error.js +1 -1
- package/dist/esm/ui/common/error-state/no-instances.js +1 -1
- package/dist/esm/ui/common/error-state/no-results.compiled.css +0 -1
- package/dist/esm/ui/common/error-state/no-results.js +1 -1
- package/dist/esm/ui/common/error-state/provider-auth-required-svg.js +1 -1
- package/dist/esm/ui/common/error-state/provider-auth-required.js +1 -1
- package/dist/esm/ui/common/initial-state-view/index.js +1 -1
- package/dist/esm/ui/common/modal/basic-search-input/index.js +1 -1
- package/dist/esm/ui/common/modal/content-container/index.compiled.css +0 -1
- package/dist/esm/ui/common/modal/content-container/index.js +1 -1
- package/dist/esm/ui/common/modal/count-view-smart-link/index.compiled.css +0 -1
- package/dist/esm/ui/common/modal/count-view-smart-link/index.js +1 -1
- package/dist/esm/ui/common/modal/display-view-dropdown/display-view-drop-down.compiled.css +0 -1
- package/dist/esm/ui/common/modal/display-view-dropdown/display-view-drop-down.js +1 -1
- package/dist/esm/ui/common/modal/mode-switcher/index.js +2 -2
- package/dist/esm/ui/common/modal/popup-select/control.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/custom-checkbox-option.compiled.css +0 -1
- package/dist/esm/ui/common/modal/popup-select/custom-checkbox-option.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/dropdownIndicator.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/footer.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/formatOptionLabel.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/menu-list/index.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/menu-list/selectMessage.compiled.css +0 -1
- package/dist/esm/ui/common/modal/popup-select/menu-list/selectMessage.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/trigger.compiled.css +0 -1
- package/dist/esm/ui/common/modal/popup-select/trigger.js +1 -1
- package/dist/esm/ui/common/modal/search-count/index.js +1 -1
- package/dist/esm/ui/common/modal/site-selector/index.compiled.css +0 -1
- package/dist/esm/ui/common/modal/site-selector/index.js +1 -1
- package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/PopupComponent.compiled.css +0 -1
- package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/PopupComponent.js +1 -1
- package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js +1 -1
- package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.compiled.css +0 -1
- package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.js +1 -1
- package/dist/esm/ui/confluence-search-modal/basic-filters/index.js +1 -1
- package/dist/esm/ui/confluence-search-modal/confluence-search-container/index.js +1 -1
- package/dist/esm/ui/confluence-search-modal/modal/index.compiled.css +0 -1
- package/dist/esm/ui/confluence-search-modal/modal/index.js +2 -2
- package/dist/esm/ui/datasource-table-view/datasourceTableView.js +2 -2
- package/dist/esm/ui/issue-like-table/column-picker/concatenated-menu-list.js +1 -1
- package/dist/esm/ui/issue-like-table/column-picker/index.js +1 -1
- package/dist/esm/ui/issue-like-table/drag-column-preview.compiled.css +0 -1
- package/dist/esm/ui/issue-like-table/drag-column-preview.js +1 -1
- package/dist/esm/ui/issue-like-table/draggable-table-heading.compiled.css +0 -1
- package/dist/esm/ui/issue-like-table/draggable-table-heading.js +1 -1
- package/dist/esm/ui/issue-like-table/edit-type/icon/index.js +1 -1
- package/dist/esm/ui/issue-like-table/edit-type/status/index.js +1 -1
- package/dist/esm/ui/issue-like-table/edit-type/text/index.js +1 -1
- package/dist/esm/ui/issue-like-table/edit-type/user/index.js +1 -1
- package/dist/esm/ui/issue-like-table/empty-state/index.compiled.css +0 -1
- package/dist/esm/ui/issue-like-table/empty-state/index.js +1 -1
- package/dist/esm/ui/issue-like-table/empty-state/type.js +1 -1
- package/dist/esm/ui/issue-like-table/index.compiled.css +0 -1
- package/dist/esm/ui/issue-like-table/index.js +1 -1
- package/dist/esm/ui/issue-like-table/render-type/richtext/index.js +1 -1
- package/dist/esm/ui/issue-like-table/render-type/user/index.js +1 -1
- package/dist/esm/ui/issue-like-table/shared-components/avatar/index.js +1 -1
- package/dist/esm/ui/issue-like-table/shared-components/icon/index.js +1 -1
- package/dist/esm/ui/issue-like-table/table-cell-content/index.js +1 -1
- package/dist/esm/ui/issue-like-table/table-cell-content/inline-edit.js +1 -1
- package/dist/esm/ui/issue-like-table/truncate-text-tag/index.js +1 -1
- package/dist/esm/ui/jira-issues-modal/basic-filters/ui/index.js +1 -1
- package/dist/esm/ui/jira-issues-modal/jira-search-container/index.js +1 -1
- package/dist/esm/ui/jira-issues-modal/modal/index.compiled.css +0 -1
- package/dist/esm/ui/jira-issues-modal/modal/index.js +2 -2
- package/dist/esm/ui/table-footer/index.js +1 -1
- package/dist/esm/ui/table-footer/powered-by-jsm-assets/index.js +1 -1
- package/dist/esm/ui/table-footer/provider-link/index.compiled.css +0 -1
- package/dist/esm/ui/table-footer/provider-link/index.js +1 -1
- package/dist/types/common/utils/locale/fetch-messages-for-locale.d.ts +1 -1
- package/dist/types/services/cmdbService.d.ts +3 -0
- package/dist/types/services/getMeta.d.ts +5 -0
- package/dist/types/types/assets/types.d.ts +9 -0
- package/examples-helpers/buildAssetsIssuesTable.tsx +1 -1
- package/examples-helpers/buildConfluenceSearchTable.tsx +1 -1
- package/examples-helpers/buildIssueLikeTable.tsx +1 -1
- package/examples-helpers/buildIssueLikeTableLoadingError.tsx +1 -1
- package/examples-helpers/buildJiraIssuesTable.tsx +1 -1
- package/package.json +14 -11
|
@@ -2,8 +2,10 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
4
|
import { useEffect, useState } from 'react';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
6
|
import { useDatasourceAnalyticsEvents } from '../analytics';
|
|
6
|
-
import { fetchObjectSchema, fetchObjectSchemas, getWorkspaceId } from '../services/cmdbService';
|
|
7
|
+
import { fetchObjectSchema, fetchObjectSchemas, getWorkspaceId, resolvePrimaryWorkspace } from '../services/cmdbService';
|
|
8
|
+
import { getMeta } from '../services/getMeta';
|
|
7
9
|
var handleAssetsClientErrors = function handleAssetsClientErrors(errorSetter, error) {
|
|
8
10
|
if (error instanceof Error) {
|
|
9
11
|
errorSetter(error);
|
|
@@ -12,6 +14,7 @@ var handleAssetsClientErrors = function handleAssetsClientErrors(errorSetter, er
|
|
|
12
14
|
}
|
|
13
15
|
};
|
|
14
16
|
export var useAssetsClient = function useAssetsClient(initialParameters) {
|
|
17
|
+
var _getMeta;
|
|
15
18
|
var _useState = useState(false),
|
|
16
19
|
_useState2 = _slicedToArray(_useState, 2),
|
|
17
20
|
loading = _useState2[0],
|
|
@@ -47,6 +50,9 @@ export var useAssetsClient = function useAssetsClient(initialParameters) {
|
|
|
47
50
|
var _useDatasourceAnalyti = useDatasourceAnalyticsEvents(),
|
|
48
51
|
fireEvent = _useDatasourceAnalyti.fireEvent;
|
|
49
52
|
|
|
53
|
+
// cloudId resolved from <meta name="ajs-cloud-id"> rendered by the host page.
|
|
54
|
+
var cloudId = (_getMeta = getMeta('ajs-cloud-id')) !== null && _getMeta !== void 0 ? _getMeta : '';
|
|
55
|
+
|
|
50
56
|
/*
|
|
51
57
|
* We wrap this in nested try/catch blocks because we want to handle
|
|
52
58
|
* workspaceError/existingObjectSchemaError/objectSchemasError differently
|
|
@@ -54,67 +60,91 @@ export var useAssetsClient = function useAssetsClient(initialParameters) {
|
|
|
54
60
|
*/
|
|
55
61
|
useEffect(function () {
|
|
56
62
|
_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
57
|
-
var _workspaceId, fetchedObjectSchema, fetchedObjectSchemasResponse, _t, _t2, _t3;
|
|
63
|
+
var _workspaceId, _yield$resolvePrimary, fetchedObjectSchema, fetchedObjectSchemasResponse, _t, _t2, _t3, _t4;
|
|
58
64
|
return _regeneratorRuntime.wrap(function (_context) {
|
|
59
65
|
while (1) switch (_context.prev = _context.next) {
|
|
60
66
|
case 0:
|
|
61
67
|
setLoading(true);
|
|
62
68
|
setWorkspaceError(undefined);
|
|
63
69
|
_context.prev = 1;
|
|
64
|
-
|
|
70
|
+
if (!(cloudId && fg('astral_units_workspace_host_resolver'))) {
|
|
71
|
+
_context.next = 7;
|
|
72
|
+
break;
|
|
73
|
+
}
|
|
74
|
+
_context.prev = 2;
|
|
75
|
+
_context.next = 3;
|
|
76
|
+
return resolvePrimaryWorkspace(cloudId);
|
|
77
|
+
case 3:
|
|
78
|
+
_yield$resolvePrimary = _context.sent;
|
|
79
|
+
_workspaceId = _yield$resolvePrimary.workspaceId;
|
|
80
|
+
_context.next = 6;
|
|
81
|
+
break;
|
|
82
|
+
case 4:
|
|
83
|
+
_context.prev = 4;
|
|
84
|
+
_t = _context["catch"](2);
|
|
85
|
+
_context.next = 5;
|
|
86
|
+
return getWorkspaceId(fireEvent);
|
|
87
|
+
case 5:
|
|
88
|
+
_workspaceId = _context.sent;
|
|
89
|
+
case 6:
|
|
90
|
+
_context.next = 9;
|
|
91
|
+
break;
|
|
92
|
+
case 7:
|
|
93
|
+
_context.next = 8;
|
|
65
94
|
return getWorkspaceId(fireEvent);
|
|
66
|
-
case
|
|
95
|
+
case 8:
|
|
67
96
|
_workspaceId = _context.sent;
|
|
97
|
+
case 9:
|
|
68
98
|
setWorkspaceId(_workspaceId);
|
|
69
99
|
// Check schema from initial parameters still exists and fetch name/permissions for schema select
|
|
70
100
|
if (!(initialParameters !== null && initialParameters !== void 0 && initialParameters.schemaId)) {
|
|
71
|
-
_context.next =
|
|
101
|
+
_context.next = 13;
|
|
72
102
|
break;
|
|
73
103
|
}
|
|
74
|
-
_context.prev =
|
|
75
|
-
_context.next =
|
|
104
|
+
_context.prev = 10;
|
|
105
|
+
_context.next = 11;
|
|
76
106
|
return fetchObjectSchema(_workspaceId, initialParameters === null || initialParameters === void 0 ? void 0 : initialParameters.schemaId, fireEvent);
|
|
77
|
-
case
|
|
107
|
+
case 11:
|
|
78
108
|
fetchedObjectSchema = _context.sent;
|
|
79
109
|
setExistingObjectSchema(fetchedObjectSchema);
|
|
80
|
-
_context.next =
|
|
110
|
+
_context.next = 13;
|
|
81
111
|
break;
|
|
82
|
-
case
|
|
83
|
-
_context.prev =
|
|
84
|
-
|
|
85
|
-
handleAssetsClientErrors(setExistingObjectSchemaError,
|
|
86
|
-
case
|
|
87
|
-
_context.prev =
|
|
88
|
-
_context.next =
|
|
112
|
+
case 12:
|
|
113
|
+
_context.prev = 12;
|
|
114
|
+
_t2 = _context["catch"](10);
|
|
115
|
+
handleAssetsClientErrors(setExistingObjectSchemaError, _t2);
|
|
116
|
+
case 13:
|
|
117
|
+
_context.prev = 13;
|
|
118
|
+
_context.next = 14;
|
|
89
119
|
return fetchObjectSchemas(_workspaceId, undefined, fireEvent);
|
|
90
|
-
case
|
|
120
|
+
case 14:
|
|
91
121
|
fetchedObjectSchemasResponse = _context.sent;
|
|
92
122
|
setObjectSchemas(fetchedObjectSchemasResponse.values);
|
|
93
123
|
setTotalObjectSchemas(fetchedObjectSchemasResponse.total);
|
|
94
|
-
_context.next =
|
|
124
|
+
_context.next = 16;
|
|
95
125
|
break;
|
|
96
|
-
case
|
|
97
|
-
_context.prev =
|
|
98
|
-
|
|
99
|
-
handleAssetsClientErrors(setObjectSchemasError,
|
|
100
|
-
case
|
|
101
|
-
_context.next =
|
|
126
|
+
case 15:
|
|
127
|
+
_context.prev = 15;
|
|
128
|
+
_t3 = _context["catch"](13);
|
|
129
|
+
handleAssetsClientErrors(setObjectSchemasError, _t3);
|
|
130
|
+
case 16:
|
|
131
|
+
_context.next = 18;
|
|
102
132
|
break;
|
|
103
|
-
case
|
|
104
|
-
_context.prev =
|
|
105
|
-
|
|
106
|
-
handleAssetsClientErrors(setWorkspaceError,
|
|
107
|
-
case
|
|
108
|
-
_context.prev =
|
|
133
|
+
case 17:
|
|
134
|
+
_context.prev = 17;
|
|
135
|
+
_t4 = _context["catch"](1);
|
|
136
|
+
handleAssetsClientErrors(setWorkspaceError, _t4);
|
|
137
|
+
case 18:
|
|
138
|
+
_context.prev = 18;
|
|
109
139
|
setLoading(false);
|
|
110
|
-
return _context.finish(
|
|
111
|
-
case
|
|
140
|
+
return _context.finish(18);
|
|
141
|
+
case 19:
|
|
112
142
|
case "end":
|
|
113
143
|
return _context.stop();
|
|
114
144
|
}
|
|
115
|
-
}, _callee, null, [[1,
|
|
145
|
+
}, _callee, null, [[1, 17, 18, 19], [2, 4], [10, 12], [13, 15]]);
|
|
116
146
|
}))();
|
|
117
|
-
}, [initialParameters, fireEvent]);
|
|
147
|
+
}, [initialParameters, fireEvent, cloudId]);
|
|
118
148
|
return {
|
|
119
149
|
workspaceId: workspaceId,
|
|
120
150
|
workspaceError: workspaceError,
|
|
@@ -46,26 +46,62 @@ export var getWorkspaceId = /*#__PURE__*/function () {
|
|
|
46
46
|
return _ref.apply(this, arguments);
|
|
47
47
|
};
|
|
48
48
|
}();
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
|
|
50
|
+
// Resolves the primary Unit workspace via the unit-aware resolver, keyed by the
|
|
51
|
+
// current-site cloudId. Gated at the call-site behind
|
|
52
|
+
// `astral_units_workspace_host_resolver`.
|
|
53
|
+
export var resolvePrimaryWorkspace = /*#__PURE__*/function () {
|
|
54
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(cloudId) {
|
|
55
|
+
var url, res;
|
|
52
56
|
return _regeneratorRuntime.wrap(function (_context2) {
|
|
53
57
|
while (1) switch (_context2.prev = _context2.next) {
|
|
58
|
+
case 0:
|
|
59
|
+
url = '/assets/internal/workspace?productContext=confluence';
|
|
60
|
+
_context2.next = 1;
|
|
61
|
+
return request('get', url, undefined, {
|
|
62
|
+
'x-atlassian-cloud-id': cloudId
|
|
63
|
+
}, [200]);
|
|
64
|
+
case 1:
|
|
65
|
+
res = _context2.sent;
|
|
66
|
+
if (res !== null && res !== void 0 && res.linkedAssetsWorkspaceId) {
|
|
67
|
+
_context2.next = 2;
|
|
68
|
+
break;
|
|
69
|
+
}
|
|
70
|
+
throw new Error('Assets workspace resolver returned no workspaceId');
|
|
71
|
+
case 2:
|
|
72
|
+
return _context2.abrupt("return", {
|
|
73
|
+
workspaceId: res.linkedAssetsWorkspaceId
|
|
74
|
+
});
|
|
75
|
+
case 3:
|
|
76
|
+
case "end":
|
|
77
|
+
return _context2.stop();
|
|
78
|
+
}
|
|
79
|
+
}, _callee2);
|
|
80
|
+
}));
|
|
81
|
+
return function resolvePrimaryWorkspace(_x2) {
|
|
82
|
+
return _ref2.apply(this, arguments);
|
|
83
|
+
};
|
|
84
|
+
}();
|
|
85
|
+
export var validateAql = /*#__PURE__*/function () {
|
|
86
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(workspaceId, data, fireEvent) {
|
|
87
|
+
var url, response, error, _t2;
|
|
88
|
+
return _regeneratorRuntime.wrap(function (_context3) {
|
|
89
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
54
90
|
case 0:
|
|
55
91
|
url = "/gateway/api/jsm/assets/workspace/".concat(workspaceId, "/v1/aql/validate");
|
|
56
|
-
|
|
57
|
-
|
|
92
|
+
_context3.prev = 1;
|
|
93
|
+
_context3.next = 2;
|
|
58
94
|
return request('post', url, {
|
|
59
95
|
qlQuery: data.qlQuery,
|
|
60
96
|
context: 'SMART_LINKS'
|
|
61
97
|
}, undefined, [200, 201, 202, 203, 204]);
|
|
62
98
|
case 2:
|
|
63
|
-
response =
|
|
99
|
+
response = _context3.sent;
|
|
64
100
|
fireEvent && fireEvent('operational.validateAql.success', {});
|
|
65
|
-
return
|
|
101
|
+
return _context3.abrupt("return", response);
|
|
66
102
|
case 3:
|
|
67
|
-
|
|
68
|
-
_t2 =
|
|
103
|
+
_context3.prev = 3;
|
|
104
|
+
_t2 = _context3["catch"](1);
|
|
69
105
|
error = mapFetchErrors(_t2);
|
|
70
106
|
if (error instanceof FetchError) {
|
|
71
107
|
fireEvent && fireEvent('operational.validateAql.failed', {
|
|
@@ -78,31 +114,31 @@ export var validateAql = /*#__PURE__*/function () {
|
|
|
78
114
|
throw error;
|
|
79
115
|
case 4:
|
|
80
116
|
case "end":
|
|
81
|
-
return
|
|
117
|
+
return _context3.stop();
|
|
82
118
|
}
|
|
83
|
-
},
|
|
119
|
+
}, _callee3, null, [[1, 3]]);
|
|
84
120
|
}));
|
|
85
|
-
return function validateAql(
|
|
86
|
-
return
|
|
121
|
+
return function validateAql(_x3, _x4, _x5) {
|
|
122
|
+
return _ref3.apply(this, arguments);
|
|
87
123
|
};
|
|
88
124
|
}();
|
|
89
125
|
export var fetchObjectSchema = /*#__PURE__*/function () {
|
|
90
|
-
var
|
|
126
|
+
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(workspaceId, schemaId, fireEvent) {
|
|
91
127
|
var url, response, error, _t3;
|
|
92
|
-
return _regeneratorRuntime.wrap(function (
|
|
93
|
-
while (1) switch (
|
|
128
|
+
return _regeneratorRuntime.wrap(function (_context4) {
|
|
129
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
94
130
|
case 0:
|
|
95
131
|
url = "/gateway/api/jsm/assets/workspace/".concat(workspaceId, "/v1/objectschema/").concat(schemaId);
|
|
96
|
-
|
|
97
|
-
|
|
132
|
+
_context4.prev = 1;
|
|
133
|
+
_context4.next = 2;
|
|
98
134
|
return request('get', url, undefined, undefined, [200, 201, 202, 203, 204]);
|
|
99
135
|
case 2:
|
|
100
|
-
response =
|
|
136
|
+
response = _context4.sent;
|
|
101
137
|
fireEvent && fireEvent('operational.objectSchema.success', {});
|
|
102
|
-
return
|
|
138
|
+
return _context4.abrupt("return", response);
|
|
103
139
|
case 3:
|
|
104
|
-
|
|
105
|
-
_t3 =
|
|
140
|
+
_context4.prev = 3;
|
|
141
|
+
_t3 = _context4["catch"](1);
|
|
106
142
|
error = mapFetchErrors(_t3);
|
|
107
143
|
if (error instanceof FetchError) {
|
|
108
144
|
fireEvent && fireEvent('operational.objectSchema.failed', {
|
|
@@ -115,35 +151,35 @@ export var fetchObjectSchema = /*#__PURE__*/function () {
|
|
|
115
151
|
throw error;
|
|
116
152
|
case 4:
|
|
117
153
|
case "end":
|
|
118
|
-
return
|
|
154
|
+
return _context4.stop();
|
|
119
155
|
}
|
|
120
|
-
},
|
|
156
|
+
}, _callee4, null, [[1, 3]]);
|
|
121
157
|
}));
|
|
122
|
-
return function fetchObjectSchema(
|
|
123
|
-
return
|
|
158
|
+
return function fetchObjectSchema(_x6, _x7, _x8) {
|
|
159
|
+
return _ref4.apply(this, arguments);
|
|
124
160
|
};
|
|
125
161
|
}();
|
|
126
162
|
export var fetchObjectSchemas = /*#__PURE__*/function () {
|
|
127
|
-
var
|
|
163
|
+
var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5(workspaceId, query, fireEvent) {
|
|
128
164
|
var queryParams, url, response, error, _t4;
|
|
129
|
-
return _regeneratorRuntime.wrap(function (
|
|
130
|
-
while (1) switch (
|
|
165
|
+
return _regeneratorRuntime.wrap(function (_context5) {
|
|
166
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
131
167
|
case 0:
|
|
132
168
|
queryParams = new URLSearchParams();
|
|
133
169
|
queryParams.set('maxResults', '20');
|
|
134
170
|
queryParams.set('includeCounts', 'false');
|
|
135
171
|
query && queryParams.set('query', query);
|
|
136
172
|
url = "/gateway/api/jsm/assets/workspace/".concat(workspaceId, "/v1/objectschema/list?").concat(queryParams);
|
|
137
|
-
|
|
138
|
-
|
|
173
|
+
_context5.prev = 1;
|
|
174
|
+
_context5.next = 2;
|
|
139
175
|
return request('get', url, undefined, undefined, [200, 201, 202, 203, 204]);
|
|
140
176
|
case 2:
|
|
141
|
-
response =
|
|
177
|
+
response = _context5.sent;
|
|
142
178
|
fireEvent && fireEvent('operational.objectSchemas.success', {});
|
|
143
|
-
return
|
|
179
|
+
return _context5.abrupt("return", response);
|
|
144
180
|
case 3:
|
|
145
|
-
|
|
146
|
-
_t4 =
|
|
181
|
+
_context5.prev = 3;
|
|
182
|
+
_t4 = _context5["catch"](1);
|
|
147
183
|
error = mapFetchErrors(_t4);
|
|
148
184
|
if (error instanceof FetchError) {
|
|
149
185
|
fireEvent && fireEvent('operational.objectSchemas.failed', {
|
|
@@ -156,11 +192,11 @@ export var fetchObjectSchemas = /*#__PURE__*/function () {
|
|
|
156
192
|
throw error;
|
|
157
193
|
case 4:
|
|
158
194
|
case "end":
|
|
159
|
-
return
|
|
195
|
+
return _context5.stop();
|
|
160
196
|
}
|
|
161
|
-
},
|
|
197
|
+
}, _callee5, null, [[1, 3]]);
|
|
162
198
|
}));
|
|
163
|
-
return function fetchObjectSchemas(
|
|
164
|
-
return
|
|
199
|
+
return function fetchObjectSchemas(_x9, _x0, _x1) {
|
|
200
|
+
return _ref5.apply(this, arguments);
|
|
165
201
|
};
|
|
166
202
|
}();
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Read a `<meta name="...">` tag's content from the current document, with
|
|
3
|
+
* per-name caching. Browser-only: returns `undefined` under SSR or when absent.
|
|
4
|
+
*/
|
|
5
|
+
var cache = new Map();
|
|
6
|
+
export var getMeta = function getMeta(name) {
|
|
7
|
+
var _document$querySelect, _document$querySelect2;
|
|
8
|
+
if (typeof document === 'undefined') {
|
|
9
|
+
return undefined;
|
|
10
|
+
}
|
|
11
|
+
if (cache.has(name)) {
|
|
12
|
+
return cache.get(name);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// `name` is interpolated into a CSS attribute selector
|
|
16
|
+
var escapedName = typeof CSS !== 'undefined' && CSS.escape ? CSS.escape(name) : name;
|
|
17
|
+
var value = (_document$querySelect = (_document$querySelect2 = document.querySelector("meta[name=\"".concat(escapedName, "\"]"))) === null || _document$querySelect2 === void 0 ? void 0 : _document$querySelect2.getAttribute('content')) !== null && _document$querySelect !== void 0 ? _document$querySelect : undefined;
|
|
18
|
+
cache.set(name, value);
|
|
19
|
+
return value;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Test-only: clear the cache so each test starts with a clean slate.
|
|
24
|
+
*/
|
|
25
|
+
export var __clearMetaCacheForTests = function __clearMetaCacheForTests() {
|
|
26
|
+
cache.clear();
|
|
27
|
+
};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wire shape of the unit-aware `/assets/internal/workspace` resolver response.
|
|
3
|
+
* `linkedAssetsWorkspaceId` is the workspace of the Unit's primary Assets site.
|
|
4
|
+
*/
|
|
5
|
+
|
|
1
6
|
// These are to enforce the field "name" property and keep everything typed
|
|
2
7
|
export var objectSchemaKey = 'objectSchema';
|
|
3
8
|
export var aqlKey = 'aql';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
@@ -11,7 +11,7 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
|
11
11
|
import { FormattedMessage } from 'react-intl';
|
|
12
12
|
import { withAnalyticsContext } from '@atlaskit/analytics-next';
|
|
13
13
|
import Button from '@atlaskit/button/standard-button';
|
|
14
|
-
import
|
|
14
|
+
import IntlMessagesProvider from '@atlaskit/intl-messages-provider/main';
|
|
15
15
|
import { ModalBody, ModalFooter, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
|
|
16
16
|
import { EVENT_CHANNEL, useDatasourceAnalyticsEvents } from '../../../analytics';
|
|
17
17
|
import { componentMetadata } from '../../../analytics/constants';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
._19itia51{border:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}
|
|
3
2
|
._n7zl1mpn{border-bottom:var(--ds-border-width-selected,2px) solid var(--ds-background-accent-gray-subtler,#dddee1)}._12vemgnk{background-repeat:no-repeat}
|
|
4
3
|
._13li1mok{border-top-left-radius:var(--ds-radius-large,8px)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["as", "style"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["as", "style"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* loading-state.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* loading-state.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["as", "style"],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* modal-loading-error.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* modal-loading-error.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import "./modal-loading-error.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* provider-auth-required-svg.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* provider-auth-required-svg.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import "./provider-auth-required-svg.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* provider-auth-required.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* provider-auth-required.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import "./provider-auth-required.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* display-view-drop-down.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* display-view-drop-down.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["triggerRef"];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./index.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
7
|
import Tooltip from '@atlaskit/tooltip';
|
|
8
|
-
import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
8
|
+
import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
|
|
9
9
|
import { DatasourceAction } from '../../../../analytics/types';
|
|
10
10
|
import { useUserInteractions } from '../../../../contexts/user-interactions';
|
|
11
11
|
import { DisplayViewDropDown } from '../display-view-dropdown/display-view-drop-down';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* control.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* control.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["children"];
|