bfg-common 1.4.215 → 1.4.217

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.
@@ -2596,7 +2596,8 @@
2596
2596
  "repeatEvery": "Паўтараць кожны",
2597
2597
  "startOn": "Пачаць далей",
2598
2598
  "end": "Канец",
2599
- "with": "з"
2599
+ "with": "з",
2600
+ "minuteDelay": "хвіліна(ы) затрымкі"
2600
2601
  },
2601
2602
  "license": {
2602
2603
  "limits": "Limits",
@@ -2600,7 +2600,8 @@
2600
2600
  "repeatEvery": "Repeat every",
2601
2601
  "startOn": "Start on",
2602
2602
  "end": "End",
2603
- "with": "with"
2603
+ "with": "with",
2604
+ "minuteDelay": "minute(s) delay"
2604
2605
  },
2605
2606
  "license": {
2606
2607
  "limits": "Limits",
@@ -2600,7 +2600,8 @@
2600
2600
  "repeatEvery": "Կրկնել ամեն",
2601
2601
  "startOn": "Սկսեք",
2602
2602
  "end": "Վերջ",
2603
- "with": "հետ"
2603
+ "with": "հետ",
2604
+ "minuteDelay": "րոպե(ներ) ուշացում"
2604
2605
  },
2605
2606
  "license": {
2606
2607
  "limits": "Limits",
@@ -2599,7 +2599,8 @@
2599
2599
  "repeatEvery": "Әрқайсысын қайталаңыз",
2600
2600
  "startOn": "Бастау",
2601
2601
  "end": "Соңы",
2602
- "with": "бірге"
2602
+ "with": "бірге",
2603
+ "minuteDelay": "минуттық кешігу"
2603
2604
  },
2604
2605
  "license": {
2605
2606
  "limits": "Limits",
@@ -2602,7 +2602,8 @@
2602
2602
  "repeatEvery": "Повторяйте каждые",
2603
2603
  "startOn": "Начать",
2604
2604
  "end": "Конец",
2605
- "with": "с"
2605
+ "with": "с",
2606
+ "minuteDelay": "минута(ы) задержки"
2606
2607
  },
2607
2608
  "license": {
2608
2609
  "limits": "Limits",
@@ -2598,7 +2598,8 @@
2598
2598
  "repeatEvery": "重复每个",
2599
2599
  "startOn": "开始于",
2600
2600
  "end": "结尾",
2601
- "with": "和"
2601
+ "with": "和",
2602
+ "minuteDelay": "分钟延迟"
2602
2603
  },
2603
2604
  "license": {
2604
2605
  "limits": "Limits",
@@ -29,6 +29,8 @@
29
29
  {{ option.label }}
30
30
  </option>
31
31
  </select>
32
+
33
+ <slot v-if="$slots.options" name="options" :value="selectedValueLocal" />
32
34
  </div>
33
35
  </section>
34
36
  </template>
@@ -38,7 +40,6 @@ import type { UI_I_SelectInputItem } from '~/components/common/select/input/lib/
38
40
 
39
41
  const props = withDefaults(
40
42
  defineProps<{
41
- modelValue: number | string
42
43
  data: UI_I_SelectInputItem[]
43
44
  label?: string
44
45
  defaultStyle?: boolean
@@ -52,20 +53,9 @@ const props = withDefaults(
52
53
  testId: 'select-input',
53
54
  }
54
55
  )
55
- const emits = defineEmits<{
56
- (event: 'update:model-value', value: number | string): void
57
- }>()
56
+ const selectedValueLocal = defineModel<number | string>({ required: true })
58
57
 
59
58
  const selectOptions = computed<UI_I_SelectInputItem[]>(() => props.data)
60
-
61
- const selectedValueLocal = computed<number>({
62
- get() {
63
- return props.modelValue
64
- },
65
- set(newValue: number | string) {
66
- emits('update:model-value', newValue)
67
- },
68
- })
69
59
  </script>
70
60
 
71
61
  <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.215",
4
+ "version": "1.4.217",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",