@icvdeveloper/common-module 0.0.50 → 0.0.52

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.
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "v3plus-common-module",
3
3
  "configKey": "v3plusCommonModule",
4
- "version": "0.0.50"
4
+ "version": "0.0.52"
5
5
  }
@@ -101,3 +101,22 @@ export type presenterModalClassObj = {
101
101
  export type uccClassObj = {
102
102
  container?: string | null;
103
103
  };
104
+ export type accordionCompObj<svgIconClassObj> = {
105
+ svgIcon?: svgIconClassObj;
106
+ };
107
+ export type accordionClassObj = {
108
+ container?: string | null;
109
+ buttonContainer?: string | null;
110
+ textButton?: string | null;
111
+ iconButton?: string | null;
112
+ iconContainer?: string | null;
113
+ dropdownContainer?: string | null;
114
+ components?: accordionCompObj;
115
+ };
116
+ export type faqAccordionCompObj = {
117
+ accordion: accordionClassObj;
118
+ };
119
+ export type faqAccordionClassObj = {
120
+ container?: string | null;
121
+ components?: faqAccordionCompObj;
122
+ };
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
2
+ <svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="M8.43934 15.9393C9.02513 15.3536 9.97487 15.3536 10.5607 15.9393L24 29.3787L37.4393 15.9393C38.0251 15.3536 38.9749 15.3536 39.5607 15.9393C40.1464 16.5251 40.1464 17.4749 39.5607 18.0607L25.0607 32.5607C24.4749 33.1464 23.5251 33.1464 22.9393 32.5607L8.43934 18.0607C7.85355 17.4749 7.85355 16.5251 8.43934 15.9393Z"/>
4
+ </svg>
@@ -1,6 +1,29 @@
1
1
  <script lang="ts" setup>
2
- import { ref } from "vue";
2
+ import { ref, toRefs } from "vue";
3
+ import { useClassBinding } from "../../composables/useClassBinding";
4
+ import {
5
+ accordionClassObj,
6
+ accordionCompObj,
7
+ svgIconClassObj,
8
+ } from "../../@types/components";
3
9
 
10
+ interface Props {
11
+ classObject?: accordionClassObj;
12
+ }
13
+
14
+ const props = withDefaults(defineProps<Props>(), {
15
+ classObject: () => {
16
+ return {
17
+ components: ref<accordionCompObj>({
18
+ svgIcon: ref<svgIconClassObj>({}),
19
+ }),
20
+ };
21
+ },
22
+ });
23
+
24
+ const { classObject } = toRefs(props);
25
+
26
+ const { classBinding } = useClassBinding();
4
27
  const expanded = ref<boolean>(false);
5
28
 
6
29
  // methods
@@ -11,26 +34,61 @@ const toggle = () => {
11
34
 
12
35
  <template>
13
36
  <div>
14
- <div class="font-bold mt-2 mb-4">
15
- <button class="outline-none hover:underline" @click="toggle">
37
+ <div
38
+ :class="
39
+ classBinding(classObject, 'buttonContainer', 'font-bold mt-2 mb-4')
40
+ "
41
+ >
42
+ <button
43
+ :class="
44
+ classBinding(
45
+ classObject,
46
+ 'textButton',
47
+ 'outline-none hover:underline'
48
+ )
49
+ "
50
+ @click="toggle"
51
+ >
16
52
  <slot name="question" />
17
53
  </button>
18
54
 
19
- <button class="outline-none" @click="toggle">
55
+ <button
56
+ :class="classBinding(classObject, 'iconButton', 'outline-none')"
57
+ @click="toggle"
58
+ >
20
59
  <div
21
- class="inline-block font-bold px-2 chevron"
22
- :class="{ normal: !expanded, down: expanded }"
60
+ :class="[
61
+ { normal: !expanded, down: expanded },
62
+ classBinding(
63
+ classObject,
64
+ 'iconContainer',
65
+ 'inline-block font-bold px-2 chevron'
66
+ ),
67
+ ]"
23
68
  >
24
- &gt;
69
+ <CommonSvgIcon
70
+ :class="
71
+ classBinding(classObject.components.svgIcon, 'container', '')
72
+ "
73
+ :class-object="classObject.components.svgIcon"
74
+ icon="chevron"
75
+ />
25
76
  </div>
26
77
  </button>
27
78
  </div>
28
79
 
29
80
  <transition name="slide" mode="out-in">
30
- <div v-show="expanded">
31
- <div class="rounded px-4 pt-3 pb-1 bg-grey-lighter">
32
- <slot name="answer" />
33
- </div>
81
+ <div
82
+ v-show="expanded"
83
+ :class="
84
+ classBinding(
85
+ classObject,
86
+ 'dropdownContainer',
87
+ 'rounded px-4 pt-3 pb-1 bg-grey-lighter'
88
+ )
89
+ "
90
+ >
91
+ <slot name="answer" />
34
92
  </div>
35
93
  </transition>
36
94
  </div>
@@ -56,7 +114,7 @@ const toggle = () => {
56
114
  will-change: transform;
57
115
  }
58
116
  .chevron.down {
59
- transform: rotate(90deg);
117
+ transform: rotate(180deg);
60
118
  }
61
119
  .chevron.normal {
62
120
  transform: rotate(0deg);
@@ -81,6 +81,12 @@ const icons: Icons = {
81
81
  () => import("../../assets/svg/icon-close.svg")
82
82
  ),
83
83
  },
84
+ chevron: {
85
+ color: "#000",
86
+ component: defineAsyncComponent(
87
+ () => import("../../assets/svg/icon-chevron.svg")
88
+ ),
89
+ },
84
90
  };
