@globalbrain/sefirot 4.42.0 → 4.43.1
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.
|
@@ -445,6 +445,12 @@ defineExpose({
|
|
|
445
445
|
@reset-selection="onResetSelection"
|
|
446
446
|
@toggle-conditions="hideConditions = !hideConditions"
|
|
447
447
|
>
|
|
448
|
+
<template v-if="$slots['controls-main-left']" #main-left>
|
|
449
|
+
<slot name="controls-main-left" />
|
|
450
|
+
</template>
|
|
451
|
+
<template v-if="$slots['controls-main-right']" #main-right>
|
|
452
|
+
<slot name="controls-main-right" />
|
|
453
|
+
</template>
|
|
448
454
|
<template v-if="$slots['controls-sub-left']" #sub-left>
|
|
449
455
|
<slot name="controls-sub-left" />
|
|
450
456
|
</template>
|
|
@@ -84,6 +84,7 @@ function createFilterPresetOptions(): ActionList {
|
|
|
84
84
|
<div class="LensCatalogControl">
|
|
85
85
|
<template v-if="!selected || selected.length === 0">
|
|
86
86
|
<div class="main">
|
|
87
|
+
<slot name="main-left" />
|
|
87
88
|
<SInputText
|
|
88
89
|
v-if="showQuery"
|
|
89
90
|
class="s-w-320"
|
|
@@ -113,6 +114,7 @@ function createFilterPresetOptions(): ActionList {
|
|
|
113
114
|
:label="t.a_view"
|
|
114
115
|
@click="$emit('view')"
|
|
115
116
|
/>
|
|
117
|
+
<slot name="main-right" />
|
|
116
118
|
</div>
|
|
117
119
|
<div class="sub">
|
|
118
120
|
<slot name="sub-left" />
|
|
@@ -85,7 +85,7 @@ function onSelect(value: T) {
|
|
|
85
85
|
</SInputBase>
|
|
86
86
|
</template>
|
|
87
87
|
|
|
88
|
-
<style scoped
|
|
88
|
+
<style scoped>
|
|
89
89
|
.SInputSegments.sm,
|
|
90
90
|
.SInputSegments.mini {
|
|
91
91
|
.box {
|
|
@@ -129,9 +129,9 @@ function onSelect(value: T) {
|
|
|
129
129
|
|
|
130
130
|
.box {
|
|
131
131
|
display: inline-flex;
|
|
132
|
-
border: 1px solid var(--
|
|
133
|
-
border-radius:
|
|
134
|
-
background-color: var(--
|
|
132
|
+
border: 1px solid var(--c-border);
|
|
133
|
+
border-radius: 8px;
|
|
134
|
+
background-color: var(--c-bg-2);
|
|
135
135
|
transition: border-color 0.25s;
|
|
136
136
|
}
|
|
137
137
|
</style>
|
|
@@ -35,7 +35,7 @@ function onClick() {
|
|
|
35
35
|
</button>
|
|
36
36
|
</template>
|
|
37
37
|
|
|
38
|
-
<style scoped
|
|
38
|
+
<style scoped>
|
|
39
39
|
.SInputSegmentsOption {
|
|
40
40
|
position: relative;
|
|
41
41
|
display: block;
|
|
@@ -43,11 +43,10 @@ function onClick() {
|
|
|
43
43
|
justify-content: center;
|
|
44
44
|
align-items: center;
|
|
45
45
|
border: 1px solid transparent;
|
|
46
|
-
border-radius:
|
|
46
|
+
border-radius: 6px;
|
|
47
47
|
width: 100%;
|
|
48
48
|
height: 100%;
|
|
49
49
|
text-align: center;
|
|
50
|
-
font-size: 14px;
|
|
51
50
|
color: var(--c-text-2);
|
|
52
51
|
white-space: nowrap;
|
|
53
52
|
transition: border-color 0.25s, color 0.25s, background-color 0.25s;
|
|
@@ -60,76 +59,43 @@ function onClick() {
|
|
|
60
59
|
color: var(--c-text-3);
|
|
61
60
|
cursor: not-allowed;
|
|
62
61
|
}
|
|
63
|
-
|
|
64
|
-
.SInputSegmentsOption + &::before {
|
|
65
|
-
position: absolute;
|
|
66
|
-
left: -1px;
|
|
67
|
-
display: block;
|
|
68
|
-
width: 1px;
|
|
69
|
-
height: 16px;
|
|
70
|
-
border-radius: 4px;
|
|
71
|
-
background-color: var(--c-divider);
|
|
72
|
-
content: "";
|
|
73
|
-
transition: opacity 0.25s;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.SInputSegmentsOption.active + &::before,
|
|
77
|
-
&.active::before {
|
|
78
|
-
opacity: 0;
|
|
79
|
-
}
|
|
80
62
|
}
|
|
81
63
|
|
|
82
|
-
.SInputSegmentsOption.sm,
|
|
83
|
-
.SInputSegmentsOption.mini {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
.label {
|
|
89
|
-
padding: 0 12px;
|
|
90
|
-
}
|
|
64
|
+
.SInputSegmentsOption.sm .label,
|
|
65
|
+
.SInputSegmentsOption.mini .label {
|
|
66
|
+
padding: 0 12px;
|
|
67
|
+
font-size: 12px;
|
|
68
|
+
font-weight: 500;
|
|
91
69
|
}
|
|
92
70
|
|
|
93
|
-
.SInputSegmentsOption.md {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
.label {
|
|
99
|
-
padding: 0 12px;
|
|
100
|
-
}
|
|
71
|
+
.SInputSegmentsOption.md .label {
|
|
72
|
+
padding: 0 12px;
|
|
73
|
+
font-size: 14px;
|
|
74
|
+
font-weight: 500;
|
|
101
75
|
}
|
|
102
76
|
|
|
103
|
-
.SInputSegmentsOption.small {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
.label {
|
|
109
|
-
padding: 0 12px;
|
|
110
|
-
}
|
|
77
|
+
.SInputSegmentsOption.small .label {
|
|
78
|
+
padding: 0 12px;
|
|
79
|
+
font-size: 14px;
|
|
80
|
+
font-weight: 500;
|
|
111
81
|
}
|
|
112
82
|
|
|
113
|
-
.SInputSegmentsOption.medium {
|
|
114
|
-
|
|
115
|
-
top: 10px;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.label {
|
|
119
|
-
padding: 0 16px;
|
|
120
|
-
}
|
|
83
|
+
.SInputSegmentsOption.medium .label {
|
|
84
|
+
padding: 0 16px;
|
|
121
85
|
}
|
|
122
86
|
|
|
123
87
|
.SInputSegmentsOption.default.active {
|
|
124
88
|
border-color: var(--button-fill-default-border-color);
|
|
125
89
|
color: var(--button-fill-default-text-color);
|
|
126
90
|
background-color: var(--button-fill-default-bg-color);
|
|
91
|
+
box-shadow: var(--shadow-depth-1);
|
|
127
92
|
}
|
|
128
93
|
|
|
129
94
|
.SInputSegmentsOption.mute.active {
|
|
130
95
|
border-color: var(--button-fill-mute-border-color);
|
|
131
96
|
color: var(--button-fill-mute-text-color);
|
|
132
97
|
background-color: var(--button-fill-mute-bg-color);
|
|
98
|
+
box-shadow: var(--shadow-depth-1);
|
|
133
99
|
}
|
|
134
100
|
|
|
135
101
|
.SInputSegmentsOption.neutral.active {
|