@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.
- package/CHANGELOG.md +2 -0
- package/dist/module.d.mts +1051 -2
- package/dist/module.d.ts +1051 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +21 -17
- package/dist/runtime/analytics.d.ts +1 -6
- package/dist/runtime/assets/scss/_agenda.css +1 -0
- package/dist/runtime/assets/scss/_animations.css +1 -0
- package/dist/runtime/assets/scss/_container_variants.css +1 -0
- package/dist/runtime/assets/scss/_custom.css +3 -0
- package/dist/runtime/assets/scss/_forms.css +1 -0
- package/dist/runtime/assets/scss/_header.css +0 -0
- package/dist/runtime/assets/scss/_index_production.css +1 -0
- package/dist/runtime/assets/scss/_transitions.css +1 -0
- package/dist/runtime/assets/scss/_variables.css +1 -0
- package/dist/runtime/assets/scss/_variables2.css +0 -0
- package/dist/runtime/assets/scss/_webcast.css +1 -0
- package/dist/runtime/assets/scss/index.css +1 -0
- package/dist/runtime/components/affiliates/AffiliateModal.vue +1 -1
- package/dist/runtime/components/affiliates/AffiliatePage.vue +70 -105
- package/dist/runtime/components/agenda/AgendaList.vue +18 -14
- package/dist/runtime/components/agenda/AgendaTabbed.vue +21 -24
- package/dist/runtime/components/agenda/components/AgendaListAccordion.vue +8 -3
- package/dist/runtime/components/agenda/components/Calendar.vue +17 -17
- package/dist/runtime/components/agenda/components/Favorite.vue +7 -5
- package/dist/runtime/components/agenda/components/InfoLink.vue +15 -5
- package/dist/runtime/components/agenda/components/PlayIcon.vue +2 -4
- package/dist/runtime/components/agenda/components/PresentationLink.vue +16 -9
- package/dist/runtime/components/agenda/components/Sponsor.vue +31 -24
- package/dist/runtime/components/auth/PasswordReset.vue +20 -5
- package/dist/runtime/components/auth/Registration.vue +14 -4
- package/dist/runtime/components/auth/Ucc.vue +44 -27
- package/dist/runtime/components/chat/ChatConversationList.vue +11 -11
- package/dist/runtime/components/chat/ChatCreateConversation.vue +41 -47
- package/dist/runtime/components/chat/ChatCreateGroupConversation.vue +6 -11
- package/dist/runtime/components/chat/ChatHeader.vue +46 -47
- package/dist/runtime/components/chat/ChatShowConversation.vue +1 -2
- package/dist/runtime/components/chat/ChatWidget.vue +1 -26
- package/dist/runtime/components/chat/ChatWindow.vue +4 -61
- package/dist/runtime/components/chat/MessageInput.vue +1 -4
- package/dist/runtime/components/chat/SearchInput.vue +1 -1
- package/dist/runtime/components/core/Accordion.vue +11 -11
- package/dist/runtime/components/core/AttendeeList.vue +8 -22
- package/dist/runtime/components/core/CountdownTimer.vue +67 -51
- package/dist/runtime/components/core/DynamicHtml.vue.d.ts +6 -9
- package/dist/runtime/components/core/Modal.vue +3 -9
- package/dist/runtime/components/core/ModalButton.vue +2 -2
- package/dist/runtime/components/core/Navbar.vue +30 -18
- package/dist/runtime/components/core/Navigation.vue +22 -29
- package/dist/runtime/components/core/SvgIcon.vue +4 -1
- package/dist/runtime/components/core/VButton.vue +2 -8
- package/dist/runtime/components/core/ZoomModal.vue +9 -3
- package/dist/runtime/components/events/EventHeader.vue +14 -4
- package/dist/runtime/components/events/ListEvents.vue +18 -18
- package/dist/runtime/components/forms/Message.vue +1 -1
- package/dist/runtime/components/forms/SearchInput.vue +8 -2
- package/dist/runtime/components/forms/SelectDropDown.vue +4 -4
- package/dist/runtime/components/forms/SupportForm.vue +18 -7
- package/dist/runtime/components/forms/SwitchInput.vue +50 -30
- package/dist/runtime/components/forms/TextArea.vue +1 -1
- package/dist/runtime/components/forms/TextInput.vue +1 -1
- package/dist/runtime/components/layouts/Accordion.vue +9 -4
- package/dist/runtime/components/media/ArchivePlayerAndContentContainer.vue +4 -1
- package/dist/runtime/components/media/ArchiveVideoPlayer.vue +5 -17
- package/dist/runtime/components/media/PlayerAndContentContainer.vue +4 -1
- package/dist/runtime/components/media/WebcastVideoPlayer.vue +5 -17
- package/dist/runtime/components/media/components/AgendaPanel.vue +7 -6
- package/dist/runtime/components/media/components/ArchiveMediaContainer.vue +9 -7
- package/dist/runtime/components/media/components/CeCreditNotification.vue +6 -6
- package/dist/runtime/components/media/components/ContentArea.vue +8 -4
- package/dist/runtime/components/media/components/ContentTabs.vue +38 -26
- package/dist/runtime/components/media/components/DocumentsPanel.vue +17 -15
- package/dist/runtime/components/media/components/MediaContainer.vue +10 -8
- package/dist/runtime/components/media/components/OverviewPanel.vue +5 -2
- package/dist/runtime/components/media/components/PresentersPanel.vue +11 -11
- package/dist/runtime/components/media/components/SponsorsPanel.vue +10 -9
- package/dist/runtime/components/presenters/PresenterListing.vue +3 -5
- package/dist/runtime/components/presenters/Presenters.vue +8 -8
- package/dist/runtime/components/profile/components/SidebarNavItem.vue +1 -3
- package/dist/runtime/components/profile/tabs/ProfileImage.vue +7 -6
- package/dist/runtime/components/registration/AlreadyRegisteredModal.vue +10 -7
- package/dist/runtime/components/registration/PaymentForm.vue +10 -10
- package/dist/runtime/components/registration/RegistrationForm.vue +2 -2
- package/dist/runtime/components/registration/RegistrationGroupSelect.vue +11 -7
- package/dist/runtime/components/registration/StripePaymentForm.vue +11 -31
- package/dist/runtime/components/support/FAQAccordion.vue +8 -7
- package/dist/runtime/composables/useAdobeLaunch.d.ts +2 -7
- package/dist/runtime/composables/useAdobeLaunch.mjs +2 -2
- package/dist/runtime/composables/useAgenda.d.ts +1 -1
- package/dist/runtime/composables/useAgenda.mjs +28 -19
- package/dist/runtime/composables/useApi.d.ts +1 -1
- package/dist/runtime/composables/useAuth.d.ts +1 -1
- package/dist/runtime/composables/useClassBinding.d.ts +3 -1
- package/dist/runtime/composables/useConferenceHelpers.d.ts +2 -2
- package/dist/runtime/composables/useConferenceHelpers.mjs +11 -14
- package/dist/runtime/composables/useEventHooks.d.ts +6 -3
- package/dist/runtime/composables/useEvents.mjs +7 -9
- package/dist/runtime/composables/useLogin.mjs +2 -2
- package/dist/runtime/composables/useNavigation.d.ts +1 -1
- package/dist/runtime/composables/useNavigation.mjs +4 -2
- package/dist/runtime/composables/usePresentation.d.ts +2 -2
- package/dist/runtime/composables/usePresentation.mjs +7 -6
- package/dist/runtime/composables/usePresenter.d.ts +2 -2
- package/dist/runtime/composables/usePresenters.d.ts +2 -2
- package/dist/runtime/composables/useScripts.mjs +1 -1
- package/dist/runtime/composables/useStream.d.ts +2 -3
- package/dist/runtime/composables/useStream.mjs +1 -1
- package/dist/runtime/composables/useUcc.d.ts +1 -1
- package/dist/runtime/composables/useUcc.mjs +29 -23
- package/dist/runtime/models/adobeLaunch.d.ts +6 -0
- package/dist/runtime/models/adobeLaunch.mjs +0 -0
- package/dist/runtime/models/analytics.d.ts +6 -0
- package/dist/runtime/models/analytics.mjs +0 -0
- package/dist/runtime/models/attendeeList.d.ts +1 -1
- package/dist/runtime/models/conference.d.ts +109 -92
- package/dist/runtime/models/conversation.d.ts +10 -10
- package/dist/runtime/models/document.d.ts +5 -5
- package/dist/runtime/models/globalConfig.d.ts +4 -2
- package/dist/runtime/models/group.d.ts +18 -18
- package/dist/runtime/models/icons.d.ts +1 -1
- package/dist/runtime/models/index.d.ts +20 -0
- package/dist/runtime/models/index.mjs +20 -0
- package/dist/runtime/models/link.d.ts +4 -4
- package/dist/runtime/models/loginParams.d.ts +5 -0
- package/dist/runtime/models/loginParams.mjs +0 -0
- package/dist/runtime/models/navigationConfig.d.ts +7 -7
- package/dist/runtime/models/pagination.d.ts +11 -11
- package/dist/runtime/models/portal.d.ts +15 -10
- package/dist/runtime/models/templateConfig.d.ts +7 -7
- package/dist/runtime/models/ucc.d.ts +22 -0
- package/dist/runtime/models/ucc.mjs +0 -0
- package/dist/runtime/models/user.d.ts +24 -12
- package/dist/runtime/models/vButton.d.ts +7 -0
- package/dist/runtime/models/vButton.mjs +0 -0
- package/dist/runtime/models/video.d.ts +5 -4
- package/dist/runtime/models/virtualPagesConfig.d.ts +11 -123
- package/dist/runtime/plugin.mjs +12 -9
- package/dist/runtime/store/affiliates.d.ts +1 -1
- package/dist/runtime/store/attendeeList.d.ts +1 -1
- package/dist/runtime/store/auth.d.ts +3 -7
- package/dist/runtime/store/conferences.mjs +8 -8
- package/dist/runtime/store/conversations.d.ts +26 -3988
- package/dist/runtime/store/conversations.mjs +7 -7
- package/dist/runtime/store/modalPlayerConfig.d.ts +17 -488
- package/dist/runtime/store/modalPlayerConfig.mjs +1 -1
- package/dist/runtime/store/navigationConfig.d.ts +1 -1
- package/dist/runtime/store/presentations.d.ts +2 -2
- package/dist/runtime/store/templateConfigs.d.ts +6 -6
- package/dist/runtime/store/templateConfigs.mjs +6 -6
- package/dist/runtime/store/user.mjs +0 -1
- package/dist/runtime/v3plusCommonPlugin.d.ts +1 -1
- package/dist/types.d.mts +3 -2
- package/dist/types.d.ts +3 -2
- package/package.json +12 -12
- package/dist/runtime/components/media/components/JsonApi.vue +0 -33
- package/dist/runtime/components/media/components/JsonApi.vue.d.ts +0 -16
- package/dist/runtime/components/media/components/WindowContent.vue +0 -118
- package/dist/runtime/components/media/components/WindowContent.vue.d.ts +0 -50
- package/dist/runtime/components/media/components/WindowSlide.vue +0 -92
- package/dist/runtime/components/media/components/WindowSlide.vue.d.ts +0 -36
- package/dist/runtime/models/authUser.d.ts +0 -17
- /package/dist/runtime/{models/authUser.mjs → assets/scss/_footer.css} +0 -0
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.
|
|
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.
|
|
28
|
-
"@nuxtjs/tailwindcss": "^6.
|
|
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.
|
|
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.
|
|
62
|
-
"
|
|
63
|
-
"
|
|
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
|
-
};
|
|
File without changes
|