@icvdeveloper/common-module 2.0.0 → 2.1.0

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.
Files changed (162) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/module.d.mts +1051 -2
  3. package/dist/module.d.ts +1051 -2
  4. package/dist/module.json +1 -1
  5. package/dist/module.mjs +21 -17
  6. package/dist/runtime/analytics.d.ts +1 -6
  7. package/dist/runtime/assets/scss/_agenda.css +1 -0
  8. package/dist/runtime/assets/scss/_animations.css +1 -0
  9. package/dist/runtime/assets/scss/_container_variants.css +1 -0
  10. package/dist/runtime/assets/scss/_custom.css +3 -0
  11. package/dist/runtime/assets/scss/_forms.css +1 -0
  12. package/dist/runtime/assets/scss/_header.css +0 -0
  13. package/dist/runtime/assets/scss/_index_production.css +1 -0
  14. package/dist/runtime/assets/scss/_transitions.css +1 -0
  15. package/dist/runtime/assets/scss/_variables.css +1 -0
  16. package/dist/runtime/assets/scss/_variables2.css +0 -0
  17. package/dist/runtime/assets/scss/_webcast.css +1 -0
  18. package/dist/runtime/assets/scss/index.css +1 -0
  19. package/dist/runtime/components/affiliates/AffiliateModal.vue +1 -1
  20. package/dist/runtime/components/affiliates/AffiliatePage.vue +70 -105
  21. package/dist/runtime/components/agenda/AgendaList.vue +18 -14
  22. package/dist/runtime/components/agenda/AgendaTabbed.vue +21 -24
  23. package/dist/runtime/components/agenda/components/AgendaListAccordion.vue +8 -3
  24. package/dist/runtime/components/agenda/components/Calendar.vue +17 -17
  25. package/dist/runtime/components/agenda/components/Favorite.vue +7 -5
  26. package/dist/runtime/components/agenda/components/InfoLink.vue +15 -5
  27. package/dist/runtime/components/agenda/components/PlayIcon.vue +2 -4
  28. package/dist/runtime/components/agenda/components/PresentationLink.vue +16 -9
  29. package/dist/runtime/components/agenda/components/Sponsor.vue +31 -24
  30. package/dist/runtime/components/auth/PasswordReset.vue +20 -5
  31. package/dist/runtime/components/auth/Registration.vue +14 -4
  32. package/dist/runtime/components/auth/Ucc.vue +44 -27
  33. package/dist/runtime/components/chat/ChatConversationList.vue +11 -11
  34. package/dist/runtime/components/chat/ChatCreateConversation.vue +41 -47
  35. package/dist/runtime/components/chat/ChatCreateGroupConversation.vue +6 -11
  36. package/dist/runtime/components/chat/ChatHeader.vue +46 -47
  37. package/dist/runtime/components/chat/ChatShowConversation.vue +1 -2
  38. package/dist/runtime/components/chat/ChatWidget.vue +1 -26
  39. package/dist/runtime/components/chat/ChatWindow.vue +4 -61
  40. package/dist/runtime/components/chat/MessageInput.vue +1 -4
  41. package/dist/runtime/components/chat/SearchInput.vue +1 -1
  42. package/dist/runtime/components/core/Accordion.vue +11 -11
  43. package/dist/runtime/components/core/AttendeeList.vue +8 -22
  44. package/dist/runtime/components/core/CountdownTimer.vue +67 -51
  45. package/dist/runtime/components/core/DynamicHtml.vue.d.ts +6 -9
  46. package/dist/runtime/components/core/Modal.vue +3 -9
  47. package/dist/runtime/components/core/ModalButton.vue +2 -2
  48. package/dist/runtime/components/core/Navbar.vue +30 -18
  49. package/dist/runtime/components/core/Navigation.vue +22 -29
  50. package/dist/runtime/components/core/SvgIcon.vue +4 -1
  51. package/dist/runtime/components/core/VButton.vue +2 -8
  52. package/dist/runtime/components/core/ZoomModal.vue +9 -3
  53. package/dist/runtime/components/events/EventHeader.vue +14 -4
  54. package/dist/runtime/components/events/ListEvents.vue +18 -18
  55. package/dist/runtime/components/forms/Message.vue +1 -1
  56. package/dist/runtime/components/forms/SearchInput.vue +8 -2
  57. package/dist/runtime/components/forms/SelectDropDown.vue +4 -4
  58. package/dist/runtime/components/forms/SupportForm.vue +18 -7
  59. package/dist/runtime/components/forms/SwitchInput.vue +50 -30
  60. package/dist/runtime/components/forms/TextArea.vue +1 -1
  61. package/dist/runtime/components/forms/TextInput.vue +1 -1
  62. package/dist/runtime/components/layouts/Accordion.vue +9 -4
  63. package/dist/runtime/components/media/ArchivePlayerAndContentContainer.vue +4 -1
  64. package/dist/runtime/components/media/ArchiveVideoPlayer.vue +5 -17
  65. package/dist/runtime/components/media/PlayerAndContentContainer.vue +4 -1
  66. package/dist/runtime/components/media/WebcastVideoPlayer.vue +5 -17
  67. package/dist/runtime/components/media/components/AgendaPanel.vue +7 -6
  68. package/dist/runtime/components/media/components/ArchiveMediaContainer.vue +9 -7
  69. package/dist/runtime/components/media/components/CeCreditNotification.vue +6 -6
  70. package/dist/runtime/components/media/components/ContentArea.vue +8 -4
  71. package/dist/runtime/components/media/components/ContentTabs.vue +38 -26
  72. package/dist/runtime/components/media/components/DocumentsPanel.vue +17 -15
  73. package/dist/runtime/components/media/components/MediaContainer.vue +10 -8
  74. package/dist/runtime/components/media/components/OverviewPanel.vue +5 -2
  75. package/dist/runtime/components/media/components/PresentersPanel.vue +11 -11
  76. package/dist/runtime/components/media/components/SponsorsPanel.vue +10 -9
  77. package/dist/runtime/components/presenters/PresenterListing.vue +3 -5
  78. package/dist/runtime/components/presenters/Presenters.vue +8 -8
  79. package/dist/runtime/components/profile/components/SidebarNavItem.vue +1 -3
  80. package/dist/runtime/components/profile/tabs/ProfileImage.vue +7 -6
  81. package/dist/runtime/components/registration/AlreadyRegisteredModal.vue +10 -7
  82. package/dist/runtime/components/registration/PaymentForm.vue +10 -10
  83. package/dist/runtime/components/registration/RegistrationForm.vue +2 -2
  84. package/dist/runtime/components/registration/RegistrationGroupSelect.vue +11 -7
  85. package/dist/runtime/components/registration/StripePaymentForm.vue +11 -31
  86. package/dist/runtime/components/support/FAQAccordion.vue +8 -7
  87. package/dist/runtime/composables/useAdobeLaunch.d.ts +2 -7
  88. package/dist/runtime/composables/useAdobeLaunch.mjs +2 -2
  89. package/dist/runtime/composables/useAgenda.d.ts +1 -1
  90. package/dist/runtime/composables/useAgenda.mjs +28 -19
  91. package/dist/runtime/composables/useApi.d.ts +1 -1
  92. package/dist/runtime/composables/useAuth.d.ts +1 -1
  93. package/dist/runtime/composables/useClassBinding.d.ts +3 -1
  94. package/dist/runtime/composables/useConferenceHelpers.d.ts +2 -2
  95. package/dist/runtime/composables/useConferenceHelpers.mjs +11 -14
  96. package/dist/runtime/composables/useEventHooks.d.ts +6 -3
  97. package/dist/runtime/composables/useEvents.mjs +7 -9
  98. package/dist/runtime/composables/useLogin.mjs +2 -2
  99. package/dist/runtime/composables/useNavigation.d.ts +1 -1
  100. package/dist/runtime/composables/useNavigation.mjs +4 -2
  101. package/dist/runtime/composables/usePresentation.d.ts +2 -2
  102. package/dist/runtime/composables/usePresentation.mjs +7 -6
  103. package/dist/runtime/composables/usePresenter.d.ts +2 -2
  104. package/dist/runtime/composables/usePresenters.d.ts +2 -2
  105. package/dist/runtime/composables/useScripts.mjs +1 -1
  106. package/dist/runtime/composables/useStream.d.ts +2 -3
  107. package/dist/runtime/composables/useStream.mjs +1 -1
  108. package/dist/runtime/composables/useUcc.d.ts +1 -1
  109. package/dist/runtime/composables/useUcc.mjs +29 -23
  110. package/dist/runtime/models/adobeLaunch.d.ts +6 -0
  111. package/dist/runtime/models/adobeLaunch.mjs +0 -0
  112. package/dist/runtime/models/analytics.d.ts +6 -0
  113. package/dist/runtime/models/analytics.mjs +0 -0
  114. package/dist/runtime/models/attendeeList.d.ts +1 -1
  115. package/dist/runtime/models/conference.d.ts +109 -92
  116. package/dist/runtime/models/conversation.d.ts +10 -10
  117. package/dist/runtime/models/document.d.ts +5 -5
  118. package/dist/runtime/models/globalConfig.d.ts +4 -2
  119. package/dist/runtime/models/group.d.ts +18 -18
  120. package/dist/runtime/models/icons.d.ts +1 -1
  121. package/dist/runtime/models/index.d.ts +20 -0
  122. package/dist/runtime/models/index.mjs +20 -0
  123. package/dist/runtime/models/link.d.ts +4 -4
  124. package/dist/runtime/models/loginParams.d.ts +5 -0
  125. package/dist/runtime/models/loginParams.mjs +0 -0
  126. package/dist/runtime/models/navigationConfig.d.ts +7 -7
  127. package/dist/runtime/models/pagination.d.ts +11 -11
  128. package/dist/runtime/models/portal.d.ts +15 -10
  129. package/dist/runtime/models/templateConfig.d.ts +7 -7
  130. package/dist/runtime/models/ucc.d.ts +22 -0
  131. package/dist/runtime/models/ucc.mjs +0 -0
  132. package/dist/runtime/models/user.d.ts +24 -12
  133. package/dist/runtime/models/vButton.d.ts +7 -0
  134. package/dist/runtime/models/vButton.mjs +0 -0
  135. package/dist/runtime/models/video.d.ts +5 -4
  136. package/dist/runtime/models/virtualPagesConfig.d.ts +11 -123
  137. package/dist/runtime/plugin.mjs +12 -9
  138. package/dist/runtime/store/affiliates.d.ts +1 -1
  139. package/dist/runtime/store/attendeeList.d.ts +1 -1
  140. package/dist/runtime/store/auth.d.ts +3 -7
  141. package/dist/runtime/store/conferences.mjs +8 -8
  142. package/dist/runtime/store/conversations.d.ts +26 -3988
  143. package/dist/runtime/store/conversations.mjs +7 -7
  144. package/dist/runtime/store/modalPlayerConfig.d.ts +17 -488
  145. package/dist/runtime/store/modalPlayerConfig.mjs +1 -1
  146. package/dist/runtime/store/navigationConfig.d.ts +1 -1
  147. package/dist/runtime/store/presentations.d.ts +2 -2
  148. package/dist/runtime/store/templateConfigs.d.ts +6 -6
  149. package/dist/runtime/store/templateConfigs.mjs +6 -6
  150. package/dist/runtime/store/user.mjs +0 -1
  151. package/dist/runtime/v3plusCommonPlugin.d.ts +1 -1
  152. package/dist/types.d.mts +3 -2
  153. package/dist/types.d.ts +3 -2
  154. package/package.json +12 -12
  155. package/dist/runtime/components/media/components/JsonApi.vue +0 -33
  156. package/dist/runtime/components/media/components/JsonApi.vue.d.ts +0 -16
  157. package/dist/runtime/components/media/components/WindowContent.vue +0 -118
  158. package/dist/runtime/components/media/components/WindowContent.vue.d.ts +0 -50
  159. package/dist/runtime/components/media/components/WindowSlide.vue +0 -92
  160. package/dist/runtime/components/media/components/WindowSlide.vue.d.ts +0 -36
  161. package/dist/runtime/models/authUser.d.ts +0 -17
  162. /package/dist/runtime/{models/authUser.mjs → assets/scss/_footer.css} +0 -0
