@plutonhq/core-frontend 0.1.2 → 0.1.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 (77) hide show
  1. package/dist-lib/styles/core-frontend.css +8 -1
  2. package/package.json +16 -4
  3. package/src/styles/core-frontend.css +8 -0
  4. package/dist-lib/components/App/App/App.module.scss +0 -14
  5. package/dist-lib/components/App/AppContent/AppContent.module.scss +0 -12
  6. package/dist-lib/components/App/Footer/Footer.module.scss +0 -23
  7. package/dist-lib/components/App/SideNav/SideNav.module.scss +0 -58
  8. package/dist-lib/components/Device/DeviceBackups/DeviceBackups.module.scss +0 -142
  9. package/dist-lib/components/Device/DeviceInfo/DeviceInfo.module.scss +0 -214
  10. package/dist-lib/components/Device/DeviceItem/DeviceItem.module.scss +0 -216
  11. package/dist-lib/components/Device/EditDevice/EditDevice.module.scss +0 -110
  12. package/dist-lib/components/Plan/AddPlan/AddPlan.module.scss +0 -191
  13. package/dist-lib/components/Plan/BackupEvents/BackupEvents.module.scss +0 -189
  14. package/dist-lib/components/Plan/BackupProgress/BackupProgress.module.scss +0 -120
  15. package/dist-lib/components/Plan/Backups/Backups.module.scss +0 -244
  16. package/dist-lib/components/Plan/EditPlan/EditPlan.module.scss +0 -41
  17. package/dist-lib/components/Plan/PlanBackups/PlanBackups.module.scss +0 -58
  18. package/dist-lib/components/Plan/PlanForm/PlanForm.module.scss +0 -103
  19. package/dist-lib/components/Plan/PlanHistory/PlanHistory.module.scss +0 -44
  20. package/dist-lib/components/Plan/PlanItems/PlanItem.module.scss +0 -332
  21. package/dist-lib/components/Plan/PlanLogs/PlanLogs.module.scss +0 -0
  22. package/dist-lib/components/Plan/PlanPendingBackup/PlanPendingBackup.module.scss +0 -42
  23. package/dist-lib/components/Plan/PlanProgress/PlanProgress.module.scss +0 -19
  24. package/dist-lib/components/Plan/PlanRemoveModal/PlanRemoveModal.module.scss +0 -9
  25. package/dist-lib/components/Plan/PlanSettings/PlanSettings.module.scss +0 -464
  26. package/dist-lib/components/Plan/PlanStats/PlanStats.module.scss +0 -125
  27. package/dist-lib/components/Restore/RestoreChangeViewer/RestoreChangeViewer.module.scss +0 -71
  28. package/dist-lib/components/Restore/RestoreFileSelector/RestoreFileSelector.module.scss +0 -328
  29. package/dist-lib/components/Restore/RestoreWizard/RestoreWizard.module.scss +0 -390
  30. package/dist-lib/components/Restore/RestoredFileBrowser/RestoredFileBrowser.module.scss +0 -300
  31. package/dist-lib/components/Settings/GeneralSettings/GeneralSettings.module.scss +0 -3
  32. package/dist-lib/components/Settings/IntegrationSettings/IntegrationSettings.module.scss +0 -38
  33. package/dist-lib/components/Skeleton/SkeletonItems.module.scss +0 -162
  34. package/dist-lib/components/Storage/AddStorage/AddStorage.module.scss +0 -168
  35. package/dist-lib/components/Storage/EditStorage/EditStorage.module.scss +0 -0
  36. package/dist-lib/components/Storage/StorageItem/StorageItem.module.scss +0 -231
  37. package/dist-lib/components/Storage/StorageSettings/StorageSettings.module.scss +0 -29
  38. package/dist-lib/components/common/ActionModal/ActionModal.module.scss +0 -60
  39. package/dist-lib/components/common/AnimatedWrapper/AnimatedWrapper.module.scss +0 -88
  40. package/dist-lib/components/common/Button/Button.module.scss +0 -56
  41. package/dist-lib/components/common/FileManager/FileManager.module.scss +0 -207
  42. package/dist-lib/components/common/FolderPicker/FolderPicker.module.scss +0 -77
  43. package/dist-lib/components/common/ItemsLayout/ItemsLayout.module.scss +0 -51
  44. package/dist-lib/components/common/LogViewer/LogViewer.module.scss +0 -188
  45. package/dist-lib/components/common/Modal/Modal.module.scss +0 -81
  46. package/dist-lib/components/common/NotFound/NotFound.module.scss +0 -36
  47. package/dist-lib/components/common/PageHeader/PageHeader.module.scss +0 -62
  48. package/dist-lib/components/common/PathPicker/PathPicker.module.scss +0 -278
  49. package/dist-lib/components/common/SearchItems/SearchItems.module.scss +0 -48
  50. package/dist-lib/components/common/SidePanel/SidePanel.module.scss +0 -237
  51. package/dist-lib/components/common/SortItems/SortItems.module.scss +0 -53
  52. package/dist-lib/components/common/StatusLabel/StatusLabel.module.scss +0 -0
  53. package/dist-lib/components/common/Tabs/Tabs.module.scss +0 -43
  54. package/dist-lib/components/common/TagsFilter/TagsFilter.module.scss +0 -59
  55. package/dist-lib/components/common/form/FormField/FormField.module.scss +0 -37
  56. package/dist-lib/components/common/form/Input/Input.module.scss +0 -71
  57. package/dist-lib/components/common/form/IntervalField/IntervalField.module.scss +0 -49
  58. package/dist-lib/components/common/form/MultiSelect/MultiSelect.module.scss +0 -157
  59. package/dist-lib/components/common/form/NumberInput/NumberInput.module.scss +0 -102
  60. package/dist-lib/components/common/form/PasswordField/PasswordField.module.scss +0 -78
  61. package/dist-lib/components/common/form/RadioIconSelect/RadioIconSelect.module.scss +0 -104
  62. package/dist-lib/components/common/form/Select/Select.module.scss +0 -193
  63. package/dist-lib/components/common/form/SizePicker/SizePicker.module.scss +0 -82
  64. package/dist-lib/components/common/form/StoragePicker/StoragePicker.module.scss +0 -114
  65. package/dist-lib/components/common/form/TagsInput/TagsInput.module.scss +0 -54
  66. package/dist-lib/components/common/form/TimePicker/TimePicker.module.scss +0 -73
  67. package/dist-lib/components/common/form/Toggle/Toggle.module.scss +0 -68
  68. package/dist-lib/components/common/form/Tristate/Tristate.module.scss +0 -67
  69. package/dist-lib/routes/DeviceSingle/DeviceSingle.module.scss +0 -105
  70. package/dist-lib/routes/Login/Login.module.scss +0 -94
  71. package/dist-lib/routes/NotFoundRoute/NotFoundRoute.module.scss +0 -0
  72. package/dist-lib/routes/PlanSingle/PlanSingle.module.scss +0 -85
  73. package/dist-lib/routes/Plans/Plans.module.scss +0 -29
  74. package/dist-lib/routes/Settings/Settings.module.scss +0 -112
  75. package/dist-lib/routes/Setup/Setup.module.scss +0 -174
  76. package/dist-lib/routes/Sources/Sources.module.scss +0 -29
  77. package/dist-lib/routes/Storages/Storages.module.scss +0 -30
