@appscode/design-system 2.4.27-alpha1 → 2.4.27
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/package.json +4 -6
- package/vue-components/styles/base/utilities/_colors.scss +25 -9
- package/vue-components/styles/base/utilities/_global.scss +2 -2
- package/vue-components/styles/base/utilities/_typography.scss +74 -68
- package/vue-components/styles/components/_ac-calendar.scss +3 -3
- package/vue-components/styles/components/_ac-code-highlight.scss +1 -1
- package/vue-components/styles/components/_ac-drag.scss +1 -1
- package/vue-components/styles/components/_accordion.scss +1 -1
- package/vue-components/styles/components/_breadcrumb.scss +1 -1
- package/vue-components/styles/components/_card-body-wrapper.scss +3 -3
- package/vue-components/styles/components/_direct-deploy.scss +2 -2
- package/vue-components/styles/components/_dropdown.scss +1 -1
- package/vue-components/styles/components/_getkeeper.scss +1 -1
- package/vue-components/styles/components/_graph.scss +1 -1
- package/vue-components/styles/components/_options.scss +2 -2
- package/vue-components/styles/components/_pagination.scss +2 -2
- package/vue-components/styles/components/_table-of-content.scss +3 -3
- package/vue-components/styles/components/_table.scss +4 -4
- package/vue-components/styles/components/_tabs.scss +4 -4
- package/vue-components/styles/components/_terminal.scss +4 -4
- package/vue-components/styles/components/_widget-menu.scss +6 -6
- package/vue-components/styles/components/_wizard.scss +9 -9
- package/vue-components/styles/components/ac-toaster/_ac-toasted.scss +2 -2
- package/vue-components/styles/components/alert/_alert.scss +1 -1
- package/vue-components/styles/components/alert/_toast.scss +1 -1
- package/vue-components/styles/components/bbum/_card-team.scss +2 -2
- package/vue-components/styles/components/bbum/_left-sidebar.scss +2 -2
- package/vue-components/styles/components/bbum/_sign-up-notification.scss +2 -2
- package/vue-components/styles/components/bbum/_single-post-preview.scss +1 -1
- package/vue-components/styles/components/bbum/_user-profile.scss +3 -3
- package/vue-components/styles/components/cards/_cluster.scss +1 -1
- package/vue-components/styles/components/cards/_features.scss +1 -1
- package/vue-components/styles/components/cards/_info.scss +1 -1
- package/vue-components/styles/components/cards/_monitoring.scss +1 -1
- package/vue-components/styles/components/cards/_payment-card.scss +3 -3
- package/vue-components/styles/components/cards/_subscription-card.scss +2 -2
- package/vue-components/styles/components/cards/_vendor.scss +5 -5
- package/vue-components/styles/components/form-fields/_check-radio-switch.scss +4 -4
- package/vue-components/styles/components/form-fields/_image-upload.scss +1 -1
- package/vue-components/styles/components/form-fields/_input-card.scss +3 -3
- package/vue-components/styles/components/form-fields/_input.scss +16 -16
- package/vue-components/styles/components/inbox/all.scss +4 -19
- package/vue-components/styles/components/navbar/_menu-content.scss +11 -11
- package/vue-components/styles/components/select-box/_ac-select-box.scss +1 -1
- package/vue-components/styles/components/select-box/_multi-select.scss +23 -22
- package/vue-components/styles/components/sidebar/_left-sidebar.scss +2 -2
- package/vue-components/styles/components/ui-builder/_ui-builder.scss +3 -3
- package/vue-components/styles/components/ui-builder/_vue-open-api.scss +13 -13
- package/vue-components/styles/layouts/_code-preview.scss +1 -1
- package/vue-components/v3/accordion/Accordion.vue +3 -11
- package/vue-components/v3/alert/AlertMessage.vue +3 -11
- package/vue-components/v3/alert/Toast.vue +3 -10
- package/vue-components/v3/breadcrumbs/Breadcrumb.vue +2 -16
- package/vue-components/v3/cards/InfoCard.vue +6 -77
- package/vue-components/v3/cards/Monitoring.vue +3 -23
- package/vue-components/v3/form-fields/AcSelect.vue +2 -10
- package/vue-components/v3/form-fields/Accordion.vue +4 -4
- package/vue-components/v3/form-fields/CheckBox.vue +1 -1
- package/vue-components/v3/form-fields/CheckRadio.vue +2 -3
- package/vue-components/v3/form-fields/CustomSelect.vue +7 -12
- package/vue-components/v3/form-fields/FileUpload.vue +5 -14
- package/vue-components/v3/icons/BellIcon.vue +18 -0
- package/vue-components/v3/icons/CrossIcon.vue +12 -0
- package/vue-components/v3/icons/GridIcon.vue +32 -0
- package/vue-components/v3/icons/HomeIcon.vue +12 -0
- package/vue-components/v3/icons/MemoryIcon.vue +36 -4
- package/vue-components/v3/icons/MonitorIcon.vue +13 -0
- package/vue-components/v3/icons/StorageIcon.vue +32 -0
- package/vue-components/v3/icons/UploadIcon.vue +16 -0
- package/vue-components/v3/inbox/MessageList.vue +7 -6
- package/vue-components/v3/modal/DialogModal.vue +2 -10
- package/vue-components/v3/navbar/Appdrawer.vue +2 -30
- package/vue-components/v3/navbar/Notification.vue +6 -22
- package/vue-components/v3/pagination/Pagination.vue +1 -1
- package/vue-components/v3/searchbars/SearchBar.vue +2 -7
- package/vue-components/v3/table/InfoTable.vue +1 -1
- package/vue-components/v3/upcoming/SimpleSelect.vue +5 -5
- package/vue-components/plugins/time-convert.js +0 -45
- /package/vue-components/v3/icons/{ArrowDownIcon.vue → ArrowIcon.vue} +0 -0
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
border-radius: 4px;
|
|
9
9
|
border: 1px solid $color-border-dark;
|
|
10
10
|
padding: 6px 30px 8px 15px;
|
|
11
|
-
font-size:
|
|
11
|
+
font-size: 1rem;
|
|
12
12
|
border-radius: 4px;
|
|
13
13
|
|
|
14
14
|
&:hover {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
padding: 0;
|
|
21
21
|
// padding-top: 2px !important;
|
|
22
22
|
font-weight: 500;
|
|
23
|
-
font-size:
|
|
23
|
+
font-size: 1rem;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.multiselect__tags-wrap {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
padding-left: 0;
|
|
56
56
|
left: 0px;
|
|
57
57
|
// top: 2px;
|
|
58
|
-
font-size:
|
|
58
|
+
font-size: 1rem !important;
|
|
59
59
|
font-weight: 500;
|
|
60
60
|
color: $color-heading;
|
|
61
61
|
line-height: 1.5;
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
.multiselect__option {
|
|
77
77
|
padding: 4px 16px;
|
|
78
78
|
min-height: 32px;
|
|
79
|
-
font-size:
|
|
79
|
+
font-size: 1rem;
|
|
80
80
|
display: flex;
|
|
81
81
|
align-items: center;
|
|
82
82
|
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
p {
|
|
88
|
-
font-size:
|
|
88
|
+
font-size: 1rem;
|
|
89
89
|
color: $color-heading;
|
|
90
90
|
}
|
|
91
91
|
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
span {
|
|
147
147
|
label {
|
|
148
148
|
padding-left: 15px !important;
|
|
149
|
-
font-size:
|
|
149
|
+
font-size: 1rem !important;
|
|
150
150
|
color: $primary-10 !important;
|
|
151
151
|
|
|
152
152
|
&:after {
|
|
@@ -163,12 +163,12 @@
|
|
|
163
163
|
color: $color-text;
|
|
164
164
|
font-weight: 400;
|
|
165
165
|
line-height: 1.6;
|
|
166
|
-
font-size:
|
|
166
|
+
font-size: 1rem;
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
.multiselect__tags > span {
|
|
171
|
-
font-size:
|
|
171
|
+
font-size: 1rem;
|
|
172
172
|
line-height: 1;
|
|
173
173
|
color: $color-heading;
|
|
174
174
|
}
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
|
|
208
208
|
&.is-small {
|
|
209
209
|
label {
|
|
210
|
-
font-size:
|
|
210
|
+
font-size: 1rem;
|
|
211
211
|
top: 6px;
|
|
212
212
|
|
|
213
213
|
&.show-label {
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
.multiselect .multiselect__tags {
|
|
247
247
|
min-height: 32px !important;
|
|
248
248
|
padding: 4px 30px 4px 15px;
|
|
249
|
-
font-size:
|
|
249
|
+
font-size: 1rem;
|
|
250
250
|
|
|
251
251
|
.multiselect__single {
|
|
252
252
|
font-size: 12px;
|
|
@@ -254,14 +254,14 @@
|
|
|
254
254
|
|
|
255
255
|
.multiselect__placeholder {
|
|
256
256
|
padding: 5px 0 0;
|
|
257
|
-
font-size:
|
|
257
|
+
font-size: 1rem;
|
|
258
258
|
font-weight: 500;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
.multiselect__input,
|
|
263
263
|
.multiselect__single {
|
|
264
|
-
font-size:
|
|
264
|
+
font-size: 1rem !important;
|
|
265
265
|
font-weight: 500;
|
|
266
266
|
line-height: 1.5;
|
|
267
267
|
// padding-bottom: 4px;
|
|
@@ -271,14 +271,14 @@
|
|
|
271
271
|
&::placeholder {
|
|
272
272
|
font-weight: 500;
|
|
273
273
|
line-height: 1.6;
|
|
274
|
-
font-size:
|
|
274
|
+
font-size: 1rem;
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
&.is-extra-small {
|
|
280
280
|
label {
|
|
281
|
-
font-size:
|
|
281
|
+
font-size: 1rem;
|
|
282
282
|
top: 6px;
|
|
283
283
|
font-weight: 500;
|
|
284
284
|
|
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
.multiselect .multiselect__tags {
|
|
321
321
|
min-height: 32px !important;
|
|
322
322
|
padding: 3px 30px 4px 15px;
|
|
323
|
-
font-size:
|
|
323
|
+
font-size: 1rem;
|
|
324
324
|
display: flex;
|
|
325
325
|
align-items: center;
|
|
326
326
|
|
|
@@ -331,14 +331,14 @@
|
|
|
331
331
|
|
|
332
332
|
.multiselect__placeholder {
|
|
333
333
|
padding: 5px 0 0;
|
|
334
|
-
font-size:
|
|
334
|
+
font-size: 1rem;
|
|
335
335
|
font-weight: 500;
|
|
336
336
|
}
|
|
337
337
|
}
|
|
338
338
|
|
|
339
339
|
.multiselect__input,
|
|
340
340
|
.multiselect__single {
|
|
341
|
-
font-size:
|
|
341
|
+
font-size: 1rem !important;
|
|
342
342
|
font-weight: 500;
|
|
343
343
|
line-height: 1.5;
|
|
344
344
|
// padding-bottom: 4px;
|
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
&::placeholder {
|
|
349
349
|
font-weight: 500;
|
|
350
350
|
line-height: 1.6;
|
|
351
|
-
font-size:
|
|
351
|
+
font-size: 1rem;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
}
|
|
@@ -397,14 +397,14 @@
|
|
|
397
397
|
}
|
|
398
398
|
|
|
399
399
|
label {
|
|
400
|
-
font-size:
|
|
400
|
+
font-size: 1rem;
|
|
401
401
|
left: 15px;
|
|
402
402
|
top: 8px;
|
|
403
403
|
cursor: text;
|
|
404
404
|
color: $color-heading;
|
|
405
405
|
position: absolute;
|
|
406
406
|
z-index: 99;
|
|
407
|
-
transition: 0.
|
|
407
|
+
transition: 0.1s ease-in-out;
|
|
408
408
|
|
|
409
409
|
.is-required {
|
|
410
410
|
img {
|
|
@@ -418,8 +418,9 @@
|
|
|
418
418
|
top: -10px;
|
|
419
419
|
left: 10px;
|
|
420
420
|
padding: 0 5px;
|
|
421
|
-
font-size:
|
|
421
|
+
font-size: 12px;
|
|
422
422
|
color: $gray-40;
|
|
423
|
+
font-weight: 500;
|
|
423
424
|
|
|
424
425
|
&::after {
|
|
425
426
|
background-color: $white-100;
|
|
@@ -448,7 +449,7 @@
|
|
|
448
449
|
|
|
449
450
|
li {
|
|
450
451
|
.multiselect__option {
|
|
451
|
-
font-size:
|
|
452
|
+
font-size: 1rem;
|
|
452
453
|
color: $color-heading;
|
|
453
454
|
|
|
454
455
|
&:has(input[type="checkbox"]) {
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
a {
|
|
90
90
|
font-style: normal;
|
|
91
91
|
font-weight: 500;
|
|
92
|
-
font-size:
|
|
92
|
+
font-size: 1rem;
|
|
93
93
|
line-height: 16px;
|
|
94
94
|
color: $white-100;
|
|
95
95
|
position: relative;
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
li {
|
|
181
181
|
a {
|
|
182
182
|
padding-left: 52px;
|
|
183
|
-
font-size:
|
|
183
|
+
font-size: 1rem;
|
|
184
184
|
padding-top: 10px;
|
|
185
185
|
padding-bottom: 10px;
|
|
186
186
|
}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
p {
|
|
23
|
-
font-size:
|
|
23
|
+
font-size: 1rem;
|
|
24
24
|
margin-bottom: 10px;
|
|
25
25
|
color: $color-text;
|
|
26
26
|
}
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
// .th,
|
|
194
194
|
// .td {
|
|
195
195
|
// width: 20%;
|
|
196
|
-
// font-size:
|
|
196
|
+
// font-size: 1rem;
|
|
197
197
|
// min-width: 150px;
|
|
198
198
|
// padding: 6px 20px;
|
|
199
199
|
// }
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
strong {
|
|
314
314
|
font-style: normal;
|
|
315
315
|
font-weight: 500;
|
|
316
|
-
font-size:
|
|
316
|
+
font-size: 1rem;
|
|
317
317
|
line-height: 16px;
|
|
318
318
|
color: $color-heading;
|
|
319
319
|
margin-right: 16px;
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
&.borderless-input {
|
|
171
171
|
input {
|
|
172
172
|
border: none;
|
|
173
|
-
font-size:
|
|
173
|
+
font-size: 1rem;
|
|
174
174
|
padding: 4px 7px;
|
|
175
175
|
height: 30px;
|
|
176
176
|
background-color: $white-100;
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
|
|
224
224
|
label {
|
|
225
225
|
top: 13px;
|
|
226
|
-
font-size:
|
|
226
|
+
font-size: 1rem;
|
|
227
227
|
|
|
228
228
|
&.show-label {
|
|
229
229
|
font-size: 12px;
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
.icon {
|
|
240
240
|
height: 45px;
|
|
241
241
|
width: 30px;
|
|
242
|
-
font-size:
|
|
242
|
+
font-size: 1rem;
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
}
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
&.is-small {
|
|
249
249
|
input {
|
|
250
250
|
height: 36px;
|
|
251
|
-
font-size:
|
|
251
|
+
font-size: 1rem;
|
|
252
252
|
font-weight: 400;
|
|
253
253
|
}
|
|
254
254
|
|
|
@@ -271,7 +271,7 @@
|
|
|
271
271
|
|
|
272
272
|
label {
|
|
273
273
|
top: 8px;
|
|
274
|
-
font-size:
|
|
274
|
+
font-size: 1rem;
|
|
275
275
|
|
|
276
276
|
&.switch-label {
|
|
277
277
|
top: 0;
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
.icon {
|
|
297
297
|
height: 36px;
|
|
298
298
|
width: 25px;
|
|
299
|
-
font-size:
|
|
299
|
+
font-size: 1rem;
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
}
|
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
&.is-extra-small {
|
|
306
306
|
input {
|
|
307
307
|
height: 32px;
|
|
308
|
-
font-size:
|
|
308
|
+
font-size: 1rem;
|
|
309
309
|
font-weight: 400;
|
|
310
310
|
}
|
|
311
311
|
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
|
|
337
337
|
label {
|
|
338
338
|
top: 8px;
|
|
339
|
-
font-size:
|
|
339
|
+
font-size: 1rem;
|
|
340
340
|
|
|
341
341
|
&.switch-label {
|
|
342
342
|
top: 0;
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
.icon {
|
|
354
354
|
height: 32px;
|
|
355
355
|
width: 25px;
|
|
356
|
-
font-size:
|
|
356
|
+
font-size: 1rem;
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
}
|
|
@@ -382,7 +382,7 @@
|
|
|
382
382
|
}
|
|
383
383
|
|
|
384
384
|
label {
|
|
385
|
-
font-size:
|
|
385
|
+
font-size: 1rem;
|
|
386
386
|
left: 15px;
|
|
387
387
|
top: 11px;
|
|
388
388
|
cursor: text;
|
|
@@ -405,7 +405,7 @@
|
|
|
405
405
|
top: -9px;
|
|
406
406
|
left: 10px;
|
|
407
407
|
padding: 0 5px;
|
|
408
|
-
font-size:
|
|
408
|
+
font-size: 1rem;
|
|
409
409
|
color: $gray-40;
|
|
410
410
|
|
|
411
411
|
&:after {
|
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
a {
|
|
475
475
|
color: $color-heading;
|
|
476
476
|
display: block;
|
|
477
|
-
font-size:
|
|
477
|
+
font-size: 1rem;
|
|
478
478
|
padding: 8px 20px;
|
|
479
479
|
transition: 0.3s;
|
|
480
480
|
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
|
|
521
521
|
b.isRequired {
|
|
522
522
|
color: $danger;
|
|
523
|
-
font-size:
|
|
523
|
+
font-size: 1rem;
|
|
524
524
|
position: absolute;
|
|
525
525
|
right: 5px;
|
|
526
526
|
z-index: 9;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
+
import ArrowIcon from "../icons/ArrowIcon.vue";
|
|
3
|
+
|
|
2
4
|
withDefaults(defineProps<{ isActive?: boolean; bodyInside?: boolean }>(), {
|
|
3
5
|
isActive: false,
|
|
4
6
|
bodyInside: false,
|
|
@@ -19,17 +21,7 @@ defineEmits(["onClick"]);
|
|
|
19
21
|
<slot name="description" />
|
|
20
22
|
</div>
|
|
21
23
|
<button class="icon">
|
|
22
|
-
<
|
|
23
|
-
:style="{ transform: isActive ? 'rotate(-180deg)' : 'rotate(0deg)' }"
|
|
24
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
25
|
-
fill="none"
|
|
26
|
-
viewBox="0 0 24 24"
|
|
27
|
-
stroke-width="1.5"
|
|
28
|
-
stroke="currentColor"
|
|
29
|
-
class="size-6"
|
|
30
|
-
>
|
|
31
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5" />
|
|
32
|
-
</svg>
|
|
24
|
+
<ArrowIcon :direction="isActive ? 'down' : 'up'" />
|
|
33
25
|
</button>
|
|
34
26
|
</div>
|
|
35
27
|
</div>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { ref } from "vue";
|
|
3
|
+
import CrossIcon from "../icons/CrossIcon.vue";
|
|
3
4
|
|
|
4
5
|
interface Props {
|
|
5
6
|
modifierClasses?: string;
|
|
@@ -34,17 +35,8 @@ function hideAlert() {
|
|
|
34
35
|
</div>
|
|
35
36
|
|
|
36
37
|
<button v-if="hasCrossIcon" class="button is-text" @click="hideAlert">
|
|
37
|
-
<span class="icon"
|
|
38
|
-
|
|
39
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
40
|
-
fill="none"
|
|
41
|
-
viewBox="0 0 24 24"
|
|
42
|
-
stroke-width="1.5"
|
|
43
|
-
stroke="currentColor"
|
|
44
|
-
class="w-6 h-6"
|
|
45
|
-
>
|
|
46
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
|
|
47
|
-
</svg>
|
|
38
|
+
<span class="icon">
|
|
39
|
+
<CrossIcon />
|
|
48
40
|
</span>
|
|
49
41
|
</button>
|
|
50
42
|
</div>
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
+
import CrossIcon from "../icons/CrossIcon.vue";
|
|
3
|
+
|
|
2
4
|
interface Props {
|
|
3
5
|
modifierClasses?: string;
|
|
4
6
|
}
|
|
@@ -15,16 +17,7 @@ withDefaults(defineProps<Props>(), {
|
|
|
15
17
|
<small>2 hours ago</small>
|
|
16
18
|
<button type="button" class="button ac-button is-white ml-8">
|
|
17
19
|
<span class="icon">
|
|
18
|
-
<
|
|
19
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
20
|
-
fill="none"
|
|
21
|
-
viewBox="0 0 24 24"
|
|
22
|
-
stroke-width="1.5"
|
|
23
|
-
stroke="currentColor"
|
|
24
|
-
class="w-6 h-6"
|
|
25
|
-
>
|
|
26
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12" />
|
|
27
|
-
</svg>
|
|
20
|
+
<CrossIcon />
|
|
28
21
|
</span>
|
|
29
22
|
</button>
|
|
30
23
|
</div>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { watch, ref } from "vue";
|
|
3
3
|
import { useRoute } from "vue-router";
|
|
4
|
+
import HomeIcon from "../icons/HomeIcon.vue";
|
|
4
5
|
|
|
5
6
|
interface BreadCrumbType {
|
|
6
7
|
name: string;
|
|
@@ -86,22 +87,7 @@ watch(
|
|
|
86
87
|
<li v-for="(item, idx) in list" :key="idx" :class="{ 'is-active': idx === list.length - 1 }">
|
|
87
88
|
<router-link class="router-link-active" :class="{ 'is-active': idx === list.length - 1 }" :to="item.path">
|
|
88
89
|
<span v-if="idx === 0" class="icon is-flex-start p-0 m-0">
|
|
89
|
-
<
|
|
90
|
-
<path
|
|
91
|
-
d="M1 4.5L5.5 1L10 4.5V10C10 10.2652 9.89464 10.5196 9.70711 10.7071C9.51957 10.8946 9.26522 11 9 11H2C1.73478 11 1.48043 10.8946 1.29289 10.7071C1.10536 10.5196 1 10.2652 1 10V4.5Z"
|
|
92
|
-
stroke="#666666"
|
|
93
|
-
stroke-width="1.5"
|
|
94
|
-
stroke-linecap="round"
|
|
95
|
-
stroke-linejoin="round"
|
|
96
|
-
/>
|
|
97
|
-
<path
|
|
98
|
-
d="M4 11V6H7V11"
|
|
99
|
-
stroke="#666666"
|
|
100
|
-
stroke-width="1.5"
|
|
101
|
-
stroke-linecap="round"
|
|
102
|
-
stroke-linejoin="round"
|
|
103
|
-
/>
|
|
104
|
-
</svg>
|
|
90
|
+
<HomeIcon />
|
|
105
91
|
</span>
|
|
106
92
|
{{ item.name }}
|
|
107
93
|
</router-link>
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { defineAsyncComponent } from "vue";
|
|
3
3
|
import type { AcTableRow } from "../../types/table";
|
|
4
|
+
import CpuIcon from "../icons/CpuIcon.vue";
|
|
5
|
+
import MemoryIcon from "../icons/MemoryIcon.vue";
|
|
6
|
+
import StorageIcon from "../icons/StorageIcon.vue";
|
|
4
7
|
interface Props {
|
|
5
8
|
title?: string;
|
|
6
9
|
modifierClasses?: string;
|
|
@@ -33,15 +36,7 @@ const OptionDots = defineAsyncComponent(() => import("../option-dots/Options.vue
|
|
|
33
36
|
<div class="left-content">
|
|
34
37
|
<p title="CPU (request/limit)">
|
|
35
38
|
<span class="icon">
|
|
36
|
-
<
|
|
37
|
-
<path
|
|
38
|
-
d="M6.63471 1V2.45659M2.60992 6.09807H1M20.319 6.09807H18.7091M2.60992 9.73955H1M20.319 9.73955H18.7091M2.60992 13.381H1M20.319 13.381H18.7091M6.63471 17.0225V18.4791M10.6595 1V2.45659M10.6595 17.0225V18.4791M14.6843 1V2.45659M14.6843 17.0225V18.4791M5.02479 17.0225H16.2942C16.9347 17.0225 17.5489 16.7923 18.0018 16.3826C18.4547 15.9728 18.7091 15.4171 18.7091 14.8376V4.64148C18.7091 4.06201 18.4547 3.50628 18.0018 3.09653C17.5489 2.68679 16.9347 2.45659 16.2942 2.45659H5.02479C4.38433 2.45659 3.7701 2.68679 3.31722 3.09653C2.86434 3.50628 2.60992 4.06201 2.60992 4.64148V14.8376C2.60992 15.4171 2.86434 15.9728 3.31722 16.3826C3.7701 16.7923 4.38433 17.0225 5.02479 17.0225ZM5.82975 5.36978H15.4893V14.1093H5.82975V5.36978Z"
|
|
39
|
-
stroke="#5C5C5C"
|
|
40
|
-
stroke-width="0.979443"
|
|
41
|
-
stroke-linecap="round"
|
|
42
|
-
stroke-linejoin="round"
|
|
43
|
-
/>
|
|
44
|
-
</svg>
|
|
39
|
+
<CpuIcon />
|
|
45
40
|
</span>
|
|
46
41
|
<strong>
|
|
47
42
|
{{ rowData?.cells[2]?.data ? rowData?.cells[2]?.data : "-" }}
|
|
@@ -49,44 +44,7 @@ const OptionDots = defineAsyncComponent(() => import("../option-dots/Options.vue
|
|
|
49
44
|
</p>
|
|
50
45
|
<p title="Memory (request/limit)">
|
|
51
46
|
<span class="icon">
|
|
52
|
-
<
|
|
53
|
-
<rect
|
|
54
|
-
x="0.489721"
|
|
55
|
-
y="0.489721"
|
|
56
|
-
width="18.6094"
|
|
57
|
-
height="11.7533"
|
|
58
|
-
rx="1.46916"
|
|
59
|
-
stroke="#5C5C5C"
|
|
60
|
-
stroke-width="0.979443"
|
|
61
|
-
/>
|
|
62
|
-
<rect
|
|
63
|
-
x="3.10105"
|
|
64
|
-
y="2.91453"
|
|
65
|
-
width="2.50302"
|
|
66
|
-
height="7.2059"
|
|
67
|
-
rx="1.25151"
|
|
68
|
-
stroke="#5C5C5C"
|
|
69
|
-
stroke-width="0.979443"
|
|
70
|
-
/>
|
|
71
|
-
<rect
|
|
72
|
-
x="8.54246"
|
|
73
|
-
y="2.91453"
|
|
74
|
-
width="2.50302"
|
|
75
|
-
height="7.2059"
|
|
76
|
-
rx="1.25151"
|
|
77
|
-
stroke="#5C5C5C"
|
|
78
|
-
stroke-width="0.979443"
|
|
79
|
-
/>
|
|
80
|
-
<rect
|
|
81
|
-
x="13.9839"
|
|
82
|
-
y="2.91453"
|
|
83
|
-
width="2.50302"
|
|
84
|
-
height="7.2059"
|
|
85
|
-
rx="1.25151"
|
|
86
|
-
stroke="#5C5C5C"
|
|
87
|
-
stroke-width="0.979443"
|
|
88
|
-
/>
|
|
89
|
-
</svg>
|
|
47
|
+
<MemoryIcon />
|
|
90
48
|
</span>
|
|
91
49
|
<strong>
|
|
92
50
|
{{ rowData.cells[3]?.data ? rowData?.cells[3]?.data : "-" }}
|
|
@@ -94,36 +52,7 @@ const OptionDots = defineAsyncComponent(() => import("../option-dots/Options.vue
|
|
|
94
52
|
</p>
|
|
95
53
|
<p title="Storage (request/limit)">
|
|
96
54
|
<span class="icon">
|
|
97
|
-
<
|
|
98
|
-
<path
|
|
99
|
-
d="M20.3189 7.76208H1"
|
|
100
|
-
stroke="#5C5C5C"
|
|
101
|
-
stroke-width="0.979443"
|
|
102
|
-
stroke-linecap="round"
|
|
103
|
-
stroke-linejoin="round"
|
|
104
|
-
/>
|
|
105
|
-
<path
|
|
106
|
-
d="M4.3325 1.93817L1 7.76161V12.8328C1 13.2811 1.20354 13.7111 1.56584 14.0281C1.92814 14.3451 2.41952 14.5232 2.93189 14.5232H18.387C18.8994 14.5232 19.3907 14.3451 19.753 14.0281C20.1153 13.7111 20.3189 13.2811 20.3189 12.8328V7.76161L16.9864 1.93817C16.8264 1.65654 16.5799 1.41953 16.2744 1.2538C15.969 1.08806 15.6167 1.00017 15.2573 1H6.06154C5.70213 1.00017 5.3499 1.08806 5.04445 1.2538C4.739 1.41953 4.49244 1.65654 4.3325 1.93817Z"
|
|
107
|
-
stroke="#5C5C5C"
|
|
108
|
-
stroke-width="0.979443"
|
|
109
|
-
stroke-linecap="round"
|
|
110
|
-
stroke-linejoin="round"
|
|
111
|
-
/>
|
|
112
|
-
<path
|
|
113
|
-
d="M4.86426 11.1421H4.87333"
|
|
114
|
-
stroke="#5C5C5C"
|
|
115
|
-
stroke-width="1.27328"
|
|
116
|
-
stroke-linecap="round"
|
|
117
|
-
stroke-linejoin="round"
|
|
118
|
-
/>
|
|
119
|
-
<path
|
|
120
|
-
d="M8.72754 11.1421H8.73661"
|
|
121
|
-
stroke="#5C5C5C"
|
|
122
|
-
stroke-width="1.27328"
|
|
123
|
-
stroke-linecap="round"
|
|
124
|
-
stroke-linejoin="round"
|
|
125
|
-
/>
|
|
126
|
-
</svg>
|
|
55
|
+
<StorageIcon />
|
|
127
56
|
</span>
|
|
128
57
|
<strong>
|
|
129
58
|
{{ rowData?.cells[4]?.data ? rowData?.cells[4]?.data : "-" }}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
+
import MonitorIcon from "../icons/MonitorIcon.vue";
|
|
3
|
+
|
|
2
4
|
interface Props {
|
|
3
5
|
title?: string;
|
|
4
6
|
modifierClasses?: string;
|
|
@@ -16,29 +18,7 @@ withDefaults(defineProps<Props>(), {
|
|
|
16
18
|
<div class="tag has-background-danger-light has-text-danger is-rounded required">REQUIRED</div>
|
|
17
19
|
<div class="c-title is-flex gap-8 is-fullwidth is-align-items-center">
|
|
18
20
|
<div class="icon">
|
|
19
|
-
<
|
|
20
|
-
<path
|
|
21
|
-
d="M20 3H4C2.89543 3 2 3.89543 2 5V15C2 16.1046 2.89543 17 4 17H20C21.1046 17 22 16.1046 22 15V5C22 3.89543 21.1046 3 20 3Z"
|
|
22
|
-
stroke="#808080"
|
|
23
|
-
stroke-width="1.5"
|
|
24
|
-
stroke-linecap="round"
|
|
25
|
-
stroke-linejoin="round"
|
|
26
|
-
></path>
|
|
27
|
-
<path
|
|
28
|
-
d="M8 21H16"
|
|
29
|
-
stroke="#808080"
|
|
30
|
-
stroke-width="1.5"
|
|
31
|
-
stroke-linecap="round"
|
|
32
|
-
stroke-linejoin="round"
|
|
33
|
-
></path>
|
|
34
|
-
<path
|
|
35
|
-
d="M12 17V21"
|
|
36
|
-
stroke="#808080"
|
|
37
|
-
stroke-width="1.5"
|
|
38
|
-
stroke-linecap="round"
|
|
39
|
-
stroke-linejoin="round"
|
|
40
|
-
></path>
|
|
41
|
-
</svg>
|
|
21
|
+
<MonitorIcon />
|
|
42
22
|
</div>
|
|
43
23
|
<h5>{{ title }}</h5>
|
|
44
24
|
</div>
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { computed, ref } from "vue";
|
|
3
3
|
import type { ComponentPublicInstance } from "vue";
|
|
4
4
|
import Multiselect from "vue-multiselect";
|
|
5
|
+
import CrossIcon from "../icons/CrossIcon.vue";
|
|
5
6
|
|
|
6
7
|
interface Props {
|
|
7
8
|
errorMsg?: string;
|
|
@@ -116,16 +117,7 @@ const onSelect = (selectedOption: unknown, id: string) => emit("select", selecte
|
|
|
116
117
|
</label>
|
|
117
118
|
<button v-if="allowEmpty && model" class="button ac-button is-clear is-transparent" @click.prevent="model = ''">
|
|
118
119
|
<span class="icon width-16">
|
|
119
|
-
<
|
|
120
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
121
|
-
fill="none"
|
|
122
|
-
viewBox="0 0 24 24"
|
|
123
|
-
stroke-width="1.5"
|
|
124
|
-
stroke="currentColor"
|
|
125
|
-
class="size-6"
|
|
126
|
-
>
|
|
127
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12" />
|
|
128
|
-
</svg>
|
|
120
|
+
<CrossIcon />
|
|
129
121
|
</span>
|
|
130
122
|
</button>
|
|
131
123
|
<button
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
interface Props {
|
|
3
3
|
label: string;
|
|
4
4
|
customClass?: string;
|
|
5
|
-
isCollapsible
|
|
6
|
-
isRequired
|
|
7
|
-
errors
|
|
8
|
-
isFormHidden
|
|
5
|
+
isCollapsible?: boolean;
|
|
6
|
+
isRequired?: boolean;
|
|
7
|
+
errors?: Array<string>;
|
|
8
|
+
isFormHidden?: boolean;
|
|
9
9
|
}
|
|
10
10
|
withDefaults(defineProps<Props>(), {
|
|
11
11
|
label: "",
|
|
@@ -28,14 +28,13 @@ const model = defineModel();
|
|
|
28
28
|
:id="name + option.label"
|
|
29
29
|
type="radio"
|
|
30
30
|
:name="name"
|
|
31
|
-
l
|
|
32
31
|
:value="option.value"
|
|
33
32
|
/>
|
|
34
33
|
<label :for="name + option.label">{{ option.label }}</label>
|
|
35
|
-
<p v-show="errorMsg" class="
|
|
34
|
+
<p v-show="errorMsg" class="has-text-danger">
|
|
36
35
|
<slot name="message" />
|
|
37
36
|
</p>
|
|
38
|
-
<p v-show="errorMsg" class="
|
|
37
|
+
<p v-show="errorMsg" class="has-text-danger mb-16">
|
|
39
38
|
{{ errorMsg }}
|
|
40
39
|
</p>
|
|
41
40
|
</div>
|