85
91
 
86
92
  type Props = {
@@ -1,22 +1,73 @@
1
1
  <script lang="ts" setup>
2
- import { toRefs, unref } from "vue";
2
+ import { ref, toRefs, unref } from "vue";
3
+ import {
4
+ faqAccordionClassObj,
5
+ faqAccordionCompObj,
6
+ accordionClassObj,
7
+ } from "../../@types/components";
8
+ import { useClassBinding } from "../../composables/useClassBinding";
3
9
 
4
- type Props = {
10
+ interface Props {
5
11
  streamTestEnabled?: boolean;
6
12
  showForm?: boolean;
7
13
  liveSupportUrl?: string;
8
- };
14
+ questionArray?: Array<{ q: string; a: string }>;
15
+ classObject?: faqAccordionClassObj;
16
+ }
9
17
 
10
18
  const props = withDefaults(defineProps<Props>(), {
11
19
  streamTestEnabled: false,
12
20
  showForm: true,
13
21
  liveSupportUrl: "",
22
+ questionArray: () => [
23
+ {
24
+ q: "<span class='font-bold'>Q: Have you run the pre-event streaming test?</span>",
25
+ a: "<p>The most important step is to visit our <a href='/stream-test'>Pre-Event Test Stream</a> using the computer or device you will use for the live web event, and connecting with the same network connection you will use for the live web event. We begin webcasting a pre-event test stream one week prior to the event.</p><p> If you can see video, hear the sound, and see the test slide, you will most likely be ready for the web event.</p>",
26
+ },
27
+ {
28
+ q: "<span class='font-bold'>Q: What are the browser requirements?</span>",
29
+ a: "<div><p><span class='font-bold'>Desktop:</span> Minimum browser versions of the following: </p><ul><li>Chrome 65</li><li>Edge 16</li><li>Firefox 60</li><li>Internet Explorer 11 in Windows 8.1+ only</li><li>Safari 10</li></ul><p><span class='font-bold'>Mobile:</span> Minimum browser versions of the following for Android 4.4+ and iOS 11+:</p><ul><li>Chrome 63</li><li>Safari 10</li></ul></div>",
30
+ },
31
+ {
32
+ q: "<span class='font-bold'>Q: Why am I getting a login error?</span>",
33
+ a: "<p>Verify that you are using the same email address you used to register for the event. If you just registered, wait 1-2 minutes to allow us to process your registration, then try again. If you are still unable to log in, please <span v-if='showForm'>contact us via the support form below.</span><span v-else>email<a href='mailto:support@rubiconportals.com'>support@rubiconportals.com</a>.</span></p>",
34
+ },
35
+ {
36
+ q: "<span class='font-bold'>Q: What makes the sound or video stop, skip, cut out, or buffer?</span>",
37
+ a: "<div><p>Audio and video stuttering, skipping, stopping and starting, or buffering happens for a few reasons. If you are experiencing these issues, first try refreshing your browser. You can do this a few different ways, depending on your browser and computer or device:</p><ol><li>Clicking the circle-shaped (reload) arrows in or next to the web address bar</li><li> Right-clicking over the webcast the page and choosing 'Reload' or 'Refresh'</li><li>Using the keyboard - Ctrl-R (PC) or Command-R (Mac)</li></ol><p>If refreshing your browser does not work, you may be experiencingone of the following issues:</p><p><span class='font-bold'>Slow Internet Connection:</span> You may nothave a fast enough Internet connection to reliably view the webevent video stream. Your Internet connection should have downloadspeeds of at least 5Mbps. Ideally we recommend an Internetconnection capable of at least 10Mbps.</p><p><span class='font-bold'>Network Traffic:</span> Internet trafficwithin your local network will slow down the delivery of the videostream making it difficult for you to connect and may causebuffering or stopping and starting. If you have repeated issuesconnecting, please notify your in-house IT department; if you are atyour home, contact your Internet service provider. They are oftenable to provide quick fixes for your issue.</p><p><span class='font-bold'>Slow Computer or Tablet:</span> If yourcomputer or tablet is old, it might be too slow to play the webcaststream. Or, if you have other programs open, they may be using somuch processor time and/or RAM that the player is unable to workproperly. Try closing other programs, refreshing your page (seeabove), and viewing the webcast again.</p><p><span class='font-bold'>Local Congestion:</span> Local bandwidth (onyour computer or local network) is shared between all openapplications. other computers, connected devices, mobile phones andthe player. Closing applications and disconnecting other internet ornetwork connected devices may reduce buffering.</p><p><span class='font-bold'>No Sound:</span> Visit<a href='https://youtube.com' target='_blank'>YouTube.com</a> oranother video site and make sure that you can hear those videos playsound. If you hear sound on YouTube, make sure your media playervolume control isn’t muted. If you don’t hear any sound, check theplayer volume, your system volume, and speaker volume, and ensurethat they are all turned on and turned up.</p></div>",
38
+ },
39
+ {
40
+ q: "<span class='font-bold'>Q: Why is my video completely black (or displaying an error)?</span>",
41
+ a: "<p>If your webcast does not start playing even after trying the abovefixes, the stream may have gone down due to technical issues at thelocation or out on the internet between the location of the event andyour computer. If this is the case, everyone else watching the streamwill be having the same issues as you. Send a message to tech supportusing the 'Support' link at the top of the player page. If you do notreceive a response within a few minutes, it is likely that the streamis down for everyone and that we are working on getting it back up.</,p>",
42
+ },
43
+ {
44
+ q: "<span class='font-bold'>Q: Can I view the live stream on a mobile device?</span>",
45
+ a: "<p>You can view the webcast from a mobile device, such as a cell phone,iPad, or tablet. We recommend that you be somewhere where there isfast, reliable WiFi or a strong data connection in order to avoid anyinterruptions. There are many versions of mobile operating systems onthe market today. We strive to make video playable on all devices,however while we try to create a universally playable stream, someolder devices may not be compatible.</p><p>Also, mobile bandwidth can fluctuate extensively from location tolocation. Because this is a live streaming protocol, a consistentsustained data rate is required for the stream to play properly.Unlike video on YouTube and other services, that will progressivelydownload the video, live video is constant, and if bandwidthfluctuates below a minimum data rate, even for a couple of seconds,the stream could be interrupted.</p>",
46
+ },
47
+ ],
48
+ classObject: () => {
49
+ return {
50
+ components: ref<faqAccordionCompObj>({
51
+ accordion: ref<accordionClassObj>({
52
+ components: ref<accordionCompObj>({
53
+ svgIcon: ref<svgIconClassObj>({}),
54
+ }),
55
+ }),
56
+ }),
57
+ };
58
+ },
14
59
  });
60
+
61
+ const { classBinding } = useClassBinding();
15
62
  </script>
16
63
 
17
64
  <template>
18
65
  <section>
19
- <CommonAccordion v-if="props.streamTestEnabled">
66
+ <CommonAccordion
67
+ v-if="streamTestEnabled"
68
+ :class="classBinding(classObject, 'container', '')"
69
+ :class-object="classObject.components.accordion"
70
+ >
20
71
  <template #question>
21
72
  <span class="font-bold"
22
73
  >Q: Have you run the pre-event streaming test?</span
@@ -36,208 +87,47 @@ const props = withDefaults(defineProps<Props>(), {
36
87
  </p>
37
88
  </template>
38
89
  </CommonAccordion>
39
- <CommonAccordion>
40
- <template #question>
41
- <span class="font-bold">Q: What are the browser requirements?</span>
42
- </template>
43
- <template #answer>
44
- <div>
45
- <p>
46
- <span class="font-bold">Desktop:</span> Minimum browser versions of
47
- the following:
48
- </p>
49
- <ul>
50
- <li>Chrome 65</li>
51
- <li>Edge 16</li>
52
- <li>Firefox 60</li>
53
- <li>Internet Explorer 11 in Windows 8.1+ only</li>
54
- <li>Safari 10</li>
55
- </ul>
56
- <p>
57
- <span class="font-bold">Mobile:</span> Minimum browser versions of
58
- the following for Android 4.4+ and iOS 11+:
59
- </p>
60
- <ul>
61
- <li>Chrome 63</li>
62
- <li>Safari 10</li>
63
- </ul>
64
- </div>
65
- </template>
66
- </CommonAccordion>
67
- <CommonAccordion>
68
- <template #question>
69
- <span class="font-bold">Q: Why am I getting a login error?</span>
70
- </template>
71
-
72
- <template #answer>
73
- <p>
74
- Verify that you are using the same email address you used to register
75
- for the event. If you just registered, wait 1-2 minutes to allow us to
76
- process your registration, then try again. If you are still unable to
77
- log in, please
78
- <span v-if="showForm">contact us via the support form below.</span>
79
- <span v-else
80
- >email
81
- <a href="mailto:support@rubiconportals.com"
82
- >support@rubiconportals.com</a
83
- >.</span
84
- >
85
- </p>
86
- </template>
87
- </CommonAccordion>
88
- <CommonAccordion>
89
- <template #question>
90
- <span class="font-bold"
91
- >Q: What makes the sound or video stop, skip, cut out, or
92
- buffer?</span
93
- >
94
- </template>
95
-
96
- <template #answer>
97
- <div>
98
- <p>
99
- Audio and video stuttering, skipping, stopping and starting, or
100
- buffering happens for a few reasons. If you are experiencing these
101
- issues, first try refreshing your browser. You can do this a few
102
- different ways, depending on your browser and computer or device:
103
- </p>
104
-
105
- <ol>
106
- <li>
107
- Clicking the circle-shaped (reload) arrows in or next to the web
108
- address bar
109
- </li>
110
- <li>
111
- Right-clicking over the webcast the page and choosing "Reload" or
112
- "Refresh"
113
- </li>
114
- <li>Using the keyboard - Ctrl-R (PC) or Command-R (Mac)</li>
115
- </ol>
116
-
117
- <p>
118
- If refreshing your browser does not work, you may be experiencing
119
- one of the following issues:
120
- </p>
121
-
122
- <p>
123
- <span class="font-bold">Slow Internet Connection:</span> You may not
124
- have a fast enough Internet connection to reliably view the web
125
- event video stream. Your Internet connection should have download
126
- speeds of at least 5Mbps. Ideally we recommend an Internet
127
- connection capable of at least 10Mbps.
128
- </p>
129
-
130
- <p>
131
- <span class="font-bold">Network Traffic:</span> Internet traffic
132
- within your local network will slow down the delivery of the video
133
- stream making it difficult for you to connect and may cause
134
- buffering or stopping and starting. If you have repeated issues
135
- connecting, please notify your in-house IT department; if you are at
136
- your home, contact your Internet service provider. They are often
137
- able to provide quick fixes for your issue.
138
- </p>
139
-
140
- <p>
141
- <span class="font-bold">Slow Computer or Tablet:</span> If your
142
- computer or tablet is old, it might be too slow to play the webcast
143
- stream. Or, if you have other programs open, they may be using so
144
- much processor time and/or RAM that the player is unable to work
145
- properly. Try closing other programs, refreshing your page (see
146
- above), and viewing the webcast again.
147
- </p>
148
-
149
- <p>
150
- <span class="font-bold">Local Congestion:</span> Local bandwidth (on
151
- your computer or local network) is shared between all open
152
- applications. other computers, connected devices, mobile phones and
153
- the player. Closing applications and disconnecting other internet or
154
- network connected devices may reduce buffering.
155
- </p>
156
-
157
- <p>
158
- <span class="font-bold">No Sound:</span> Visit
159
- <a href="https://youtube.com" target="_blank">YouTube.com</a> or
160
- another video site and make sure that you can hear those videos play
161
- sound. If you hear sound on YouTube, make sure your media player
162
- volume control isn’t muted. If you don’t hear any sound, check the
163
- player volume, your system volume, and speaker volume, and ensure
164
- that they are all turned on and turned up.
165
- </p>
166
- </div>
167
- </template>
168
- </CommonAccordion>
169
-
170
- <CommonAccordion>
171
- <template #question>
172
- <span class="font-bold"
173
- >Q: Why is my video completely black (or displaying an error)?</span
174
- >
175
- </template>
176
-
177
- <template #answer>
178
- <p>
179
- If your webcast does not start playing even after trying the above
180
- fixes, the stream may have gone down due to technical issues at the
181
- location or out on the internet between the location of the event and
182
- your computer. If this is the case, everyone else watching the stream
183
- will be having the same issues as you. Send a message to tech support
184
- using the “Support" link at the top of the player page. If you do not
185
- receive a response within a few minutes, it is likely that the stream
186
- is down for everyone and that we are working on getting it back up.
187
- </p>
188
- </template>
189
- </CommonAccordion>
190
-
191
- <CommonAccordion>
90
+ <template v-for="(question, index) in questionArray" :key="index">
91
+ <CommonAccordion
92
+ :class="
93
+ classBinding(classObject.components?.accordion, 'container', '')
94
+ "
95
+ :class-object="classObject.components.accordion"
96
+ >
97
+ <template #question>
98
+ <span v-html="question.q"></span>
99
+ </template>
100
+ <template #answer>
101
+ <span v-html="question.a"></span>
102
+ </template>
103
+ </CommonAccordion>
104
+ </template>
105
+ <CommonAccordion
106
+ :class="classBinding(classObject.components?.accordion, 'container', '')"
107
+ :class-object="classObject.components.accordion"
108
+ >
192
109
  <template #question>
193
- <span class="font-bold"
194
- >Q: Can I view the live stream on a mobile device?</span
195
- >
196
- </template>
197
- <template #answer>
198
- <p>
199
- You can view the webcast from a mobile device, such as a cell phone,
200
- iPad, or tablet. We recommend that you be somewhere where there is
201
- fast, reliable WiFi or a strong data connection in order to avoid any
202
- interruptions. There are many versions of mobile operating systems on
203
- the market today. We strive to make video playable on all devices,
204
- however while we try to create a universally playable stream, some
205
- older devices may not be compatible.
206
- </p>
207
- <p>
208
- Also, mobile bandwidth can fluctuate extensively from location to
209
- location. Because this is a live streaming protocol, a consistent
210
- sustained data rate is required for the stream to play properly.
211
- Unlike video on YouTube and other services, that will progressively
212
- download the video, live video is constant, and if bandwidth
213
- fluctuates below a minimum data rate, even for a couple of seconds,
214
- the stream could be interrupted.
215
- </p>
216
- </template>
217
- </CommonAccordion>
218
- <CommonAccordion>
219
- <template #question>
220
- <span class="font-bold"
221
- >Q: Who can I contact if I still need help?</span
222
- >
110
+ <span class="font-bold">
111
+ Q: Who can I contact if I still need help?
112
+ </span>
223
113
  </template>
224
114
  <template #answer>
225
115
  <div>
226
116
  <div v-if="showForm">
227
- <span class="font-bold">Support Form</span><br />
228
- You can email support using the support form below.
117
+ <span class="font-bold">Support Form</span><br />You can email
118
+ support using the support form below.
229
119
  </div>
230
120
  <div v-else>
231
- <span class="font-bold">Support Email</span><br />
232
- You can email support at
121
+ <span class="font-bold">Support Email</span><br />You can email
122
+ support at
233
123
  <a href="mailto:support@rubiconportals.com"
234
124
  >support@rubiconportals.com</a
235
125
  >.
236
126
  </div>
237
127
  <div v-if="liveSupportUrl">
238
128
  <div class="mt-4 font-bold">Live Support Chat</div>
239
- During the webcast, live support will also be available to assist.
240
- You may request live support by
129
+ During the webcast, live support will also be available to
130
+ assist.You may request live support by
241
131
  <a :href="liveSupportUrl" target="_blank">clicking here</a>.
242
132
  </div>
243
133
  </div>
@@ -8,5 +8,6 @@ export * from "./useLogin";
8
8
  export * from "./usePresentation";
9
9
  export * from "./usePresenter";
10
10
  export * from "./usePresenters";
11
+ export * from "./useScripts";
11
12
  export * from "./useUcc";
12
13
  export * from "./useV3plusCommonModule";
@@ -8,5 +8,6 @@ export * from "./useLogin.mjs";
8
8
  export * from "./usePresentation.mjs";
9
9
  export * from "./usePresenter.mjs";
10
10
  export * from "./usePresenters.mjs";
11
+ export * from "./useScripts.mjs";
11
12
  export * from "./useUcc.mjs";
12
13
  export * from "./useV3plusCommonModule.mjs";
@@ -0,0 +1,7 @@
1
+ export type scriptFunctions = {
2
+ /**
3
+ * load custom scripts
4
+ */
5
+ loadScripts: (scripts: Array<string>) => void;
6
+ };
7
+ export declare const useScripts: () => scriptFunctions;
@@ -0,0 +1,12 @@
1
+ export const useScripts = () => {
2
+ const loadScripts = (scripts) => {
3
+ scripts.forEach((src) => {
4
+ let ucc = document.createElement("script");
5
+ ucc.setAttribute("src", src);
6
+ document.head.appendChild(ucc);
7
+ });
8
+ };
9
+ return {
10
+ loadScripts
11
+ };
12
+ };
@@ -29,6 +29,7 @@ export interface Global {
29
29
  captions_font: FontVariable;
30
30
  captions_text_color: ColorVariable;
31
31
  conference_photo_headers: ImageVariable;
32
+ custom_scripts: TextAreaVariable;
32
33
  custom_css: TextAreaVariable;
33
34
  enable_peer5: ToggleVariable;
34
35
  enable_text_chat: ToggleVariable;
@@ -16,4 +16,5 @@ export type Icons = {
16
16
  zoom: Icon;
17
17
  downarrow: Icon;
18
18
  close: Icon;
19
+ chevron: Icon;
19
20
  };
@@ -11,7 +11,7 @@ export interface TemplateConfigState {
11
11
  }
12
12
  export declare const useTemplateConfigsStore: import("pinia").StoreDefinition<"templateConfigs", TemplateConfigState, {
13
13
  globalConfigValue: (state: TemplateConfigState) => (path: GlobalConfigKey, defaultValue?: any) => any;
14
- globalConfig: (state: TemplateConfigState) => <T extends "accent_color_1" | "accent_color_2" | "accent_color_3" | "affiliate_page_button_alias" | "azure_ad_client_id" | "azure_ad_message" | "azure_ad_tenant_id" | "azure_ad_user_password" | "body_color_1" | "body_color_2" | "body_color_3" | "body_color_4" | "body_color_5" | "body_color_6" | "body_font_1" | "body_font_2" | "button_color_1" | "button_color_2" | "captions_bg_color" | "captions_font" | "captions_text_color" | "conference_photo_headers" | "custom_css" | "enable_peer5" | "enable_text_chat" | "enable_video_chat" | "external_reg_url" | "global_color_1" | "global_color_2" | "global_color_3" | "global_color_4" | "global_color_5" | "global_color_6" | "header_font_1" | "header_font_2" | "header_titles" | "heading_color_1" | "heading_color_2" | "heading_color_3" | "heading_color_4" | "heading_color_5" | "heading_color_6" | "hide_user_profile" | "html_footer" | "html_header" | "link_color" | "link_hover" | "login_disabled" | "login_disabled_user_email" | "login_disabled_user_password" | "login_process" | "login_redirect_enabled" | "muted_photo_headers" | "nav_color_1" | "nav_color_2" | "nav_color_3" | "nav_color_4" | "nav_color_5" | "paragraph_color_1" | "paragraph_color_2" | "presenter_icon_color_style" | "reg_button_alias" | "reg_button_enabled" | "secure_site_access_enabled" | "townhall_registration_enabled" | "townhall_registration_group" | "view_archive_button_alias" | "view_now_button_alias" | "view_preview_button_alias">(path: T, defaultValue?: any) => GlobalConfigKeyType<T>;
14
+ globalConfig: (state: TemplateConfigState) => <T extends "accent_color_1" | "accent_color_2" | "accent_color_3" | "affiliate_page_button_alias" | "azure_ad_client_id" | "azure_ad_message" | "azure_ad_tenant_id" | "azure_ad_user_password" | "body_color_1" | "body_color_2" | "body_color_3" | "body_color_4" | "body_color_5" | "body_color_6" | "body_font_1" | "body_font_2" | "button_color_1" | "button_color_2" | "captions_bg_color" | "captions_font" | "captions_text_color" | "conference_photo_headers" | "custom_scripts" | "custom_css" | "enable_peer5" | "enable_text_chat" | "enable_video_chat" | "external_reg_url" | "global_color_1" | "global_color_2" | "global_color_3" | "global_color_4" | "global_color_5" | "global_color_6" | "header_font_1" | "header_font_2" | "header_titles" | "heading_color_1" | "heading_color_2" | "heading_color_3" | "heading_color_4" | "heading_color_5" | "heading_color_6" | "hide_user_profile" | "html_footer" | "html_header" | "link_color" | "link_hover" | "login_disabled" | "login_disabled_user_email" | "login_disabled_user_password" | "login_process" | "login_redirect_enabled" | "muted_photo_headers" | "nav_color_1" | "nav_color_2" | "nav_color_3" | "nav_color_4" | "nav_color_5" | "paragraph_color_1" | "paragraph_color_2" | "presenter_icon_color_style" | "reg_button_alias" | "reg_button_enabled" | "secure_site_access_enabled" | "townhall_registration_enabled" | "townhall_registration_group" | "view_archive_button_alias" | "view_now_button_alias" | "view_preview_button_alias">(path: T, defaultValue?: any) => GlobalConfigKeyType<T>;
15
15
  pagesConfigValue: (state: TemplateConfigState) => (path: NestedKeyOf<Pages>, defaultValue?: any, conferenceId?: number) => any;
16
16
  }, {
17
17
  setPortalTemplateConfig(payload: any): Promise<TemplateConfig>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icvdeveloper/common-module",
3
- "version": "0.0.50",
3
+ "version": "0.0.52",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {