@plutonhq/core-frontend 0.1.2 → 0.1.3

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 (75) hide show
  1. package/package.json +16 -4
  2. package/dist-lib/components/App/App/App.module.scss +0 -14
  3. package/dist-lib/components/App/AppContent/AppContent.module.scss +0 -12
  4. package/dist-lib/components/App/Footer/Footer.module.scss +0 -23
  5. package/dist-lib/components/App/SideNav/SideNav.module.scss +0 -58
  6. package/dist-lib/components/Device/DeviceBackups/DeviceBackups.module.scss +0 -142
  7. package/dist-lib/components/Device/DeviceInfo/DeviceInfo.module.scss +0 -214
  8. package/dist-lib/components/Device/DeviceItem/DeviceItem.module.scss +0 -216
  9. package/dist-lib/components/Device/EditDevice/EditDevice.module.scss +0 -110
  10. package/dist-lib/components/Plan/AddPlan/AddPlan.module.scss +0 -191
  11. package/dist-lib/components/Plan/BackupEvents/BackupEvents.module.scss +0 -189
  12. package/dist-lib/components/Plan/BackupProgress/BackupProgress.module.scss +0 -120
  13. package/dist-lib/components/Plan/Backups/Backups.module.scss +0 -244
  14. package/dist-lib/components/Plan/EditPlan/EditPlan.module.scss +0 -41
  15. package/dist-lib/components/Plan/PlanBackups/PlanBackups.module.scss +0 -58
  16. package/dist-lib/components/Plan/PlanForm/PlanForm.module.scss +0 -103
  17. package/dist-lib/components/Plan/PlanHistory/PlanHistory.module.scss +0 -44
  18. package/dist-lib/components/Plan/PlanItems/PlanItem.module.scss +0 -332
  19. package/dist-lib/components/Plan/PlanLogs/PlanLogs.module.scss +0 -0
  20. package/dist-lib/components/Plan/PlanPendingBackup/PlanPendingBackup.module.scss +0 -42
  21. package/dist-lib/components/Plan/PlanProgress/PlanProgress.module.scss +0 -19
  22. package/dist-lib/components/Plan/PlanRemoveModal/PlanRemoveModal.module.scss +0 -9
  23. package/dist-lib/components/Plan/PlanSettings/PlanSettings.module.scss +0 -464
  24. package/dist-lib/components/Plan/PlanStats/PlanStats.module.scss +0 -125
  25. package/dist-lib/components/Restore/RestoreChangeViewer/RestoreChangeViewer.module.scss +0 -71
  26. package/dist-lib/components/Restore/RestoreFileSelector/RestoreFileSelector.module.scss +0 -328
  27. package/dist-lib/components/Restore/RestoreWizard/RestoreWizard.module.scss +0 -390
  28. package/dist-lib/components/Restore/RestoredFileBrowser/RestoredFileBrowser.module.scss +0 -300
  29. package/dist-lib/components/Settings/GeneralSettings/GeneralSettings.module.scss +0 -3
  30. package/dist-lib/components/Settings/IntegrationSettings/IntegrationSettings.module.scss +0 -38
  31. package/dist-lib/components/Skeleton/SkeletonItems.module.scss +0 -162
  32. package/dist-lib/components/Storage/AddStorage/AddStorage.module.scss +0 -168
  33. package/dist-lib/components/Storage/EditStorage/EditStorage.module.scss +0 -0
  34. package/dist-lib/components/Storage/StorageItem/StorageItem.module.scss +0 -231
  35. package/dist-lib/components/Storage/StorageSettings/StorageSettings.module.scss +0 -29
  36. package/dist-lib/components/common/ActionModal/ActionModal.module.scss +0 -60
  37. package/dist-lib/components/common/AnimatedWrapper/AnimatedWrapper.module.scss +0 -88
  38. package/dist-lib/components/common/Button/Button.module.scss +0 -56
  39. package/dist-lib/components/common/FileManager/FileManager.module.scss +0 -207
  40. package/dist-lib/components/common/FolderPicker/FolderPicker.module.scss +0 -77
  41. package/dist-lib/components/common/ItemsLayout/ItemsLayout.module.scss +0 -51
  42. package/dist-lib/components/common/LogViewer/LogViewer.module.scss +0 -188
  43. package/dist-lib/components/common/Modal/Modal.module.scss +0 -81
  44. package/dist-lib/components/common/NotFound/NotFound.module.scss +0 -36
  45. package/dist-lib/components/common/PageHeader/PageHeader.module.scss +0 -62
  46. package/dist-lib/components/common/PathPicker/PathPicker.module.scss +0 -278
  47. package/dist-lib/components/common/SearchItems/SearchItems.module.scss +0 -48
  48. package/dist-lib/components/common/SidePanel/SidePanel.module.scss +0 -237
  49. package/dist-lib/components/common/SortItems/SortItems.module.scss +0 -53
  50. package/dist-lib/components/common/StatusLabel/StatusLabel.module.scss +0 -0
  51. package/dist-lib/components/common/Tabs/Tabs.module.scss +0 -43
  52. package/dist-lib/components/common/TagsFilter/TagsFilter.module.scss +0 -59
  53. package/dist-lib/components/common/form/FormField/FormField.module.scss +0 -37
  54. package/dist-lib/components/common/form/Input/Input.module.scss +0 -71
  55. package/dist-lib/components/common/form/IntervalField/IntervalField.module.scss +0 -49
  56. package/dist-lib/components/common/form/MultiSelect/MultiSelect.module.scss +0 -157
  57. package/dist-lib/components/common/form/NumberInput/NumberInput.module.scss +0 -102
  58. package/dist-lib/components/common/form/PasswordField/PasswordField.module.scss +0 -78
  59. package/dist-lib/components/common/form/RadioIconSelect/RadioIconSelect.module.scss +0 -104
  60. package/dist-lib/components/common/form/Select/Select.module.scss +0 -193
  61. package/dist-lib/components/common/form/SizePicker/SizePicker.module.scss +0 -82
  62. package/dist-lib/components/common/form/StoragePicker/StoragePicker.module.scss +0 -114
  63. package/dist-lib/components/common/form/TagsInput/TagsInput.module.scss +0 -54
  64. package/dist-lib/components/common/form/TimePicker/TimePicker.module.scss +0 -73
  65. package/dist-lib/components/common/form/Toggle/Toggle.module.scss +0 -68
  66. package/dist-lib/components/common/form/Tristate/Tristate.module.scss +0 -67
  67. package/dist-lib/routes/DeviceSingle/DeviceSingle.module.scss +0 -105
  68. package/dist-lib/routes/Login/Login.module.scss +0 -94
  69. package/dist-lib/routes/NotFoundRoute/NotFoundRoute.module.scss +0 -0
  70. package/dist-lib/routes/PlanSingle/PlanSingle.module.scss +0 -85
  71. package/dist-lib/routes/Plans/Plans.module.scss +0 -29
  72. package/dist-lib/routes/Settings/Settings.module.scss +0 -112
  73. package/dist-lib/routes/Setup/Setup.module.scss +0 -174
  74. package/dist-lib/routes/Sources/Sources.module.scss +0 -29
  75. package/dist-lib/routes/Storages/Storages.module.scss +0 -30
