bfg-common 1.4.266 → 1.4.268

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.
@@ -98,15 +98,9 @@ export const validateDate = (
98
98
  ? parseISO(predefinedDate)
99
99
  : thresholdDate
100
100
 
101
- if (predefinedDate) {
102
- if (isBefore(comparisonDate, subMinutes(selectedDate, 1))) {
103
- return localization.common.theValueLargeThanStartTime
104
- }
105
- }
106
-
107
- if (isBefore(selectedDate, comparisonDate)) {
108
- return localization.common.theValueTooSmall
109
- }
110
-
111
- return ''
101
+ return isBefore(selectedDate, comparisonDate)
102
+ ? comparisonDate
103
+ ? localization.common.theValueLargeThanStartTime
104
+ : localization.common.theValueTooSmall
105
+ : ''
112
106
  }
@@ -41,15 +41,15 @@ const tabs = computed<UI_I_SelectWeekDayTab[]>(() =>
41
41
  weekDaysFunc(localization.value, modelWeekDaysLocal.value)
42
42
  )
43
43
 
44
- watch(
45
- tabs,
46
- (newValue: UI_I_SelectWeekDayTab[]) => {
47
- modelWeekDaysLocal.value = newValue
48
- .filter((tab) => tab.isActive)
49
- .map((tab) => tab.value)
50
- },
51
- { immediate: true }
52
- )
44
+ // watch(
45
+ // tabs,
46
+ // (newValue: UI_I_SelectWeekDayTab[]) => {
47
+ // modelWeekDaysLocal.value = newValue
48
+ // .filter((tab) => tab.isActive)
49
+ // .map((tab) => tab.value)
50
+ // },
51
+ // { immediate: true }
52
+ // )
53
53
  </script>
54
54
 
55
55
  <style lang="scss" scoped>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.266",
4
+ "version": "1.4.268",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",