@appscode/design-system 1.1.0-beta.2 → 1.1.0-beta.25
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/base/_video-player.scss +65 -0
- package/base/utilities/_all.scss +5 -4
- package/base/utilities/_colors.scss +341 -0
- package/base/utilities/_customize-bulma.scss +23 -27
- package/base/utilities/_extended.scss +3 -2
- package/base/utilities/{_default.scss → _global.scss} +167 -313
- package/base/utilities/_layouts.scss +157 -0
- package/base/utilities/_spacing.scss +96 -0
- package/base/utilities/_typography.scss +36 -4
- package/base/utilities/dark-theme.scss +2 -8
- package/components/_ac-alert-box.scss +205 -262
- package/components/_ac-code-highlight.scss +9 -12
- package/components/_ac-drag.scss +4 -4
- package/components/_ac-modal.scss +212 -212
- package/components/_ac-multi-select.scss +101 -72
- package/components/_ac-options.scss +122 -122
- package/components/_ac-select-box.scss +5 -5
- package/components/_ac-table.scss +503 -502
- package/components/_ac-tabs.scss +16 -16
- package/components/_ac-tags.scss +116 -116
- package/components/_accordion.scss +117 -0
- package/components/_all.scss +34 -29
- package/components/_app-drawer.scss +0 -134
- package/components/_breadcumb.scss +0 -71
- package/components/_buttons.scss +779 -779
- package/components/_dashboard-header.scss +0 -115
- package/components/_image-upload.scss +6 -6
- package/components/_input-card.scss +232 -0
- package/components/_input.scss +947 -0
- package/components/_left-sidebar-menu.scss +350 -483
- package/components/_monaco-editor.scss +2 -2
- package/components/_navbar.scss +786 -752
- package/components/_nested-list.scss +2 -2
- package/components/_overview-info.scss +3 -3
- package/components/_pagination.scss +9 -27
- package/components/_payment-card.scss +1 -1
- package/components/_pricing-table.scss +5 -5
- package/components/_progress-bar.scss +61 -74
- package/components/_subscription-card.scss +8 -10
- package/components/_table-of-content.scss +4 -4
- package/components/_terminal.scss +331 -0
- package/components/_widget-menu.scss +252 -257
- package/components/_wizard.scss +522 -801
- package/components/ac-toaster/_ac-toasted.scss +6 -11
- package/components/bbum/_information-center.scss +8 -10
- package/components/bbum/_mobile-desktop.scss +9 -14
- package/components/bbum/_single-post-preview.scss +9 -9
- package/components/ui-builder/_ui-builder.scss +18 -22
- package/components/ui-builder/_vue-open-api.scss +514 -1
- package/layouts/_code-preview.scss +6 -7
- package/main.scss +26 -10
- package/package.json +1 -1
- package/plugins/theme.js +11 -9
- package/plugins/vue-toaster.js +1 -1
- package/vue-components/types/importFlow.ts +16 -0
- package/vue-components/v2/banner/Banner.vue +1 -1
- package/vue-components/v2/card/Card.vue +1 -1
- package/vue-components/v2/editor/FilteredFileEditor.vue +2 -2
- package/vue-components/v2/modal/Modal.vue +1 -1
- package/vue-components/v2/pagination/Pagination.vue +1 -0
- package/vue-components/v3/alert/Alert.vue +7 -7
- package/vue-components/v3/banner/Banner.vue +2 -2
- package/vue-components/v3/breadcrumbs/Breadcrumb.vue +4 -2
- package/vue-components/v3/button/Button.vue +22 -10
- package/vue-components/v3/cards/Card.vue +1 -1
- package/vue-components/v3/cards/Cluster.vue +3 -4
- package/vue-components/v3/cards/Counter.vue +12 -0
- package/vue-components/v3/cards/FeatureCard.vue +31 -0
- package/vue-components/v3/cards/InfoCard.vue +4 -9
- package/vue-components/v3/cards/Monitoring.vue +1 -1
- package/vue-components/v3/cards/Vendor.vue +67 -5
- package/vue-components/v3/content/ContentTable.vue +7 -2
- package/vue-components/v3/editor/FilteredFileEditor.vue +200 -3
- package/vue-components/v3/footer/FooterItem.vue +4 -1
- package/vue-components/v3/footer/Info.vue +10 -8
- package/vue-components/v3/footer/Status.vue +21 -23
- package/vue-components/v3/footer/Usage.vue +20 -30
- package/vue-components/v3/form/Form.vue +0 -3
- package/vue-components/v3/form-fields/AcSingleInput.vue +9 -1
- package/vue-components/v3/header/Header.vue +5 -4
- package/vue-components/v3/loaders/InfoCardLoader.vue +65 -0
- package/vue-components/v3/modal/Modal.vue +1 -1
- package/vue-components/v3/navbar/Navbar.vue +3 -1
- package/vue-components/v3/navbar/User.vue +4 -4
- package/vue-components/v3/notification/AlertBox.vue +233 -4
- package/vue-components/v3/option-dots/Options.vue +2 -1
- package/vue-components/v3/pagination/Pagination.vue +2 -1
- package/vue-components/v3/preloader/Preloader.vue +1 -1
- package/vue-components/v3/searchbars/SearchBar.vue +10 -2
- package/vue-components/v3/sidebar/ClusterSwitcher.vue +35 -31
- package/vue-components/v3/sidebar/Sidebar.vue +7 -11
- package/vue-components/v3/sidebar/SidebarFooter.vue +3 -3
- package/vue-components/v3/sidebar/SidebarHeader.vue +3 -3
- package/vue-components/v3/sidebar/Steps.vue +152 -0
- package/vue-components/v3/table/InfoTable.vue +6 -4
- package/vue-components/v3/table/Table.vue +38 -31
- package/vue-components/v3/table/TableRow.vue +2 -2
- package/base/utilities/_derived-variables.scss +0 -24
- package/base/utilities/_initial-variables.scss +0 -217
- package/components/_ac-accordion.scss +0 -117
- package/components/_ac-card.scss +0 -597
- package/components/_ac-input.scss +0 -876
- package/components/_ac-terminal.scss +0 -270
- package/components/_basic-card.scss +0 -118
- /package/components/{_ac-report.scss → _report.scss} +0 -0
|
@@ -7,6 +7,14 @@ const AcSingleInput = defineAsyncComponent(
|
|
|
7
7
|
|
|
8
8
|
const AcInput = defineAsyncComponent(() => import("../form-fields/Input.vue"));
|
|
9
9
|
|
|
10
|
+
interface Props {
|
|
11
|
+
acInputId?: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
withDefaults(defineProps<Props>(), {
|
|
15
|
+
acInputId: "search",
|
|
16
|
+
});
|
|
17
|
+
|
|
10
18
|
const emit = defineEmits(["search"]);
|
|
11
19
|
|
|
12
20
|
const searchText = ref("");
|
|
@@ -19,7 +27,7 @@ watch(searchText, (n) => {
|
|
|
19
27
|
<template>
|
|
20
28
|
<ac-single-input modifier-classes="is-extra-small width-auto">
|
|
21
29
|
<template #button>
|
|
22
|
-
<label class="ac-search-button" for="
|
|
30
|
+
<label class="ac-search-button" :for="acInputId">
|
|
23
31
|
<svg
|
|
24
32
|
xmlns="http://www.w3.org/2000/svg"
|
|
25
33
|
viewBox="0 0 20 20"
|
|
@@ -39,7 +47,7 @@ watch(searchText, (n) => {
|
|
|
39
47
|
placeholder="Search"
|
|
40
48
|
type="search"
|
|
41
49
|
class="ac-search"
|
|
42
|
-
id="
|
|
50
|
+
:id="acInputId"
|
|
43
51
|
v-model="searchText"
|
|
44
52
|
/>
|
|
45
53
|
</ac-single-input>
|
|
@@ -120,10 +120,10 @@ watch(
|
|
|
120
120
|
</template>
|
|
121
121
|
<style lang="scss">
|
|
122
122
|
.multiselect {
|
|
123
|
-
margin-top: 3px;
|
|
123
|
+
// margin-top: 3px;
|
|
124
124
|
// display: flex;
|
|
125
125
|
// align-items: center;
|
|
126
|
-
max-width: 350px;
|
|
126
|
+
// max-width: 350px;
|
|
127
127
|
// &.cluster-select {
|
|
128
128
|
// .multiselect__tags {
|
|
129
129
|
// border: 1px solid $primary-90;
|
|
@@ -136,13 +136,13 @@ watch(
|
|
|
136
136
|
// }
|
|
137
137
|
|
|
138
138
|
.multiselect__tags {
|
|
139
|
-
background-color:
|
|
139
|
+
background-color: $white-100;
|
|
140
140
|
min-height: 36px;
|
|
141
141
|
// max-height: 36px;
|
|
142
142
|
font-weight: 500;
|
|
143
143
|
width: 100%;
|
|
144
144
|
border-radius: 4px;
|
|
145
|
-
border: 1px solid $primary-
|
|
145
|
+
border: 1px solid $primary-80;
|
|
146
146
|
padding: 6px 30px 8px 20px;
|
|
147
147
|
font-size: 13px;
|
|
148
148
|
border-radius: 4px;
|
|
@@ -161,7 +161,7 @@ watch(
|
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
.multiselect__tag {
|
|
164
|
-
background-color: $
|
|
164
|
+
background-color: $black-80;
|
|
165
165
|
margin-top: 4px;
|
|
166
166
|
margin-bottom: 0;
|
|
167
167
|
|
|
@@ -185,7 +185,7 @@ watch(
|
|
|
185
185
|
|
|
186
186
|
.multiselect__input,
|
|
187
187
|
.multiselect__single {
|
|
188
|
-
background-color:
|
|
188
|
+
background-color: $white-100;
|
|
189
189
|
margin-bottom: 0;
|
|
190
190
|
margin: 0 !important;
|
|
191
191
|
padding-left: 0;
|
|
@@ -211,6 +211,8 @@ watch(
|
|
|
211
211
|
padding: 4px 16px;
|
|
212
212
|
min-height: 32px;
|
|
213
213
|
font-size: 13px;
|
|
214
|
+
display: flex;
|
|
215
|
+
align-items: center;
|
|
214
216
|
img {
|
|
215
217
|
width: 30px;
|
|
216
218
|
}
|
|
@@ -241,13 +243,11 @@ watch(
|
|
|
241
243
|
}
|
|
242
244
|
|
|
243
245
|
&.multiselect__option--highlight {
|
|
244
|
-
background-color:
|
|
245
|
-
var(--hsl-hue),
|
|
246
|
-
var(--hsl-saturation),
|
|
247
|
-
var(--hsl-lightness),
|
|
248
|
-
0.2
|
|
249
|
-
);
|
|
246
|
+
background-color: $white-100;
|
|
250
247
|
color: $primary;
|
|
248
|
+
&:hover {
|
|
249
|
+
background-color: $primary-97;
|
|
250
|
+
}
|
|
251
251
|
|
|
252
252
|
&:after {
|
|
253
253
|
background-color: hsla(
|
|
@@ -337,7 +337,7 @@ watch(
|
|
|
337
337
|
&.has-bg-color {
|
|
338
338
|
label.show-label {
|
|
339
339
|
&:after {
|
|
340
|
-
background-color:
|
|
340
|
+
background-color: transparent;
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
@@ -351,7 +351,7 @@ watch(
|
|
|
351
351
|
font-size: 12px;
|
|
352
352
|
top: -9px;
|
|
353
353
|
font-weight: 500;
|
|
354
|
-
color: $
|
|
354
|
+
color: $black-5;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
|
|
@@ -401,7 +401,9 @@ watch(
|
|
|
401
401
|
font-size: 13px !important;
|
|
402
402
|
font-weight: 500;
|
|
403
403
|
line-height: 1.5;
|
|
404
|
-
padding-bottom: 4px;
|
|
404
|
+
// padding-bottom: 4px;
|
|
405
|
+
display: flex;
|
|
406
|
+
align-items: center;
|
|
405
407
|
|
|
406
408
|
&::placeholder {
|
|
407
409
|
font-weight: 500;
|
|
@@ -469,7 +471,9 @@ watch(
|
|
|
469
471
|
font-size: 13px !important;
|
|
470
472
|
font-weight: 500;
|
|
471
473
|
line-height: 1.5;
|
|
472
|
-
padding-bottom: 4px;
|
|
474
|
+
// padding-bottom: 4px;
|
|
475
|
+
display: flex;
|
|
476
|
+
align-items: center;
|
|
473
477
|
|
|
474
478
|
&::placeholder {
|
|
475
479
|
font-weight: 500;
|
|
@@ -505,7 +509,7 @@ watch(
|
|
|
505
509
|
}
|
|
506
510
|
}
|
|
507
511
|
|
|
508
|
-
.is-
|
|
512
|
+
.is-danger {
|
|
509
513
|
font-size: 12px;
|
|
510
514
|
line-height: 22px;
|
|
511
515
|
color: $danger;
|
|
@@ -527,7 +531,7 @@ watch(
|
|
|
527
531
|
left: 20px;
|
|
528
532
|
top: 11px;
|
|
529
533
|
cursor: text;
|
|
530
|
-
color: $
|
|
534
|
+
color: $primary-10;
|
|
531
535
|
position: absolute;
|
|
532
536
|
z-index: 99;
|
|
533
537
|
transition: 0.3s ease-in-out;
|
|
@@ -545,7 +549,7 @@ watch(
|
|
|
545
549
|
left: 15px;
|
|
546
550
|
padding: 0 5px;
|
|
547
551
|
font-size: 13px;
|
|
548
|
-
color: $
|
|
552
|
+
color: $black-5;
|
|
549
553
|
|
|
550
554
|
&::after {
|
|
551
555
|
background-color: $white-100;
|
|
@@ -716,33 +720,33 @@ li {
|
|
|
716
720
|
}
|
|
717
721
|
|
|
718
722
|
&::-webkit-scrollbar-thumb {
|
|
719
|
-
background-color: $
|
|
723
|
+
background-color: $black-80;
|
|
720
724
|
border-radius: 50px;
|
|
721
725
|
height: 2px !important;
|
|
722
726
|
}
|
|
723
727
|
|
|
724
728
|
&::-moz-scrollbar-thumb {
|
|
725
|
-
background-color: $
|
|
729
|
+
background-color: $black-80;
|
|
726
730
|
border-radius: 50px;
|
|
727
731
|
height: 2px !important;
|
|
728
732
|
}
|
|
729
733
|
|
|
730
734
|
&::-ms-scrollbar-thumb {
|
|
731
|
-
background-color: $
|
|
735
|
+
background-color: $black-80;
|
|
732
736
|
border-radius: 50px;
|
|
733
737
|
height: 2px !important;
|
|
734
738
|
}
|
|
735
739
|
|
|
736
740
|
&::-webkit-scrollbar-thumb:hover {
|
|
737
|
-
background-color: $
|
|
741
|
+
background-color: $black-80;
|
|
738
742
|
}
|
|
739
743
|
|
|
740
744
|
&::-moz-scrollbar-thumb:hover {
|
|
741
|
-
background-color: $
|
|
745
|
+
background-color: $black-80;
|
|
742
746
|
}
|
|
743
747
|
|
|
744
748
|
&::-ms-scrollbar-thumb:hover {
|
|
745
|
-
background-color: $
|
|
749
|
+
background-color: $black-80;
|
|
746
750
|
}
|
|
747
751
|
|
|
748
752
|
&:hover::-webkit-scrollbar-corner {
|
|
@@ -801,33 +805,33 @@ li {
|
|
|
801
805
|
}
|
|
802
806
|
|
|
803
807
|
&::-webkit-scrollbar-thumb {
|
|
804
|
-
background-color: $
|
|
808
|
+
background-color: $black-80;
|
|
805
809
|
border-radius: 50px;
|
|
806
810
|
height: 2px !important;
|
|
807
811
|
}
|
|
808
812
|
|
|
809
813
|
&::-moz-scrollbar-thumb {
|
|
810
|
-
background-color: $
|
|
814
|
+
background-color: $black-80;
|
|
811
815
|
border-radius: 50px;
|
|
812
816
|
height: 2px !important;
|
|
813
817
|
}
|
|
814
818
|
|
|
815
819
|
&::-ms-scrollbar-thumb {
|
|
816
|
-
background-color: $
|
|
820
|
+
background-color: $black-80;
|
|
817
821
|
border-radius: 50px;
|
|
818
822
|
height: 2px !important;
|
|
819
823
|
}
|
|
820
824
|
|
|
821
825
|
&::-webkit-scrollbar-thumb:hover {
|
|
822
|
-
background-color: $
|
|
826
|
+
background-color: $black-80;
|
|
823
827
|
}
|
|
824
828
|
|
|
825
829
|
&::-moz-scrollbar-thumb:hover {
|
|
826
|
-
background-color: $
|
|
830
|
+
background-color: $black-80;
|
|
827
831
|
}
|
|
828
832
|
|
|
829
833
|
&::-ms-scrollbar-thumb:hover {
|
|
830
|
-
background-color: $
|
|
834
|
+
background-color: $black-80;
|
|
831
835
|
}
|
|
832
836
|
|
|
833
837
|
&:hover::-webkit-scrollbar-corner {
|
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
interface Props {
|
|
3
|
-
type
|
|
4
|
-
isCollapsible
|
|
3
|
+
type?: string;
|
|
4
|
+
isCollapsible?: boolean;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
withDefaults(defineProps<Props>(), {
|
|
8
8
|
type: "cluster-main",
|
|
9
|
-
isCollapsible: false,
|
|
10
9
|
});
|
|
11
10
|
</script>
|
|
12
11
|
|
|
13
12
|
<template>
|
|
14
13
|
<div class="ac-system-left-sidebar">
|
|
15
14
|
<!-- is-collapsed -->
|
|
16
|
-
<div
|
|
17
|
-
class="ac-left-sidebar-wrapper is-collapsed"
|
|
18
|
-
:class="{ 'style-2': isCollapsible }"
|
|
19
|
-
>
|
|
15
|
+
<div class="ac-left-sidebar-wrapper">
|
|
20
16
|
<div class="ac-left-sidebar-inner">
|
|
21
17
|
<aside class="ac-left-sidebar">
|
|
22
18
|
<!-- sidebar header start -->
|
|
@@ -54,7 +50,7 @@ withDefaults(defineProps<Props>(), {
|
|
|
54
50
|
height: calc(100vh - 80px);
|
|
55
51
|
overflow-y: auto;
|
|
56
52
|
padding-top: 4px;
|
|
57
|
-
scrollbar-color: $white-100
|
|
53
|
+
scrollbar-color: $white-100 transparent;
|
|
58
54
|
|
|
59
55
|
/* width */
|
|
60
56
|
&::-webkit-scrollbar {
|
|
@@ -107,7 +103,7 @@ withDefaults(defineProps<Props>(), {
|
|
|
107
103
|
top: 0;
|
|
108
104
|
width: calc(100% - 20px);
|
|
109
105
|
height: 100%;
|
|
110
|
-
background:
|
|
106
|
+
background: $primary;
|
|
111
107
|
border-radius: 4px;
|
|
112
108
|
z-index: -1;
|
|
113
109
|
transition: 0.3s ease-in-out;
|
|
@@ -144,7 +140,7 @@ withDefaults(defineProps<Props>(), {
|
|
|
144
140
|
|
|
145
141
|
&:after {
|
|
146
142
|
color: $primary;
|
|
147
|
-
opacity: 0.
|
|
143
|
+
opacity: 0.2;
|
|
148
144
|
visibility: visible;
|
|
149
145
|
}
|
|
150
146
|
|
|
@@ -214,7 +210,7 @@ withDefaults(defineProps<Props>(), {
|
|
|
214
210
|
|
|
215
211
|
// &:active {
|
|
216
212
|
// i.fa {
|
|
217
|
-
// background-color: $
|
|
213
|
+
// background-color: $primary-90;
|
|
218
214
|
// width: 25px;
|
|
219
215
|
// height: 25px;
|
|
220
216
|
// text-align: center;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { defineAsyncComponent } from "vue";
|
|
3
3
|
interface Props {
|
|
4
|
-
isColorpickerEnabled
|
|
4
|
+
isColorpickerEnabled?: boolean;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
withDefaults(defineProps<Props>(), {
|
|
8
8
|
isColorpickerEnabled: false,
|
|
9
9
|
});
|
|
10
|
-
|
|
10
|
+
defineEmits(["toggleSidebar"]);
|
|
11
11
|
const AccentColorPicker = defineAsyncComponent(
|
|
12
12
|
() => import("./AccentColorPicker.vue")
|
|
13
13
|
);
|
|
@@ -16,7 +16,7 @@ const AccentColorPicker = defineAsyncComponent(
|
|
|
16
16
|
<template>
|
|
17
17
|
<div class="sidebar-footer">
|
|
18
18
|
<!-- back button -->
|
|
19
|
-
<button class="back-button is-transparent">
|
|
19
|
+
<button class="back-button is-transparent" @click="$emit('toggleSidebar')">
|
|
20
20
|
<svg
|
|
21
21
|
width="18"
|
|
22
22
|
height="18"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
defineEmits(["toggleSidebar"]);
|
|
3
3
|
|
|
4
4
|
interface Props {
|
|
5
|
-
brandLogo
|
|
5
|
+
brandLogo?: string;
|
|
6
6
|
brandLogoAlt?: string;
|
|
7
7
|
url?: string;
|
|
8
8
|
modifierClasses?: string;
|
|
@@ -16,9 +16,9 @@ withDefaults(defineProps<Props>(), {
|
|
|
16
16
|
});
|
|
17
17
|
</script>
|
|
18
18
|
<template>
|
|
19
|
-
<div class="sidebar-header"
|
|
19
|
+
<div class="sidebar-header">
|
|
20
20
|
<!-- hamburger icon -->
|
|
21
|
-
<div class="icon hamburger-icon mr-16">
|
|
21
|
+
<div class="icon hamburger-icon mr-16" @click="$emit('toggleSidebar')">
|
|
22
22
|
<svg
|
|
23
23
|
width="18"
|
|
24
24
|
height="18"
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import FeCheck from "~icons/fe/check";
|
|
3
|
+
import type { Step } from "../../types/importFlow";
|
|
4
|
+
|
|
5
|
+
interface Props {
|
|
6
|
+
steps?: Step[];
|
|
7
|
+
activeStepIdentifier?: number;
|
|
8
|
+
activeSubStepIdentifier?: number;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
withDefaults(defineProps<Props>(), {
|
|
12
|
+
steps: () => [],
|
|
13
|
+
activeStepIdentifier: 1,
|
|
14
|
+
activeSubStepIdentifier: 1,
|
|
15
|
+
});
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<template>
|
|
19
|
+
<li
|
|
20
|
+
v-for="step in steps"
|
|
21
|
+
:key="step.identifier"
|
|
22
|
+
:class="{
|
|
23
|
+
'is-hidden': !step.isVisible,
|
|
24
|
+
}"
|
|
25
|
+
>
|
|
26
|
+
<strong
|
|
27
|
+
:class="{
|
|
28
|
+
'is-active': step.identifier < activeStepIdentifier,
|
|
29
|
+
}"
|
|
30
|
+
>
|
|
31
|
+
<span
|
|
32
|
+
:class="{
|
|
33
|
+
'step-count': true,
|
|
34
|
+
'is-active': step.identifier < activeStepIdentifier,
|
|
35
|
+
}"
|
|
36
|
+
>{{ step.identifier }}</span
|
|
37
|
+
>
|
|
38
|
+
<span class="label-text">{{ step.title }}</span>
|
|
39
|
+
</strong>
|
|
40
|
+
<ul
|
|
41
|
+
:class="{
|
|
42
|
+
'is-hidden': step.identifier !== activeStepIdentifier,
|
|
43
|
+
}"
|
|
44
|
+
>
|
|
45
|
+
<li
|
|
46
|
+
v-for="substep in step.substeps"
|
|
47
|
+
:key="substep?.identifier"
|
|
48
|
+
:class="{
|
|
49
|
+
'is-hidden': !substep.isVisible,
|
|
50
|
+
'is-active': substep.identifier < activeSubStepIdentifier,
|
|
51
|
+
}"
|
|
52
|
+
>
|
|
53
|
+
<strong>
|
|
54
|
+
<span class="step-count"><FeCheck /></span>
|
|
55
|
+
<span
|
|
56
|
+
:class="{
|
|
57
|
+
'label-text': true,
|
|
58
|
+
'has-text-weight-semibold':
|
|
59
|
+
substep.identifier <= activeSubStepIdentifier,
|
|
60
|
+
}"
|
|
61
|
+
>{{ substep.title }}</span
|
|
62
|
+
>
|
|
63
|
+
</strong>
|
|
64
|
+
</li>
|
|
65
|
+
</ul>
|
|
66
|
+
</li>
|
|
67
|
+
</template>
|
|
68
|
+
|
|
69
|
+
<style lang="scss" scoped>
|
|
70
|
+
ul {
|
|
71
|
+
padding-left: 4px !important;
|
|
72
|
+
position: relative;
|
|
73
|
+
z-index: 1;
|
|
74
|
+
&::after {
|
|
75
|
+
position: absolute;
|
|
76
|
+
content: "";
|
|
77
|
+
left: 15px;
|
|
78
|
+
top: -16px;
|
|
79
|
+
width: 1px;
|
|
80
|
+
height: 100%;
|
|
81
|
+
/* colors/primary/40-primary */
|
|
82
|
+
border: 1px dashed #186cb4;
|
|
83
|
+
z-index: -1;
|
|
84
|
+
}
|
|
85
|
+
li {
|
|
86
|
+
display: block;
|
|
87
|
+
padding: 6px 0;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
strong {
|
|
90
|
+
/* colors/white */
|
|
91
|
+
color: #ffffff;
|
|
92
|
+
display: flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
|
|
95
|
+
.step-count {
|
|
96
|
+
width: 32px;
|
|
97
|
+
height: 32px;
|
|
98
|
+
margin-right: 8px;
|
|
99
|
+
display: flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
justify-content: center;
|
|
102
|
+
border-radius: 50%;
|
|
103
|
+
background-color: $primary-20;
|
|
104
|
+
border: 1px solid $primary-40;
|
|
105
|
+
color: $primary-80;
|
|
106
|
+
font-size: 16px;
|
|
107
|
+
&.is-active {
|
|
108
|
+
background-color: $primary;
|
|
109
|
+
color: $white-100;
|
|
110
|
+
border: 1px solid $primary-90;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
ul {
|
|
116
|
+
max-height: 100% !important;
|
|
117
|
+
|
|
118
|
+
li {
|
|
119
|
+
&.is-active {
|
|
120
|
+
strong {
|
|
121
|
+
.step-count {
|
|
122
|
+
background-color: $primary;
|
|
123
|
+
color: $white-100;
|
|
124
|
+
border: 1px solid $primary-90;
|
|
125
|
+
}
|
|
126
|
+
.label-text {
|
|
127
|
+
color: $white-100;
|
|
128
|
+
font-weight: 500;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
strong {
|
|
133
|
+
.step-count {
|
|
134
|
+
width: 22px;
|
|
135
|
+
height: 22px;
|
|
136
|
+
margin-right: 16px;
|
|
137
|
+
background: $primary-20;
|
|
138
|
+
color: $primary-80;
|
|
139
|
+
border: 1px solid $primary-40;
|
|
140
|
+
font-size: 14px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.label-text {
|
|
144
|
+
color: $primary-95;
|
|
145
|
+
font-weight: 400;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
</style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { defineAsyncComponent, ref
|
|
2
|
+
import { computed, defineAsyncComponent, ref } from "vue";
|
|
3
3
|
|
|
4
4
|
interface Props {
|
|
5
5
|
isLoaderActive?: boolean;
|
|
@@ -67,8 +67,10 @@ const isFullTableLoaderActive = computed(() => {
|
|
|
67
67
|
:key="(tableHeader as string)"
|
|
68
68
|
>
|
|
69
69
|
<table-cell>
|
|
70
|
-
<
|
|
71
|
-
|
|
70
|
+
<span class="is-flex is-align-items-center">
|
|
71
|
+
<slot :name="`table-cell-icon-${idx}`" />
|
|
72
|
+
{{ tableHeader }}
|
|
73
|
+
</span>
|
|
72
74
|
</table-cell>
|
|
73
75
|
<table-cell v-if="isLoaderActive">
|
|
74
76
|
<cell-value :is-loader-active="true" />
|
|
@@ -89,7 +91,7 @@ const isFullTableLoaderActive = computed(() => {
|
|
|
89
91
|
// INFO TABLE START
|
|
90
92
|
.table.ac-info-table {
|
|
91
93
|
background-color: transparent;
|
|
92
|
-
border-top: 1px solid $primary-
|
|
94
|
+
border-top: 1px solid $primary-93;
|
|
93
95
|
|
|
94
96
|
&.is-fullwidth {
|
|
95
97
|
tbody {
|
|
@@ -145,7 +145,7 @@ onUpdated(() => {
|
|
|
145
145
|
<table-container ref="ac_table_container" @scroller="handleScroller">
|
|
146
146
|
<table
|
|
147
147
|
ref="ac_table"
|
|
148
|
-
class="table ac-table
|
|
148
|
+
class="table ac-table is-bordered"
|
|
149
149
|
:class="{
|
|
150
150
|
'is-fullwidth':
|
|
151
151
|
!isDynamicWidthTable ||
|
|
@@ -153,7 +153,7 @@ onUpdated(() => {
|
|
|
153
153
|
isTableEmpty ||
|
|
154
154
|
isLoaderActive,
|
|
155
155
|
// 'ac-striped': !columnStriped,
|
|
156
|
-
// '
|
|
156
|
+
// 'is-bordered': columnStriped,
|
|
157
157
|
}"
|
|
158
158
|
>
|
|
159
159
|
<thead>
|
|
@@ -272,7 +272,7 @@ onUpdated(() => {
|
|
|
272
272
|
margin-bottom: 0;
|
|
273
273
|
|
|
274
274
|
thead {
|
|
275
|
-
background-color: $
|
|
275
|
+
background-color: $primary-90;
|
|
276
276
|
font-size: 13px;
|
|
277
277
|
line-height: initial;
|
|
278
278
|
|
|
@@ -334,15 +334,37 @@ onUpdated(() => {
|
|
|
334
334
|
box-shadow: inset 0 0 0 1px $primary;
|
|
335
335
|
border-radius: 4px;
|
|
336
336
|
border-bottom: none;
|
|
337
|
-
color: $
|
|
337
|
+
color: $black-5;
|
|
338
338
|
}
|
|
339
339
|
|
|
340
340
|
tr {
|
|
341
|
+
border-bottom: 1px solid var(--ac-white-light);
|
|
341
342
|
&.is-link {
|
|
342
343
|
cursor: pointer;
|
|
343
344
|
}
|
|
344
|
-
|
|
345
|
+
&.is-selected {
|
|
346
|
+
background-color: $primary-97 !important;
|
|
347
|
+
transform: matrix(1, 0, 0, 1, 0, 0) !important;
|
|
348
|
+
box-shadow: inset 0 0 0 1.2px $primary;
|
|
349
|
+
border-radius: 4px;
|
|
350
|
+
border-bottom: none;
|
|
351
|
+
color: $black-5;
|
|
352
|
+
transition: 0.3s ease-in-out;
|
|
353
|
+
.tag {
|
|
354
|
+
background-color: $primary;
|
|
355
|
+
}
|
|
356
|
+
&:hover {
|
|
357
|
+
background-color: $primary-95 !important;
|
|
358
|
+
transform: matrix(1, 0, 0, 1, 0, 0) !important;
|
|
359
|
+
box-shadow: inset 0 0 0 1.2px $primary !important;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
345
362
|
|
|
363
|
+
&.is-hoverless {
|
|
364
|
+
box-shadow: none !important;
|
|
365
|
+
transform: none !important;
|
|
366
|
+
background-color: $white-100 !important;
|
|
367
|
+
}
|
|
346
368
|
td {
|
|
347
369
|
font-size: 13px;
|
|
348
370
|
padding: 5px 20px;
|
|
@@ -369,7 +391,7 @@ onUpdated(() => {
|
|
|
369
391
|
}
|
|
370
392
|
}
|
|
371
393
|
|
|
372
|
-
&.is-
|
|
394
|
+
&.is-danger {
|
|
373
395
|
color: $danger;
|
|
374
396
|
}
|
|
375
397
|
|
|
@@ -434,21 +456,6 @@ onUpdated(() => {
|
|
|
434
456
|
}
|
|
435
457
|
}
|
|
436
458
|
|
|
437
|
-
&.is-selected {
|
|
438
|
-
background-color: $white-100 !important;
|
|
439
|
-
transform: matrix(1, 0, 0, 1, 0, 0) !important;
|
|
440
|
-
box-shadow: inset 0 0 0 1px $primary;
|
|
441
|
-
border-radius: 4px;
|
|
442
|
-
border-bottom: none;
|
|
443
|
-
color: $ac-black;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
&.is-hoverless {
|
|
447
|
-
box-shadow: none !important;
|
|
448
|
-
transform: none !important;
|
|
449
|
-
background-color: $white-100 !important;
|
|
450
|
-
}
|
|
451
|
-
|
|
452
459
|
transition: 0.3s ease-in-out;
|
|
453
460
|
}
|
|
454
461
|
}
|
|
@@ -467,7 +474,7 @@ onUpdated(() => {
|
|
|
467
474
|
right: -451px;
|
|
468
475
|
top: -1px;
|
|
469
476
|
visibility: visible;
|
|
470
|
-
background-color: $
|
|
477
|
+
background-color: $primary-90;
|
|
471
478
|
}
|
|
472
479
|
}
|
|
473
480
|
|
|
@@ -479,13 +486,13 @@ onUpdated(() => {
|
|
|
479
486
|
}
|
|
480
487
|
}
|
|
481
488
|
|
|
482
|
-
&.
|
|
489
|
+
&.is-bordered {
|
|
483
490
|
thead {
|
|
484
491
|
tr {
|
|
485
492
|
th {
|
|
486
|
-
border-top: 1px solid $primary-
|
|
487
|
-
border-bottom: 1px solid $primary-
|
|
488
|
-
border-right: 1px solid $primary-
|
|
493
|
+
border-top: 1px solid $primary-93;
|
|
494
|
+
border-bottom: 1px solid $primary-93;
|
|
495
|
+
border-right: 1px solid $primary-93;
|
|
489
496
|
background-color: $primary-97;
|
|
490
497
|
|
|
491
498
|
&:first-child {
|
|
@@ -508,8 +515,8 @@ onUpdated(() => {
|
|
|
508
515
|
font-size: 13px;
|
|
509
516
|
color: $primary-20;
|
|
510
517
|
background-color: transparent;
|
|
511
|
-
border-bottom: 1px solid $primary-
|
|
512
|
-
border-right: 1px solid $primary-
|
|
518
|
+
border-bottom: 1px solid $primary-93;
|
|
519
|
+
border-right: 1px solid $primary-93;
|
|
513
520
|
&:last-child {
|
|
514
521
|
border-right: 1px solid transparent;
|
|
515
522
|
}
|
|
@@ -529,7 +536,7 @@ onUpdated(() => {
|
|
|
529
536
|
.ac-single-checkbox {
|
|
530
537
|
.is-checkradio[type="checkbox"] {
|
|
531
538
|
&.ac-checkbox + label {
|
|
532
|
-
color: $
|
|
539
|
+
color: $primary-20;
|
|
533
540
|
|
|
534
541
|
&::before {
|
|
535
542
|
height: 16px;
|
|
@@ -552,7 +559,7 @@ onUpdated(() => {
|
|
|
552
559
|
}
|
|
553
560
|
|
|
554
561
|
&:checked + label::after {
|
|
555
|
-
border-color: $
|
|
562
|
+
border-color: $primary-90;
|
|
556
563
|
}
|
|
557
564
|
}
|
|
558
565
|
}
|
|
@@ -645,7 +652,7 @@ onUpdated(() => {
|
|
|
645
652
|
// table inner shadow
|
|
646
653
|
.table-inner-shadow {
|
|
647
654
|
border-radius: 0px;
|
|
648
|
-
background: $
|
|
655
|
+
background: $primary-90;
|
|
649
656
|
box-shadow: inset 5px 5px 10px #e3e6e9, inset -5px -5px 10px #ffffff;
|
|
650
657
|
}
|
|
651
658
|
|