@@ -1,193 +0,0 @@
1
- .selectField {
2
- .search {
3
- border: 1px solid;
4
- border-color: var(--field-line-color);
5
- border-radius: 4px 4px 0 0;
6
- border-bottom: 0;
7
- position: relative;
8
- top: -1px;
9
- color: var(--icon-color);
10
- span {
11
- position: absolute;
12
- margin: 5px;
13
- }
14
- button {
15
- position: absolute;
16
- right: 0;
17
- margin: 5px;
18
- color: var(--icon-color);
19
- span {
20
- position: relative;
21
- margin: 0;
22
- }
23
- }
24
- input {
25
- padding: 8px 12px;
26
- padding-left: 24px;
27
- width: 100%;
28
- border: none;
29
- box-sizing: border-box;
30
- background-color: var(--content-background-color);
31
- &:focus {
32
- outline: none;
33
- background-color: var(--field-line-color);
34
- }
35
- }
36
- }
37
-
38
- .dropdown {
39
- min-width: 150px;
40
- width: 50%;
41
- position: relative;
42
- margin-top: 0px;
43
-
44
- .selected {
45
- padding: 8px 10px;
46
- border: 1px solid;
47
- background: var(--field-bg);
48
- border-color: var(--field-line-color);
49
- border-radius: 6px;
50
- display: flex;
51
- justify-content: space-between;
52
- align-items: center;
53
- cursor: pointer;
54
- span {
55
- user-select: none;
56
- font-size: 0.75rem;
57
- }
58
- img {
59
- margin-right: 5px;
60
- max-height: 16px;
61
- width: auto;
62
- vertical-align: top;
63
- }
64
-
65
- .dropBtn {
66
- background: transparent;
67
- color: var(--icon-color);
68
- }
69
- }
70
-
71
- .lists {
72
- border: 1px solid var(--line-color);
73
- margin-top: -1px;
74
- position: absolute;
75
- z-index: 9999;
76
- background: var(--field-bg);
77
- width: calc(100% - 2px);
78
- border-radius: 0 0 4px 4px;
79
- max-height: 210px;
80
- overflow: auto;
81
- font-size: 0.75rem;
82
- ul {
83
- margin: 0;
84
- padding: 0;
85
- list-style-type: none;
86
-
87
- li {
88
- padding: 8px 10px;
89
- cursor: pointer;
90
-
91
- img {
92
- margin-right: 5px;
93
- max-height: 16px;
94
- width: auto;
95
- vertical-align: top;
96
- }
97
- :global(.icon) {
98
- margin-right: 5px;
99
- opacity: 0.7;
100
- }
101
-
102
- &.disabledItem {
103
- opacity: 0.6;
104
- user-select: none;
105
- cursor: not-allowed;
106
- }
107
-
108
- &.selectedItem {
109
- color: var(--field-bg);
110
- background: var(--primary-color);
111
- }
112
-
113
- &:hover {
114
- background: var(--background-color);
115
- color: inherit;
116
- }
117
- }
118
- }
119
- }
120
- &.dropdownDisabled .selected {
121
- background-color: var(--line-color);
122
- cursor: default;
123
- }
124
- }
125
-
126
- &.selectFieldFull {
127
- .dropdown {
128
- width: 100%;
129
- }
130
- }
131
-
132
- &.selectFieldLarge {
133
- .selected {
134
- padding: 12px;
135
- }
136
- }
137
- &.selectFieldDisabled {
138
- .selected {
139
- background-color: var(--line-color);
140
- }
141
- }
142
-
143
- &.fieldHasError {
144
- .selected {
145
- border-color: var(--error-bg-color-active);
146
- }
147
- }
148
- &.selectFieldOpen {
149
- .selected {
150
- border-radius: 6px 6px 0 0;
151
- }
152
- }
153
-
154
- &.selectFieldInline {
155
- .fieldInner {
156
- justify-content: space-between;
157
- }
158
- }
159
- &.selectFieldMini {
160
- margin-top: -3px;
161
- .dropdown {
162
- width: auto;
163
- min-width: unset;
164
- .selected {
165
- padding: 2px 4px 2px 8px;
166
- border-radius: 4px;
167
- span {
168
- font-size: 0.7rem;
169
- }
170
- }
171
- .lists {
172
- left: 0;
173
- right: 0;
174
- margin: 0 auto;
175
- border-radius: 6px;
176
- font-size: 0.9em;
177
- margin-top: 4px;
178
- width: max-content;
179
- li {
180
- padding: 6px 10px;
181
- }
182
- }
183
- }
184
- }
185
- }
186
-
187
- @media only screen and (max-width: 768px) {
188
- .selectField {
189
- .dropdown {
190
- width: 100%;
191
- }
192
- }
193
- }
@@ -1,82 +0,0 @@
1
- @use '../../../../styles/fields.scss';
2
-
3
- .sizePicker {
4
- .inputGroup {
5
- display: flex;
6
- align-items: center;
7
- gap: 8px;
8
- }
9
-
10
- .numberInput {
11
- width: 70px;
12
- padding: 8px 12px;
13
- border: 1px solid var(--field-line-color);
14
- border-radius: 6px;
15
- background: transparent;
16
- color: var(--content-text-color);
17
- font-size: 0.75rem;
18
- text-align: center;
19
-
20
- &:focus {
21
- outline: none;
22
- border-color: var(--line-active-color);
23
- }
24
- }
25
-
26
- .unitSelector {
27
- display: flex;
28
- list-style: none;
29
- margin: 0;
30
- padding: 0;
31
- border: 1px solid var(--field-line-color);
32
- border-radius: 6px;
33
- overflow: hidden;
34
- }
35
-
36
- .unit {
37
- display: flex;
38
- align-items: center;
39
- text-align: center;
40
- justify-content: center;
41
- gap: 4px;
42
- padding: 6px 12px;
43
- font-size: 0.75rem;
44
- width: 34px;
45
- cursor: pointer;
46
- color: var(--content-text-color);
47
- background: transparent;
48
- border-right: 1px solid var(--line-color);
49
- transition: all 0.2s ease;
50
-
51
- &:last-child {
52
- border-right: none;
53
- }
54
-
55
- &:hover {
56
- background: var(--background-color);
57
- }
58
-
59
- &.selected {
60
- color: var(--primary-color);
61
- background-color: var(--primary-color-light);
62
- }
63
- }
64
-
65
- &.sizePickerInline {
66
- .fieldInner {
67
- display: flex;
68
- flex-direction: row;
69
- justify-content: space-between;
70
- gap: 8px;
71
- }
72
- .input {
73
- width: 50%;
74
- }
75
- }
76
- }
77
-
78
- @media only screen and (max-width: 768px) {
79
- .sizePicker .unit {
80
- padding: 6px;
81
- }
82
- }
@@ -1,114 +0,0 @@
1
- .storagePicker {
2
- width: 100%;
3
-
4
- .storagePickerInput {
5
- width: 100%;
6
- padding: 8px;
7
- border: 1px solid var(--field-line-color);
8
- border-radius: 6px;
9
- box-sizing: border-box;
10
- .storage {
11
- width: 35%;
12
- cursor: pointer;
13
- img {
14
- height: 18px;
15
- width: auto;
16
- margin-right: 5px;
17
- vertical-align: top;
18
- }
19
- :global([class*='_dropdown_']) {
20
- width: 100%;
21
- }
22
- }
23
- .path {
24
- width: calc(65% - 10px);
25
- margin-left: 10px;
26
- position: relative;
27
- .fileManagerBtn {
28
- position: absolute;
29
- right: 1px;
30
- top: 1px;
31
- padding: 8px;
32
- cursor: pointer;
33
- color: var(--icon-color);
34
- &:hover {
35
- color: var(--primary-color);
36
- }
37
- }
38
- div[class*='_inputField_'] input {
39
- padding: 10px 12px;
40
- }
41
- }
42
- & > div {
43
- border-radius: 4px;
44
- box-sizing: border-box;
45
- font-size: 0.75rem;
46
- display: flex;
47
-
48
- button {
49
- padding: 3px 8px;
50
- background-color: var(--background-color);
51
- color: var(--content-text-color);
52
- font-size: 0.75rem;
53
- border-radius: 4px;
54
- margin-left: 5px;
55
- }
56
- }
57
- }
58
- }
59
-
60
- .pickerContent {
61
- .field {
62
- margin-bottom: 20px;
63
- width: 100%;
64
- display: flex;
65
- flex-direction: row;
66
- justify-content: space-between;
67
- }
68
-
69
- label {
70
- font-weight: 600;
71
- margin-bottom: 8px;
72
- font-size: 0.75rem;
73
- width: 55%;
74
- }
75
- .pickerFooter {
76
- margin-top: 20px;
77
- justify-content: right;
78
- display: flex;
79
- flex-direction: row;
80
- gap: 10px;
81
- button {
82
- background-color: var(--line-color);
83
- color: var(--content-text-color);
84
- padding: 8px 16px;
85
- border-radius: 4px;
86
- font-size: 0.75rem;
87
- transition: all 0.12s linear;
88
- &:nth-child(2) {
89
- background-color: var(--primary-color);
90
- color: var(--primary-text-color);
91
- &:hover {
92
- background-color: var(--primary-hover-color);
93
- }
94
- }
95
- }
96
- }
97
- }
98
-
99
- @media only screen and (max-width: 768px) {
100
- .storagePicker {
101
- .storagePickerInput > div {
102
- display: flex;
103
- flex-direction: column;
104
- .storage {
105
- width: 100%;
106
- margin-bottom: 10px;
107
- }
108
- .path {
109
- width: 100%;
110
- margin-left: 0px;
111
- }
112
- }
113
- }
114
- }
@@ -1,54 +0,0 @@
1
- .tagField {
2
- width: 100%;
3
-
4
- .tagBox {
5
- width: 100%;
6
- border: 1px solid var(--field-line-color);
7
- border-radius: 6px;
8
- padding: 7px;
9
- display: flex;
10
- flex-wrap: wrap;
11
- gap: 10px;
12
- box-sizing: border-box;
13
- }
14
-
15
- .tag {
16
- background: var(--background-color);
17
- border: 1px solid var(--line-color);
18
- font-size: 0.75rem;
19
- padding: 0px 10px;
20
- border-radius: 4px;
21
- display: flex;
22
- align-items: center;
23
- gap: 5px;
24
-
25
- span {
26
- position: relative;
27
- top: 2px;
28
- opacity: 0.5;
29
- }
30
- i {
31
- font-style: normal;
32
- padding: 2px;
33
- cursor: pointer;
34
- opacity: 0.5;
35
- &:hover {
36
- opacity: 0.8;
37
- }
38
- }
39
- }
40
-
41
- .textInput {
42
- input {
43
- border: none;
44
- font-size: 0.75rem;
45
- font-family: inherit;
46
- padding: 5px;
47
- background-color: var(--content-background-color);
48
- &:focus {
49
- outline: none;
50
- border: none;
51
- }
52
- }
53
- }
54
- }
@@ -1,73 +0,0 @@
1
- @use '../../../../styles/fields.scss';
2
-
3
- .timePickerField {
4
- width: 130px;
5
- }
6
-
7
- .fieldInner {
8
- width: auto;
9
- position: relative;
10
- }
11
-
12
- .fieldLabel {
13
- @extend %fieldLabel;
14
- }
15
-
16
- .currentTime {
17
- border: 1px solid var(--field-line-color);
18
- padding: 8px 10px;
19
- border-radius: 6px;
20
- display: flex;
21
- justify-content: space-between;
22
- cursor: pointer;
23
- .dropBtn {
24
- background: transparent;
25
- color: var(--icon-color);
26
- }
27
- }
28
-
29
- .timeSelect {
30
- position: absolute;
31
- background-color: var(--field-bg);
32
- border: 1px solid var(--field-line-color);
33
- padding: 10px;
34
- border-radius: 0 0 6px 6px;
35
- margin-top: -3px;
36
- }
37
-
38
- .times {
39
- display: flex;
40
-
41
- & > span {
42
- padding: 5px;
43
- }
44
- }
45
-
46
- .timeInput {
47
- border: 1px solid var(--field-line-color);
48
- padding: 5px;
49
- border-radius: 6px;
50
- width: 35px;
51
- text-align: left;
52
- color: inherit;
53
- }
54
-
55
- .ampm {
56
- background-color: transparent;
57
- border: none;
58
- margin-top: 8px;
59
- text-align: center;
60
- button {
61
- padding: 8px 15px;
62
- }
63
- }
64
-
65
- .ampmActive {
66
- background-color: var(--primary-color);
67
- color: var(--primary-text-color);
68
- border-radius: 4px;
69
- }
70
-
71
- .description {
72
- @extend %fieldDescription;
73
- }
@@ -1,68 +0,0 @@
1
- .toggleField {
2
- &.toggleFieldInline {
3
- .fieldInner {
4
- width: 100%;
5
- display: flex;
6
- flex-direction: row;
7
- justify-content: space-between;
8
- gap: 12px;
9
- }
10
- }
11
- }
12
-
13
- .toggleCheckbox {
14
- display: flex;
15
- span {
16
- // width: 250px;
17
- display: inline-block;
18
- font-size: 0.75rem;
19
- }
20
-
21
- input[type='checkbox'] {
22
- height: 0;
23
- width: 0;
24
- margin: 0;
25
- min-width: 0;
26
- visibility: hidden;
27
- }
28
-
29
- label {
30
- cursor: pointer;
31
- text-indent: -9999px;
32
- width: 32px;
33
- height: 18px;
34
- background: var(--line-active-color);
35
- display: inline-block;
36
- border-radius: 30px;
37
- position: relative;
38
- }
39
-
40
- label:after {
41
- content: '';
42
- position: absolute;
43
- top: 3px;
44
- left: 3px;
45
- width: 12px;
46
- height: 12px;
47
- background: var(--content-background-color);
48
- border-radius: 30px;
49
- transition: 0.3s;
50
- }
51
-
52
- input:checked + label {
53
- background: linear-gradient(135deg, #8778ff 0%, #526ec7 100%);
54
- }
55
-
56
- input:checked + label:after {
57
- left: calc(100% - 3px);
58
- transform: translateX(-100%);
59
- }
60
-
61
- label:active:after {
62
- width: 30px;
63
- }
64
- }
65
-
66
- .description {
67
- padding-left: 10px;
68
- }
@@ -1,67 +0,0 @@
1
- @use '../../../../styles/fields.scss';
2
-
3
- .tristateField {
4
- .fieldInner {
5
- display: flex;
6
- flex-direction: column;
7
- gap: 8px;
8
- width: 100%;
9
- }
10
-
11
- .inputGroup {
12
- display: flex;
13
- align-items: center;
14
- gap: 8px;
15
- }
16
-
17
- .optionSelector {
18
- display: flex;
19
- list-style: none;
20
- margin: 0;
21
- padding: 0;
22
- border: 1px solid var(--field-line-color);
23
- border-radius: 6px;
24
- overflow: hidden;
25
- }
26
-
27
- .option {
28
- display: flex;
29
- align-items: center;
30
- gap: 4px;
31
- padding: 5px 12px;
32
- font-size: 0.75rem;
33
- cursor: pointer;
34
- color: var(--content-text-color);
35
- background: transparent;
36
- border-right: 1px solid var(--field-line-color);
37
- transition: all 0.2s ease;
38
-
39
- &:last-child {
40
- border-right: none;
41
- }
42
-
43
- &:hover {
44
- background: var(--background-color);
45
- }
46
-
47
- &.selected {
48
- background: var(--primary-color);
49
- color: var(--primary-text-color);
50
- }
51
-
52
- &.optionDisabled {
53
- opacity: 0.6;
54
- user-select: none;
55
- cursor: not-allowed;
56
- }
57
- }
58
-
59
- &.tristateInline {
60
- .fieldInner {
61
- display: flex;
62
- flex-direction: row;
63
- gap: 1.25rem;
64
- align-items: center;
65
- }
66
- }
67
- }