bfg-common 1.4.257 → 1.4.258
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.
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<label
|
|
13
13
|
v-if="selectedFrequencyEndMode === 'on'"
|
|
14
14
|
for="frequency-end-date"
|
|
15
|
-
class="tooltip tooltip-validation tooltip-xs tooltip-top-left"
|
|
15
|
+
class="tooltip tooltip-validation tooltip-xs tooltip-top-left frequency-end-date"
|
|
16
16
|
:class="schedulerEndDateErrorText && 'invalid'"
|
|
17
17
|
>
|
|
18
18
|
<input
|
|
@@ -87,6 +87,9 @@ watch(
|
|
|
87
87
|
max-width: 80px !important;
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
+
.frequency-end-date {
|
|
91
|
+
margin-left: 15px;
|
|
92
|
+
}
|
|
90
93
|
}
|
|
91
94
|
.tooltip {
|
|
92
95
|
& > .tooltip-content {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<label
|
|
28
28
|
for="monthly-by-day-field"
|
|
29
29
|
class="tooltip tooltip-validation tooltip-xs tooltip-top-left"
|
|
30
|
-
:class="
|
|
30
|
+
:class="schedulerOnDayErrorText && 'invalid'"
|
|
31
31
|
>
|
|
32
32
|
<input
|
|
33
33
|
id="monthly-by-day-field"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
/>
|
|
42
42
|
|
|
43
43
|
<span class="tooltip-content">
|
|
44
|
-
{{
|
|
44
|
+
{{ schedulerOnDayErrorText }}
|
|
45
45
|
</span>
|
|
46
46
|
</label>
|
|
47
47
|
</div>
|
|
@@ -129,12 +129,19 @@ const isInitTimeIntervalValidation = ref<boolean>(false)
|
|
|
129
129
|
const onInitTimeIntervalValidation = (): void => {
|
|
130
130
|
isInitTimeIntervalValidation.value = true
|
|
131
131
|
}
|
|
132
|
-
const
|
|
132
|
+
const schedulerOnDayErrorText = computed<string>(() => {
|
|
133
133
|
if (!isInitTimeIntervalValidation.value || isDisabledMonthlyDayField.value)
|
|
134
134
|
return ''
|
|
135
135
|
|
|
136
|
-
return validateField(localization.value, model.value.frg_monthly_day)
|
|
136
|
+
return validateField(localization.value, model.value.frg_monthly_day, true)
|
|
137
137
|
})
|
|
138
|
+
watch(
|
|
139
|
+
schedulerOnDayErrorText,
|
|
140
|
+
(newValue: string) => {
|
|
141
|
+
model.value.isValid = !!newValue
|
|
142
|
+
},
|
|
143
|
+
{ immediate: true }
|
|
144
|
+
)
|
|
138
145
|
|
|
139
146
|
const schedulerAtOnceErrorText = computed<string>(() => {
|
|
140
147
|
return !model.value.frg_on_time ? localization.value.common.fieldRequired : ''
|