@devtron-labs/devtron-fe-common-lib 1.19.0-beta-2 → 1.19.0-beta-4

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.
Files changed (43) hide show
  1. package/dist/{@code-editor-CYgjiVvr.js → @code-editor-BeYNS9hk.js} +6188 -6198
  2. package/dist/{@common-rjsf-36XKtVoT.js → @common-rjsf-DWqvAUL7.js} +1 -1
  3. package/dist/Common/Common.service.d.ts +1 -1
  4. package/dist/Common/Constants.d.ts +0 -3
  5. package/dist/Common/ErrorPage.d.ts +1 -1
  6. package/dist/Common/ErrorScreenManager.d.ts +1 -1
  7. package/dist/Common/Helper.d.ts +1 -1
  8. package/dist/Common/Hooks/UseRegisterShortcut/index.d.ts +0 -1
  9. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  10. package/dist/Common/RJSF/Form.d.ts +1 -1
  11. package/dist/Common/RJSF/utils.d.ts +1 -1
  12. package/dist/Common/Types.d.ts +2 -13
  13. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +8 -8
  14. package/dist/Shared/Components/Button/Button.component.d.ts +68 -68
  15. package/dist/Shared/Components/CodeEditor/utils.d.ts +1 -1
  16. package/dist/Shared/Components/GenericModal/types.d.ts +1 -1
  17. package/dist/Shared/Components/Header/utils.d.ts +2 -2
  18. package/dist/Shared/Components/Icon/Icon.d.ts +0 -9
  19. package/dist/Shared/Components/Illustration/Illustration.d.ts +0 -1
  20. package/dist/Shared/Components/License/DevtronLicenseCard.d.ts +1 -1
  21. package/dist/Shared/Components/License/constants.d.ts +1 -0
  22. package/dist/Shared/Components/License/types.d.ts +4 -2
  23. package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +1 -1
  24. package/dist/Shared/Components/MaterialHistory/types.d.ts +2 -1
  25. package/dist/Shared/Components/Popover/utils.d.ts +1 -1
  26. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
  27. package/dist/Shared/Services/ToastManager/ToastContent.d.ts +1 -2
  28. package/dist/Shared/Services/ToastManager/constants.d.ts +2 -2
  29. package/dist/Shared/Services/ToastManager/toastManager.service.d.ts +1 -1
  30. package/dist/Shared/Services/ToastManager/types.d.ts +3 -23
  31. package/dist/Shared/Services/app.service.d.ts +3 -3
  32. package/dist/Shared/types.d.ts +8 -1
  33. package/dist/assets/@code-editor.css +1 -1
  34. package/dist/index.js +899 -901
  35. package/package.json +1 -1
  36. package/dist/assets/ic-group-filter-applied.2cdb11e7.svg +0 -20
  37. package/dist/assets/ic-group-filter.ed1869f5.svg +0 -19
  38. package/dist/assets/ic-input.57281408.svg +0 -3
  39. package/dist/assets/ic-locked.dd40e181.svg +0 -3
  40. package/dist/assets/ic-storage.03f282b6.svg +0 -21
  41. package/dist/assets/ic-tag.5fdc7834.svg +0 -3
  42. package/dist/assets/ic-warning-fill.bfea8b38.svg +0 -4
  43. package/dist/assets/img-mechanical-operation.04a318d6.svg +0 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "1.19.0-beta-2",
