@ovh-ux/manager-pci-common 1.0.16 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +9410 -9066
- package/dist/index.esm.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/api/data/availability.d.ts +3 -4
- package/dist/types/api/data/rclone.d.ts +9 -0
- package/dist/types/api/data/regions.d.ts +1 -0
- package/dist/types/api/hook/useAvailability.d.ts +3 -0
- package/dist/types/api/hook/useCatalog.d.ts +5 -2
- package/dist/types/api/hook/useRclone.d.ts +15 -0
- package/dist/types/api/hook/useRegions.d.ts +333 -0
- package/dist/types/components/accordion/Accordion.component.d.ts +1 -1
- package/dist/types/components/modal/deletion-modal/DeletionModal.component.d.ts +1 -1
- package/dist/types/components/rclone-download/RCloneDownload.d.ts +5 -0
- package/dist/types/components/rclone-download/SelectS3StorageRegions.d.ts +6 -0
- package/dist/types/components/rclone-download/SelectS3StorageRegions.spec.d.ts +0 -0
- package/dist/types/components/rclone-download/StorageRegions.d.ts +6 -0
- package/dist/types/components/rclone-download/StorageRegions.spec.d.ts +0 -0
- package/dist/types/components/rclone-download/constants.d.ts +7 -0
- package/dist/types/components/rclone-download/index.d.ts +1 -0
- package/dist/types/components/region-selector/style.constants.d.ts +2 -2
- package/dist/types/components/tabs-panel/TabsPanel.component.d.ts +12 -0
- package/dist/types/components/tabs-panel/index.d.ts +1 -0
- package/dist/types/components/tiles-input-choice/TileChoice.component.d.ts +6 -0
- package/dist/types/components/tiles-input-choice/TilesInputChoice.component.d.ts +15 -0
- package/dist/types/components/tiles-input-choice/index.d.ts +2 -0
- package/dist/types/constants/style.d.ts +4 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/translations/rclone-download/Messages_de_DE.json.d.ts +17 -0
- package/dist/types/translations/rclone-download/Messages_en_GB.json.d.ts +17 -0
- package/dist/types/translations/rclone-download/Messages_es_ES.json.d.ts +17 -0
- package/dist/types/translations/rclone-download/Messages_fr_CA.json.d.ts +17 -0
- package/dist/types/translations/rclone-download/Messages_fr_FR.json.d.ts +17 -0
- package/dist/types/translations/rclone-download/Messages_it_IT.json.d.ts +17 -0
- package/dist/types/translations/rclone-download/Messages_pl_PL.json.d.ts +17 -0
- package/dist/types/translations/rclone-download/Messages_pt_PT.json.d.ts +17 -0
- package/dist/types/translations/rclone-download/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.fixed{position:fixed}.relative{position:relative}.float-left{float:left}.m-0{margin:0}.mx-auto{margin-left:auto;margin-right:auto}.my-3{margin-top:.25rem;margin-bottom:.25rem}.my-4{margin-top:.5rem;margin-bottom:.5rem}.my-5{margin-top:.75rem;margin-bottom:.75rem}.my-8{margin-top:1.5rem;margin-bottom:1.5rem}.-mt-6{margin-top:-1rem}.mb-2{margin-bottom:.125rem}.mb-4{margin-bottom:.5rem}.mb-5{margin-bottom:.75rem}.mb-6{margin-bottom:1rem}.mb-\[16px\]{margin-bottom:16px}.mb-\[24px\]{margin-bottom:24px}.mb-\[8px\]{margin-bottom:8px}.ml-0{margin-left:0}.ml-1{margin-left:.0625rem}.ml-2{margin-left:.125rem}.ml-3{margin-left:.25rem}.ml-4{margin-left:.5rem}.ml-8{margin-left:1.5rem}.ml-\[10px\]{margin-left:10px}.ml-auto{margin-left:auto}.mr-1{margin-right:.0625rem}.mr-3{margin-right:.25rem}.mr-4{margin-right:.5rem}.mr-auto{margin-right:auto}.mt-2{margin-top:.125rem}.mt-3{margin-top:.25rem}.mt-4{margin-top:.5rem}.mt-5{margin-top:.75rem}.mt-6{margin-top:1rem}.mt-8{margin-top:1.5rem}.mt-\[24px\]{margin-top:24px}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-10{height:2.5rem}.h-11{height:3rem}.h-4{height:.5rem}.h-\[3\.25rem\]{height:3.25rem}.h-\[500px\]{height:500px}.h-full{height:100%}.h-px{height:1px}.max-h-\[150px\]{max-height:150px}.min-h-0{min-height:0}.w-10{width:2.5rem}.w-2\/3{width:66.666667%}.w-4{width:.5rem}.w-\[2\.5rem\]{width:2.5rem}.w-\[20rem\]{width:20rem}.w-\[25\%\]{width:25%}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-min{width:min-content}.min-w-\[10rem\]{min-width:10rem}.min-w-\[14rem\]{min-width:14rem}.min-w-\[2\.5rem\]{min-width:2.5rem}.min-w-\[5rem\]{min-width:5rem}.max-w-\[600px\]{max-width:600px}.max-w-\[800px\]{max-width:800px}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.grow{flex-grow:1}.basis-\[40px\]{flex-basis:40px}.basis-full{flex-basis:100%}.border-collapse{border-collapse:collapse}.cursor-help{cursor:help}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.columns-3{columns:3}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.gap-0{gap:0}.gap-1{gap:.0625rem}.gap-2{gap:.125rem}.gap-3{gap:.25rem}.gap-4{gap:.5rem}.gap-6{gap:1rem}.gap-8{gap:1.5rem}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-visible{overflow-x:visible}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:50%}.rounded-lg{border-radius:var(--ods-size-border-radius-02)}.rounded-sm{border-radius:var(--ods-size-border-radius-01)}.rounded-t-lg{border-top-left-radius:var(--ods-size-border-radius-02);border-top-right-radius:var(--ods-size-border-radius-02)}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-\[1px\]{border-width:1px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-t-0{border-top-width:0px}.border-t-\[1px\]{border-top-width:1px}.border-solid{border-style:solid}.border-\[\#BEF1FF\],.border-\[\#bef1ff\]{--tw-border-opacity: 1;border-color:rgb(190 241 255 / var(--tw-border-opacity))}.border-\[--ods-color-blue-100\]{border-color:var(--ods-color-blue-100)}.border-\[--ods-color-blue-200\]{border-color:var(--ods-color-blue-200)}.border-\[--ods-color-blue-600\]{border-color:var(--ods-color-blue-600)}.border-\[--ods-color-neutral-500\]{border-color:var(--ods-color-neutral-500)}.border-\[--ods-color-primary-100\]{border-color:var(--ods-color-primary-100)}.border-\[--ods-color-primary-500\]{border-color:var(--ods-color-primary-500)}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.border-b-\[\#bef1ff\]{--tw-border-opacity: 1;border-bottom-color:rgb(190 241 255 / var(--tw-border-opacity))}.border-b-\[--ods-color-primary-100\]{border-bottom-color:var(--ods-color-primary-100)}.border-t-\[--ods-color-neutral-100\]{border-top-color:var(--ods-color-neutral-100)}.\!bg-\[--ods-color-blue-100\]{background-color:var(--ods-color-blue-100)!important}.bg-\[\#85d9fd\]{--tw-bg-opacity: 1;background-color:rgb(133 217 253 / var(--tw-bg-opacity))}.bg-\[\#F5FEFF\]{--tw-bg-opacity: 1;background-color:rgb(245 254 255 / var(--tw-bg-opacity))}.bg-\[--ods-color-blue-100\]{background-color:var(--ods-color-blue-100)}.bg-\[--ods-color-critical-100\]{background-color:var(--ods-color-critical-100)}.bg-\[--ods-color-primary-050\]{background-color:var(--ods-color-primary-050)}.bg-\[--ods-color-primary-100\]{background-color:var(--ods-color-primary-100)}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-0{padding:0}.p-4{padding:.5rem}.p-5{padding:.75rem}.p-6{padding:1rem}.p-\[12px\]{padding:12px}.p-\[1rem\]{padding:1rem}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.0625rem;padding-right:.0625rem}.px-2{padding-left:.125rem;padding-right:.125rem}.px-4{padding-left:.5rem;padding-right:.5rem}.px-5{padding-left:.75rem;padding-right:.75rem}.px-\[1px\]{padding-left:1px;padding-right:1px}.px-\[24px\]{padding-left:24px;padding-right:24px}.py-1{padding-top:.0625rem;padding-bottom:.0625rem}.py-2{padding-top:.125rem;padding-bottom:.125rem}.py-3{padding-top:.25rem;padding-bottom:.25rem}.py-4{padding-top:.5rem;padding-bottom:.5rem}.py-8{padding-top:1.5rem;padding-bottom:1.5rem}.py-\[16px\]{padding-top:16px;padding-bottom:16px}.py-\[24px\]{padding-top:24px;padding-bottom:24px}.py-\[8px\]{padding-top:8px;padding-bottom:8px}.pl-4{padding-left:.5rem}.pt-5{padding-top:.75rem}.pt-6{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\[0\.8rem\]{font-size:.8rem}.text-\[14px\]{font-size:14px}.text-\[16px\]{font-size:16px}.text-\[18px\]{font-size:18px}.text-\[20px\]{font-size:20px}.text-\[24px\]{font-size:24px}.text-\[26px\]{font-size:26px}.text-\[36px\]{font-size:36px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-\[18px\]{line-height:18px}.leading-\[20px\]{line-height:20px}.leading-\[22px\]{line-height:22px}.leading-\[28px\]{line-height:28px}.leading-\[32px\]{line-height:32px}.leading-\[43px\]{line-height:43px}.leading-\[45px\]{line-height:45px}.text-\[--ods-color-critical-500\]{color:var(--ods-color-critical-500)}.text-\[--ods-color-heading\]{color:var(--ods-color-heading)}.text-\[--ods-color-neutral-500\]{color:var(--ods-color-neutral-500)}.text-\[--ods-color-primary-500\]{color:var(--ods-color-primary-500)}.text-\[--ods-color-text\]{color:var(--ods-color-text)}.text-\[var\(--ods-color-error-200\)\]{color:var(--ods-color-error-200)}.text-\[var\(--ods-color-primary-300\)\]{color:var(--ods-color-primary-300)}.text-\[var\(--ods-color-warning-050\)\]{color:var(--ods-color-warning-050)}.text-\[var\(--ods-color-warning-100\)\]{color:var(--ods-color-warning-100)}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.no-underline{text-decoration-line:none}.opacity-50{opacity:.5}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.border-ods-primary-200{border-color:var(--ods-color-primary-200)}.hover\:border-\[--ods-color-blue-600\]:hover{border-color:var(--ods-color-blue-600)}.hover\:bg-\[--ods-color-blue-100\]:hover{background-color:var(--ods-color-blue-100)}.focus\:text-red-500:focus{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}@media (min-width: 0){.xs\:justify-start{justify-content:flex-start}.xs\:pt-10{padding-top:2.5rem}}@media (min-width: 36em){.sm\:ml-4{margin-left:.5rem}.sm\:mt-0{margin-top:0}.sm\:flex{display:flex}.sm\:w-auto{width:auto}.sm\:w-fit{width:fit-content}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-center{justify-content:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-4{gap:.5rem}.sm\:px-10{padding-left:2.5rem;padding-right:2.5rem}.sm\:pt-20{padding-top:5rem}}@media (min-width: 48em){.md\:float-right{float:right}.md\:ml-4{margin-left:.5rem}.md\:mt-0{margin-top:0}.md\:mt-2{margin-top:.125rem}.md\:h-\[600px\]{height:600px}.md\:w-1\/6{width:16.666667%}.md\:w-5\/6{width:83.333333%}.md\:w-\[32\%\]{width:32%}.md\:w-\[68\%\]{width:68%}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-start{align-items:flex-start}.md\:justify-end{justify-content:flex-end}.md\:gap-6{gap:1rem}.md\:px-10{padding-left:2.5rem;padding-right:2.5rem}.md\:py-9{padding-top:2rem;padding-bottom:2rem}}@media (min-width: 75em){.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.\[\&\:\:part\(button\)\]\:w-full::part(button){width:100%}@keyframes _cursor-blink_18io1_1{0%{opacity:1}50%{opacity:0}to{opacity:1}}._blinkingCursor_18io1_12{display:inline-block;width:.5rem;height:1rem;background-color:#fff;animation:_cursor-blink_18io1_1 1s step-end infinite}
|
|
1
|
+
.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.fixed{position:fixed}.relative{position:relative}.float-left{float:left}.m-0{margin:0}.m-6{margin:1rem}.mx-0{margin-left:0;margin-right:0}.mx-auto{margin-left:auto;margin-right:auto}.my-3{margin-top:.25rem;margin-bottom:.25rem}.my-4{margin-top:.5rem;margin-bottom:.5rem}.my-5{margin-top:.75rem;margin-bottom:.75rem}.my-6{margin-top:1rem;margin-bottom:1rem}.my-8{margin-top:1.5rem;margin-bottom:1.5rem}.-mt-6{margin-top:-1rem}.mb-2{margin-bottom:.125rem}.mb-4{margin-bottom:.5rem}.mb-5{margin-bottom:.75rem}.mb-6{margin-bottom:1rem}.mb-8{margin-bottom:1.5rem}.mb-\[16px\]{margin-bottom:16px}.mb-\[24px\]{margin-bottom:24px}.mb-\[8px\]{margin-bottom:8px}.ml-0{margin-left:0}.ml-1{margin-left:.0625rem}.ml-2{margin-left:.125rem}.ml-3{margin-left:.25rem}.ml-4{margin-left:.5rem}.ml-8{margin-left:1.5rem}.ml-\[10px\]{margin-left:10px}.ml-auto{margin-left:auto}.mr-1{margin-right:.0625rem}.mr-3{margin-right:.25rem}.mr-4{margin-right:.5rem}.mr-auto{margin-right:auto}.mt-2{margin-top:.125rem}.mt-3{margin-top:.25rem}.mt-4{margin-top:.5rem}.mt-5{margin-top:.75rem}.mt-6{margin-top:1rem}.mt-8{margin-top:1.5rem}.mt-\[24px\]{margin-top:24px}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-10{height:2.5rem}.h-11{height:3rem}.h-4{height:.5rem}.h-\[3\.25rem\]{height:3.25rem}.h-\[500px\]{height:500px}.h-full{height:100%}.h-px{height:1px}.max-h-\[150px\]{max-height:150px}.min-h-0{min-height:0}.w-10{width:2.5rem}.w-2\/3{width:66.666667%}.w-4{width:.5rem}.w-\[2\.5rem\]{width:2.5rem}.w-\[20rem\]{width:20rem}.w-\[25\%\]{width:25%}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-min{width:min-content}.min-w-\[10rem\]{min-width:10rem}.min-w-\[14rem\]{min-width:14rem}.min-w-\[2\.5rem\]{min-width:2.5rem}.min-w-\[5rem\]{min-width:5rem}.max-w-\[600px\]{max-width:600px}.max-w-\[800px\]{max-width:800px}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.grow{flex-grow:1}.basis-\[40px\]{flex-basis:40px}.basis-full{flex-basis:100%}.border-collapse{border-collapse:collapse}.cursor-help{cursor:help}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.columns-3{columns:3}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.gap-0{gap:0}.gap-1{gap:.0625rem}.gap-2{gap:.125rem}.gap-3{gap:.25rem}.gap-4{gap:.5rem}.gap-6{gap:1rem}.gap-8{gap:1.5rem}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-visible{overflow-x:visible}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:50%}.rounded-lg,.rounded-md{border-radius:var(--ods-size-border-radius-02)}.rounded-sm{border-radius:var(--ods-size-border-radius-01)}.rounded-t-lg,.rounded-t-md{border-top-left-radius:var(--ods-size-border-radius-02);border-top-right-radius:var(--ods-size-border-radius-02)}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-\[1px\]{border-width:1px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-t-0{border-top-width:0px}.border-t-\[1px\]{border-top-width:1px}.border-solid{border-style:solid}.border-\[\#BEF1FF\],.border-\[\#bef1ff\]{--tw-border-opacity: 1;border-color:rgb(190 241 255 / var(--tw-border-opacity))}.border-\[--ods-color-blue-100\]{border-color:var(--ods-color-blue-100)}.border-\[--ods-color-blue-200\]{border-color:var(--ods-color-blue-200)}.border-\[--ods-color-blue-600\]{border-color:var(--ods-color-blue-600)}.border-\[--ods-color-neutral-500\]{border-color:var(--ods-color-neutral-500)}.border-\[--ods-color-primary-100\]{border-color:var(--ods-color-primary-100)}.border-\[--ods-color-primary-500\]{border-color:var(--ods-color-primary-500)}.border-\[--ods-color-primary-600\]{border-color:var(--ods-color-primary-600)}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.border-b-\[\#bef1ff\]{--tw-border-opacity: 1;border-bottom-color:rgb(190 241 255 / var(--tw-border-opacity))}.border-b-\[--ods-color-primary-100\]{border-bottom-color:var(--ods-color-primary-100)}.border-t-\[--ods-color-neutral-100\]{border-top-color:var(--ods-color-neutral-100)}.\!bg-\[--ods-color-primary-100\]{background-color:var(--ods-color-primary-100)!important}.\!bg-white{--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity))!important}.bg-\[\#85d9fd\]{--tw-bg-opacity: 1;background-color:rgb(133 217 253 / var(--tw-bg-opacity))}.bg-\[\#F5FEFF\]{--tw-bg-opacity: 1;background-color:rgb(245 254 255 / var(--tw-bg-opacity))}.bg-\[--ods-color-blue-100\]{background-color:var(--ods-color-blue-100)}.bg-\[--ods-color-critical-100\]{background-color:var(--ods-color-critical-100)}.bg-\[--ods-color-primary-050\]{background-color:var(--ods-color-primary-050)}.bg-\[--ods-color-primary-100\]{background-color:var(--ods-color-primary-100)}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-0{padding:0}.p-4{padding:.5rem}.p-5{padding:.75rem}.p-6{padding:1rem}.p-\[12px\]{padding:12px}.p-\[1rem\]{padding:1rem}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.0625rem;padding-right:.0625rem}.px-2{padding-left:.125rem;padding-right:.125rem}.px-4{padding-left:.5rem;padding-right:.5rem}.px-5{padding-left:.75rem;padding-right:.75rem}.px-\[1px\]{padding-left:1px;padding-right:1px}.px-\[24px\]{padding-left:24px;padding-right:24px}.py-1{padding-top:.0625rem;padding-bottom:.0625rem}.py-2{padding-top:.125rem;padding-bottom:.125rem}.py-3{padding-top:.25rem;padding-bottom:.25rem}.py-4{padding-top:.5rem;padding-bottom:.5rem}.py-8{padding-top:1.5rem;padding-bottom:1.5rem}.py-\[16px\]{padding-top:16px;padding-bottom:16px}.py-\[24px\]{padding-top:24px;padding-bottom:24px}.py-\[8px\]{padding-top:8px;padding-bottom:8px}.pl-2{padding-left:.125rem}.pl-4{padding-left:.5rem}.pr-6{padding-right:1rem}.pt-5{padding-top:.75rem}.pt-6{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\[0\.8rem\]{font-size:.8rem}.text-\[14px\]{font-size:14px}.text-\[16px\]{font-size:16px}.text-\[18px\]{font-size:18px}.text-\[20px\]{font-size:20px}.text-\[24px\]{font-size:24px}.text-\[26px\]{font-size:26px}.text-\[36px\]{font-size:36px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-\[18px\]{line-height:18px}.leading-\[20px\]{line-height:20px}.leading-\[22px\]{line-height:22px}.leading-\[28px\]{line-height:28px}.leading-\[32px\]{line-height:32px}.leading-\[43px\]{line-height:43px}.leading-\[45px\]{line-height:45px}.text-\[--ods-color-critical-500\]{color:var(--ods-color-critical-500)}.text-\[--ods-color-heading\]{color:var(--ods-color-heading)}.text-\[--ods-color-neutral-500\]{color:var(--ods-color-neutral-500)}.text-\[--ods-color-primary-500\]{color:var(--ods-color-primary-500)}.text-\[--ods-color-text\]{color:var(--ods-color-text)}.text-\[var\(--ods-color-error-200\)\]{color:var(--ods-color-error-200)}.text-\[var\(--ods-color-primary-300\)\]{color:var(--ods-color-primary-300)}.text-\[var\(--ods-color-warning-050\)\]{color:var(--ods-color-warning-050)}.text-\[var\(--ods-color-warning-100\)\]{color:var(--ods-color-warning-100)}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.no-underline{text-decoration-line:none}.opacity-50{opacity:.5}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.border-ods-primary-200{border-color:var(--ods-color-primary-200)}.hover\:border-\[--ods-color-blue-600\]:hover{border-color:var(--ods-color-blue-600)}.hover\:border-\[--ods-color-primary-600\]:hover{border-color:var(--ods-color-primary-600)}.hover\:\!bg-\[--ods-color-primary-100\]:hover{background-color:var(--ods-color-primary-100)!important}.hover\:bg-\[--ods-color-blue-100\]:hover{background-color:var(--ods-color-blue-100)}.focus\:text-red-500:focus{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}@media (min-width: 0){.xs\:justify-start{justify-content:flex-start}.xs\:pt-10{padding-top:2.5rem}}@media (min-width: 36em){.sm\:ml-4{margin-left:.5rem}.sm\:mt-0{margin-top:0}.sm\:flex{display:flex}.sm\:w-auto{width:auto}.sm\:w-fit{width:fit-content}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-center{justify-content:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-4{gap:.5rem}.sm\:px-10{padding-left:2.5rem;padding-right:2.5rem}.sm\:pt-20{padding-top:5rem}}@media (min-width: 48em){.md\:float-right{float:right}.md\:ml-4{margin-left:.5rem}.md\:mt-0{margin-top:0}.md\:mt-2{margin-top:.125rem}.md\:h-\[600px\]{height:600px}.md\:w-1\/6{width:16.666667%}.md\:w-5\/6{width:83.333333%}.md\:w-\[32\%\]{width:32%}.md\:w-\[68\%\]{width:68%}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-start{align-items:flex-start}.md\:justify-end{justify-content:flex-end}.md\:gap-6{gap:1rem}.md\:px-10{padding-left:2.5rem;padding-right:2.5rem}.md\:py-9{padding-top:2rem;padding-bottom:2rem}}@media (min-width: 75em){.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.\[\&\:\:part\(button\)\]\:w-full::part(button){width:100%}@keyframes _cursor-blink_18io1_1{0%{opacity:1}50%{opacity:0}to{opacity:1}}._blinkingCursor_18io1_12{display:inline-block;width:.5rem;height:1rem;background-color:#fff;animation:_cursor-blink_18io1_1 1s step-end infinite}.label-caption-bold::part(text){font-weight:700}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type
|
|
1
|
+
export type TRegionAvailability = {
|
|
2
2
|
continentCode: 'ASIA' | 'EU' | 'NA' | 'US';
|
|
3
3
|
datacenter: string;
|
|
4
4
|
enabled: boolean;
|
|
@@ -8,11 +8,11 @@ type TRegion = {
|
|
|
8
8
|
export type TProductAvailability = {
|
|
9
9
|
plans: {
|
|
10
10
|
code: string;
|
|
11
|
-
regions:
|
|
11
|
+
regions: TRegionAvailability[];
|
|
12
12
|
}[];
|
|
13
13
|
products: {
|
|
14
14
|
name: string;
|
|
15
|
-
regions:
|
|
15
|
+
regions: TRegionAvailability[];
|
|
16
16
|
}[];
|
|
17
17
|
};
|
|
18
18
|
export type ProductAvailabilityFilter = {
|
|
@@ -24,4 +24,3 @@ export type ProductAvailabilityFilter = {
|
|
|
24
24
|
export declare const getProductAvailability: (projectId: string, params: {
|
|
25
25
|
ovhSubsidiary: string;
|
|
26
26
|
} & ProductAvailabilityFilter) => Promise<TProductAvailability>;
|
|
27
|
-
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type DownloadRCloneConfigResult = {
|
|
2
|
+
content: string;
|
|
3
|
+
};
|
|
4
|
+
export declare const downloadRCloneConfig: ({ projectId, userId, region, service, }: {
|
|
5
|
+
projectId: string;
|
|
6
|
+
userId: string;
|
|
7
|
+
region: string;
|
|
8
|
+
service: string;
|
|
9
|
+
}) => Promise<DownloadRCloneConfigResult>;
|
|
@@ -4,3 +4,6 @@ export declare const getProductAvailabilityQuery: (projectId: string, ovhSubsidi
|
|
|
4
4
|
queryFn: () => Promise<import("../data/availability").TProductAvailability>;
|
|
5
5
|
};
|
|
6
6
|
export declare const useProductAvailability: (projectId: string, filter?: ProductAvailabilityFilter) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data/availability").TProductAvailability, Error>;
|
|
7
|
+
export declare const useRefreshProductAvailability: (projectId: string, ovhSubsidiary: string, filter?: ProductAvailabilityFilter) => {
|
|
8
|
+
refresh: () => Promise<void>;
|
|
9
|
+
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
export declare const getCatalogQuery: (ovhSubsidiary
|
|
1
|
+
export declare const getCatalogQuery: ({ ovhSubsidiary, productName, }: {
|
|
2
|
+
ovhSubsidiary: string;
|
|
3
|
+
productName?: string;
|
|
4
|
+
}) => {
|
|
2
5
|
queryKey: string[];
|
|
3
6
|
queryFn: () => Promise<import("../data/catalog").TCatalog>;
|
|
4
7
|
};
|
|
5
|
-
export declare const useCatalog: () => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data/catalog").TCatalog, Error>;
|
|
8
|
+
export declare const useCatalog: (productName?: string) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data/catalog").TCatalog, Error>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ApiError } from '@ovh-ux/manager-core-api';
|
|
2
|
+
type DownloadRCloneConfigProps = {
|
|
3
|
+
projectId: string;
|
|
4
|
+
userId: string;
|
|
5
|
+
onError: (cause: ApiError) => void;
|
|
6
|
+
onSuccess: (content: string) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const useDownloadRCloneConfig: ({ projectId, userId, onError, onSuccess, }: DownloadRCloneConfigProps) => {
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
download: ({ region, fileType, }: {
|
|
11
|
+
region: string;
|
|
12
|
+
fileType: string;
|
|
13
|
+
}) => Promise<void>;
|
|
14
|
+
};
|
|
15
|
+
export {};
|
|
@@ -3,3 +3,336 @@ export declare const useGetProjectRegionsQuery: (projectId: string) => {
|
|
|
3
3
|
queryFn: () => Promise<import("../data/regions").TRegion[]>;
|
|
4
4
|
};
|
|
5
5
|
export declare const useGetProjectRegions: (projectId: string) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data/regions").TRegion[], Error>;
|
|
6
|
+
export declare const useStorageRegions: ({ projectId, isS3Storage, }: {
|
|
7
|
+
projectId: string;
|
|
8
|
+
isS3Storage?: boolean;
|
|
9
|
+
}) => {
|
|
10
|
+
data: import("../data/regions").TRegion[];
|
|
11
|
+
error: Error;
|
|
12
|
+
isError: true;
|
|
13
|
+
isPending: false;
|
|
14
|
+
isLoading: false;
|
|
15
|
+
isLoadingError: false;
|
|
16
|
+
isRefetchError: true;
|
|
17
|
+
isSuccess: false;
|
|
18
|
+
status: "error";
|
|
19
|
+
dataUpdatedAt: number;
|
|
20
|
+
errorUpdatedAt: number;
|
|
21
|
+
failureCount: number;
|
|
22
|
+
failureReason: Error;
|
|
23
|
+
errorUpdateCount: number;
|
|
24
|
+
isFetched: boolean;
|
|
25
|
+
isFetchedAfterMount: boolean;
|
|
26
|
+
isFetching: boolean;
|
|
27
|
+
isInitialLoading: boolean;
|
|
28
|
+
isPaused: boolean;
|
|
29
|
+
isPlaceholderData: boolean;
|
|
30
|
+
isRefetching: boolean;
|
|
31
|
+
isStale: boolean;
|
|
32
|
+
refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("../data/regions").TRegion[], Error>>;
|
|
33
|
+
fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
|
|
34
|
+
} | {
|
|
35
|
+
data: import("../data/regions").TRegion[];
|
|
36
|
+
error: null;
|
|
37
|
+
isError: false;
|
|
38
|
+
isPending: false;
|
|
39
|
+
isLoading: false;
|
|
40
|
+
isLoadingError: false;
|
|
41
|
+
isRefetchError: false;
|
|
42
|
+
isSuccess: true;
|
|
43
|
+
status: "success";
|
|
44
|
+
dataUpdatedAt: number;
|
|
45
|
+
errorUpdatedAt: number;
|
|
46
|
+
failureCount: number;
|
|
47
|
+
failureReason: Error;
|
|
48
|
+
errorUpdateCount: number;
|
|
49
|
+
isFetched: boolean;
|
|
50
|
+
isFetchedAfterMount: boolean;
|
|
51
|
+
isFetching: boolean;
|
|
52
|
+
isInitialLoading: boolean;
|
|
53
|
+
isPaused: boolean;
|
|
54
|
+
isPlaceholderData: boolean;
|
|
55
|
+
isRefetching: boolean;
|
|
56
|
+
isStale: boolean;
|
|
57
|
+
refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("../data/regions").TRegion[], Error>>;
|
|
58
|
+
fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
|
|
59
|
+
} | {
|
|
60
|
+
data: import("../data/regions").TRegion[];
|
|
61
|
+
error: Error;
|
|
62
|
+
isError: true;
|
|
63
|
+
isPending: false;
|
|
64
|
+
isLoading: false;
|
|
65
|
+
isLoadingError: true;
|
|
66
|
+
isRefetchError: false;
|
|
67
|
+
isSuccess: false;
|
|
68
|
+
status: "error";
|
|
69
|
+
dataUpdatedAt: number;
|
|
70
|
+
errorUpdatedAt: number;
|
|
71
|
+
failureCount: number;
|
|
72
|
+
failureReason: Error;
|
|
73
|
+
errorUpdateCount: number;
|
|
74
|
+
isFetched: boolean;
|
|
75
|
+
isFetchedAfterMount: boolean;
|
|
76
|
+
isFetching: boolean;
|
|
77
|
+
isInitialLoading: boolean;
|
|
78
|
+
isPaused: boolean;
|
|
79
|
+
isPlaceholderData: boolean;
|
|
80
|
+
isRefetching: boolean;
|
|
81
|
+
isStale: boolean;
|
|
82
|
+
refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("../data/regions").TRegion[], Error>>;
|
|
83
|
+
fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
|
|
84
|
+
} | {
|
|
85
|
+
data: import("../data/regions").TRegion[];
|
|
86
|
+
error: null;
|
|
87
|
+
isError: false;
|
|
88
|
+
isPending: true;
|
|
89
|
+
isLoading: true;
|
|
90
|
+
isLoadingError: false;
|
|
91
|
+
isRefetchError: false;
|
|
92
|
+
isSuccess: false;
|
|
93
|
+
status: "pending";
|
|
94
|
+
dataUpdatedAt: number;
|
|
95
|
+
errorUpdatedAt: number;
|
|
96
|
+
failureCount: number;
|
|
97
|
+
failureReason: Error;
|
|
98
|
+
errorUpdateCount: number;
|
|
99
|
+
isFetched: boolean;
|
|
100
|
+
isFetchedAfterMount: boolean;
|
|
101
|
+
isFetching: boolean;
|
|
102
|
+
isInitialLoading: boolean;
|
|
103
|
+
isPaused: boolean;
|
|
104
|
+
isPlaceholderData: boolean;
|
|
105
|
+
isRefetching: boolean;
|
|
106
|
+
isStale: boolean;
|
|
107
|
+
refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("../data/regions").TRegion[], Error>>;
|
|
108
|
+
fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
|
|
109
|
+
} | {
|
|
110
|
+
data: import("../data/regions").TRegion[];
|
|
111
|
+
error: null;
|
|
112
|
+
isError: false;
|
|
113
|
+
isPending: true;
|
|
114
|
+
isLoadingError: false;
|
|
115
|
+
isRefetchError: false;
|
|
116
|
+
isSuccess: false;
|
|
117
|
+
status: "pending";
|
|
118
|
+
dataUpdatedAt: number;
|
|
119
|
+
errorUpdatedAt: number;
|
|
120
|
+
failureCount: number;
|
|
121
|
+
failureReason: Error;
|
|
122
|
+
errorUpdateCount: number;
|
|
123
|
+
isFetched: boolean;
|
|
124
|
+
isFetchedAfterMount: boolean;
|
|
125
|
+
isFetching: boolean;
|
|
126
|
+
isLoading: boolean;
|
|
127
|
+
isInitialLoading: boolean;
|
|
128
|
+
isPaused: boolean;
|
|
129
|
+
isPlaceholderData: boolean;
|
|
130
|
+
isRefetching: boolean;
|
|
131
|
+
isStale: boolean;
|
|
132
|
+
refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("../data/regions").TRegion[], Error>>;
|
|
133
|
+
fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
|
|
134
|
+
};
|
|
135
|
+
export declare const useS3StorageRegions: (projectId: string) => {
|
|
136
|
+
data: import("../data/regions").TRegion[];
|
|
137
|
+
error: Error;
|
|
138
|
+
isError: true;
|
|
139
|
+
isPending: false;
|
|
140
|
+
isLoading: false;
|
|
141
|
+
isLoadingError: false;
|
|
142
|
+
isRefetchError: true;
|
|
143
|
+
isSuccess: false;
|
|
144
|
+
status: "error";
|
|
145
|
+
dataUpdatedAt: number;
|
|
146
|
+
errorUpdatedAt: number;
|
|
147
|
+
failureCount: number;
|
|
148
|
+
failureReason: Error;
|
|
149
|
+
errorUpdateCount: number;
|
|
150
|
+
isFetched: boolean;
|
|
151
|
+
isFetchedAfterMount: boolean;
|
|
152
|
+
isFetching: boolean;
|
|
153
|
+
isInitialLoading: boolean;
|
|
154
|
+
isPaused: boolean;
|
|
155
|
+
isPlaceholderData: boolean;
|
|
156
|
+
isRefetching: boolean;
|
|
157
|
+
isStale: boolean;
|
|
158
|
+
refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("../data/regions").TRegion[], Error>>;
|
|
159
|
+
fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
|
|
160
|
+
} | {
|
|
161
|
+
data: import("../data/regions").TRegion[];
|
|
162
|
+
error: null;
|
|
163
|
+
isError: false;
|
|
164
|
+
isPending: false;
|
|
165
|
+
isLoading: false;
|
|
166
|
+
isLoadingError: false;
|
|
167
|
+
isRefetchError: false;
|
|
168
|
+
isSuccess: true;
|
|
169
|
+
status: "success";
|
|
170
|
+
dataUpdatedAt: number;
|
|
171
|
+
errorUpdatedAt: number;
|
|
172
|
+
failureCount: number;
|
|
173
|
+
failureReason: Error;
|
|
174
|
+
errorUpdateCount: number;
|
|
175
|
+
isFetched: boolean;
|
|
176
|
+
isFetchedAfterMount: boolean;
|
|
177
|
+
isFetching: boolean;
|
|
178
|
+
isInitialLoading: boolean;
|
|
179
|
+
isPaused: boolean;
|
|
180
|
+
isPlaceholderData: boolean;
|
|
181
|
+
isRefetching: boolean;
|
|
182
|
+
isStale: boolean;
|
|
183
|
+
refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("../data/regions").TRegion[], Error>>;
|
|
184
|
+
fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
|
|
185
|
+
} | {
|
|
186
|
+
data: import("../data/regions").TRegion[];
|
|
187
|
+
error: Error;
|
|
188
|
+
isError: true;
|
|
189
|
+
isPending: false;
|
|
190
|
+
isLoading: false;
|
|
191
|
+
isLoadingError: true;
|
|
192
|
+
isRefetchError: false;
|
|
193
|
+
isSuccess: false;
|
|
194
|
+
status: "error";
|
|
195
|
+
dataUpdatedAt: number;
|
|
196
|
+
errorUpdatedAt: number;
|
|
197
|
+
failureCount: number;
|
|
198
|
+
failureReason: Error;
|
|
199
|
+
errorUpdateCount: number;
|
|
200
|
+
isFetched: boolean;
|
|
201
|
+
isFetchedAfterMount: boolean;
|
|
202
|
+
isFetching: boolean;
|
|
203
|
+
isInitialLoading: boolean;
|
|
204
|
+
isPaused: boolean;
|
|
205
|
+
isPlaceholderData: boolean;
|
|
206
|
+
isRefetching: boolean;
|
|
207
|
+
isStale: boolean;
|
|
208
|
+
refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("../data/regions").TRegion[], Error>>;
|
|
209
|
+
fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
|
|
210
|
+
} | {
|
|
211
|
+
data: import("../data/regions").TRegion[];
|
|
212
|
+
error: null;
|
|
213
|
+
isError: false;
|
|
214
|
+
isPending: true;
|
|
215
|
+
isLoading: true;
|
|
216
|
+
isLoadingError: false;
|
|
217
|
+
isRefetchError: false;
|
|
218
|
+
isSuccess: false;
|
|
219
|
+
status: "pending";
|
|
220
|
+
dataUpdatedAt: number;
|
|
221
|
+
errorUpdatedAt: number;
|
|
222
|
+
failureCount: number;
|
|
223
|
+
failureReason: Error;
|
|
224
|
+
errorUpdateCount: number;
|
|
225
|
+
isFetched: boolean;
|
|
226
|
+
isFetchedAfterMount: boolean;
|
|
227
|
+
isFetching: boolean;
|
|
228
|
+
isInitialLoading: boolean;
|
|
229
|
+
isPaused: boolean;
|
|
230
|
+
isPlaceholderData: boolean;
|
|
231
|
+
isRefetching: boolean;
|
|
232
|
+
isStale: boolean;
|
|
233
|
+
refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("../data/regions").TRegion[], Error>>;
|
|
234
|
+
fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
|
|
235
|
+
} | {
|
|
236
|
+
data: import("../data/regions").TRegion[];
|
|
237
|
+
error: null;
|
|
238
|
+
isError: false;
|
|
239
|
+
isPending: true;
|
|
240
|
+
isLoadingError: false;
|
|
241
|
+
isRefetchError: false;
|
|
242
|
+
isSuccess: false;
|
|
243
|
+
status: "pending";
|
|
244
|
+
dataUpdatedAt: number;
|
|
245
|
+
errorUpdatedAt: number;
|
|
246
|
+
failureCount: number;
|
|
247
|
+
failureReason: Error;
|
|
248
|
+
errorUpdateCount: number;
|
|
249
|
+
isFetched: boolean;
|
|
250
|
+
isFetchedAfterMount: boolean;
|
|
251
|
+
isFetching: boolean;
|
|
252
|
+
isLoading: boolean;
|
|
253
|
+
isInitialLoading: boolean;
|
|
254
|
+
isPaused: boolean;
|
|
255
|
+
isPlaceholderData: boolean;
|
|
256
|
+
isRefetching: boolean;
|
|
257
|
+
isStale: boolean;
|
|
258
|
+
refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("../data/regions").TRegion[], Error>>;
|
|
259
|
+
fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
|
|
260
|
+
};
|
|
261
|
+
export interface AddProjectRegionProps {
|
|
262
|
+
projectId: string;
|
|
263
|
+
onError: (cause: Error) => void;
|
|
264
|
+
onSuccess: () => void;
|
|
265
|
+
}
|
|
266
|
+
export declare const useAddProjectRegion: ({ projectId, onError, onSuccess, }: AddProjectRegionProps) => {
|
|
267
|
+
data: undefined;
|
|
268
|
+
variables: undefined;
|
|
269
|
+
error: null;
|
|
270
|
+
isError: false;
|
|
271
|
+
isIdle: true;
|
|
272
|
+
isPending: false;
|
|
273
|
+
isSuccess: false;
|
|
274
|
+
status: "idle";
|
|
275
|
+
mutate: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<void, Error, string, unknown>;
|
|
276
|
+
reset: () => void;
|
|
277
|
+
context: unknown;
|
|
278
|
+
failureCount: number;
|
|
279
|
+
failureReason: Error;
|
|
280
|
+
isPaused: boolean;
|
|
281
|
+
submittedAt: number;
|
|
282
|
+
mutateAsync: import("@tanstack/react-query/build/legacy/types").UseMutateAsyncFunction<void, Error, string, unknown>;
|
|
283
|
+
addRegion: (region: string) => void;
|
|
284
|
+
} | {
|
|
285
|
+
data: undefined;
|
|
286
|
+
variables: string;
|
|
287
|
+
error: null;
|
|
288
|
+
isError: false;
|
|
289
|
+
isIdle: false;
|
|
290
|
+
isPending: true;
|
|
291
|
+
isSuccess: false;
|
|
292
|
+
status: "pending";
|
|
293
|
+
mutate: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<void, Error, string, unknown>;
|
|
294
|
+
reset: () => void;
|
|
295
|
+
context: unknown;
|
|
296
|
+
failureCount: number;
|
|
297
|
+
failureReason: Error;
|
|
298
|
+
isPaused: boolean;
|
|
299
|
+
submittedAt: number;
|
|
300
|
+
mutateAsync: import("@tanstack/react-query/build/legacy/types").UseMutateAsyncFunction<void, Error, string, unknown>;
|
|
301
|
+
addRegion: (region: string) => void;
|
|
302
|
+
} | {
|
|
303
|
+
data: undefined;
|
|
304
|
+
error: Error;
|
|
305
|
+
variables: string;
|
|
306
|
+
isError: true;
|
|
307
|
+
isIdle: false;
|
|
308
|
+
isPending: false;
|
|
309
|
+
isSuccess: false;
|
|
310
|
+
status: "error";
|
|
311
|
+
mutate: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<void, Error, string, unknown>;
|
|
312
|
+
reset: () => void;
|
|
313
|
+
context: unknown;
|
|
314
|
+
failureCount: number;
|
|
315
|
+
failureReason: Error;
|
|
316
|
+
isPaused: boolean;
|
|
317
|
+
submittedAt: number;
|
|
318
|
+
mutateAsync: import("@tanstack/react-query/build/legacy/types").UseMutateAsyncFunction<void, Error, string, unknown>;
|
|
319
|
+
addRegion: (region: string) => void;
|
|
320
|
+
} | {
|
|
321
|
+
data: void;
|
|
322
|
+
error: null;
|
|
323
|
+
variables: string;
|
|
324
|
+
isError: false;
|
|
325
|
+
isIdle: false;
|
|
326
|
+
isPending: false;
|
|
327
|
+
isSuccess: true;
|
|
328
|
+
status: "success";
|
|
329
|
+
mutate: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<void, Error, string, unknown>;
|
|
330
|
+
reset: () => void;
|
|
331
|
+
context: unknown;
|
|
332
|
+
failureCount: number;
|
|
333
|
+
failureReason: Error;
|
|
334
|
+
isPaused: boolean;
|
|
335
|
+
submittedAt: number;
|
|
336
|
+
mutateAsync: import("@tanstack/react-query/build/legacy/types").UseMutateAsyncFunction<void, Error, string, unknown>;
|
|
337
|
+
addRegion: (region: string) => void;
|
|
338
|
+
};
|
|
@@ -3,4 +3,4 @@ export type DeletionModalProps = PciModalProps & {
|
|
|
3
3
|
confirmationText?: string;
|
|
4
4
|
confirmationLabel?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare function DeletionModal({ children, type, title, cancelText, submitText, isPending, onConfirm, onClose, onCancel, confirmationText, confirmationLabel, }: Readonly<DeletionModalProps>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function DeletionModal({ children, type, title, cancelText, submitText, isPending, isDisabled, onConfirm, onClose, onCancel, confirmationText, confirmationLabel, }: Readonly<DeletionModalProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface SelectS3StorageRegionsProps {
|
|
2
|
+
projectId: string;
|
|
3
|
+
onS3StorageRegionChange: (value: string) => void;
|
|
4
|
+
}
|
|
5
|
+
export default function SelectS3StorageRegions({ projectId, onS3StorageRegionChange, }: Readonly<SelectS3StorageRegionsProps>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface S3StorageRegionsProps {
|
|
2
|
+
projectId: string;
|
|
3
|
+
onStorageRegionChange: (value: string) => void;
|
|
4
|
+
}
|
|
5
|
+
export default function StorageRegions({ projectId, onStorageRegionChange, }: Readonly<S3StorageRegionsProps>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const RCLONE_GUIDE: Record<string, string>;
|
|
2
|
+
export declare const DOWNLOAD_RCLONE_FILENAME = "rclone.conf";
|
|
3
|
+
export declare const DOWNLOAD_RCLONE_FILETYPE = "text/plain;charset=utf-8";
|
|
4
|
+
export declare const REGION_CAPACITY = "storage";
|
|
5
|
+
export declare const S3_REGION_CAPACITY: string[];
|
|
6
|
+
export declare const DOWNLOAD_FILETYPE: Record<string, string>;
|
|
7
|
+
export declare const RCLONE_SERVICE_TYPE: Record<string, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './RCloneDownload';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const regionContainer = "grid gap-6 list-none p-6 m-0 grid-cols-1 md:grid-cols-3";
|
|
2
|
-
export declare const regionTile = "cursor-pointer border-[--ods-color-
|
|
3
|
-
export declare const regionTileSelected
|
|
2
|
+
export declare const regionTile = "cursor-pointer border-[--ods-color-primary-100] !bg-white hover:!bg-[--ods-color-primary-100] hover:border-[--ods-color-primary-600]";
|
|
3
|
+
export declare const regionTileSelected: string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type TabItemProps = {
|
|
3
|
+
name: string;
|
|
4
|
+
title: string | JSX.Element;
|
|
5
|
+
to?: string;
|
|
6
|
+
tracking?: string;
|
|
7
|
+
isDisabled?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export type TabsProps = {
|
|
10
|
+
tabs: TabItemProps[];
|
|
11
|
+
};
|
|
12
|
+
export declare function TabsPanel({ tabs }: Readonly<TabsProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TabsPanel.component';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
export interface TileChoiceProps {
|
|
3
|
+
isSelected?: boolean;
|
|
4
|
+
isDisabled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare function TileChoice({ children, isSelected, isDisabled, }: PropsWithChildren<TileChoiceProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Item {
|
|
3
|
+
id: string;
|
|
4
|
+
isDisabled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface TileInputChoiceProps<T extends Item> {
|
|
7
|
+
items: T[];
|
|
8
|
+
selectedItem?: T;
|
|
9
|
+
onSelectItem?: (T: Item) => void;
|
|
10
|
+
columnsCount?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
11
|
+
isSubmitted?: boolean;
|
|
12
|
+
children: (item: T, isSelected: boolean) => JSX.Element;
|
|
13
|
+
}
|
|
14
|
+
export declare function TileInputChoice<T extends Item>({ items, selectedItem, onSelectItem, columnsCount, isSubmitted, children: renderItem, }: Readonly<TileInputChoiceProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const selectableTileClass = "cursor-pointer border-[--ods-color-primary-100] !bg-white hover:!bg-[--ods-color-primary-100] hover:border-[--ods-color-primary-600]";
|
|
2
|
+
export declare const selectedTileClass = "!bg-[--ods-color-primary-100] border-[--ods-color-primary-600]";
|
|
3
|
+
export declare const tileBorderClass = "border-solid box-border border rounded-lg";
|
|
4
|
+
export declare const tileDisabledClass = "cursor-not-allowed pointer-events-none opacity-50";
|
package/dist/types/index.d.ts
CHANGED
|
@@ -6,8 +6,11 @@ export * from './components/region-selector';
|
|
|
6
6
|
export * from './components/logs';
|
|
7
7
|
export * from './components/modal';
|
|
8
8
|
export * from './components/flavor-selector';
|
|
9
|
+
export * from './components/tabs-panel';
|
|
9
10
|
export * from './hooks';
|
|
10
11
|
export * from './constants';
|
|
11
12
|
export * from './components/quantity-selector';
|
|
12
13
|
export * from './components/Pricing';
|
|
14
|
+
export * from './components/rclone-download';
|
|
13
15
|
export * from './components/shape-input/ShapeInput.component';
|
|
16
|
+
export * from './components/tiles-input-choice';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"pci_projects_project_users_download-rclone_title": "Rclone-Konfigurationsdatei herunterladen",
|
|
3
|
+
"pci_projects_project_users_download-rclone_submit_label": "Herunterladen",
|
|
4
|
+
"pci_projects_project_users_download-rclone_cancel_label": "Abbrechen",
|
|
5
|
+
"pci_projects_project_users_download-rclone_content": "Sie sind im Begriff, eine Konfigurationsdatei für die Verbindung mit Rclone herunterzuladen.",
|
|
6
|
+
"pci_projects_project_users_download-rclone_more_link": "Mehr erfahren",
|
|
7
|
+
"pci_projects_project_users_download-rclone_region_label": "Wählen Sie die Region aus, in der diese Datei angewandt werden soll:",
|
|
8
|
+
"pci_projects_project_users_download-rclone_region_help": "Aus Sicherheitsgründen enthält die Konfigurationsdatei nicht Ihr Passwort. Um Ihr Passwort manuell hinzuzufügen, müssen Sie die Konfigurationsdatei daher bearbeiten.",
|
|
9
|
+
"pci_projects_project_users_download-rclone_success_message": "Der Download der Rclone-Konfigurationsdatei hat begonnen, andernfalls ",
|
|
10
|
+
"pci_projects_project_users_download-rclone_success_message_link": "klicken Sie hier",
|
|
11
|
+
"pci_projects_project_users_download-rclone_error_rclone": "Beim Herunterladen der Rclone-Konfigurationsdatei ist ein Fehler aufgetreten: {{ message }}",
|
|
12
|
+
"pci_projects_project_users_download-rclone_region_label_global": "Wählen Sie die Region aus, in der diese Datei angewandt wird (es werden nur Regionen angezeigt, in denen Object Storage und Cloud Archive angeboten werden):",
|
|
13
|
+
"pci_projects_project_users_download-rclone_file_type_label": "Dateityp"
|
|
14
|
+
}
|
|
15
|
+
;
|
|
16
|
+
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"pci_projects_project_users_download-rclone_title": "Download rclone configuration file",
|
|
3
|
+
"pci_projects_project_users_download-rclone_submit_label": "Download",
|
|
4
|
+
"pci_projects_project_users_download-rclone_cancel_label": "Cancel",
|
|
5
|
+
"pci_projects_project_users_download-rclone_content": "You are about to download a configuration file to connect to rclone.",
|
|
6
|
+
"pci_projects_project_users_download-rclone_more_link": "Find out more",
|
|
7
|
+
"pci_projects_project_users_download-rclone_region_label": "Select the region in which this file will apply:",
|
|
8
|
+
"pci_projects_project_users_download-rclone_region_help": "For security reasons, the configuration file does not contain your password. You will need to edit the configuration file to add your password manually.",
|
|
9
|
+
"pci_projects_project_users_download-rclone_success_message": "The rclone configuration file has started downloading — if it has not started downloading, ",
|
|
10
|
+
"pci_projects_project_users_download-rclone_success_message_link": "click here",
|
|
11
|
+
"pci_projects_project_users_download-rclone_error_rclone": "An error has occurred downloading the rclone configuration file: {{message}}.",
|
|
12
|
+
"pci_projects_project_users_download-rclone_region_label_global": "Select the region in which this file will apply (only the regions offering Object Storage and Cloud Archive services are listed):",
|
|
13
|
+
"pci_projects_project_users_download-rclone_file_type_label": "File type"
|
|
14
|
+
}
|
|
15
|
+
;
|
|
16
|
+
|
|
17
|
+
export default _default;
|