Updates React et al to 16.6 (#24707)

* Updates react to 16.6 (latest)

* Updated fragment-based snapshots for Kibana root unit tests

* Updated fragment-based snapshots for x-pack unit tests

* Removed xpack yarn.lock file bc it is no longer needed, it was reintroduced by accident during a rebase in this branch

* React 16.6 snapshot updates, round 2 (mostly Fragment snapshot diffs)

* Updated last round of React 16.6 snapshots

* Fixes query bar issue with 16.4 gDSFP lifecycle

* Updated yarn lock (arraybuffer.slice updated)

* Updates snapshots where executeQueryOptions prop appears
This commit is contained in:
Jason Rhodes 2019-01-23 13:46:09 -05:00 committed by GitHub
parent 09f890483f
commit a11e471420
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
72 changed files with 3764 additions and 3474 deletions

View file

@ -190,11 +190,11 @@
"pug": "^2.0.3",
"querystring-browser": "1.0.4",
"raw-loader": "0.5.1",
"react": "^16.3.0",
"react": "^16.6.0",
"react-addons-shallow-compare": "15.6.2",
"react-anything-sortable": "^1.7.4",
"react-color": "^2.13.8",
"react-dom": "^16.3.0",
"react-dom": "^16.6.0",
"react-grid-layout": "^0.16.2",
"react-input-range": "^1.3.0",
"react-markdown": "^3.1.4",
@ -324,9 +324,10 @@
"classnames": "2.2.5",
"dedent": "^0.7.0",
"delete-empty": "^2.0.0",
"enzyme": "3.2.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "3.3.1",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"enzyme-adapter-utils": "^1.8.1",
"enzyme-to-json": "^3.3.4",
"eslint": "^5.6.0",
"eslint-config-prettier": "^3.1.0",
"eslint-plugin-babel": "^5.2.0",

View file

@ -524,50 +524,48 @@ exports[`after fetch renders warning when listingLimit is exceeded 1`] = `
<EuiSpacer
size="m"
/>
<React.Fragment>
<EuiCallOut
color="warning"
iconType="help"
size="m"
title={
<FormattedMessage
defaultMessage="Listing limit exceeded"
id="kbn.dashboard.listing.listingLimitExceededTitle"
values={Object {}}
/>
}
>
<p>
<FormattedMessage
defaultMessage="You have {totalDashboards} dashboards, but your {listingLimitText} setting prevents the table below from displaying more than {listingLimitValue}. You can change this setting under {advancedSettingsLink}."
id="kbn.dashboard.listing.listingLimitExceededDescription"
values={
Object {
"advancedSettingsLink": <EuiLink
color="primary"
href="#/management/kibana/settings"
type="button"
>
<FormattedMessage
defaultMessage="Advanced Settings"
id="kbn.dashboard.listing.listingLimitExceeded.advancedSettingsLinkText"
values={Object {}}
/>
</EuiLink>,
"listingLimitText": <strong>
listingLimit
</strong>,
"listingLimitValue": 1,
"totalDashboards": 2,
}
<EuiCallOut
color="warning"
iconType="help"
size="m"
title={
<FormattedMessage
defaultMessage="Listing limit exceeded"
id="kbn.dashboard.listing.listingLimitExceededTitle"
values={Object {}}
/>
}
>
<p>
<FormattedMessage
defaultMessage="You have {totalDashboards} dashboards, but your {listingLimitText} setting prevents the table below from displaying more than {listingLimitValue}. You can change this setting under {advancedSettingsLink}."
id="kbn.dashboard.listing.listingLimitExceededDescription"
values={
Object {
"advancedSettingsLink": <EuiLink
color="primary"
href="#/management/kibana/settings"
type="button"
>
<FormattedMessage
defaultMessage="Advanced Settings"
id="kbn.dashboard.listing.listingLimitExceeded.advancedSettingsLinkText"
values={Object {}}
/>
</EuiLink>,
"listingLimitText": <strong>
listingLimit
</strong>,
"listingLimitValue": 1,
"totalDashboards": 2,
}
/>
</p>
</EuiCallOut>
<EuiSpacer
size="m"
/>
</React.Fragment>
}
/>
</p>
</EuiCallOut>
<EuiSpacer
size="m"
/>
<EuiFlexGroup
alignItems="stretch"
component="div"

View file

@ -1012,22 +1012,20 @@ exports[`home should render home component 1`] = `
<EuiPageBody
restrictWidth={false}
>
<React.Fragment>
<RecentlyAccessed
recentlyAccessed={
Array [
Object {
"id": "1",
"label": "my vis",
"link": "link_to_my_vis",
},
]
}
/>
<EuiSpacer
size="l"
/>
</React.Fragment>
<RecentlyAccessed
recentlyAccessed={
Array [
Object {
"id": "1",
"label": "my vis",
"link": "link_to_my_vis",
},
]
}
/>
<EuiSpacer
size="l"
/>
<InjectIntl(AddDataUi)
apmUiEnabled={true}
isNewKibanaInstance={false}

View file

@ -49,82 +49,74 @@ exports[`render 1`] = `
responsive={true}
wrap={false}
>
<React.Fragment
key="0"
>
<EuiFlexItem
className="homRecentlyAccessed__item"
component="div"
grow={false}
style={
Object {
"minWidth": "3.9000000000000004em",
}
<EuiFlexItem
className="homRecentlyAccessed__item"
component="div"
grow={false}
style={
Object {
"minWidth": "3.9000000000000004em",
}
>
<EuiToolTip
anchorClassName="homRecentlyAccessed__anchor"
content="label0"
delay="regular"
position="bottom"
>
<EuiLink
className="homRecentlyAccessed__longLink"
color="primary"
href="link0"
type="button"
>
label0
</EuiLink>
</EuiToolTip>
</EuiFlexItem>
</React.Fragment>
<React.Fragment
key="1"
}
>
<EuiFlexItem
className="homRecentlyAccessed__separator"
component="div"
grow={false}
<EuiToolTip
anchorClassName="homRecentlyAccessed__anchor"
content="label0"
delay="regular"
position="bottom"
>
<EuiText
grow={true}
<EuiLink
className="homRecentlyAccessed__longLink"
color="primary"
href="link0"
type="button"
>
label0
</EuiLink>
</EuiToolTip>
</EuiFlexItem>
<EuiFlexItem
className="homRecentlyAccessed__separator"
component="div"
grow={false}
>
<EuiText
grow={true}
size="m"
>
<EuiIcon
color="subdued"
size="m"
>
<EuiIcon
color="subdued"
size="m"
type="dot"
/>
</EuiText>
</EuiFlexItem>
<EuiFlexItem
className="homRecentlyAccessed__item"
component="div"
grow={false}
style={
Object {
"minWidth": "3.9000000000000004em",
}
type="dot"
/>
</EuiText>
</EuiFlexItem>
<EuiFlexItem
className="homRecentlyAccessed__item"
component="div"
grow={false}
style={
Object {
"minWidth": "3.9000000000000004em",
}
}
>
<EuiToolTip
anchorClassName="homRecentlyAccessed__anchor"
content="label1"
delay="regular"
position="bottom"
>
<EuiToolTip
anchorClassName="homRecentlyAccessed__anchor"
content="label1"
delay="regular"
position="bottom"
<EuiLink
className="homRecentlyAccessed__longLink"
color="primary"
href="link1"
type="button"
>
<EuiLink
className="homRecentlyAccessed__longLink"
color="primary"
href="link1"
type="button"
>
label1
</EuiLink>
</EuiToolTip>
</EuiFlexItem>
</React.Fragment>
label1
</EuiLink>
</EuiToolTip>
</EuiFlexItem>
</EuiFlexGroup>
</EuiFlexItem>
<EuiFlexItem

View file

@ -8,32 +8,30 @@ exports[`isCloudEnabled is false should not render instruction toggle when ON_PR
<EuiPageBody
restrictWidth={false}
>
<React.Fragment>
<div>
<EuiLink
color="primary"
href="#/home"
type="button"
>
Home
</EuiLink>
/
<EuiLink
color="primary"
href="#/home/tutorial_directory"
type="button"
>
Add data
</EuiLink>
/
jest test tutorial
</div>
<EuiSpacer
size="s"
/>
</React.Fragment>
<div>
<EuiLink
color="primary"
href="#/home"
type="button"
>
Home
</EuiLink>
/
<EuiLink
color="primary"
href="#/home/tutorial_directory"
type="button"
>
Add data
</EuiLink>
/
jest test tutorial
</div>
<EuiSpacer
size="s"
/>
<div>
<InjectIntl(IntroductionUI)
description="tutorial used to drive jest tests"
@ -89,32 +87,30 @@ exports[`isCloudEnabled is false should render ON_PREM instructions with instruc
<EuiPageBody
restrictWidth={false}
>
<React.Fragment>
<div>
<EuiLink
color="primary"
href="#/home"
type="button"
>
Home
</EuiLink>
/
<EuiLink
color="primary"
href="#/home/tutorial_directory"
type="button"
>
Add data
</EuiLink>
/
jest test tutorial
</div>
<EuiSpacer
size="s"
/>
</React.Fragment>
<div>
<EuiLink
color="primary"
href="#/home"
type="button"
>
Home
</EuiLink>
/
<EuiLink
color="primary"
href="#/home/tutorial_directory"
type="button"
>
Add data
</EuiLink>
/
jest test tutorial
</div>
<EuiSpacer
size="s"
/>
<div>
<InjectIntl(IntroductionUI)
description="tutorial used to drive jest tests"
@ -263,32 +259,30 @@ exports[`should render ELASTIC_CLOUD instructions when isCloudEnabled is true 1`
<EuiPageBody
restrictWidth={false}
>
<React.Fragment>
<div>
<EuiLink
color="primary"
href="#/home"
type="button"
>
Home
</EuiLink>
/
<EuiLink
color="primary"
href="#/home/tutorial_directory"
type="button"
>
Add data
</EuiLink>
/
jest test tutorial
</div>
<EuiSpacer
size="s"
/>
</React.Fragment>
<div>
<EuiLink
color="primary"
href="#/home"
type="button"
>
Home
</EuiLink>
/
<EuiLink
color="primary"
href="#/home/tutorial_directory"
type="button"
>
Add data
</EuiLink>
/
jest test tutorial
</div>
<EuiSpacer
size="s"
/>
<div>
<InjectIntl(IntroductionUI)
description="tutorial used to drive jest tests"

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CreateIndexPatternWizard defaults to the loading state 1`] = `
<React.Fragment>
<Fragment>
<div>
<Header
indexPatternName="name"
@ -17,11 +17,11 @@ exports[`CreateIndexPatternWizard defaults to the loading state 1`] = `
toastLifeTimeMs={6000}
toasts={Array []}
/>
</React.Fragment>
</Fragment>
`;
exports[`CreateIndexPatternWizard renders index pattern step when there are indices 1`] = `
<React.Fragment>
<Fragment>
<div>
<Header
indexPatternName="name"
@ -61,11 +61,11 @@ exports[`CreateIndexPatternWizard renders index pattern step when there are indi
toastLifeTimeMs={6000}
toasts={Array []}
/>
</React.Fragment>
</Fragment>
`;
exports[`CreateIndexPatternWizard renders the empty state when there are no indices 1`] = `
<React.Fragment>
<Fragment>
<div>
<Header
indexPatternName="name"
@ -83,11 +83,11 @@ exports[`CreateIndexPatternWizard renders the empty state when there are no indi
toastLifeTimeMs={6000}
toasts={Array []}
/>
</React.Fragment>
</Fragment>
`;
exports[`CreateIndexPatternWizard renders time field step when step is set to 2 1`] = `
<React.Fragment>
<Fragment>
<div>
<Header
indexPatternName="name"
@ -119,11 +119,11 @@ exports[`CreateIndexPatternWizard renders time field step when step is set to 2
toastLifeTimeMs={6000}
toasts={Array []}
/>
</React.Fragment>
</Fragment>
`;
exports[`CreateIndexPatternWizard renders when there are no indices but there are remote clusters 1`] = `
<React.Fragment>
<Fragment>
<div>
<Header
indexPatternName="name"
@ -157,11 +157,11 @@ exports[`CreateIndexPatternWizard renders when there are no indices but there ar
toastLifeTimeMs={6000}
toasts={Array []}
/>
</React.Fragment>
</Fragment>
`;
exports[`CreateIndexPatternWizard shows system indices even if there are no other indices if the include system indices is toggled 1`] = `
<React.Fragment>
<Fragment>
<div>
<Header
indexPatternName="name"
@ -201,5 +201,5 @@ exports[`CreateIndexPatternWizard shows system indices even if there are no othe
toastLifeTimeMs={6000}
toasts={Array []}
/>
</React.Fragment>
</Fragment>
`;

View file

@ -16,13 +16,11 @@ exports[`Header should render a different name, prompt, and beta tag if provided
}
}
/>
<React.Fragment>
<EuiBetaBadge
label="Beta"
tooltipPosition="top"
/>
</React.Fragment>
<EuiBetaBadge
label="Beta"
tooltipPosition="top"
/>
</h1>
</EuiTitle>
<EuiFlexGroup
@ -57,14 +55,12 @@ exports[`Header should render a different name, prompt, and beta tag if provided
</EuiText>
</EuiFlexItem>
</EuiFlexGroup>
<React.Fragment>
<EuiSpacer
size="s"
/>
<div>
Test prompt
</div>
</React.Fragment>
<EuiSpacer
size="s"
/>
<div>
Test prompt
</div>
<EuiSpacer
size="m"
/>

View file

@ -2,26 +2,24 @@
exports[`Table editing should show a save button 1`] = `
<div>
<React.Fragment>
<EuiButtonIcon
aria-label="Save"
color="primary"
iconSize="m"
iconType="checkInCircleFilled"
onClick={[Function]}
size="s"
type="button"
/>
<EuiButtonIcon
aria-label="Cancel"
color="primary"
iconSize="m"
iconType="cross"
onClick={[Function]}
size="s"
type="button"
/>
</React.Fragment>
<EuiButtonIcon
aria-label="Save"
color="primary"
iconSize="m"
iconType="checkInCircleFilled"
onClick={[Function]}
size="s"
type="button"
/>
<EuiButtonIcon
aria-label="Cancel"
color="primary"
iconSize="m"
iconType="cross"
onClick={[Function]}
size="s"
type="button"
/>
</div>
`;

View file

@ -24,45 +24,43 @@ exports[`Flyout conflicts should allow conflict resolution 1`] = `
/>
</h2>
</EuiTitle>
<React.Fragment>
<EuiSpacer
size="s"
/>
<EuiCallOut
color="warning"
iconType="help"
size="m"
title={
<FormattedMessage
defaultMessage="Index Pattern Conflicts"
id="kbn.management.objects.objectsTable.flyout.indexPatternConflictsTitle"
values={Object {}}
/>
}
>
<p>
<FormattedMessage
defaultMessage="The following saved objects use index patterns that do not exist. Please select the index patterns you'd like re-associated with them. You can {indexPatternLink} if necessary."
id="kbn.management.objects.objectsTable.flyout.indexPatternConflictsDescription"
values={
Object {
"indexPatternLink": <EuiLink
color="primary"
href=""
type="button"
>
<FormattedMessage
defaultMessage="create a new index pattern"
id="kbn.management.objects.objectsTable.flyout.indexPatternConflictsCalloutLinkText"
values={Object {}}
/>
</EuiLink>,
}
<EuiSpacer
size="s"
/>
<EuiCallOut
color="warning"
iconType="help"
size="m"
title={
<FormattedMessage
defaultMessage="Index Pattern Conflicts"
id="kbn.management.objects.objectsTable.flyout.indexPatternConflictsTitle"
values={Object {}}
/>
}
>
<p>
<FormattedMessage
defaultMessage="The following saved objects use index patterns that do not exist. Please select the index patterns you'd like re-associated with them. You can {indexPatternLink} if necessary."
id="kbn.management.objects.objectsTable.flyout.indexPatternConflictsDescription"
values={
Object {
"indexPatternLink": <EuiLink
color="primary"
href=""
type="button"
>
<FormattedMessage
defaultMessage="create a new index pattern"
id="kbn.management.objects.objectsTable.flyout.indexPatternConflictsCalloutLinkText"
values={Object {}}
/>
</EuiLink>,
}
/>
</p>
</EuiCallOut>
</React.Fragment>
}
/>
</p>
</EuiCallOut>
</EuiFlyoutHeader>
<EuiFlyoutBody>
<EuiInMemoryTable

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Header should render normally 1`] = `
<React.Fragment>
<Fragment>
<EuiFlexGroup
alignItems="baseline"
component="div"
@ -130,5 +130,5 @@ exports[`Header should render normally 1`] = `
<EuiSpacer
size="m"
/>
</React.Fragment>
</Fragment>
`;

View file

@ -40,77 +40,73 @@ exports[`Relationships should render dashboards normally 1`] = `
textStyle="normal"
type="row"
>
<React.Fragment
key="visualizations"
<EuiDescriptionListTitle
style={
Object {
"marginBottom": "1rem",
}
}
>
<EuiDescriptionListTitle
style={
Object {
"marginBottom": "1rem",
}
<EuiCallOut
color="success"
size="m"
title={
<FormattedMessage
defaultMessage="Dashboard"
id="kbn.management.objects.objectsTable.relationships.dashboard.calloutTitle"
values={Object {}}
/>
}
>
<EuiCallOut
color="success"
size="m"
title={
<FormattedMessage
defaultMessage="Dashboard"
id="kbn.management.objects.objectsTable.relationships.dashboard.calloutTitle"
values={Object {}}
/>
}
>
<p>
<FormattedMessage
defaultMessage="Here are some visualizations used on this dashboard. You can safely delete this dashboard and the visualizations will still work properly."
id="kbn.management.objects.objectsTable.relationships.dashboard.calloutText"
values={Object {}}
/>
</p>
</EuiCallOut>
</EuiDescriptionListTitle>
<EuiInMemoryTable
columns={
Array [
Object {
"render": [Function],
"width": 24,
},
Object {
"field": "title",
"name": "Title",
"render": [Function],
},
Object {
"actions": Array [
Object {
"description": "View this saved object within Kibana",
"icon": "eye",
"name": "In app",
"onClick": [Function],
},
],
"name": "Actions",
},
]
}
executeQueryOptions={Object {}}
items={
Array [
Object {
"id": "1",
},
Object {
"id": "2",
},
]
}
pagination={true}
responsive={true}
sorting={false}
/>
</React.Fragment>
<p>
<FormattedMessage
defaultMessage="Here are some visualizations used on this dashboard. You can safely delete this dashboard and the visualizations will still work properly."
id="kbn.management.objects.objectsTable.relationships.dashboard.calloutText"
values={Object {}}
/>
</p>
</EuiCallOut>
</EuiDescriptionListTitle>
<EuiInMemoryTable
columns={
Array [
Object {
"render": [Function],
"width": 24,
},
Object {
"field": "title",
"name": "Title",
"render": [Function],
},
Object {
"actions": Array [
Object {
"description": "View this saved object within Kibana",
"icon": "eye",
"name": "In app",
"onClick": [Function],
},
],
"name": "Actions",
},
]
}
executeQueryOptions={Object {}}
items={
Array [
Object {
"id": "1",
},
Object {
"id": "2",
},
]
}
pagination={true}
responsive={true}
sorting={false}
/>
</EuiDescriptionList>
</EuiFlyoutBody>
</EuiFlyout>
@ -248,142 +244,134 @@ exports[`Relationships should render searches normally 1`] = `
textStyle="normal"
type="row"
>
<React.Fragment
key="indexPatterns"
<EuiDescriptionListTitle
style={
Object {
"marginBottom": "1rem",
}
}
>
<EuiDescriptionListTitle
style={
Object {
"marginBottom": "1rem",
}
<EuiCallOut
color="success"
size="m"
title={
<FormattedMessage
defaultMessage="Saved Search"
id="kbn.management.objects.objectsTable.relationships.search.calloutTitle"
values={Object {}}
/>
}
>
<EuiCallOut
color="success"
size="m"
title={
<FormattedMessage
defaultMessage="Saved Search"
id="kbn.management.objects.objectsTable.relationships.search.calloutTitle"
values={Object {}}
/>
}
>
<p>
<FormattedMessage
defaultMessage="Here is the index pattern tied to this saved search."
id="kbn.management.objects.objectsTable.relationships.search.calloutText"
values={Object {}}
/>
</p>
</EuiCallOut>
</EuiDescriptionListTitle>
<EuiInMemoryTable
columns={
Array [
Object {
"render": [Function],
"width": 24,
},
Object {
"field": "title",
"name": "Title",
"render": [Function],
},
Object {
"actions": Array [
Object {
"description": "View this saved object within Kibana",
"icon": "eye",
"name": "In app",
"onClick": [Function],
},
],
"name": "Actions",
},
]
}
executeQueryOptions={Object {}}
items={
Array [
Object {
"id": "1",
},
]
}
pagination={true}
responsive={true}
sorting={false}
/>
</React.Fragment>
<React.Fragment
key="visualizations"
>
<EuiDescriptionListTitle
style={
<p>
<FormattedMessage
defaultMessage="Here is the index pattern tied to this saved search."
id="kbn.management.objects.objectsTable.relationships.search.calloutText"
values={Object {}}
/>
</p>
</EuiCallOut>
</EuiDescriptionListTitle>
<EuiInMemoryTable
columns={
Array [
Object {
"marginBottom": "1rem",
}
"render": [Function],
"width": 24,
},
Object {
"field": "title",
"name": "Title",
"render": [Function],
},
Object {
"actions": Array [
Object {
"description": "View this saved object within Kibana",
"icon": "eye",
"name": "In app",
"onClick": [Function],
},
],
"name": "Actions",
},
]
}
executeQueryOptions={Object {}}
items={
Array [
Object {
"id": "1",
},
]
}
pagination={true}
responsive={true}
sorting={false}
/>
<EuiDescriptionListTitle
style={
Object {
"marginBottom": "1rem",
}
}
>
<EuiCallOut
color="warning"
size="m"
title={
<FormattedMessage
defaultMessage="Warning"
id="kbn.management.objects.objectsTable.relationships.warningTitle"
values={Object {}}
/>
}
>
<EuiCallOut
color="warning"
size="m"
title={
<FormattedMessage
defaultMessage="Warning"
id="kbn.management.objects.objectsTable.relationships.warningTitle"
values={Object {}}
/>
}
>
<p>
<FormattedMessage
defaultMessage="Here are some visualizations that use this saved search. If you delete this saved search, these visualizations will not longer work properly."
id="kbn.management.objects.objectsTable.relationships.search.visualizations.calloutText"
values={Object {}}
/>
</p>
</EuiCallOut>
</EuiDescriptionListTitle>
<EuiInMemoryTable
columns={
Array [
Object {
"render": [Function],
"width": 24,
},
Object {
"field": "title",
"name": "Title",
"render": [Function],
},
Object {
"actions": Array [
Object {
"description": "View this saved object within Kibana",
"icon": "eye",
"name": "In app",
"onClick": [Function],
},
],
"name": "Actions",
},
]
}
executeQueryOptions={Object {}}
items={
Array [
Object {
"id": "2",
},
]
}
pagination={true}
responsive={true}
sorting={false}
/>
</React.Fragment>
<p>
<FormattedMessage
defaultMessage="Here are some visualizations that use this saved search. If you delete this saved search, these visualizations will not longer work properly."
id="kbn.management.objects.objectsTable.relationships.search.visualizations.calloutText"
values={Object {}}
/>
</p>
</EuiCallOut>
</EuiDescriptionListTitle>
<EuiInMemoryTable
columns={
Array [
Object {
"render": [Function],
"width": 24,
},
Object {
"field": "title",
"name": "Title",
"render": [Function],
},
Object {
"actions": Array [
Object {
"description": "View this saved object within Kibana",
"icon": "eye",
"name": "In app",
"onClick": [Function],
},
],
"name": "Actions",
},
]
}
executeQueryOptions={Object {}}
items={
Array [
Object {
"id": "2",
},
]
}
pagination={true}
responsive={true}
sorting={false}
/>
</EuiDescriptionList>
</EuiFlyoutBody>
</EuiFlyout>
@ -429,77 +417,73 @@ exports[`Relationships should render visualizations normally 1`] = `
textStyle="normal"
type="row"
>
<React.Fragment
key="dashboards"
<EuiDescriptionListTitle
style={
Object {
"marginBottom": "1rem",
}
}
>
<EuiDescriptionListTitle
style={
Object {
"marginBottom": "1rem",
}
<EuiCallOut
color="warning"
size="m"
title={
<FormattedMessage
defaultMessage="Warning"
id="kbn.management.objects.objectsTable.relationships.warningTitle"
values={Object {}}
/>
}
>
<EuiCallOut
color="warning"
size="m"
title={
<FormattedMessage
defaultMessage="Warning"
id="kbn.management.objects.objectsTable.relationships.warningTitle"
values={Object {}}
/>
}
>
<p>
<FormattedMessage
defaultMessage="Here are some dashboards which contain this visualization. If you delete this visualization, these dashboards will no longer show them."
id="kbn.management.objects.objectsTable.relationships.visualization.calloutText"
values={Object {}}
/>
</p>
</EuiCallOut>
</EuiDescriptionListTitle>
<EuiInMemoryTable
columns={
Array [
Object {
"render": [Function],
"width": 24,
},
Object {
"field": "title",
"name": "Title",
"render": [Function],
},
Object {
"actions": Array [
Object {
"description": "View this saved object within Kibana",
"icon": "eye",
"name": "In app",
"onClick": [Function],
},
],
"name": "Actions",
},
]
}
executeQueryOptions={Object {}}
items={
Array [
Object {
"id": "1",
},
Object {
"id": "2",
},
]
}
pagination={true}
responsive={true}
sorting={false}
/>
</React.Fragment>
<p>
<FormattedMessage
defaultMessage="Here are some dashboards which contain this visualization. If you delete this visualization, these dashboards will no longer show them."
id="kbn.management.objects.objectsTable.relationships.visualization.calloutText"
values={Object {}}
/>
</p>
</EuiCallOut>
</EuiDescriptionListTitle>
<EuiInMemoryTable
columns={
Array [
Object {
"render": [Function],
"width": 24,
},
Object {
"field": "title",
"name": "Title",
"render": [Function],
},
Object {
"actions": Array [
Object {
"description": "View this saved object within Kibana",
"icon": "eye",
"name": "In app",
"onClick": [Function],
},
],
"name": "Actions",
},
]
}
executeQueryOptions={Object {}}
items={
Array [
Object {
"id": "1",
},
Object {
"id": "2",
},
]
}
pagination={true}
responsive={true}
sorting={false}
/>
</EuiDescriptionList>
</EuiFlyoutBody>
</EuiFlyout>

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Table should render normally 1`] = `
<React.Fragment>
<Fragment>
<EuiSearchBar
box={
Object {
@ -136,5 +136,5 @@ exports[`Table should render normally 1`] = `
}
/>
</div>
</React.Fragment>
</Fragment>
`;

View file

@ -1,9 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Form should not render no settings message when instructed not to 1`] = `<React.Fragment />`;
exports[`Form should not render no settings message when instructed not to 1`] = `<Fragment />`;
exports[`Form should render no settings message when there are no settings 1`] = `
<React.Fragment>
<Fragment>
<EuiPanel
grow={true}
hasShadow={false}
@ -29,225 +29,213 @@ exports[`Form should render no settings message when there are no settings 1`] =
}
/>
</EuiPanel>
</React.Fragment>
</Fragment>
`;
exports[`Form should render normally 1`] = `
<React.Fragment>
<React.Fragment
key="general"
<Fragment>
<EuiPanel
grow={true}
hasShadow={false}
paddingSize="l"
>
<EuiPanel
grow={true}
hasShadow={false}
paddingSize="l"
>
<EuiForm>
<EuiText
grow={true}
size="m"
<EuiForm>
<EuiText
grow={true}
size="m"
>
<EuiFlexGroup
alignItems="baseline"
component="div"
direction="row"
gutterSize="l"
justifyContent="flexStart"
responsive={true}
wrap={false}
>
<EuiFlexGroup
alignItems="baseline"
<EuiFlexItem
component="div"
direction="row"
gutterSize="l"
justifyContent="flexStart"
responsive={true}
wrap={false}
grow={false}
>
<EuiFlexItem
component="div"
grow={false}
>
<h2>
General
</h2>
</EuiFlexItem>
</EuiFlexGroup>
</EuiText>
<EuiSpacer
size="m"
/>
<Field
clear={[Function]}
key="general:test:date"
save={[Function]}
setting={
Object {
"ariaName": "general test date",
"category": Array [
"general",
],
"description": "bar",
"displayName": "Test date",
"name": "general:test:date",
}
<h2>
General
</h2>
</EuiFlexItem>
</EuiFlexGroup>
</EuiText>
<EuiSpacer
size="m"
/>
<Field
clear={[Function]}
key="general:test:date"
save={[Function]}
setting={
Object {
"ariaName": "general test date",
"category": Array [
"general",
],
"description": "bar",
"displayName": "Test date",
"name": "general:test:date",
}
/>
<Field
clear={[Function]}
key="setting:test"
save={[Function]}
setting={
Object {
"ariaName": "setting test",
"category": Array [
"general",
],
"description": "foo",
"displayName": "Test setting",
"name": "setting:test",
}
}
/>
<Field
clear={[Function]}
key="setting:test"
save={[Function]}
setting={
Object {
"ariaName": "setting test",
"category": Array [
"general",
],
"description": "foo",
"displayName": "Test setting",
"name": "setting:test",
}
/>
</EuiForm>
</EuiPanel>
<EuiSpacer
size="l"
/>
</React.Fragment>
<React.Fragment
key="dashboard"
}
/>
</EuiForm>
</EuiPanel>
<EuiSpacer
size="l"
/>
<EuiPanel
grow={true}
hasShadow={false}
paddingSize="l"
>
<EuiPanel
grow={true}
hasShadow={false}
paddingSize="l"
>
<EuiForm>
<EuiText
grow={true}
size="m"
<EuiForm>
<EuiText
grow={true}
size="m"
>
<EuiFlexGroup
alignItems="baseline"
component="div"
direction="row"
gutterSize="l"
justifyContent="flexStart"
responsive={true}
wrap={false}
>
<EuiFlexGroup
alignItems="baseline"
<EuiFlexItem
component="div"
direction="row"
gutterSize="l"
justifyContent="flexStart"
responsive={true}
wrap={false}
grow={false}
>
<EuiFlexItem
component="div"
grow={false}
>
<h2>
Dashboard
</h2>
</EuiFlexItem>
</EuiFlexGroup>
</EuiText>
<EuiSpacer
size="m"
/>
<Field
clear={[Function]}
key="dashboard:test:setting"
save={[Function]}
setting={
Object {
"ariaName": "dashboard test setting",
"category": Array [
"dashboard",
],
"displayName": "Dashboard test setting",
"name": "dashboard:test:setting",
}
<h2>
Dashboard
</h2>
</EuiFlexItem>
</EuiFlexGroup>
</EuiText>
<EuiSpacer
size="m"
/>
<Field
clear={[Function]}
key="dashboard:test:setting"
save={[Function]}
setting={
Object {
"ariaName": "dashboard test setting",
"category": Array [
"dashboard",
],
"displayName": "Dashboard test setting",
"name": "dashboard:test:setting",
}
/>
</EuiForm>
</EuiPanel>
<EuiSpacer
size="l"
/>
</React.Fragment>
<React.Fragment
key="x-pack"
}
/>
</EuiForm>
</EuiPanel>
<EuiSpacer
size="l"
/>
<EuiPanel
grow={true}
hasShadow={false}
paddingSize="l"
>
<EuiPanel
grow={true}
hasShadow={false}
paddingSize="l"
>
<EuiForm>
<EuiText
grow={true}
size="m"
<EuiForm>
<EuiText
grow={true}
size="m"
>
<EuiFlexGroup
alignItems="baseline"
component="div"
direction="row"
gutterSize="l"
justifyContent="flexStart"
responsive={true}
wrap={false}
>
<EuiFlexGroup
alignItems="baseline"
<EuiFlexItem
component="div"
direction="row"
gutterSize="l"
justifyContent="flexStart"
responsive={true}
wrap={false}
grow={false}
>
<EuiFlexItem
component="div"
grow={false}
>
<h2>
X-pack
</h2>
</EuiFlexItem>
<EuiFlexItem
component="div"
grow={false}
>
<em>
<FormattedMessage
defaultMessage="Search terms are hiding {settingsCount} settings {clearSearch}"
id="kbn.management.settings.form.searchResultText"
values={
Object {
"clearSearch": <EuiLink
color="primary"
onClick={[Function]}
type="button"
>
<em>
<FormattedMessage
defaultMessage="(clear search)"
id="kbn.management.settings.form.clearSearchResultText"
values={Object {}}
/>
</em>
</EuiLink>,
"settingsCount": 9,
}
<h2>
X-pack
</h2>
</EuiFlexItem>
<EuiFlexItem
component="div"
grow={false}
>
<em>
<FormattedMessage
defaultMessage="Search terms are hiding {settingsCount} settings {clearSearch}"
id="kbn.management.settings.form.searchResultText"
values={
Object {
"clearSearch": <EuiLink
color="primary"
onClick={[Function]}
type="button"
>
<em>
<FormattedMessage
defaultMessage="(clear search)"
id="kbn.management.settings.form.clearSearchResultText"
values={Object {}}
/>
</em>
</EuiLink>,
"settingsCount": 9,
}
/>
</em>
</EuiFlexItem>
</EuiFlexGroup>
</EuiText>
<EuiSpacer
size="m"
/>
<Field
clear={[Function]}
key="xpack:test:setting"
save={[Function]}
setting={
Object {
"ariaName": "xpack test setting",
"category": Array [
"x-pack",
],
"description": "bar",
"displayName": "X-Pack test setting",
"name": "xpack:test:setting",
}
}
/>
</em>
</EuiFlexItem>
</EuiFlexGroup>
</EuiText>
<EuiSpacer
size="m"
/>
<Field
clear={[Function]}
key="xpack:test:setting"
save={[Function]}
setting={
Object {
"ariaName": "xpack test setting",
"category": Array [
"x-pack",
],
"description": "bar",
"displayName": "X-Pack test setting",
"name": "xpack:test:setting",
}
/>
</EuiForm>
</EuiPanel>
<EuiSpacer
size="l"
/>
</React.Fragment>
</React.Fragment>
}
/>
</EuiForm>
</EuiPanel>
<EuiSpacer
size="l"
/>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Search should render normally 1`] = `
<React.Fragment>
<Fragment>
<EuiSearchBar
box={
Object {
@ -57,5 +57,5 @@ exports[`Search should render normally 1`] = `
}
}
/>
</React.Fragment>
</Fragment>
`;

View file

@ -15,29 +15,27 @@ exports[`FieldEditor should render create new scripted field correctly 1`] = `
size="m"
/>
<eui-form>
<React.Fragment>
<scripting-disabled-callOut
isVisible={false}
/>
<scripting-warning-callOut
isVisible={true}
/>
<ScriptingHelpFlyout
executeScript={[Function]}
indexPattern={
Object {
"fields": Array [
Object {
"name": "foobar",
},
],
}
<scripting-disabled-callOut
isVisible={false}
/>
<scripting-warning-callOut
isVisible={true}
/>
<ScriptingHelpFlyout
executeScript={[Function]}
indexPattern={
Object {
"fields": Array [
Object {
"name": "foobar",
},
],
}
isVisible={false}
lang="painless"
onClose={[Function]}
/>
</React.Fragment>
}
isVisible={false}
lang="painless"
onClose={[Function]}
/>
<eui-form-row
error="Name is required"
helpText={null}
@ -104,47 +102,45 @@ exports[`FieldEditor should render create new scripted field correctly 1`] = `
value="number"
/>
</eui-form-row>
<React.Fragment>
<eui-form-row
helpText={
<FormattedMessage
defaultMessage="Formatting allows you to control the way that specific values are displayed. It can also cause values to be completely changed and prevent highlighting in Discover from working."
id="common.ui.fieldEditor.formatLabel"
values={Object {}}
/>
}
label={
<FormattedMessage
defaultMessage="Format (Default: {defaultFormat})"
id="common.ui.fieldEditor.defaultFormatHeader"
values={
Object {
"defaultFormat": <eui-code>
Test format
</eui-code>,
}
<eui-form-row
helpText={
<FormattedMessage
defaultMessage="Formatting allows you to control the way that specific values are displayed. It can also cause values to be completely changed and prevent highlighting in Discover from working."
id="common.ui.fieldEditor.formatLabel"
values={Object {}}
/>
}
label={
<FormattedMessage
defaultMessage="Format (Default: {defaultFormat})"
id="common.ui.fieldEditor.defaultFormatHeader"
values={
Object {
"defaultFormat": <eui-code>
Test format
</eui-code>,
}
/>
}
>
<eui-select
data-test-subj="editorSelectedFormatId"
onChange={[Function]}
options={
Array [
Object {
"text": "- Default -",
"value": "",
},
Object {
"text": "Test format",
"value": "test_format",
},
]
}
/>
</eui-form-row>
</React.Fragment>
}
>
<eui-select
data-test-subj="editorSelectedFormatId"
onChange={[Function]}
options={
Array [
Object {
"text": "- Default -",
"value": "",
},
Object {
"text": "Test format",
"value": "test_format",
},
]
}
/>
</eui-form-row>
<eui-form-row
label="Popularity"
>
@ -153,47 +149,43 @@ exports[`FieldEditor should render create new scripted field correctly 1`] = `
onChange={[Function]}
/>
</eui-form-row>
<React.Fragment>
<eui-form-row
error="Script is required"
<eui-form-row
error="Script is required"
isInvalid={true}
label="Script"
>
<eui-textArea
data-test-subj="editorFieldScript"
isInvalid={true}
label="Script"
>
<eui-textArea
data-test-subj="editorFieldScript"
isInvalid={true}
onChange={[Function]}
onChange={[Function]}
/>
</eui-form-row>
<eui-form-row>
<eui-text>
<FormattedMessage
defaultMessage="Access fields with {code}."
id="common.ui.fieldEditor.script.accessWithLabel"
values={
Object {
"code": <code>
doc['some_field'].value
</code>,
}
}
/>
</eui-form-row>
<eui-form-row>
<React.Fragment>
<eui-text>
<FormattedMessage
defaultMessage="Access fields with {code}."
id="common.ui.fieldEditor.script.accessWithLabel"
values={
Object {
"code": <code>
doc['some_field'].value
</code>,
}
}
/>
</eui-text>
<br />
<eui-link
data-test-subj="scriptedFieldsHelpLink"
onClick={[Function]}
>
<FormattedMessage
defaultMessage="Get help with the syntax and preview the results of your script."
id="common.ui.fieldEditor.script.getHelpLabel"
values={Object {}}
/>
</eui-link>
</React.Fragment>
</eui-form-row>
</React.Fragment>
</eui-text>
<br />
<eui-link
data-test-subj="scriptedFieldsHelpLink"
onClick={[Function]}
>
<FormattedMessage
defaultMessage="Get help with the syntax and preview the results of your script."
id="common.ui.fieldEditor.script.getHelpLabel"
values={Object {}}
/>
</eui-link>
</eui-form-row>
<eui-form-row>
<eui-flex-group>
<eui-flex-item
@ -255,39 +247,37 @@ exports[`FieldEditor should render edit scripted field correctly 1`] = `
size="m"
/>
<eui-form>
<React.Fragment>
<scripting-disabled-callOut
isVisible={false}
/>
<scripting-warning-callOut
isVisible={true}
/>
<ScriptingHelpFlyout
executeScript={[Function]}
indexPattern={
Object {
"fields": Array [
Object {
"name": "foobar",
},
Object {
"format": Format {},
"lang": "painless",
"name": "test",
"script": "doc.test.value",
"scripted": true,
"type": "number",
},
],
}
<scripting-disabled-callOut
isVisible={false}
/>
<scripting-warning-callOut
isVisible={true}
/>
<ScriptingHelpFlyout
executeScript={[Function]}
indexPattern={
Object {
"fields": Array [
Object {
"name": "foobar",
},
Object {
"format": Format {},
"lang": "painless",
"name": "test",
"script": "doc.test.value",
"scripted": true,
"type": "number",
},
],
}
isVisible={false}
lang="painless"
name="test"
onClose={[Function]}
script="doc.test.value"
/>
</React.Fragment>
}
isVisible={false}
lang="painless"
name="test"
onClose={[Function]}
script="doc.test.value"
/>
<eui-form-row
helpText={null}
label="Language"
@ -340,47 +330,45 @@ exports[`FieldEditor should render edit scripted field correctly 1`] = `
value="number"
/>
</eui-form-row>
<React.Fragment>
<eui-form-row
helpText={
<FormattedMessage
defaultMessage="Formatting allows you to control the way that specific values are displayed. It can also cause values to be completely changed and prevent highlighting in Discover from working."
id="common.ui.fieldEditor.formatLabel"
values={Object {}}
/>
}
label={
<FormattedMessage
defaultMessage="Format (Default: {defaultFormat})"
id="common.ui.fieldEditor.defaultFormatHeader"
values={
Object {
"defaultFormat": <eui-code>
Test format
</eui-code>,
}
<eui-form-row
helpText={
<FormattedMessage
defaultMessage="Formatting allows you to control the way that specific values are displayed. It can also cause values to be completely changed and prevent highlighting in Discover from working."
id="common.ui.fieldEditor.formatLabel"
values={Object {}}
/>
}
label={
<FormattedMessage
defaultMessage="Format (Default: {defaultFormat})"
id="common.ui.fieldEditor.defaultFormatHeader"
values={
Object {
"defaultFormat": <eui-code>
Test format
</eui-code>,
}
/>
}
>
<eui-select
data-test-subj="editorSelectedFormatId"
onChange={[Function]}
options={
Array [
Object {
"text": "- Default -",
"value": "",
},
Object {
"text": "Test format",
"value": "test_format",
},
]
}
/>
</eui-form-row>
</React.Fragment>
}
>
<eui-select
data-test-subj="editorSelectedFormatId"
onChange={[Function]}
options={
Array [
Object {
"text": "- Default -",
"value": "",
},
Object {
"text": "Test format",
"value": "test_format",
},
]
}
/>
</eui-form-row>
<eui-form-row
label="Popularity"
>
@ -389,48 +377,44 @@ exports[`FieldEditor should render edit scripted field correctly 1`] = `
onChange={[Function]}
/>
</eui-form-row>
<React.Fragment>
<eui-form-row
error={null}
<eui-form-row
error={null}
isInvalid={false}
label="Script"
>
<eui-textArea
data-test-subj="editorFieldScript"
isInvalid={false}
label="Script"
>
<eui-textArea
data-test-subj="editorFieldScript"
isInvalid={false}
onChange={[Function]}
value="doc.test.value"
onChange={[Function]}
value="doc.test.value"
/>
</eui-form-row>
<eui-form-row>
<eui-text>
<FormattedMessage
defaultMessage="Access fields with {code}."
id="common.ui.fieldEditor.script.accessWithLabel"
values={
Object {
"code": <code>
doc['some_field'].value
</code>,
}
}
/>
</eui-form-row>
<eui-form-row>
<React.Fragment>
<eui-text>
<FormattedMessage
defaultMessage="Access fields with {code}."
id="common.ui.fieldEditor.script.accessWithLabel"
values={
Object {
"code": <code>
doc['some_field'].value
</code>,
}
}
/>
</eui-text>
<br />
<eui-link
data-test-subj="scriptedFieldsHelpLink"
onClick={[Function]}
>
<FormattedMessage
defaultMessage="Get help with the syntax and preview the results of your script."
id="common.ui.fieldEditor.script.getHelpLabel"
values={Object {}}
/>
</eui-link>
</React.Fragment>
</eui-form-row>
</React.Fragment>
</eui-text>
<br />
<eui-link
data-test-subj="scriptedFieldsHelpLink"
onClick={[Function]}
>
<FormattedMessage
defaultMessage="Get help with the syntax and preview the results of your script."
id="common.ui.fieldEditor.script.getHelpLabel"
values={Object {}}
/>
</eui-link>
</eui-form-row>
<eui-form-row>
<eui-flex-group>
<eui-flex-item
@ -508,46 +492,44 @@ exports[`FieldEditor should show conflict field warning 1`] = `
size="m"
/>
<eui-form>
<React.Fragment>
<scripting-disabled-callOut
isVisible={false}
/>
<scripting-warning-callOut
isVisible={true}
/>
<ScriptingHelpFlyout
executeScript={[Function]}
indexPattern={
Object {
"fields": Array [
Object {
"name": "foobar",
},
Object {
"format": Format {},
"lang": "painless",
"name": "test",
"script": "doc.test.value",
"scripted": true,
"type": "number",
},
Object {
"format": Format {},
"lang": "testlang",
"name": "test",
"script": "doc.test.value",
"scripted": true,
"type": "number",
},
],
}
<scripting-disabled-callOut
isVisible={false}
/>
<scripting-warning-callOut
isVisible={true}
/>
<ScriptingHelpFlyout
executeScript={[Function]}
indexPattern={
Object {
"fields": Array [
Object {
"name": "foobar",
},
Object {
"format": Format {},
"lang": "painless",
"name": "test",
"script": "doc.test.value",
"scripted": true,
"type": "number",
},
Object {
"format": Format {},
"lang": "testlang",
"name": "test",
"script": "doc.test.value",
"scripted": true,
"type": "number",
},
],
}
isVisible={false}
lang="painless"
name="foobar"
onClose={[Function]}
/>
</React.Fragment>
}
isVisible={false}
lang="painless"
name="foobar"
onClose={[Function]}
/>
<eui-form-row
error={null}
helpText={
@ -641,47 +623,45 @@ exports[`FieldEditor should show conflict field warning 1`] = `
value="number"
/>
</eui-form-row>
<React.Fragment>
<eui-form-row
helpText={
<FormattedMessage
defaultMessage="Formatting allows you to control the way that specific values are displayed. It can also cause values to be completely changed and prevent highlighting in Discover from working."
id="common.ui.fieldEditor.formatLabel"
values={Object {}}
/>
}
label={
<FormattedMessage
defaultMessage="Format (Default: {defaultFormat})"
id="common.ui.fieldEditor.defaultFormatHeader"
values={
Object {
"defaultFormat": <eui-code>
Test format
</eui-code>,
}
<eui-form-row
helpText={
<FormattedMessage
defaultMessage="Formatting allows you to control the way that specific values are displayed. It can also cause values to be completely changed and prevent highlighting in Discover from working."
id="common.ui.fieldEditor.formatLabel"
values={Object {}}
/>
}
label={
<FormattedMessage
defaultMessage="Format (Default: {defaultFormat})"
id="common.ui.fieldEditor.defaultFormatHeader"
values={
Object {
"defaultFormat": <eui-code>
Test format
</eui-code>,
}
/>
}
>
<eui-select
data-test-subj="editorSelectedFormatId"
onChange={[Function]}
options={
Array [
Object {
"text": "- Default -",
"value": "",
},
Object {
"text": "Test format",
"value": "test_format",
},
]
}
/>
</eui-form-row>
</React.Fragment>
}
>
<eui-select
data-test-subj="editorSelectedFormatId"
onChange={[Function]}
options={
Array [
Object {
"text": "- Default -",
"value": "",
},
Object {
"text": "Test format",
"value": "test_format",
},
]
}
/>
</eui-form-row>
<eui-form-row
label="Popularity"
>
@ -690,47 +670,43 @@ exports[`FieldEditor should show conflict field warning 1`] = `
onChange={[Function]}
/>
</eui-form-row>
<React.Fragment>
<eui-form-row
error="Script is required"
<eui-form-row
error="Script is required"
isInvalid={true}
label="Script"
>
<eui-textArea
data-test-subj="editorFieldScript"
isInvalid={true}
label="Script"
>
<eui-textArea
data-test-subj="editorFieldScript"
isInvalid={true}
onChange={[Function]}
onChange={[Function]}
/>
</eui-form-row>
<eui-form-row>
<eui-text>
<FormattedMessage
defaultMessage="Access fields with {code}."
id="common.ui.fieldEditor.script.accessWithLabel"
values={
Object {
"code": <code>
doc['some_field'].value
</code>,
}
}
/>
</eui-form-row>
<eui-form-row>
<React.Fragment>
<eui-text>
<FormattedMessage
defaultMessage="Access fields with {code}."
id="common.ui.fieldEditor.script.accessWithLabel"
values={
Object {
"code": <code>
doc['some_field'].value
</code>,
}
}
/>
</eui-text>
<br />
<eui-link
data-test-subj="scriptedFieldsHelpLink"
onClick={[Function]}
>
<FormattedMessage
defaultMessage="Get help with the syntax and preview the results of your script."
id="common.ui.fieldEditor.script.getHelpLabel"
values={Object {}}
/>
</eui-link>
</React.Fragment>
</eui-form-row>
</React.Fragment>
</eui-text>
<br />
<eui-link
data-test-subj="scriptedFieldsHelpLink"
onClick={[Function]}
>
<FormattedMessage
defaultMessage="Get help with the syntax and preview the results of your script."
id="common.ui.fieldEditor.script.getHelpLabel"
values={Object {}}
/>
</eui-link>
</eui-form-row>
<eui-form-row>
<eui-flex-group>
<eui-flex-item
@ -792,47 +768,45 @@ exports[`FieldEditor should show deprecated lang warning 1`] = `
size="m"
/>
<eui-form>
<React.Fragment>
<scripting-disabled-callOut
isVisible={false}
/>
<scripting-warning-callOut
isVisible={true}
/>
<ScriptingHelpFlyout
executeScript={[Function]}
indexPattern={
Object {
"fields": Array [
Object {
"name": "foobar",
},
Object {
"format": Format {},
"lang": "painless",
"name": "test",
"script": "doc.test.value",
"scripted": true,
"type": "number",
},
Object {
"format": Format {},
"lang": "testlang",
"name": "test",
"script": "doc.test.value",
"scripted": true,
"type": "number",
},
],
}
<scripting-disabled-callOut
isVisible={false}
/>
<scripting-warning-callOut
isVisible={true}
/>
<ScriptingHelpFlyout
executeScript={[Function]}
indexPattern={
Object {
"fields": Array [
Object {
"name": "foobar",
},
Object {
"format": Format {},
"lang": "painless",
"name": "test",
"script": "doc.test.value",
"scripted": true,
"type": "number",
},
Object {
"format": Format {},
"lang": "testlang",
"name": "test",
"script": "doc.test.value",
"scripted": true,
"type": "number",
},
],
}
isVisible={false}
lang="testlang"
name="test"
onClose={[Function]}
script="doc.test.value"
/>
</React.Fragment>
}
isVisible={false}
lang="testlang"
name="test"
onClose={[Function]}
script="doc.test.value"
/>
<eui-form-row
helpText={
<span>
@ -963,47 +937,45 @@ exports[`FieldEditor should show deprecated lang warning 1`] = `
value="number"
/>
</eui-form-row>
<React.Fragment>
<eui-form-row
helpText={
<FormattedMessage
defaultMessage="Formatting allows you to control the way that specific values are displayed. It can also cause values to be completely changed and prevent highlighting in Discover from working."
id="common.ui.fieldEditor.formatLabel"
values={Object {}}
/>
}
label={
<FormattedMessage
defaultMessage="Format (Default: {defaultFormat})"
id="common.ui.fieldEditor.defaultFormatHeader"
values={
Object {
"defaultFormat": <eui-code>
Test format
</eui-code>,
}
<eui-form-row
helpText={
<FormattedMessage
defaultMessage="Formatting allows you to control the way that specific values are displayed. It can also cause values to be completely changed and prevent highlighting in Discover from working."
id="common.ui.fieldEditor.formatLabel"
values={Object {}}
/>
}
label={
<FormattedMessage
defaultMessage="Format (Default: {defaultFormat})"
id="common.ui.fieldEditor.defaultFormatHeader"
values={
Object {
"defaultFormat": <eui-code>
Test format
</eui-code>,
}
/>
}
>
<eui-select
data-test-subj="editorSelectedFormatId"
onChange={[Function]}
options={
Array [
Object {
"text": "- Default -",
"value": "",
},
Object {
"text": "Test format",
"value": "test_format",
},
]
}
/>
</eui-form-row>
</React.Fragment>
}
>
<eui-select
data-test-subj="editorSelectedFormatId"
onChange={[Function]}
options={
Array [
Object {
"text": "- Default -",
"value": "",
},
Object {
"text": "Test format",
"value": "test_format",
},
]
}
/>
</eui-form-row>
<eui-form-row
label="Popularity"
>
@ -1012,48 +984,44 @@ exports[`FieldEditor should show deprecated lang warning 1`] = `
onChange={[Function]}
/>
</eui-form-row>
<React.Fragment>
<eui-form-row
error={null}
<eui-form-row
error={null}
isInvalid={false}
label="Script"
>
<eui-textArea
data-test-subj="editorFieldScript"
isInvalid={false}
label="Script"
>
<eui-textArea
data-test-subj="editorFieldScript"
isInvalid={false}
onChange={[Function]}
value="doc.test.value"
onChange={[Function]}
value="doc.test.value"
/>
</eui-form-row>
<eui-form-row>
<eui-text>
<FormattedMessage
defaultMessage="Access fields with {code}."
id="common.ui.fieldEditor.script.accessWithLabel"
values={
Object {
"code": <code>
doc['some_field'].value
</code>,
}
}
/>
</eui-form-row>
<eui-form-row>
<React.Fragment>
<eui-text>
<FormattedMessage
defaultMessage="Access fields with {code}."
id="common.ui.fieldEditor.script.accessWithLabel"
values={
Object {
"code": <code>
doc['some_field'].value
</code>,
}
}
/>
</eui-text>
<br />
<eui-link
data-test-subj="scriptedFieldsHelpLink"
onClick={[Function]}
>
<FormattedMessage
defaultMessage="Get help with the syntax and preview the results of your script."
id="common.ui.fieldEditor.script.getHelpLabel"
values={Object {}}
/>
</eui-link>
</React.Fragment>
</eui-form-row>
</React.Fragment>
</eui-text>
<br />
<eui-link
data-test-subj="scriptedFieldsHelpLink"
onClick={[Function]}
>
<FormattedMessage
defaultMessage="Get help with the syntax and preview the results of your script."
id="common.ui.fieldEditor.script.getHelpLabel"
values={Object {}}
/>
</eui-link>
</eui-form-row>
<eui-form-row>
<eui-flex-group>
<eui-flex-item

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`FieldFormatEditor should render normally 1`] = `
<React.Fragment>
<Fragment>
<TestEditor
fieldType="number"
format={Object {}}
@ -9,7 +9,7 @@ exports[`FieldFormatEditor should render normally 1`] = `
onChange={[Function]}
onError={[Function]}
/>
</React.Fragment>
</Fragment>
`;
exports[`FieldFormatEditor should render nothing if there is no editor for the format 1`] = `<React.Fragment />`;
exports[`FieldFormatEditor should render nothing if there is no editor for the format 1`] = `<Fragment />`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`BytesFormatEditor should render normally 1`] = `
<React.Fragment>
<Fragment>
<EuiFormRow
describedByIds={Array []}
error={null}
@ -74,5 +74,5 @@ exports[`BytesFormatEditor should render normally 1`] = `
]
}
/>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ColorFormatEditorComponent should render multiple colors 1`] = `
<React.Fragment>
<Fragment>
<EuiBasicTable
columns={
Array [
@ -81,11 +81,11 @@ exports[`ColorFormatEditorComponent should render multiple colors 1`] = `
<EuiSpacer
size="l"
/>
</React.Fragment>
</Fragment>
`;
exports[`ColorFormatEditorComponent should render other type normally (range field) 1`] = `
<React.Fragment>
<Fragment>
<EuiBasicTable
columns={
Array [
@ -158,11 +158,11 @@ exports[`ColorFormatEditorComponent should render other type normally (range fie
<EuiSpacer
size="l"
/>
</React.Fragment>
</Fragment>
`;
exports[`ColorFormatEditorComponent should render string type normally (regex field) 1`] = `
<React.Fragment>
<Fragment>
<EuiBasicTable
columns={
Array [
@ -235,5 +235,5 @@ exports[`ColorFormatEditorComponent should render string type normally (regex fi
<EuiSpacer
size="l"
/>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`DateFormatEditor should render normally 1`] = `
<React.Fragment>
<Fragment>
<EuiFormRow
describedByIds={Array []}
error={null}
@ -71,5 +71,5 @@ exports[`DateFormatEditor should render normally 1`] = `
]
}
/>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`DurationFormatEditor should render human readable output normally 1`] = `
<React.Fragment>
<Fragment>
<EuiFormRow
describedByIds={Array []}
error={null}
@ -109,11 +109,11 @@ exports[`DurationFormatEditor should render human readable output normally 1`] =
]
}
/>
</React.Fragment>
</Fragment>
`;
exports[`DurationFormatEditor should render non-human readable output normally 1`] = `
<React.Fragment>
<Fragment>
<EuiFormRow
describedByIds={Array []}
error={null}
@ -245,5 +245,5 @@ exports[`DurationFormatEditor should render non-human readable output normally 1
]
}
/>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`NumberFormatEditor should render normally 1`] = `
<React.Fragment>
<Fragment>
<EuiFormRow
describedByIds={Array []}
error={null}
@ -78,5 +78,5 @@ exports[`NumberFormatEditor should render normally 1`] = `
]
}
/>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`PercentFormatEditor should render normally 1`] = `
<React.Fragment>
<Fragment>
<EuiFormRow
describedByIds={Array []}
error={null}
@ -78,5 +78,5 @@ exports[`PercentFormatEditor should render normally 1`] = `
]
}
/>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`StaticLookupFormatEditorComponent should render multiple lookup entries and unknown key value 1`] = `
<React.Fragment>
<Fragment>
<EuiBasicTable
columns={
Array [
@ -97,11 +97,11 @@ exports[`StaticLookupFormatEditorComponent should render multiple lookup entries
<EuiSpacer
size="m"
/>
</React.Fragment>
</Fragment>
`;
exports[`StaticLookupFormatEditorComponent should render normally 1`] = `
<React.Fragment>
<Fragment>
<EuiBasicTable
columns={
Array [
@ -191,5 +191,5 @@ exports[`StaticLookupFormatEditorComponent should render normally 1`] = `
<EuiSpacer
size="m"
/>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`StringFormatEditor should render normally 1`] = `
<React.Fragment>
<Fragment>
<EuiFormRow
describedByIds={Array []}
error={null}
@ -60,5 +60,5 @@ exports[`StringFormatEditor should render normally 1`] = `
]
}
/>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`TruncateFormatEditor should render normally 1`] = `
<React.Fragment>
<Fragment>
<EuiFormRow
describedByIds={Array []}
error={null}
@ -34,5 +34,5 @@ exports[`TruncateFormatEditor should render normally 1`] = `
]
}
/>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`UrlFormatEditor should render label template help 1`] = `
<React.Fragment>
<Fragment>
<InjectIntl(LabelTemplateFlyout)
isVisible={true}
onClose={[Function]}
@ -122,11 +122,11 @@ exports[`UrlFormatEditor should render label template help 1`] = `
<InjectIntl(FormatEditorSamplesComponent)
samples={Array []}
/>
</React.Fragment>
</Fragment>
`;
exports[`UrlFormatEditor should render normally 1`] = `
<React.Fragment>
<Fragment>
<InjectIntl(LabelTemplateFlyout)
isVisible={false}
onClose={[Function]}
@ -247,11 +247,11 @@ exports[`UrlFormatEditor should render normally 1`] = `
<InjectIntl(FormatEditorSamplesComponent)
samples={Array []}
/>
</React.Fragment>
</Fragment>
`;
exports[`UrlFormatEditor should render url template help 1`] = `
<React.Fragment>
<Fragment>
<InjectIntl(LabelTemplateFlyout)
isVisible={false}
onClose={[Function]}
@ -372,5 +372,5 @@ exports[`UrlFormatEditor should render url template help 1`] = `
<InjectIntl(FormatEditorSamplesComponent)
samples={Array []}
/>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ScriptingDisabledCallOut should render normally 1`] = `
<React.Fragment>
<Fragment>
<EuiCallOut
color="danger"
iconType="alert"
@ -25,7 +25,7 @@ exports[`ScriptingDisabledCallOut should render normally 1`] = `
<EuiSpacer
size="m"
/>
</React.Fragment>
</Fragment>
`;
exports[`ScriptingDisabledCallOut should render nothing if not visible 1`] = `""`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ScriptingWarningCallOut should render normally 1`] = `
<React.Fragment>
<Fragment>
<EuiCallOut
color="warning"
iconType="alert"
@ -69,7 +69,7 @@ exports[`ScriptingWarningCallOut should render normally 1`] = `
<EuiSpacer
size="m"
/>
</React.Fragment>
</Fragment>
`;
exports[`ScriptingWarningCallOut should render nothing if not visible 1`] = `""`;

View file

@ -110,7 +110,7 @@ export class QueryBarUI extends Component<Props, State> {
};
}
return null;
return { currentProps: nextProps };
}
/*
@ -132,6 +132,7 @@ export class QueryBarUI extends Component<Props, State> {
},
inputIsPristine: true,
isSuggestionsVisible: false,
currentProps: this.props,
index: null,
suggestions: [],
suggestionLimit: 50,

View file

@ -186,7 +186,9 @@ exports[`render 1`] = `
afterMessage="Copied"
anchorClassName="sharePanel__copyAnchor"
textToCopy="http://localhost/"
/>
>
<Component />
</EuiCopy>
</EuiForm>
`;
@ -365,6 +367,8 @@ exports[`should enable saved object export option when objectId is provided 1`]
afterMessage="Copied"
anchorClassName="sharePanel__copyAnchor"
textToCopy="http://localhost/"
/>
>
<Component />
</EuiCopy>
</EuiForm>
`;

View file

@ -73,9 +73,10 @@
"copy-webpack-plugin": "^4.5.2",
"del": "^3.0.0",
"dotenv": "2.0.0",
"enzyme": "3.2.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "3.3.1",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"enzyme-adapter-utils": "^1.8.1",
"enzyme-to-json": "^3.3.4",
"expect.js": "0.3.1",
"fancy-log": "^1.3.2",
"fetch-mock": "7.3.0",
@ -220,12 +221,12 @@
"puid": "1.0.5",
"puppeteer-core": "^1.7.0",
"raw-loader": "0.5.1",
"react": "^16.3.0",
"react": "^16.6.0",
"react-apollo": "^2.1.4",
"react-beautiful-dnd": "^8.0.7",
"react-clipboard.js": "^1.1.2",
"react-datetime": "^2.14.0",
"react-dom": "^16.3.0",
"react-dom": "^16.6.0",
"react-dropzone": "^4.2.9",
"react-markdown-renderer": "^1.4.0",
"react-portal": "^3.2.0",

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`TransactionOverviewView should render with type filter controls 1`] = `
<React.Fragment>
<Fragment>
<EuiFormRow
describedByIds={Array []}
fullWidth={false}
@ -50,11 +50,11 @@ exports[`TransactionOverviewView should render with type filter controls 1`] = `
}
}
/>
</React.Fragment>
</Fragment>
`;
exports[`TransactionOverviewView should render without type filter controls if there is just a single type 1`] = `
<React.Fragment>
<Fragment>
<TransactionOverviewChartsRequest
render={[Function]}
urlParams={
@ -76,5 +76,5 @@ exports[`TransactionOverviewView should render without type filter controls if t
}
}
/>
</React.Fragment>
</Fragment>
`;

View file

@ -21,7 +21,7 @@ exports[`HistoryTabs should change the selected item on tab click 2`] = `
`;
exports[`HistoryTabs should render correctly 1`] = `
<React.Fragment>
<Fragment>
<EuiTabs
expand={false}
size="m"
@ -69,5 +69,5 @@ exports[`HistoryTabs should render correctly 1`] = `
path="/three"
render={[Function]}
/>
</React.Fragment>
</Fragment>
`;

View file

@ -175,83 +175,180 @@ exports[`UploadLicense should display a modal when license requires acknowledgem
/>
</EuiSpacer>
<EuiOverlayMask>
<EuiConfirmModal
buttonColor="primary"
cancelButtonText={
<FormattedMessage
defaultMessage="Cancel"
id="xpack.licenseMgmt.uploadLicense.confirmModal.cancelButtonLabel"
values={Object {}}
/>
}
confirmButtonText={
<FormattedMessage
defaultMessage="Confirm"
id="xpack.licenseMgmt.uploadLicense.confirmModal.confirmButtonLabel"
values={Object {}}
/>
}
onCancel={[Function]}
onConfirm={[Function]}
title={
<FormattedMessage
defaultMessage="Confirm License Upload"
id="xpack.licenseMgmt.uploadLicense.confirmModalTitle"
values={Object {}}
/>
}
>
<EuiModal
className="euiModal--confirmation"
maxWidth={true}
onClose={[Function]}
>
<Component
focusTrapOptions={
Object {
"fallbackFocus": [Function],
"initialFocus": undefined,
}
}
<Portal
containerInfo={
<div
class="euiOverlayMask"
>
<div>
<div
className="euiModal euiModal--maxWidth-default euiModal--confirmation"
onKeyDown={[Function]}
tabIndex={0}
class="euiModal euiModal--maxWidth-default euiModal--confirmation"
tabindex="0"
>
<EuiButtonIcon
<button
aria-label="Closes this modal window"
className="euiModal__closeIcon"
color="text"
iconSize="m"
iconType="cross"
onClick={[Function]}
class="euiButtonIcon euiButtonIcon--text euiModal__closeIcon"
type="button"
>
<button
<svg
aria-hidden="true"
class="euiIcon euiIcon--medium euiButtonIcon__icon"
focusable="false"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M7.293 8L3.146 3.854a.5.5 0 1 1 .708-.708L8 7.293l4.146-4.147a.5.5 0 0 1 .708.708L8.707 8l4.147 4.146a.5.5 0 0 1-.708.708L8 8.707l-4.146 4.147a.5.5 0 0 1-.708-.708L7.293 8z"
/>
</svg>
</button>
<div
class="euiModal__flex"
>
<div
class="euiModalHeader"
>
<div
class="euiModalHeader__title"
data-test-subj="confirmModalTitleText"
>
Confirm License Upload
</div>
</div>
<div
class="euiModalBody"
>
<div
class="euiText euiText--medium"
data-test-subj="confirmModalBodyText"
>
<div>
<div
class="euiText euiText--medium"
>
Some functionality will be lost if you replace your TRIAL license with a BASIC license. Review the list of features below.
</div>
<div
class="euiText euiText--medium"
>
<ul>
<li>
Watcher will be disabled
</li>
</ul>
</div>
</div>
</div>
</div>
<div
class="euiModalFooter"
>
<button
class="euiButtonEmpty euiButtonEmpty--primary"
data-test-subj="confirmModalCancelButton"
type="button"
>
<span
class="euiButtonEmpty__content"
>
<span
class="euiButtonEmpty__text"
>
Cancel
</span>
</span>
</button>
<button
class="euiButton euiButton--primary euiButton--fill"
data-test-subj="confirmModalConfirmButton"
type="button"
>
<span
class="euiButton__content"
>
<span
class="euiButton__text"
>
Confirm
</span>
</span>
</button>
</div>
</div>
</div>
</div>
</div>
}
>
<EuiConfirmModal
buttonColor="primary"
cancelButtonText={
<FormattedMessage
defaultMessage="Cancel"
id="xpack.licenseMgmt.uploadLicense.confirmModal.cancelButtonLabel"
values={Object {}}
/>
}
confirmButtonText={
<FormattedMessage
defaultMessage="Confirm"
id="xpack.licenseMgmt.uploadLicense.confirmModal.confirmButtonLabel"
values={Object {}}
/>
}
onCancel={[Function]}
onConfirm={[Function]}
title={
<FormattedMessage
defaultMessage="Confirm License Upload"
id="xpack.licenseMgmt.uploadLicense.confirmModalTitle"
values={Object {}}
/>
}
>
<EuiModal
className="euiModal--confirmation"
maxWidth={true}
onClose={[Function]}
>
<Component
focusTrapOptions={
Object {
"fallbackFocus": [Function],
"initialFocus": undefined,
}
}
>
<div>
<div
className="euiModal euiModal--maxWidth-default euiModal--confirmation"
onKeyDown={[Function]}
tabIndex={0}
>
<EuiButtonIcon
aria-label="Closes this modal window"
className="euiButtonIcon euiButtonIcon--text euiModal__closeIcon"
className="euiModal__closeIcon"
color="text"
iconSize="m"
iconType="cross"
onClick={[Function]}
type="button"
>
<EuiIcon
aria-hidden="true"
className="euiButtonIcon__icon"
size="m"
type="cross"
<button
aria-label="Closes this modal window"
className="euiButtonIcon euiButtonIcon--text euiModal__closeIcon"
onClick={[Function]}
type="button"
>
<cross
<EuiIcon
aria-hidden="true"
className="euiIcon euiIcon--medium euiButtonIcon__icon"
focusable="false"
height="16"
style={null}
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
className="euiButtonIcon__icon"
size="m"
type="cross"
>
<svg
<cross
aria-hidden="true"
className="euiIcon euiIcon--medium euiButtonIcon__icon"
focusable="false"
@ -261,159 +358,170 @@ exports[`UploadLicense should display a modal when license requires acknowledgem
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M7.293 8L3.146 3.854a.5.5 0 1 1 .708-.708L8 7.293l4.146-4.147a.5.5 0 0 1 .708.708L8.707 8l4.147 4.146a.5.5 0 0 1-.708.708L8 8.707l-4.146 4.147a.5.5 0 0 1-.708-.708L7.293 8z"
/>
</svg>
</cross>
</EuiIcon>
</button>
</EuiButtonIcon>
<div
className="euiModal__flex"
>
<EuiModalHeader>
<div
className="euiModalHeader"
>
<EuiModalHeaderTitle
data-test-subj="confirmModalTitleText"
<svg
aria-hidden="true"
className="euiIcon euiIcon--medium euiButtonIcon__icon"
focusable="false"
height="16"
style={null}
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M7.293 8L3.146 3.854a.5.5 0 1 1 .708-.708L8 7.293l4.146-4.147a.5.5 0 0 1 .708.708L8.707 8l4.147 4.146a.5.5 0 0 1-.708.708L8 8.707l-4.146 4.147a.5.5 0 0 1-.708-.708L7.293 8z"
/>
</svg>
</cross>
</EuiIcon>
</button>
</EuiButtonIcon>
<div
className="euiModal__flex"
>
<EuiModalHeader>
<div
className="euiModalHeader"
>
<div
className="euiModalHeader__title"
<EuiModalHeaderTitle
data-test-subj="confirmModalTitleText"
>
<FormattedMessage
defaultMessage="Confirm License Upload"
id="xpack.licenseMgmt.uploadLicense.confirmModalTitle"
values={Object {}}
<div
className="euiModalHeader__title"
data-test-subj="confirmModalTitleText"
>
Confirm License Upload
</FormattedMessage>
</div>
</EuiModalHeaderTitle>
</div>
</EuiModalHeader>
<EuiModalBody>
<div
className="euiModalBody"
>
<EuiText
data-test-subj="confirmModalBodyText"
grow={true}
size="m"
>
<div
className="euiText euiText--medium"
data-test-subj="confirmModalBodyText"
>
<div>
<EuiText
grow={true}
size="m"
<FormattedMessage
defaultMessage="Confirm License Upload"
id="xpack.licenseMgmt.uploadLicense.confirmModalTitle"
values={Object {}}
>
<div
className="euiText euiText--medium"
>
Some functionality will be lost if you replace your TRIAL license with a BASIC license. Review the list of features below.
</div>
</EuiText>
<EuiText
grow={true}
size="m"
>
<div
className="euiText euiText--medium"
>
<ul>
<li
key="Watcher will be disabled"
>
Watcher will be disabled
</li>
</ul>
</div>
</EuiText>
Confirm License Upload
</FormattedMessage>
</div>
</div>
</EuiText>
</div>
</EuiModalBody>
<EuiModalFooter>
<div
className="euiModalFooter"
>
<EuiButtonEmpty
buttonRef={[Function]}
color="primary"
data-test-subj="confirmModalCancelButton"
iconSide="left"
onClick={[Function]}
type="button"
</EuiModalHeaderTitle>
</div>
</EuiModalHeader>
<EuiModalBody>
<div
className="euiModalBody"
>
<button
className="euiButtonEmpty euiButtonEmpty--primary"
<EuiText
data-test-subj="confirmModalBodyText"
grow={true}
size="m"
>
<div
className="euiText euiText--medium"
data-test-subj="confirmModalBodyText"
>
<div>
<EuiText
grow={true}
size="m"
>
<div
className="euiText euiText--medium"
>
Some functionality will be lost if you replace your TRIAL license with a BASIC license. Review the list of features below.
</div>
</EuiText>
<EuiText
grow={true}
size="m"
>
<div
className="euiText euiText--medium"
>
<ul>
<li
key="Watcher will be disabled"
>
Watcher will be disabled
</li>
</ul>
</div>
</EuiText>
</div>
</div>
</EuiText>
</div>
</EuiModalBody>
<EuiModalFooter>
<div
className="euiModalFooter"
>
<EuiButtonEmpty
buttonRef={[Function]}
color="primary"
data-test-subj="confirmModalCancelButton"
iconSide="left"
onClick={[Function]}
type="button"
>
<span
className="euiButtonEmpty__content"
<button
className="euiButtonEmpty euiButtonEmpty--primary"
data-test-subj="confirmModalCancelButton"
onClick={[Function]}
type="button"
>
<span
className="euiButtonEmpty__text"
className="euiButtonEmpty__content"
>
<FormattedMessage
defaultMessage="Cancel"
id="xpack.licenseMgmt.uploadLicense.confirmModal.cancelButtonLabel"
values={Object {}}
<span
className="euiButtonEmpty__text"
>
Cancel
</FormattedMessage>
<FormattedMessage
defaultMessage="Cancel"
id="xpack.licenseMgmt.uploadLicense.confirmModal.cancelButtonLabel"
values={Object {}}
>
Cancel
</FormattedMessage>
</span>
</span>
</span>
</button>
</EuiButtonEmpty>
<EuiButton
buttonRef={[Function]}
color="primary"
data-test-subj="confirmModalConfirmButton"
fill={true}
iconSide="left"
onClick={[Function]}
type="button"
>
<button
className="euiButton euiButton--primary euiButton--fill"
</button>
</EuiButtonEmpty>
<EuiButton
buttonRef={[Function]}
color="primary"
data-test-subj="confirmModalConfirmButton"
fill={true}
iconSide="left"
onClick={[Function]}
type="button"
>
<span
className="euiButton__content"
<button
className="euiButton euiButton--primary euiButton--fill"
data-test-subj="confirmModalConfirmButton"
onClick={[Function]}
type="button"
>
<span
className="euiButton__text"
className="euiButton__content"
>
<FormattedMessage
defaultMessage="Confirm"
id="xpack.licenseMgmt.uploadLicense.confirmModal.confirmButtonLabel"
values={Object {}}
<span
className="euiButton__text"
>
Confirm
</FormattedMessage>
<FormattedMessage
defaultMessage="Confirm"
id="xpack.licenseMgmt.uploadLicense.confirmModal.confirmButtonLabel"
values={Object {}}
>
Confirm
</FormattedMessage>
</span>
</span>
</span>
</button>
</EuiButton>
</div>
</EuiModalFooter>
</button>
</EuiButton>
</div>
</EuiModalFooter>
</div>
</div>
</div>
</div>
</Component>
</EuiModal>
</EuiConfirmModal>
</Component>
</EuiModal>
</EuiConfirmModal>
</Portal>
</EuiOverlayMask>
<EuiText
grow={true}

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`FormLabel Basic initialization 1`] = `
<React.Fragment>
<Fragment>
<label
className="euiFormLabel"
id="ml_aria_label_undefined"
@ -9,11 +9,11 @@ exports[`FormLabel Basic initialization 1`] = `
<Component
position="top"
/>
</React.Fragment>
</Fragment>
`;
exports[`FormLabel Full initialization 1`] = `
<React.Fragment>
<Fragment>
<label
className="euiFormLabel"
id="ml_aria_label_uid"
@ -24,5 +24,5 @@ exports[`FormLabel Full initialization 1`] = `
id="uid"
position="top"
/>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ActionsSection renders with no actions selected 1`] = `
<React.Fragment>
<Fragment>
<EuiText
grow={true}
size="m"
@ -116,11 +116,11 @@ exports[`ActionsSection renders with no actions selected 1`] = `
/>
</EuiFlexItem>
</EuiFlexGroup>
</React.Fragment>
</Fragment>
`;
exports[`ActionsSection renders with skip_result and skip_model_update selected 1`] = `
<React.Fragment>
<Fragment>
<EuiText
grow={true}
size="m"
@ -235,11 +235,11 @@ exports[`ActionsSection renders with skip_result and skip_model_update selected
/>
</EuiFlexItem>
</EuiFlexGroup>
</React.Fragment>
</Fragment>
`;
exports[`ActionsSection renders with skip_result selected 1`] = `
<React.Fragment>
<Fragment>
<EuiText
grow={true}
size="m"
@ -354,5 +354,5 @@ exports[`ActionsSection renders with skip_result selected 1`] = `
/>
</EuiFlexItem>
</EuiFlexGroup>
</React.Fragment>
</Fragment>
`;

View file

@ -5,7 +5,7 @@ exports[`ConditionsSectionExpression don't render when not enabled with conditio
exports[`ConditionsSectionExpression don't render when the section is not enabled 1`] = `""`;
exports[`ConditionsSectionExpression renders when enabled with empty conditions supplied 1`] = `
<React.Fragment>
<Fragment>
<EuiSpacer
size="s"
/>
@ -21,11 +21,11 @@ exports[`ConditionsSectionExpression renders when enabled with empty conditions
values={Object {}}
/>
</EuiButtonEmpty>
</React.Fragment>
</Fragment>
`;
exports[`ConditionsSectionExpression renders when enabled with no conditions supplied 1`] = `
<React.Fragment>
<Fragment>
<EuiSpacer
size="s"
/>
@ -41,11 +41,11 @@ exports[`ConditionsSectionExpression renders when enabled with no conditions sup
values={Object {}}
/>
</EuiButtonEmpty>
</React.Fragment>
</Fragment>
`;
exports[`ConditionsSectionExpression renders when enabled with one condition 1`] = `
<React.Fragment>
<Fragment>
<InjectIntl(ConditionExpression)
appliesTo="actual"
deleteCondition={[MockFunction]}
@ -70,11 +70,11 @@ exports[`ConditionsSectionExpression renders when enabled with one condition 1`]
values={Object {}}
/>
</EuiButtonEmpty>
</React.Fragment>
</Fragment>
`;
exports[`ConditionsSectionExpression renders when enabled with two conditions 1`] = `
<React.Fragment>
<Fragment>
<InjectIntl(ConditionExpression)
appliesTo="actual"
deleteCondition={[MockFunction]}
@ -108,5 +108,5 @@ exports[`ConditionsSectionExpression renders when enabled with two conditions 1`
values={Object {}}
/>
</EuiButtonEmpty>
</React.Fragment>
</Fragment>
`;

View file

@ -5,7 +5,7 @@ exports[`RuleEditorFlyout don't render after closing the flyout 1`] = `""`;
exports[`RuleEditorFlyout don't render when not opened 1`] = `""`;
exports[`RuleEditorFlyout renders the flyout after adding a condition to a rule 1`] = `
<React.Fragment>
<Fragment>
<EuiFlyout
aria-labelledby="flyoutTitle"
className="ml-rule-editor-flyout"
@ -280,11 +280,11 @@ exports[`RuleEditorFlyout renders the flyout after adding a condition to a rule
</EuiFlexGroup>
</EuiFlyoutFooter>
</EuiFlyout>
</React.Fragment>
</Fragment>
`;
exports[`RuleEditorFlyout renders the flyout after setting the rule to edit 1`] = `
<React.Fragment>
<Fragment>
<EuiFlyout
aria-labelledby="flyoutTitle"
className="ml-rule-editor-flyout"
@ -573,11 +573,11 @@ exports[`RuleEditorFlyout renders the flyout after setting the rule to edit 1`]
</EuiFlexGroup>
</EuiFlyoutFooter>
</EuiFlyout>
</React.Fragment>
</Fragment>
`;
exports[`RuleEditorFlyout renders the flyout for creating a rule with conditions only 1`] = `
<React.Fragment>
<Fragment>
<EuiFlyout
aria-labelledby="flyoutTitle"
className="ml-rule-editor-flyout"
@ -844,11 +844,11 @@ exports[`RuleEditorFlyout renders the flyout for creating a rule with conditions
</EuiFlexGroup>
</EuiFlyoutFooter>
</EuiFlyout>
</React.Fragment>
</Fragment>
`;
exports[`RuleEditorFlyout renders the select action component for a detector with a rule 1`] = `
<React.Fragment>
<Fragment>
<EuiFlyout
aria-labelledby="flyoutTitle"
className="ml-rule-editor-flyout"
@ -963,5 +963,5 @@ exports[`RuleEditorFlyout renders the select action component for a detector wit
</EuiFlexGroup>
</EuiFlyoutFooter>
</EuiFlyout>
</React.Fragment>
</Fragment>
`;

View file

@ -3,7 +3,7 @@
exports[`ScopeSection don't render when no partitioning fields 1`] = `""`;
exports[`ScopeSection false canGetFilters privilege show NoPermissionCallOut when no filter list IDs 1`] = `
<React.Fragment>
<Fragment>
<EuiTitle
size="m"
textTransform="none"
@ -37,17 +37,15 @@ exports[`ScopeSection false canGetFilters privilege show NoPermissionCallOut whe
<EuiSpacer
size="s"
/>
<React.Fragment>
<NoPermissionCallOut />
</React.Fragment>
<NoPermissionCallOut />
<EuiSpacer
size="xxl"
/>
</React.Fragment>
</Fragment>
`;
exports[`ScopeSection renders when enabled with no scope supplied 1`] = `
<React.Fragment>
<Fragment>
<EuiTitle
size="m"
textTransform="none"
@ -81,31 +79,29 @@ exports[`ScopeSection renders when enabled with no scope supplied 1`] = `
<EuiSpacer
size="s"
/>
<React.Fragment>
<ScopeExpression
enabled={false}
fieldName="domain"
filterId="web_domains"
filterListIds={
Array [
"web_domains",
"safe_domains",
"uk_domains",
]
}
filterType="include"
key="0"
updateScope={[MockFunction]}
/>
</React.Fragment>
<ScopeExpression
enabled={false}
fieldName="domain"
filterId="web_domains"
filterListIds={
Array [
"web_domains",
"safe_domains",
"uk_domains",
]
}
filterType="include"
key="0"
updateScope={[MockFunction]}
/>
<EuiSpacer
size="xxl"
/>
</React.Fragment>
</Fragment>
`;
exports[`ScopeSection renders when enabled with scope supplied 1`] = `
<React.Fragment>
<Fragment>
<EuiTitle
size="m"
textTransform="none"
@ -139,31 +135,29 @@ exports[`ScopeSection renders when enabled with scope supplied 1`] = `
<EuiSpacer
size="s"
/>
<React.Fragment>
<ScopeExpression
enabled={true}
fieldName="domain"
filterId="uk_domains"
filterListIds={
Array [
"web_domains",
"safe_domains",
"uk_domains",
]
}
filterType="include"
key="0"
updateScope={[MockFunction]}
/>
</React.Fragment>
<ScopeExpression
enabled={true}
fieldName="domain"
filterId="uk_domains"
filterListIds={
Array [
"web_domains",
"safe_domains",
"uk_domains",
]
}
filterType="include"
key="0"
updateScope={[MockFunction]}
/>
<EuiSpacer
size="xxl"
/>
</React.Fragment>
</Fragment>
`;
exports[`ScopeSection renders when not enabled 1`] = `
<React.Fragment>
<Fragment>
<EuiTitle
size="m"
textTransform="none"
@ -200,11 +194,11 @@ exports[`ScopeSection renders when not enabled 1`] = `
<EuiSpacer
size="xxl"
/>
</React.Fragment>
</Fragment>
`;
exports[`ScopeSection show NoFilterListsCallOut when no filter list IDs 1`] = `
<React.Fragment>
<Fragment>
<EuiTitle
size="m"
textTransform="none"
@ -238,11 +232,9 @@ exports[`ScopeSection show NoFilterListsCallOut when no filter list IDs 1`] = `
<EuiSpacer
size="s"
/>
<React.Fragment>
<NoFilterListsCallOut />
</React.Fragment>
<NoFilterListsCallOut />
<EuiSpacer
size="xxl"
/>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`DeleteRuleModal renders as delete button after opening and closing modal 1`] = `
<React.Fragment>
<Fragment>
<EuiLink
color="danger"
onClick={[Function]}
@ -13,11 +13,11 @@ exports[`DeleteRuleModal renders as delete button after opening and closing moda
values={Object {}}
/>
</EuiLink>
</React.Fragment>
</Fragment>
`;
exports[`DeleteRuleModal renders as delete button when not visible 1`] = `
<React.Fragment>
<Fragment>
<EuiLink
color="danger"
onClick={[Function]}
@ -29,11 +29,11 @@ exports[`DeleteRuleModal renders as delete button when not visible 1`] = `
values={Object {}}
/>
</EuiLink>
</React.Fragment>
</Fragment>
`;
exports[`DeleteRuleModal renders modal after clicking delete rule link 1`] = `
<React.Fragment>
<Fragment>
<EuiLink
color="danger"
onClick={[Function]}
@ -82,5 +82,5 @@ exports[`DeleteRuleModal renders modal after clicking delete rule link 1`] = `
</p>
</EuiConfirmModal>
</EuiOverlayMask>
</React.Fragment>
</Fragment>
`;

View file

@ -1,77 +1,67 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ExplorerChartLabelBadge Render the chart label in one line. 1`] = `
<React.Fragment>
<Fragment>
<span
className="ml-explorer-chart-label"
>
<span
className="ml-explorer-chart-label-detector"
>
<React.Fragment>
high_sum(nginx.access.body_sent.bytes) over nginx.access.remote_ip (population-03)
</React.Fragment>
<React.Fragment>
  
</React.Fragment>
high_sum(nginx.access.body_sent.bytes) over nginx.access.remote_ip (population-03)
  
</span>
<React.Fragment>
<ExplorerChartLabelBadge
entity={
Object {
"$$hashKey": "object:813",
"fieldName": "nginx.access.remote_ip",
"fieldValue": "72.57.0.53",
}
<ExplorerChartLabelBadge
entity={
Object {
"$$hashKey": "object:813",
"fieldName": "nginx.access.remote_ip",
"fieldValue": "72.57.0.53",
}
key="nginx.access.remote_ip 72.57.0.53"
}
key="nginx.access.remote_ip 72.57.0.53"
/>
<span
className="ml-explorer-chart-info-icon"
>
<EuiIconTip
aria-label="Info"
className="ml-explorer-chart-eui-icon-tip"
content={
<InjectIntl(ExplorerChartInfoTooltip)
aggregationInterval="1h"
chartFunction="sum nginx.access.body_sent.bytes"
entityFields={
Array [
Object {
"fieldName": "nginx.access.remote_ip",
"fieldValue": "72.57.0.53",
},
]
}
jobId="population-03"
/>
}
position="top"
size="s"
type="questionInCircle"
/>
<span
className="ml-explorer-chart-info-icon"
>
<EuiIconTip
aria-label="Info"
className="ml-explorer-chart-eui-icon-tip"
content={
<InjectIntl(ExplorerChartInfoTooltip)
aggregationInterval="1h"
chartFunction="sum nginx.access.body_sent.bytes"
entityFields={
Array [
Object {
"fieldName": "nginx.access.remote_ip",
"fieldValue": "72.57.0.53",
},
]
}
jobId="population-03"
/>
}
position="top"
size="s"
type="questionInCircle"
/>
</span>
</React.Fragment>
</span>
</span>
</React.Fragment>
</Fragment>
`;
exports[`ExplorerChartLabelBadge Render the chart label in two lines. 1`] = `
<React.Fragment>
<Fragment>
<span
className="ml-explorer-chart-label"
>
<span
className="ml-explorer-chart-label-detector"
>
<React.Fragment>
high_sum(nginx.access.body_sent.bytes) over nginx.access.remote_ip (population-03)
</React.Fragment>
<React.Fragment>
 
</React.Fragment>
high_sum(nginx.access.body_sent.bytes) over nginx.access.remote_ip (population-03)
 
</span>
<span
className="ml-explorer-chart-info-icon"
@ -114,5 +104,5 @@ exports[`ExplorerChartLabelBadge Render the chart label in two lines. 1`] = `
key="nginx.access.remote_ip 72.57.0.53"
/>
</span>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CustomUrlEditor renders the editor for a dashboard type URL with a label 1`] = `
<React.Fragment>
<Fragment>
<EuiTitle
size="xs"
textTransform="none"
@ -194,11 +194,11 @@ exports[`CustomUrlEditor renders the editor for a dashboard type URL with a labe
</EuiFlexItem>
</EuiFlexGroup>
</EuiForm>
</React.Fragment>
</Fragment>
`;
exports[`CustomUrlEditor renders the editor for a discover type URL with an entity and empty time range interval 1`] = `
<React.Fragment>
<Fragment>
<EuiTitle
size="xs"
textTransform="none"
@ -431,11 +431,11 @@ exports[`CustomUrlEditor renders the editor for a discover type URL with an enti
</EuiFlexItem>
</EuiFlexGroup>
</EuiForm>
</React.Fragment>
</Fragment>
`;
exports[`CustomUrlEditor renders the editor for a discover type URL with valid time range interval 1`] = `
<React.Fragment>
<Fragment>
<EuiTitle
size="xs"
textTransform="none"
@ -664,11 +664,11 @@ exports[`CustomUrlEditor renders the editor for a discover type URL with valid t
</EuiFlexItem>
</EuiFlexGroup>
</EuiForm>
</React.Fragment>
</Fragment>
`;
exports[`CustomUrlEditor renders the editor for a new dashboard type URL with no label 1`] = `
<React.Fragment>
<Fragment>
<EuiTitle
size="xs"
textTransform="none"
@ -865,11 +865,11 @@ exports[`CustomUrlEditor renders the editor for a new dashboard type URL with no
</EuiFlexItem>
</EuiFlexGroup>
</EuiForm>
</React.Fragment>
</Fragment>
`;
exports[`CustomUrlEditor renders the editor for other type of URL with duplicate label 1`] = `
<React.Fragment>
<Fragment>
<EuiTitle
size="xs"
textTransform="none"
@ -975,11 +975,11 @@ exports[`CustomUrlEditor renders the editor for other type of URL with duplicate
/>
</EuiFormRow>
</EuiForm>
</React.Fragment>
</Fragment>
`;
exports[`CustomUrlEditor renders the editor for other type of URL with unique label 1`] = `
<React.Fragment>
<Fragment>
<EuiTitle
size="xs"
textTransform="none"
@ -1081,5 +1081,5 @@ exports[`CustomUrlEditor renders the editor for other type of URL with unique la
/>
</EuiFormRow>
</EuiForm>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CustomUrlList renders a list of custom URLs 1`] = `
<React.Fragment>
<Fragment>
<EuiFlexGroup
alignItems="stretch"
component="div"
@ -473,5 +473,5 @@ exports[`CustomUrlList renders a list of custom URLs 1`] = `
</EuiFormRow>
</EuiFlexItem>
</EuiFlexGroup>
</React.Fragment>
</Fragment>
`;

View file

@ -25,58 +25,56 @@ exports[`CalendarForm CalendarId shown as title when editing 1`] = `
exports[`CalendarForm Renders calendar form 1`] = `
<EuiForm>
<React.Fragment>
<EuiFormRow
describedByIds={Array []}
error={
Array [
"Use lowercase alphanumerics (a-z and 0-9), hyphens or underscores; must start and end with an alphanumeric character",
]
}
fullWidth={false}
hasEmptyLabelSpace={false}
isInvalid={true}
label={
<FormattedMessage
defaultMessage="Calendar ID"
id="xpack.ml.calendarsEdit.calendarForm.calendarIdLabel"
values={Object {}}
/>
}
>
<EuiFieldText
compressed={false}
disabled={false}
fullWidth={false}
isLoading={false}
name="calendarId"
onChange={[MockFunction]}
value=""
<EuiFormRow
describedByIds={Array []}
error={
Array [
"Use lowercase alphanumerics (a-z and 0-9), hyphens or underscores; must start and end with an alphanumeric character",
]
}
fullWidth={false}
hasEmptyLabelSpace={false}
isInvalid={true}
label={
<FormattedMessage
defaultMessage="Calendar ID"
id="xpack.ml.calendarsEdit.calendarForm.calendarIdLabel"
values={Object {}}
/>
</EuiFormRow>
<EuiFormRow
describedByIds={Array []}
}
>
<EuiFieldText
compressed={false}
disabled={false}
fullWidth={false}
hasEmptyLabelSpace={false}
label={
<FormattedMessage
defaultMessage="Description"
id="xpack.ml.calendarsEdit.calendarForm.descriptionLabel"
values={Object {}}
/>
}
>
<EuiFieldText
compressed={false}
disabled={false}
fullWidth={false}
isLoading={false}
name="description"
onChange={[MockFunction]}
value=""
isLoading={false}
name="calendarId"
onChange={[MockFunction]}
value=""
/>
</EuiFormRow>
<EuiFormRow
describedByIds={Array []}
fullWidth={false}
hasEmptyLabelSpace={false}
label={
<FormattedMessage
defaultMessage="Description"
id="xpack.ml.calendarsEdit.calendarForm.descriptionLabel"
values={Object {}}
/>
</EuiFormRow>
</React.Fragment>
}
>
<EuiFieldText
compressed={false}
disabled={false}
fullWidth={false}
isLoading={false}
name="description"
onChange={[MockFunction]}
value=""
/>
</EuiFormRow>
<EuiFormRow
describedByIds={Array []}
fullWidth={false}

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`EventsTable Renders events table with no search bar 1`] = `
<React.Fragment>
<Fragment>
<EuiSpacer
size="m"
/>
@ -65,11 +65,11 @@ exports[`EventsTable Renders events table with no search bar 1`] = `
}
}
/>
</React.Fragment>
</Fragment>
`;
exports[`EventsTable Renders events table with search bar 1`] = `
<React.Fragment>
<Fragment>
<EuiSpacer
size="m"
/>
@ -177,5 +177,5 @@ exports[`EventsTable Renders events table with search bar 1`] = `
}
}
/>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ImportModal Renders import modal 1`] = `
<React.Fragment>
<Fragment>
<EuiModal
maxWidth={true}
onClose={[MockFunction]}
@ -94,5 +94,5 @@ exports[`ImportModal Renders import modal 1`] = `
</EuiButtonEmpty>
</EuiModalFooter>
</EuiModal>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ImportedEvents Renders imported events 1`] = `
<React.Fragment>
<Fragment>
<EuiSpacer
size="s"
/>
@ -68,5 +68,5 @@ exports[`ImportedEvents Renders imported events 1`] = `
onChange={[MockFunction]}
/>
</EuiFlexItem>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CalendarsListTable renders the table with all calendars 1`] = `
<React.Fragment>
<Fragment>
<EuiInMemoryTable
columns={
Array [
@ -116,5 +116,5 @@ exports[`CalendarsListTable renders the table with all calendars 1`] = `
}
}
/>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`EditFilterListHeader renders the header when creating a new filter list with ID, description and items set 1`] = `
<React.Fragment>
<Fragment>
<EuiFlexGroup
alignItems="baseline"
component="div"
@ -128,11 +128,11 @@ exports[`EditFilterListHeader renders the header when creating a new filter list
<EuiSpacer
size="s"
/>
</React.Fragment>
</Fragment>
`;
exports[`EditFilterListHeader renders the header when creating a new filter list with the ID not set 1`] = `
<React.Fragment>
<Fragment>
<EuiFlexGroup
alignItems="baseline"
component="div"
@ -269,11 +269,11 @@ exports[`EditFilterListHeader renders the header when creating a new filter list
<EuiSpacer
size="s"
/>
</React.Fragment>
</Fragment>
`;
exports[`EditFilterListHeader renders the header when editing an existing unused filter list with no description or items 1`] = `
<React.Fragment>
<Fragment>
<EuiFlexGroup
alignItems="baseline"
component="div"
@ -386,28 +386,26 @@ exports[`EditFilterListHeader renders the header when editing an existing unused
<EuiSpacer
size="s"
/>
<React.Fragment>
<EuiText
grow={true}
size="m"
>
<p>
<FormattedMessage
defaultMessage="This filter list is not used by any jobs."
id="xpack.ml.settings.filterLists.editFilterList.filterIsNotUsedInJobsDescription"
values={Object {}}
/>
</p>
</EuiText>
<EuiSpacer
size="s"
/>
</React.Fragment>
</React.Fragment>
<EuiText
grow={true}
size="m"
>
<p>
<FormattedMessage
defaultMessage="This filter list is not used by any jobs."
id="xpack.ml.settings.filterLists.editFilterList.filterIsNotUsedInJobsDescription"
values={Object {}}
/>
</p>
</EuiText>
<EuiSpacer
size="s"
/>
</Fragment>
`;
exports[`EditFilterListHeader renders the header when editing an existing used filter list with description and items set 1`] = `
<React.Fragment>
<Fragment>
<EuiFlexGroup
alignItems="baseline"
component="div"
@ -514,50 +512,48 @@ exports[`EditFilterListHeader renders the header when editing an existing used f
<EuiSpacer
size="s"
/>
<React.Fragment>
<div
className="ml-filter-list-usage"
<div
className="ml-filter-list-usage"
>
<EuiText
grow={true}
size="m"
>
<EuiText
grow={true}
size="m"
>
<FormattedMessage
defaultMessage="This filter list is used in"
id="xpack.ml.settings.filterLists.editFilterList.filterIsUsedInJobsDescription"
values={Object {}}
/>
</EuiText>
<FilterListUsagePopover
entityType="detector"
entityValues={
Array [
"mean CPUUtilization",
]
}
<FormattedMessage
defaultMessage="This filter list is used in"
id="xpack.ml.settings.filterLists.editFilterList.filterIsUsedInJobsDescription"
values={Object {}}
/>
<EuiText
grow={true}
size="m"
>
<FormattedMessage
defaultMessage="across"
id="xpack.ml.settings.filterLists.editFilterList.acrossText"
values={Object {}}
/>
</EuiText>
<FilterListUsagePopover
entityType="job"
entityValues={
Array [
"cloudwatch",
]
}
/>
</div>
<EuiSpacer
size="s"
</EuiText>
<FilterListUsagePopover
entityType="detector"
entityValues={
Array [
"mean CPUUtilization",
]
}
/>
</React.Fragment>
</React.Fragment>
<EuiText
grow={true}
size="m"
>
<FormattedMessage
defaultMessage="across"
id="xpack.ml.settings.filterLists.editFilterList.acrossText"
values={Object {}}
/>
</EuiText>
<FilterListUsagePopover
entityType="job"
entityValues={
Array [
"cloudwatch",
]
}
/>
</div>
<EuiSpacer
size="s"
/>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`EditFilterListToolbar renders the toolbar with no items selected 1`] = `
<React.Fragment>
<Fragment>
<EuiFlexGroup
alignItems="stretch"
component="div"
@ -58,11 +58,11 @@ exports[`EditFilterListToolbar renders the toolbar with no items selected 1`] =
/>
</EuiFlexItem>
</EuiFlexGroup>
</React.Fragment>
</Fragment>
`;
exports[`EditFilterListToolbar renders the toolbar with one item selected 1`] = `
<React.Fragment>
<Fragment>
<EuiFlexGroup
alignItems="stretch"
component="div"
@ -119,5 +119,5 @@ exports[`EditFilterListToolbar renders the toolbar with one item selected 1`] =
/>
</EuiFlexItem>
</EuiFlexGroup>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Filter Lists Header renders header 1`] = `
<React.Fragment>
<Fragment>
<EuiFlexGroup
alignItems="baseline"
component="div"
@ -139,5 +139,5 @@ You can use the same filter list in multiple jobs.{br}{learnMoreLink}"
<EuiSpacer
size="m"
/>
</React.Fragment>
</Fragment>
`;

View file

@ -1,205 +1,201 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Filter Lists Table renders with filter lists and selection supplied 1`] = `
<React.Fragment>
<React.Fragment>
<EuiInMemoryTable
className="ml-filter-lists-table"
columns={
Array [
Object {
"field": "filter_id",
"name": "ID",
"render": [Function],
"sortable": true,
},
Object {
"field": "description",
"name": "Description",
"sortable": true,
},
Object {
"field": "item_count",
"name": "Item count",
"sortable": true,
},
Object {
"field": "used_by",
"name": "In use",
"render": [Function],
"sortable": true,
},
]
}
executeQueryOptions={Object {}}
isSelectable={true}
itemId="filter_id"
items={
Array [
Object {
"description": "List of known safe domains",
"filter_id": "safe_domains",
"item_count": 500,
"used_by": Object {
"jobs": Array [
"dns_exfiltration",
],
},
},
Object {
"description": "US East AWS instances",
"filter_id": "us_east_instances",
"item_count": 20,
"used_by": Object {
"jobs": Array [],
},
},
]
}
pagination={true}
responsive={true}
search={
<Fragment>
<EuiInMemoryTable
className="ml-filter-lists-table"
columns={
Array [
Object {
"box": Object {
"incremental": true,
"field": "filter_id",
"name": "ID",
"render": [Function],
"sortable": true,
},
Object {
"field": "description",
"name": "Description",
"sortable": true,
},
Object {
"field": "item_count",
"name": "Item count",
"sortable": true,
},
Object {
"field": "used_by",
"name": "In use",
"render": [Function],
"sortable": true,
},
]
}
executeQueryOptions={Object {}}
isSelectable={true}
itemId="filter_id"
items={
Array [
Object {
"description": "List of known safe domains",
"filter_id": "safe_domains",
"item_count": 500,
"used_by": Object {
"jobs": Array [
"dns_exfiltration",
],
},
"filters": Array [],
"toolsRight": Array [
<NewFilterButton
canCreateFilter={true}
/>,
<DeleteFilterListModal
canDeleteFilter={true}
refreshFilterLists={[MockFunction]}
selectedFilterLists={
Array [
Object {
"description": "List of known safe domains",
"filter_id": "safe_domains",
"item_count": 500,
"used_by": Object {
"jobs": Array [
"dns_exfiltration",
],
},
},
Object {
"description": "US East AWS instances",
"filter_id": "us_east_instances",
"item_count": 20,
"used_by": Object {
"jobs": Array [],
},
},
]
}
pagination={true}
responsive={true}
search={
Object {
"box": Object {
"incremental": true,
},
"filters": Array [],
"toolsRight": Array [
<NewFilterButton
canCreateFilter={true}
/>,
<DeleteFilterListModal
canDeleteFilter={true}
refreshFilterLists={[MockFunction]}
selectedFilterLists={
Array [
Object {
"description": "List of known safe domains",
"filter_id": "safe_domains",
"item_count": 500,
"used_by": Object {
"jobs": Array [
"dns_exfiltration",
],
},
]
}
/>,
],
}
},
]
}
/>,
],
}
selection={
Object {
"onSelectionChange": [Function],
"selectable": [Function],
"selectableMessage": [Function],
}
}
selection={
Object {
"onSelectionChange": [Function],
"selectable": [Function],
"selectableMessage": [Function],
}
sorting={
Object {
"sort": Object {
"direction": "asc",
"field": "filter_id",
},
}
}
sorting={
Object {
"sort": Object {
"direction": "asc",
"field": "filter_id",
},
}
/>
</React.Fragment>
</React.Fragment>
}
/>
</Fragment>
`;
exports[`Filter Lists Table renders with filter lists supplied 1`] = `
<React.Fragment>
<React.Fragment>
<EuiInMemoryTable
className="ml-filter-lists-table"
columns={
Array [
Object {
"field": "filter_id",
"name": "ID",
"render": [Function],
"sortable": true,
},
Object {
"field": "description",
"name": "Description",
"sortable": true,
},
Object {
"field": "item_count",
"name": "Item count",
"sortable": true,
},
Object {
"field": "used_by",
"name": "In use",
"render": [Function],
"sortable": true,
},
]
}
executeQueryOptions={Object {}}
isSelectable={true}
itemId="filter_id"
items={
Array [
Object {
"description": "List of known safe domains",
"filter_id": "safe_domains",
"item_count": 500,
"used_by": Object {
"jobs": Array [
"dns_exfiltration",
],
},
},
Object {
"description": "US East AWS instances",
"filter_id": "us_east_instances",
"item_count": 20,
"used_by": Object {
"jobs": Array [],
},
},
]
}
pagination={true}
responsive={true}
search={
<Fragment>
<EuiInMemoryTable
className="ml-filter-lists-table"
columns={
Array [
Object {
"box": Object {
"incremental": true,
},
"filters": Array [],
"toolsRight": Array [
<NewFilterButton
canCreateFilter={true}
/>,
<DeleteFilterListModal
canDeleteFilter={true}
refreshFilterLists={[MockFunction]}
/>,
],
}
}
selection={
"field": "filter_id",
"name": "ID",
"render": [Function],
"sortable": true,
},
Object {
"onSelectionChange": [Function],
"selectable": [Function],
"selectableMessage": [Function],
}
}
sorting={
"field": "description",
"name": "Description",
"sortable": true,
},
Object {
"sort": Object {
"direction": "asc",
"field": "filter_id",
"field": "item_count",
"name": "Item count",
"sortable": true,
},
Object {
"field": "used_by",
"name": "In use",
"render": [Function],
"sortable": true,
},
]
}
executeQueryOptions={Object {}}
isSelectable={true}
itemId="filter_id"
items={
Array [
Object {
"description": "List of known safe domains",
"filter_id": "safe_domains",
"item_count": 500,
"used_by": Object {
"jobs": Array [
"dns_exfiltration",
],
},
}
},
Object {
"description": "US East AWS instances",
"filter_id": "us_east_instances",
"item_count": 20,
"used_by": Object {
"jobs": Array [],
},
},
]
}
pagination={true}
responsive={true}
search={
Object {
"box": Object {
"incremental": true,
},
"filters": Array [],
"toolsRight": Array [
<NewFilterButton
canCreateFilter={true}
/>,
<DeleteFilterListModal
canDeleteFilter={true}
refreshFilterLists={[MockFunction]}
/>,
],
}
/>
</React.Fragment>
</React.Fragment>
}
selection={
Object {
"onSelectionChange": [Function],
"selectable": [Function],
"selectableMessage": [Function],
}
}
sorting={
Object {
"sort": Object {
"direction": "asc",
"field": "filter_id",
},
}
}
/>
</Fragment>
`;

View file

@ -115,44 +115,42 @@ exports[`CcrShard that it renders normally 1`] = `
responsive={true}
wrap={true}
>
<React.Fragment>
<EuiFlexItem
component="div"
grow={true}
key="0"
style={
Object {
"minWidth": "45%",
}
<EuiFlexItem
component="div"
grow={true}
key="0"
style={
Object {
"minWidth": "45%",
}
>
<EuiPanel
grow={true}
hasShadow={false}
paddingSize="m"
>
<InjectIntl(MonitoringTimeseriesContainerUI) />
</EuiPanel>
</EuiFlexItem>
<EuiFlexItem
component="div"
}
>
<EuiPanel
grow={true}
key="1"
style={
Object {
"minWidth": "45%",
}
}
hasShadow={false}
paddingSize="m"
>
<EuiPanel
grow={true}
hasShadow={false}
paddingSize="m"
>
<InjectIntl(MonitoringTimeseriesContainerUI) />
</EuiPanel>
</EuiFlexItem>
</React.Fragment>
<InjectIntl(MonitoringTimeseriesContainerUI) />
</EuiPanel>
</EuiFlexItem>
<EuiFlexItem
component="div"
grow={true}
key="1"
style={
Object {
"minWidth": "45%",
}
}
>
<EuiPanel
grow={true}
hasShadow={false}
paddingSize="m"
>
<InjectIntl(MonitoringTimeseriesContainerUI) />
</EuiPanel>
</EuiFlexItem>
</EuiFlexGroup>
<EuiHorizontalRule
margin="l"
@ -177,23 +175,22 @@ exports[`CcrShard that it renders normally 1`] = `
initialIsOpen={false}
paddingSize="l"
>
<React.Fragment>
<EuiTitle
size="s"
textTransform="none"
>
<h4>
September 27, 2018 9:32:09 AM
</h4>
</EuiTitle>
<EuiHorizontalRule
margin="l"
size="full"
/>
<EuiCodeBlock
language="json"
>
{
<EuiTitle
size="s"
textTransform="none"
>
<h4>
September 27, 2018 9:32:09 AM
</h4>
</EuiTitle>
<EuiHorizontalRule
margin="l"
size="full"
/>
<EuiCodeBlock
language="json"
>
{
"read_exceptions": [],
"follower_global_checkpoint": 3049,
"follower_index": "follower",
@ -218,8 +215,7 @@ exports[`CcrShard that it renders normally 1`] = `
"total_index_time_millis": 41827,
"total_transferred_bytes": 234156
}
</EuiCodeBlock>
</React.Fragment>
</EuiCodeBlock>
</EuiAccordion>
</EuiPageBody>
</EuiPage>

View file

@ -63,7 +63,15 @@ Array [
/>
<EuiOverlayMask
onClick={[Function]}
/>
>
<Portal
containerInfo={
<div
class="euiOverlayMask"
/>
}
/>
</EuiOverlayMask>
<Component
focusTrapOptions={
Object {
@ -287,7 +295,15 @@ Array [
/>
<EuiOverlayMask
onClick={[Function]}
/>
>
<Portal
containerInfo={
<div
class="euiOverlayMask"
/>
}
/>
</EuiOverlayMask>
<Component
focusTrapOptions={
Object {

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`BasicLoginForm renders as expected 1`] = `
<React.Fragment>
<Fragment>
<EuiPanel
grow={true}
hasShadow={false}
@ -81,5 +81,5 @@ exports[`BasicLoginForm renders as expected 1`] = `
</EuiButton>
</form>
</EuiPanel>
</React.Fragment>
</Fragment>
`;

View file

@ -51,13 +51,11 @@ exports[`it renders without blowing up 1`] = `
</EuiLink>
</EuiFlexItem>
</EuiFlexGroup>
<React.Fragment>
<EuiSpacer
size="l"
/>
<p>
child
</p>
</React.Fragment>
<EuiSpacer
size="l"
/>
<p>
child
</p>
</EuiPanel>
`;

View file

@ -6,157 +6,18 @@ exports[`it renders without crashing 1`] = `
iconType="logoElasticsearch"
title="Elasticsearch"
>
<React.Fragment>
<EuiDescribedFormGroup
description={
<p>
<FormattedMessage
defaultMessage="Manage the actions this role can perform against your cluster. "
id="xpack.security.management.editRoles.elasticSearchPrivileges.manageRoleActionsDescription"
values={Object {}}
/>
<EuiLink
className="editRole__learnMore"
color="primary"
href="undefinedguide/en/elastic-stack-overview/undefined/security-privileges.html#privileges-list-cluster"
target="_blank"
type="button"
>
<FormattedMessage
defaultMessage="Learn more"
id="xpack.security.management.editRoles.elasticSearchPrivileges.learnMoreLinkText"
values={Object {}}
/>
</EuiLink>
</p>
}
fullWidth={false}
gutterSize="l"
title={
<h3>
<FormattedMessage
defaultMessage="Cluster privileges"
id="xpack.security.management.editRoles.elasticSearchPrivileges.clusterPrivilegesTitle"
values={Object {}}
/>
</h3>
}
titleSize="xs"
>
<EuiFormRow
describedByIds={Array []}
fullWidth={true}
hasEmptyLabelSpace={true}
>
<ClusterPrivileges
onChange={[Function]}
role={
Object {
"elasticsearch": Object {
"cluster": Array [],
"indices": Array [],
"run_as": Array [],
},
"kibana": Object {
"global": Array [],
"space": Object {},
},
"name": "",
}
}
/>
</EuiFormRow>
</EuiDescribedFormGroup>
<EuiSpacer
size="l"
/>
<EuiDescribedFormGroup
description={
<p>
<FormattedMessage
defaultMessage="Allow requests to be submitted on the behalf of other users. "
id="xpack.security.management.editRoles.elasticSearchPrivileges.howToBeSubmittedOnBehalfOfOtherUsersDescription"
values={Object {}}
/>
<EuiLink
className="editRole__learnMore"
color="primary"
href="undefinedguide/en/elastic-stack-overview/undefined/security-privileges.html#_run_as_privilege"
target="_blank"
type="button"
>
<FormattedMessage
defaultMessage="Learn more"
id="xpack.security.management.editRoles.elasticSearchPrivileges.learnMoreLinkText"
values={Object {}}
/>
</EuiLink>
</p>
}
fullWidth={false}
gutterSize="l"
title={
<h3>
<FormattedMessage
defaultMessage="Run As privileges"
id="xpack.security.management.editRoles.elasticSearchPrivileges.runAsPrivilegesTitle"
values={Object {}}
/>
</h3>
}
titleSize="xs"
>
<EuiFormRow
describedByIds={Array []}
fullWidth={false}
hasEmptyLabelSpace={true}
>
<EuiComboBox
compressed={false}
fullWidth={false}
isClearable={true}
isDisabled={false}
onChange={[Function]}
options={Array []}
placeholder="Add a user…"
selectedOptions={Array []}
singleSelection={false}
/>
</EuiFormRow>
</EuiDescribedFormGroup>
<EuiSpacer
size="l"
/>
<EuiTitle
size="xs"
textTransform="none"
>
<h3>
<FormattedMessage
defaultMessage="Index privileges"
id="xpack.security.management.editRoles.elasticSearchPrivileges.indexPrivilegesTitle"
values={Object {}}
/>
</h3>
</EuiTitle>
<EuiSpacer
size="s"
/>
<EuiText
color="subdued"
grow={true}
size="s"
>
<EuiDescribedFormGroup
description={
<p>
<FormattedMessage
defaultMessage="Control access to the data in your cluster. "
id="xpack.security.management.editRoles.elasticSearchPrivileges.controlAccessToClusterDataDescription"
defaultMessage="Manage the actions this role can perform against your cluster. "
id="xpack.security.management.editRoles.elasticSearchPrivileges.manageRoleActionsDescription"
values={Object {}}
/>
<EuiLink
className="editRole__learnMore"
color="primary"
href="undefinedguide/en/elastic-stack-overview/undefined/security-privileges.html#privileges-list-indices"
href="undefinedguide/en/elastic-stack-overview/undefined/security-privileges.html#privileges-list-cluster"
target="_blank"
type="button"
>
@ -167,54 +28,191 @@ exports[`it renders without crashing 1`] = `
/>
</EuiLink>
</p>
</EuiText>
<IndexPrivileges
allowDocumentLevelSecurity={true}
allowFieldLevelSecurity={true}
httpClient={[MockFunction]}
indexPatterns={Array []}
onChange={[MockFunction]}
role={
Object {
"elasticsearch": Object {
"cluster": Array [],
"indices": Array [],
"run_as": Array [],
},
"kibana": Object {
"global": Array [],
"space": Object {},
},
"name": "",
}
}
validator={
RoleValidator {
"inProgressSpacePrivileges": Array [],
"shouldValidate": undefined,
}
}
/>
<EuiHorizontalRule
margin="l"
size="full"
/>
<EuiButton
color="primary"
fill={false}
iconSide="left"
iconType="plusInCircle"
onClick={[Function]}
size="s"
type="button"
}
fullWidth={false}
gutterSize="l"
title={
<h3>
<FormattedMessage
defaultMessage="Cluster privileges"
id="xpack.security.management.editRoles.elasticSearchPrivileges.clusterPrivilegesTitle"
values={Object {}}
/>
</h3>
}
titleSize="xs"
>
<EuiFormRow
describedByIds={Array []}
fullWidth={true}
hasEmptyLabelSpace={true}
>
<ClusterPrivileges
onChange={[Function]}
role={
Object {
"elasticsearch": Object {
"cluster": Array [],
"indices": Array [],
"run_as": Array [],
},
"kibana": Object {
"global": Array [],
"space": Object {},
},
"name": "",
}
}
/>
</EuiFormRow>
</EuiDescribedFormGroup>
<EuiSpacer
size="l"
/>
<EuiDescribedFormGroup
description={
<p>
<FormattedMessage
defaultMessage="Allow requests to be submitted on the behalf of other users. "
id="xpack.security.management.editRoles.elasticSearchPrivileges.howToBeSubmittedOnBehalfOfOtherUsersDescription"
values={Object {}}
/>
<EuiLink
className="editRole__learnMore"
color="primary"
href="undefinedguide/en/elastic-stack-overview/undefined/security-privileges.html#_run_as_privilege"
target="_blank"
type="button"
>
<FormattedMessage
defaultMessage="Learn more"
id="xpack.security.management.editRoles.elasticSearchPrivileges.learnMoreLinkText"
values={Object {}}
/>
</EuiLink>
</p>
}
fullWidth={false}
gutterSize="l"
title={
<h3>
<FormattedMessage
defaultMessage="Run As privileges"
id="xpack.security.management.editRoles.elasticSearchPrivileges.runAsPrivilegesTitle"
values={Object {}}
/>
</h3>
}
titleSize="xs"
>
<EuiFormRow
describedByIds={Array []}
fullWidth={false}
hasEmptyLabelSpace={true}
>
<EuiComboBox
compressed={false}
fullWidth={false}
isClearable={true}
isDisabled={false}
onChange={[Function]}
options={Array []}
placeholder="Add a user…"
selectedOptions={Array []}
singleSelection={false}
/>
</EuiFormRow>
</EuiDescribedFormGroup>
<EuiSpacer
size="l"
/>
<EuiTitle
size="xs"
textTransform="none"
>
<h3>
<FormattedMessage
defaultMessage="Add index privilege"
id="xpack.security.management.editRoles.elasticSearchPrivileges.addIndexPrivilegesButtonLabel"
defaultMessage="Index privileges"
id="xpack.security.management.editRoles.elasticSearchPrivileges.indexPrivilegesTitle"
values={Object {}}
/>
</EuiButton>
</React.Fragment>
</h3>
</EuiTitle>
<EuiSpacer
size="s"
/>
<EuiText
color="subdued"
grow={true}
size="s"
>
<p>
<FormattedMessage
defaultMessage="Control access to the data in your cluster. "
id="xpack.security.management.editRoles.elasticSearchPrivileges.controlAccessToClusterDataDescription"
values={Object {}}
/>
<EuiLink
className="editRole__learnMore"
color="primary"
href="undefinedguide/en/elastic-stack-overview/undefined/security-privileges.html#privileges-list-indices"
target="_blank"
type="button"
>
<FormattedMessage
defaultMessage="Learn more"
id="xpack.security.management.editRoles.elasticSearchPrivileges.learnMoreLinkText"
values={Object {}}
/>
</EuiLink>
</p>
</EuiText>
<IndexPrivileges
allowDocumentLevelSecurity={true}
allowFieldLevelSecurity={true}
httpClient={[MockFunction]}
indexPatterns={Array []}
onChange={[MockFunction]}
role={
Object {
"elasticsearch": Object {
"cluster": Array [],
"indices": Array [],
"run_as": Array [],
},
"kibana": Object {
"global": Array [],
"space": Object {},
},
"name": "",
}
}
validator={
RoleValidator {
"inProgressSpacePrivileges": Array [],
"shouldValidate": undefined,
}
}
/>
<EuiHorizontalRule
margin="l"
size="full"
/>
<EuiButton
color="primary"
fill={false}
iconSide="left"
iconType="plusInCircle"
onClick={[Function]}
size="s"
type="button"
>
<FormattedMessage
defaultMessage="Add index privilege"
id="xpack.security.management.editRoles.elasticSearchPrivileges.addIndexPrivilegesButtonLabel"
values={Object {}}
/>
</EuiButton>
</CollapsiblePanel>
</I18nProvider>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`it renders without crashing 1`] = `
<React.Fragment>
<Fragment>
<EuiHorizontalRule
margin="l"
size="full"
@ -20,208 +20,204 @@ exports[`it renders without crashing 1`] = `
component="div"
grow={true}
>
<React.Fragment>
<EuiFlexGroup
alignItems="stretch"
<EuiFlexGroup
alignItems="stretch"
component="div"
direction="row"
gutterSize="l"
justifyContent="flexStart"
responsive={true}
wrap={false}
>
<EuiFlexItem
component="div"
direction="row"
gutterSize="l"
justifyContent="flexStart"
responsive={true}
wrap={false}
grow={true}
>
<EuiFlexItem
component="div"
grow={true}
>
<EuiFormRow
describedByIds={Array []}
fullWidth={true}
hasEmptyLabelSpace={false}
isInvalid={false}
label={
<FormattedMessage
defaultMessage="Indices"
id="xpack.security.management.editRoles.indexPrivilegeForm.indicesFormRowLabel"
values={Object {}}
/>
}
>
<EuiComboBox
compressed={false}
data-test-subj="indicesInput0"
fullWidth={false}
isClearable={true}
isDisabled={false}
onChange={[Function]}
onCreateOption={[Function]}
options={Array []}
selectedOptions={Array []}
singleSelection={false}
<EuiFormRow
describedByIds={Array []}
fullWidth={true}
hasEmptyLabelSpace={false}
isInvalid={false}
label={
<FormattedMessage
defaultMessage="Indices"
id="xpack.security.management.editRoles.indexPrivilegeForm.indicesFormRowLabel"
values={Object {}}
/>
</EuiFormRow>
</EuiFlexItem>
<EuiFlexItem
component="div"
grow={true}
}
>
<EuiFormRow
describedByIds={Array []}
fullWidth={true}
hasEmptyLabelSpace={false}
label={
<FormattedMessage
defaultMessage="Privileges"
id="xpack.security.management.editRoles.indexPrivilegeForm.privilegesFormRowLabel"
values={Object {}}
/>
}
>
<EuiComboBox
compressed={false}
data-test-subj="privilegesInput0"
fullWidth={false}
isClearable={true}
isDisabled={false}
onChange={[Function]}
options={
Array [
Object {
"isGroupLabelOption": false,
"label": "all",
},
Object {
"isGroupLabelOption": false,
"label": "manage",
},
Object {
"isGroupLabelOption": false,
"label": "monitor",
},
Object {
"isGroupLabelOption": false,
"label": "read",
},
Object {
"isGroupLabelOption": false,
"label": "index",
},
Object {
"isGroupLabelOption": false,
"label": "create",
},
Object {
"isGroupLabelOption": false,
"label": "delete",
},
Object {
"isGroupLabelOption": false,
"label": "write",
},
Object {
"isGroupLabelOption": false,
"label": "delete_index",
},
Object {
"isGroupLabelOption": false,
"label": "create_index",
},
Object {
"isGroupLabelOption": false,
"label": "view_index_metadata",
},
Object {
"isGroupLabelOption": false,
"label": "read_cross_cluster",
},
Object {
"isGroupLabelOption": false,
"label": "manage_follow_index",
},
Object {
"isGroupLabelOption": false,
"label": "manage_ilm",
},
]
}
selectedOptions={Array []}
singleSelection={false}
/>
</EuiFormRow>
</EuiFlexItem>
<EuiFlexItem
component="div"
grow={true}
>
<EuiFormRow
className="indexPrivilegeForm__grantedFieldsRow"
describedByIds={Array []}
fullWidth={true}
hasEmptyLabelSpace={false}
helpText={
<FormattedMessage
defaultMessage="If no fields are granted, then users assigned to this role will not be able to see any data for this index."
id="xpack.security.management.editRoles.indexPrivilegeForm.grantedFieldsFormRowHelpText"
values={Object {}}
/>
}
label={
<FormattedMessage
defaultMessage="Granted fields (optional)"
id="xpack.security.management.editRoles.indexPrivilegeForm.grantedFieldsFormRowLabel"
values={Object {}}
/>
}
>
<React.Fragment>
<EuiComboBox
compressed={false}
data-test-subj="fieldInput0"
fullWidth={false}
isClearable={true}
isDisabled={false}
onChange={[Function]}
onCreateOption={[Function]}
options={Array []}
selectedOptions={Array []}
singleSelection={false}
/>
</React.Fragment>
</EuiFormRow>
</EuiFlexItem>
</EuiFlexGroup>
<EuiSpacer
size="l"
/>
<EuiFlexGroup
alignItems="stretch"
component="div"
direction="column"
gutterSize="l"
justifyContent="flexStart"
responsive={true}
wrap={false}
>
<EuiFlexItem
component="div"
grow={true}
>
<EuiSwitch
checked={false}
compressed={true}
data-test-subj="restrictDocumentsQuery0"
label={
<FormattedMessage
defaultMessage="Grant read privileges to specific documents"
id="xpack.security.management.editRoles.indexPrivilegeForm.grantReadPrivilegesLabel"
values={Object {}}
/>
}
<EuiComboBox
compressed={false}
data-test-subj="indicesInput0"
fullWidth={false}
isClearable={true}
isDisabled={false}
onChange={[Function]}
onCreateOption={[Function]}
options={Array []}
selectedOptions={Array []}
singleSelection={false}
/>
</EuiFlexItem>
</EuiFlexGroup>
</React.Fragment>
</EuiFormRow>
</EuiFlexItem>
<EuiFlexItem
component="div"
grow={true}
>
<EuiFormRow
describedByIds={Array []}
fullWidth={true}
hasEmptyLabelSpace={false}
label={
<FormattedMessage
defaultMessage="Privileges"
id="xpack.security.management.editRoles.indexPrivilegeForm.privilegesFormRowLabel"
values={Object {}}
/>
}
>
<EuiComboBox
compressed={false}
data-test-subj="privilegesInput0"
fullWidth={false}
isClearable={true}
isDisabled={false}
onChange={[Function]}
options={
Array [
Object {
"isGroupLabelOption": false,
"label": "all",
},
Object {
"isGroupLabelOption": false,
"label": "manage",
},
Object {
"isGroupLabelOption": false,
"label": "monitor",
},
Object {
"isGroupLabelOption": false,
"label": "read",
},
Object {
"isGroupLabelOption": false,
"label": "index",
},
Object {
"isGroupLabelOption": false,
"label": "create",
},
Object {
"isGroupLabelOption": false,
"label": "delete",
},
Object {
"isGroupLabelOption": false,
"label": "write",
},
Object {
"isGroupLabelOption": false,
"label": "delete_index",
},
Object {
"isGroupLabelOption": false,
"label": "create_index",
},
Object {
"isGroupLabelOption": false,
"label": "view_index_metadata",
},
Object {
"isGroupLabelOption": false,
"label": "read_cross_cluster",
},
Object {
"isGroupLabelOption": false,
"label": "manage_follow_index",
},
Object {
"isGroupLabelOption": false,
"label": "manage_ilm",
},
]
}
selectedOptions={Array []}
singleSelection={false}
/>
</EuiFormRow>
</EuiFlexItem>
<EuiFlexItem
component="div"
grow={true}
>
<EuiFormRow
className="indexPrivilegeForm__grantedFieldsRow"
describedByIds={Array []}
fullWidth={true}
hasEmptyLabelSpace={false}
helpText={
<FormattedMessage
defaultMessage="If no fields are granted, then users assigned to this role will not be able to see any data for this index."
id="xpack.security.management.editRoles.indexPrivilegeForm.grantedFieldsFormRowHelpText"
values={Object {}}
/>
}
label={
<FormattedMessage
defaultMessage="Granted fields (optional)"
id="xpack.security.management.editRoles.indexPrivilegeForm.grantedFieldsFormRowLabel"
values={Object {}}
/>
}
>
<EuiComboBox
compressed={false}
data-test-subj="fieldInput0"
fullWidth={false}
isClearable={true}
isDisabled={false}
onChange={[Function]}
onCreateOption={[Function]}
options={Array []}
selectedOptions={Array []}
singleSelection={false}
/>
</EuiFormRow>
</EuiFlexItem>
</EuiFlexGroup>
<EuiSpacer
size="l"
/>
<EuiFlexGroup
alignItems="stretch"
component="div"
direction="column"
gutterSize="l"
justifyContent="flexStart"
responsive={true}
wrap={false}
>
<EuiFlexItem
component="div"
grow={true}
>
<EuiSwitch
checked={false}
compressed={true}
data-test-subj="restrictDocumentsQuery0"
label={
<FormattedMessage
defaultMessage="Grant read privileges to specific documents"
id="xpack.security.management.editRoles.indexPrivilegeForm.grantReadPrivilegesLabel"
values={Object {}}
/>
}
onChange={[Function]}
/>
</EuiFlexItem>
</EuiFlexGroup>
</EuiFlexItem>
<EuiFlexItem
component="div"
@ -243,5 +239,5 @@ exports[`it renders without crashing 1`] = `
</EuiFormRow>
</EuiFlexItem>
</EuiFlexGroup>
</React.Fragment>
</Fragment>
`;

View file

@ -1,3 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`it renders without crashing 1`] = `Array []`;
exports[`it renders without crashing 1`] = `null`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`<ImpactedSpacesFlyout> renders without crashing 1`] = `
<React.Fragment>
<Fragment>
<div
className="showImpactedSpaces"
>
@ -17,5 +17,5 @@ exports[`<ImpactedSpacesFlyout> renders without crashing 1`] = `
/>
</EuiLink>
</div>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`<SimplePrivilegeForm> renders without crashing 1`] = `
<React.Fragment>
<Fragment>
<EuiDescribedFormGroup
description={
<p>
@ -45,5 +45,5 @@ exports[`<SimplePrivilegeForm> renders without crashing 1`] = `
/>
</EuiFormRow>
</EuiDescribedFormGroup>
</React.Fragment>
</Fragment>
`;

View file

@ -185,7 +185,7 @@ exports[`<SpaceAwarePrivilegeForm> hides the space table if there are no existin
`;
exports[`<SpaceAwarePrivilegeForm> renders without crashing 1`] = `
<React.Fragment>
<Fragment>
<EuiDescribedFormGroup
description={
<p>
@ -233,66 +233,130 @@ exports[`<SpaceAwarePrivilegeForm> renders without crashing 1`] = `
<EuiSpacer
size="l"
/>
<React.Fragment>
<EuiTitle
size="xs"
textTransform="none"
>
<h3>
<FormattedMessage
defaultMessage="Higher privileges for individual spaces"
id="xpack.security.management.editRoles.spaceAwarePrivilegeForm.higherPrivilegesForIndividualSpacesTitle"
values={Object {}}
/>
</h3>
</EuiTitle>
<EuiSpacer
size="s"
/>
<EuiText
color="subdued"
grow={false}
size="s"
>
<p>
<FormattedMessage
defaultMessage="Grant more privileges on a per space basis. For example, if the privileges are
<EuiTitle
size="xs"
textTransform="none"
>
<h3>
<FormattedMessage
defaultMessage="Higher privileges for individual spaces"
id="xpack.security.management.editRoles.spaceAwarePrivilegeForm.higherPrivilegesForIndividualSpacesTitle"
values={Object {}}
/>
</h3>
</EuiTitle>
<EuiSpacer
size="s"
/>
<EuiText
color="subdued"
grow={false}
size="s"
>
<p>
<FormattedMessage
defaultMessage="Grant more privileges on a per space basis. For example, if the privileges are
{read} for all spaces, you can set the privileges to {all}
for an individual space."
id="xpack.security.management.editRoles.spaceAwarePrivilegeForm.grantMorePrivilegesTitle"
values={
Object {
"all": <strong>
<FormattedMessage
defaultMessage="all"
id="xpack.security.management.editRoles.spaceAwarePrivilegeForm.allText"
values={Object {}}
/>
</strong>,
"read": <strong>
<FormattedMessage
defaultMessage="read"
id="xpack.security.management.editRoles.spaceAwarePrivilegeForm.readText"
values={Object {}}
/>
</strong>,
}
id="xpack.security.management.editRoles.spaceAwarePrivilegeForm.grantMorePrivilegesTitle"
values={
Object {
"all": <strong>
<FormattedMessage
defaultMessage="all"
id="xpack.security.management.editRoles.spaceAwarePrivilegeForm.allText"
values={Object {}}
/>
</strong>,
"read": <strong>
<FormattedMessage
defaultMessage="read"
id="xpack.security.management.editRoles.spaceAwarePrivilegeForm.readText"
values={Object {}}
/>
</strong>,
}
/>
</p>
</EuiText>
<EuiSpacer
size="s"
/>
<React.Fragment>
<InjectIntl(PrivilegeSpaceTableUI)
availablePrivileges={
Array [
"all",
"read",
]
}
onChange={[Function]}
/>
</p>
</EuiText>
<EuiSpacer
size="s"
/>
<InjectIntl(PrivilegeSpaceTableUI)
availablePrivileges={
Array [
"all",
"read",
]
}
onChange={[Function]}
role={
Object {
"elasticsearch": Object {
"cluster": Array [
"manage",
],
"indices": Array [],
"run_as": Array [],
},
"kibana": Object {
"global": Array [],
"space": Object {},
},
"name": "",
}
}
spacePrivileges={Object {}}
spaces={
Array [
Object {
"_reserved": true,
"id": "default",
"name": "Default Space",
},
Object {
"id": "marketing",
"name": "Marketing",
},
]
}
/>
<EuiFlexGroup
alignItems="baseline"
component="div"
direction="row"
gutterSize="l"
justifyContent="flexStart"
responsive={true}
wrap={false}
>
<EuiFlexItem
component="div"
grow={false}
>
<EuiButton
color="primary"
data-test-subj="addSpacePrivilegeButton"
fill={false}
iconSide="left"
iconType="plusInCircle"
onClick={[Function]}
size="s"
type="button"
>
<FormattedMessage
defaultMessage="Add space privilege"
id="xpack.security.management.editRoles.spaceAwarePrivilegeForm.addSpacePrivilegeTitle"
values={Object {}}
/>
</EuiButton>
</EuiFlexItem>
<EuiFlexItem
component="div"
grow={true}
>
<InjectIntl(ImpactedSpacesFlyoutUI)
role={
Object {
"elasticsearch": Object {
@ -309,7 +373,6 @@ exports[`<SpaceAwarePrivilegeForm> renders without crashing 1`] = `
"name": "",
}
}
spacePrivileges={Object {}}
spaces={
Array [
Object {
@ -323,82 +386,15 @@ exports[`<SpaceAwarePrivilegeForm> renders without crashing 1`] = `
},
]
}
userProfile={
Object {
"hasCapability": [Function],
}
}
/>
</React.Fragment>
<EuiFlexGroup
alignItems="baseline"
component="div"
direction="row"
gutterSize="l"
justifyContent="flexStart"
responsive={true}
wrap={false}
>
<EuiFlexItem
component="div"
grow={false}
>
<EuiButton
color="primary"
data-test-subj="addSpacePrivilegeButton"
fill={false}
iconSide="left"
iconType="plusInCircle"
onClick={[Function]}
size="s"
type="button"
>
<FormattedMessage
defaultMessage="Add space privilege"
id="xpack.security.management.editRoles.spaceAwarePrivilegeForm.addSpacePrivilegeTitle"
values={Object {}}
/>
</EuiButton>
</EuiFlexItem>
<EuiFlexItem
component="div"
grow={true}
>
<InjectIntl(ImpactedSpacesFlyoutUI)
role={
Object {
"elasticsearch": Object {
"cluster": Array [
"manage",
],
"indices": Array [],
"run_as": Array [],
},
"kibana": Object {
"global": Array [],
"space": Object {},
},
"name": "",
}
}
spaces={
Array [
Object {
"_reserved": true,
"id": "default",
"name": "Default Space",
},
Object {
"id": "marketing",
"name": "Marketing",
},
]
}
userProfile={
Object {
"hasCapability": [Function],
}
}
/>
</EuiFlexItem>
</EuiFlexGroup>
</React.Fragment>
</React.Fragment>
</EuiFlexItem>
</EuiFlexGroup>
</Fragment>
`;
exports[`<SpaceAwarePrivilegeForm> with user profile disabling "manageSpaces" renders a warning message instead of the privilege form 1`] = `

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`AdvancedSettingsSubtitle renders as expected 1`] = `
<React.Fragment>
<Fragment>
<EuiSpacer
size="m"
/>
@ -25,5 +25,5 @@ exports[`AdvancedSettingsSubtitle renders as expected 1`] = `
</p>
}
/>
</React.Fragment>
</Fragment>
`;

View file

@ -3,7 +3,7 @@
exports[`SecureSpaceMessage doesn't render if user profile does not allow security to be managed 1`] = `""`;
exports[`SecureSpaceMessage renders if user profile allows security to be managed 1`] = `
<React.Fragment>
<Fragment>
<EuiSpacer
size="l"
/>
@ -34,5 +34,5 @@ exports[`SecureSpaceMessage renders if user profile allows security to be manage
/>
</p>
</EuiText>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`DeleteSpacesButton renders as expected 1`] = `
<React.Fragment>
<Fragment>
<EuiButton
aria-label="Delete this space"
color="danger"
@ -16,5 +16,5 @@ exports[`DeleteSpacesButton renders as expected 1`] = `
values={Object {}}
/>
</EuiButton>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders without crashing 1`] = `
<React.Fragment>
<Fragment>
<EuiFormRow
describedByIds={Array []}
fullWidth={true}
@ -67,5 +67,5 @@ exports[`renders without crashing 1`] = `
value=""
/>
</EuiFormRow>
</React.Fragment>
</Fragment>
`;

View file

@ -8,128 +8,126 @@ exports[`SpacesGridPage renders as expected 1`] = `
horizontalPosition="center"
panelPaddingSize="l"
>
<React.Fragment>
<EuiFlexGroup
alignItems="stretch"
<EuiFlexGroup
alignItems="stretch"
component="div"
direction="row"
gutterSize="l"
justifyContent="spaceBetween"
responsive={true}
wrap={false}
>
<EuiFlexItem
component="div"
direction="row"
gutterSize="l"
justifyContent="spaceBetween"
responsive={true}
wrap={false}
grow={false}
>
<EuiFlexItem
component="div"
grow={false}
<EuiTitle
size="m"
textTransform="none"
>
<EuiTitle
size="m"
textTransform="none"
>
<h1>
<FormattedMessage
defaultMessage="Spaces"
id="xpack.spaces.management.spacesGridPage.spacesTitle"
values={Object {}}
/>
</h1>
</EuiTitle>
<EuiText
color="subdued"
grow={true}
size="m"
>
<p>
Organize your dashboards and other saved objects into meaningful categories.
</p>
</EuiText>
</EuiFlexItem>
<EuiFlexItem
component="div"
grow={false}
>
<EuiButton
color="primary"
fill={true}
iconSide="left"
onClick={[Function]}
type="button"
>
<h1>
<FormattedMessage
defaultMessage="Create a space"
id="xpack.spaces.management.spacesGridPage.createSpaceButtonLabel"
defaultMessage="Spaces"
id="xpack.spaces.management.spacesGridPage.spacesTitle"
values={Object {}}
/>
</EuiButton>
</EuiFlexItem>
</EuiFlexGroup>
<EuiSpacer
size="l"
/>
<EuiInMemoryTable
columns={
Array [
Object {
"field": "name",
"name": "",
"render": [Function],
"sortable": true,
"width": "50px",
},
Object {
"field": "name",
"name": "Space",
"render": [Function],
"sortable": true,
},
Object {
"field": "id",
"name": "Identifier",
"sortable": true,
},
Object {
"field": "description",
"name": "Description",
"sortable": true,
},
Object {
"actions": Array [
Object {
"render": [Function],
},
Object {
"available": [Function],
"render": [Function],
},
],
"name": "Actions",
},
]
}
executeQueryOptions={Object {}}
hasActions={true}
itemId="id"
items={Array []}
loading={true}
message={
</h1>
</EuiTitle>
<EuiText
color="subdued"
grow={true}
size="m"
>
<p>
Organize your dashboards and other saved objects into meaningful categories.
</p>
</EuiText>
</EuiFlexItem>
<EuiFlexItem
component="div"
grow={false}
>
<EuiButton
color="primary"
fill={true}
iconSide="left"
onClick={[Function]}
type="button"
>
<FormattedMessage
defaultMessage="loading…"
id="xpack.spaces.management.spacesGridPage.loadingTitle"
defaultMessage="Create a space"
id="xpack.spaces.management.spacesGridPage.createSpaceButtonLabel"
values={Object {}}
/>
}
pagination={true}
responsive={true}
search={
</EuiButton>
</EuiFlexItem>
</EuiFlexGroup>
<EuiSpacer
size="l"
/>
<EuiInMemoryTable
columns={
Array [
Object {
"box": Object {
"placeholder": "Search",
},
}
"field": "name",
"name": "",
"render": [Function],
"sortable": true,
"width": "50px",
},
Object {
"field": "name",
"name": "Space",
"render": [Function],
"sortable": true,
},
Object {
"field": "id",
"name": "Identifier",
"sortable": true,
},
Object {
"field": "description",
"name": "Description",
"sortable": true,
},
Object {
"actions": Array [
Object {
"render": [Function],
},
Object {
"available": [Function],
"render": [Function],
},
],
"name": "Actions",
},
]
}
executeQueryOptions={Object {}}
hasActions={true}
itemId="id"
items={Array []}
loading={true}
message={
<FormattedMessage
defaultMessage="loading…"
id="xpack.spaces.management.spacesGridPage.loadingTitle"
values={Object {}}
/>
}
pagination={true}
responsive={true}
search={
Object {
"box": Object {
"placeholder": "Search",
},
}
sorting={false}
/>
</React.Fragment>
}
sorting={false}
/>
</EuiPageContent>
<Component
userProfile={

View file

@ -72,23 +72,21 @@ exports[`it renders without crashing 1`] = `
onSpaceSelect={[Function]}
spaces={Array []}
/>
<React.Fragment>
<EuiSpacer
size="l"
<EuiSpacer
size="l"
/>
<EuiText
color="subdued"
grow={true}
size="m"
textAlign="center"
>
<FormattedMessage
defaultMessage="No spaces match search criteria"
id="xpack.spaces.spaceSelector.noSpacesMatchSearchCriteriaDescription"
values={Object {}}
/>
<EuiText
color="subdued"
grow={true}
size="m"
textAlign="center"
>
<FormattedMessage
defaultMessage="No spaces match search criteria"
id="xpack.spaces.spaceSelector.noSpacesMatchSearchCriteriaDescription"
values={Object {}}
/>
</EuiText>
</React.Fragment>
</EuiText>
</EuiPageContent>
</EuiPageBody>
</EuiPage>

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CheckupTab render with deprecations 1`] = `
<React.Fragment>
<Fragment>
<EuiSpacer
size="l"
/>
@ -27,281 +27,277 @@ exports[`CheckupTab render with deprecations 1`] = `
<EuiSpacer
size="l"
/>
<React.Fragment>
<EuiCallOut
color="warning"
iconType="help"
size="m"
title={
<FormattedMessage
defaultMessage="Back up your indices now"
id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutTitle"
values={Object {}}
/>
}
>
<p>
<FormattedMessage
defaultMessage="Back up your data using the {snapshotRestoreDocsButton}."
id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutBody.calloutDetail"
values={
Object {
"snapshotRestoreDocsButton": <EuiLink
color="primary"
href="https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html"
target="_blank"
type="button"
>
<FormattedMessage
defaultMessage="snapshot and restore APIs"
id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutBody.snapshotRestoreDocsButtonLabel"
values={Object {}}
/>
</EuiLink>,
}
<EuiCallOut
color="warning"
iconType="help"
size="m"
title={
<FormattedMessage
defaultMessage="Back up your indices now"
id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutTitle"
values={Object {}}
/>
}
>
<p>
<FormattedMessage
defaultMessage="Back up your data using the {snapshotRestoreDocsButton}."
id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutBody.calloutDetail"
values={
Object {
"snapshotRestoreDocsButton": <EuiLink
color="primary"
href="https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html"
target="_blank"
type="button"
>
<FormattedMessage
defaultMessage="snapshot and restore APIs"
id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutBody.snapshotRestoreDocsButtonLabel"
values={Object {}}
/>
</EuiLink>,
}
/>
</p>
</EuiCallOut>
<EuiSpacer
size="l"
/>
</React.Fragment>
}
/>
</p>
</EuiCallOut>
<EuiSpacer
size="l"
/>
<EuiPageContent
panelPaddingSize="l"
>
<EuiPageContentBody>
<React.Fragment>
<InjectIntl(Component)
allDeprecations={
Array [
Object {
"details": "[[type: doc, field: spins], [type: doc, field: mlockall], [type: doc, field: node_master], [type: doc, field: primary]]",
"index": ".monitoring-es-6-2018.11.07",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: tweet, field: liked]]",
"index": "twitter",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: index-pattern, field: notExpandable], [type: config, field: xPackMonitoring:allowReport], [type: config, field: xPackMonitoring:showBanner], [type: dashboard, field: pause], [type: dashboard, field: timeRestore]]",
"index": ".kibana",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: doc, field: notify], [type: doc, field: created], [type: doc, field: attach_payload], [type: doc, field: met]]",
"index": ".watcher-history-6-2018.11.07",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: doc, field: snapshot]]",
"index": ".monitoring-kibana-6-2018.11.07",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: tweet, field: liked]]",
"index": "twitter2",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"actions": Array [
Object {
"label": "Reindex in Console",
"url": "/app/kibana#/dev_tools/console?load_from=%2Fapi%2Fupgrade_assistant%2Freindex%2Fconsole_template%2Ftwitter.json",
},
],
"details": "Reindexing is irreversible, so always back up your index before proceeding.",
"index": "twitter",
"level": "critical",
"message": "This index must be reindexed in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reindex-upgrade.html",
},
Object {
"details": "Upgrading is irreversible, so always back up your index before proceeding.",
"index": ".triggered_watches",
"level": "critical",
"message": "This index must be upgraded in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html",
},
Object {
"actions": Array [
Object {
"label": "Reindex in Console",
"url": "/app/kibana#/dev_tools/console?load_from=%2Fapi%2Fupgrade_assistant%2Freindex%2Fconsole_template%2F.reindex-status.json",
},
],
"details": "Reindexing is irreversible, so always back up your index before proceeding.",
"index": ".reindex-status",
"level": "critical",
"message": "This index must be reindexed in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reindex-upgrade.html",
},
Object {
"actions": Array [
Object {
"label": "Reindex in Console",
"url": "/app/kibana#/dev_tools/console?load_from=%2Fapi%2Fupgrade_assistant%2Freindex%2Fconsole_template%2Ftwitter2.json",
},
],
"details": "Reindexing is irreversible, so always back up your index before proceeding.",
"index": "twitter2",
"level": "critical",
"message": "This index must be reindexed in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reindex-upgrade.html",
},
Object {
"details": "Upgrading is irreversible, so always back up your index before proceeding.",
"index": ".watches",
"level": "critical",
"message": "This index must be upgraded in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html",
},
]
}
availableGroupByOptions={
Array [
"message",
"index",
]
}
currentFilter="all"
currentGroupBy="message"
loadData={[MockFunction]}
loadingState={1}
onFilterChange={[Function]}
onGroupByChange={[Function]}
onSearchChange={[Function]}
search=""
/>
<EuiSpacer
size="l"
/>
<GroupedDeprecations
allDeprecations={
Array [
Object {
"details": "[[type: doc, field: spins], [type: doc, field: mlockall], [type: doc, field: node_master], [type: doc, field: primary]]",
"index": ".monitoring-es-6-2018.11.07",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: tweet, field: liked]]",
"index": "twitter",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: index-pattern, field: notExpandable], [type: config, field: xPackMonitoring:allowReport], [type: config, field: xPackMonitoring:showBanner], [type: dashboard, field: pause], [type: dashboard, field: timeRestore]]",
"index": ".kibana",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: doc, field: notify], [type: doc, field: created], [type: doc, field: attach_payload], [type: doc, field: met]]",
"index": ".watcher-history-6-2018.11.07",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: doc, field: snapshot]]",
"index": ".monitoring-kibana-6-2018.11.07",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: tweet, field: liked]]",
"index": "twitter2",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"actions": Array [
Object {
"label": "Reindex in Console",
"url": "/app/kibana#/dev_tools/console?load_from=%2Fapi%2Fupgrade_assistant%2Freindex%2Fconsole_template%2Ftwitter.json",
},
],
"details": "Reindexing is irreversible, so always back up your index before proceeding.",
"index": "twitter",
"level": "critical",
"message": "This index must be reindexed in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reindex-upgrade.html",
},
Object {
"details": "Upgrading is irreversible, so always back up your index before proceeding.",
"index": ".triggered_watches",
"level": "critical",
"message": "This index must be upgraded in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html",
},
Object {
"actions": Array [
Object {
"label": "Reindex in Console",
"url": "/app/kibana#/dev_tools/console?load_from=%2Fapi%2Fupgrade_assistant%2Freindex%2Fconsole_template%2F.reindex-status.json",
},
],
"details": "Reindexing is irreversible, so always back up your index before proceeding.",
"index": ".reindex-status",
"level": "critical",
"message": "This index must be reindexed in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reindex-upgrade.html",
},
Object {
"actions": Array [
Object {
"label": "Reindex in Console",
"url": "/app/kibana#/dev_tools/console?load_from=%2Fapi%2Fupgrade_assistant%2Freindex%2Fconsole_template%2Ftwitter2.json",
},
],
"details": "Reindexing is irreversible, so always back up your index before proceeding.",
"index": "twitter2",
"level": "critical",
"message": "This index must be reindexed in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reindex-upgrade.html",
},
Object {
"details": "Upgrading is irreversible, so always back up your index before proceeding.",
"index": ".watches",
"level": "critical",
"message": "This index must be upgraded in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html",
},
]
}
currentFilter="all"
currentGroupBy="message"
search=""
/>
</React.Fragment>
<InjectIntl(Component)
allDeprecations={
Array [
Object {
"details": "[[type: doc, field: spins], [type: doc, field: mlockall], [type: doc, field: node_master], [type: doc, field: primary]]",
"index": ".monitoring-es-6-2018.11.07",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: tweet, field: liked]]",
"index": "twitter",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: index-pattern, field: notExpandable], [type: config, field: xPackMonitoring:allowReport], [type: config, field: xPackMonitoring:showBanner], [type: dashboard, field: pause], [type: dashboard, field: timeRestore]]",
"index": ".kibana",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: doc, field: notify], [type: doc, field: created], [type: doc, field: attach_payload], [type: doc, field: met]]",
"index": ".watcher-history-6-2018.11.07",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: doc, field: snapshot]]",
"index": ".monitoring-kibana-6-2018.11.07",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: tweet, field: liked]]",
"index": "twitter2",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"actions": Array [
Object {
"label": "Reindex in Console",
"url": "/app/kibana#/dev_tools/console?load_from=%2Fapi%2Fupgrade_assistant%2Freindex%2Fconsole_template%2Ftwitter.json",
},
],
"details": "Reindexing is irreversible, so always back up your index before proceeding.",
"index": "twitter",
"level": "critical",
"message": "This index must be reindexed in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reindex-upgrade.html",
},
Object {
"details": "Upgrading is irreversible, so always back up your index before proceeding.",
"index": ".triggered_watches",
"level": "critical",
"message": "This index must be upgraded in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html",
},
Object {
"actions": Array [
Object {
"label": "Reindex in Console",
"url": "/app/kibana#/dev_tools/console?load_from=%2Fapi%2Fupgrade_assistant%2Freindex%2Fconsole_template%2F.reindex-status.json",
},
],
"details": "Reindexing is irreversible, so always back up your index before proceeding.",
"index": ".reindex-status",
"level": "critical",
"message": "This index must be reindexed in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reindex-upgrade.html",
},
Object {
"actions": Array [
Object {
"label": "Reindex in Console",
"url": "/app/kibana#/dev_tools/console?load_from=%2Fapi%2Fupgrade_assistant%2Freindex%2Fconsole_template%2Ftwitter2.json",
},
],
"details": "Reindexing is irreversible, so always back up your index before proceeding.",
"index": "twitter2",
"level": "critical",
"message": "This index must be reindexed in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reindex-upgrade.html",
},
Object {
"details": "Upgrading is irreversible, so always back up your index before proceeding.",
"index": ".watches",
"level": "critical",
"message": "This index must be upgraded in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html",
},
]
}
availableGroupByOptions={
Array [
"message",
"index",
]
}
currentFilter="all"
currentGroupBy="message"
loadData={[MockFunction]}
loadingState={1}
onFilterChange={[Function]}
onGroupByChange={[Function]}
onSearchChange={[Function]}
search=""
/>
<EuiSpacer
size="l"
/>
<GroupedDeprecations
allDeprecations={
Array [
Object {
"details": "[[type: doc, field: spins], [type: doc, field: mlockall], [type: doc, field: node_master], [type: doc, field: primary]]",
"index": ".monitoring-es-6-2018.11.07",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: tweet, field: liked]]",
"index": "twitter",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: index-pattern, field: notExpandable], [type: config, field: xPackMonitoring:allowReport], [type: config, field: xPackMonitoring:showBanner], [type: dashboard, field: pause], [type: dashboard, field: timeRestore]]",
"index": ".kibana",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: doc, field: notify], [type: doc, field: created], [type: doc, field: attach_payload], [type: doc, field: met]]",
"index": ".watcher-history-6-2018.11.07",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: doc, field: snapshot]]",
"index": ".monitoring-kibana-6-2018.11.07",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"details": "[[type: tweet, field: liked]]",
"index": "twitter2",
"level": "warning",
"message": "Coercion of boolean fields",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_mappings_changes.html#_coercion_of_boolean_fields",
},
Object {
"actions": Array [
Object {
"label": "Reindex in Console",
"url": "/app/kibana#/dev_tools/console?load_from=%2Fapi%2Fupgrade_assistant%2Freindex%2Fconsole_template%2Ftwitter.json",
},
],
"details": "Reindexing is irreversible, so always back up your index before proceeding.",
"index": "twitter",
"level": "critical",
"message": "This index must be reindexed in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reindex-upgrade.html",
},
Object {
"details": "Upgrading is irreversible, so always back up your index before proceeding.",
"index": ".triggered_watches",
"level": "critical",
"message": "This index must be upgraded in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html",
},
Object {
"actions": Array [
Object {
"label": "Reindex in Console",
"url": "/app/kibana#/dev_tools/console?load_from=%2Fapi%2Fupgrade_assistant%2Freindex%2Fconsole_template%2F.reindex-status.json",
},
],
"details": "Reindexing is irreversible, so always back up your index before proceeding.",
"index": ".reindex-status",
"level": "critical",
"message": "This index must be reindexed in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reindex-upgrade.html",
},
Object {
"actions": Array [
Object {
"label": "Reindex in Console",
"url": "/app/kibana#/dev_tools/console?load_from=%2Fapi%2Fupgrade_assistant%2Freindex%2Fconsole_template%2Ftwitter2.json",
},
],
"details": "Reindexing is irreversible, so always back up your index before proceeding.",
"index": "twitter2",
"level": "critical",
"message": "This index must be reindexed in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reindex-upgrade.html",
},
Object {
"details": "Upgrading is irreversible, so always back up your index before proceeding.",
"index": ".watches",
"level": "critical",
"message": "This index must be upgraded in order to upgrade the Elastic Stack.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html",
},
]
}
currentFilter="all"
currentGroupBy="message"
search=""
/>
</EuiPageContentBody>
</EuiPageContent>
</React.Fragment>
</Fragment>
`;
exports[`CheckupTab render with error 1`] = `
<React.Fragment>
<Fragment>
<EuiSpacer
size="l"
/>
@ -327,46 +323,44 @@ exports[`CheckupTab render with error 1`] = `
<EuiSpacer
size="l"
/>
<React.Fragment>
<EuiCallOut
color="warning"
iconType="help"
size="m"
title={
<FormattedMessage
defaultMessage="Back up your indices now"
id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutTitle"
values={Object {}}
/>
}
>
<p>
<FormattedMessage
defaultMessage="Back up your data using the {snapshotRestoreDocsButton}."
id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutBody.calloutDetail"
values={
Object {
"snapshotRestoreDocsButton": <EuiLink
color="primary"
href="https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html"
target="_blank"
type="button"
>
<FormattedMessage
defaultMessage="snapshot and restore APIs"
id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutBody.snapshotRestoreDocsButtonLabel"
values={Object {}}
/>
</EuiLink>,
}
<EuiCallOut
color="warning"
iconType="help"
size="m"
title={
<FormattedMessage
defaultMessage="Back up your indices now"
id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutTitle"
values={Object {}}
/>
}
>
<p>
<FormattedMessage
defaultMessage="Back up your data using the {snapshotRestoreDocsButton}."
id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutBody.calloutDetail"
values={
Object {
"snapshotRestoreDocsButton": <EuiLink
color="primary"
href="https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html"
target="_blank"
type="button"
>
<FormattedMessage
defaultMessage="snapshot and restore APIs"
id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutBody.snapshotRestoreDocsButtonLabel"
values={Object {}}
/>
</EuiLink>,
}
/>
</p>
</EuiCallOut>
<EuiSpacer
size="l"
/>
</React.Fragment>
}
/>
</p>
</EuiCallOut>
<EuiSpacer
size="l"
/>
<EuiPageContent
panelPaddingSize="l"
>
@ -385,11 +379,11 @@ exports[`CheckupTab render with error 1`] = `
/>
</EuiPageContentBody>
</EuiPageContent>
</React.Fragment>
</Fragment>
`;
exports[`CheckupTab render without deprecations 1`] = `
<React.Fragment>
<Fragment>
<EuiSpacer
size="l"
/>
@ -415,46 +409,44 @@ exports[`CheckupTab render without deprecations 1`] = `
<EuiSpacer
size="l"
/>
<React.Fragment>
<EuiCallOut
color="warning"
iconType="help"
size="m"
title={
<FormattedMessage
defaultMessage="Back up your indices now"
id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutTitle"
values={Object {}}
/>
}
>
<p>
<FormattedMessage
defaultMessage="Back up your data using the {snapshotRestoreDocsButton}."
id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutBody.calloutDetail"
values={
Object {
"snapshotRestoreDocsButton": <EuiLink
color="primary"
href="https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html"
target="_blank"
type="button"
>
<FormattedMessage
defaultMessage="snapshot and restore APIs"
id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutBody.snapshotRestoreDocsButtonLabel"
values={Object {}}
/>
</EuiLink>,
}
<EuiCallOut
color="warning"
iconType="help"
size="m"
title={
<FormattedMessage
defaultMessage="Back up your indices now"
id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutTitle"
values={Object {}}
/>
}
>
<p>
<FormattedMessage
defaultMessage="Back up your data using the {snapshotRestoreDocsButton}."
id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutBody.calloutDetail"
values={
Object {
"snapshotRestoreDocsButton": <EuiLink
color="primary"
href="https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html"
target="_blank"
type="button"
>
<FormattedMessage
defaultMessage="snapshot and restore APIs"
id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutBody.snapshotRestoreDocsButtonLabel"
values={Object {}}
/>
</EuiLink>,
}
/>
</p>
</EuiCallOut>
<EuiSpacer
size="l"
/>
</React.Fragment>
}
/>
</p>
</EuiCallOut>
<EuiSpacer
size="l"
/>
<EuiPageContent
panelPaddingSize="l"
>
@ -514,5 +506,5 @@ exports[`CheckupTab render without deprecations 1`] = `
/>
</EuiPageContentBody>
</EuiPageContent>
</React.Fragment>
</Fragment>
`;

View file

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`TelemetryForm renders as expected 1`] = `
<React.Fragment>
<Fragment>
<EuiPanel
grow={true}
hasShadow={false}
@ -83,5 +83,5 @@ exports[`TelemetryForm renders as expected 1`] = `
/>
</EuiForm>
</EuiPanel>
</React.Fragment>
</Fragment>
`;

185
yarn.lock
View file

@ -2838,6 +2838,15 @@ array-unique@^0.3.2:
resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428"
integrity sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=
array.prototype.flat@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.2.1.tgz#812db8f02cad24d3fab65dd67eabe3b8903494a4"
integrity sha512-rVqIs330nLJvfC7JqYvEWwqVr5QjYF1ib02i3YJtR/fICO6527Tjpc/e4Mvmxh3GIePPreRXMdaGyC99YphWEw==
dependencies:
define-properties "^1.1.2"
es-abstract "^1.10.0"
function-bind "^1.1.1"
arraybuffer.slice@~0.0.7:
version "0.0.7"
resolved "https://registry.yarnpkg.com/arraybuffer.slice/-/arraybuffer.slice-0.0.7.tgz#3bbc4275dd584cc1b10809b89d4e8b63a69e7675"
@ -7604,51 +7613,59 @@ env-variable@0.0.x:
resolved "https://registry.yarnpkg.com/env-variable/-/env-variable-0.0.5.tgz#913dd830bef11e96a039c038d4130604eba37f88"
integrity sha512-zoB603vQReOFvTg5xMl9I1P2PnHsHQQKTEowsKKD7nseUfJq6UWzK+4YtlWUO1nhiQUxe6XMkk+JleSZD1NZFA==
enzyme-adapter-react-16@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.1.1.tgz#a8f4278b47e082fbca14f5bfb1ee50ee650717b4"
integrity sha512-kC8pAtU2Jk3OJ0EG8Y2813dg9Ol0TXi7UNxHzHiWs30Jo/hj7alc//G1YpKUsPP1oKl9X+Lkx+WlGJpPYA+nvw==
enzyme-adapter-react-16@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.6.0.tgz#3fca28d3c32f3ff427495380fe2dd51494689073"
integrity sha512-ay9eGFpChyUDnjTFMMJHzrb681LF3hPWJLEA7RoLFG9jSWAdAm2V50pGmFV9dYGJgh5HfdiqM+MNvle41Yf/PA==
dependencies:
enzyme-adapter-utils "^1.3.0"
lodash "^4.17.4"
object.assign "^4.0.4"
enzyme-adapter-utils "^1.8.0"
function.prototype.name "^1.1.0"
object.assign "^4.1.0"
object.values "^1.0.4"
prop-types "^15.6.0"
react-reconciler "^0.7.0"
prop-types "^15.6.2"
react-is "^16.5.2"
react-test-renderer "^16.0.0-0"
enzyme-adapter-utils@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.3.0.tgz#d6c85756826c257a8544d362cc7a67e97ea698c7"
integrity sha512-vVXSt6uDv230DIv+ebCG66T1Pm36Kv+m74L1TrF4kaE7e1V7Q/LcxO0QRkajk5cA6R3uu9wJf5h13wOTezTbjA==
enzyme-adapter-utils@^1.8.0, enzyme-adapter-utils@^1.8.1:
version "1.8.1"
resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.8.1.tgz#a927d840ce2c14b42892a533aec836809d4e022b"
integrity sha512-s3QB3xQAowaDS2sHhmEqrT13GJC4+n5bG015ZkLv60n9k5vhxxHTQRIneZmQ4hmdCZEBrvUJ89PG6fRI5OEeuQ==
dependencies:
lodash "^4.17.4"
object.assign "^4.0.4"
prop-types "^15.6.0"
function.prototype.name "^1.1.0"
object.assign "^4.1.0"
prop-types "^15.6.2"
enzyme-to-json@3.3.1:
version "3.3.1"
resolved "https://registry.yarnpkg.com/enzyme-to-json/-/enzyme-to-json-3.3.1.tgz#64239dcd417e2fb552f4baa6632de4744b9b5b93"
integrity sha512-PrgRyZAgEwOrh5/8BtBWrwGcv1mC7yNohytIciAX6SUqDaXg1BlU8CepYQ9BgnDP1i1jTB65qJJITMMCph+T6A==
enzyme-to-json@^3.3.4:
version "3.3.4"
resolved "https://registry.yarnpkg.com/enzyme-to-json/-/enzyme-to-json-3.3.4.tgz#67c6040e931182f183418af2eb9f4323258aa77f"
integrity sha1-Z8YEDpMRgvGDQYry659DIyWKp38=
dependencies:
lodash "^4.17.4"
enzyme@3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/enzyme/-/enzyme-3.2.0.tgz#998bdcda0fc71b8764a0017f7cc692c943f54a7a"
integrity sha512-l0HcjycivXjB4IXkwuRc1K5z8hzWIVZB2b/Y/H2bao9eFTpBz4ACOwAQf44SgG5Nu3d1jF41LasxDgFWZeeysA==
enzyme@^3.7.0:
version "3.7.0"
resolved "https://registry.yarnpkg.com/enzyme/-/enzyme-3.7.0.tgz#9b499e8ca155df44fef64d9f1558961ba1385a46"
integrity sha512-QLWx+krGK6iDNyR1KlH5YPZqxZCQaVF6ike1eDJAOg0HvSkSCVImPsdWaNw6v+VrnK92Kg8jIOYhuOSS9sBpyg==
dependencies:
array.prototype.flat "^1.2.1"
cheerio "^1.0.0-rc.2"
function.prototype.name "^1.0.3"
has "^1.0.1"
function.prototype.name "^1.1.0"
has "^1.0.3"
is-boolean-object "^1.0.0"
is-callable "^1.1.4"
is-number-object "^1.0.3"
is-string "^1.0.4"
is-subset "^0.1.1"
lodash "^4.17.4"
lodash.escape "^4.0.1"
lodash.isequal "^4.5.0"
object-inspect "^1.6.0"
object-is "^1.0.1"
object.assign "^4.0.4"
object.assign "^4.1.0"
object.entries "^1.0.4"
object.values "^1.0.4"
raf "^3.4.0"
rst-selector-parser "^2.2.3"
string.prototype.trim "^1.1.2"
err-code@^0.1.0:
version "0.1.2"
@ -7677,6 +7694,17 @@ error@^7.0.0, error@^7.0.2:
string-template "~0.2.1"
xtend "~4.0.0"
es-abstract@^1.10.0, es-abstract@^1.5.0:
version "1.12.0"
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.12.0.tgz#9dbbdd27c6856f0001421ca18782d786bf8a6165"
integrity sha512-C8Fx/0jFmV5IPoMOFPA9P9G5NtqW+4cOPit3MIuvR2t7Ag2K15EJTpxnHAYTzL+aYQJIESYeXZmDBfOBE1HcpA==
dependencies:
es-to-primitive "^1.1.1"
function-bind "^1.1.1"
has "^1.0.1"
is-callable "^1.1.3"
is-regex "^1.0.4"
es-abstract@^1.5.1, es-abstract@^1.6.1, es-abstract@^1.7.0:
version "1.10.0"
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.10.0.tgz#1ecb36c197842a00d8ee4c2dfd8646bb97d60864"
@ -9374,7 +9402,7 @@ function-bind@^1.0.2, function-bind@^1.1.0, function-bind@^1.1.1:
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
function.prototype.name@^1.0.3:
function.prototype.name@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.0.tgz#8bd763cc0af860a859cc5d49384d74b932cd2327"
integrity sha512-Bs0VRrTz4ghD8pTmbJQD1mZ8A/mN0ur/jGz+A6FBxPDUPkm1tNfF6bhTYPA7i7aF4lZJVr+OXTNNrnnIl58Wfg==
@ -11642,6 +11670,11 @@ is-binary-path@^2.0.0:
dependencies:
binary-extensions "^1.0.0"
is-boolean-object@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.0.0.tgz#98f8b28030684219a95f375cfbd88ce3405dff93"
integrity sha1-mPiygDBoQhmpXzdc+9iM40Bd/5M=
is-buffer@^1.1.4, is-buffer@^1.1.5:
version "1.1.6"
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
@ -11659,6 +11692,11 @@ is-callable@^1.1.1, is-callable@^1.1.3:
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2"
integrity sha1-hut1OSgF3cM69xySoO7fdO52BLI=
is-callable@^1.1.4:
version "1.1.4"
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.4.tgz#1e1adf219e1eeb684d691f9d6a05ff0d30a24d75"
integrity sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==
is-ci@^1.0.10:
version "1.1.0"
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.1.0.tgz#247e4162e7860cebbdaf30b774d6b0ac7dcfe7a5"
@ -11868,6 +11906,11 @@ is-npm@^1.0.0:
resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4"
integrity sha1-8vtjpl5JBbQGyGBydloaTceTufQ=
is-number-object@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.3.tgz#f265ab89a9f445034ef6aff15a8f00b00f551799"
integrity sha1-8mWrian0RQNO9q/xWo8AsA9VF5k=
is-number@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/is-number/-/is-number-0.1.1.tgz#69a7af116963d47206ec9bd9b48a14216f1e3806"
@ -12025,6 +12068,11 @@ is-stream@1.1.0, is-stream@^1.0.0, is-stream@^1.0.1, is-stream@^1.1.0:
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ=
is-string@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.4.tgz#cc3a9b69857d621e963725a24caeec873b826e64"
integrity sha1-zDqbaYV9Yh6WNyWiTK7shzuCbmQ=
is-subset@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/is-subset/-/is-subset-0.1.1.tgz#8a59117d932de1de00f245fcdd39ce43f1e939a6"
@ -13749,6 +13797,11 @@ lodash.escape@^3.0.0:
dependencies:
lodash._root "^3.0.0"
lodash.escape@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/lodash.escape/-/lodash.escape-4.0.1.tgz#c9044690c21e04294beaa517712fded1fa88de98"
integrity sha1-yQRGkMIeBClL6qUXcS/e0fqI3pg=
lodash.filter@^4.4.0:
version "4.6.0"
resolved "https://registry.yarnpkg.com/lodash.filter/-/lodash.filter-4.6.0.tgz#668b1d4981603ae1cc5a6fa760143e480b4c4ace"
@ -15574,6 +15627,11 @@ object-copy@^0.1.0:
define-property "^0.2.5"
kind-of "^3.0.3"
object-inspect@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.6.0.tgz#c70b6cbf72f274aab4c34c0c82f5167bf82cf15b"
integrity sha512-GJzfBZ6DgDAmnuaM3104jR4s1Myxr3Y3zfIyN4z3UdqN69oSRacNK8UhnobDdC+7J2AHCjGwxQubNJfE70SXXQ==
object-inspect@~0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-0.4.0.tgz#f5157c116c1455b243b06ee97703392c5ad89fec"
@ -15616,7 +15674,7 @@ object-visit@^1.0.0:
dependencies:
isobject "^3.0.0"
object.assign@^4.0.4:
object.assign@^4.0.4, object.assign@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.0.tgz#968bf1100d7956bb3ca086f006f846b3bc4008da"
integrity sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==
@ -17470,14 +17528,24 @@ react-dom@^16.0.0, react-dom@^16.2.0:
prop-types "^15.6.0"
react-dom@^16.3.0:
version "16.3.1"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.3.1.tgz#6a3c90a4fb62f915bdbcf6204422d93a7d4ca573"
integrity sha512-2Infg89vzahq8nfVi1GkjPqq0vrBvf0f3T0+dTtyjq4f6HKOqKixAK25Vr593O3QTx4kw/vmUtAJwerlevNWOA==
version "16.7.0"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.7.0.tgz#a17b2a7ca89ee7390bc1ed5eb81783c7461748b8"
integrity sha512-D0Ufv1ExCAmF38P2Uh1lwpminZFRXEINJe53zRAbm4KPwSyd6DY/uDoS0Blj9jvPpn1+wivKpZYc8aAAN/nAkg==
dependencies:
fbjs "^0.8.16"
loose-envify "^1.1.0"
object-assign "^4.1.1"
prop-types "^15.6.0"
prop-types "^15.6.2"
scheduler "^0.12.0"
react-dom@^16.6.0:
version "16.6.0"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.6.0.tgz#6375b8391e019a632a89a0988bce85f0cc87a92f"
integrity sha512-Stm2D9dXEUUAQdvpvhvFj/DEXwC2PAL/RwEMhoN4dvvD2ikTlJegEXf97xryg88VIAU22ZAP7n842l+9BTz6+w==
dependencies:
loose-envify "^1.1.0"
object-assign "^4.1.1"
prop-types "^15.6.2"
scheduler "^0.10.0"
react-draggable@3.x, "react-draggable@^2.2.6 || ^3.0.3":
version "3.0.5"
@ -17537,7 +17605,7 @@ react-is@^16.3.1:
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.4.1.tgz#d624c4650d2c65dbd52c72622bbf389435d9776e"
integrity sha512-xpb0PpALlFWNw/q13A+1aHeyJyLYCg0/cCHPUA43zYluZuIPHaHL3k8OBsTgQtxqW0FhyDEMvi8fZ/+7+r4OSQ==
react-is@^16.4.0:
react-is@^16.4.0, react-is@^16.5.2:
version "16.6.0"
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.6.0.tgz#456645144581a6e99f6816ae2bd24ee94bdd0c01"
integrity sha512-q8U7k0Fi7oxF1HvQgyBjPwDXeMplEsArnKt2iYhuIF86+GBbgLHdAmokL3XUFjTd7Q363OSNG55FOGUdONVn1g==
@ -17610,16 +17678,6 @@ react-portal@^3.2.0:
dependencies:
prop-types "^15.5.8"
react-reconciler@^0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/react-reconciler/-/react-reconciler-0.7.0.tgz#9614894103e5f138deeeb5eabaf3ee80eb1d026d"
integrity sha512-50JwZ3yNyMS8fchN+jjWEJOH3Oze7UmhxeoJLn2j6f3NjpfCRbcmih83XTWmzqtar/ivd5f7tvQhvvhism2fgg==
dependencies:
fbjs "^0.8.16"
loose-envify "^1.1.0"
object-assign "^4.1.1"
prop-types "^15.6.0"
react-redux-request@^1.5.6:
version "1.5.6"
resolved "https://registry.yarnpkg.com/react-redux-request/-/react-redux-request-1.5.6.tgz#8c514dc88264d225e113b4b54a265064e8020651"
@ -17863,6 +17921,16 @@ react@^16.3.0:
object-assign "^4.1.1"
prop-types "^15.6.0"
react@^16.6.0:
version "16.6.0"
resolved "https://registry.yarnpkg.com/react/-/react-16.6.0.tgz#b34761cfaf3e30f5508bc732fb4736730b7da246"
integrity sha512-zJPnx/jKtuOEXCbQ9BKaxDMxR0001/hzxXwYxG8septeyYGfsgAei6NgfbVgOhbY1WOP2o3VPs/E9HaN+9hV3Q==
dependencies:
loose-envify "^1.1.0"
object-assign "^4.1.1"
prop-types "^15.6.2"
scheduler "^0.10.0"
reactcss@1.2.3, reactcss@^1.2.0:
version "1.2.3"
resolved "https://registry.yarnpkg.com/reactcss/-/reactcss-1.2.3.tgz#c00013875e557b1cf0dfd9a368a1c3dab3b548dd"
@ -19028,6 +19096,22 @@ sax@>=0.6.0, sax@^1.2.1, sax@^1.2.4, sax@~1.2.1:
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
scheduler@^0.10.0:
version "0.10.0"
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.10.0.tgz#7988de90fe7edccc774ea175a783e69c40c521e1"
integrity sha512-+TSTVTCBAA3h8Anei3haDc1IRwMeDmtI/y/o3iBe3Mjl2vwYF9DtPDt929HyRmV/e7au7CLu8sc4C4W0VOs29w==
dependencies:
loose-envify "^1.1.0"
object-assign "^4.1.1"
scheduler@^0.12.0:
version "0.12.0"
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.12.0.tgz#8ab17699939c0aedc5a196a657743c496538647b"
integrity sha512-t7MBR28Akcp4Jm+QoR63XgAi9YgCUmgvDHqf5otgAj4QvdoBE4ImCX0ffehefePPG+aitiYHp0g/mW6s4Tp+dw==
dependencies:
loose-envify "^1.1.0"
object-assign "^4.1.1"
schema-utils@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.3.0.tgz#f5877222ce3e931edae039f17eb3716e7137f8cf"
@ -20099,6 +20183,15 @@ string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1:
is-fullwidth-code-point "^2.0.0"
strip-ansi "^4.0.0"
string.prototype.trim@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz#d04de2c89e137f4d7d206f086b5ed2fae6be8cea"
integrity sha1-0E3iyJ4Tf019IG8Ia17S+ua+jOo=
dependencies:
define-properties "^1.1.2"
es-abstract "^1.5.0"
function-bind "^1.0.2"
string_decoder@0.10, string_decoder@~0.10.x:
version "0.10.31"
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"