@dataloop-ai/components 0.20.175-ds-v3.0 → 0.20.175-ds-v3.2
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
CHANGED
package/src/assets/theme.css
CHANGED
|
@@ -152,7 +152,7 @@ body {
|
|
|
152
152
|
--dl-color-positive: #3FC97F;
|
|
153
153
|
--dl-color-positive-background: #183928;
|
|
154
154
|
--dl-color-positive-bg: #183928;
|
|
155
|
-
--dl-color-info-background: #
|
|
155
|
+
--dl-color-info-background: #182F44;
|
|
156
156
|
--dl-color-info-bg: #182F44;
|
|
157
157
|
--dl-color-info: #7CC8F4;
|
|
158
158
|
--dl-color-info-base: #0A365C;
|
|
@@ -279,6 +279,7 @@ export default defineComponent({
|
|
|
279
279
|
'blur',
|
|
280
280
|
'input',
|
|
281
281
|
'search',
|
|
282
|
+
'status',
|
|
282
283
|
'error',
|
|
283
284
|
'clear'
|
|
284
285
|
],
|
|
@@ -1040,24 +1041,35 @@ export default defineComponent({
|
|
|
1040
1041
|
return status.value
|
|
1041
1042
|
}
|
|
1042
1043
|
|
|
1044
|
+
let newStatus: {
|
|
1045
|
+
type: string
|
|
1046
|
+
message: string
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1043
1049
|
if (!error.value && searchQuery.value !== '') {
|
|
1044
|
-
|
|
1050
|
+
newStatus = {
|
|
1045
1051
|
type: 'success',
|
|
1046
1052
|
message: ''
|
|
1047
1053
|
}
|
|
1048
1054
|
}
|
|
1049
1055
|
|
|
1050
|
-
if (error.value === 'warning') {
|
|
1051
|
-
|
|
1056
|
+
else if (error.value === 'warning') {
|
|
1057
|
+
newStatus = {
|
|
1052
1058
|
type: 'warning',
|
|
1053
1059
|
message: 'The query is not supported technically.'
|
|
1054
1060
|
}
|
|
1055
1061
|
}
|
|
1056
1062
|
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1063
|
+
else {
|
|
1064
|
+
newStatus = {
|
|
1065
|
+
type: 'error',
|
|
1066
|
+
message: error.value
|
|
1067
|
+
}
|
|
1060
1068
|
}
|
|
1069
|
+
|
|
1070
|
+
emit('status', newStatus)
|
|
1071
|
+
|
|
1072
|
+
return newStatus
|
|
1061
1073
|
})
|
|
1062
1074
|
|
|
1063
1075
|
const inputPlaceholder = computed<string>(() => {
|