@@ -1,4 +1,4 @@
1
- import { Analytics } from "./analytics";
1
+ import type { Analytics } from './models/analytics';
2
2
  export type V3plusCommonPluginOptions = {
3
3
  version: string;
4
4
  portalHash: string;
package/dist/types.d.mts CHANGED
@@ -1,5 +1,6 @@
1
1
 
2
- import { ModuleOptions } from './module'
2
+ import type { ModuleOptions } from './module.js'
3
+
3
4
 
4
5
  declare module '@nuxt/schema' {
5
6
  interface NuxtConfig { ['v3plusCommonModule']?: Partial<ModuleOptions> }
@@ -12,4 +13,4 @@ declare module 'nuxt/schema' {
12
13
  }
13
14
 
14
15
 
15
- export { ConferenceState, ModuleOptions, PresentationType, default } from './module'
16
+ export type { AdobeLaunchFunctions, Affiliate, AffiliateBoothLgConfigs, AffiliateBoothMedConfigs, AffiliateBoothSmallConfigs, AgendaPlayerPageConfigs, Analytics, ArchiveContentTabsVariable, ArchivePlayerPageConfigs, AttendeeList, AttendeeListResult, AttendeesConfigs, AuditoriumConfigs, AuthUser, CeCreditConfig, Conference, ConferenceState, ContentData, Conversation, Day, Document, EntryWayConfigs, ExhibitHallConfigs, ExhibitorPageConfigs, GlobalConfig, GlobalConfigKey, GlobalConfigKeyType, GlobalElements, Group, GroupVariable, Icon, Icons, Link, LoginParams, MainPageConfigs, MeetingsConfigs, Merchant, Message, MessagesRead, Meta, MiscElements, ModuleOptions, NavigationConfig, NestedKeyOf, NetworkingConfigs, PAGE_LENGTH, Pages, PagesElements, Pagination, PlayerContentTabsVariable, PlayerObj, PlayerPresentation, Portal, Presentation, PresentationType, Presenter, PresenterPageConfigs, PresenterWithPivot, PresentersConfigs, RegistrationField, RegistrationForm, RegistrationPageConfigs, ResourcesConfigs, SettingElements, Sponsor, SponsorsPageConfigs, Spotlight1Configs, Spotlight2Configs, SpotlightConfigs, Stream, SupportPageConfigs, TemplateConfig, Track, TrackGroup, User, UsersResult, Video, VirtualGlobal, VirtualMainPageConfigs, VirtualNestedKeyOf, VirtualPages, VirtualPresentation, WebcastPageConfigs, default } from './module.js'
package/dist/types.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
 
2
- import { ModuleOptions } from './module'
2
+ import type { ModuleOptions } from './module'
3
+
3
4
 
4
5
  declare module '@nuxt/schema' {
5
6
  interface NuxtConfig { ['v3plusCommonModule']?: Partial<ModuleOptions> }
@@ -12,4 +13,4 @@ declare module 'nuxt/schema' {
12
13
  }
13
14
 
14
15
 
15
- export { ConferenceState, ModuleOptions, PresentationType, default } from './module'
16
+ export type { AdobeLaunchFunctions, Affiliate, AffiliateBoothLgConfigs, AffiliateBoothMedConfigs, AffiliateBoothSmallConfigs, AgendaPlayerPageConfigs, Analytics, ArchiveContentTabsVariable, ArchivePlayerPageConfigs, AttendeeList, AttendeeListResult, AttendeesConfigs, AuditoriumConfigs, AuthUser, CeCreditConfig, Conference, ConferenceState, ContentData, Conversation, Day, Document, EntryWayConfigs, ExhibitHallConfigs, ExhibitorPageConfigs, GlobalConfig, GlobalConfigKey, GlobalConfigKeyType, GlobalElements, Group, GroupVariable, Icon, Icons, Link, LoginParams, MainPageConfigs, MeetingsConfigs, Merchant, Message, MessagesRead, Meta, MiscElements, ModuleOptions, NavigationConfig, NestedKeyOf, NetworkingConfigs, PAGE_LENGTH, Pages, PagesElements, Pagination, PlayerContentTabsVariable, PlayerObj, PlayerPresentation, Portal, Presentation, PresentationType, Presenter, PresenterPageConfigs, PresenterWithPivot, PresentersConfigs, RegistrationField, RegistrationForm, RegistrationPageConfigs, ResourcesConfigs, SettingElements, Sponsor, SponsorsPageConfigs, Spotlight1Configs, Spotlight2Configs, SpotlightConfigs, Stream, SupportPageConfigs, TemplateConfig, Track, TrackGroup, User, UsersResult, Video, VirtualGlobal, VirtualMainPageConfigs, VirtualNestedKeyOf, VirtualPages, VirtualPresentation, WebcastPageConfigs, default } from './module'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icvdeveloper/common-module",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -24,9 +24,10 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@analytics/google-analytics": "^1.0.3",
27
- "@nuxt/kit": "^3.7.4",
28
- "@nuxtjs/tailwindcss": "^6.1.3",
27
+ "@nuxt/kit": "^3.8.0",
28
+ "@nuxtjs/tailwindcss": "^6.12.0",
29
29
  "@pinia/nuxt": "^0.3.1",
30
+ "@stripe/stripe-js": "^3.5.0",
30
31
  "@ts-pro/vue-eternal-loading": "^1.3.1",
31
32
  "@types/pusher-js": "^5.1.0",
32
33
  "@vueuse/core": "^10.9.0",
@@ -36,13 +37,12 @@
36
37
  "lodash-es": "^4.17.21",
37
38
  "luxon": "^3.2.1",
38
39
  "nprogress": "^0.2.0",
39
- "pinia": "^2.0.17",
40
+ "pinia": "^2.1.7",
40
41
  "pinia-plugin-persistedstate": "^2.1.1",
41
42
  "pusher-js": "^8.2.0",
42
- "sass": "^1.54.2",
43
- "sass-loader": "^13.0.2",
44
43
  "tailwindcss-opentype": "^1.1.0",
45
- "vite-svg-loader": "^3.4.0"
44
+ "vite-svg-loader": "^3.4.0",
45
+ "vue-stripe-js": "^1.0.2"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@nuxt/devtools": "latest",
@@ -51,16 +51,15 @@
51
51
  "@nuxt/schema": "^3.7.4",
52
52
  "@nuxt/test-utils": "^3.7.4",
53
53
  "@nuxtjs/eslint-config-typescript": "^12.0.0",
54
- "@stripe/stripe-js": "^3.5.0",
55
54
  "@tailwindcss/typography": "^0.5.4",
56
55
  "@types/lodash-es": "^4.17.7",
57
56
  "@types/luxon": "^3.3.2",
58
57
  "@types/node": "^18.18.1",
59
58
  "eslint": "^8.22.0",
60
59
  "eslint-config-prettier": "^8.5.0",
61
- "nuxt": "^3.7.4",
62
- "vitest": "^0.33.0",
63
- "vue-stripe-js": "^1.0.2"
60
+ "nuxt": "^3.10.3",
61
+ "postcss-import": "^16.1.0",
62
+ "vitest": "^0.33.0"
64
63
  },
65
64
  "description": "## Development",
66
65
  "repository": {
@@ -71,5 +70,6 @@
71
70
  "bugs": {
72
71
  "url": "https://github.com/ICVDM/v3plus-common/issues"
73
72
  },
74
- "homepage": "https://github.com/ICVDM/v3plus-common#readme"
73
+ "homepage": "https://github.com/ICVDM/v3plus-common#readme",
74
+ "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
75
75
  }
@@ -1,33 +0,0 @@
1
- <template functional></template>
2
-
3
- <script>
4
- export default {
5
- props: {
6
- url: {
7
- type: String,
8
- required: true
9
- },
10
- ajaxLoadingOptions: () => {
11
- return {
12
- progress: false,
13
- transformRequest: (data, headers) => {
14
- delete headers.common['Authorization'];
15
- return data;
16
- }
17
- };
18
- }
19
- },
20
- methods: {
21
- getData() {
22
- this.$axios
23
- .get(url, this.ajaxLoadingOptions)
24
- .then(response => {
25
- this.$emit("data", response);
26
- })
27
- .catch(e => {
28
- console.log("JSON does not exists.", e);
29
- });
30
- }
31
- }
32
- };
33
- </script>
@@ -1,16 +0,0 @@
1
- declare namespace _default {
2
- namespace props {
3
- namespace url {
4
- let type: StringConstructor;
5
- let required: boolean;
6
- }
7
- function ajaxLoadingOptions(): {
8
- progress: boolean;
9
- transformRequest: (data: any, headers: any) => any;
10
- };
11
- }
12
- namespace methods {
13
- function getData(): void;
14
- }
15
- }
16
- export default _default;
@@ -1,118 +0,0 @@
1
- <template>
2
- <vue-draggable-resizable
3
- :w="startSize.width"
4
- :h="startSize.height"
5
- :x="startPosition.x"
6
- :y="startPosition.y"
7
- :min-width="200"
8
- :min-height="200"
9
- :z="zIndex"
10
- :active="true"
11
- class-name="pop-window"
12
- class-name-active="pop-window-active"
13
- @activated="onActivated"
14
- @deactivated="onDeActivated"
15
- class="bg-white shadow-lg cursor-move"
16
- >
17
- <div :style="overlayStyle" class="expand-overlay">
18
- <a @click.prevent="closeClick">
19
- <i class="fas fa-compress-arrows-alt"></i>
20
- </a>
21
- </div>
22
-
23
- <div class="outer-container max-h-full p-1">
24
- <content-area class="h-auto max-h-full" :current-presentation="currentPresentation"></content-area>
25
- </div>
26
- </vue-draggable-resizable>
27
- </template>
28
-
29
- <script>
30
- import Vue from "vue";
31
- import VueDraggableResizable from "vue-draggable-resizable";
32
- import "vue-draggable-resizable/dist/VueDraggableResizable.css";
33
-
34
- import ContentTabs from "./ContentTabs";
35
- import ContentArea from "./ContentArea";
36
-
37
- Vue.component("vue-draggable-resizable", VueDraggableResizable);
38
-
39
- export default {
40
- components: {
41
- ContentTabs,
42
- ContentArea
43
- },
44
- data() {
45
- return {
46
- zIndex: 300,
47
- active: true
48
- };
49
- },
50
- props: {
51
- tabArray: {
52
- type: Array,
53
- default: []
54
- },
55
- startSize: {
56
- type: Object,
57
- default: () => {
58
- return { width: 640, height: 480 };
59
- }
60
- },
61
- startPosition: {
62
- type: Object,
63
- default: () => {
64
- return { x: 0, y: 0 };
65
- }
66
- },
67
- currentPresentation: {
68
- type: Object,
69
- default: () => {
70
- return {};
71
- }
72
- }
73
- },
74
- computed: {
75
- overlayStyle() {
76
- return this.active ? "opacity: .7;" : "opacity: 0";
77
- }
78
- },
79
- methods: {
80
- closeClick(e) {
81
- this.$emit("closeClick", this);
82
- },
83
- onActivated(e) {
84
- this.zIndex = 500;
85
- this.active = true;
86
- },
87
- onDeActivated(e) {
88
- this.zIndex = 100;
89
- this.active = false;
90
- }
91
- }
92
- };
93
- </script>
94
-
95
- <style scoped>
96
- .outer-container {
97
- position: relative;
98
- overflow: auto;
99
- }
100
-
101
- .expand-overlay {
102
- display: block;
103
- font-size: 1em;
104
- line-height: 1em;
105
- opacity: 0;
106
- width: 50px;
107
- height: 50px;
108
- top: -30px;
109
- right: 0;
110
- z-index: 100;
111
- position: absolute;
112
- transition: 0.6s ease;
113
- text-align: right;
114
- }
115
- .expand-overlay:hover {
116
- opacity: 0.7 !important;
117
- }
118
- </style>
@@ -1,50 +0,0 @@
1
- declare namespace _default {
2
- namespace components {
3
- export { ContentTabs };
4
- export { ContentArea };
5
- }
6
- function data(): {
7
- zIndex: number;
8
- active: boolean;
9
- };
10
- namespace props {
11
- namespace tabArray {
12
- export let type: ArrayConstructor;
13
- let _default: never[];
14
- export { _default as default };
15
- }
16
- namespace startSize {
17
- let type_1: ObjectConstructor;
18
- export { type_1 as type };
19
- function _default_1(): {
20
- width: number;
21
- height: number;
22
- };
23
- export { _default_1 as default };
24
- }
25
- namespace startPosition {
26
- let type_2: ObjectConstructor;
27
- export { type_2 as type };
28
- function _default_2(): {
29
- x: number;
30
- y: number;
31
- };
32
- export { _default_2 as default };
33
- }
34
- namespace currentPresentation {
35
- let type_3: ObjectConstructor;
36
- export { type_3 as type };
37
- function _default_3(): {};
38
- export { _default_3 as default };
39
- }
40
- }
41
- namespace computed {
42
- function overlayStyle(): "opacity: .7;" | "opacity: 0";
43
- }
44
- namespace methods {
45
- function closeClick(e: any): void;
46
- function onActivated(e: any): void;
47
- function onDeActivated(e: any): void;
48
- }
49
- }
50
- export default _default;
@@ -1,92 +0,0 @@
1
- <template>
2
- <vue-draggable-resizable
3
- :w="startSize.width"
4
- :h="startSize.height"
5
- :x="startPosition.x"
6
- :y="startPosition.y"
7
- :handles="['tl','tr','br','bl']"
8
- :min-width="200"
9
- :lock-aspect-ratio="true"
10
- :z="zIndex"
11
- :active="true"
12
- class-name="pop-window"
13
- class-name-active="pop-window-active"
14
- @activated="onActivated"
15
- @deactivated="onDeActivated"
16
- class="bg-white shadow-lg cursor-move"
17
- >
18
- <div>
19
- <div class="expand-overlay">
20
- <a @click.prevent="closeClick">
21
- <i class="fas fa-compress-arrows-alt"></i>
22
- </a>
23
- </div>
24
-
25
- <img :src="slide" class="w-full h-auto max-h-full" />
26
- </div>
27
- </vue-draggable-resizable>
28
- </template>
29
-
30
- <script>
31
- import Vue from "vue";
32
- import VueDraggableResizable from "vue-draggable-resizable";
33
- import "vue-draggable-resizable/dist/VueDraggableResizable.css";
34
-
35
- Vue.component("vue-draggable-resizable", VueDraggableResizable);
36
-
37
- export default {
38
- data() {
39
- return {
40
- zIndex: 200
41
- };
42
- },
43
- props: {
44
- slide: {
45
- type: String,
46
- default: ""
47
- },
48
- startSize: {
49
- type: Object,
50
- default: () => {
51
- return { width: 640, height: 480 };
52
- }
53
- },
54
- startPosition: {
55
- type: Object,
56
- default: () => {
57
- return { width: 0, height: 0 };
58
- }
59
- }
60
- },
61
- methods: {
62
- closeClick(e) {
63
- this.$emit("closeClick", this);
64
- },
65
- onActivated(e) {
66
- this.zIndex = 500;
67
- },
68
- onDeActivated(e) {
69
- this.zIndex = 100;
70
- }
71
- }
72
- };
73
- </script>
74
-
75
- <style scoped>
76
- .expand-overlay {
77
- @apply p-2;
78
- display: block;
79
- font-size: 1em;
80
- line-height: 1em;
81
- opacity: 0;
82
- width: 100%;
83
- height: 100%;
84
- z-index: 100;
85
- position: absolute;
86
- transition: 0.6s ease;
87
- text-align: right;
88
- }
89
- .expand-overlay:hover {
90
- opacity: 0.7;
91
- }
92
- </style>
@@ -1,36 +0,0 @@
1
- declare namespace _default {
2
- function data(): {
3
- zIndex: number;
4
- };
5
- namespace props {
6
- namespace slide {
7
- export let type: StringConstructor;
8
- let _default: string;
9
- export { _default as default };
10
- }
11
- namespace startSize {
12
- let type_1: ObjectConstructor;
13
- export { type_1 as type };
14
- function _default_1(): {
15
- width: number;
16
- height: number;
17
- };
18
- export { _default_1 as default };
19
- }
20
- namespace startPosition {
21
- let type_2: ObjectConstructor;
22
- export { type_2 as type };
23
- function _default_2(): {
24
- width: number;
25
- height: number;
26
- };
27
- export { _default_2 as default };
28
- }
29
- }
30
- namespace methods {
31
- function closeClick(e: any): void;
32
- function onActivated(e: any): void;
33
- function onDeActivated(e: any): void;
34
- }
35
- }
36
- export default _default;
@@ -1,17 +0,0 @@
1
- export type AuthUser = {
2
- uid?: string;
3
- id?: string;
4
- email?: string;
5
- name?: string;
6
- uuid?: string;
7
- company?: string | null;
8
- linkedin_url?: string | null;
9
- twitter_url?: string | null;
10
- online?: boolean;
11
- profile_image?: string | null;
12
- title?: string | null;
13
- video_chat?: boolean | null;
14
- token?: string;
15
- expires_at?: string;
16
- token_type?: string;
17
- };