@@ -1,77 +0,0 @@
1
- .folderPickerModal {
2
- position: fixed;
3
- width: 100%;
4
- height: 100vh;
5
- top: 0;
6
- left: 0;
7
- z-index: 99999999;
8
- background: var(--modal-shadow-color-light);
9
- .folderPickerModalInner {
10
- position: absolute;
11
- width: 70%;
12
- max-width: 1000px;
13
- background: var(--content-background-color);
14
- color: var(--content-text-color);
15
- border-radius: 8px;
16
- border: 1px solid var(--content-shadow-color);
17
- margin: 0 auto;
18
- left: 0;
19
- right: 0;
20
- top: 10%;
21
- box-sizing: border-box;
22
- box-shadow: 0 0 20px var(--modal-shadow-color);
23
- .folderPickerHeader {
24
- display: flex;
25
- align-items: center;
26
- justify-content: space-between;
27
- padding: 10px 15px;
28
- border-bottom: 1px solid var(--line-color);
29
- h4 {
30
- margin: 0;
31
- }
32
- button {
33
- padding: 10px;
34
- cursor: pointer;
35
- background: transparent;
36
- opacity: 0.5;
37
- color: var(--content-text-color);
38
- transition: all 0.2s linear;
39
- &:hover {
40
- opacity: 1;
41
- transform: rotate(90deg);
42
- }
43
- }
44
- }
45
- .folderPickerFooter {
46
- display: flex;
47
- align-items: center;
48
- justify-content: flex-end;
49
- padding: 10px 15px;
50
- border-top: 1px solid var(--line-color);
51
- button {
52
- background-color: var(--primary-color);
53
- color: var(--primary-text-color);
54
- padding: 10px 12px;
55
- cursor: pointer;
56
- border-radius: 6px;
57
- }
58
- &.folderPickerFooterWithText {
59
- justify-content: space-between;
60
- }
61
- }
62
- .folderPickerContent {
63
- padding: 20px;
64
- max-height: 500px;
65
- overflow: auto;
66
- }
67
- }
68
- }
69
-
70
- @media only screen and (max-width: 768px) {
71
- .folderPickerModal {
72
- .folderPickerModalInner {
73
- width: 100%;
74
- top: 0;
75
- }
76
- }
77
- }
@@ -1,51 +0,0 @@
1
- .layoutSelector {
2
- position: relative;
3
- }
4
-
5
- .layoutActive {
6
- span {
7
- opacity: 1;
8
- color: inherit;
9
- }
10
- }
11
-
12
- .lists {
13
- border: 1px solid var(--line-color);
14
- margin-top: -1px;
15
- position: absolute;
16
- z-index: 9999;
17
- background: var(--field-bg);
18
- width: calc(100% - 2px);
19
- border-radius: 0 0 4px 4px;
20
- max-height: 200px;
21
- overflow: auto;
22
- font-size: 0.75rem;
23
- right: 0;
24
- border-radius: 6px;
25
- ul {
26
- margin: 0;
27
- padding: 0;
28
- list-style-type: none;
29
-
30
- li {
31
- padding: 8px 10px;
32
- cursor: pointer;
33
-
34
- &.selectedItem {
35
- color: var(--field-bg);
36
- background: var(--primary-color);
37
- }
38
-
39
- &:hover {
40
- background: var(--background-color);
41
- color: inherit;
42
- }
43
- }
44
- }
45
- }
46
-
47
- @media only screen and (max-width: 768px) {
48
- .layoutSelector {
49
- display: none;
50
- }
51
- }
@@ -1,188 +0,0 @@
1
- .logViewer {
2
- display: flex;
3
- flex-direction: column;
4
- height: 100%;
5
- border: 1px solid var(--line-color);
6
- border-radius: 8px;
7
- overflow: hidden;
8
- .toolbar {
9
- display: flex;
10
- padding: 12px;
11
- border-bottom: 1px solid var(--line-color);
12
- gap: 15px;
13
- align-items: center;
14
- justify-content: space-between;
15
- .toolbarRight {
16
- display: flex;
17
- flex-direction: row;
18
- gap: 15px;
19
- justify-content: space-between;
20
-
21
- button {
22
- color: var(--icon-color);
23
- &:hover {
24
- color: var(--primary-color);
25
- }
26
- }
27
- .filters {
28
- display: flex;
29
- gap: 12px;
30
- input {
31
- accent-color: var(--primary-color);
32
- }
33
- label {
34
- display: flex;
35
- align-items: center;
36
- gap: 4px;
37
- text-transform: capitalize;
38
- }
39
- }
40
-
41
- .search {
42
- display: flex;
43
- align-items: center;
44
- gap: 8px;
45
- padding: 4px 12px;
46
- border: 1px solid var(--line-color);
47
- border-radius: 6px;
48
- margin-left: auto;
49
-
50
- input {
51
- border: none;
52
- outline: none;
53
- font-size: 0.75rem;
54
- background-color: var(--content-background-color);
55
- }
56
- }
57
- }
58
- }
59
- .logsTable {
60
- .logsHeader {
61
- display: grid;
62
- grid-template-columns: repeat(4, 1fr) 55%;
63
- padding: 12px;
64
- background: var(--background-color);
65
- font-weight: 600;
66
- .logsHeaderItemTime {
67
- width: 170px;
68
- }
69
- }
70
- .logs {
71
- height: calc(100vh - 290px);
72
- overflow: auto;
73
-
74
- .log {
75
- display: grid;
76
- grid-template-columns: repeat(4, 1fr) 55%;
77
- padding: 8px 12px;
78
- border-bottom: 1px solid var(--line-color);
79
- position: relative;
80
- .logTime {
81
- width: 170px;
82
- }
83
- .logType {
84
- padding: 2px 12px;
85
- font-size: 0.7rem;
86
- background-color: var(--background-color);
87
- border-radius: 20px;
88
- text-transform: capitalize;
89
- display: inline-block;
90
- width: max-content;
91
- height: max-content;
92
- &.logType--error {
93
- background-color: #ffdada;
94
- color: #c43e3e;
95
- }
96
- &.logType--warn {
97
- background-color: #fff2d9;
98
- color: #d19628;
99
- }
100
- &.logType--info {
101
- background-color: #e7edff;
102
- color: #6182e4;
103
- }
104
- }
105
- .logMessage {
106
- overflow: auto;
107
- }
108
- &.log--backupStart {
109
- border-top: 1px solid #e4e6ff;
110
- margin-top: 30px;
111
- padding-top: 20px;
112
- }
113
- }
114
- .backupStartLabel {
115
- position: absolute;
116
- background: var(--primary-color-light);
117
- color: var(--primary-color);
118
- font-weight: 600;
119
- font-size: 0.7rem;
120
- padding: 2px 12px;
121
- border-radius: 30px;
122
- left: 0;
123
- right: 0;
124
- top: -12px;
125
- margin: 0 auto;
126
- width: max-content;
127
- }
128
- }
129
- }
130
- .pagination {
131
- display: flex;
132
- justify-content: center;
133
- align-items: center;
134
- gap: 8px;
135
- padding: 12px;
136
- border-top: 1px solid var(--line-color);
137
-
138
- .paginationButton {
139
- padding: 6px 12px;
140
- border: 1px solid var(--line-color);
141
- border-radius: 6px;
142
- background: transparent;
143
- cursor: pointer;
144
- font-size: 0.875rem;
145
- transition: all 0.2s;
146
- color: var(--content-text-color-light);
147
-
148
- &:hover:not(:disabled) {
149
- background: var(--primary-color-light);
150
- color: var(--primary-color);
151
- border-color: var(--primary-color);
152
- }
153
-
154
- &:disabled {
155
- opacity: 0.5;
156
- cursor: not-allowed;
157
- }
158
-
159
- &.paginationButtonActive {
160
- background: var(--primary-color);
161
- color: white;
162
- border-color: var(--primary-color);
163
- }
164
- }
165
- }
166
- }
167
-
168
- @media only screen and (max-width: 768px) {
169
- .logViewer {
170
- .toolbar {
171
- flex-direction: column;
172
- align-items: baseline;
173
- .toolbarRight {
174
- justify-content: space-between;
175
- flex-wrap: wrap;
176
- }
177
- }
178
- .logsTable {
179
- overflow-x: auto;
180
- overflow-y: hidden;
181
- width: 100%;
182
- .logs,
183
- .logsHeader {
184
- width: 1100px;
185
- }
186
- }
187
- }
188
- }
@@ -1,81 +0,0 @@
1
- .modal {
2
- position: fixed;
3
- width: 100%;
4
- height: 100vh;
5
- top: 0;
6
- left: 0;
7
- z-index: 99999999;
8
- background: var(--modal-shadow-color-light);
9
- opacity: 0;
10
- overflow: auto;
11
- transition: opacity 0.3s ease-out;
12
-
13
- .modalContent {
14
- position: absolute;
15
- width: 70%;
16
- background: var(--content-background-color);
17
- color: var(--content-text-color);
18
- border-radius: 8px;
19
- border: 1px solid var(--content-shadow-color);
20
- margin: 0 auto;
21
- left: 0;
22
- right: 0;
23
- top: 20%;
24
- padding: 20px;
25
- box-sizing: border-box;
26
- box-shadow: 0 0 20px var(--modal-shadow-color);
27
- word-break: break-word;
28
- transform: translateY(-30px);
29
- opacity: 0;
30
- transition:
31
- transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
32
- opacity 0.3s ease-out;
33
-
34
- &.active {
35
- transform: translateY(0);
36
- opacity: 1;
37
- }
38
-
39
- h3 {
40
- margin-top: 0;
41
- color: var(--content-text-color);
42
- }
43
- }
44
-
45
- .modalClose {
46
- position: absolute;
47
- right: 0;
48
- top: 0;
49
- margin: 10px;
50
- background: transparent;
51
- opacity: 0.5;
52
- color: var(--content-text-color);
53
- transition: all 0.2s linear;
54
- &:hover {
55
- opacity: 1;
56
- transform: rotate(90deg);
57
- }
58
- }
59
-
60
- &.active {
61
- opacity: 1;
62
- }
63
-
64
- &.autoVertical {
65
- .modalContent {
66
- top: 50%;
67
- transform: translateY(-50%);
68
- transition: none;
69
- &.active {
70
- transform: translateY(-50%);
71
- opacity: 1;
72
- }
73
- }
74
- }
75
- }
76
-
77
- @media only screen and (max-width: 768px) {
78
- .modal .modalContent {
79
- max-width: 90%;
80
- }
81
- }
@@ -1,36 +0,0 @@
1
- .notFound {
2
- display: flex;
3
- flex-direction: column;
4
- justify-content: center;
5
- align-items: center;
6
- padding: 6rem 1rem;
7
- text-align: center;
8
- box-sizing: border-box;
9
- font-weight: bold;
10
- color: var(--content-text-color-light);
11
- background-color: var(--content-background-color);
12
- border-radius: 6px;
13
- margin-top: 100px;
14
- box-shadow: 0 0 15px var(--content-shadow-color);
15
-
16
- h1 {
17
- font-size: 6rem;
18
- margin: 1rem 0;
19
- margin-bottom: 0;
20
- color: var(--primary-color-light);
21
- }
22
- h3 {
23
- text-transform: capitalize;
24
- margin: 0;
25
- margin-top: -0.2rem;
26
- color: var(--primary-color);
27
- font-size: 1.2rem;
28
- background: var(--primary-color-lighter);
29
- padding: 0 20px;
30
- font-weight: 600;
31
- }
32
-
33
- p {
34
- font-weight: normal;
35
- }
36
- }
@@ -1,62 +0,0 @@
1
- .header {
2
- width: 100%;
3
- max-height: 60px;
4
- display: flex;
5
- justify-content: space-between;
6
- align-items: center;
7
- }
8
-
9
- .headerTitle {
10
- display: flex;
11
- align-items: center;
12
- font-size: 1.125rem;
13
- :global(.icon) {
14
- margin-right: 5px;
15
- position: relative;
16
- top: 3px;
17
- color: var(--primary-color);
18
- }
19
- }
20
-
21
- .rightSection {
22
- display: flex;
23
- align-items: center;
24
- position: relative;
25
- button {
26
- padding: 10px;
27
- cursor: pointer;
28
- color: var(--background-text-color);
29
- transition: all 0.2s linear;
30
-
31
- &:hover {
32
- opacity: 1;
33
- }
34
- }
35
- & > b {
36
- font-weight: normal;
37
- font-size: 0.5rem;
38
- margin: 0 8px;
39
- color: var(--line-active-color);
40
- }
41
- }
42
-
43
- .button {
44
- font-size: 0.75rem;
45
- font-weight: 600;
46
- padding: 4px 15px;
47
- margin-left: 8px;
48
- border-radius: 20px;
49
- font-family: inherit;
50
- background-color: var(--primary-color);
51
- color: var(--primary-text-color);
52
- transition: all 0.2s linear;
53
- &:hover {
54
- background-color: var(--primary-hover-color);
55
- }
56
- }
57
-
58
- @media only screen and (max-width: 768px) {
59
- .headerTitle {
60
- font-size: 1rem;
61
- }
62
- }