3
+ "version": "1.19.0-beta-4",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,20 +0,0 @@
1
- <!--
2
- - Copyright (c) 2024. Devtron Inc.
3
- -
4
- - Licensed under the Apache License, Version 2.0 (the "License");
5
- - you may not use this file except in compliance with the License.
6
- - You may obtain a copy of the License at
7
- -
8
- - http://www.apache.org/licenses/LICENSE-2.0
9
- -
10
- - Unless required by applicable law or agreed to in writing, software
11
- - distributed under the License is distributed on an "AS IS" BASIS,
12
- - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- - See the License for the specific language governing permissions and
14
- - limitations under the License.
15
- -->
16
-
17
- <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
18
- <path d="M3.99992 10H11.9999M1.33325 7H14.3333M6.49992 13H9.49992" stroke="#596168" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" vector-effect="non-scaling-stroke" />
19
- <circle cx="13" cy="5" r="4" fill="var(--R500)" stroke="var(--N0)" stroke-width="2" vector-effect="non-scaling-stroke" />
20
- </svg>
@@ -1,19 +0,0 @@
1
- <!--
2
- - Copyright (c) 2024. Devtron Inc.
3
- -
4
- - Licensed under the Apache License, Version 2.0 (the "License");
5
- - you may not use this file except in compliance with the License.
6
- - You may obtain a copy of the License at
7
- -
8
- - http://www.apache.org/licenses/LICENSE-2.0
9
- -
10
- - Unless required by applicable law or agreed to in writing, software
11
- - distributed under the License is distributed on an "AS IS" BASIS,
12
- - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- - See the License for the specific language governing permissions and
14
- - limitations under the License.
15
- -->
16
-
17
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
18
- <path d="M4.00016 8H12.0002M1.3335 5H14.3335M6.50016 11H9.50016" stroke="#596168" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" vector-effect="non-scaling-stroke" />
19
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
- <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M5.573 5.7a9 9 0 1 1 0 12.6m6.054-10.118L15.446 12m0 0-3.819 3.818M15.446 12H3m12.446 0h.001" vector-effect="non-scaling-stroke"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
2
- <path fill="#767D84" fill-rule="evenodd" d="M13 2a4 4 0 0 1 4 4v1.4a3 3 0 0 1 3 3V19a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3v-8.6a3 3 0 0 1 3-3V6a4 4 0 0 1 4-4zm4 7.4H7a1 1 0 0 0-1 1V19a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-8.6a1 1 0 0 0-1-1zm-5 2a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM13 4h-2a2 2 0 0 0-2 2v1.399h6V6a2 2 0 0 0-1.85-1.995L13 4z"/>
3
- </svg>
@@ -1,21 +0,0 @@
1
- <!--
2
- - Copyright (c) 2024. Devtron Inc.
3
- -
4
- - Licensed under the Apache License, Version 2.0 (the "License");
5
- - you may not use this file except in compliance with the License.
6
- - You may obtain a copy of the License at
7
- -
8
- - http://www.apache.org/licenses/LICENSE-2.0
9
- -
10
- - Unless required by applicable law or agreed to in writing, software
11
- - distributed under the License is distributed on an "AS IS" BASIS,
12
- - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- - See the License for the specific language governing permissions and
14
- - limitations under the License.
15
- -->
16
-
17
- <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
18
- <path d="M14.9375 13.6042C14.9375 14.0875 14.5457 14.4792 14.0625 14.4792C13.5793 14.4792 13.1875 14.0875 13.1875 13.6042C13.1875 13.121 13.5793 12.7292 14.0625 12.7292C14.5457 12.7292 14.9375 13.121 14.9375 13.6042Z" fill="#3B444C" stroke="#3B444C" stroke-width="0.125" vector-effect="non-scaling-stroke"/>
19
- <path d="M3.33325 11.2499L5.61256 4.03212C5.74393 3.61609 6.12986 3.33325 6.56614 3.33325H13.4337C13.87 3.33325 14.2559 3.61609 14.3873 4.03212L16.6666 11.2499" stroke="#3B444C" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" vector-effect="non-scaling-stroke"/>
20
- <rect x="3.125" y="11.0417" width="13.75" height="5" rx="1" stroke="#3B444C" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" vector-effect="non-scaling-stroke"/>
21
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
- <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9.451 8.769H8.086m1.365 0a.68.68 0 0 0-.165-.445m.165.445a.68.68 0 0 1-.195.477m-.487.205V8.086m0 1.365a.68.68 0 0 1-.488-.205m.488.205a.68.68 0 0 0 .487-.205m-1.17-.477a.68.68 0 0 0 .195.477m-.195-.477a.68.68 0 0 1 .165-.445m.518-.238c.207 0 .392.092.517.238m-.517-.238a.681.681 0 0 0-.518.238m.03.922 1.005-.922m-1.035 0 1.005.922m2.015-6.233L4.39 4.39l-1.377 6.88a.683.683 0 0 0 .187.617l8.912 8.912a.682.682 0 0 0 .966 0l7.722-7.723a.682.682 0 0 0 0-.965L11.888 3.2a.682.682 0 0 0-.617-.187Z" vector-effect="non-scaling-stroke"/>
3
- </svg>
@@ -1,4 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
- <path fill="#3B444C" d="M10.702 3.749 2.454 17.998a1.5 1.5 0 0 0 1.298 2.251h16.496a1.5 1.5 0 0 0 1.298-2.251l-8.248-14.25a1.5 1.5 0 0 0-2.596 0Z"/>
3
- <path fill="var(--white)" d="M13 9.75a1 1 0 1 0-2 0v3.75a1 1 0 1 0 2 0V9.75Zm.125 7.125a1.125 1.125 0 1 1-2.25 0 1.125 1.125 0 0 1 2.25 0Z"/>
4
- </svg>
@@ -1,17 +0,0 @@
1
- <!--
2
- - Copyright (c) 2024. Devtron Inc.
3
- -
4
- - Licensed under the Apache License, Version 2.0 (the "License");
5
- - you may not use this file except in compliance with the License.
6
- - You may obtain a copy of the License at
7
- -
8
- - http://www.apache.org/licenses/LICENSE-2.0
9
- -
10
- - Unless required by applicable law or agreed to in writing, software
11
- - distributed under the License is distributed on an "AS IS" BASIS,
12
- - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- - See the License for the specific language governing permissions and
14
- - limitations under the License.
15
- -->
16
-
17
- <svg width="250" height="200" viewBox="0 0 250 200" fill="none" xmlns="http://www.w3.org/2000/svg"><style>@keyframes rotate-clockwise{0%{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes rotate-counter-clockwise{0%{transform:rotate(360deg)}to{transform:rotate(0deg)}}</style><path d="M65.56 191.308c0-.116 1.153-3.288 2.538-7.095l2.538-6.922 6.46-.173 6.403-.173 2.768 2.307c2.308 1.962 12.796 7.547 14.132 8.307q1.337.759 3.526 3.864-38.365-.058-38.365-.115" fill="#80AEF2"/><path d="M32 191.308c0-.116 1.154-3.288 2.538-7.095l2.538-6.922 6.46-.173 6.403-.173 2.769 2.307c2.307 1.962 12.795 7.547 14.132 8.307q1.336.759 3.525 3.864Q32 191.365 32 191.308" fill="#94BBF8"/><path d="M75.655 109.836q1.635 4.737 2.208 8.22.57 3.482 6.411 59.5H66.296q-2.166-3.927-2.166-5.518c0-1.59.913-3.77.913-6.068q0-2.299-6.104-15.871l3.931-39.349z" fill="#1D225F"/><path fill-rule="evenodd" clip-rule="evenodd" d="M50.554 177.555H33.76q-.6-2.078-1.175-5.606c-.75-4.788-.18-7.96 3.05-14.536 3.23-6.518 4.866-10.072 4.866-13.764.058-5.768 1.222-11.316 4.28-17.315 2.364-4.73 3.495-5.086 3.725-7.97l.42-6.202h21.078q.769 2.15.55 7.925t-20 57.468" fill="url(#paint0_linear_2664_5084)"/><path d="m95.94 50.818 16.84-20.83h20.191l-17.439 20.83z" fill="#98BDF9"/><path d="M118.14 27.384a2.6 2.6 0 0 1 2.597 2.425l.006.179h-.578a2.025 2.025 0 1 0-2.191 2.018l.166.007v.578a2.603 2.603 0 1 1 0-5.207m6.943 0a2.604 2.604 0 0 1 2.598 2.425l.006.179h-.579a2.024 2.024 0 1 0-2.191 2.018l.166.007v.578a2.603 2.603 0 1 1 0-5.207" fill="#2174DB"/><path d="M94.472 54.83q4.21-1.444 8.242-4.012h6.871q-3.562 3.255-4.791 4.61t-5.068 5.205q-1.636 8.672-3.487 7.285c-1.85-1.386-7.939-10.897-1.767-13.09z" fill="#F3A29D"/><path d="M98.254 60.654q6.545-2.502 8.447-3.567c1.5-.865 2.077-1.673 3.807-5.307.23-.46.692-2.365 1.096-4.153.923-4.557 2.423-4.326 2.538.346.058 1.27.346 2.423.692 2.538.288.116 1.961-1.5 3.634-3.576s3.288-3.75 3.576-3.75c.692 0 .692 5.307-.057 7.153-.289.865-4.73 5.71-9.864 10.844q-5.133 5.134-15.026 13.937z" fill="#FAB6AF"/><path d="M78.581 35.774q1.157-4.629 2.315-5.787c-1.157-1.157-2.315-2.314-4.63-3.47q-1.156 2.313-4.628 4.628 0 3.47 2.314 4.63 2.314 1.155 4.63 0" fill="#F3A29D"/><path d="M49.308 112.98c-2.365-.174-6.23-.981-8.48-1.731l-4.21-1.385-.115-4.326c-.289-11.94.577-20.65 3.288-31.782C43.482 58.47 54.096 42.84 66.96 33.667c4.96-3.576 5.076-3.576 6.518-1.153.634 1.153 1.96 2.307 2.884 2.653l2.161.594q-4.57 43.986 3.531 72.917c-1.157 1.158-1.946 1.682-2.808 2.052-1.039.403-2.365.807-3.057.865-.693.058-3 .519-5.25 1.038-4.21.923-13.382 1.096-21.63.346z" fill="url(#paint1_linear_2664_5084)"/><path fill-rule="evenodd" clip-rule="evenodd" d="M94.472 54.828 96.24 66.14l-19.972 2.645 1.106-15.653q3.212 2.602 6.608 3.123t10.49-1.426z" fill="#D6D7D8"/><path d="m98.254 60.653 4.903 23.145q-.853 1.736-4.324 2.314c-5.208.579-10.415-1.736-16.78-1.736s-6.09 4.05-15.348.58q-9.258-3.472-7.523-31.246l18.054-1.73q-.117 8.673 2.198 10.409 2.269 1.701 18.17-1.6z" fill="#E9E9E9"/><path d="M90.305 15.444q1.605 2.28 1.253 6.049c-.062.656-.376.883-.376 2.052q0 1.68.212 4.157l-2.317.16q-3.333 3.618-7.055 3.208-3.72-.412-5.31-3.207-3.269-6.035 1.675-10.262 4.945-4.227 11.918-2.157" fill="#FAB6AF"/><path fill-rule="evenodd" clip-rule="evenodd" d="M79.646 8c2.598 0 5.717 1.017 7.994 2.74 2.277 1.722 3.845 3.02 4.55 5.097q.705 2.076-.664 5.791.195-3.517-.533-3.906c-.67 1.653-1.595 1.987-2.703 2.787-.62.448-2.791.518-4.917.897-2.628 1.722-4.303 3.33-4.867 4.86-.448 1.218-.402 2.608.148 4.177l.126.339-.54.21c-.714-1.833-.81-3.478-.277-4.925.522-1.417 1.85-2.838 3.894-4.321-1.09.307-2.051.754-2.634 1.449q-1.919 2.29-2.246 6.716-4.149-.75-7.617-2.8t-6.398-5.483q.595-1.251 1.521-2.07c.671-.592 1.935-1.108 3.169-1.822l-.065.021-1.204.401c-1.26.424-1.956.713-2.395 1.032-.83.601-1.26 1.275-1.313 2.032l-.005.191-.579.007c-.012-1.039.516-1.943 1.557-2.699.427-.31 1.013-.573 1.983-.916l1.756-.59.61-.213a15 15 0 0 0 1.439-.584c1.296-1.399 2.17-3.971 4.09-5.678C75.641 8.855 77.048 8 79.645 8z" fill="#E94A47"/><path d="M84.36 21.575c.597-1.64 2.17-2.597 3.535-2.1 1.06.386 1.654 1.524 1.586 2.781q.54-.136.988-.136l.208.007q.382.029.636.114c.512-1.27 1.708-2.023 2.75-1.644 1.07.39 1.498 1.803 1.012 3.14-.487 1.337-1.723 2.144-2.794 1.754-.953-.347-1.397-1.504-1.14-2.697a2 2 0 0 0-.508-.09q-.501-.037-1.208.165l-.031.01a4 4 0 0 1-.14.477c-.597 1.64-2.17 2.597-3.536 2.1s-1.955-2.24-1.358-3.88m9.504-.434c-.73-.266-1.664.343-2.052 1.408-.387 1.066-.064 2.132.667 2.398.73.266 1.664-.343 2.052-1.408s.064-2.132-.667-2.398m-6.167-1.122c-1.036-.377-2.297.39-2.793 1.754s-.024 2.762 1.012 3.14c1.036.376 2.298-.392 2.794-1.755s.023-2.762-1.013-3.14z" fill="#222768"/><path d="M153.783 115.079c-.449-.4-.897-2.243-1.097-4.187-.399-3.938-.698-4.486-3.589-6.031l-2.093-1.147-3.788 1.545c-2.094.848-4.087 1.446-4.436 1.296-.947-.349-6.78-10.716-6.78-12.012 0-.698 1.048-1.894 3.24-3.589l3.24-2.542V82.93l-3.24-2.542c-2.043-1.595-3.24-2.89-3.24-3.539 0-1.047 5.085-10.417 6.331-11.663.598-.549 1.196-.499 4.037.598 4.736 1.844 5.085 1.894 7.627.25 2.243-1.447 2.292-1.546 2.641-4.637.648-5.93-.15-5.383 8.075-5.383 8.324 0 7.776-.349 8.424 5.533l.349 3.24 2.592 1.395 2.592 1.396 3.19-1.296c4.037-1.645 5.183-1.645 6.38.1 2.093 3.04 5.582 9.57 5.582 10.467 0 .648-1.196 1.894-3.24 3.39l-3.19 2.442v2.99l-.05 2.991 3.24 2.443c2.044 1.545 3.24 2.79 3.24 3.39 0 1.046-5.582 10.915-6.679 11.812-.548.449-1.645.2-4.586-.997l-3.937-1.545-2.542 1.396-2.542 1.395-.599 3.988c-.348 2.691-.847 4.237-1.395 4.685-1.296.947-12.81.848-13.757-.15m11.414-19.639c6.58-2.99 8.374-11.265 3.639-16.698-6.28-7.128-17.844-3.29-18.792 6.23-.398 4.287 2.991 9.371 7.377 11.066 1.595.598 5.832.3 7.776-.598" fill="var(--B700)" style="animation:rotate-clockwise 2s infinite linear;transform-origin:center;transform-box:fill-box"/><path d="M176.263 146.231c-1.845-1.146-3.49-2.243-3.64-2.442-.149-.25.2-1.545.749-2.841.996-2.293.996-2.443.15-4.038-.699-1.345-1.197-1.644-3.141-1.894-3.639-.498-3.49-.249-3.49-5.433v-4.735l1.895-.299c3.589-.598 3.838-.698 4.785-2.243.897-1.545.847-1.595-.15-4.037-.598-1.346-.947-2.692-.797-2.891.299-.549 7.128-4.536 7.726-4.536.249 0 1.296.997 2.342 2.243 1.446 1.744 2.194 2.243 3.39 2.243s1.944-.499 3.39-2.243c1.046-1.246 2.093-2.243 2.342-2.243.598 0 7.427 3.987 7.726 4.536.15.2-.2 1.545-.748 2.89-.997 2.293-1.047 2.543-.299 3.988.798 1.496 1.196 1.695 4.935 2.293l1.844.3v4.734c0 5.184.15 4.935-3.49 5.433-1.893.25-2.442.549-3.14 1.894-.797 1.546-.797 1.695.15 4.187l.997 2.592-1.396.947c-2.542 1.745-6.03 3.589-6.729 3.589-.448 0-1.445-.947-2.292-2.044-1.247-1.744-1.795-2.093-3.29-2.143s-1.944.25-3.34 2.094c-.847 1.146-1.944 2.093-2.342 2.093-.449 0-2.293-.897-4.137-1.994m13.109-10.716c4.486-2.343 4.486-9.371-.1-11.813-5.832-3.14-12.212 3.19-9.171 9.121 1.595 3.09 6.03 4.337 9.27 2.692z" fill="var(--R500)" style="animation:rotate-counter-clockwise 2s infinite linear;transform-origin:center;transform-box:fill-box"/><defs><linearGradient id="paint0_linear_2664_5084" x1="53.366" y1="112.162" x2="38.26" y2="175.224" gradientUnits="userSpaceOnUse"><stop stop-color="#2A318C"/><stop offset="1" stop-color="#1D225F"/></linearGradient><linearGradient id="paint1_linear_2664_5084" x1="59.252" y1="30.82" x2="59.252" y2="113.448" gradientUnits="userSpaceOnUse"><stop stop-color="#EEE"/><stop offset="1" stop-color="#D6D7D8"/></linearGradient></defs></svg>