mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-20 17:30:46 +00:00
added snapshort test
This commit is contained in:
@@ -58,7 +58,6 @@ src/Explorer/Controls/ErrorDisplayComponent/ErrorDisplayComponent.ts
|
|||||||
src/Explorer/Controls/InputTypeahead/InputTypeahead.ts
|
src/Explorer/Controls/InputTypeahead/InputTypeahead.ts
|
||||||
src/Explorer/Controls/JsonEditor/JsonEditorComponent.ts
|
src/Explorer/Controls/JsonEditor/JsonEditorComponent.ts
|
||||||
src/Explorer/Controls/Notebook/NotebookAppMessageHandler.ts
|
src/Explorer/Controls/Notebook/NotebookAppMessageHandler.ts
|
||||||
src/Explorer/Controls/ThroughputInput/ThroughputInput.test.ts
|
|
||||||
src/Explorer/Controls/ThroughputInput/ThroughputInputComponent.ts
|
src/Explorer/Controls/ThroughputInput/ThroughputInputComponent.ts
|
||||||
src/Explorer/Controls/ThroughputInput/ThroughputInputComponentAutoPilotV3.ts
|
src/Explorer/Controls/ThroughputInput/ThroughputInputComponentAutoPilotV3.ts
|
||||||
src/Explorer/Controls/Toolbar/IToolbarAction.ts
|
src/Explorer/Controls/Toolbar/IToolbarAction.ts
|
||||||
|
|||||||
50166
package-lock.json
generated
50166
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -43,6 +43,7 @@
|
|||||||
"@types/mkdirp": "1.0.1",
|
"@types/mkdirp": "1.0.1",
|
||||||
"@types/node-fetch": "2.5.7",
|
"@types/node-fetch": "2.5.7",
|
||||||
"@uifabric/react-cards": "0.109.110",
|
"@uifabric/react-cards": "0.109.110",
|
||||||
|
"@uifabric/react-hooks": "7.14.0",
|
||||||
"@uifabric/styling": "7.13.7",
|
"@uifabric/styling": "7.13.7",
|
||||||
"applicationinsights": "1.8.0",
|
"applicationinsights": "1.8.0",
|
||||||
"bootstrap": "3.4.1",
|
"bootstrap": "3.4.1",
|
||||||
|
|||||||
@@ -350,11 +350,11 @@ exports[`test render renders with filters 1`] = `
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-ScrollablePane root-40"
|
className="ms-ScrollablePane root-72"
|
||||||
data-is-scrollable="true"
|
data-is-scrollable="true"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="stickyAbove-42"
|
className="stickyAbove-74"
|
||||||
style={
|
style={
|
||||||
Object {
|
Object {
|
||||||
"height": 0,
|
"height": 0,
|
||||||
@@ -365,7 +365,7 @@ exports[`test render renders with filters 1`] = `
|
|||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
className="ms-ScrollablePane--contentContainer contentContainer-41"
|
className="ms-ScrollablePane--contentContainer contentContainer-73"
|
||||||
data-is-scrollable={true}
|
data-is-scrollable={true}
|
||||||
>
|
>
|
||||||
<Sticky
|
<Sticky
|
||||||
@@ -691,18 +691,18 @@ exports[`test render renders with filters 1`] = `
|
|||||||
validateOnLoad={true}
|
validateOnLoad={true}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField directoryListFilterTextBox root-46"
|
className="ms-TextField directoryListFilterTextBox root-78"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField-wrapper"
|
className="ms-TextField-wrapper"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField-fieldGroup fieldGroup-47"
|
className="ms-TextField-fieldGroup fieldGroup-79"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
aria-invalid={false}
|
aria-invalid={false}
|
||||||
aria-label="Directory filter text box"
|
aria-label="Directory filter text box"
|
||||||
className="ms-TextField-field field-48"
|
className="ms-TextField-field field-80"
|
||||||
id="TextField0"
|
id="TextField0"
|
||||||
onBlur={[Function]}
|
onBlur={[Function]}
|
||||||
onChange={[Function]}
|
onChange={[Function]}
|
||||||
@@ -1900,7 +1900,7 @@ exports[`test render renders with filters 1`] = `
|
|||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
aria-disabled={true}
|
aria-disabled={true}
|
||||||
className="ms-Button ms-Button--default is-disabled directoryListButton root-57"
|
className="ms-Button ms-Button--default is-disabled directoryListButton root-89"
|
||||||
data-is-focusable={false}
|
data-is-focusable={false}
|
||||||
disabled={true}
|
disabled={true}
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
@@ -1912,7 +1912,7 @@ exports[`test render renders with filters 1`] = `
|
|||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="ms-Button-flexContainer flexContainer-58"
|
className="ms-Button-flexContainer flexContainer-90"
|
||||||
data-automationid="splitbuttonprimary"
|
data-automationid="splitbuttonprimary"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
@@ -1943,7 +1943,7 @@ exports[`test render renders with filters 1`] = `
|
|||||||
</List>
|
</List>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className="stickyBelow-43"
|
className="stickyBelow-75"
|
||||||
style={
|
style={
|
||||||
Object {
|
Object {
|
||||||
"bottom": "0px",
|
"bottom": "0px",
|
||||||
@@ -1954,7 +1954,7 @@ exports[`test render renders with filters 1`] = `
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="stickyBelowItems-44"
|
className="stickyBelowItems-76"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -33,48 +33,6 @@ exports[`SettingsComponent renders 1`] = `
|
|||||||
"_isAfecFeatureRegistered": [Function],
|
"_isAfecFeatureRegistered": [Function],
|
||||||
"_isInitializingNotebooks": false,
|
"_isInitializingNotebooks": false,
|
||||||
"_panes": Array [
|
"_panes": Array [
|
||||||
AddDatabasePane {
|
|
||||||
"autoPilotUsageCost": [Function],
|
|
||||||
"canConfigureThroughput": [Function],
|
|
||||||
"canExceedMaximumValue": [Function],
|
|
||||||
"canRequestSupport": [Function],
|
|
||||||
"container": [Circular],
|
|
||||||
"costsVisible": [Function],
|
|
||||||
"databaseCreateNewShared": [Function],
|
|
||||||
"databaseId": [Function],
|
|
||||||
"databaseIdLabel": [Function],
|
|
||||||
"databaseIdPlaceHolder": [Function],
|
|
||||||
"databaseIdTooltipText": [Function],
|
|
||||||
"databaseLevelThroughputTooltipText": [Function],
|
|
||||||
"firstFieldHasFocus": [Function],
|
|
||||||
"formErrors": [Function],
|
|
||||||
"formErrorsDetails": [Function],
|
|
||||||
"freeTierExceedThroughputTooltip": [Function],
|
|
||||||
"id": "adddatabasepane",
|
|
||||||
"isAutoPilotSelected": [Function],
|
|
||||||
"isExecuting": [Function],
|
|
||||||
"isFreeTierAccount": [Function],
|
|
||||||
"isTemplateReady": [Function],
|
|
||||||
"maxAutoPilotThroughputSet": [Function],
|
|
||||||
"maxThroughputRU": [Function],
|
|
||||||
"maxThroughputRUText": [Function],
|
|
||||||
"minThroughputRU": [Function],
|
|
||||||
"onMoreDetailsKeyPress": [Function],
|
|
||||||
"requestUnitsUsageCost": [Function],
|
|
||||||
"ruToolTipText": [Function],
|
|
||||||
"showUpsellMessage": [Function],
|
|
||||||
"throughput": [Function],
|
|
||||||
"throughputRangeText": [Function],
|
|
||||||
"throughputSpendAck": [Function],
|
|
||||||
"throughputSpendAckText": [Function],
|
|
||||||
"throughputSpendAckVisible": [Function],
|
|
||||||
"title": [Function],
|
|
||||||
"upsellAnchorText": [Function],
|
|
||||||
"upsellAnchorUrl": [Function],
|
|
||||||
"upsellMessage": [Function],
|
|
||||||
"upsellMessageAriaLabel": [Function],
|
|
||||||
"visible": [Function],
|
|
||||||
},
|
|
||||||
AddCollectionPane {
|
AddCollectionPane {
|
||||||
"_isSynapseLinkEnabled": [Function],
|
"_isSynapseLinkEnabled": [Function],
|
||||||
"autoPilotThroughput": [Function],
|
"autoPilotThroughput": [Function],
|
||||||
@@ -485,48 +443,6 @@ exports[`SettingsComponent renders 1`] = `
|
|||||||
"visible": [Function],
|
"visible": [Function],
|
||||||
},
|
},
|
||||||
"addCollectionText": [Function],
|
"addCollectionText": [Function],
|
||||||
"addDatabasePane": AddDatabasePane {
|
|
||||||
"autoPilotUsageCost": [Function],
|
|
||||||
"canConfigureThroughput": [Function],
|
|
||||||
"canExceedMaximumValue": [Function],
|
|
||||||
"canRequestSupport": [Function],
|
|
||||||
"container": [Circular],
|
|
||||||
"costsVisible": [Function],
|
|
||||||
"databaseCreateNewShared": [Function],
|
|
||||||
"databaseId": [Function],
|
|
||||||
"databaseIdLabel": [Function],
|
|
||||||
"databaseIdPlaceHolder": [Function],
|
|
||||||
"databaseIdTooltipText": [Function],
|
|
||||||
"databaseLevelThroughputTooltipText": [Function],
|
|
||||||
"firstFieldHasFocus": [Function],
|
|
||||||
"formErrors": [Function],
|
|
||||||
"formErrorsDetails": [Function],
|
|
||||||
"freeTierExceedThroughputTooltip": [Function],
|
|
||||||
"id": "adddatabasepane",
|
|
||||||
"isAutoPilotSelected": [Function],
|
|
||||||
"isExecuting": [Function],
|
|
||||||
"isFreeTierAccount": [Function],
|
|
||||||
"isTemplateReady": [Function],
|
|
||||||
"maxAutoPilotThroughputSet": [Function],
|
|
||||||
"maxThroughputRU": [Function],
|
|
||||||
"maxThroughputRUText": [Function],
|
|
||||||
"minThroughputRU": [Function],
|
|
||||||
"onMoreDetailsKeyPress": [Function],
|
|
||||||
"requestUnitsUsageCost": [Function],
|
|
||||||
"ruToolTipText": [Function],
|
|
||||||
"showUpsellMessage": [Function],
|
|
||||||
"throughput": [Function],
|
|
||||||
"throughputRangeText": [Function],
|
|
||||||
"throughputSpendAck": [Function],
|
|
||||||
"throughputSpendAckText": [Function],
|
|
||||||
"throughputSpendAckVisible": [Function],
|
|
||||||
"title": [Function],
|
|
||||||
"upsellAnchorText": [Function],
|
|
||||||
"upsellAnchorUrl": [Function],
|
|
||||||
"upsellMessage": [Function],
|
|
||||||
"upsellMessageAriaLabel": [Function],
|
|
||||||
"visible": [Function],
|
|
||||||
},
|
|
||||||
"addDatabaseText": [Function],
|
"addDatabaseText": [Function],
|
||||||
"addTableEntityPane": AddTableEntityPane {
|
"addTableEntityPane": AddTableEntityPane {
|
||||||
"addButtonLabel": "Add Property",
|
"addButtonLabel": "Add Property",
|
||||||
@@ -923,48 +839,6 @@ exports[`SettingsComponent renders 1`] = `
|
|||||||
"_isAfecFeatureRegistered": [Function],
|
"_isAfecFeatureRegistered": [Function],
|
||||||
"_isInitializingNotebooks": false,
|
"_isInitializingNotebooks": false,
|
||||||
"_panes": Array [
|
"_panes": Array [
|
||||||
AddDatabasePane {
|
|
||||||
"autoPilotUsageCost": [Function],
|
|
||||||
"canConfigureThroughput": [Function],
|
|
||||||
"canExceedMaximumValue": [Function],
|
|
||||||
"canRequestSupport": [Function],
|
|
||||||
"container": [Circular],
|
|
||||||
"costsVisible": [Function],
|
|
||||||
"databaseCreateNewShared": [Function],
|
|
||||||
"databaseId": [Function],
|
|
||||||
"databaseIdLabel": [Function],
|
|
||||||
"databaseIdPlaceHolder": [Function],
|
|
||||||
"databaseIdTooltipText": [Function],
|
|
||||||
"databaseLevelThroughputTooltipText": [Function],
|
|
||||||
"firstFieldHasFocus": [Function],
|
|
||||||
"formErrors": [Function],
|
|
||||||
"formErrorsDetails": [Function],
|
|
||||||
"freeTierExceedThroughputTooltip": [Function],
|
|
||||||
"id": "adddatabasepane",
|
|
||||||
"isAutoPilotSelected": [Function],
|
|
||||||
"isExecuting": [Function],
|
|
||||||
"isFreeTierAccount": [Function],
|
|
||||||
"isTemplateReady": [Function],
|
|
||||||
"maxAutoPilotThroughputSet": [Function],
|
|
||||||
"maxThroughputRU": [Function],
|
|
||||||
"maxThroughputRUText": [Function],
|
|
||||||
"minThroughputRU": [Function],
|
|
||||||
"onMoreDetailsKeyPress": [Function],
|
|
||||||
"requestUnitsUsageCost": [Function],
|
|
||||||
"ruToolTipText": [Function],
|
|
||||||
"showUpsellMessage": [Function],
|
|
||||||
"throughput": [Function],
|
|
||||||
"throughputRangeText": [Function],
|
|
||||||
"throughputSpendAck": [Function],
|
|
||||||
"throughputSpendAckText": [Function],
|
|
||||||
"throughputSpendAckVisible": [Function],
|
|
||||||
"title": [Function],
|
|
||||||
"upsellAnchorText": [Function],
|
|
||||||
"upsellAnchorUrl": [Function],
|
|
||||||
"upsellMessage": [Function],
|
|
||||||
"upsellMessageAriaLabel": [Function],
|
|
||||||
"visible": [Function],
|
|
||||||
},
|
|
||||||
AddCollectionPane {
|
AddCollectionPane {
|
||||||
"_isSynapseLinkEnabled": [Function],
|
"_isSynapseLinkEnabled": [Function],
|
||||||
"autoPilotThroughput": [Function],
|
"autoPilotThroughput": [Function],
|
||||||
@@ -1375,48 +1249,6 @@ exports[`SettingsComponent renders 1`] = `
|
|||||||
"visible": [Function],
|
"visible": [Function],
|
||||||
},
|
},
|
||||||
"addCollectionText": [Function],
|
"addCollectionText": [Function],
|
||||||
"addDatabasePane": AddDatabasePane {
|
|
||||||
"autoPilotUsageCost": [Function],
|
|
||||||
"canConfigureThroughput": [Function],
|
|
||||||
"canExceedMaximumValue": [Function],
|
|
||||||
"canRequestSupport": [Function],
|
|
||||||
"container": [Circular],
|
|
||||||
"costsVisible": [Function],
|
|
||||||
"databaseCreateNewShared": [Function],
|
|
||||||
"databaseId": [Function],
|
|
||||||
"databaseIdLabel": [Function],
|
|
||||||
"databaseIdPlaceHolder": [Function],
|
|
||||||
"databaseIdTooltipText": [Function],
|
|
||||||
"databaseLevelThroughputTooltipText": [Function],
|
|
||||||
"firstFieldHasFocus": [Function],
|
|
||||||
"formErrors": [Function],
|
|
||||||
"formErrorsDetails": [Function],
|
|
||||||
"freeTierExceedThroughputTooltip": [Function],
|
|
||||||
"id": "adddatabasepane",
|
|
||||||
"isAutoPilotSelected": [Function],
|
|
||||||
"isExecuting": [Function],
|
|
||||||
"isFreeTierAccount": [Function],
|
|
||||||
"isTemplateReady": [Function],
|
|
||||||
"maxAutoPilotThroughputSet": [Function],
|
|
||||||
"maxThroughputRU": [Function],
|
|
||||||
"maxThroughputRUText": [Function],
|
|
||||||
"minThroughputRU": [Function],
|
|
||||||
"onMoreDetailsKeyPress": [Function],
|
|
||||||
"requestUnitsUsageCost": [Function],
|
|
||||||
"ruToolTipText": [Function],
|
|
||||||
"showUpsellMessage": [Function],
|
|
||||||
"throughput": [Function],
|
|
||||||
"throughputRangeText": [Function],
|
|
||||||
"throughputSpendAck": [Function],
|
|
||||||
"throughputSpendAckText": [Function],
|
|
||||||
"throughputSpendAckVisible": [Function],
|
|
||||||
"title": [Function],
|
|
||||||
"upsellAnchorText": [Function],
|
|
||||||
"upsellAnchorUrl": [Function],
|
|
||||||
"upsellMessage": [Function],
|
|
||||||
"upsellMessageAriaLabel": [Function],
|
|
||||||
"visible": [Function],
|
|
||||||
},
|
|
||||||
"addDatabaseText": [Function],
|
"addDatabaseText": [Function],
|
||||||
"addTableEntityPane": AddTableEntityPane {
|
"addTableEntityPane": AddTableEntityPane {
|
||||||
"addButtonLabel": "Add Property",
|
"addButtonLabel": "Add Property",
|
||||||
@@ -1826,48 +1658,6 @@ exports[`SettingsComponent renders 1`] = `
|
|||||||
"_isAfecFeatureRegistered": [Function],
|
"_isAfecFeatureRegistered": [Function],
|
||||||
"_isInitializingNotebooks": false,
|
"_isInitializingNotebooks": false,
|
||||||
"_panes": Array [
|
"_panes": Array [
|
||||||
AddDatabasePane {
|
|
||||||
"autoPilotUsageCost": [Function],
|
|
||||||
"canConfigureThroughput": [Function],
|
|
||||||
"canExceedMaximumValue": [Function],
|
|
||||||
"canRequestSupport": [Function],
|
|
||||||
"container": [Circular],
|
|
||||||
"costsVisible": [Function],
|
|
||||||
"databaseCreateNewShared": [Function],
|
|
||||||
"databaseId": [Function],
|
|
||||||
"databaseIdLabel": [Function],
|
|
||||||
"databaseIdPlaceHolder": [Function],
|
|
||||||
"databaseIdTooltipText": [Function],
|
|
||||||
"databaseLevelThroughputTooltipText": [Function],
|
|
||||||
"firstFieldHasFocus": [Function],
|
|
||||||
"formErrors": [Function],
|
|
||||||
"formErrorsDetails": [Function],
|
|
||||||
"freeTierExceedThroughputTooltip": [Function],
|
|
||||||
"id": "adddatabasepane",
|
|
||||||
"isAutoPilotSelected": [Function],
|
|
||||||
"isExecuting": [Function],
|
|
||||||
"isFreeTierAccount": [Function],
|
|
||||||
"isTemplateReady": [Function],
|
|
||||||
"maxAutoPilotThroughputSet": [Function],
|
|
||||||
"maxThroughputRU": [Function],
|
|
||||||
"maxThroughputRUText": [Function],
|
|
||||||
"minThroughputRU": [Function],
|
|
||||||
"onMoreDetailsKeyPress": [Function],
|
|
||||||
"requestUnitsUsageCost": [Function],
|
|
||||||
"ruToolTipText": [Function],
|
|
||||||
"showUpsellMessage": [Function],
|
|
||||||
"throughput": [Function],
|
|
||||||
"throughputRangeText": [Function],
|
|
||||||
"throughputSpendAck": [Function],
|
|
||||||
"throughputSpendAckText": [Function],
|
|
||||||
"throughputSpendAckVisible": [Function],
|
|
||||||
"title": [Function],
|
|
||||||
"upsellAnchorText": [Function],
|
|
||||||
"upsellAnchorUrl": [Function],
|
|
||||||
"upsellMessage": [Function],
|
|
||||||
"upsellMessageAriaLabel": [Function],
|
|
||||||
"visible": [Function],
|
|
||||||
},
|
|
||||||
AddCollectionPane {
|
AddCollectionPane {
|
||||||
"_isSynapseLinkEnabled": [Function],
|
"_isSynapseLinkEnabled": [Function],
|
||||||
"autoPilotThroughput": [Function],
|
"autoPilotThroughput": [Function],
|
||||||
@@ -2278,48 +2068,6 @@ exports[`SettingsComponent renders 1`] = `
|
|||||||
"visible": [Function],
|
"visible": [Function],
|
||||||
},
|
},
|
||||||
"addCollectionText": [Function],
|
"addCollectionText": [Function],
|
||||||
"addDatabasePane": AddDatabasePane {
|
|
||||||
"autoPilotUsageCost": [Function],
|
|
||||||
"canConfigureThroughput": [Function],
|
|
||||||
"canExceedMaximumValue": [Function],
|
|
||||||
"canRequestSupport": [Function],
|
|
||||||
"container": [Circular],
|
|
||||||
"costsVisible": [Function],
|
|
||||||
"databaseCreateNewShared": [Function],
|
|
||||||
"databaseId": [Function],
|
|
||||||
"databaseIdLabel": [Function],
|
|
||||||
"databaseIdPlaceHolder": [Function],
|
|
||||||
"databaseIdTooltipText": [Function],
|
|
||||||
"databaseLevelThroughputTooltipText": [Function],
|
|
||||||
"firstFieldHasFocus": [Function],
|
|
||||||
"formErrors": [Function],
|
|
||||||
"formErrorsDetails": [Function],
|
|
||||||
"freeTierExceedThroughputTooltip": [Function],
|
|
||||||
"id": "adddatabasepane",
|
|
||||||
"isAutoPilotSelected": [Function],
|
|
||||||
"isExecuting": [Function],
|
|
||||||
"isFreeTierAccount": [Function],
|
|
||||||
"isTemplateReady": [Function],
|
|
||||||
"maxAutoPilotThroughputSet": [Function],
|
|
||||||
"maxThroughputRU": [Function],
|
|
||||||
"maxThroughputRUText": [Function],
|
|
||||||
"minThroughputRU": [Function],
|
|
||||||
"onMoreDetailsKeyPress": [Function],
|
|
||||||
"requestUnitsUsageCost": [Function],
|
|
||||||
"ruToolTipText": [Function],
|
|
||||||
"showUpsellMessage": [Function],
|
|
||||||
"throughput": [Function],
|
|
||||||
"throughputRangeText": [Function],
|
|
||||||
"throughputSpendAck": [Function],
|
|
||||||
"throughputSpendAckText": [Function],
|
|
||||||
"throughputSpendAckVisible": [Function],
|
|
||||||
"title": [Function],
|
|
||||||
"upsellAnchorText": [Function],
|
|
||||||
"upsellAnchorUrl": [Function],
|
|
||||||
"upsellMessage": [Function],
|
|
||||||
"upsellMessageAriaLabel": [Function],
|
|
||||||
"visible": [Function],
|
|
||||||
},
|
|
||||||
"addDatabaseText": [Function],
|
"addDatabaseText": [Function],
|
||||||
"addTableEntityPane": AddTableEntityPane {
|
"addTableEntityPane": AddTableEntityPane {
|
||||||
"addButtonLabel": "Add Property",
|
"addButtonLabel": "Add Property",
|
||||||
@@ -2716,48 +2464,6 @@ exports[`SettingsComponent renders 1`] = `
|
|||||||
"_isAfecFeatureRegistered": [Function],
|
"_isAfecFeatureRegistered": [Function],
|
||||||
"_isInitializingNotebooks": false,
|
"_isInitializingNotebooks": false,
|
||||||
"_panes": Array [
|
"_panes": Array [
|
||||||
AddDatabasePane {
|
|
||||||
"autoPilotUsageCost": [Function],
|
|
||||||
"canConfigureThroughput": [Function],
|
|
||||||
"canExceedMaximumValue": [Function],
|
|
||||||
"canRequestSupport": [Function],
|
|
||||||
"container": [Circular],
|
|
||||||
"costsVisible": [Function],
|
|
||||||
"databaseCreateNewShared": [Function],
|
|
||||||
"databaseId": [Function],
|
|
||||||
"databaseIdLabel": [Function],
|
|
||||||
"databaseIdPlaceHolder": [Function],
|
|
||||||
"databaseIdTooltipText": [Function],
|
|
||||||
"databaseLevelThroughputTooltipText": [Function],
|
|
||||||
"firstFieldHasFocus": [Function],
|
|
||||||
"formErrors": [Function],
|
|
||||||
"formErrorsDetails": [Function],
|
|
||||||
"freeTierExceedThroughputTooltip": [Function],
|
|
||||||
"id": "adddatabasepane",
|
|
||||||
"isAutoPilotSelected": [Function],
|
|
||||||
"isExecuting": [Function],
|
|
||||||
"isFreeTierAccount": [Function],
|
|
||||||
"isTemplateReady": [Function],
|
|
||||||
"maxAutoPilotThroughputSet": [Function],
|
|
||||||
"maxThroughputRU": [Function],
|
|
||||||
"maxThroughputRUText": [Function],
|
|
||||||
"minThroughputRU": [Function],
|
|
||||||
"onMoreDetailsKeyPress": [Function],
|
|
||||||
"requestUnitsUsageCost": [Function],
|
|
||||||
"ruToolTipText": [Function],
|
|
||||||
"showUpsellMessage": [Function],
|
|
||||||
"throughput": [Function],
|
|
||||||
"throughputRangeText": [Function],
|
|
||||||
"throughputSpendAck": [Function],
|
|
||||||
"throughputSpendAckText": [Function],
|
|
||||||
"throughputSpendAckVisible": [Function],
|
|
||||||
"title": [Function],
|
|
||||||
"upsellAnchorText": [Function],
|
|
||||||
"upsellAnchorUrl": [Function],
|
|
||||||
"upsellMessage": [Function],
|
|
||||||
"upsellMessageAriaLabel": [Function],
|
|
||||||
"visible": [Function],
|
|
||||||
},
|
|
||||||
AddCollectionPane {
|
AddCollectionPane {
|
||||||
"_isSynapseLinkEnabled": [Function],
|
"_isSynapseLinkEnabled": [Function],
|
||||||
"autoPilotThroughput": [Function],
|
"autoPilotThroughput": [Function],
|
||||||
@@ -3168,48 +2874,6 @@ exports[`SettingsComponent renders 1`] = `
|
|||||||
"visible": [Function],
|
"visible": [Function],
|
||||||
},
|
},
|
||||||
"addCollectionText": [Function],
|
"addCollectionText": [Function],
|
||||||
"addDatabasePane": AddDatabasePane {
|
|
||||||
"autoPilotUsageCost": [Function],
|
|
||||||
"canConfigureThroughput": [Function],
|
|
||||||
"canExceedMaximumValue": [Function],
|
|
||||||
"canRequestSupport": [Function],
|
|
||||||
"container": [Circular],
|
|
||||||
"costsVisible": [Function],
|
|
||||||
"databaseCreateNewShared": [Function],
|
|
||||||
"databaseId": [Function],
|
|
||||||
"databaseIdLabel": [Function],
|
|
||||||
"databaseIdPlaceHolder": [Function],
|
|
||||||
"databaseIdTooltipText": [Function],
|
|
||||||
"databaseLevelThroughputTooltipText": [Function],
|
|
||||||
"firstFieldHasFocus": [Function],
|
|
||||||
"formErrors": [Function],
|
|
||||||
"formErrorsDetails": [Function],
|
|
||||||
"freeTierExceedThroughputTooltip": [Function],
|
|
||||||
"id": "adddatabasepane",
|
|
||||||
"isAutoPilotSelected": [Function],
|
|
||||||
"isExecuting": [Function],
|
|
||||||
"isFreeTierAccount": [Function],
|
|
||||||
"isTemplateReady": [Function],
|
|
||||||
"maxAutoPilotThroughputSet": [Function],
|
|
||||||
"maxThroughputRU": [Function],
|
|
||||||
"maxThroughputRUText": [Function],
|
|
||||||
"minThroughputRU": [Function],
|
|
||||||
"onMoreDetailsKeyPress": [Function],
|
|
||||||
"requestUnitsUsageCost": [Function],
|
|
||||||
"ruToolTipText": [Function],
|
|
||||||
"showUpsellMessage": [Function],
|
|
||||||
"throughput": [Function],
|
|
||||||
"throughputRangeText": [Function],
|
|
||||||
"throughputSpendAck": [Function],
|
|
||||||
"throughputSpendAckText": [Function],
|
|
||||||
"throughputSpendAckVisible": [Function],
|
|
||||||
"title": [Function],
|
|
||||||
"upsellAnchorText": [Function],
|
|
||||||
"upsellAnchorUrl": [Function],
|
|
||||||
"upsellMessage": [Function],
|
|
||||||
"upsellMessageAriaLabel": [Function],
|
|
||||||
"visible": [Function],
|
|
||||||
},
|
|
||||||
"addDatabaseText": [Function],
|
"addDatabaseText": [Function],
|
||||||
"addTableEntityPane": AddTableEntityPane {
|
"addTableEntityPane": AddTableEntityPane {
|
||||||
"addButtonLabel": "Add Property",
|
"addButtonLabel": "Add Property",
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
|
exports[`CostEstimateText Pane should render Default properly 1`] = `<Fragment />`;
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
import { shallow } from "enzyme";
|
||||||
|
import React from "react";
|
||||||
|
import { CostEstimateText } from ".";
|
||||||
|
const props = {
|
||||||
|
requestUnits: 5,
|
||||||
|
isAutoscale: false,
|
||||||
|
};
|
||||||
|
describe("CostEstimateText Pane", () => {
|
||||||
|
it("should render Default properly", () => {
|
||||||
|
const wrapper = shallow(<CostEstimateText {...props} />);
|
||||||
|
expect(wrapper).toMatchSnapshot();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
import { Text } from "office-ui-fabric-react";
|
||||||
|
import React, { FunctionComponent } from "react";
|
||||||
|
import * as SharedConstants from "../../../../Shared/Constants";
|
||||||
|
import { userContext } from "../../../../UserContext";
|
||||||
|
import * as PricingUtils from "../../../../Utils/PricingUtils";
|
||||||
|
|
||||||
|
interface CostEstimateTextProps {
|
||||||
|
requestUnits: number;
|
||||||
|
isAutoscale: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
export const CostEstimateText: FunctionComponent<CostEstimateTextProps> = ({
|
||||||
|
requestUnits,
|
||||||
|
isAutoscale,
|
||||||
|
}: CostEstimateTextProps) => {
|
||||||
|
const databaseAccount = userContext.databaseAccount;
|
||||||
|
if (!databaseAccount || !databaseAccount.properties) {
|
||||||
|
return <></>;
|
||||||
|
}
|
||||||
|
|
||||||
|
const serverId: string = userContext.portalEnv;
|
||||||
|
const numberOfRegions: number = databaseAccount.properties.readLocations?.length || 1;
|
||||||
|
const multimasterEnabled: boolean = databaseAccount.properties.enableMultipleWriteLocations;
|
||||||
|
const hourlyPrice: number = PricingUtils.computeRUUsagePriceHourly({
|
||||||
|
serverId,
|
||||||
|
requestUnits,
|
||||||
|
numberOfRegions,
|
||||||
|
multimasterEnabled,
|
||||||
|
isAutoscale,
|
||||||
|
});
|
||||||
|
const dailyPrice: number = hourlyPrice * 24;
|
||||||
|
const monthlyPrice: number = hourlyPrice * SharedConstants.hoursInAMonth;
|
||||||
|
const currency: string = PricingUtils.getPriceCurrency(serverId);
|
||||||
|
const currencySign: string = PricingUtils.getCurrencySign(serverId);
|
||||||
|
const multiplier = PricingUtils.getMultimasterMultiplier(numberOfRegions, multimasterEnabled);
|
||||||
|
const pricePerRu = isAutoscale
|
||||||
|
? PricingUtils.getAutoscalePricePerRu(serverId, multiplier) * multiplier
|
||||||
|
: PricingUtils.getPricePerRu(serverId) * multiplier;
|
||||||
|
|
||||||
|
if (isAutoscale) {
|
||||||
|
return (
|
||||||
|
<Text variant="small">
|
||||||
|
Estimated monthly cost ({currency}):{" "}
|
||||||
|
<b>
|
||||||
|
{currencySign + PricingUtils.calculateEstimateNumber(monthlyPrice / 10)} -{" "}
|
||||||
|
{currencySign + PricingUtils.calculateEstimateNumber(monthlyPrice)}{" "}
|
||||||
|
</b>
|
||||||
|
({numberOfRegions + (numberOfRegions === 1 ? " region" : " regions")}, {requestUnits / 10} - {requestUnits}{" "}
|
||||||
|
RU/s, {currencySign + pricePerRu}/RU)
|
||||||
|
</Text>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Text variant="small">
|
||||||
|
Cost ({currency}):{" "}
|
||||||
|
<b>
|
||||||
|
{currencySign + PricingUtils.calculateEstimateNumber(hourlyPrice)} hourly /{" "}
|
||||||
|
{currencySign + PricingUtils.calculateEstimateNumber(dailyPrice)} daily /{" "}
|
||||||
|
{currencySign + PricingUtils.calculateEstimateNumber(monthlyPrice)} monthly{" "}
|
||||||
|
</b>
|
||||||
|
({numberOfRegions + (numberOfRegions === 1 ? " region" : " regions")}, {requestUnits}RU/s,{" "}
|
||||||
|
{currencySign + pricePerRu}/RU)
|
||||||
|
<br />
|
||||||
|
<em>{PricingUtils.estimatedCostDisclaimer}</em>
|
||||||
|
</Text>
|
||||||
|
);
|
||||||
|
};
|
||||||
@@ -1,302 +0,0 @@
|
|||||||
import { Checkbox, DirectionalHint, Icon, Link, Stack, Text, TextField, TooltipHost } from "office-ui-fabric-react";
|
|
||||||
import React from "react";
|
|
||||||
import * as Constants from "../../../Common/Constants";
|
|
||||||
import * as SharedConstants from "../../../Shared/Constants";
|
|
||||||
import { userContext } from "../../../UserContext";
|
|
||||||
import * as AutoPilotUtils from "../../../Utils/AutoPilotUtils";
|
|
||||||
import * as PricingUtils from "../../../Utils/PricingUtils";
|
|
||||||
|
|
||||||
export interface ThroughputInputProps {
|
|
||||||
isDatabase: boolean;
|
|
||||||
showFreeTierExceedThroughputTooltip: boolean;
|
|
||||||
setThroughputValue: (throughput: number) => void;
|
|
||||||
setIsAutoscale: (isAutoscale: boolean) => void;
|
|
||||||
onCostAcknowledgeChange: (isAcknowledged: boolean) => void;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ThroughputInputState {
|
|
||||||
isAutoscaleSelected: boolean;
|
|
||||||
throughput: number;
|
|
||||||
isCostAcknowledged: boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
export class ThroughputInput extends React.Component<ThroughputInputProps, ThroughputInputState> {
|
|
||||||
constructor(props: ThroughputInputProps) {
|
|
||||||
super(props);
|
|
||||||
|
|
||||||
this.state = {
|
|
||||||
isAutoscaleSelected: true,
|
|
||||||
throughput: AutoPilotUtils.minAutoPilotThroughput,
|
|
||||||
isCostAcknowledged: false,
|
|
||||||
};
|
|
||||||
|
|
||||||
this.props.setThroughputValue(AutoPilotUtils.minAutoPilotThroughput);
|
|
||||||
this.props.setIsAutoscale(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
render(): JSX.Element {
|
|
||||||
return (
|
|
||||||
<div className="throughputInputContainer throughputInputSpacing">
|
|
||||||
<Stack horizontal>
|
|
||||||
<span className="mandatoryStar">* </span>
|
|
||||||
<Text variant="small" style={{ lineHeight: "20px" }}>
|
|
||||||
{this.getThroughputLabelText()}
|
|
||||||
</Text>
|
|
||||||
<TooltipHost directionalHint={DirectionalHint.bottomLeftEdge} content={PricingUtils.getRuToolTipText()}>
|
|
||||||
<Icon iconName="InfoSolid" className="panelInfoIcon" />
|
|
||||||
</TooltipHost>
|
|
||||||
</Stack>
|
|
||||||
|
|
||||||
<Stack horizontal verticalAlign="center">
|
|
||||||
<input
|
|
||||||
className="throughputInputRadioBtn"
|
|
||||||
aria-label="Autoscale mode"
|
|
||||||
checked={this.state.isAutoscaleSelected}
|
|
||||||
type="radio"
|
|
||||||
role="radio"
|
|
||||||
tabIndex={0}
|
|
||||||
onChange={this.onAutoscaleRadioBtnChange.bind(this)}
|
|
||||||
/>
|
|
||||||
<span className="throughputInputRadioBtnLabel">Autoscale</span>
|
|
||||||
|
|
||||||
<input
|
|
||||||
className="throughputInputRadioBtn"
|
|
||||||
aria-label="Manual mode"
|
|
||||||
checked={!this.state.isAutoscaleSelected}
|
|
||||||
type="radio"
|
|
||||||
role="radio"
|
|
||||||
tabIndex={0}
|
|
||||||
onChange={this.onManualRadioBtnChange.bind(this)}
|
|
||||||
/>
|
|
||||||
<span className="throughputInputRadioBtnLabel">Manual</span>
|
|
||||||
</Stack>
|
|
||||||
|
|
||||||
{this.state.isAutoscaleSelected && (
|
|
||||||
<Stack className="throughputInputSpacing">
|
|
||||||
<Text variant="small">
|
|
||||||
Provision maximum RU/s required by this resource. Estimate your required RU/s with
|
|
||||||
<Link target="_blank" href="https://cosmos.azure.com/capacitycalculator/">
|
|
||||||
capacity calculator
|
|
||||||
</Link>
|
|
||||||
.
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
<Stack horizontal>
|
|
||||||
<Text variant="small" style={{ lineHeight: "20px" }}>
|
|
||||||
Max RU/s
|
|
||||||
</Text>
|
|
||||||
<TooltipHost directionalHint={DirectionalHint.bottomLeftEdge} content={this.getAutoScaleTooltip()}>
|
|
||||||
<Icon iconName="InfoSolid" className="panelInfoIcon" />
|
|
||||||
</TooltipHost>
|
|
||||||
</Stack>
|
|
||||||
|
|
||||||
<TextField
|
|
||||||
type="number"
|
|
||||||
styles={{
|
|
||||||
fieldGroup: { width: 300, height: 27 },
|
|
||||||
field: { fontSize: 12 },
|
|
||||||
}}
|
|
||||||
onChange={(event, newInput?: string) => this.onThroughputValueChange(newInput)}
|
|
||||||
step={AutoPilotUtils.autoPilotIncrementStep}
|
|
||||||
min={AutoPilotUtils.minAutoPilotThroughput}
|
|
||||||
value={this.state.throughput.toString()}
|
|
||||||
aria-label="Max request units per second"
|
|
||||||
required={true}
|
|
||||||
/>
|
|
||||||
|
|
||||||
<Text variant="small">
|
|
||||||
Your {this.props.isDatabase ? "database" : "container"} throughput will automatically scale from{" "}
|
|
||||||
<b>
|
|
||||||
{AutoPilotUtils.getMinRUsBasedOnUserInput(this.state.throughput)} RU/s (10% of max RU/s) -{" "}
|
|
||||||
{this.state.throughput} RU/s
|
|
||||||
</b>{" "}
|
|
||||||
based on usage.
|
|
||||||
</Text>
|
|
||||||
</Stack>
|
|
||||||
)}
|
|
||||||
|
|
||||||
{!this.state.isAutoscaleSelected && (
|
|
||||||
<Stack className="throughputInputSpacing">
|
|
||||||
<Text variant="small">
|
|
||||||
Estimate your required RU/s with
|
|
||||||
<Link target="_blank" href="https://cosmos.azure.com/capacitycalculator/">
|
|
||||||
capacity calculator
|
|
||||||
</Link>
|
|
||||||
.
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
<TooltipHost
|
|
||||||
directionalHint={DirectionalHint.topLeftEdge}
|
|
||||||
content={
|
|
||||||
this.props.showFreeTierExceedThroughputTooltip &&
|
|
||||||
this.state.throughput > SharedConstants.CollectionCreation.DefaultCollectionRUs400
|
|
||||||
? "The first 400 RU/s in this account are free. Billing will apply to any throughput beyond 400 RU/s."
|
|
||||||
: undefined
|
|
||||||
}
|
|
||||||
>
|
|
||||||
<TextField
|
|
||||||
type="number"
|
|
||||||
styles={{
|
|
||||||
fieldGroup: { width: 300, height: 27 },
|
|
||||||
field: { fontSize: 12 },
|
|
||||||
}}
|
|
||||||
onChange={(event, newInput?: string) => this.onThroughputValueChange(newInput)}
|
|
||||||
step={100}
|
|
||||||
min={SharedConstants.CollectionCreation.DefaultCollectionRUs400}
|
|
||||||
max={userContext.isTryCosmosDBSubscription ? Constants.TryCosmosExperience.maxRU : Infinity}
|
|
||||||
value={this.state.throughput.toString()}
|
|
||||||
aria-label="Max request units per second"
|
|
||||||
required={true}
|
|
||||||
/>
|
|
||||||
</TooltipHost>
|
|
||||||
</Stack>
|
|
||||||
)}
|
|
||||||
|
|
||||||
<CostEstimateText requestUnits={this.state.throughput} isAutoscale={this.state.isAutoscaleSelected} />
|
|
||||||
|
|
||||||
{this.state.throughput > SharedConstants.CollectionCreation.DefaultCollectionRUs100K && (
|
|
||||||
<Stack horizontal verticalAlign="start">
|
|
||||||
<Checkbox
|
|
||||||
checked={this.state.isCostAcknowledged}
|
|
||||||
styles={{
|
|
||||||
checkbox: { width: 12, height: 12 },
|
|
||||||
label: { padding: 0, margin: "4px 4px 0 0" },
|
|
||||||
}}
|
|
||||||
onChange={(ev: React.FormEvent<HTMLElement>, isChecked: boolean) => {
|
|
||||||
this.setState({ isCostAcknowledged: isChecked });
|
|
||||||
this.props.onCostAcknowledgeChange(isChecked);
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
<Text variant="small" style={{ lineHeight: "20px" }}>
|
|
||||||
{this.getCostAcknowledgeText()}
|
|
||||||
</Text>
|
|
||||||
</Stack>
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
private getThroughputLabelText(): string {
|
|
||||||
if (this.state.isAutoscaleSelected) {
|
|
||||||
return AutoPilotUtils.getAutoPilotHeaderText();
|
|
||||||
}
|
|
||||||
|
|
||||||
const minRU: string = SharedConstants.CollectionCreation.DefaultCollectionRUs400.toLocaleString();
|
|
||||||
const maxRU: string = userContext.isTryCosmosDBSubscription
|
|
||||||
? Constants.TryCosmosExperience.maxRU.toLocaleString()
|
|
||||||
: "unlimited";
|
|
||||||
return this.state.isAutoscaleSelected
|
|
||||||
? AutoPilotUtils.getAutoPilotHeaderText()
|
|
||||||
: `Throughput (${minRU} - ${maxRU} RU/s)`;
|
|
||||||
}
|
|
||||||
|
|
||||||
private onThroughputValueChange(newInput: string): void {
|
|
||||||
const newThroughput = parseInt(newInput);
|
|
||||||
this.setState({ throughput: newThroughput });
|
|
||||||
this.props.setThroughputValue(newThroughput);
|
|
||||||
}
|
|
||||||
|
|
||||||
private getAutoScaleTooltip(): string {
|
|
||||||
return `After the first ${AutoPilotUtils.getStorageBasedOnUserInput(
|
|
||||||
this.state.throughput
|
|
||||||
)} GB of data stored, the max
|
|
||||||
RU/s will be automatically upgraded based on the new storage value.`;
|
|
||||||
}
|
|
||||||
|
|
||||||
private getCostAcknowledgeText(): string {
|
|
||||||
const databaseAccount = userContext.databaseAccount;
|
|
||||||
if (!databaseAccount || !databaseAccount.properties) {
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
|
|
||||||
const numberOfRegions: number = databaseAccount.properties.readLocations?.length || 1;
|
|
||||||
const multimasterEnabled: boolean = databaseAccount.properties.enableMultipleWriteLocations;
|
|
||||||
|
|
||||||
return PricingUtils.getEstimatedSpendAcknowledgeString(
|
|
||||||
this.state.throughput,
|
|
||||||
userContext.portalEnv,
|
|
||||||
numberOfRegions,
|
|
||||||
multimasterEnabled,
|
|
||||||
this.state.isAutoscaleSelected
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
private onAutoscaleRadioBtnChange(event: React.ChangeEvent<HTMLInputElement>): void {
|
|
||||||
if (event.target.checked && !this.state.isAutoscaleSelected) {
|
|
||||||
this.setState({ isAutoscaleSelected: true, throughput: AutoPilotUtils.minAutoPilotThroughput });
|
|
||||||
this.props.setIsAutoscale(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private onManualRadioBtnChange(event: React.ChangeEvent<HTMLInputElement>): void {
|
|
||||||
if (event.target.checked && this.state.isAutoscaleSelected) {
|
|
||||||
this.setState({
|
|
||||||
isAutoscaleSelected: false,
|
|
||||||
throughput: SharedConstants.CollectionCreation.DefaultCollectionRUs400,
|
|
||||||
});
|
|
||||||
this.props.setIsAutoscale(false);
|
|
||||||
this.props.setThroughputValue(SharedConstants.CollectionCreation.DefaultCollectionRUs400);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
interface CostEstimateTextProps {
|
|
||||||
requestUnits: number;
|
|
||||||
isAutoscale: boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
const CostEstimateText: React.FunctionComponent<CostEstimateTextProps> = (props: CostEstimateTextProps) => {
|
|
||||||
const { requestUnits, isAutoscale } = props;
|
|
||||||
const databaseAccount = userContext.databaseAccount;
|
|
||||||
if (!databaseAccount || !databaseAccount.properties) {
|
|
||||||
return <></>;
|
|
||||||
}
|
|
||||||
|
|
||||||
const serverId: string = userContext.portalEnv;
|
|
||||||
const numberOfRegions: number = databaseAccount.properties.readLocations?.length || 1;
|
|
||||||
const multimasterEnabled: boolean = databaseAccount.properties.enableMultipleWriteLocations;
|
|
||||||
const hourlyPrice: number = PricingUtils.computeRUUsagePriceHourly({
|
|
||||||
serverId,
|
|
||||||
requestUnits,
|
|
||||||
numberOfRegions,
|
|
||||||
multimasterEnabled,
|
|
||||||
isAutoscale,
|
|
||||||
});
|
|
||||||
const dailyPrice: number = hourlyPrice * 24;
|
|
||||||
const monthlyPrice: number = hourlyPrice * SharedConstants.hoursInAMonth;
|
|
||||||
const currency: string = PricingUtils.getPriceCurrency(serverId);
|
|
||||||
const currencySign: string = PricingUtils.getCurrencySign(serverId);
|
|
||||||
const multiplier = PricingUtils.getMultimasterMultiplier(numberOfRegions, multimasterEnabled);
|
|
||||||
const pricePerRu = isAutoscale
|
|
||||||
? PricingUtils.getAutoscalePricePerRu(serverId, multiplier) * multiplier
|
|
||||||
: PricingUtils.getPricePerRu(serverId) * multiplier;
|
|
||||||
|
|
||||||
if (isAutoscale) {
|
|
||||||
return (
|
|
||||||
<Text variant="small">
|
|
||||||
Estimated monthly cost ({currency}):{" "}
|
|
||||||
<b>
|
|
||||||
{currencySign + PricingUtils.calculateEstimateNumber(monthlyPrice / 10)} -{" "}
|
|
||||||
{currencySign + PricingUtils.calculateEstimateNumber(monthlyPrice)}{" "}
|
|
||||||
</b>
|
|
||||||
({numberOfRegions + (numberOfRegions === 1 ? " region" : " regions")}, {requestUnits / 10} - {requestUnits}{" "}
|
|
||||||
RU/s, {currencySign + pricePerRu}/RU)
|
|
||||||
</Text>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
|
||||||
<Text variant="small">
|
|
||||||
Cost ({currency}):{" "}
|
|
||||||
<b>
|
|
||||||
{currencySign + PricingUtils.calculateEstimateNumber(hourlyPrice)} hourly /{" "}
|
|
||||||
{currencySign + PricingUtils.calculateEstimateNumber(dailyPrice)} daily /{" "}
|
|
||||||
{currencySign + PricingUtils.calculateEstimateNumber(monthlyPrice)} monthly{" "}
|
|
||||||
</b>
|
|
||||||
({numberOfRegions + (numberOfRegions === 1 ? " region" : " regions")}, {requestUnits}RU/s,{" "}
|
|
||||||
{currencySign + pricePerRu}/RU)
|
|
||||||
<br />
|
|
||||||
<em>{PricingUtils.estimatedCostDisclaimer}</em>
|
|
||||||
</Text>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -0,0 +1,123 @@
|
|||||||
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
|
exports[`ThroughputInput Pane should render Default properly 1`] = `
|
||||||
|
<div
|
||||||
|
className="throughputInputContainer throughputInputSpacing"
|
||||||
|
>
|
||||||
|
<Stack
|
||||||
|
horizontal={true}
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
className="mandatoryStar"
|
||||||
|
>
|
||||||
|
*
|
||||||
|
</span>
|
||||||
|
<Text
|
||||||
|
style={
|
||||||
|
Object {
|
||||||
|
"lineHeight": "20px",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
variant="small"
|
||||||
|
>
|
||||||
|
Throughput (autoscale)
|
||||||
|
</Text>
|
||||||
|
<Tooltip>
|
||||||
|
Set the throughput — Request Units per second (RU/s) — required for the workload. A read of a 1 KB document uses 1 RU. Select manual if you plan to scale RU/s yourself. Select autoscale to allow the system to scale RU/s based on usage.
|
||||||
|
</Tooltip>
|
||||||
|
</Stack>
|
||||||
|
<Stack>
|
||||||
|
<StyledChoiceGroupBase
|
||||||
|
aria-label="mode"
|
||||||
|
onChange={[Function]}
|
||||||
|
options={
|
||||||
|
Array [
|
||||||
|
Object {
|
||||||
|
"key": "true",
|
||||||
|
"text": "Autoscale",
|
||||||
|
},
|
||||||
|
Object {
|
||||||
|
"key": "false",
|
||||||
|
"text": "Manual",
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
||||||
|
selectedKey="true"
|
||||||
|
/>
|
||||||
|
</Stack>
|
||||||
|
<Stack
|
||||||
|
className="throughputInputSpacing"
|
||||||
|
>
|
||||||
|
<Text
|
||||||
|
variant="small"
|
||||||
|
>
|
||||||
|
Provision maximum RU/s required by this resource. Estimate your required RU/s with
|
||||||
|
<StyledLinkBase
|
||||||
|
href="https://cosmos.azure.com/capacitycalculator/"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
capacity calculator
|
||||||
|
</StyledLinkBase>
|
||||||
|
.
|
||||||
|
</Text>
|
||||||
|
<Stack
|
||||||
|
horizontal={true}
|
||||||
|
>
|
||||||
|
<Text
|
||||||
|
style={
|
||||||
|
Object {
|
||||||
|
"lineHeight": "20px",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
variant="small"
|
||||||
|
>
|
||||||
|
Max RU/s
|
||||||
|
</Text>
|
||||||
|
<Tooltip>
|
||||||
|
After the first 40 GB of data stored, the max
|
||||||
|
RU/s will be automatically upgraded based on the new storage value.
|
||||||
|
</Tooltip>
|
||||||
|
</Stack>
|
||||||
|
<StyledTextFieldBase
|
||||||
|
aria-label="Max request units per second"
|
||||||
|
min={4000}
|
||||||
|
onChange={[Function]}
|
||||||
|
required={true}
|
||||||
|
step={1000}
|
||||||
|
styles={
|
||||||
|
Object {
|
||||||
|
"field": Object {
|
||||||
|
"fontSize": 12,
|
||||||
|
},
|
||||||
|
"fieldGroup": Object {
|
||||||
|
"height": 27,
|
||||||
|
"width": 300,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
type="number"
|
||||||
|
value="4000"
|
||||||
|
/>
|
||||||
|
<Text
|
||||||
|
variant="small"
|
||||||
|
>
|
||||||
|
Your
|
||||||
|
container
|
||||||
|
throughput will automatically scale from
|
||||||
|
|
||||||
|
<b>
|
||||||
|
400
|
||||||
|
RU/s (10% of max RU/s) -
|
||||||
|
4000
|
||||||
|
RU/s
|
||||||
|
</b>
|
||||||
|
|
||||||
|
based on usage.
|
||||||
|
</Text>
|
||||||
|
</Stack>
|
||||||
|
<CostEstimateText
|
||||||
|
isAutoscale={true}
|
||||||
|
requestUnits={4000}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
`;
|
||||||
19
src/Explorer/Controls/ThroughputInput/index.test.tsx
Normal file
19
src/Explorer/Controls/ThroughputInput/index.test.tsx
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
import { shallow, ShallowWrapper } from "enzyme";
|
||||||
|
import React from "react";
|
||||||
|
import { ThroughputInput } from ".";
|
||||||
|
const props = {
|
||||||
|
isDatabase: false,
|
||||||
|
showFreeTierExceedThroughputTooltip: true,
|
||||||
|
setThroughputValue: () => jest.fn(),
|
||||||
|
setIsAutoscale: () => jest.fn(),
|
||||||
|
onCostAcknowledgeChange: () => jest.fn(),
|
||||||
|
};
|
||||||
|
describe("ThroughputInput Pane", () => {
|
||||||
|
let wrapper: ShallowWrapper;
|
||||||
|
beforeEach(() => {
|
||||||
|
wrapper = shallow(<ThroughputInput {...props} />);
|
||||||
|
});
|
||||||
|
it("should render Default properly", () => {
|
||||||
|
expect(wrapper).toMatchSnapshot();
|
||||||
|
});
|
||||||
|
});
|
||||||
230
src/Explorer/Controls/ThroughputInput/index.tsx
Normal file
230
src/Explorer/Controls/ThroughputInput/index.tsx
Normal file
@@ -0,0 +1,230 @@
|
|||||||
|
import {
|
||||||
|
Checkbox,
|
||||||
|
ChoiceGroup,
|
||||||
|
DirectionalHint,
|
||||||
|
IChoiceGroupOption,
|
||||||
|
Link,
|
||||||
|
Stack,
|
||||||
|
Text,
|
||||||
|
TextField,
|
||||||
|
TooltipHost,
|
||||||
|
} from "office-ui-fabric-react";
|
||||||
|
import React, { FunctionComponent, useEffect, useState } from "react";
|
||||||
|
import * as Constants from "../../../Common/Constants";
|
||||||
|
import { Tooltip } from "../../../Common/Tooltip";
|
||||||
|
import * as SharedConstants from "../../../Shared/Constants";
|
||||||
|
import { userContext } from "../../../UserContext";
|
||||||
|
import * as AutoPilotUtils from "../../../Utils/AutoPilotUtils";
|
||||||
|
import * as PricingUtils from "../../../Utils/PricingUtils";
|
||||||
|
import { CostEstimateText } from "./CostEstimateText";
|
||||||
|
import "./styles.less";
|
||||||
|
|
||||||
|
export interface ThroughputInputProps {
|
||||||
|
isDatabase: boolean;
|
||||||
|
showFreeTierExceedThroughputTooltip: boolean;
|
||||||
|
setThroughputValue: (throughput: number) => void;
|
||||||
|
setIsAutoscale: (isAutoscale: boolean) => void;
|
||||||
|
onCostAcknowledgeChange: (isAcknowledged: boolean) => void;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ThroughputInputState {
|
||||||
|
isAutoscaleSelected?: boolean;
|
||||||
|
throughput?: number;
|
||||||
|
isCostAcknowledged?: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
export const ThroughputInput: FunctionComponent<ThroughputInputProps> = ({
|
||||||
|
isDatabase,
|
||||||
|
showFreeTierExceedThroughputTooltip,
|
||||||
|
setThroughputValue,
|
||||||
|
setIsAutoscale,
|
||||||
|
onCostAcknowledgeChange,
|
||||||
|
}: ThroughputInputProps) => {
|
||||||
|
const [state, updateState] = useState<ThroughputInputState>({
|
||||||
|
isAutoscaleSelected: true,
|
||||||
|
throughput: AutoPilotUtils.minAutoPilotThroughput,
|
||||||
|
isCostAcknowledged: false,
|
||||||
|
});
|
||||||
|
const { isAutoscaleSelected, throughput, isCostAcknowledged } = state;
|
||||||
|
const setState = (newState: ThroughputInputState) => updateState({ ...state, ...newState });
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
setThroughputValue(throughput);
|
||||||
|
setIsAutoscale(isAutoscaleSelected);
|
||||||
|
}, [isAutoscaleSelected, throughput]);
|
||||||
|
|
||||||
|
const getThroughputLabelText = (): string => {
|
||||||
|
if (isAutoscaleSelected) {
|
||||||
|
return AutoPilotUtils.getAutoPilotHeaderText();
|
||||||
|
}
|
||||||
|
|
||||||
|
const minRU: string = SharedConstants.CollectionCreation.DefaultCollectionRUs400.toLocaleString();
|
||||||
|
const maxRU: string = userContext.isTryCosmosDBSubscription
|
||||||
|
? Constants.TryCosmosExperience.maxRU.toLocaleString()
|
||||||
|
: "unlimited";
|
||||||
|
return isAutoscaleSelected ? AutoPilotUtils.getAutoPilotHeaderText() : `Throughput (${minRU} - ${maxRU} RU/s)`;
|
||||||
|
};
|
||||||
|
|
||||||
|
const onThroughputValueChange = (newInput: string): void => {
|
||||||
|
const newThroughput = parseInt(newInput);
|
||||||
|
setState({ throughput: newThroughput });
|
||||||
|
};
|
||||||
|
|
||||||
|
const getAutoScaleTooltip = (): string => {
|
||||||
|
return `After the first ${AutoPilotUtils.getStorageBasedOnUserInput(throughput)} GB of data stored, the max
|
||||||
|
RU/s will be automatically upgraded based on the new storage value.`;
|
||||||
|
};
|
||||||
|
|
||||||
|
const getCostAcknowledgeText = (): string => {
|
||||||
|
const databaseAccount = userContext.databaseAccount;
|
||||||
|
if (!databaseAccount || !databaseAccount.properties) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
const numberOfRegions: number = databaseAccount.properties.readLocations?.length || 1;
|
||||||
|
const multimasterEnabled: boolean = databaseAccount.properties.enableMultipleWriteLocations;
|
||||||
|
|
||||||
|
return PricingUtils.getEstimatedSpendAcknowledgeString(
|
||||||
|
throughput,
|
||||||
|
userContext.portalEnv,
|
||||||
|
numberOfRegions,
|
||||||
|
multimasterEnabled,
|
||||||
|
isAutoscaleSelected
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
const handleOnChangeMode = (ev: React.FormEvent<HTMLInputElement>, option: IChoiceGroupOption): void => {
|
||||||
|
if (option.key === "true") {
|
||||||
|
setState({ isAutoscaleSelected: true, throughput: AutoPilotUtils.minAutoPilotThroughput });
|
||||||
|
} else {
|
||||||
|
setState({
|
||||||
|
isAutoscaleSelected: false,
|
||||||
|
throughput: SharedConstants.CollectionCreation.DefaultCollectionRUs400,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
const optionList: IChoiceGroupOption[] = [
|
||||||
|
{ key: "true", text: "Autoscale" },
|
||||||
|
{ key: "false", text: "Manual" },
|
||||||
|
];
|
||||||
|
return (
|
||||||
|
<div className="throughputInputContainer throughputInputSpacing">
|
||||||
|
<Stack horizontal>
|
||||||
|
<span className="mandatoryStar">* </span>
|
||||||
|
<Text variant="small" style={{ lineHeight: "20px" }}>
|
||||||
|
{getThroughputLabelText()}
|
||||||
|
</Text>
|
||||||
|
<Tooltip>{PricingUtils.getRuToolTipText()}</Tooltip>
|
||||||
|
</Stack>
|
||||||
|
|
||||||
|
<Stack>
|
||||||
|
<ChoiceGroup
|
||||||
|
selectedKey={"" + isAutoscaleSelected}
|
||||||
|
options={optionList}
|
||||||
|
onChange={handleOnChangeMode}
|
||||||
|
aria-label="mode"
|
||||||
|
/>
|
||||||
|
</Stack>
|
||||||
|
|
||||||
|
{isAutoscaleSelected && (
|
||||||
|
<Stack className="throughputInputSpacing">
|
||||||
|
<Text variant="small">
|
||||||
|
Provision maximum RU/s required by this resource. Estimate your required RU/s with
|
||||||
|
<Link target="_blank" href="https://cosmos.azure.com/capacitycalculator/">
|
||||||
|
capacity calculator
|
||||||
|
</Link>
|
||||||
|
.
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Stack horizontal>
|
||||||
|
<Text variant="small" style={{ lineHeight: "20px" }}>
|
||||||
|
Max RU/s
|
||||||
|
</Text>
|
||||||
|
<Tooltip>{getAutoScaleTooltip()}</Tooltip>
|
||||||
|
</Stack>
|
||||||
|
|
||||||
|
<TextField
|
||||||
|
type="number"
|
||||||
|
styles={{
|
||||||
|
fieldGroup: { width: 300, height: 27 },
|
||||||
|
field: { fontSize: 12 },
|
||||||
|
}}
|
||||||
|
onChange={(event, newInput?: string) => onThroughputValueChange(newInput)}
|
||||||
|
step={AutoPilotUtils.autoPilotIncrementStep}
|
||||||
|
min={AutoPilotUtils.minAutoPilotThroughput}
|
||||||
|
value={throughput.toString()}
|
||||||
|
aria-label="Max request units per second"
|
||||||
|
required={true}
|
||||||
|
/>
|
||||||
|
|
||||||
|
<Text variant="small">
|
||||||
|
Your {isDatabase ? "database" : "container"} throughput will automatically scale from{" "}
|
||||||
|
<b>
|
||||||
|
{AutoPilotUtils.getMinRUsBasedOnUserInput(throughput)} RU/s (10% of max RU/s) - {throughput} RU/s
|
||||||
|
</b>{" "}
|
||||||
|
based on usage.
|
||||||
|
</Text>
|
||||||
|
</Stack>
|
||||||
|
)}
|
||||||
|
|
||||||
|
{!isAutoscaleSelected && (
|
||||||
|
<Stack className="throughputInputSpacing">
|
||||||
|
<Text variant="small">
|
||||||
|
Estimate your required RU/s with
|
||||||
|
<Link target="_blank" href="https://cosmos.azure.com/capacitycalculator/">
|
||||||
|
capacity calculator
|
||||||
|
</Link>
|
||||||
|
.
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<TooltipHost
|
||||||
|
directionalHint={DirectionalHint.topLeftEdge}
|
||||||
|
content={
|
||||||
|
showFreeTierExceedThroughputTooltip &&
|
||||||
|
throughput > SharedConstants.CollectionCreation.DefaultCollectionRUs400
|
||||||
|
? "The first 400 RU/s in this account are free. Billing will apply to any throughput beyond 400 RU/s."
|
||||||
|
: undefined
|
||||||
|
}
|
||||||
|
>
|
||||||
|
<TextField
|
||||||
|
type="number"
|
||||||
|
styles={{
|
||||||
|
fieldGroup: { width: 300, height: 27 },
|
||||||
|
field: { fontSize: 12 },
|
||||||
|
}}
|
||||||
|
onChange={(event, newInput?: string) => onThroughputValueChange(newInput)}
|
||||||
|
step={100}
|
||||||
|
min={SharedConstants.CollectionCreation.DefaultCollectionRUs400}
|
||||||
|
max={userContext.isTryCosmosDBSubscription ? Constants.TryCosmosExperience.maxRU : Infinity}
|
||||||
|
value={throughput.toString()}
|
||||||
|
aria-label="Max request units per second"
|
||||||
|
required={true}
|
||||||
|
/>
|
||||||
|
</TooltipHost>
|
||||||
|
</Stack>
|
||||||
|
)}
|
||||||
|
|
||||||
|
<CostEstimateText requestUnits={throughput} isAutoscale={isAutoscaleSelected} />
|
||||||
|
|
||||||
|
{throughput > SharedConstants.CollectionCreation.DefaultCollectionRUs100K && (
|
||||||
|
<Stack horizontal verticalAlign="start">
|
||||||
|
<Checkbox
|
||||||
|
checked={isCostAcknowledged}
|
||||||
|
styles={{
|
||||||
|
checkbox: { width: 12, height: 12 },
|
||||||
|
label: { padding: 0, margin: "4px 4px 0 0" },
|
||||||
|
}}
|
||||||
|
onChange={(ev: React.FormEvent<HTMLElement>, isChecked: boolean) => {
|
||||||
|
setState({ isCostAcknowledged: isChecked });
|
||||||
|
onCostAcknowledgeChange(isChecked);
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
<Text variant="small" style={{ lineHeight: "20px" }}>
|
||||||
|
{getCostAcknowledgeText()}
|
||||||
|
</Text>
|
||||||
|
</Stack>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
@@ -26,7 +26,7 @@ import * as TelemetryProcessor from "../../Shared/Telemetry/TelemetryProcessor";
|
|||||||
import { userContext } from "../../UserContext";
|
import { userContext } from "../../UserContext";
|
||||||
import { getUpsellMessage } from "../../Utils/PricingUtils";
|
import { getUpsellMessage } from "../../Utils/PricingUtils";
|
||||||
import { CollapsibleSectionComponent } from "../Controls/CollapsiblePanel/CollapsibleSectionComponent";
|
import { CollapsibleSectionComponent } from "../Controls/CollapsiblePanel/CollapsibleSectionComponent";
|
||||||
import { ThroughputInput } from "../Controls/ThroughputInput/ThroughputInput";
|
import { ThroughputInput } from "../Controls/ThroughputInput";
|
||||||
import Explorer from "../Explorer";
|
import Explorer from "../Explorer";
|
||||||
import { PanelFooterComponent } from "./PanelFooterComponent";
|
import { PanelFooterComponent } from "./PanelFooterComponent";
|
||||||
import { PanelInfoErrorComponent } from "./PanelInfoErrorComponent";
|
import { PanelInfoErrorComponent } from "./PanelInfoErrorComponent";
|
||||||
|
|||||||
@@ -0,0 +1,901 @@
|
|||||||
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
|
exports[`AddDatabasePane Pane should render Default properly 1`] = `
|
||||||
|
<GenericRightPaneComponent
|
||||||
|
container={
|
||||||
|
Explorer {
|
||||||
|
"_closeModalDialog": [Function],
|
||||||
|
"_closeSynapseLinkModalDialog": [Function],
|
||||||
|
"_isAfecFeatureRegistered": [Function],
|
||||||
|
"_isInitializingNotebooks": false,
|
||||||
|
"_panes": Array [
|
||||||
|
AddCollectionPane {
|
||||||
|
"_isSynapseLinkEnabled": [Function],
|
||||||
|
"autoPilotThroughput": [Function],
|
||||||
|
"autoPilotUsageCost": [Function],
|
||||||
|
"canConfigureThroughput": [Function],
|
||||||
|
"canExceedMaximumValue": [Function],
|
||||||
|
"canRequestSupport": [Function],
|
||||||
|
"collectionId": [Function],
|
||||||
|
"collectionIdTitle": [Function],
|
||||||
|
"collectionWithThroughputInShared": [Function],
|
||||||
|
"collectionWithThroughputInSharedTitle": [Function],
|
||||||
|
"container": [Circular],
|
||||||
|
"costsVisible": [Function],
|
||||||
|
"databaseCreateNew": [Function],
|
||||||
|
"databaseCreateNewShared": [Function],
|
||||||
|
"databaseHasSharedOffer": [Function],
|
||||||
|
"databaseId": [Function],
|
||||||
|
"databaseIds": [Function],
|
||||||
|
"dedicatedRequestUnitsUsageCost": [Function],
|
||||||
|
"displayCollectionThroughput": [Function],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"formWarnings": [Function],
|
||||||
|
"freeTierExceedThroughputTooltip": [Function],
|
||||||
|
"id": "addcollectionpane",
|
||||||
|
"isAnalyticalStorageOn": [Function],
|
||||||
|
"isAutoPilotSelected": [Function],
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isFixedStorageSelected": [Function],
|
||||||
|
"isFreeTierAccount": [Function],
|
||||||
|
"isNonTableApi": [Function],
|
||||||
|
"isPreferredApiTable": [Function],
|
||||||
|
"isSharedAutoPilotSelected": [Function],
|
||||||
|
"isSynapseLinkSupported": [Function],
|
||||||
|
"isSynapseLinkUpdating": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"isTryCosmosDBSubscription": [Function],
|
||||||
|
"isUnlimitedStorageSelected": [Function],
|
||||||
|
"largePartitionKey": [Function],
|
||||||
|
"lowerCasePartitionKeyName": [Function],
|
||||||
|
"maxCollectionsReached": [Function],
|
||||||
|
"maxCollectionsReachedMessage": [Function],
|
||||||
|
"maxThroughputRU": [Function],
|
||||||
|
"minThroughputRU": [Function],
|
||||||
|
"onMoreDetailsKeyPress": [Function],
|
||||||
|
"partitionKey": [Function],
|
||||||
|
"partitionKeyName": [Function],
|
||||||
|
"partitionKeyPattern": [Function],
|
||||||
|
"partitionKeyPlaceholder": [Function],
|
||||||
|
"partitionKeyTitle": [Function],
|
||||||
|
"partitionKeyVisible": [Function],
|
||||||
|
"requestUnitsUsageCost": [Function],
|
||||||
|
"ruToolTipText": [Function],
|
||||||
|
"sharedAutoPilotThroughput": [Function],
|
||||||
|
"sharedThroughputRangeText": [Function],
|
||||||
|
"shouldCreateMongoWildcardIndex": [Function],
|
||||||
|
"shouldUseDatabaseThroughput": [Function],
|
||||||
|
"showAnalyticalStore": [Function],
|
||||||
|
"showEnableSynapseLink": [Function],
|
||||||
|
"showIndexingOptionsForSharedThroughput": [Function],
|
||||||
|
"showUpsellMessage": [Function],
|
||||||
|
"storage": [Function],
|
||||||
|
"throughputDatabase": [Function],
|
||||||
|
"throughputMultiPartition": [Function],
|
||||||
|
"throughputRangeText": [Function],
|
||||||
|
"throughputSinglePartition": [Function],
|
||||||
|
"throughputSpendAck": [Function],
|
||||||
|
"throughputSpendAckText": [Function],
|
||||||
|
"throughputSpendAckVisible": [Function],
|
||||||
|
"title": [Function],
|
||||||
|
"ttl90DaysEnabled": [Function],
|
||||||
|
"uniqueKeys": [Function],
|
||||||
|
"uniqueKeysPlaceholder": [Function],
|
||||||
|
"uniqueKeysVisible": [Function],
|
||||||
|
"upsellAnchorText": [Function],
|
||||||
|
"upsellAnchorUrl": [Function],
|
||||||
|
"upsellMessage": [Function],
|
||||||
|
"upsellMessageAriaLabel": [Function],
|
||||||
|
"useIndexingForSharedThroughput": [Function],
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
DeleteCollectionConfirmationPane {
|
||||||
|
"collectionIdConfirmation": [Function],
|
||||||
|
"collectionIdConfirmationText": [Function],
|
||||||
|
"container": [Circular],
|
||||||
|
"containerDeleteFeedback": [Function],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"id": "deletecollectionconfirmationpane",
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"recordDeleteFeedback": [Function],
|
||||||
|
"title": [Function],
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
GraphStylingPane {
|
||||||
|
"container": [Circular],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"graphConfigUIData": Object {
|
||||||
|
"nodeCaptionChoice": [Function],
|
||||||
|
"nodeColorKeyChoice": [Function],
|
||||||
|
"nodeIconChoice": [Function],
|
||||||
|
"nodeIconSet": [Function],
|
||||||
|
"nodeProperties": [Function],
|
||||||
|
"nodePropertiesWithNone": [Function],
|
||||||
|
"showNeighborType": [Function],
|
||||||
|
},
|
||||||
|
"id": "graphstylingpane",
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"title": [Function],
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
AddTableEntityPane {
|
||||||
|
"addButtonLabel": "Add Property",
|
||||||
|
"attributeNameLabel": "Property Name",
|
||||||
|
"attributeValueLabel": "Value",
|
||||||
|
"canAdd": [Function],
|
||||||
|
"canApply": [Function],
|
||||||
|
"container": [Circular],
|
||||||
|
"dataTypeLabel": "Type",
|
||||||
|
"displayedAttributes": [Function],
|
||||||
|
"editAttribute": [Function],
|
||||||
|
"editButtonLabel": "Edit",
|
||||||
|
"editingProperty": [Function],
|
||||||
|
"edmTypes": [Function],
|
||||||
|
"enterRequiredValueLabel": "Enter identifier value.",
|
||||||
|
"enterValueLabel": "Enter value to keep property.",
|
||||||
|
"finishEditingAttribute": [Function],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"id": "addtableentitypane",
|
||||||
|
"insertAttribute": [Function],
|
||||||
|
"isEditing": [Function],
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"onAddPropertyKeyDown": [Function],
|
||||||
|
"onBackButtonKeyDown": [Function],
|
||||||
|
"onDeletePropertyKeyDown": [Function],
|
||||||
|
"onEditPropertyKeyDown": [Function],
|
||||||
|
"onKeyUp": [Function],
|
||||||
|
"removeAttribute": [Function],
|
||||||
|
"removeButtonLabel": "Remove",
|
||||||
|
"scrollId": [Function],
|
||||||
|
"submitButtonText": [Function],
|
||||||
|
"title": [Function],
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
EditTableEntityPane {
|
||||||
|
"addButtonLabel": "Add Property",
|
||||||
|
"attributeNameLabel": "Property Name",
|
||||||
|
"attributeValueLabel": "Value",
|
||||||
|
"canAdd": [Function],
|
||||||
|
"canApply": [Function],
|
||||||
|
"container": [Circular],
|
||||||
|
"dataTypeLabel": "Type",
|
||||||
|
"displayedAttributes": [Function],
|
||||||
|
"editAttribute": [Function],
|
||||||
|
"editButtonLabel": "Edit",
|
||||||
|
"editingProperty": [Function],
|
||||||
|
"edmTypes": [Function],
|
||||||
|
"finishEditingAttribute": [Function],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"id": "edittableentitypane",
|
||||||
|
"insertAttribute": [Function],
|
||||||
|
"isEditing": [Function],
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"onAddPropertyKeyDown": [Function],
|
||||||
|
"onBackButtonKeyDown": [Function],
|
||||||
|
"onDeletePropertyKeyDown": [Function],
|
||||||
|
"onEditPropertyKeyDown": [Function],
|
||||||
|
"onKeyUp": [Function],
|
||||||
|
"removeAttribute": [Function],
|
||||||
|
"removeButtonLabel": "Remove",
|
||||||
|
"scrollId": [Function],
|
||||||
|
"submitButtonText": [Function],
|
||||||
|
"title": [Function],
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
TableColumnOptionsPane {
|
||||||
|
"allSelected": [Function],
|
||||||
|
"anyColumnSelected": [Function],
|
||||||
|
"availableColumnsLabel": "Available Columns",
|
||||||
|
"canMoveDown": [Function],
|
||||||
|
"canMoveUp": [Function],
|
||||||
|
"canSelectAll": [Function],
|
||||||
|
"columnOptions": [Function],
|
||||||
|
"container": [Circular],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"handleClick": [Function],
|
||||||
|
"id": "tablecolumnoptionspane",
|
||||||
|
"instructionLabel": "Choose the columns and the order in which you want to display them in the table.",
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"moveDownLabel": "Move Down",
|
||||||
|
"moveUpLabel": "Move Up",
|
||||||
|
"noColumnSelectedWarning": "At least one column should be selected.",
|
||||||
|
"selectedColumnOption": null,
|
||||||
|
"title": [Function],
|
||||||
|
"titleLabel": "Column Options",
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
QuerySelectPane {
|
||||||
|
"allSelected": [Function],
|
||||||
|
"anyColumnSelected": [Function],
|
||||||
|
"availableColumnsTableQueryLabel": "Available Columns",
|
||||||
|
"canSelectAll": [Function],
|
||||||
|
"columnOptions": [Function],
|
||||||
|
"container": [Circular],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"handleClick": [Function],
|
||||||
|
"id": "queryselectpane",
|
||||||
|
"instructionLabel": "Select the columns that you want to query.",
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"noColumnSelectedWarning": "At least one column should be selected.",
|
||||||
|
"selectedColumnOption": null,
|
||||||
|
"title": [Function],
|
||||||
|
"titleLabel": "Select Columns",
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
NewVertexPane {
|
||||||
|
"buildString": [Function],
|
||||||
|
"container": [Circular],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"id": "newvertexpane",
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"onMoreDetailsKeyPress": [Function],
|
||||||
|
"onSubmitCreateCallback": null,
|
||||||
|
"partitionKeyProperty": [Function],
|
||||||
|
"tempVertexData": [Function],
|
||||||
|
"title": [Function],
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
CassandraAddCollectionPane {
|
||||||
|
"autoPilotUsageCost": [Function],
|
||||||
|
"canConfigureThroughput": [Function],
|
||||||
|
"canExceedMaximumValue": [Function],
|
||||||
|
"canRequestSupport": [Function],
|
||||||
|
"container": [Circular],
|
||||||
|
"costsVisible": [Function],
|
||||||
|
"createTableQuery": [Function],
|
||||||
|
"dedicateTableThroughput": [Function],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"id": "cassandraaddcollectionpane",
|
||||||
|
"isAutoPilotSelected": [Function],
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isFreeTierAccount": [Function],
|
||||||
|
"isSharedAutoPilotSelected": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"keyspaceCreateNew": [Function],
|
||||||
|
"keyspaceHasSharedOffer": [Function],
|
||||||
|
"keyspaceId": [Function],
|
||||||
|
"keyspaceIds": [Function],
|
||||||
|
"keyspaceOffers": HashMap {
|
||||||
|
"container": Object {},
|
||||||
|
},
|
||||||
|
"keyspaceThroughput": [Function],
|
||||||
|
"maxThroughputRU": [Function],
|
||||||
|
"minThroughputRU": [Function],
|
||||||
|
"requestUnitsUsageCostDedicated": [Function],
|
||||||
|
"requestUnitsUsageCostShared": [Function],
|
||||||
|
"ruToolTipText": [Function],
|
||||||
|
"selectedAutoPilotThroughput": [Function],
|
||||||
|
"sharedAutoPilotThroughput": [Function],
|
||||||
|
"sharedThroughputRangeText": [Function],
|
||||||
|
"sharedThroughputSpendAck": [Function],
|
||||||
|
"sharedThroughputSpendAckText": [Function],
|
||||||
|
"sharedThroughputSpendAckVisible": [Function],
|
||||||
|
"tableId": [Function],
|
||||||
|
"throughput": [Function],
|
||||||
|
"throughputRangeText": [Function],
|
||||||
|
"throughputSpendAck": [Function],
|
||||||
|
"throughputSpendAckText": [Function],
|
||||||
|
"throughputSpendAckVisible": [Function],
|
||||||
|
"title": [Function],
|
||||||
|
"userTableQuery": [Function],
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
StringInputPane {
|
||||||
|
"container": [Circular],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"id": "stringinputpane",
|
||||||
|
"inputLabel": [Function],
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"stringInput": [Function],
|
||||||
|
"submitButtonLabel": [Function],
|
||||||
|
"title": [Function],
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
SetupNotebooksPane {
|
||||||
|
"container": [Circular],
|
||||||
|
"description": [Function],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"id": "setupnotebookspane",
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"onCompleteSetupClick": [Function],
|
||||||
|
"onCompleteSetupKeyPress": [Function],
|
||||||
|
"title": [Function],
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
"_refreshSparkEnabledStateForAccount": [Function],
|
||||||
|
"_resetNotebookWorkspace": [Function],
|
||||||
|
"addCollectionPane": AddCollectionPane {
|
||||||
|
"_isSynapseLinkEnabled": [Function],
|
||||||
|
"autoPilotThroughput": [Function],
|
||||||
|
"autoPilotUsageCost": [Function],
|
||||||
|
"canConfigureThroughput": [Function],
|
||||||
|
"canExceedMaximumValue": [Function],
|
||||||
|
"canRequestSupport": [Function],
|
||||||
|
"collectionId": [Function],
|
||||||
|
"collectionIdTitle": [Function],
|
||||||
|
"collectionWithThroughputInShared": [Function],
|
||||||
|
"collectionWithThroughputInSharedTitle": [Function],
|
||||||
|
"container": [Circular],
|
||||||
|
"costsVisible": [Function],
|
||||||
|
"databaseCreateNew": [Function],
|
||||||
|
"databaseCreateNewShared": [Function],
|
||||||
|
"databaseHasSharedOffer": [Function],
|
||||||
|
"databaseId": [Function],
|
||||||
|
"databaseIds": [Function],
|
||||||
|
"dedicatedRequestUnitsUsageCost": [Function],
|
||||||
|
"displayCollectionThroughput": [Function],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"formWarnings": [Function],
|
||||||
|
"freeTierExceedThroughputTooltip": [Function],
|
||||||
|
"id": "addcollectionpane",
|
||||||
|
"isAnalyticalStorageOn": [Function],
|
||||||
|
"isAutoPilotSelected": [Function],
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isFixedStorageSelected": [Function],
|
||||||
|
"isFreeTierAccount": [Function],
|
||||||
|
"isNonTableApi": [Function],
|
||||||
|
"isPreferredApiTable": [Function],
|
||||||
|
"isSharedAutoPilotSelected": [Function],
|
||||||
|
"isSynapseLinkSupported": [Function],
|
||||||
|
"isSynapseLinkUpdating": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"isTryCosmosDBSubscription": [Function],
|
||||||
|
"isUnlimitedStorageSelected": [Function],
|
||||||
|
"largePartitionKey": [Function],
|
||||||
|
"lowerCasePartitionKeyName": [Function],
|
||||||
|
"maxCollectionsReached": [Function],
|
||||||
|
"maxCollectionsReachedMessage": [Function],
|
||||||
|
"maxThroughputRU": [Function],
|
||||||
|
"minThroughputRU": [Function],
|
||||||
|
"onMoreDetailsKeyPress": [Function],
|
||||||
|
"partitionKey": [Function],
|
||||||
|
"partitionKeyName": [Function],
|
||||||
|
"partitionKeyPattern": [Function],
|
||||||
|
"partitionKeyPlaceholder": [Function],
|
||||||
|
"partitionKeyTitle": [Function],
|
||||||
|
"partitionKeyVisible": [Function],
|
||||||
|
"requestUnitsUsageCost": [Function],
|
||||||
|
"ruToolTipText": [Function],
|
||||||
|
"sharedAutoPilotThroughput": [Function],
|
||||||
|
"sharedThroughputRangeText": [Function],
|
||||||
|
"shouldCreateMongoWildcardIndex": [Function],
|
||||||
|
"shouldUseDatabaseThroughput": [Function],
|
||||||
|
"showAnalyticalStore": [Function],
|
||||||
|
"showEnableSynapseLink": [Function],
|
||||||
|
"showIndexingOptionsForSharedThroughput": [Function],
|
||||||
|
"showUpsellMessage": [Function],
|
||||||
|
"storage": [Function],
|
||||||
|
"throughputDatabase": [Function],
|
||||||
|
"throughputMultiPartition": [Function],
|
||||||
|
"throughputRangeText": [Function],
|
||||||
|
"throughputSinglePartition": [Function],
|
||||||
|
"throughputSpendAck": [Function],
|
||||||
|
"throughputSpendAckText": [Function],
|
||||||
|
"throughputSpendAckVisible": [Function],
|
||||||
|
"title": [Function],
|
||||||
|
"ttl90DaysEnabled": [Function],
|
||||||
|
"uniqueKeys": [Function],
|
||||||
|
"uniqueKeysPlaceholder": [Function],
|
||||||
|
"uniqueKeysVisible": [Function],
|
||||||
|
"upsellAnchorText": [Function],
|
||||||
|
"upsellAnchorUrl": [Function],
|
||||||
|
"upsellMessage": [Function],
|
||||||
|
"upsellMessageAriaLabel": [Function],
|
||||||
|
"useIndexingForSharedThroughput": [Function],
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
"addCollectionText": [Function],
|
||||||
|
"addDatabaseText": [Function],
|
||||||
|
"addTableEntityPane": AddTableEntityPane {
|
||||||
|
"addButtonLabel": "Add Property",
|
||||||
|
"attributeNameLabel": "Property Name",
|
||||||
|
"attributeValueLabel": "Value",
|
||||||
|
"canAdd": [Function],
|
||||||
|
"canApply": [Function],
|
||||||
|
"container": [Circular],
|
||||||
|
"dataTypeLabel": "Type",
|
||||||
|
"displayedAttributes": [Function],
|
||||||
|
"editAttribute": [Function],
|
||||||
|
"editButtonLabel": "Edit",
|
||||||
|
"editingProperty": [Function],
|
||||||
|
"edmTypes": [Function],
|
||||||
|
"enterRequiredValueLabel": "Enter identifier value.",
|
||||||
|
"enterValueLabel": "Enter value to keep property.",
|
||||||
|
"finishEditingAttribute": [Function],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"id": "addtableentitypane",
|
||||||
|
"insertAttribute": [Function],
|
||||||
|
"isEditing": [Function],
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"onAddPropertyKeyDown": [Function],
|
||||||
|
"onBackButtonKeyDown": [Function],
|
||||||
|
"onDeletePropertyKeyDown": [Function],
|
||||||
|
"onEditPropertyKeyDown": [Function],
|
||||||
|
"onKeyUp": [Function],
|
||||||
|
"removeAttribute": [Function],
|
||||||
|
"removeButtonLabel": "Remove",
|
||||||
|
"scrollId": [Function],
|
||||||
|
"submitButtonText": [Function],
|
||||||
|
"title": [Function],
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
"arcadiaToken": [Function],
|
||||||
|
"canExceedMaximumValue": [Function],
|
||||||
|
"canSaveQueries": [Function],
|
||||||
|
"cassandraAddCollectionPane": CassandraAddCollectionPane {
|
||||||
|
"autoPilotUsageCost": [Function],
|
||||||
|
"canConfigureThroughput": [Function],
|
||||||
|
"canExceedMaximumValue": [Function],
|
||||||
|
"canRequestSupport": [Function],
|
||||||
|
"container": [Circular],
|
||||||
|
"costsVisible": [Function],
|
||||||
|
"createTableQuery": [Function],
|
||||||
|
"dedicateTableThroughput": [Function],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"id": "cassandraaddcollectionpane",
|
||||||
|
"isAutoPilotSelected": [Function],
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isFreeTierAccount": [Function],
|
||||||
|
"isSharedAutoPilotSelected": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"keyspaceCreateNew": [Function],
|
||||||
|
"keyspaceHasSharedOffer": [Function],
|
||||||
|
"keyspaceId": [Function],
|
||||||
|
"keyspaceIds": [Function],
|
||||||
|
"keyspaceOffers": HashMap {
|
||||||
|
"container": Object {},
|
||||||
|
},
|
||||||
|
"keyspaceThroughput": [Function],
|
||||||
|
"maxThroughputRU": [Function],
|
||||||
|
"minThroughputRU": [Function],
|
||||||
|
"requestUnitsUsageCostDedicated": [Function],
|
||||||
|
"requestUnitsUsageCostShared": [Function],
|
||||||
|
"ruToolTipText": [Function],
|
||||||
|
"selectedAutoPilotThroughput": [Function],
|
||||||
|
"sharedAutoPilotThroughput": [Function],
|
||||||
|
"sharedThroughputRangeText": [Function],
|
||||||
|
"sharedThroughputSpendAck": [Function],
|
||||||
|
"sharedThroughputSpendAckText": [Function],
|
||||||
|
"sharedThroughputSpendAckVisible": [Function],
|
||||||
|
"tableId": [Function],
|
||||||
|
"throughput": [Function],
|
||||||
|
"throughputRangeText": [Function],
|
||||||
|
"throughputSpendAck": [Function],
|
||||||
|
"throughputSpendAckText": [Function],
|
||||||
|
"throughputSpendAckVisible": [Function],
|
||||||
|
"title": [Function],
|
||||||
|
"userTableQuery": [Function],
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
"clickHostedAccountSwitch": [Function],
|
||||||
|
"clickHostedDirectorySwitch": [Function],
|
||||||
|
"closeDialog": undefined,
|
||||||
|
"closeSidePanel": undefined,
|
||||||
|
"collapsedResourceTreeWidth": 36,
|
||||||
|
"collectionCreationDefaults": Object {
|
||||||
|
"storage": "100",
|
||||||
|
"throughput": Object {
|
||||||
|
"fixed": 400,
|
||||||
|
"shared": 400,
|
||||||
|
"unlimited": 400,
|
||||||
|
"unlimitedmax": 1000000,
|
||||||
|
"unlimitedmin": 400,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"collectionTitle": [Function],
|
||||||
|
"collectionTreeNodeAltText": [Function],
|
||||||
|
"commandBarComponentAdapter": CommandBarComponentAdapter {
|
||||||
|
"container": [Circular],
|
||||||
|
"isNotebookTabActive": [Function],
|
||||||
|
"parameters": [Function],
|
||||||
|
"tabsButtons": Array [],
|
||||||
|
},
|
||||||
|
"databaseAccount": [Function],
|
||||||
|
"databases": [Function],
|
||||||
|
"defaultExperience": [Function],
|
||||||
|
"deleteCollectionConfirmationPane": DeleteCollectionConfirmationPane {
|
||||||
|
"collectionIdConfirmation": [Function],
|
||||||
|
"collectionIdConfirmationText": [Function],
|
||||||
|
"container": [Circular],
|
||||||
|
"containerDeleteFeedback": [Function],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"id": "deletecollectionconfirmationpane",
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"recordDeleteFeedback": [Function],
|
||||||
|
"title": [Function],
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
"deleteCollectionText": [Function],
|
||||||
|
"deleteDatabaseText": [Function],
|
||||||
|
"editTableEntityPane": EditTableEntityPane {
|
||||||
|
"addButtonLabel": "Add Property",
|
||||||
|
"attributeNameLabel": "Property Name",
|
||||||
|
"attributeValueLabel": "Value",
|
||||||
|
"canAdd": [Function],
|
||||||
|
"canApply": [Function],
|
||||||
|
"container": [Circular],
|
||||||
|
"dataTypeLabel": "Type",
|
||||||
|
"displayedAttributes": [Function],
|
||||||
|
"editAttribute": [Function],
|
||||||
|
"editButtonLabel": "Edit",
|
||||||
|
"editingProperty": [Function],
|
||||||
|
"edmTypes": [Function],
|
||||||
|
"finishEditingAttribute": [Function],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"id": "edittableentitypane",
|
||||||
|
"insertAttribute": [Function],
|
||||||
|
"isEditing": [Function],
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"onAddPropertyKeyDown": [Function],
|
||||||
|
"onBackButtonKeyDown": [Function],
|
||||||
|
"onDeletePropertyKeyDown": [Function],
|
||||||
|
"onEditPropertyKeyDown": [Function],
|
||||||
|
"onKeyUp": [Function],
|
||||||
|
"removeAttribute": [Function],
|
||||||
|
"removeButtonLabel": "Remove",
|
||||||
|
"scrollId": [Function],
|
||||||
|
"submitButtonText": [Function],
|
||||||
|
"title": [Function],
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
"flight": [Function],
|
||||||
|
"graphStylingPane": GraphStylingPane {
|
||||||
|
"container": [Circular],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"graphConfigUIData": Object {
|
||||||
|
"nodeCaptionChoice": [Function],
|
||||||
|
"nodeColorKeyChoice": [Function],
|
||||||
|
"nodeIconChoice": [Function],
|
||||||
|
"nodeIconSet": [Function],
|
||||||
|
"nodeProperties": [Function],
|
||||||
|
"nodePropertiesWithNone": [Function],
|
||||||
|
"showNeighborType": [Function],
|
||||||
|
},
|
||||||
|
"id": "graphstylingpane",
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"title": [Function],
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
"hasStorageAnalyticsAfecFeature": [Function],
|
||||||
|
"hasWriteAccess": [Function],
|
||||||
|
"isAccountReady": [Function],
|
||||||
|
"isAutoscaleDefaultEnabled": [Function],
|
||||||
|
"isCopyNotebookPaneEnabled": [Function],
|
||||||
|
"isEnableMongoCapabilityPresent": [Function],
|
||||||
|
"isFixedCollectionWithSharedThroughputSupported": [Function],
|
||||||
|
"isGitHubPaneEnabled": [Function],
|
||||||
|
"isHostedDataExplorerEnabled": [Function],
|
||||||
|
"isLeftPaneExpanded": [Function],
|
||||||
|
"isMongoIndexingEnabled": [Function],
|
||||||
|
"isNotebookEnabled": [Function],
|
||||||
|
"isNotebooksEnabledForAccount": [Function],
|
||||||
|
"isPreferredApiCassandra": [Function],
|
||||||
|
"isPreferredApiDocumentDB": [Function],
|
||||||
|
"isPreferredApiGraph": [Function],
|
||||||
|
"isPreferredApiMongoDB": [Function],
|
||||||
|
"isPreferredApiTable": [Function],
|
||||||
|
"isPublishNotebookPaneEnabled": [Function],
|
||||||
|
"isResourceTokenCollectionNodeSelected": [Function],
|
||||||
|
"isRightPanelV2Enabled": [Function],
|
||||||
|
"isSchemaEnabled": [Function],
|
||||||
|
"isServerlessEnabled": [Function],
|
||||||
|
"isSparkEnabled": [Function],
|
||||||
|
"isSparkEnabledForAccount": [Function],
|
||||||
|
"isSynapseLinkUpdating": [Function],
|
||||||
|
"isTabsContentExpanded": [Function],
|
||||||
|
"memoryUsageInfo": [Function],
|
||||||
|
"newVertexPane": NewVertexPane {
|
||||||
|
"buildString": [Function],
|
||||||
|
"container": [Circular],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"id": "newvertexpane",
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"onMoreDetailsKeyPress": [Function],
|
||||||
|
"onSubmitCreateCallback": null,
|
||||||
|
"partitionKeyProperty": [Function],
|
||||||
|
"tempVertexData": [Function],
|
||||||
|
"title": [Function],
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
"notebookBasePath": [Function],
|
||||||
|
"notebookServerInfo": [Function],
|
||||||
|
"onRefreshDatabasesKeyPress": [Function],
|
||||||
|
"onRefreshResourcesClick": [Function],
|
||||||
|
"onSwitchToConnectionString": [Function],
|
||||||
|
"openDialog": undefined,
|
||||||
|
"openSidePanel": undefined,
|
||||||
|
"provideFeedbackEmail": [Function],
|
||||||
|
"queriesClient": QueriesClient {
|
||||||
|
"container": [Circular],
|
||||||
|
},
|
||||||
|
"querySelectPane": QuerySelectPane {
|
||||||
|
"allSelected": [Function],
|
||||||
|
"anyColumnSelected": [Function],
|
||||||
|
"availableColumnsTableQueryLabel": "Available Columns",
|
||||||
|
"canSelectAll": [Function],
|
||||||
|
"columnOptions": [Function],
|
||||||
|
"container": [Circular],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"handleClick": [Function],
|
||||||
|
"id": "queryselectpane",
|
||||||
|
"instructionLabel": "Select the columns that you want to query.",
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"noColumnSelectedWarning": "At least one column should be selected.",
|
||||||
|
"selectedColumnOption": null,
|
||||||
|
"title": [Function],
|
||||||
|
"titleLabel": "Select Columns",
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
"refreshDatabaseAccount": [Function],
|
||||||
|
"refreshNotebookList": [Function],
|
||||||
|
"refreshTreeTitle": [Function],
|
||||||
|
"resourceTokenCollection": [Function],
|
||||||
|
"resourceTokenCollectionId": [Function],
|
||||||
|
"resourceTokenDatabaseId": [Function],
|
||||||
|
"resourceTokenPartitionKey": [Function],
|
||||||
|
"resourceTree": ResourceTreeAdapter {
|
||||||
|
"container": [Circular],
|
||||||
|
"copyNotebook": [Function],
|
||||||
|
"databaseCollectionIdMap": ArrayHashMap {
|
||||||
|
"store": HashMap {
|
||||||
|
"container": Object {},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"koSubsCollectionIdMap": ArrayHashMap {
|
||||||
|
"store": HashMap {
|
||||||
|
"container": Object {},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"koSubsDatabaseIdMap": ArrayHashMap {
|
||||||
|
"store": HashMap {
|
||||||
|
"container": Object {},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"parameters": [Function],
|
||||||
|
},
|
||||||
|
"resourceTreeForResourceToken": ResourceTreeAdapterForResourceToken {
|
||||||
|
"container": [Circular],
|
||||||
|
"parameters": [Function],
|
||||||
|
},
|
||||||
|
"selectedDatabaseId": [Function],
|
||||||
|
"selectedNode": [Function],
|
||||||
|
"setInProgressConsoleDataIdToBeDeleted": undefined,
|
||||||
|
"setIsNotificationConsoleExpanded": undefined,
|
||||||
|
"setNotificationConsoleData": undefined,
|
||||||
|
"setupNotebooksPane": SetupNotebooksPane {
|
||||||
|
"container": [Circular],
|
||||||
|
"description": [Function],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"id": "setupnotebookspane",
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"onCompleteSetupClick": [Function],
|
||||||
|
"onCompleteSetupKeyPress": [Function],
|
||||||
|
"title": [Function],
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
"signInAad": [Function],
|
||||||
|
"sparkClusterConnectionInfo": [Function],
|
||||||
|
"splitter": Splitter {
|
||||||
|
"bounds": Object {
|
||||||
|
"max": 400,
|
||||||
|
"min": 240,
|
||||||
|
},
|
||||||
|
"direction": "vertical",
|
||||||
|
"isCollapsed": [Function],
|
||||||
|
"leftSideId": "resourcetree",
|
||||||
|
"onResizeStart": [Function],
|
||||||
|
"onResizeStop": [Function],
|
||||||
|
"splitterId": "h_splitter1",
|
||||||
|
},
|
||||||
|
"stringInputPane": StringInputPane {
|
||||||
|
"container": [Circular],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"id": "stringinputpane",
|
||||||
|
"inputLabel": [Function],
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"stringInput": [Function],
|
||||||
|
"submitButtonLabel": [Function],
|
||||||
|
"title": [Function],
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
"subscriptionType": [Function],
|
||||||
|
"tableColumnOptionsPane": TableColumnOptionsPane {
|
||||||
|
"allSelected": [Function],
|
||||||
|
"anyColumnSelected": [Function],
|
||||||
|
"availableColumnsLabel": "Available Columns",
|
||||||
|
"canMoveDown": [Function],
|
||||||
|
"canMoveUp": [Function],
|
||||||
|
"canSelectAll": [Function],
|
||||||
|
"columnOptions": [Function],
|
||||||
|
"container": [Circular],
|
||||||
|
"firstFieldHasFocus": [Function],
|
||||||
|
"formErrors": [Function],
|
||||||
|
"formErrorsDetails": [Function],
|
||||||
|
"handleClick": [Function],
|
||||||
|
"id": "tablecolumnoptionspane",
|
||||||
|
"instructionLabel": "Choose the columns and the order in which you want to display them in the table.",
|
||||||
|
"isExecuting": [Function],
|
||||||
|
"isTemplateReady": [Function],
|
||||||
|
"moveDownLabel": "Move Down",
|
||||||
|
"moveUpLabel": "Move Up",
|
||||||
|
"noColumnSelectedWarning": "At least one column should be selected.",
|
||||||
|
"selectedColumnOption": null,
|
||||||
|
"title": [Function],
|
||||||
|
"titleLabel": "Column Options",
|
||||||
|
"visible": [Function],
|
||||||
|
},
|
||||||
|
"tabsManager": TabsManager {
|
||||||
|
"activeTab": [Function],
|
||||||
|
"openedTabs": [Function],
|
||||||
|
},
|
||||||
|
"toggleLeftPaneExpandedKeyPress": [Function],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
formError=""
|
||||||
|
id="copynotebookpane"
|
||||||
|
isExecuting={false}
|
||||||
|
onClose={[Function]}
|
||||||
|
onSubmit={[Function]}
|
||||||
|
submitButtonText="OK"
|
||||||
|
title="New Database"
|
||||||
|
>
|
||||||
|
<form
|
||||||
|
style={
|
||||||
|
Object {
|
||||||
|
"height": "100%",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
aria-labelledby="databaseTitle"
|
||||||
|
className="paneContentContainer"
|
||||||
|
role="dialog"
|
||||||
|
>
|
||||||
|
<PanelInfoErrorComponent
|
||||||
|
link="https://aka.ms/azure-cosmos-db-pricing"
|
||||||
|
linkText="More details"
|
||||||
|
message="Start at $24/mo per database, multiple containers included"
|
||||||
|
messageType="info"
|
||||||
|
openNotificationConsole={[Function]}
|
||||||
|
showErrorDetails={false}
|
||||||
|
/>
|
||||||
|
<div
|
||||||
|
className="paneMainContent"
|
||||||
|
>
|
||||||
|
<div>
|
||||||
|
<p>
|
||||||
|
<span
|
||||||
|
className="mandatoryStar"
|
||||||
|
>
|
||||||
|
*
|
||||||
|
</span>
|
||||||
|
<Text
|
||||||
|
variant="small"
|
||||||
|
>
|
||||||
|
Database id
|
||||||
|
</Text>
|
||||||
|
<Tooltip>
|
||||||
|
A database is a logical container of one or more collections
|
||||||
|
</Tooltip>
|
||||||
|
</p>
|
||||||
|
<StyledTextFieldBase
|
||||||
|
aria-label="Database id"
|
||||||
|
aria-required="true"
|
||||||
|
autoComplete="off"
|
||||||
|
autoFocus={true}
|
||||||
|
id="database-id"
|
||||||
|
onChange={[Function]}
|
||||||
|
pattern="[^/?#\\\\\\\\]*[^/?# \\\\\\\\]"
|
||||||
|
placeholder="Type a new database id"
|
||||||
|
size={40}
|
||||||
|
title="May not end with space nor contain characters '\\\\' '/' '#' '?'"
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<div
|
||||||
|
aria-label="New database provision support"
|
||||||
|
className="databaseProvision"
|
||||||
|
style={
|
||||||
|
Object {
|
||||||
|
"display": "block ruby",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
>
|
||||||
|
<StyledCheckboxBase
|
||||||
|
checked={true}
|
||||||
|
label="Provision throughput"
|
||||||
|
onChange={[Function]}
|
||||||
|
styles={
|
||||||
|
Object {
|
||||||
|
"checkbox": Object {
|
||||||
|
"height": 12,
|
||||||
|
"width": 12,
|
||||||
|
},
|
||||||
|
"label": Object {
|
||||||
|
"alignItems": "center",
|
||||||
|
"padding": 0,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
tabIndex={0}
|
||||||
|
title="Provision shared throughput"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<Tooltip>
|
||||||
|
Provisioned throughput at the database level will be shared across all collections within the database.
|
||||||
|
</Tooltip>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<ThroughputInput
|
||||||
|
isDatabase={true}
|
||||||
|
onCostAcknowledgeChange={[Function]}
|
||||||
|
setIsAutoscale={[Function]}
|
||||||
|
setThroughputValue={[Function]}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</GenericRightPaneComponent>
|
||||||
|
`;
|
||||||
15
src/Explorer/Panes/AddDatabasePane/index.test.tsx
Normal file
15
src/Explorer/Panes/AddDatabasePane/index.test.tsx
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
import { shallow } from "enzyme";
|
||||||
|
import React from "react";
|
||||||
|
import { AddDatabasePane } from ".";
|
||||||
|
import Explorer from "../../Explorer";
|
||||||
|
const props = {
|
||||||
|
explorer: new Explorer(),
|
||||||
|
closePanel: (): void => undefined,
|
||||||
|
openNotificationConsole: (): void => undefined,
|
||||||
|
};
|
||||||
|
describe("AddDatabasePane Pane", () => {
|
||||||
|
it("should render Default properly", () => {
|
||||||
|
const wrapper = shallow(<AddDatabasePane {...props} />);
|
||||||
|
expect(wrapper).toMatchSnapshot();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -13,7 +13,7 @@ import * as TelemetryProcessor from "../../../Shared/Telemetry/TelemetryProcesso
|
|||||||
import { userContext } from "../../../UserContext";
|
import { userContext } from "../../../UserContext";
|
||||||
import * as AutoPilotUtils from "../../../Utils/AutoPilotUtils";
|
import * as AutoPilotUtils from "../../../Utils/AutoPilotUtils";
|
||||||
import * as PricingUtils from "../../../Utils/PricingUtils";
|
import * as PricingUtils from "../../../Utils/PricingUtils";
|
||||||
import { ThroughputInput } from "../../Controls/ThroughputInput/ThroughputInput";
|
import { ThroughputInput } from "../../Controls/ThroughputInput";
|
||||||
import Explorer from "../../Explorer";
|
import Explorer from "../../Explorer";
|
||||||
import { GenericRightPaneComponent, GenericRightPaneProps } from "../GenericRightPaneComponent";
|
import { GenericRightPaneComponent, GenericRightPaneProps } from "../GenericRightPaneComponent";
|
||||||
import { PanelInfoErrorComponent } from "../PanelInfoErrorComponent";
|
import { PanelInfoErrorComponent } from "../PanelInfoErrorComponent";
|
||||||
@@ -56,13 +56,13 @@ export const AddDatabasePane: FunctionComponent<AddDatabasePaneProps> = ({
|
|||||||
const [formErrorsDetails, setFormErrorsDetails] = useState<string>();
|
const [formErrorsDetails, setFormErrorsDetails] = useState<string>();
|
||||||
const [formErrors, setFormErrors] = useState<string>("");
|
const [formErrors, setFormErrors] = useState<string>("");
|
||||||
|
|
||||||
const throughputDefaults = container.collectionCreationDefaults.throughput;
|
|
||||||
const [throughput, setThroughput] = useState<number>(AutoPilotUtils.minAutoPilotThroughput);
|
|
||||||
|
|
||||||
const maxThroughputRU = throughputDefaults.unlimitedmax;
|
|
||||||
const maxThroughputRUText: string = maxThroughputRU?.toLocaleString();
|
|
||||||
const [isAutoPilotSelected, setIsAutoPilotSelected] = useState<boolean>(container.isAutoscaleDefaultEnabled());
|
const [isAutoPilotSelected, setIsAutoPilotSelected] = useState<boolean>(container.isAutoscaleDefaultEnabled());
|
||||||
|
|
||||||
|
const throughputDefaults = container.collectionCreationDefaults.throughput;
|
||||||
|
const [throughput, setThroughput] = useState<number>(
|
||||||
|
isAutoPilotSelected ? AutoPilotUtils.minAutoPilotThroughput : throughputDefaults.shared
|
||||||
|
);
|
||||||
|
|
||||||
const [throughputSpendAck, setThroughputSpendAck] = useState<boolean>(false);
|
const [throughputSpendAck, setThroughputSpendAck] = useState<boolean>(false);
|
||||||
|
|
||||||
const canRequestSupport = () => {
|
const canRequestSupport = () => {
|
||||||
@@ -334,7 +334,7 @@ export const AddDatabasePane: FunctionComponent<AddDatabasePaneProps> = ({
|
|||||||
<a href="https://aka.ms/cosmosdbfeedback?subject=Cosmos%20DB%20More%20Throughput%20Request">
|
<a href="https://aka.ms/cosmosdbfeedback?subject=Cosmos%20DB%20More%20Throughput%20Request">
|
||||||
Contact support{" "}
|
Contact support{" "}
|
||||||
</a>
|
</a>
|
||||||
for more than <span>{maxThroughputRUText} </span> RU/s.
|
for more than <span>{throughputDefaults.unlimitedmax?.toLocaleString()} </span> RU/s.
|
||||||
</p>
|
</p>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1061,7 +1061,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
aria-label="Close pane"
|
aria-label="Close pane"
|
||||||
className="ms-Button ms-Button--icon closePaneBtn root-40"
|
className="ms-Button ms-Button--icon closePaneBtn root-72"
|
||||||
data-is-focusable={true}
|
data-is-focusable={true}
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
onKeyDown={[Function]}
|
onKeyDown={[Function]}
|
||||||
@@ -1074,16 +1074,16 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="ms-Button-flexContainer flexContainer-41"
|
className="ms-Button-flexContainer flexContainer-73"
|
||||||
data-automationid="splitbuttonprimary"
|
data-automationid="splitbuttonprimary"
|
||||||
>
|
>
|
||||||
<Component
|
<Component
|
||||||
className="ms-Button-icon icon-43"
|
className="ms-Button-icon icon-75"
|
||||||
iconName="Cancel"
|
iconName="Cancel"
|
||||||
>
|
>
|
||||||
<i
|
<i
|
||||||
aria-hidden={true}
|
aria-hidden={true}
|
||||||
className="ms-Icon root-37 css-48 ms-Button-icon icon-43"
|
className="ms-Icon root-37 css-80 ms-Button-icon icon-75"
|
||||||
data-icon-name="Cancel"
|
data-icon-name="Cancel"
|
||||||
role="presentation"
|
role="presentation"
|
||||||
style={
|
style={
|
||||||
@@ -1429,7 +1429,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
className="ms-Label root-49"
|
className="ms-Label root-81"
|
||||||
>
|
>
|
||||||
Partition key value
|
Partition key value
|
||||||
</label>
|
</label>
|
||||||
@@ -1439,7 +1439,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
horizontal={true}
|
horizontal={true}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-Stack css-50"
|
className="ms-Stack css-82"
|
||||||
>
|
>
|
||||||
<StyledWithResponsiveMode
|
<StyledWithResponsiveMode
|
||||||
key=".0:$.0"
|
key=".0:$.0"
|
||||||
@@ -2336,7 +2336,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
className="ms-Label ms-Dropdown-label root-67"
|
className="ms-Label ms-Dropdown-label root-99"
|
||||||
id="Dropdown3-label"
|
id="Dropdown3-label"
|
||||||
>
|
>
|
||||||
Key
|
Key
|
||||||
@@ -2348,7 +2348,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
aria-expanded="false"
|
aria-expanded="false"
|
||||||
aria-haspopup="listbox"
|
aria-haspopup="listbox"
|
||||||
aria-labelledby="Dropdown3-label Dropdown3-option"
|
aria-labelledby="Dropdown3-label Dropdown3-option"
|
||||||
className="ms-Dropdown dropdown-51"
|
className="ms-Dropdown dropdown-83"
|
||||||
data-is-focusable={true}
|
data-is-focusable={true}
|
||||||
id="Dropdown3"
|
id="Dropdown3"
|
||||||
onBlur={[Function]}
|
onBlur={[Function]}
|
||||||
@@ -2368,23 +2368,23 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
aria-posinset={1}
|
aria-posinset={1}
|
||||||
aria-selected={true}
|
aria-selected={true}
|
||||||
aria-setsize={2}
|
aria-setsize={2}
|
||||||
className="ms-Dropdown-title title-52"
|
className="ms-Dropdown-title title-84"
|
||||||
id="Dropdown3-option"
|
id="Dropdown3-option"
|
||||||
role="option"
|
role="option"
|
||||||
>
|
>
|
||||||
String
|
String
|
||||||
</span>
|
</span>
|
||||||
<span
|
<span
|
||||||
className="ms-Dropdown-caretDownWrapper caretDownWrapper-53"
|
className="ms-Dropdown-caretDownWrapper caretDownWrapper-85"
|
||||||
>
|
>
|
||||||
<StyledIconBase
|
<StyledIconBase
|
||||||
aria-hidden={true}
|
aria-hidden={true}
|
||||||
className="ms-Dropdown-caretDown caretDown-54"
|
className="ms-Dropdown-caretDown caretDown-86"
|
||||||
iconName="ChevronDown"
|
iconName="ChevronDown"
|
||||||
>
|
>
|
||||||
<IconBase
|
<IconBase
|
||||||
aria-hidden={true}
|
aria-hidden={true}
|
||||||
className="ms-Dropdown-caretDown caretDown-54"
|
className="ms-Dropdown-caretDown caretDown-86"
|
||||||
iconName="ChevronDown"
|
iconName="ChevronDown"
|
||||||
styles={[Function]}
|
styles={[Function]}
|
||||||
theme={
|
theme={
|
||||||
@@ -2663,7 +2663,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
>
|
>
|
||||||
<i
|
<i
|
||||||
aria-hidden={true}
|
aria-hidden={true}
|
||||||
className="ms-Dropdown-caretDown caretDown-68"
|
className="ms-Dropdown-caretDown caretDown-100"
|
||||||
data-icon-name="ChevronDown"
|
data-icon-name="ChevronDown"
|
||||||
>
|
>
|
||||||
|
|
||||||
@@ -2971,7 +2971,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
value=""
|
value=""
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField root-70"
|
className="ms-TextField root-102"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField-wrapper"
|
className="ms-TextField-wrapper"
|
||||||
@@ -3260,7 +3260,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
className="ms-Label root-49"
|
className="ms-Label root-81"
|
||||||
htmlFor="confirmCollectionId"
|
htmlFor="confirmCollectionId"
|
||||||
id="TextFieldLabel6"
|
id="TextFieldLabel6"
|
||||||
>
|
>
|
||||||
@@ -3269,13 +3269,13 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
</LabelBase>
|
</LabelBase>
|
||||||
</StyledLabelBase>
|
</StyledLabelBase>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField-fieldGroup fieldGroup-71"
|
className="ms-TextField-fieldGroup fieldGroup-103"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
aria-invalid={false}
|
aria-invalid={false}
|
||||||
aria-labelledby="TextFieldLabel6"
|
aria-labelledby="TextFieldLabel6"
|
||||||
autoFocus={true}
|
autoFocus={true}
|
||||||
className="ms-TextField-field field-72"
|
className="ms-TextField-field field-104"
|
||||||
id="confirmCollectionId"
|
id="confirmCollectionId"
|
||||||
onBlur={[Function]}
|
onBlur={[Function]}
|
||||||
onChange={[Function]}
|
onChange={[Function]}
|
||||||
@@ -3583,7 +3583,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
className="ms-Label root-49"
|
className="ms-Label root-81"
|
||||||
>
|
>
|
||||||
Enter input parameters (if any)
|
Enter input parameters (if any)
|
||||||
</label>
|
</label>
|
||||||
@@ -3593,7 +3593,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
horizontal={true}
|
horizontal={true}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-Stack css-50"
|
className="ms-Stack css-82"
|
||||||
>
|
>
|
||||||
<StyledWithResponsiveMode
|
<StyledWithResponsiveMode
|
||||||
key=".0:$.0"
|
key=".0:$.0"
|
||||||
@@ -4490,7 +4490,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
className="ms-Label ms-Dropdown-label root-67"
|
className="ms-Label ms-Dropdown-label root-99"
|
||||||
id="Dropdown7-label"
|
id="Dropdown7-label"
|
||||||
>
|
>
|
||||||
Key
|
Key
|
||||||
@@ -4502,7 +4502,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
aria-expanded="false"
|
aria-expanded="false"
|
||||||
aria-haspopup="listbox"
|
aria-haspopup="listbox"
|
||||||
aria-labelledby="Dropdown7-label Dropdown7-option"
|
aria-labelledby="Dropdown7-label Dropdown7-option"
|
||||||
className="ms-Dropdown dropdown-51"
|
className="ms-Dropdown dropdown-83"
|
||||||
data-is-focusable={true}
|
data-is-focusable={true}
|
||||||
id="Dropdown7"
|
id="Dropdown7"
|
||||||
onBlur={[Function]}
|
onBlur={[Function]}
|
||||||
@@ -4522,23 +4522,23 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
aria-posinset={1}
|
aria-posinset={1}
|
||||||
aria-selected={true}
|
aria-selected={true}
|
||||||
aria-setsize={2}
|
aria-setsize={2}
|
||||||
className="ms-Dropdown-title title-52"
|
className="ms-Dropdown-title title-84"
|
||||||
id="Dropdown7-option"
|
id="Dropdown7-option"
|
||||||
role="option"
|
role="option"
|
||||||
>
|
>
|
||||||
String
|
String
|
||||||
</span>
|
</span>
|
||||||
<span
|
<span
|
||||||
className="ms-Dropdown-caretDownWrapper caretDownWrapper-53"
|
className="ms-Dropdown-caretDownWrapper caretDownWrapper-85"
|
||||||
>
|
>
|
||||||
<StyledIconBase
|
<StyledIconBase
|
||||||
aria-hidden={true}
|
aria-hidden={true}
|
||||||
className="ms-Dropdown-caretDown caretDown-54"
|
className="ms-Dropdown-caretDown caretDown-86"
|
||||||
iconName="ChevronDown"
|
iconName="ChevronDown"
|
||||||
>
|
>
|
||||||
<IconBase
|
<IconBase
|
||||||
aria-hidden={true}
|
aria-hidden={true}
|
||||||
className="ms-Dropdown-caretDown caretDown-54"
|
className="ms-Dropdown-caretDown caretDown-86"
|
||||||
iconName="ChevronDown"
|
iconName="ChevronDown"
|
||||||
styles={[Function]}
|
styles={[Function]}
|
||||||
theme={
|
theme={
|
||||||
@@ -4817,7 +4817,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
>
|
>
|
||||||
<i
|
<i
|
||||||
aria-hidden={true}
|
aria-hidden={true}
|
||||||
className="ms-Dropdown-caretDown caretDown-68"
|
className="ms-Dropdown-caretDown caretDown-100"
|
||||||
data-icon-name="ChevronDown"
|
data-icon-name="ChevronDown"
|
||||||
>
|
>
|
||||||
|
|
||||||
@@ -5125,7 +5125,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
value=""
|
value=""
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField root-70"
|
className="ms-TextField root-102"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField-wrapper"
|
className="ms-TextField-wrapper"
|
||||||
@@ -5414,7 +5414,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
className="ms-Label root-49"
|
className="ms-Label root-81"
|
||||||
htmlFor="confirmCollectionId"
|
htmlFor="confirmCollectionId"
|
||||||
id="TextFieldLabel10"
|
id="TextFieldLabel10"
|
||||||
>
|
>
|
||||||
@@ -5423,13 +5423,13 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
</LabelBase>
|
</LabelBase>
|
||||||
</StyledLabelBase>
|
</StyledLabelBase>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField-fieldGroup fieldGroup-71"
|
className="ms-TextField-fieldGroup fieldGroup-103"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
aria-invalid={false}
|
aria-invalid={false}
|
||||||
aria-labelledby="TextFieldLabel10"
|
aria-labelledby="TextFieldLabel10"
|
||||||
autoFocus={true}
|
autoFocus={true}
|
||||||
className="ms-TextField-field field-72"
|
className="ms-TextField-field field-104"
|
||||||
id="confirmCollectionId"
|
id="confirmCollectionId"
|
||||||
onBlur={[Function]}
|
onBlur={[Function]}
|
||||||
onChange={[Function]}
|
onChange={[Function]}
|
||||||
@@ -5737,7 +5737,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
width={20}
|
width={20}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-Image addRemoveIconLabel root-81"
|
className="ms-Image addRemoveIconLabel root-113"
|
||||||
style={
|
style={
|
||||||
Object {
|
Object {
|
||||||
"height": 30,
|
"height": 30,
|
||||||
@@ -5747,7 +5747,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="Delete param"
|
alt="Delete param"
|
||||||
className="ms-Image-image ms-Image-image--portrait is-notLoaded is-fadeIn image-82"
|
className="ms-Image-image ms-Image-image--portrait is-notLoaded is-fadeIn image-114"
|
||||||
id="deleteparam"
|
id="deleteparam"
|
||||||
key="fabricImage"
|
key="fabricImage"
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
@@ -6052,7 +6052,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
width={20}
|
width={20}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-Image addRemoveIconLabel root-81"
|
className="ms-Image addRemoveIconLabel root-113"
|
||||||
style={
|
style={
|
||||||
Object {
|
Object {
|
||||||
"height": 30,
|
"height": 30,
|
||||||
@@ -6062,7 +6062,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="Add param"
|
alt="Add param"
|
||||||
className="ms-Image-image ms-Image-image--portrait is-notLoaded is-fadeIn image-82"
|
className="ms-Image-image ms-Image-image--portrait is-notLoaded is-fadeIn image-114"
|
||||||
id="addparam"
|
id="addparam"
|
||||||
key="fabricImage"
|
key="fabricImage"
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
@@ -6081,7 +6081,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-Stack css-50"
|
className="ms-Stack css-82"
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
>
|
>
|
||||||
<StyledImageBase
|
<StyledImageBase
|
||||||
@@ -6373,7 +6373,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
width={20}
|
width={20}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-Image root-81"
|
className="ms-Image root-113"
|
||||||
style={
|
style={
|
||||||
Object {
|
Object {
|
||||||
"height": 30,
|
"height": 30,
|
||||||
@@ -6383,7 +6383,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="Add param"
|
alt="Add param"
|
||||||
className="ms-Image-image ms-Image-image--portrait is-notLoaded is-fadeIn image-82"
|
className="ms-Image-image ms-Image-image--portrait is-notLoaded is-fadeIn image-114"
|
||||||
key="fabricImage"
|
key="fabricImage"
|
||||||
onError={[Function]}
|
onError={[Function]}
|
||||||
onLoad={[Function]}
|
onLoad={[Function]}
|
||||||
@@ -6397,7 +6397,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
key=".0:$.1"
|
key=".0:$.1"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="addNewParamStyle css-83"
|
className="addNewParamStyle css-115"
|
||||||
>
|
>
|
||||||
Add New Param
|
Add New Param
|
||||||
</span>
|
</span>
|
||||||
@@ -8123,7 +8123,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
aria-label="Submit"
|
aria-label="Submit"
|
||||||
className="ms-Button ms-Button--primary genericPaneSubmitBtn root-84"
|
className="ms-Button ms-Button--primary genericPaneSubmitBtn root-116"
|
||||||
data-is-focusable={true}
|
data-is-focusable={true}
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
onKeyDown={[Function]}
|
onKeyDown={[Function]}
|
||||||
@@ -8141,14 +8141,14 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
|
|||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="ms-Button-flexContainer flexContainer-41"
|
className="ms-Button-flexContainer flexContainer-73"
|
||||||
data-automationid="splitbuttonprimary"
|
data-automationid="splitbuttonprimary"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="ms-Button-textContainer textContainer-42"
|
className="ms-Button-textContainer textContainer-74"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="ms-Button-label label-85"
|
className="ms-Button-label label-117"
|
||||||
id="id__11"
|
id="id__11"
|
||||||
key="id__11"
|
key="id__11"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -9,48 +9,6 @@ exports[`Settings Pane should render Default properly 1`] = `
|
|||||||
"_isAfecFeatureRegistered": [Function],
|
"_isAfecFeatureRegistered": [Function],
|
||||||
"_isInitializingNotebooks": false,
|
"_isInitializingNotebooks": false,
|
||||||
"_panes": Array [
|
"_panes": Array [
|
||||||
AddDatabasePane {
|
|
||||||
"autoPilotUsageCost": [Function],
|
|
||||||
"canConfigureThroughput": [Function],
|
|
||||||
"canExceedMaximumValue": [Function],
|
|
||||||
"canRequestSupport": [Function],
|
|
||||||
"container": [Circular],
|
|
||||||
"costsVisible": [Function],
|
|
||||||
"databaseCreateNewShared": [Function],
|
|
||||||
"databaseId": [Function],
|
|
||||||
"databaseIdLabel": [Function],
|
|
||||||
"databaseIdPlaceHolder": [Function],
|
|
||||||
"databaseIdTooltipText": [Function],
|
|
||||||
"databaseLevelThroughputTooltipText": [Function],
|
|
||||||
"firstFieldHasFocus": [Function],
|
|
||||||
"formErrors": [Function],
|
|
||||||
"formErrorsDetails": [Function],
|
|
||||||
"freeTierExceedThroughputTooltip": [Function],
|
|
||||||
"id": "adddatabasepane",
|
|
||||||
"isAutoPilotSelected": [Function],
|
|
||||||
"isExecuting": [Function],
|
|
||||||
"isFreeTierAccount": [Function],
|
|
||||||
"isTemplateReady": [Function],
|
|
||||||
"maxAutoPilotThroughputSet": [Function],
|
|
||||||
"maxThroughputRU": [Function],
|
|
||||||
"maxThroughputRUText": [Function],
|
|
||||||
"minThroughputRU": [Function],
|
|
||||||
"onMoreDetailsKeyPress": [Function],
|
|
||||||
"requestUnitsUsageCost": [Function],
|
|
||||||
"ruToolTipText": [Function],
|
|
||||||
"showUpsellMessage": [Function],
|
|
||||||
"throughput": [Function],
|
|
||||||
"throughputRangeText": [Function],
|
|
||||||
"throughputSpendAck": [Function],
|
|
||||||
"throughputSpendAckText": [Function],
|
|
||||||
"throughputSpendAckVisible": [Function],
|
|
||||||
"title": [Function],
|
|
||||||
"upsellAnchorText": [Function],
|
|
||||||
"upsellAnchorUrl": [Function],
|
|
||||||
"upsellMessage": [Function],
|
|
||||||
"upsellMessageAriaLabel": [Function],
|
|
||||||
"visible": [Function],
|
|
||||||
},
|
|
||||||
AddCollectionPane {
|
AddCollectionPane {
|
||||||
"_isSynapseLinkEnabled": [Function],
|
"_isSynapseLinkEnabled": [Function],
|
||||||
"autoPilotThroughput": [Function],
|
"autoPilotThroughput": [Function],
|
||||||
@@ -461,48 +419,6 @@ exports[`Settings Pane should render Default properly 1`] = `
|
|||||||
"visible": [Function],
|
"visible": [Function],
|
||||||
},
|
},
|
||||||
"addCollectionText": [Function],
|
"addCollectionText": [Function],
|
||||||
"addDatabasePane": AddDatabasePane {
|
|
||||||
"autoPilotUsageCost": [Function],
|
|
||||||
"canConfigureThroughput": [Function],
|
|
||||||
"canExceedMaximumValue": [Function],
|
|
||||||
"canRequestSupport": [Function],
|
|
||||||
"container": [Circular],
|
|
||||||
"costsVisible": [Function],
|
|
||||||
"databaseCreateNewShared": [Function],
|
|
||||||
"databaseId": [Function],
|
|
||||||
"databaseIdLabel": [Function],
|
|
||||||
"databaseIdPlaceHolder": [Function],
|
|
||||||
"databaseIdTooltipText": [Function],
|
|
||||||
"databaseLevelThroughputTooltipText": [Function],
|
|
||||||
"firstFieldHasFocus": [Function],
|
|
||||||
"formErrors": [Function],
|
|
||||||
"formErrorsDetails": [Function],
|
|
||||||
"freeTierExceedThroughputTooltip": [Function],
|
|
||||||
"id": "adddatabasepane",
|
|
||||||
"isAutoPilotSelected": [Function],
|
|
||||||
"isExecuting": [Function],
|
|
||||||
"isFreeTierAccount": [Function],
|
|
||||||
"isTemplateReady": [Function],
|
|
||||||
"maxAutoPilotThroughputSet": [Function],
|
|
||||||
"maxThroughputRU": [Function],
|
|
||||||
"maxThroughputRUText": [Function],
|
|
||||||
"minThroughputRU": [Function],
|
|
||||||
"onMoreDetailsKeyPress": [Function],
|
|
||||||
"requestUnitsUsageCost": [Function],
|
|
||||||
"ruToolTipText": [Function],
|
|
||||||
"showUpsellMessage": [Function],
|
|
||||||
"throughput": [Function],
|
|
||||||
"throughputRangeText": [Function],
|
|
||||||
"throughputSpendAck": [Function],
|
|
||||||
"throughputSpendAckText": [Function],
|
|
||||||
"throughputSpendAckVisible": [Function],
|
|
||||||
"title": [Function],
|
|
||||||
"upsellAnchorText": [Function],
|
|
||||||
"upsellAnchorUrl": [Function],
|
|
||||||
"upsellMessage": [Function],
|
|
||||||
"upsellMessageAriaLabel": [Function],
|
|
||||||
"visible": [Function],
|
|
||||||
},
|
|
||||||
"addDatabaseText": [Function],
|
"addDatabaseText": [Function],
|
||||||
"addTableEntityPane": AddTableEntityPane {
|
"addTableEntityPane": AddTableEntityPane {
|
||||||
"addButtonLabel": "Add Property",
|
"addButtonLabel": "Add Property",
|
||||||
@@ -987,48 +903,6 @@ exports[`Settings Pane should render Gremlin properly 1`] = `
|
|||||||
"_isAfecFeatureRegistered": [Function],
|
"_isAfecFeatureRegistered": [Function],
|
||||||
"_isInitializingNotebooks": false,
|
"_isInitializingNotebooks": false,
|
||||||
"_panes": Array [
|
"_panes": Array [
|
||||||
AddDatabasePane {
|
|
||||||
"autoPilotUsageCost": [Function],
|
|
||||||
"canConfigureThroughput": [Function],
|
|
||||||
"canExceedMaximumValue": [Function],
|
|
||||||
"canRequestSupport": [Function],
|
|
||||||
"container": [Circular],
|
|
||||||
"costsVisible": [Function],
|
|
||||||
"databaseCreateNewShared": [Function],
|
|
||||||
"databaseId": [Function],
|
|
||||||
"databaseIdLabel": [Function],
|
|
||||||
"databaseIdPlaceHolder": [Function],
|
|
||||||
"databaseIdTooltipText": [Function],
|
|
||||||
"databaseLevelThroughputTooltipText": [Function],
|
|
||||||
"firstFieldHasFocus": [Function],
|
|
||||||
"formErrors": [Function],
|
|
||||||
"formErrorsDetails": [Function],
|
|
||||||
"freeTierExceedThroughputTooltip": [Function],
|
|
||||||
"id": "adddatabasepane",
|
|
||||||
"isAutoPilotSelected": [Function],
|
|
||||||
"isExecuting": [Function],
|
|
||||||
"isFreeTierAccount": [Function],
|
|
||||||
"isTemplateReady": [Function],
|
|
||||||
"maxAutoPilotThroughputSet": [Function],
|
|
||||||
"maxThroughputRU": [Function],
|
|
||||||
"maxThroughputRUText": [Function],
|
|
||||||
"minThroughputRU": [Function],
|
|
||||||
"onMoreDetailsKeyPress": [Function],
|
|
||||||
"requestUnitsUsageCost": [Function],
|
|
||||||
"ruToolTipText": [Function],
|
|
||||||
"showUpsellMessage": [Function],
|
|
||||||
"throughput": [Function],
|
|
||||||
"throughputRangeText": [Function],
|
|
||||||
"throughputSpendAck": [Function],
|
|
||||||
"throughputSpendAckText": [Function],
|
|
||||||
"throughputSpendAckVisible": [Function],
|
|
||||||
"title": [Function],
|
|
||||||
"upsellAnchorText": [Function],
|
|
||||||
"upsellAnchorUrl": [Function],
|
|
||||||
"upsellMessage": [Function],
|
|
||||||
"upsellMessageAriaLabel": [Function],
|
|
||||||
"visible": [Function],
|
|
||||||
},
|
|
||||||
AddCollectionPane {
|
AddCollectionPane {
|
||||||
"_isSynapseLinkEnabled": [Function],
|
"_isSynapseLinkEnabled": [Function],
|
||||||
"autoPilotThroughput": [Function],
|
"autoPilotThroughput": [Function],
|
||||||
@@ -1439,48 +1313,6 @@ exports[`Settings Pane should render Gremlin properly 1`] = `
|
|||||||
"visible": [Function],
|
"visible": [Function],
|
||||||
},
|
},
|
||||||
"addCollectionText": [Function],
|
"addCollectionText": [Function],
|
||||||
"addDatabasePane": AddDatabasePane {
|
|
||||||
"autoPilotUsageCost": [Function],
|
|
||||||
"canConfigureThroughput": [Function],
|
|
||||||
"canExceedMaximumValue": [Function],
|
|
||||||
"canRequestSupport": [Function],
|
|
||||||
"container": [Circular],
|
|
||||||
"costsVisible": [Function],
|
|
||||||
"databaseCreateNewShared": [Function],
|
|
||||||
"databaseId": [Function],
|
|
||||||
"databaseIdLabel": [Function],
|
|
||||||
"databaseIdPlaceHolder": [Function],
|
|
||||||
"databaseIdTooltipText": [Function],
|
|
||||||
"databaseLevelThroughputTooltipText": [Function],
|
|
||||||
"firstFieldHasFocus": [Function],
|
|
||||||
"formErrors": [Function],
|
|
||||||
"formErrorsDetails": [Function],
|
|
||||||
"freeTierExceedThroughputTooltip": [Function],
|
|
||||||
"id": "adddatabasepane",
|
|
||||||
"isAutoPilotSelected": [Function],
|
|
||||||
"isExecuting": [Function],
|
|
||||||
"isFreeTierAccount": [Function],
|
|
||||||
"isTemplateReady": [Function],
|
|
||||||
"maxAutoPilotThroughputSet": [Function],
|
|
||||||
"maxThroughputRU": [Function],
|
|
||||||
"maxThroughputRUText": [Function],
|
|
||||||
"minThroughputRU": [Function],
|
|
||||||
"onMoreDetailsKeyPress": [Function],
|
|
||||||
"requestUnitsUsageCost": [Function],
|
|
||||||
"ruToolTipText": [Function],
|
|
||||||
"showUpsellMessage": [Function],
|
|
||||||
"throughput": [Function],
|
|
||||||
"throughputRangeText": [Function],
|
|
||||||
"throughputSpendAck": [Function],
|
|
||||||
"throughputSpendAckText": [Function],
|
|
||||||
"throughputSpendAckVisible": [Function],
|
|
||||||
"title": [Function],
|
|
||||||
"upsellAnchorText": [Function],
|
|
||||||
"upsellAnchorUrl": [Function],
|
|
||||||
"upsellMessage": [Function],
|
|
||||||
"upsellMessageAriaLabel": [Function],
|
|
||||||
"visible": [Function],
|
|
||||||
},
|
|
||||||
"addDatabaseText": [Function],
|
"addDatabaseText": [Function],
|
||||||
"addTableEntityPane": AddTableEntityPane {
|
"addTableEntityPane": AddTableEntityPane {
|
||||||
"addButtonLabel": "Add Property",
|
"addButtonLabel": "Add Property",
|
||||||
|
|||||||
@@ -9,48 +9,6 @@ exports[`Upload Items Pane should render Default properly 1`] = `
|
|||||||
"_isAfecFeatureRegistered": [Function],
|
"_isAfecFeatureRegistered": [Function],
|
||||||
"_isInitializingNotebooks": false,
|
"_isInitializingNotebooks": false,
|
||||||
"_panes": Array [
|
"_panes": Array [
|
||||||
AddDatabasePane {
|
|
||||||
"autoPilotUsageCost": [Function],
|
|
||||||
"canConfigureThroughput": [Function],
|
|
||||||
"canExceedMaximumValue": [Function],
|
|
||||||
"canRequestSupport": [Function],
|
|
||||||
"container": [Circular],
|
|
||||||
"costsVisible": [Function],
|
|
||||||
"databaseCreateNewShared": [Function],
|
|
||||||
"databaseId": [Function],
|
|
||||||
"databaseIdLabel": [Function],
|
|
||||||
"databaseIdPlaceHolder": [Function],
|
|
||||||
"databaseIdTooltipText": [Function],
|
|
||||||
"databaseLevelThroughputTooltipText": [Function],
|
|
||||||
"firstFieldHasFocus": [Function],
|
|
||||||
"formErrors": [Function],
|
|
||||||
"formErrorsDetails": [Function],
|
|
||||||
"freeTierExceedThroughputTooltip": [Function],
|
|
||||||
"id": "adddatabasepane",
|
|
||||||
"isAutoPilotSelected": [Function],
|
|
||||||
"isExecuting": [Function],
|
|
||||||
"isFreeTierAccount": [Function],
|
|
||||||
"isTemplateReady": [Function],
|
|
||||||
"maxAutoPilotThroughputSet": [Function],
|
|
||||||
"maxThroughputRU": [Function],
|
|
||||||
"maxThroughputRUText": [Function],
|
|
||||||
"minThroughputRU": [Function],
|
|
||||||
"onMoreDetailsKeyPress": [Function],
|
|
||||||
"requestUnitsUsageCost": [Function],
|
|
||||||
"ruToolTipText": [Function],
|
|
||||||
"showUpsellMessage": [Function],
|
|
||||||
"throughput": [Function],
|
|
||||||
"throughputRangeText": [Function],
|
|
||||||
"throughputSpendAck": [Function],
|
|
||||||
"throughputSpendAckText": [Function],
|
|
||||||
"throughputSpendAckVisible": [Function],
|
|
||||||
"title": [Function],
|
|
||||||
"upsellAnchorText": [Function],
|
|
||||||
"upsellAnchorUrl": [Function],
|
|
||||||
"upsellMessage": [Function],
|
|
||||||
"upsellMessageAriaLabel": [Function],
|
|
||||||
"visible": [Function],
|
|
||||||
},
|
|
||||||
AddCollectionPane {
|
AddCollectionPane {
|
||||||
"_isSynapseLinkEnabled": [Function],
|
"_isSynapseLinkEnabled": [Function],
|
||||||
"autoPilotThroughput": [Function],
|
"autoPilotThroughput": [Function],
|
||||||
@@ -461,48 +419,6 @@ exports[`Upload Items Pane should render Default properly 1`] = `
|
|||||||
"visible": [Function],
|
"visible": [Function],
|
||||||
},
|
},
|
||||||
"addCollectionText": [Function],
|
"addCollectionText": [Function],
|
||||||
"addDatabasePane": AddDatabasePane {
|
|
||||||
"autoPilotUsageCost": [Function],
|
|
||||||
"canConfigureThroughput": [Function],
|
|
||||||
"canExceedMaximumValue": [Function],
|
|
||||||
"canRequestSupport": [Function],
|
|
||||||
"container": [Circular],
|
|
||||||
"costsVisible": [Function],
|
|
||||||
"databaseCreateNewShared": [Function],
|
|
||||||
"databaseId": [Function],
|
|
||||||
"databaseIdLabel": [Function],
|
|
||||||
"databaseIdPlaceHolder": [Function],
|
|
||||||
"databaseIdTooltipText": [Function],
|
|
||||||
"databaseLevelThroughputTooltipText": [Function],
|
|
||||||
"firstFieldHasFocus": [Function],
|
|
||||||
"formErrors": [Function],
|
|
||||||
"formErrorsDetails": [Function],
|
|
||||||
"freeTierExceedThroughputTooltip": [Function],
|
|
||||||
"id": "adddatabasepane",
|
|
||||||
"isAutoPilotSelected": [Function],
|
|
||||||
"isExecuting": [Function],
|
|
||||||
"isFreeTierAccount": [Function],
|
|
||||||
"isTemplateReady": [Function],
|
|
||||||
"maxAutoPilotThroughputSet": [Function],
|
|
||||||
"maxThroughputRU": [Function],
|
|
||||||
"maxThroughputRUText": [Function],
|
|
||||||
"minThroughputRU": [Function],
|
|
||||||
"onMoreDetailsKeyPress": [Function],
|
|
||||||
"requestUnitsUsageCost": [Function],
|
|
||||||
"ruToolTipText": [Function],
|
|
||||||
"showUpsellMessage": [Function],
|
|
||||||
"throughput": [Function],
|
|
||||||
"throughputRangeText": [Function],
|
|
||||||
"throughputSpendAck": [Function],
|
|
||||||
"throughputSpendAckText": [Function],
|
|
||||||
"throughputSpendAckVisible": [Function],
|
|
||||||
"title": [Function],
|
|
||||||
"upsellAnchorText": [Function],
|
|
||||||
"upsellAnchorUrl": [Function],
|
|
||||||
"upsellMessage": [Function],
|
|
||||||
"upsellMessageAriaLabel": [Function],
|
|
||||||
"visible": [Function],
|
|
||||||
},
|
|
||||||
"addDatabaseText": [Function],
|
"addDatabaseText": [Function],
|
||||||
"addTableEntityPane": AddTableEntityPane {
|
"addTableEntityPane": AddTableEntityPane {
|
||||||
"addButtonLabel": "Add Property",
|
"addButtonLabel": "Add Property",
|
||||||
@@ -892,7 +808,9 @@ exports[`Upload Items Pane should render Default properly 1`] = `
|
|||||||
multiple={true}
|
multiple={true}
|
||||||
onUpload={[Function]}
|
onUpload={[Function]}
|
||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
tooltip="Select one or more JSON files to upload. Each file can contain a single JSON document or an array of JSON documents. The combined size of all files in an individual upload operation must be less than 2 MB. You can perform multiple upload operations for larger data sets."
|
tooltip="Select one or more JSON files to upload. Each file can contain a single JSON document or an array of JSON
|
||||||
|
documents. The combined size of all files in an individual upload operation must be less than 2 MB. You
|
||||||
|
can perform multiple upload operations for larger data sets."
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</GenericRightPaneComponent>
|
</GenericRightPaneComponent>
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ exports[`Delete Collection Confirmation Pane submit() should call delete collect
|
|||||||
verticalAlign="start"
|
verticalAlign="start"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-Stack panelInfoErrorContainer css-140"
|
className="ms-Stack panelInfoErrorContainer css-172"
|
||||||
>
|
>
|
||||||
<StyledIconBase
|
<StyledIconBase
|
||||||
className="panelWarningIcon"
|
className="panelWarningIcon"
|
||||||
@@ -317,7 +317,7 @@ exports[`Delete Collection Confirmation Pane submit() should call delete collect
|
|||||||
>
|
>
|
||||||
<i
|
<i
|
||||||
aria-hidden={true}
|
aria-hidden={true}
|
||||||
className="panelWarningIcon root-142"
|
className="panelWarningIcon root-174"
|
||||||
data-icon-name="WarningSolid"
|
data-icon-name="WarningSolid"
|
||||||
>
|
>
|
||||||
|
|
||||||
@@ -333,7 +333,7 @@ exports[`Delete Collection Confirmation Pane submit() should call delete collect
|
|||||||
variant="small"
|
variant="small"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="panelWarningErrorMessage css-143"
|
className="panelWarningErrorMessage css-175"
|
||||||
>
|
>
|
||||||
Warning! The action you are about to take cannot be undone. Continuing will permanently delete this resource and all of its children resources.
|
Warning! The action you are about to take cannot be undone. Continuing will permanently delete this resource and all of its children resources.
|
||||||
|
|
||||||
@@ -358,7 +358,7 @@ exports[`Delete Collection Confirmation Pane submit() should call delete collect
|
|||||||
variant="small"
|
variant="small"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="css-143"
|
className="css-175"
|
||||||
>
|
>
|
||||||
Confirm by typing the collection id
|
Confirm by typing the collection id
|
||||||
</span>
|
</span>
|
||||||
@@ -659,18 +659,18 @@ exports[`Delete Collection Confirmation Pane submit() should call delete collect
|
|||||||
validateOnLoad={true}
|
validateOnLoad={true}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField root-145"
|
className="ms-TextField root-177"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField-wrapper"
|
className="ms-TextField-wrapper"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField-fieldGroup fieldGroup-146"
|
className="ms-TextField-fieldGroup fieldGroup-178"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
aria-invalid={false}
|
aria-invalid={false}
|
||||||
autoFocus={true}
|
autoFocus={true}
|
||||||
className="ms-TextField-field field-147"
|
className="ms-TextField-field field-179"
|
||||||
id="confirmCollectionId"
|
id="confirmCollectionId"
|
||||||
onBlur={[Function]}
|
onBlur={[Function]}
|
||||||
onChange={[Function]}
|
onChange={[Function]}
|
||||||
@@ -693,7 +693,7 @@ exports[`Delete Collection Confirmation Pane submit() should call delete collect
|
|||||||
variant="small"
|
variant="small"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="css-156"
|
className="css-188"
|
||||||
>
|
>
|
||||||
Help us improve Azure Cosmos DB!
|
Help us improve Azure Cosmos DB!
|
||||||
</span>
|
</span>
|
||||||
@@ -703,7 +703,7 @@ exports[`Delete Collection Confirmation Pane submit() should call delete collect
|
|||||||
variant="small"
|
variant="small"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="css-156"
|
className="css-188"
|
||||||
>
|
>
|
||||||
What is the reason why you are deleting this container?
|
What is the reason why you are deleting this container?
|
||||||
</span>
|
</span>
|
||||||
@@ -1006,17 +1006,17 @@ exports[`Delete Collection Confirmation Pane submit() should call delete collect
|
|||||||
validateOnLoad={true}
|
validateOnLoad={true}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField ms-TextField--multiline root-145"
|
className="ms-TextField ms-TextField--multiline root-177"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField-wrapper"
|
className="ms-TextField-wrapper"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField-fieldGroup fieldGroup-157"
|
className="ms-TextField-fieldGroup fieldGroup-189"
|
||||||
>
|
>
|
||||||
<textarea
|
<textarea
|
||||||
aria-invalid={false}
|
aria-invalid={false}
|
||||||
className="ms-TextField-field field-158"
|
className="ms-TextField-field field-190"
|
||||||
id="deleteCollectionFeedbackInput"
|
id="deleteCollectionFeedbackInput"
|
||||||
onBlur={[Function]}
|
onBlur={[Function]}
|
||||||
onChange={[Function]}
|
onChange={[Function]}
|
||||||
@@ -2708,7 +2708,7 @@ exports[`Delete Collection Confirmation Pane submit() should call delete collect
|
|||||||
variantClassName="ms-Button--primary"
|
variantClassName="ms-Button--primary"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
className="ms-Button ms-Button--primary root-160"
|
className="ms-Button ms-Button--primary root-192"
|
||||||
data-is-focusable={true}
|
data-is-focusable={true}
|
||||||
id="sidePanelOkButton"
|
id="sidePanelOkButton"
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
@@ -2720,14 +2720,14 @@ exports[`Delete Collection Confirmation Pane submit() should call delete collect
|
|||||||
type="submit"
|
type="submit"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="ms-Button-flexContainer flexContainer-161"
|
className="ms-Button-flexContainer flexContainer-193"
|
||||||
data-automationid="splitbuttonprimary"
|
data-automationid="splitbuttonprimary"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="ms-Button-textContainer textContainer-162"
|
className="ms-Button-textContainer textContainer-194"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="ms-Button-label label-164"
|
className="ms-Button-label label-196"
|
||||||
id="id__6"
|
id="id__6"
|
||||||
key="id__6"
|
key="id__6"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -10,48 +10,6 @@ exports[`Delete Database Confirmation Pane submit() Should call delete database
|
|||||||
"_isAfecFeatureRegistered": [Function],
|
"_isAfecFeatureRegistered": [Function],
|
||||||
"_isInitializingNotebooks": false,
|
"_isInitializingNotebooks": false,
|
||||||
"_panes": Array [
|
"_panes": Array [
|
||||||
AddDatabasePane {
|
|
||||||
"autoPilotUsageCost": [Function],
|
|
||||||
"canConfigureThroughput": [Function],
|
|
||||||
"canExceedMaximumValue": [Function],
|
|
||||||
"canRequestSupport": [Function],
|
|
||||||
"container": [Circular],
|
|
||||||
"costsVisible": [Function],
|
|
||||||
"databaseCreateNewShared": [Function],
|
|
||||||
"databaseId": [Function],
|
|
||||||
"databaseIdLabel": [Function],
|
|
||||||
"databaseIdPlaceHolder": [Function],
|
|
||||||
"databaseIdTooltipText": [Function],
|
|
||||||
"databaseLevelThroughputTooltipText": [Function],
|
|
||||||
"firstFieldHasFocus": [Function],
|
|
||||||
"formErrors": [Function],
|
|
||||||
"formErrorsDetails": [Function],
|
|
||||||
"freeTierExceedThroughputTooltip": [Function],
|
|
||||||
"id": "adddatabasepane",
|
|
||||||
"isAutoPilotSelected": [Function],
|
|
||||||
"isExecuting": [Function],
|
|
||||||
"isFreeTierAccount": [Function],
|
|
||||||
"isTemplateReady": [Function],
|
|
||||||
"maxAutoPilotThroughputSet": [Function],
|
|
||||||
"maxThroughputRU": [Function],
|
|
||||||
"maxThroughputRUText": [Function],
|
|
||||||
"minThroughputRU": [Function],
|
|
||||||
"onMoreDetailsKeyPress": [Function],
|
|
||||||
"requestUnitsUsageCost": [Function],
|
|
||||||
"ruToolTipText": [Function],
|
|
||||||
"showUpsellMessage": [Function],
|
|
||||||
"throughput": [Function],
|
|
||||||
"throughputRangeText": [Function],
|
|
||||||
"throughputSpendAck": [Function],
|
|
||||||
"throughputSpendAckText": [Function],
|
|
||||||
"throughputSpendAckVisible": [Function],
|
|
||||||
"title": [Function],
|
|
||||||
"upsellAnchorText": [Function],
|
|
||||||
"upsellAnchorUrl": [Function],
|
|
||||||
"upsellMessage": [Function],
|
|
||||||
"upsellMessageAriaLabel": [Function],
|
|
||||||
"visible": [Function],
|
|
||||||
},
|
|
||||||
AddCollectionPane {
|
AddCollectionPane {
|
||||||
"_isSynapseLinkEnabled": [Function],
|
"_isSynapseLinkEnabled": [Function],
|
||||||
"autoPilotThroughput": [Function],
|
"autoPilotThroughput": [Function],
|
||||||
@@ -462,48 +420,6 @@ exports[`Delete Database Confirmation Pane submit() Should call delete database
|
|||||||
"visible": [Function],
|
"visible": [Function],
|
||||||
},
|
},
|
||||||
"addCollectionText": [Function],
|
"addCollectionText": [Function],
|
||||||
"addDatabasePane": AddDatabasePane {
|
|
||||||
"autoPilotUsageCost": [Function],
|
|
||||||
"canConfigureThroughput": [Function],
|
|
||||||
"canExceedMaximumValue": [Function],
|
|
||||||
"canRequestSupport": [Function],
|
|
||||||
"container": [Circular],
|
|
||||||
"costsVisible": [Function],
|
|
||||||
"databaseCreateNewShared": [Function],
|
|
||||||
"databaseId": [Function],
|
|
||||||
"databaseIdLabel": [Function],
|
|
||||||
"databaseIdPlaceHolder": [Function],
|
|
||||||
"databaseIdTooltipText": [Function],
|
|
||||||
"databaseLevelThroughputTooltipText": [Function],
|
|
||||||
"firstFieldHasFocus": [Function],
|
|
||||||
"formErrors": [Function],
|
|
||||||
"formErrorsDetails": [Function],
|
|
||||||
"freeTierExceedThroughputTooltip": [Function],
|
|
||||||
"id": "adddatabasepane",
|
|
||||||
"isAutoPilotSelected": [Function],
|
|
||||||
"isExecuting": [Function],
|
|
||||||
"isFreeTierAccount": [Function],
|
|
||||||
"isTemplateReady": [Function],
|
|
||||||
"maxAutoPilotThroughputSet": [Function],
|
|
||||||
"maxThroughputRU": [Function],
|
|
||||||
"maxThroughputRUText": [Function],
|
|
||||||
"minThroughputRU": [Function],
|
|
||||||
"onMoreDetailsKeyPress": [Function],
|
|
||||||
"requestUnitsUsageCost": [Function],
|
|
||||||
"ruToolTipText": [Function],
|
|
||||||
"showUpsellMessage": [Function],
|
|
||||||
"throughput": [Function],
|
|
||||||
"throughputRangeText": [Function],
|
|
||||||
"throughputSpendAck": [Function],
|
|
||||||
"throughputSpendAckText": [Function],
|
|
||||||
"throughputSpendAckVisible": [Function],
|
|
||||||
"title": [Function],
|
|
||||||
"upsellAnchorText": [Function],
|
|
||||||
"upsellAnchorUrl": [Function],
|
|
||||||
"upsellMessage": [Function],
|
|
||||||
"upsellMessageAriaLabel": [Function],
|
|
||||||
"visible": [Function],
|
|
||||||
},
|
|
||||||
"addDatabaseText": [Function],
|
"addDatabaseText": [Function],
|
||||||
"addTableEntityPane": AddTableEntityPane {
|
"addTableEntityPane": AddTableEntityPane {
|
||||||
"addButtonLabel": "Add Property",
|
"addButtonLabel": "Add Property",
|
||||||
@@ -903,7 +819,7 @@ exports[`Delete Database Confirmation Pane submit() Should call delete database
|
|||||||
verticalAlign="start"
|
verticalAlign="start"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-Stack panelInfoErrorContainer css-140"
|
className="ms-Stack panelInfoErrorContainer css-172"
|
||||||
>
|
>
|
||||||
<StyledIconBase
|
<StyledIconBase
|
||||||
className="panelWarningIcon"
|
className="panelWarningIcon"
|
||||||
@@ -1190,7 +1106,7 @@ exports[`Delete Database Confirmation Pane submit() Should call delete database
|
|||||||
>
|
>
|
||||||
<i
|
<i
|
||||||
aria-hidden={true}
|
aria-hidden={true}
|
||||||
className="panelWarningIcon root-142"
|
className="panelWarningIcon root-174"
|
||||||
data-icon-name="WarningSolid"
|
data-icon-name="WarningSolid"
|
||||||
>
|
>
|
||||||
|
|
||||||
@@ -1206,7 +1122,7 @@ exports[`Delete Database Confirmation Pane submit() Should call delete database
|
|||||||
variant="small"
|
variant="small"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="panelWarningErrorMessage css-143"
|
className="panelWarningErrorMessage css-175"
|
||||||
>
|
>
|
||||||
Warning! The action you are about to take cannot be undone. Continuing will permanently delete this resource and all of its children resources.
|
Warning! The action you are about to take cannot be undone. Continuing will permanently delete this resource and all of its children resources.
|
||||||
|
|
||||||
@@ -1231,7 +1147,7 @@ exports[`Delete Database Confirmation Pane submit() Should call delete database
|
|||||||
variant="small"
|
variant="small"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="css-143"
|
className="css-175"
|
||||||
>
|
>
|
||||||
Confirm by typing the database id
|
Confirm by typing the database id
|
||||||
</span>
|
</span>
|
||||||
@@ -1532,18 +1448,18 @@ exports[`Delete Database Confirmation Pane submit() Should call delete database
|
|||||||
validateOnLoad={true}
|
validateOnLoad={true}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField root-145"
|
className="ms-TextField root-177"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField-wrapper"
|
className="ms-TextField-wrapper"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField-fieldGroup fieldGroup-146"
|
className="ms-TextField-fieldGroup fieldGroup-178"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
aria-invalid={false}
|
aria-invalid={false}
|
||||||
autoFocus={true}
|
autoFocus={true}
|
||||||
className="ms-TextField-field field-147"
|
className="ms-TextField-field field-179"
|
||||||
id="confirmDatabaseId"
|
id="confirmDatabaseId"
|
||||||
onBlur={[Function]}
|
onBlur={[Function]}
|
||||||
onChange={[Function]}
|
onChange={[Function]}
|
||||||
@@ -1566,7 +1482,7 @@ exports[`Delete Database Confirmation Pane submit() Should call delete database
|
|||||||
variant="small"
|
variant="small"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="css-164"
|
className="css-196"
|
||||||
>
|
>
|
||||||
Help us improve Azure Cosmos DB!
|
Help us improve Azure Cosmos DB!
|
||||||
</span>
|
</span>
|
||||||
@@ -1576,7 +1492,7 @@ exports[`Delete Database Confirmation Pane submit() Should call delete database
|
|||||||
variant="small"
|
variant="small"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="css-164"
|
className="css-196"
|
||||||
>
|
>
|
||||||
What is the reason why you are deleting this database?
|
What is the reason why you are deleting this database?
|
||||||
</span>
|
</span>
|
||||||
@@ -1879,17 +1795,17 @@ exports[`Delete Database Confirmation Pane submit() Should call delete database
|
|||||||
validateOnLoad={true}
|
validateOnLoad={true}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField ms-TextField--multiline root-145"
|
className="ms-TextField ms-TextField--multiline root-177"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField-wrapper"
|
className="ms-TextField-wrapper"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="ms-TextField-fieldGroup fieldGroup-165"
|
className="ms-TextField-fieldGroup fieldGroup-197"
|
||||||
>
|
>
|
||||||
<textarea
|
<textarea
|
||||||
aria-invalid={false}
|
aria-invalid={false}
|
||||||
className="ms-TextField-field field-166"
|
className="ms-TextField-field field-198"
|
||||||
id="deleteDatabaseFeedbackInput"
|
id="deleteDatabaseFeedbackInput"
|
||||||
onBlur={[Function]}
|
onBlur={[Function]}
|
||||||
onChange={[Function]}
|
onChange={[Function]}
|
||||||
@@ -3581,7 +3497,7 @@ exports[`Delete Database Confirmation Pane submit() Should call delete database
|
|||||||
variantClassName="ms-Button--primary"
|
variantClassName="ms-Button--primary"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
className="ms-Button ms-Button--primary root-156"
|
className="ms-Button ms-Button--primary root-188"
|
||||||
data-is-focusable={true}
|
data-is-focusable={true}
|
||||||
id="sidePanelOkButton"
|
id="sidePanelOkButton"
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
@@ -3593,14 +3509,14 @@ exports[`Delete Database Confirmation Pane submit() Should call delete database
|
|||||||
type="submit"
|
type="submit"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="ms-Button-flexContainer flexContainer-157"
|
className="ms-Button-flexContainer flexContainer-189"
|
||||||
data-automationid="splitbuttonprimary"
|
data-automationid="splitbuttonprimary"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="ms-Button-textContainer textContainer-158"
|
className="ms-Button-textContainer textContainer-190"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className="ms-Button-label label-160"
|
className="ms-Button-label label-192"
|
||||||
id="id__3"
|
id="id__3"
|
||||||
key="id__3"
|
key="id__3"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ import "./Explorer/Controls/DynamicList/DynamicListComponent.less";
|
|||||||
import "./Explorer/Controls/ErrorDisplayComponent/ErrorDisplayComponent.less";
|
import "./Explorer/Controls/ErrorDisplayComponent/ErrorDisplayComponent.less";
|
||||||
import "./Explorer/Controls/JsonEditor/JsonEditorComponent.less";
|
import "./Explorer/Controls/JsonEditor/JsonEditorComponent.less";
|
||||||
import "./Explorer/Controls/Notebook/NotebookTerminalComponent.less";
|
import "./Explorer/Controls/Notebook/NotebookTerminalComponent.less";
|
||||||
import "./Explorer/Controls/ThroughputInput/ThroughputInput.less";
|
|
||||||
import "./Explorer/Controls/TreeComponent/treeComponent.less";
|
import "./Explorer/Controls/TreeComponent/treeComponent.less";
|
||||||
import { ExplorerParams } from "./Explorer/Explorer";
|
import { ExplorerParams } from "./Explorer/Explorer";
|
||||||
import "./Explorer/Graph/GraphExplorerComponent/graphExplorer.less";
|
import "./Explorer/Graph/GraphExplorerComponent/graphExplorer.less";
|
||||||
|
|||||||
Reference in New Issue
Block a user