@dev.smartpricing/message-composer-layer 1.0.18 → 1.0.19

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.
@@ -20,8 +20,8 @@ defineOptions({
20
20
  {{ $t('editor.email.generalStyle.brandSection') }}
21
21
  </h3>
22
22
  <USelectMenu
23
- v-model="brand as any"
24
- :items="brands as any"
23
+ v-model="brand"
24
+ :items="brands"
25
25
  label-key="name"
26
26
  :placeholder="$t('editor.email.generalStyle.selectBrand')"
27
27
  class="w-full"
@@ -13,10 +13,10 @@ import { brandsApi } from '~/api'
13
13
  export const useEmailEditorStore = defineStore('emailEditor', () => {
14
14
  // State
15
15
  const blocks = ref<EmailBlock[]>([])
16
- const selectedBlockId = ref<string | null>(null)
16
+ const selectedBlockId = ref<string>()
17
17
  const globalSettings = ref<EmailGlobalSettings>({})
18
18
  const brands = ref<BrandFromDb[]>([])
19
- const brand = ref<BrandFromDb | null>(null)
19
+ const brand = ref<BrandFromDb>()
20
20
 
21
21
  // Brand computed helpers
22
22
  const brandId = computed(() => brand.value?.id ?? null)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev.smartpricing/message-composer-layer",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./nuxt.config.ts",
@@ -39,7 +39,7 @@
39
39
  "vue-router": "^5.0.6",
40
40
  "vue3-emoji-picker": "^1.1.8",
41
41
  "zod": "^4.4.1",
42
- "@dev.smartpricing/message-composer-utils": "3.1.18"
42
+ "@dev.smartpricing/message-composer-utils": "3.1.19"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@nuxt/eslint": "^1.15.2",