@devtron-labs/devtron-fe-common-lib 0.0.58-beta-11 → 0.0.58-beta-13
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/dist/CodeEditor-f831f400.js +103695 -0
- package/dist/Common/AddCDButton/AddCDButton.d.ts +3 -3
- package/dist/Common/AddCDButton/AddCDButton.js +59 -0
- package/dist/Common/AddCDButton/index.d.ts +2 -2
- package/dist/Common/AddCDButton/index.js +6 -0
- package/dist/Common/AddCDButton/types.d.ts +26 -26
- package/dist/Common/AddCDButton/types.js +1 -0
- package/dist/Common/AddCDButton/utils.d.ts +2 -2
- package/dist/Common/AddCDButton/utils.js +19 -0
- package/dist/Common/Api.d.ts +5 -14
- package/dist/Common/Api.js +169 -0
- package/dist/Common/AppStatus/AppStatus.d.ts +3 -3
- package/dist/Common/AppStatus/AppStatus.js +37 -0
- package/dist/Common/AppStatus/constants.d.ts +51 -51
- package/dist/Common/AppStatus/constants.js +37 -0
- package/dist/Common/AppStatus/index.d.ts +1 -1
- package/dist/Common/AppStatus/index.js +4 -0
- package/dist/Common/AppStatus/types.d.ts +12 -12
- package/dist/Common/AppStatus/types.js +1 -0
- package/dist/Common/AppStatus/utils.d.ts +1 -1
- package/dist/Common/AppStatus/utils.js +8 -0
- package/dist/Common/BreadCrumb/BreadCrumb.d.ts +5 -5
- package/dist/Common/BreadCrumb/BreadCrumb.js +73 -0
- package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +17 -17
- package/dist/Common/BreadCrumb/BreadcrumbStore.js +22 -0
- package/dist/Common/BreadCrumb/Types.d.ts +28 -28
- package/dist/Common/BreadCrumb/Types.js +1 -0
- package/dist/Common/CIPipeline.Types.d.ts +265 -265
- package/dist/Common/CIPipeline.Types.js +10 -0
- package/dist/Common/ChartVersionAndTypeSelector.d.ts +3 -4
- package/dist/Common/ChartVersionAndTypeSelector.js +61 -0
- package/dist/Common/Checkbox.d.ts +5 -5
- package/dist/Common/Checkbox.js +28 -0
- package/dist/Common/ClipboardButton/ClipboardButton.d.ts +10 -10
- package/dist/Common/ClipboardButton/ClipboardButton.js +40 -0
- package/dist/Common/ClipboardButton/__tests__/ClipboardButton.test.js +27 -0
- package/dist/Common/ClipboardButton/types.d.ts +8 -8
- package/dist/Common/ClipboardButton/types.js +1 -0
- package/dist/Common/CodeEditor/CodeEditor.d.ts +47 -0
- package/dist/Common/CodeEditor/CodeEditor.js +15 -0
- package/dist/Common/Common.service.d.ts +20 -20
- package/dist/Common/Common.service.js +196 -0
- package/dist/Common/Constants.d.ts +81 -89
- package/dist/Common/Constants.js +239 -0
- package/dist/Common/CustomInput/CustomInput.d.ts +2 -3
- package/dist/Common/CustomInput/CustomInput.js +81 -0
- package/dist/Common/CustomInput/Types.d.ts +30 -30
- package/dist/Common/CustomInput/Types.js +1 -0
- package/dist/Common/CustomInput/index.d.ts +2 -2
- package/dist/Common/CustomInput/index.js +4 -0
- package/dist/Common/CustomTagSelector/PropagateTagInfo.d.ts +4 -4
- package/dist/Common/CustomTagSelector/PropagateTagInfo.js +43 -0
- package/dist/Common/CustomTagSelector/ResizableTagTextArea.d.ts +2 -3
- package/dist/Common/CustomTagSelector/ResizableTagTextArea.js +58 -0
- package/dist/Common/CustomTagSelector/TagDetails.d.ts +2 -3
- package/dist/Common/CustomTagSelector/TagDetails.js +73 -0
- package/dist/Common/CustomTagSelector/TagLabelSelect.d.ts +2 -3
- package/dist/Common/CustomTagSelector/TagLabelSelect.js +53 -0
- package/dist/Common/CustomTagSelector/TagLabelValueSelector.d.ts +2 -3
- package/dist/Common/CustomTagSelector/TagLabelValueSelector.js +121 -0
- package/dist/Common/CustomTagSelector/TagSelector.utils.d.ts +12 -12
- package/dist/Common/CustomTagSelector/TagSelector.utils.js +61 -0
- package/dist/Common/CustomTagSelector/Types.d.ts +68 -68
- package/dist/Common/CustomTagSelector/Types.js +1 -0
- package/dist/Common/CustomTagSelector/ValidationRules.d.ts +10 -10
- package/dist/Common/CustomTagSelector/ValidationRules.js +35 -0
- package/dist/Common/CustomTagSelector/index.d.ts +6 -6
- package/dist/Common/CustomTagSelector/index.js +12 -0
- package/dist/Common/DebouncedSearch/DebouncedSearch.d.ts +17 -17
- package/dist/Common/DebouncedSearch/DebouncedSearch.js +56 -0
- package/dist/Common/DebouncedSearch/Types.d.ts +14 -14
- package/dist/Common/DebouncedSearch/Types.js +1 -0
- package/dist/Common/DebouncedSearch/Utils.d.ts +1 -1
- package/dist/Common/DebouncedSearch/Utils.js +19 -0
- package/dist/Common/DebouncedSearch/__tests__/DebouncedSearch.test.js +34 -0
- package/dist/Common/DeleteComponentModal/DeleteComponent.d.ts +3 -4
- package/dist/Common/DeleteComponentModal/DeleteComponent.js +63 -0
- package/dist/Common/DeleteComponentModal/types.d.ts +15 -15
- package/dist/Common/DeleteComponentModal/types.js +1 -0
- package/dist/Common/DevtronProgressing/DevtronProgressing.d.ts +2 -3
- package/dist/Common/DevtronProgressing/DevtronProgressing.js +95 -0
- package/dist/Common/DevtronProgressing/index.d.ts +1 -1
- package/dist/Common/DevtronProgressing/index.js +4 -0
- package/dist/Common/DevtronProgressing/types.d.ts +4 -4
- package/dist/Common/DevtronProgressing/types.js +1 -0
- package/dist/Common/Dialogs/ConfirmationDialog.d.ts +8 -9
- package/dist/Common/Dialogs/ConfirmationDialog.js +13 -0
- package/dist/Common/Dialogs/DeleteDialog.d.ts +5 -5
- package/dist/Common/Dialogs/DeleteDialog.js +46 -0
- package/dist/Common/Dialogs/DialogForm.d.ts +14 -14
- package/dist/Common/Dialogs/DialogForm.js +63 -0
- package/dist/Common/Dialogs/ForceDeleteDialog.d.ts +3 -3
- package/dist/Common/Dialogs/ForceDeleteDialog.js +28 -0
- package/dist/Common/Dialogs/Types.d.ts +45 -45
- package/dist/Common/Dialogs/Types.js +1 -0
- package/dist/Common/Dialogs/index.d.ts +4 -4
- package/dist/Common/Dialogs/index.js +11 -0
- package/dist/Common/DraggableWrapper/DraggableButton.d.ts +3 -3
- package/dist/Common/DraggableWrapper/DraggableButton.js +16 -0
- package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +9 -9
- package/dist/Common/DraggableWrapper/DraggableWrapper.js +73 -0
- package/dist/Common/DraggableWrapper/index.d.ts +3 -3
- package/dist/Common/DraggableWrapper/index.js +8 -0
- package/dist/Common/DraggableWrapper/types.d.ts +23 -23
- package/dist/Common/DraggableWrapper/types.js +4 -0
- package/dist/Common/Drawer/Drawer.d.ts +14 -16
- package/dist/Common/Drawer/Drawer.js +22 -0
- package/dist/Common/EmptyState/EmptyState.d.ts +31 -25
- package/dist/Common/EmptyState/EmptyState.js +25 -0
- package/dist/Common/EmptyState/GenericEmptyState.d.ts +3 -5
- package/dist/Common/EmptyState/GenericEmptyState.js +79 -0
- package/dist/Common/Error.d.ts +17 -17
- package/dist/Common/Error.js +49 -0
- package/dist/Common/ErrorScreenNotFound.d.ts +2 -3
- package/dist/Common/ErrorScreenNotFound.js +22 -0
- package/dist/Common/Grid/Grid.d.ts +3 -3
- package/dist/Common/Grid/Grid.js +31 -0
- package/dist/Common/Grid/types.d.ts +10 -10
- package/dist/Common/Grid/types.js +1 -0
- package/dist/Common/Helper.d.ts +65 -64
- package/dist/Common/Helper.js +39 -0
- package/dist/Common/Hooks/UseClickOutside/UseClickOutside.d.ts +1 -1
- package/dist/Common/Hooks/UseClickOutside/UseClickOutside.js +14 -0
- package/dist/Common/Hooks/UseSuperAdmin/UseSuperAdmin.d.ts +6 -6
- package/dist/Common/Hooks/UseSuperAdmin/UseSuperAdmin.js +16 -0
- package/dist/Common/Hooks/UseSuperAdmin/types.d.ts +3 -3
- package/dist/Common/Hooks/UseSuperAdmin/types.js +1 -0
- package/dist/Common/Hooks/UseWindowSize/UseWindowSize.d.ts +4 -4
- package/dist/Common/Hooks/UseWindowSize/UseWindowSize.js +17 -0
- package/dist/Common/Hooks/index.d.ts +3 -4
- package/dist/Common/Hooks/index.js +8 -0
- package/dist/Common/ImageTags.Types.d.ts +40 -40
- package/dist/Common/ImageTags.Types.js +1 -0
- package/dist/Common/ImageTags.d.ts +3 -4
- package/dist/Common/ImageTags.js +382 -0
- package/dist/Common/InfoColorBar/InfoColourbar.d.ts +3 -5
- package/dist/Common/InfoColorBar/InfoColourbar.js +67 -0
- package/dist/Common/Modals/Modal.d.ts +3 -3
- package/dist/Common/Modals/Modal.js +48 -0
- package/dist/Common/Modals/OpaqueModal.d.ts +12 -12
- package/dist/Common/Modals/OpaqueModal.js +40 -0
- package/dist/Common/Modals/VisibleModal.d.ts +15 -15
- package/dist/Common/Modals/VisibleModal.js +39 -0
- package/dist/Common/Modals/VisibleModal2.d.ts +12 -12
- package/dist/Common/Modals/VisibleModal2.js +39 -0
- package/dist/Common/MultiSelectCustomization.d.ts +37 -37
- package/dist/Common/MultiSelectCustomization.js +97 -0
- package/dist/Common/Pagination/PageSizeSelector.d.ts +3 -4
- package/dist/Common/Pagination/PageSizeSelector.js +51 -0
- package/dist/Common/Pagination/Pagination.d.ts +3 -5
- package/dist/Common/Pagination/Pagination.js +98 -0
- package/dist/Common/Pagination/constants.d.ts +5 -5
- package/dist/Common/Pagination/constants.js +9 -0
- package/dist/Common/Pagination/index.d.ts +1 -1
- package/dist/Common/Pagination/index.js +4 -0
- package/dist/Common/Pagination/types.d.ts +51 -51
- package/dist/Common/Pagination/types.js +1 -0
- package/dist/Common/Pagination/utils.d.ts +6 -6
- package/dist/Common/Pagination/utils.js +15 -0
- package/dist/Common/Policy.Types.d.ts +56 -56
- package/dist/Common/Policy.Types.js +6 -0
- package/dist/Common/PopupMenu.d.ts +7 -8
- package/dist/Common/PopupMenu.js +146 -0
- package/dist/Common/Progressing.d.ts +3 -4
- package/dist/Common/Progressing.js +49 -0
- package/dist/Common/RJSF/Form.d.ts +2 -4
- package/dist/Common/RJSF/Form.js +25 -0
- package/dist/Common/RJSF/common/FieldRow.d.ts +5 -6
- package/dist/Common/RJSF/common/FieldRow.js +25 -0
- package/dist/Common/RJSF/common/types.d.ts +8 -8
- package/dist/Common/RJSF/common/types.js +1 -0
- package/dist/Common/RJSF/config.d.ts +4 -4
- package/dist/Common/RJSF/config.js +33 -0
- package/dist/Common/RJSF/constants.d.ts +7 -7
- package/dist/Common/RJSF/constants.js +10 -0
- package/dist/Common/RJSF/index.d.ts +3 -3
- package/dist/Common/RJSF/index.js +7 -0
- package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +2 -3
- package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.js +30 -0
- package/dist/Common/RJSF/templates/ArrayFieldTemplate.d.ts +2 -3
- package/dist/Common/RJSF/templates/ArrayFieldTemplate.js +60 -0
- package/dist/Common/RJSF/templates/BaseInput.d.ts +2 -3
- package/dist/Common/RJSF/templates/BaseInput.js +16 -0
- package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +2 -3
- package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.js +18 -0
- package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.d.ts +2 -3
- package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.js +6 -0
- package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.d.ts +2 -3
- package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.js +9 -0
- package/dist/Common/RJSF/templates/ButtonTemplates/index.d.ts +3 -3
- package/dist/Common/RJSF/templates/ButtonTemplates/index.js +8 -0
- package/dist/Common/RJSF/templates/Description.d.ts +2 -3
- package/dist/Common/RJSF/templates/Description.js +9 -0
- package/dist/Common/RJSF/templates/Field.d.ts +2 -3
- package/dist/Common/RJSF/templates/Field.js +31 -0
- package/dist/Common/RJSF/templates/FieldErrorTemplate.d.ts +2 -3
- package/dist/Common/RJSF/templates/FieldErrorTemplate.js +13 -0
- package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +2 -3
- package/dist/Common/RJSF/templates/ObjectFieldTemplate.js +71 -0
- package/dist/Common/RJSF/templates/TitleField.d.ts +2 -3
- package/dist/Common/RJSF/templates/TitleField.js +8 -0
- package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.d.ts +2 -3
- package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.js +43 -0
- package/dist/Common/RJSF/templates/index.d.ts +10 -10
- package/dist/Common/RJSF/templates/index.js +26 -0
- package/dist/Common/RJSF/types.d.ts +3 -3
- package/dist/Common/RJSF/types.js +1 -0
- package/dist/Common/RJSF/utils.d.ts +25 -26
- package/dist/Common/RJSF/utils.js +95 -0
- package/dist/Common/RJSF/widgets/Checkbox.d.ts +2 -3
- package/dist/Common/RJSF/widgets/Checkbox.js +39 -0
- package/dist/Common/RJSF/widgets/Select.d.ts +2 -3
- package/dist/Common/RJSF/widgets/Select.js +625 -0
- package/dist/Common/RJSF/widgets/index.d.ts +2 -2
- package/dist/Common/RJSF/widgets/index.js +6 -0
- package/dist/Common/RadioGroup/RadioGroup.d.ts +16 -17
- package/dist/Common/RadioGroup/RadioGroup.js +69 -0
- package/dist/Common/RadioGroup.d.ts +8 -8
- package/dist/Common/RadioGroup.js +53 -0
- package/dist/Common/Reload.d.ts +3 -3
- package/dist/Common/Reload.js +16 -0
- package/dist/Common/ResizableTextarea.d.ts +3 -3
- package/dist/Common/ResizableTextarea.js +60 -0
- package/dist/Common/SearchBar/SearchBar.component.d.ts +37 -39
- package/dist/Common/SearchBar/SearchBar.component.js +66 -0
- package/dist/Common/SearchBar/index.d.ts +2 -2
- package/dist/Common/SearchBar/index.js +4 -0
- package/dist/Common/SearchBar/types.d.ts +35 -35
- package/dist/Common/SearchBar/types.js +1 -0
- package/dist/Common/Security/ScanVulnerabilitiesTable.d.ts +3 -4
- package/dist/Common/Security/ScanVulnerabilitiesTable.js +49 -0
- package/dist/Common/Select/Select.d.ts +4 -0
- package/dist/Common/Select/Select.js +193 -0
- package/dist/Common/Select/types.d.ts +29 -0
- package/dist/Common/Select/types.js +1 -0
- package/dist/Common/ServerError.d.ts +15 -15
- package/dist/Common/ServerError.js +26 -0
- package/dist/Common/TippyCustomized.d.ts +2 -4
- package/dist/Common/TippyCustomized.js +10 -0
- package/dist/Common/ToastBody.d.ts +23 -23
- package/dist/Common/ToastBody.js +41 -0
- package/dist/Common/Toggle/Toggle.d.ts +12 -14
- package/dist/Common/Toggle/Toggle.js +40 -0
- package/dist/Common/Types.d.ts +691 -703
- package/dist/Common/Types.js +24 -0
- package/dist/Common/index.d.ts +51 -51
- package/dist/Common/index.js +226 -0
- package/dist/Helper-b720768b.js +9837 -0
- package/dist/TippyCustomized-b66513ba.js +124 -0
- package/dist/_commonjsHelpers-aeeeeb92.js +30 -0
- package/dist/abap-9f67f57a.js +1314 -0
- package/dist/apex-ff62e532.js +315 -0
- package/dist/assets/CodeEditor.css +1 -0
- package/dist/assets/Drawer.css +1 -0
- package/dist/assets/Form.css +1 -0
- package/dist/assets/GenericEmptyState.css +1 -0
- package/dist/assets/InfoColourbar.css +1 -0
- package/dist/assets/Pagination.css +1 -0
- package/dist/assets/RadioGroup.css +1 -0
- package/dist/assets/ScanVulnerabilitiesTable.css +1 -0
- package/dist/assets/SearchBar.component.css +1 -0
- package/dist/assets/Select.css +1 -0
- package/dist/assets/TippyCustomized.css +1 -0
- package/dist/assets/Toggle.css +1 -0
- package/dist/assets/editor.worker-d26000ef.js +9 -0
- package/dist/assets/json.worker-f23a4654.js +40 -0
- package/dist/assets/yaml.worker-64fecd27.js +463 -0
- package/dist/azcli-31e64a7f.js +74 -0
- package/dist/bat-0ffe897e.js +95 -0
- package/dist/bicep-3414a2b1.js +108 -0
- package/dist/cameligo-df1f3f25.js +168 -0
- package/dist/clojure-65b0f010.js +754 -0
- package/dist/coffee-437f0fba.js +228 -0
- package/dist/cpp-66843dd5.js +390 -0
- package/dist/csharp-621d9a49.js +320 -0
- package/dist/csp-de0d5244.js +57 -0
- package/dist/css-7cd5ed4c.js +186 -0
- package/dist/cssMode-3b27e147.js +1446 -0
- package/dist/cypher-70ad96fe.js +262 -0
- package/dist/dart-33ae3739.js +270 -0
- package/dist/dockerfile-f2274a50.js +132 -0
- package/dist/ecl-3b8294a3.js +454 -0
- package/dist/elixir-b9dcc73a.js +489 -0
- package/dist/extends-70f3d2a3.js +13 -0
- package/dist/flow9-bdde8316.js +141 -0
- package/dist/freemarker2-fdbf3c64.js +643 -0
- package/dist/fsharp-eac2e449.js +210 -0
- package/dist/go-d12ed8d4.js +208 -0
- package/dist/graphql-c7356b69.js +141 -0
- package/dist/handlebars-42bbca08.js +391 -0
- package/dist/hcl-e883a0d4.js +177 -0
- package/dist/html-2b761b4c.js +281 -0
- package/dist/htmlMode-5e3287f4.js +1456 -0
- package/dist/ic-add-4787ded5.js +5 -0
- package/dist/ic-chevron-down-eb7fd953.js +6 -0
- package/dist/ic-copy-118b83dc.js +5 -0
- package/dist/ic-cross-0e71861d.js +6 -0
- package/dist/ic-error-cross-2760059a.js +5 -0
- package/dist/ic-error-exclamation-5f9af461.js +5 -0
- package/dist/ic-info-filled-31a15add.js +6 -0
- package/dist/ic-info-outlined-8fa45e87.js +5 -0
- package/dist/ic-warning-42534af1.js +5 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.js +225 -29102
- package/dist/ini-425ab711.js +68 -0
- package/dist/inject-tag-824bf92c.js +5 -0
- package/dist/java-2bc0fd68.js +221 -0
- package/dist/javascript-7349b260.js +75 -0
- package/dist/jsonMode-b06032c4.js +1867 -0
- package/dist/jsx-runtime-0dcb030c.js +667 -0
- package/dist/julia-1c932615.js +496 -0
- package/dist/kotlin-1ab839c8.js +245 -0
- package/dist/less-6fe856f5.js +168 -0
- package/dist/lexon-4955ac52.js +151 -0
- package/dist/liquid-4f07e77f.js +238 -0
- package/dist/lua-3cca0047.js +157 -0
- package/dist/m3-132e9cb6.js +210 -0
- package/dist/markdown-ea59a0c1.js +202 -0
- package/dist/mips-19811f4b.js +194 -0
- package/dist/msdax-69954a10.js +377 -0
- package/dist/mysql-82088e5d.js +876 -0
- package/dist/objective-c-1976eccc.js +188 -0
- package/dist/pascal-8ef177cb.js +245 -0
- package/dist/pascaligo-bc517b9e.js +158 -0
- package/dist/perl-8b93582c.js +599 -0
- package/dist/pgsql-00c11a6d.js +847 -0
- package/dist/php-4c8c276f.js +471 -0
- package/dist/pla-e9b4ffb1.js +131 -0
- package/dist/postiats-2071af8c.js +544 -0
- package/dist/powerquery-8e388ceb.js +890 -0
- package/dist/powershell-e35db398.js +233 -0
- package/dist/protobuf-a24b9176.js +422 -0
- package/dist/pug-2c94d9b8.js +393 -0
- package/dist/python-16256213.js +259 -0
- package/dist/qsharp-d730d7fe.js +282 -0
- package/dist/r-be193556.js +245 -0
- package/dist/razor-b4aa4372.js +512 -0
- package/dist/react-select.esm-97f26847.js +4160 -0
- package/dist/react-toastify.esm-1042de65.js +792 -0
- package/dist/react.esm-2c92920f.js +13727 -0
- package/dist/redis-9690c6ac.js +298 -0
- package/dist/redshift-6bdcdeaa.js +806 -0
- package/dist/restructuredtext-a08c1d20.js +162 -0
- package/dist/ruby-2247692b.js +444 -0
- package/dist/rust-1dffb4d5.js +337 -0
- package/dist/sb-136598e9.js +110 -0
- package/dist/scala-b1100fed.js +353 -0
- package/dist/scheme-038c8094.js +114 -0
- package/dist/scss-700d1b52.js +244 -0
- package/dist/shell-86c16e0f.js +224 -0
- package/dist/solidity-c05fdf3c.js +1351 -0
- package/dist/sophia-cd645d71.js +190 -0
- package/dist/sparql-01d9ec9c.js +193 -0
- package/dist/sql-4c33df41.js +818 -0
- package/dist/st-52cf1408.js +414 -0
- package/dist/swift-13c792ba.js +315 -0
- package/dist/systemverilog-0bd8b730.js +556 -0
- package/dist/tcl-463d7c75.js +232 -0
- package/dist/tippy-react.esm-8dc66a75.js +2018 -0
- package/dist/tsMode-426d35c9.js +811 -0
- package/dist/twig-0d98f5ec.js +323 -0
- package/dist/typescript-936e1f48.js +328 -0
- package/dist/vb-3a2b0a51.js +364 -0
- package/dist/wgsl-b2ddb3e4.js +420 -0
- package/dist/xml-5430ab58.js +95 -0
- package/dist/yaml-9bde48c0.js +184 -0
- package/package.json +35 -23
- package/.eslintignore +0 -96
- package/.eslintrc.js +0 -109
- package/.github/pull_request_template.md +0 -25
- package/.github/workflows/ci.yml +0 -31
- package/.github/workflows/release-package.yml +0 -48
- package/.husky/pre-commit +0 -5
- package/.lintstagedrc +0 -3
- package/.nvmrc +0 -1
- package/.prettierrc.js +0 -7
- package/dist/Common/Hooks/useUrlFilters/constants.d.ts +0 -8
- package/dist/Common/Hooks/useUrlFilters/index.d.ts +0 -2
- package/dist/Common/Hooks/useUrlFilters/types.d.ts +0 -6
- package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +0 -32
- package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +0 -18
- package/dist/Common/SortableTableHeaderCell/index.d.ts +0 -2
- package/dist/Common/SortableTableHeaderCell/types.d.ts +0 -25
- package/dist/Pages/GlobalConfigurations/Authorization/constants.d.ts +0 -15
- package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/index.d.ts +0 -1
- package/dist/Pages/index.d.ts +0 -1
- package/rollup.config.js +0 -31
- package/src/Assets/Icon/ic-add.svg +0 -3
- package/src/Assets/Icon/ic-appstatus-cancelled.svg +0 -6
- package/src/Assets/Icon/ic-arrow-counter-clockwise.svg +0 -5
- package/src/Assets/Icon/ic-arrow-up-down.svg +0 -3
- package/src/Assets/Icon/ic-check.svg +0 -5
- package/src/Assets/Icon/ic-chevron-down.svg +0 -5
- package/src/Assets/Icon/ic-copy.svg +0 -3
- package/src/Assets/Icon/ic-cross.svg +0 -3
- package/src/Assets/Icon/ic-drag.svg +0 -8
- package/src/Assets/Icon/ic-enter.svg +0 -3
- package/src/Assets/Icon/ic-error-cross.svg +0 -8
- package/src/Assets/Icon/ic-error-exclamation.svg +0 -6
- package/src/Assets/Icon/ic-error-medium.svg +0 -6
- package/src/Assets/Icon/ic-help-outline.svg +0 -3
- package/src/Assets/Icon/ic-help.svg +0 -3
- package/src/Assets/Icon/ic-info-filled.svg +0 -7
- package/src/Assets/Icon/ic-info-outlined.svg +0 -13
- package/src/Assets/Icon/ic-minus.svg +0 -3
- package/src/Assets/Icon/ic-pencil.svg +0 -3
- package/src/Assets/Icon/ic-progressing.svg +0 -6
- package/src/Assets/Icon/ic-rotate-devtron.svg +0 -103
- package/src/Assets/Icon/ic-search.svg +0 -6
- package/src/Assets/Icon/ic-sort-arrow-down.svg +0 -3
- package/src/Assets/Icon/ic-warning.svg +0 -7
- package/src/Assets/Icon/inject-tag.svg +0 -5
- package/src/Assets/Img/app-not-deployed.png +0 -0
- package/src/Assets/Img/delete-medium.svg +0 -15
- package/src/Assets/Img/ic-empty-error@2x.png +0 -0
- package/src/Assets/Img/ic-loading-failure.png +0 -0
- package/src/Assets/Img/ic-not-authorized.svg +0 -62
- package/src/Common/AddCDButton/AddCDButton.tsx +0 -68
- package/src/Common/AddCDButton/index.ts +0 -2
- package/src/Common/AddCDButton/types.ts +0 -38
- package/src/Common/AddCDButton/utils.tsx +0 -35
- package/src/Common/Api.ts +0 -251
- package/src/Common/AppStatus/AppStatus.tsx +0 -64
- package/src/Common/AppStatus/constants.ts +0 -53
- package/src/Common/AppStatus/index.ts +0 -1
- package/src/Common/AppStatus/types.ts +0 -12
- package/src/Common/AppStatus/utils.ts +0 -14
- package/src/Common/BreadCrumb/BreadCrumb.tsx +0 -105
- package/src/Common/BreadCrumb/BreadcrumbStore.tsx +0 -25
- package/src/Common/BreadCrumb/Types.ts +0 -30
- package/src/Common/CIPipeline.Types.ts +0 -277
- package/src/Common/ChartVersionAndTypeSelector.tsx +0 -78
- package/src/Common/Checkbox.tsx +0 -36
- package/src/Common/ClipboardButton/ClipboardButton.tsx +0 -61
- package/src/Common/ClipboardButton/__tests__/ClipboardButton.test.tsx +0 -43
- package/src/Common/ClipboardButton/types.ts +0 -7
- package/src/Common/Common.service.ts +0 -315
- package/src/Common/Constants.ts +0 -270
- package/src/Common/CustomInput/CustomInput.tsx +0 -131
- package/src/Common/CustomInput/Types.ts +0 -31
- package/src/Common/CustomInput/index.ts +0 -2
- package/src/Common/CustomTagSelector/PropagateTagInfo.tsx +0 -46
- package/src/Common/CustomTagSelector/ResizableTagTextArea.tsx +0 -84
- package/src/Common/CustomTagSelector/TagDetails.tsx +0 -76
- package/src/Common/CustomTagSelector/TagLabelSelect.tsx +0 -61
- package/src/Common/CustomTagSelector/TagLabelValueSelector.tsx +0 -198
- package/src/Common/CustomTagSelector/TagSelector.utils.ts +0 -71
- package/src/Common/CustomTagSelector/Types.ts +0 -72
- package/src/Common/CustomTagSelector/ValidationRules.ts +0 -58
- package/src/Common/CustomTagSelector/index.ts +0 -6
- package/src/Common/DebouncedSearch/DebouncedSearch.tsx +0 -78
- package/src/Common/DebouncedSearch/Types.ts +0 -13
- package/src/Common/DebouncedSearch/Utils.ts +0 -19
- package/src/Common/DebouncedSearch/__tests__/DebouncedSearch.test.tsx +0 -61
- package/src/Common/DeleteComponentModal/DeleteComponent.tsx +0 -95
- package/src/Common/DeleteComponentModal/types.ts +0 -15
- package/src/Common/DevtronProgressing/DevtronProgressing.tsx +0 -11
- package/src/Common/DevtronProgressing/index.ts +0 -1
- package/src/Common/DevtronProgressing/types.ts +0 -4
- package/src/Common/Dialogs/ConfirmationDialog.tsx +0 -34
- package/src/Common/Dialogs/DeleteDialog.tsx +0 -69
- package/src/Common/Dialogs/DialogForm.tsx +0 -86
- package/src/Common/Dialogs/ForceDeleteDialog.tsx +0 -19
- package/src/Common/Dialogs/Types.ts +0 -47
- package/src/Common/Dialogs/index.ts +0 -4
- package/src/Common/DraggableWrapper/DraggableButton.tsx +0 -14
- package/src/Common/DraggableWrapper/DraggableWrapper.tsx +0 -116
- package/src/Common/DraggableWrapper/index.ts +0 -3
- package/src/Common/DraggableWrapper/types.ts +0 -27
- package/src/Common/Drawer/Drawer.scss +0 -40
- package/src/Common/Drawer/Drawer.tsx +0 -49
- package/src/Common/EmptyState/EmptyState.tsx +0 -42
- package/src/Common/EmptyState/GenericEmptyState.tsx +0 -81
- package/src/Common/EmptyState/emptyState.scss +0 -74
- package/src/Common/Error.tsx +0 -61
- package/src/Common/ErrorScreenNotFound.tsx +0 -31
- package/src/Common/Grid/Grid.tsx +0 -44
- package/src/Common/Grid/types.ts +0 -11
- package/src/Common/Helper.tsx +0 -576
- package/src/Common/Hooks/UseClickOutside/UseClickOutside.tsx +0 -15
- package/src/Common/Hooks/UseSuperAdmin/UseSuperAdmin.tsx +0 -24
- package/src/Common/Hooks/UseSuperAdmin/types.ts +0 -3
- package/src/Common/Hooks/UseWindowSize/UseWindowSize.tsx +0 -31
- package/src/Common/Hooks/index.ts +0 -4
- package/src/Common/Hooks/useUrlFilters/constants.ts +0 -9
- package/src/Common/Hooks/useUrlFilters/index.ts +0 -2
- package/src/Common/Hooks/useUrlFilters/types.ts +0 -6
- package/src/Common/Hooks/useUrlFilters/useUrlFilters.ts +0 -121
- package/src/Common/ImageTags.Types.ts +0 -44
- package/src/Common/ImageTags.tsx +0 -586
- package/src/Common/InfoColorBar/InfoColourbar.tsx +0 -80
- package/src/Common/InfoColorBar/infoColourBar.scss +0 -28
- package/src/Common/Modals/Modal.tsx +0 -68
- package/src/Common/Modals/OpaqueModal.tsx +0 -36
- package/src/Common/Modals/VisibleModal.tsx +0 -55
- package/src/Common/Modals/VisibleModal2.tsx +0 -35
- package/src/Common/MultiSelectCustomization.tsx +0 -148
- package/src/Common/Pagination/PageSizeSelector.tsx +0 -78
- package/src/Common/Pagination/Pagination.tsx +0 -127
- package/src/Common/Pagination/constants.ts +0 -6
- package/src/Common/Pagination/index.tsx +0 -3
- package/src/Common/Pagination/pagination.scss +0 -123
- package/src/Common/Pagination/types.ts +0 -55
- package/src/Common/Pagination/utils.tsx +0 -24
- package/src/Common/Policy.Types.ts +0 -63
- package/src/Common/PopupMenu.tsx +0 -199
- package/src/Common/Progressing.tsx +0 -53
- package/src/Common/RJSF/Form.tsx +0 -29
- package/src/Common/RJSF/common/FieldRow.tsx +0 -35
- package/src/Common/RJSF/common/types.ts +0 -9
- package/src/Common/RJSF/config.ts +0 -37
- package/src/Common/RJSF/constants.ts +0 -10
- package/src/Common/RJSF/index.ts +0 -3
- package/src/Common/RJSF/rjsfForm.scss +0 -18
- package/src/Common/RJSF/templates/ArrayFieldItemTemplate.tsx +0 -31
- package/src/Common/RJSF/templates/ArrayFieldTemplate.tsx +0 -78
- package/src/Common/RJSF/templates/BaseInput.tsx +0 -16
- package/src/Common/RJSF/templates/ButtonTemplates/AddButton.tsx +0 -18
- package/src/Common/RJSF/templates/ButtonTemplates/RemoveButton.tsx +0 -10
- package/src/Common/RJSF/templates/ButtonTemplates/SubmitButton.tsx +0 -18
- package/src/Common/RJSF/templates/ButtonTemplates/index.ts +0 -3
- package/src/Common/RJSF/templates/Description.tsx +0 -12
- package/src/Common/RJSF/templates/Field.tsx +0 -30
- package/src/Common/RJSF/templates/FieldErrorTemplate.tsx +0 -25
- package/src/Common/RJSF/templates/ObjectFieldTemplate.tsx +0 -105
- package/src/Common/RJSF/templates/TitleField.tsx +0 -9
- package/src/Common/RJSF/templates/WrapIfAdditionalTemplate.tsx +0 -51
- package/src/Common/RJSF/templates/index.ts +0 -10
- package/src/Common/RJSF/types.ts +0 -4
- package/src/Common/RJSF/utils.ts +0 -123
- package/src/Common/RJSF/widgets/Checkbox.tsx +0 -44
- package/src/Common/RJSF/widgets/Select.tsx +0 -77
- package/src/Common/RJSF/widgets/index.ts +0 -2
- package/src/Common/RadioGroup/RadioGroup.tsx +0 -105
- package/src/Common/RadioGroup/radioGroup.scss +0 -46
- package/src/Common/RadioGroup.tsx +0 -53
- package/src/Common/Reload.tsx +0 -23
- package/src/Common/ResizableTextarea.tsx +0 -73
- package/src/Common/SearchBar/SearchBar.component.tsx +0 -120
- package/src/Common/SearchBar/index.ts +0 -2
- package/src/Common/SearchBar/searchBar.scss +0 -31
- package/src/Common/SearchBar/types.ts +0 -36
- package/src/Common/Security/ScanVulnerabilitiesTable.tsx +0 -55
- package/src/Common/Security/scanVulnerabilities.css +0 -69
- package/src/Common/ServerError.ts +0 -31
- package/src/Common/SortableTableHeaderCell/SortableTableHeaderCell.tsx +0 -44
- package/src/Common/SortableTableHeaderCell/index.ts +0 -2
- package/src/Common/SortableTableHeaderCell/types.ts +0 -26
- package/src/Common/TippyCustomized.tsx +0 -172
- package/src/Common/ToastBody.tsx +0 -62
- package/src/Common/Toggle/Toggle.scss +0 -78
- package/src/Common/Toggle/Toggle.tsx +0 -50
- package/src/Common/Types.ts +0 -776
- package/src/Common/index.ts +0 -51
- package/src/Pages/GlobalConfigurations/Authorization/constants.ts +0 -16
- package/src/Pages/GlobalConfigurations/Authorization/index.ts +0 -1
- package/src/Pages/GlobalConfigurations/index.ts +0 -1
- package/src/Pages/index.ts +0 -1
- package/src/custom.d.ts +0 -13
- package/src/index.ts +0 -2
- package/tsconfig.json +0 -40
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { j as e } from "../../jsx-runtime-0dcb030c.js";
|
|
2
|
+
import { useState as g } from "react";
|
|
3
|
+
import { useHistory as v } from "react-router-dom";
|
|
4
|
+
import { t as E } from "../../react-toastify.esm-1042de65.js";
|
|
5
|
+
import { i as M } from "../../ic-info-filled-31a15add.js";
|
|
6
|
+
import s from "../Dialogs/ConfirmationDialog.js";
|
|
7
|
+
import { DeleteDialog as f } from "../Dialogs/DeleteDialog.js";
|
|
8
|
+
import "../Dialogs/DialogForm.js";
|
|
9
|
+
import { ServerErrors as N } from "../ServerError.js";
|
|
10
|
+
const R = ({
|
|
11
|
+
setDeleting: a,
|
|
12
|
+
toggleConfirmation: r,
|
|
13
|
+
deleteComponent: d,
|
|
14
|
+
title: l,
|
|
15
|
+
component: o,
|
|
16
|
+
payload: u,
|
|
17
|
+
confirmationDialogDescription: m = "",
|
|
18
|
+
redirectTo: p = !1,
|
|
19
|
+
url: D = "",
|
|
20
|
+
reload: h,
|
|
21
|
+
configuration: x = "",
|
|
22
|
+
closeCustomComponent: t
|
|
23
|
+
}) => {
|
|
24
|
+
const [i, n] = g(!1), { push: y } = v();
|
|
25
|
+
async function j() {
|
|
26
|
+
a(!0);
|
|
27
|
+
try {
|
|
28
|
+
await d(u), E.success("Successfully deleted"), r(!1), p ? y(D) : h(), typeof t == "function" && t();
|
|
29
|
+
} catch (c) {
|
|
30
|
+
c instanceof N && c.code === 500 && n(!0);
|
|
31
|
+
} finally {
|
|
32
|
+
a(!1);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
const w = () => {
|
|
36
|
+
n(!1), r(!1), typeof t == "function" && t();
|
|
37
|
+
}, $ = () => /* @__PURE__ */ e.jsxs(s, { className: "confirmation-dialog__body--w-360", children: [
|
|
38
|
+
/* @__PURE__ */ e.jsx(s.Icon, { src: M }),
|
|
39
|
+
/* @__PURE__ */ e.jsx(s.Body, { title: `Cannot delete ${o} '${l}'` }),
|
|
40
|
+
/* @__PURE__ */ e.jsx("p", { className: "fs-13 cn-7 ", children: m }),
|
|
41
|
+
/* @__PURE__ */ e.jsx(s.ButtonGroup, { children: /* @__PURE__ */ e.jsx("button", { type: "button", className: "cta", onClick: w, children: "Okay" }) })
|
|
42
|
+
] }), b = () => /* @__PURE__ */ e.jsx(
|
|
43
|
+
f,
|
|
44
|
+
{
|
|
45
|
+
title: `Delete ${o} '${l}'`,
|
|
46
|
+
delete: j,
|
|
47
|
+
closeDelete: () => r(!1),
|
|
48
|
+
dataTestId: "delete-dialog",
|
|
49
|
+
children: /* @__PURE__ */ e.jsx(f.Description, { children: /* @__PURE__ */ e.jsxs("p", { children: [
|
|
50
|
+
"Are you sure you want to delete this ",
|
|
51
|
+
x || o,
|
|
52
|
+
"? "
|
|
53
|
+
] }) })
|
|
54
|
+
}
|
|
55
|
+
);
|
|
56
|
+
return /* @__PURE__ */ e.jsxs("div", { children: [
|
|
57
|
+
!i && b(),
|
|
58
|
+
i && $()
|
|
59
|
+
] });
|
|
60
|
+
};
|
|
61
|
+
export {
|
|
62
|
+
R as default
|
|
63
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export interface DeleteComponentProps {
|
|
2
|
-
setDeleting: (boolean: any) => void;
|
|
3
|
-
toggleConfirmation: any;
|
|
4
|
-
deleteComponent: (any: any) => Promise<any>;
|
|
5
|
-
title: string;
|
|
6
|
-
component: string;
|
|
7
|
-
payload: any;
|
|
8
|
-
confirmationDialogDescription?: string;
|
|
9
|
-
redirectTo?: boolean;
|
|
10
|
-
url?: string;
|
|
11
|
-
reload?: () => void;
|
|
12
|
-
configuration?: string;
|
|
13
|
-
dataTestid?: string;
|
|
14
|
-
closeCustomComponent?: () => void;
|
|
15
|
-
}
|
|
1
|
+
export interface DeleteComponentProps {
|
|
2
|
+
setDeleting: (boolean: any) => void;
|
|
3
|
+
toggleConfirmation: any;
|
|
4
|
+
deleteComponent: (any: any) => Promise<any>;
|
|
5
|
+
title: string;
|
|
6
|
+
component: string;
|
|
7
|
+
payload: any;
|
|
8
|
+
confirmationDialogDescription?: string;
|
|
9
|
+
redirectTo?: boolean;
|
|
10
|
+
url?: string;
|
|
11
|
+
reload?: () => void;
|
|
12
|
+
configuration?: string;
|
|
13
|
+
dataTestid?: string;
|
|
14
|
+
closeCustomComponent?: () => void;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare function DevtronProgressing({ classes, parentClasses }: DevtronProgressingProps): JSX.Element;
|
|
1
|
+
import { DevtronProgressingProps } from './types';
|
|
2
|
+
export declare const DevtronProgressing: ({ classes, parentClasses }: DevtronProgressingProps) => JSX.Element;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { j as e } from "../../jsx-runtime-0dcb030c.js";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
const a = (t) => /* @__PURE__ */ n.createElement("svg", { width: 80, height: 80, viewBox: "0 0 100 100", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ n.createElement("style", null, `
|
|
4
|
+
.svg__loader_group-top {
|
|
5
|
+
animation: top-shape 1.2s infinite;
|
|
6
|
+
transform-origin: center center;
|
|
7
|
+
}
|
|
8
|
+
.svg__loader_group-bottom {
|
|
9
|
+
animation: bottom-shape 1.2s infinite;
|
|
10
|
+
transform-origin: center center;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.svg__loader_shapepath-top {
|
|
14
|
+
animation: path-fill 1.2s infinite;
|
|
15
|
+
}
|
|
16
|
+
.svg__loader_shapepath-bottom {
|
|
17
|
+
animation: path-fill 1.2s infinite;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.svg__loader_rotating-group {
|
|
21
|
+
animation: rotate-group 1.2s infinite reverse;
|
|
22
|
+
transform-origin: center center;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@keyframes path-fill {
|
|
26
|
+
0% {
|
|
27
|
+
fill: #3989D9;
|
|
28
|
+
}
|
|
29
|
+
30% {
|
|
30
|
+
fill: #3989D9;
|
|
31
|
+
}
|
|
32
|
+
45% {
|
|
33
|
+
fill: #ABCFF3;
|
|
34
|
+
}
|
|
35
|
+
100% {
|
|
36
|
+
fill: #3989D9;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@keyframes top-shape {
|
|
41
|
+
0% {
|
|
42
|
+
transform: translateX(0px) translateY(0px) rotate(0deg);
|
|
43
|
+
transform-origin: center center;
|
|
44
|
+
}
|
|
45
|
+
30% {
|
|
46
|
+
transform: translateX(0px) translateY(0px) rotate(10deg);
|
|
47
|
+
transform-origin: center center;
|
|
48
|
+
}
|
|
49
|
+
45% {
|
|
50
|
+
transform: translateX(-6px) translateY(-6px) rotate(15deg);
|
|
51
|
+
transform-origin: center center;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
100% {
|
|
55
|
+
transform: translateX(0px) translateY(0px) rotate(0deg);
|
|
56
|
+
transform-origin: center center;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@keyframes bottom-shape {
|
|
61
|
+
0% {
|
|
62
|
+
transform: translateX(0px) translateY(0px) rotate(0deg);
|
|
63
|
+
transform-origin: center center;
|
|
64
|
+
}
|
|
65
|
+
30% {
|
|
66
|
+
transform: translateX(0px) translateY(0px) rotate(10deg);
|
|
67
|
+
transform-origin: center center;
|
|
68
|
+
}
|
|
69
|
+
45% {
|
|
70
|
+
transform: translateX(6px) translateY(6px) rotate(15deg);
|
|
71
|
+
transform-origin: center center;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
100% {
|
|
75
|
+
transform: translateX(0px) translateY(0px) rotate(0deg);
|
|
76
|
+
transform-origin: center center;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@keyframes rotate-group {
|
|
81
|
+
0% {
|
|
82
|
+
transform: rotate(0deg);
|
|
83
|
+
}
|
|
84
|
+
44% {
|
|
85
|
+
transform: rotate(0deg);
|
|
86
|
+
}
|
|
87
|
+
100% {
|
|
88
|
+
transform: rotate(360deg);
|
|
89
|
+
animation-timing-function: ease-in-out;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
`), /* @__PURE__ */ n.createElement("rect", { width: 100, height: 100, rx: 20, fill: "#E5F2FF" }), /* @__PURE__ */ n.createElement("g", { className: "svg__loader_rotating-group" }, /* @__PURE__ */ n.createElement("g", { className: "svg__loader_group-top" }, /* @__PURE__ */ n.createElement("path", { className: "svg__loader_shapepath-top", d: "M59.8584 21.95L38.6084 21.875C36.8042 21.8667 35.1292 22.8125 34.1792 24.3667L19.4625 48.5167C18.9899 49.293 18.7427 50.1855 18.7486 51.0943C18.7545 52.0031 19.0132 52.8924 19.4958 53.6625L30.9125 71.8792C31.2183 72.533 31.7308 73.0679 32.3709 73.4015C33.011 73.7351 33.7431 73.8488 34.4542 73.725C35.141 73.5973 35.7703 73.2572 36.2533 72.7525C36.7362 72.2478 37.0485 71.6042 37.1459 70.9125C37.2338 70.2725 37.143 69.6207 36.8834 69.0292L36.8334 68.9458C36.7375 68.7458 36.6167 68.5583 36.4875 68.3833L35.1958 66.3083L28.3458 55.3583C27.9912 54.8612 27.7883 54.2719 27.7617 53.6618C27.735 53.0517 27.8858 52.447 28.1958 51.9208C30.175 48.5958 34.5125 41.5042 35.4875 40.3458C35.854 40.0077 36.2862 39.7489 36.7572 39.5854C37.2282 39.4219 37.7279 39.3574 38.225 39.3958L43.6208 39.8125C43.8939 39.8472 44.1535 39.951 44.3752 40.1142C44.5969 40.2773 44.7733 40.4943 44.8876 40.7447C45.0019 40.9951 45.0504 41.2705 45.0286 41.5448C45.0067 41.8192 44.9151 42.0834 44.7625 42.3125L42.5125 45.7917C42.3947 45.9427 42.2915 46.1045 42.2042 46.275V46.2792C41.8913 46.8936 41.8029 47.5981 41.9542 48.2708C42.0838 48.8505 42.391 49.3753 42.833 49.7721C43.275 50.1689 43.8298 50.4179 44.4201 50.4844C45.0103 50.5509 45.6066 50.4316 46.1259 50.1431C46.6451 49.8546 47.0614 49.4113 47.3167 48.875L62.0625 26.225C63.2084 24.4667 62.0709 22.0625 60 21.9542C59.9528 21.9515 59.9056 21.9501 59.8584 21.95Z", fill: "#3989D9" })), /* @__PURE__ */ n.createElement("g", { className: "svg__loader_group-bottom" }, /* @__PURE__ */ n.createElement("path", { className: "svg__loader_shapepath-bottom", d: "M65.4458 26.2375C66.1567 26.1108 66.8896 26.2217 67.5313 26.553C68.1729 26.8844 68.6876 27.4178 68.9958 28.0709L80.4875 46.2334C81.4833 47.7959 81.5041 49.7959 80.55 51.3792L65.9375 75.5917C65.4801 76.3555 64.8332 76.9882 64.0594 77.4284C63.2855 77.8686 62.4111 78.1014 61.5208 78.1042L40.2708 78.125C40.2236 78.1263 40.1764 78.1263 40.1291 78.125C38.0583 78.025 36.9125 75.625 38.0458 73.8625L52.6916 51.1459C52.9442 50.6078 53.3584 50.162 53.8765 49.8707C54.3946 49.5794 54.9907 49.4571 55.5816 49.5209C56.1725 49.5847 56.7288 49.8313 57.1728 50.2265C57.6168 50.6216 57.9264 51.1455 58.0583 51.725C58.2135 52.3963 58.1295 53.1007 57.8208 53.7167C57.7327 53.8889 57.628 54.0564 57.5083 54.2084L55.2791 57.6959C55.1264 57.9255 55.035 58.1904 55.0135 58.4654C54.9921 58.7403 55.0413 59.0162 55.1566 59.2667C55.2718 59.5173 55.4493 59.7342 55.672 59.8968C55.8947 60.0595 56.1554 60.1624 56.4291 60.1959L61.8291 60.5875C62.3261 60.6226 62.8249 60.5548 63.2944 60.3885C63.764 60.2222 64.1942 59.9609 64.5583 59.6209C65.1 58.975 66.6666 56.4959 68.2916 53.8417L69.2666 52.2459C70.2333 50.6542 71.1458 49.1209 71.8041 48.0125C72.1109 47.4853 72.2584 46.8805 72.2288 46.2712C72.1992 45.6619 71.9938 45.0743 71.6375 44.5792L71.6583 44.5667L64.7375 33.6584L63.4416 31.5875C63.3053 31.4122 63.1866 31.2238 63.0875 31.025L63.0375 30.95C62.7742 30.3581 62.6805 29.7046 62.7666 29.0625C62.8608 28.3703 63.1702 27.7251 63.6509 27.2182C64.1317 26.7113 64.7595 26.3682 65.4458 26.2375Z", fill: "#3989D9" })))), s = ({ classes: t, parentClasses: r }) => /* @__PURE__ */ e.jsx("div", { className: r || "", children: /* @__PURE__ */ e.jsx(a, { className: t || "" }) });
|
|
93
|
+
export {
|
|
94
|
+
s as DevtronProgressing
|
|
95
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './DevtronProgressing';
|
|
1
|
+
export * from './DevtronProgressing';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface DevtronProgressingProps {
|
|
2
|
-
classes?: string;
|
|
3
|
-
parentClasses?: string;
|
|
4
|
-
}
|
|
1
|
+
export interface DevtronProgressingProps {
|
|
2
|
+
classes?: string;
|
|
3
|
+
parentClasses?: string;
|
|
4
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export default ConfirmationDialog;
|
|
1
|
+
import { ConfirmationDialogBodyType, ConfirmationDialogButtonGroupType, ConfirmationDialogIconType, ConfirmationDialogType } from './Types';
|
|
2
|
+
declare const ConfirmationDialog: {
|
|
3
|
+
({ className, children }: ConfirmationDialogType): JSX.Element;
|
|
4
|
+
Icon: ({ src, className }: ConfirmationDialogIconType) => JSX.Element;
|
|
5
|
+
Body: ({ title, subtitle, children }: ConfirmationDialogBodyType) => JSX.Element;
|
|
6
|
+
ButtonGroup: ({ children }: ConfirmationDialogButtonGroupType) => JSX.Element;
|
|
7
|
+
};
|
|
8
|
+
export default ConfirmationDialog;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { j as i } from "../../jsx-runtime-0dcb030c.js";
|
|
2
|
+
import { VisibleModal2 as s } from "../Modals/VisibleModal2.js";
|
|
3
|
+
const l = ({ className: o = "", children: a }) => /* @__PURE__ */ i.jsx(s, { className: "confirmation-dialog", children: /* @__PURE__ */ i.jsx("div", { className: `confirmation-dialog__body ${o}`, children: a }) }), t = ({ src: o, className: a = "" }) => /* @__PURE__ */ i.jsx("img", { src: o, className: `confirmation-dialog__icon ${a}`, alt: "" }), c = ({ title: o, subtitle: a = null, children: n = null }) => /* @__PURE__ */ i.jsxs("div", { className: "flex left column ", children: [
|
|
4
|
+
/* @__PURE__ */ i.jsx("h3", { className: "confirmation-dialog__title lh-1-5 dc__break-word w-100", children: o }),
|
|
5
|
+
a && /* @__PURE__ */ i.jsx("div", { className: "confirmation-dialog__subtitle", children: a }),
|
|
6
|
+
n
|
|
7
|
+
] }), r = ({ children: o }) => /* @__PURE__ */ i.jsx("div", { className: "flex right confirmation-dialog__button-group", children: o });
|
|
8
|
+
l.Icon = t;
|
|
9
|
+
l.Body = c;
|
|
10
|
+
l.ButtonGroup = r;
|
|
11
|
+
export {
|
|
12
|
+
l as default
|
|
13
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DeleteDialogProps } from './Types';
|
|
3
|
-
export declare const DeleteDialog: React.FC<DeleteDialogProps> & {
|
|
4
|
-
Description?: React.FC<any>;
|
|
5
|
-
};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DeleteDialogProps } from './Types';
|
|
3
|
+
export declare const DeleteDialog: React.FC<DeleteDialogProps> & {
|
|
4
|
+
Description?: React.FC<any>;
|
|
5
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { j as i } from "../../jsx-runtime-0dcb030c.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { Progressing as a } from "../Progressing.js";
|
|
4
|
+
import g from "./ConfirmationDialog.js";
|
|
5
|
+
const d = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgdmlld0JveD0iMCAwIDQ4IDQ4Ij4KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPHBhdGggZD0iTTAgMGg0OHY0OEgweiIvPgogICAgICAgIDxnIGZpbGw9IiNGRkVCRUIiIHN0cm9rZT0iI0YzM0UzRSIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIj4KICAgICAgICAgICAgPHBhdGggZD0iTTcgMjRoMjR2MTdhNCA0IDAgMCAxLTQgNEgxMWE0IDQgMCAwIDEtNC00VjI0eiIvPgogICAgICAgICAgICA8cGF0aCBzdHJva2UtbGluZWNhcD0icm91bmQiIGQ9Ik0xOSAyOS41djEwTTI0IDI5LjV2MTBNMTQgMjkuNXYxMCIvPgogICAgICAgIDwvZz4KICAgICAgICA8cGF0aCBzdHJva2U9IiNGMzNFM0UiIHN0cm9rZS1kYXNoYXJyYXk9IjE3LDMiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiBkPSJNNDIgMTBhMyAzIDAgMCAxIDAgNkgzMU0zOCAyM2EzIDMgMCAwIDAtMy0zaC04Ii8+CiAgICAgICAgPGcgc3Ryb2tlPSIjRjMzRTNFIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjIiIHRyYW5zZm9ybT0icm90YXRlKC0xMCAzNi4yOSAtOC44NikiPgogICAgICAgICAgICA8cmVjdCB3aWR0aD0iMzAiIGhlaWdodD0iNSIgeT0iNiIgZmlsbD0iI0ZGRUJFQiIgcng9IjEiLz4KICAgICAgICAgICAgPHBhdGggZD0iTTExIDBoOGEyIDIgMCAwIDEgMiAydjRIOVYyYTIgMiAwIDAgMSAyLTJ6Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K", C = (I) => {
|
|
6
|
+
const t = (e) => {
|
|
7
|
+
I.shouldStopPropagation && e.stopPropagation(), I.delete();
|
|
8
|
+
}, l = (e) => {
|
|
9
|
+
I.shouldStopPropagation && e.stopPropagation(), I.closeDelete();
|
|
10
|
+
};
|
|
11
|
+
return /* @__PURE__ */ i.jsxs(g, { className: "confirmation-dialog__body--w-400", children: [
|
|
12
|
+
/* @__PURE__ */ i.jsx(g.Icon, { src: d }),
|
|
13
|
+
/* @__PURE__ */ i.jsx(g.Body, { title: I.title, children: /* @__PURE__ */ i.jsxs("div", { className: "fs-13 cn-7 lh-1-54 w-100", children: [
|
|
14
|
+
I.description ? I.description : null,
|
|
15
|
+
I.children
|
|
16
|
+
] }) }),
|
|
17
|
+
/* @__PURE__ */ i.jsx(g.ButtonGroup, { children: /* @__PURE__ */ i.jsxs("div", { className: "flex right", children: [
|
|
18
|
+
/* @__PURE__ */ i.jsx(
|
|
19
|
+
"button",
|
|
20
|
+
{
|
|
21
|
+
type: "button",
|
|
22
|
+
className: "cta cancel cta-cd-delete-modal ml-16",
|
|
23
|
+
onClick: l,
|
|
24
|
+
disabled: I.apiCallInProgress,
|
|
25
|
+
"data-testid": "dialog-cancel",
|
|
26
|
+
children: "Cancel"
|
|
27
|
+
}
|
|
28
|
+
),
|
|
29
|
+
/* @__PURE__ */ i.jsx(
|
|
30
|
+
"button",
|
|
31
|
+
{
|
|
32
|
+
type: "button",
|
|
33
|
+
className: "cta delete cta-cd-delete-modal ml-16",
|
|
34
|
+
onClick: t,
|
|
35
|
+
disabled: I.apiCallInProgress || I.disabled,
|
|
36
|
+
"data-testid": "dialog-delete",
|
|
37
|
+
children: I.apiCallInProgress ? /* @__PURE__ */ i.jsx(a, {}) : `${I.deletePrefix || ""}${I.buttonPrimaryText ? I.buttonPrimaryText : "Delete"}${I.deletePostfix || ""}`
|
|
38
|
+
}
|
|
39
|
+
)
|
|
40
|
+
] }) })
|
|
41
|
+
] });
|
|
42
|
+
}, c = (I) => /* @__PURE__ */ i.jsx(i.Fragment, { children: I.children });
|
|
43
|
+
C.Description = c;
|
|
44
|
+
export {
|
|
45
|
+
C as DeleteDialog
|
|
46
|
+
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import { DialogFormProps } from './Types';
|
|
3
|
-
export declare class DialogForm extends Component<DialogFormProps> {
|
|
4
|
-
constructor(props: any);
|
|
5
|
-
componentDidMount(): void;
|
|
6
|
-
componentWillUnmount(): void;
|
|
7
|
-
escFunction(event: any): void;
|
|
8
|
-
render(): JSX.Element;
|
|
9
|
-
}
|
|
10
|
-
export declare class DialogFormSubmit extends Component<{
|
|
11
|
-
tabIndex: number;
|
|
12
|
-
}> {
|
|
13
|
-
render(): JSX.Element;
|
|
14
|
-
}
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
import { DialogFormProps } from './Types';
|
|
3
|
+
export declare class DialogForm extends Component<DialogFormProps> {
|
|
4
|
+
constructor(props: any);
|
|
5
|
+
componentDidMount(): void;
|
|
6
|
+
componentWillUnmount(): void;
|
|
7
|
+
escFunction(event: any): void;
|
|
8
|
+
render(): JSX.Element;
|
|
9
|
+
}
|
|
10
|
+
export declare class DialogFormSubmit extends Component<{
|
|
11
|
+
tabIndex: number;
|
|
12
|
+
}> {
|
|
13
|
+
render(): JSX.Element;
|
|
14
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { j as s } from "../../jsx-runtime-0dcb030c.js";
|
|
2
|
+
import { createContext as r, Component as n } from "react";
|
|
3
|
+
import { VisibleModal as a } from "../Modals/VisibleModal.js";
|
|
4
|
+
import { c } from "../../ic-cross-0e71861d.js";
|
|
5
|
+
import { Progressing as l } from "../Progressing.js";
|
|
6
|
+
const t = r({ title: "", isLoading: !1, close: (o) => {
|
|
7
|
+
}, onSave: (o) => {
|
|
8
|
+
} });
|
|
9
|
+
class x extends n {
|
|
10
|
+
constructor(e) {
|
|
11
|
+
super(e), this.escFunction = this.escFunction.bind(this);
|
|
12
|
+
}
|
|
13
|
+
componentDidMount() {
|
|
14
|
+
document.addEventListener("keydown", this.escFunction);
|
|
15
|
+
}
|
|
16
|
+
componentWillUnmount() {
|
|
17
|
+
document.removeEventListener("keydown", this.escFunction);
|
|
18
|
+
}
|
|
19
|
+
escFunction(e) {
|
|
20
|
+
e.keyCode === 27 && this.props.closeOnESC && this.props.close(e);
|
|
21
|
+
}
|
|
22
|
+
render() {
|
|
23
|
+
return /* @__PURE__ */ s.jsx(
|
|
24
|
+
t.Provider,
|
|
25
|
+
{
|
|
26
|
+
value: {
|
|
27
|
+
title: this.props.title,
|
|
28
|
+
isLoading: this.props.isLoading,
|
|
29
|
+
close: this.props.close,
|
|
30
|
+
onSave: this.props.onSave
|
|
31
|
+
},
|
|
32
|
+
children: /* @__PURE__ */ s.jsx(a, { className: "", children: /* @__PURE__ */ s.jsxs("div", { className: `modal__body ${this.props.className || ""}`, children: [
|
|
33
|
+
/* @__PURE__ */ s.jsxs("div", { className: `modal__header ${this.props.headerClassName || ""}`, children: [
|
|
34
|
+
/* @__PURE__ */ s.jsx("h1", { className: "modal__title", children: this.props.title }),
|
|
35
|
+
/* @__PURE__ */ s.jsxs("button", { type: "button", className: "dc__transparent", onClick: this.props.close, children: [
|
|
36
|
+
" ",
|
|
37
|
+
/* @__PURE__ */ s.jsx("img", { src: c, alt: "close" })
|
|
38
|
+
] })
|
|
39
|
+
] }),
|
|
40
|
+
/* @__PURE__ */ s.jsx(t.Consumer, { children: (e) => /* @__PURE__ */ s.jsx(
|
|
41
|
+
"form",
|
|
42
|
+
{
|
|
43
|
+
noValidate: !0,
|
|
44
|
+
onSubmit: (i) => {
|
|
45
|
+
i.preventDefault(), e.isLoading || e.onSave(i);
|
|
46
|
+
},
|
|
47
|
+
children: this.props.children
|
|
48
|
+
}
|
|
49
|
+
) })
|
|
50
|
+
] }) })
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
class j extends n {
|
|
56
|
+
render() {
|
|
57
|
+
return /* @__PURE__ */ s.jsx(t.Consumer, { children: (e) => /* @__PURE__ */ s.jsx("button", { type: "submit", className: "cta dc__align-right", tabIndex: this.props.tabIndex, children: e.isLoading ? /* @__PURE__ */ s.jsx(l, {}) : this.props.children }) });
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
export {
|
|
61
|
+
x as DialogForm,
|
|
62
|
+
j as DialogFormSubmit
|
|
63
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ForceDeleteDialogType } from './Types';
|
|
3
|
-
export default function ForceDeleteDialog({ onClickDelete, closeDeleteModal, forceDeleteDialogTitle, forceDeleteDialogMessage }: ForceDeleteDialogType): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ForceDeleteDialogType } from './Types';
|
|
3
|
+
export default function ForceDeleteDialog({ onClickDelete, closeDeleteModal, forceDeleteDialogTitle, forceDeleteDialogMessage, }: ForceDeleteDialogType): JSX.Element;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { j as e } from "../../jsx-runtime-0dcb030c.js";
|
|
2
|
+
import { DeleteDialog as r } from "./DeleteDialog.js";
|
|
3
|
+
function d({
|
|
4
|
+
onClickDelete: o,
|
|
5
|
+
closeDeleteModal: t,
|
|
6
|
+
forceDeleteDialogTitle: i,
|
|
7
|
+
forceDeleteDialogMessage: l
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(
|
|
10
|
+
r,
|
|
11
|
+
{
|
|
12
|
+
title: i,
|
|
13
|
+
delete: o,
|
|
14
|
+
closeDelete: t,
|
|
15
|
+
deletePrefix: "Force ",
|
|
16
|
+
children: /* @__PURE__ */ e.jsxs(r.Description, { children: [
|
|
17
|
+
/* @__PURE__ */ e.jsxs("p", { className: "mt-12 mb-12 p-8 dc__break-word dc__window-bg", children: [
|
|
18
|
+
"Error: ",
|
|
19
|
+
l
|
|
20
|
+
] }),
|
|
21
|
+
/* @__PURE__ */ e.jsx("p", { children: "Do you want to force delete?" })
|
|
22
|
+
] })
|
|
23
|
+
}
|
|
24
|
+
) });
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
d as default
|
|
28
|
+
};
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { ReactNode } from
|
|
2
|
-
export interface DeleteDialogProps {
|
|
3
|
-
title: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
closeDelete: () => void;
|
|
6
|
-
delete: () => any;
|
|
7
|
-
deletePrefix?: string;
|
|
8
|
-
deletePostfix?: string;
|
|
9
|
-
apiCallInProgress?: boolean;
|
|
10
|
-
dataTestId?: string;
|
|
11
|
-
buttonPrimaryText?: string;
|
|
12
|
-
shouldStopPropagation?: boolean;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface ForceDeleteDialogType {
|
|
16
|
-
onClickDelete: () => void;
|
|
17
|
-
closeDeleteModal: () => void;
|
|
18
|
-
forceDeleteDialogTitle: string;
|
|
19
|
-
forceDeleteDialogMessage: string;
|
|
20
|
-
}
|
|
21
|
-
export interface ConfirmationDialogType {
|
|
22
|
-
className?: string;
|
|
23
|
-
children: any;
|
|
24
|
-
}
|
|
25
|
-
export interface ConfirmationDialogIconType {
|
|
26
|
-
src: string;
|
|
27
|
-
className?: string;
|
|
28
|
-
}
|
|
29
|
-
export interface ConfirmationDialogBodyType {
|
|
30
|
-
title: string;
|
|
31
|
-
subtitle?: ReactNode;
|
|
32
|
-
children?: any;
|
|
33
|
-
}
|
|
34
|
-
export interface ConfirmationDialogButtonGroupType {
|
|
35
|
-
children: any;
|
|
36
|
-
}
|
|
37
|
-
export interface DialogFormProps {
|
|
38
|
-
className: string;
|
|
39
|
-
title: string;
|
|
40
|
-
isLoading: boolean;
|
|
41
|
-
closeOnESC?: boolean;
|
|
42
|
-
close: (event: any) => void;
|
|
43
|
-
onSave: (event: any) => void;
|
|
44
|
-
headerClassName?: string;
|
|
45
|
-
}
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface DeleteDialogProps {
|
|
3
|
+
title: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
closeDelete: () => void;
|
|
6
|
+
delete: () => any;
|
|
7
|
+
deletePrefix?: string;
|
|
8
|
+
deletePostfix?: string;
|
|
9
|
+
apiCallInProgress?: boolean;
|
|
10
|
+
dataTestId?: string;
|
|
11
|
+
buttonPrimaryText?: string;
|
|
12
|
+
shouldStopPropagation?: boolean;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface ForceDeleteDialogType {
|
|
16
|
+
onClickDelete: () => void;
|
|
17
|
+
closeDeleteModal: () => void;
|
|
18
|
+
forceDeleteDialogTitle: string;
|
|
19
|
+
forceDeleteDialogMessage: string;
|
|
20
|
+
}
|
|
21
|
+
export interface ConfirmationDialogType {
|
|
22
|
+
className?: string;
|
|
23
|
+
children: any;
|
|
24
|
+
}
|
|
25
|
+
export interface ConfirmationDialogIconType {
|
|
26
|
+
src: string;
|
|
27
|
+
className?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface ConfirmationDialogBodyType {
|
|
30
|
+
title: string;
|
|
31
|
+
subtitle?: ReactNode;
|
|
32
|
+
children?: any;
|
|
33
|
+
}
|
|
34
|
+
export interface ConfirmationDialogButtonGroupType {
|
|
35
|
+
children: any;
|
|
36
|
+
}
|
|
37
|
+
export interface DialogFormProps {
|
|
38
|
+
className: string;
|
|
39
|
+
title: string;
|
|
40
|
+
isLoading: boolean;
|
|
41
|
+
closeOnESC?: boolean;
|
|
42
|
+
close: (event: any) => void;
|
|
43
|
+
onSave: (event: any) => void;
|
|
44
|
+
headerClassName?: string;
|
|
45
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as ConfirmationDialog } from './ConfirmationDialog';
|
|
2
|
-
export * from './DeleteDialog';
|
|
3
|
-
export * from './DialogForm';
|
|
4
|
-
export { default as ForceDeleteDialog } from './ForceDeleteDialog';
|
|
1
|
+
export { default as ConfirmationDialog } from './ConfirmationDialog';
|
|
2
|
+
export * from './DeleteDialog';
|
|
3
|
+
export * from './DialogForm';
|
|
4
|
+
export { default as ForceDeleteDialog } from './ForceDeleteDialog';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as r } from "./ConfirmationDialog.js";
|
|
2
|
+
import { DeleteDialog as t } from "./DeleteDialog.js";
|
|
3
|
+
import { DialogForm as i, DialogFormSubmit as m } from "./DialogForm.js";
|
|
4
|
+
import { default as D } from "./ForceDeleteDialog.js";
|
|
5
|
+
export {
|
|
6
|
+
r as ConfirmationDialog,
|
|
7
|
+
t as DeleteDialog,
|
|
8
|
+
i as DialogForm,
|
|
9
|
+
m as DialogFormSubmit,
|
|
10
|
+
D as ForceDeleteDialog
|
|
11
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { DraggableButtonProps } from './types';
|
|
3
|
-
export default function DraggableButton({ dragClassName }: DraggableButtonProps): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DraggableButtonProps } from './types';
|
|
3
|
+
export default function DraggableButton({ dragClassName }: DraggableButtonProps): JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { j as a } from "../../jsx-runtime-0dcb030c.js";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
const l = (t) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M10.3335 9.33325C10.8858 9.33325 11.3335 8.88554 11.3335 8.33325C11.3335 7.78097 10.8858 7.33325 10.3335 7.33325C9.78121 7.33325 9.3335 7.78097 9.3335 8.33325C9.3335 8.88554 9.78121 9.33325 10.3335 9.33325Z", fill: "#596168" }), /* @__PURE__ */ e.createElement("path", { d: "M5.66675 9.33325C6.21903 9.33325 6.66675 8.88554 6.66675 8.33325C6.66675 7.78097 6.21903 7.33325 5.66675 7.33325C5.11446 7.33325 4.66675 7.78097 4.66675 8.33325C4.66675 8.88554 5.11446 9.33325 5.66675 9.33325Z", fill: "#596168" }), /* @__PURE__ */ e.createElement("path", { d: "M10.3335 5.33325C10.8858 5.33325 11.3335 4.88554 11.3335 4.33325C11.3335 3.78097 10.8858 3.33325 10.3335 3.33325C9.78121 3.33325 9.3335 3.78097 9.3335 4.33325C9.3335 4.88554 9.78121 5.33325 10.3335 5.33325Z", fill: "#596168" }), /* @__PURE__ */ e.createElement("path", { d: "M5.66675 5.33325C6.21903 5.33325 6.66675 4.88554 6.66675 4.33325C6.66675 3.78097 6.21903 3.33325 5.66675 3.33325C5.11446 3.33325 4.66675 3.78097 4.66675 4.33325C4.66675 4.88554 5.11446 5.33325 5.66675 5.33325Z", fill: "#596168" }), /* @__PURE__ */ e.createElement("path", { d: "M10.3335 13.3333C10.8858 13.3333 11.3335 12.8855 11.3335 12.3333C11.3335 11.781 10.8858 11.3333 10.3335 11.3333C9.78121 11.3333 9.3335 11.781 9.3335 12.3333C9.3335 12.8855 9.78121 13.3333 10.3335 13.3333Z", fill: "#596168" }), /* @__PURE__ */ e.createElement("path", { d: "M5.66675 13.3333C6.21903 13.3333 6.66675 12.8855 6.66675 12.3333C6.66675 11.781 6.21903 11.3333 5.66675 11.3333C5.11446 11.3333 4.66675 11.781 4.66675 12.3333C4.66675 12.8855 5.11446 13.3333 5.66675 13.3333Z", fill: "#596168" }));
|
|
4
|
+
function r({ dragClassName: t }) {
|
|
5
|
+
return /* @__PURE__ */ a.jsx(
|
|
6
|
+
"button",
|
|
7
|
+
{
|
|
8
|
+
type: "button",
|
|
9
|
+
className: `${t} dc__outline-none-imp dc__no-border p-0 dc__transparent h-20`,
|
|
10
|
+
children: /* @__PURE__ */ a.jsx(l, { className: "dc__grabbable icon-dim-20 fcn-6" })
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
r as default
|
|
16
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { DraggableWrapperProps } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* TODO: import it as lazy, after it is supported in common
|
|
5
|
-
* 1. If using react select please use menuPlacement='auto'
|
|
6
|
-
* 2. dragSelector will be used to identify the grabbable button that will grab the div to drag
|
|
7
|
-
* 3. parentRef is the reference point from which we will derive the base top:0 ,left: 0 position
|
|
8
|
-
*/
|
|
9
|
-
export default function DraggableWrapper({ children, zIndex, positionVariant, dragSelector, parentRef, boundaryGap, childDivProps, }: DraggableWrapperProps): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DraggableWrapperProps } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* TODO: import it as lazy, after it is supported in common
|
|
5
|
+
* 1. If using react select please use menuPlacement='auto'
|
|
6
|
+
* 2. dragSelector will be used to identify the grabbable button that will grab the div to drag
|
|
7
|
+
* 3. parentRef is the reference point from which we will derive the base top:0 ,left: 0 position
|
|
8
|
+
*/
|
|
9
|
+
export default function DraggableWrapper({ children, zIndex, positionVariant, dragSelector, parentRef, boundaryGap, childDivProps, }: DraggableWrapperProps): JSX.Element;
|