@live-change/user-frontend 0.9.187 → 0.9.189

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.
@@ -30,7 +30,6 @@
30
30
  const secretLink = secrets.find(secret => secret.type === 'link')
31
31
  const secretCode = secrets.find(secret => secret.type === 'code')
32
32
 
33
- import { useLocale } from "@live-change/vue3-components"
34
33
  import { useI18n } from 'vue-i18n'
35
34
  const { locale: i18nLocale, t } = useI18n()
36
35
 
@@ -30,7 +30,6 @@
30
30
  const secretLink = secrets.find(secret => secret.type === 'link')
31
31
  const secretCode = secrets.find(secret => secret.type === 'code')
32
32
 
33
- import { useLocale } from "@live-change/vue3-components"
34
33
  import { useI18n } from 'vue-i18n'
35
34
  const { locale: i18nLocale, t } = useI18n()
36
35
 
@@ -53,7 +53,7 @@
53
53
  const selectedCountry = ref()
54
54
  watch(value, (newValue) => {
55
55
  if(!newValue) return
56
- const found = availableCountries.value.find((country) => newValue.startsWith(country.name))
56
+ const found = availableCountries.value.find((country) => newValue.toLowerCase() == country.code.toLowerCase())
57
57
  if(found) selectedCountry.value = found
58
58
  })
59
59
 
@@ -71,7 +71,7 @@
71
71
  }
72
72
 
73
73
  watch(selectedCountry, (country) => {
74
- value.value = country?.name || country
74
+ value.value = country ? country.code.toLowerCase() : null
75
75
  })
76
76
 
77
77
  import { usePath, live } from '@live-change/vue3-ssr'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/user-frontend",
3
- "version": "0.9.187",
3
+ "version": "0.9.189",
4
4
  "scripts": {
5
5
  "memDev": "tsx --inspect --expose-gc server/start.js memDev --enableSessions --initScript ./init.js --dbAccess",
6
6
  "localDevInit": "tsx server/start.js localDev --enableSessions --initScript ./init.js --dbAccess",
@@ -36,29 +36,29 @@
36
36
  },
37
37
  "type": "module",
38
38
  "dependencies": {
39
- "@live-change/cli": "^0.9.187",
40
- "@live-change/dao": "^0.9.187",
41
- "@live-change/dao-vue3": "^0.9.187",
42
- "@live-change/dao-websocket": "^0.9.187",
43
- "@live-change/email-service": "^0.9.187",
44
- "@live-change/framework": "^0.9.187",
45
- "@live-change/identicon-service": "^0.9.187",
46
- "@live-change/image-frontend": "^0.9.187",
47
- "@live-change/message-authentication-service": "^0.9.187",
48
- "@live-change/notification-service": "^0.9.187",
49
- "@live-change/password-authentication-service": "^0.9.187",
50
- "@live-change/pattern": "^0.9.187",
51
- "@live-change/secret-code-service": "^0.9.187",
52
- "@live-change/secret-link-service": "^0.9.187",
53
- "@live-change/security-frontend": "^0.9.187",
54
- "@live-change/security-service": "^0.9.187",
55
- "@live-change/session-service": "^0.9.187",
56
- "@live-change/timer-service": "^0.9.187",
57
- "@live-change/upload-service": "^0.9.187",
58
- "@live-change/user-identification-service": "^0.9.187",
59
- "@live-change/user-service": "^0.9.187",
60
- "@live-change/vue3-components": "^0.9.187",
61
- "@live-change/vue3-ssr": "^0.9.187",
39
+ "@live-change/cli": "^0.9.189",
40
+ "@live-change/dao": "^0.9.189",
41
+ "@live-change/dao-vue3": "^0.9.189",
42
+ "@live-change/dao-websocket": "^0.9.189",
43
+ "@live-change/email-service": "^0.9.189",
44
+ "@live-change/framework": "^0.9.189",
45
+ "@live-change/identicon-service": "^0.9.189",
46
+ "@live-change/image-frontend": "^0.9.189",
47
+ "@live-change/message-authentication-service": "^0.9.189",
48
+ "@live-change/notification-service": "^0.9.189",
49
+ "@live-change/password-authentication-service": "^0.9.189",
50
+ "@live-change/pattern": "^0.9.189",
51
+ "@live-change/secret-code-service": "^0.9.189",
52
+ "@live-change/secret-link-service": "^0.9.189",
53
+ "@live-change/security-frontend": "^0.9.189",
54
+ "@live-change/security-service": "^0.9.189",
55
+ "@live-change/session-service": "^0.9.189",
56
+ "@live-change/timer-service": "^0.9.189",
57
+ "@live-change/upload-service": "^0.9.189",
58
+ "@live-change/user-identification-service": "^0.9.189",
59
+ "@live-change/user-service": "^0.9.189",
60
+ "@live-change/vue3-components": "^0.9.189",
61
+ "@live-change/vue3-ssr": "^0.9.189",
62
62
  "@vueuse/core": "^12.3.0",
63
63
  "codeceptjs-assert": "^0.0.5",
64
64
  "codeceptjs-video-helper": "0.1.3",
@@ -79,7 +79,7 @@
79
79
  "wtfnode": "^0.9.1"
80
80
  },
81
81
  "devDependencies": {
82
- "@live-change/codeceptjs-helper": "^0.9.187",
82
+ "@live-change/codeceptjs-helper": "^0.9.189",
83
83
  "codeceptjs": "^3.6.10",
84
84
  "generate-password": "1.7.1",
85
85
  "playwright": "1.49.1",
@@ -90,5 +90,5 @@
90
90
  "author": "Michał Łaszczewski <michal@laszczewski.pl>",
91
91
  "license": "BSD-3-Clause",
92
92
  "description": "",
93
- "gitHead": "9cb9fc01eebdafb342a419cde03eafdf467eaa32"
93
+ "gitHead": "0b67df26a5b3bc97beab18cbfda516b62f80bcd8"
94
94
  }