@sigmaott/base-next 1.4.59 → 1.4.61

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.
@@ -4,31 +4,22 @@ const config = useRuntimeConfig()
4
4
  </script>
5
5
 
6
6
  <template>
7
- <div
8
- id="tour-1"
9
- class="min-h-60px flex items-center gap-2 px-1 py-2"
10
- :style="{
11
- backgroundColor: showAside ? backgroundColorLogo : 'transparent',
12
- }"
13
- :class="[showAside ? 'max-w-200px' : '']"
14
- >
7
+ <div id="tour-1" class="min-h-60px flex items-center gap-2 px-1 py-2" :style="{
8
+ backgroundColor: showAside ? backgroundColorLogo : 'transparent',
9
+ }" :class="[showAside ? 'max-w-200px' : '']">
15
10
  <slot name="logo">
16
11
  <img :src="config.public.logo ?? '/logo.png'" class="h-40px w-40px">
17
12
  </slot>
18
13
 
19
14
  <div v-if="!asideCollapsed || !showAside">
20
- <p
21
- class="font-bold"
22
- :class="showAside ? ' text-white' : 'sigma-layout-title text-18px'"
23
- :style="{
24
- fontSize: showAside ? config.public.titleFontSize || '22px' : undefined,
25
- }"
26
- >
15
+ <p class="font-bold" :class="showAside ? ' text-white' : 'sigma-layout-title text-18px'" :style="{
16
+ fontSize: showAside ? config.public.titleFontSize || '22px' : undefined,
17
+ }">
27
18
  {{ title }}
28
19
  </p>
29
20
 
30
21
  <p class="text-xs font-500" :class="showAside ? 'text-text-secondary' : 'text-text-secondary'">
31
- v{{ version }}-{{ getBuildTime() }}
22
+ v{{ config.public.version || version }}-{{ getBuildTime() }}
32
23
  </p>
33
24
  </div>
34
25
  </div>
@@ -23,6 +23,7 @@ export function usePreviewLoader() {
23
23
  });
24
24
  }
25
25
 
26
+ // const drmSrc = 'https://rs.sigmadrm.com/sdk/sigmaplayer/2.0.0/SigmaPlayer.min.js'
26
27
  const drmSrc = "/scripts/SigmaPlayer.min.js";
27
28
  let pendingPromise: Promise<any> | null = null;
28
29