@yoobic/yobi 7.7.85 → 7.7.89
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/cjs/index.cjs.js +2 -1
- package/dist/cjs/{video-player-helpers-07afe78c.js → video-player-helpers-658b4a9a.js} +17 -5
- package/dist/cjs/yoo-ag-grid_96.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-videoplayer.cjs.entry.js +1 -1
- package/dist/cjs/yoo-section-list.cjs.entry.js +2 -2
- package/dist/cjs/yoo-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/yoo-videoplayer-dailymotion.cjs.entry.js +1 -1
- package/dist/cjs/yoo-videoplayer-videojs.cjs.entry.js +1 -1
- package/dist/cjs/yoo-videoplayer-vimeo.cjs.entry.js +1 -1
- package/dist/cjs/yoo-videoplayer-youtube.cjs.entry.js +1 -1
- package/dist/collection/components/app/user-profile/user-profile.css +1 -1
- package/dist/collection/components/app-boost/section-list/section-list.js +2 -2
- package/dist/collection/components/form/form-dynamic/form-dynamic.js +1 -1
- package/dist/collection/utils/helpers/video-player-helpers.js +16 -5
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/{p-d51ee577.entry.js → p-260a81e6.entry.js} +1 -1
- package/dist/design-system/{p-31736d7d.entry.js → p-41e155f7.entry.js} +1 -1
- package/dist/design-system/p-497f00b1.entry.js +1 -0
- package/dist/design-system/{p-ae197453.entry.js → p-6504133f.entry.js} +1 -1
- package/dist/design-system/{p-71cca219.entry.js → p-671b34db.entry.js} +1 -1
- package/dist/design-system/{p-2c1dff83.entry.js → p-a69dcdaf.entry.js} +1 -1
- package/dist/design-system/p-b289eb9a.js +1 -0
- package/dist/design-system/{p-50fdc9f2.entry.js → p-d2d9ca4d.entry.js} +1 -1
- package/dist/design-system/{p-eef60f76.entry.js → p-fb884de6.entry.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{video-player-helpers-cd3527ae.js → video-player-helpers-866ceaa0.js} +17 -6
- package/dist/esm/yoo-ag-grid_96.entry.js +1 -1
- package/dist/esm/yoo-form-videoplayer.entry.js +1 -1
- package/dist/esm/yoo-section-list.entry.js +2 -2
- package/dist/esm/yoo-user-profile.entry.js +1 -1
- package/dist/esm/yoo-videoplayer-dailymotion.entry.js +1 -1
- package/dist/esm/yoo-videoplayer-videojs.entry.js +1 -1
- package/dist/esm/yoo-videoplayer-vimeo.entry.js +1 -1
- package/dist/esm/yoo-videoplayer-youtube.entry.js +1 -1
- package/dist/types/utils/helpers/video-player-helpers.d.ts +1 -0
- package/package.json +1 -1
- package/dist/design-system/p-46c2f5f9.js +0 -1
- package/dist/design-system/p-577f31e4.entry.js +0 -1
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -28,7 +28,7 @@ const mapHelpers = require('./map-helpers-021bd715.js');
|
|
|
28
28
|
const observerHelpers = require('./observer-helpers-b02f15af.js');
|
|
29
29
|
const openingHoursHelpers = require('./opening-hours-helpers-bc0712b1.js');
|
|
30
30
|
const operationHelpers = require('./operation-helpers-131a9c24.js');
|
|
31
|
-
const videoPlayerHelpers = require('./video-player-helpers-
|
|
31
|
+
const videoPlayerHelpers = require('./video-player-helpers-658b4a9a.js');
|
|
32
32
|
const frameworkDelegate = require('./framework-delegate-cd1dd95f.js');
|
|
33
33
|
const overlays = require('./overlays-27cf91fb.js');
|
|
34
34
|
const theme = require('./theme-e757b365.js');
|
|
@@ -307,6 +307,7 @@ exports.getWaitlistVisitTags = operationHelpers.getWaitlistVisitTags;
|
|
|
307
307
|
exports.getWorkflowStepBadge = operationHelpers.getWorkflowStepBadge;
|
|
308
308
|
exports.LANGUAGES_DATA = videoPlayerHelpers.LANGUAGES_DATA;
|
|
309
309
|
exports.fixVideoSource = videoPlayerHelpers.fixVideoSource;
|
|
310
|
+
exports.fixVimeoSource = videoPlayerHelpers.fixVimeoSource;
|
|
310
311
|
exports.getDailymotionPlayerAPI = videoPlayerHelpers.getDailymotionPlayerAPI;
|
|
311
312
|
exports.getSourceType = videoPlayerHelpers.getSourceType;
|
|
312
313
|
exports.getVideoId = videoPlayerHelpers.getVideoId;
|
|
@@ -51,7 +51,7 @@ function isNumeric(item) {
|
|
|
51
51
|
function fixVideoSource(field) {
|
|
52
52
|
const source = field.url || field.value || field.videoData || '';
|
|
53
53
|
const arr = !field.videoData && source.split('/');
|
|
54
|
-
|
|
54
|
+
const videoId = arr && arr[arr.length - 1];
|
|
55
55
|
let newSource = source;
|
|
56
56
|
if (field.videoData) {
|
|
57
57
|
newSource = rrule.isFile(field.videoData) ? URL.createObjectURL(field.videoData) : field.videoData;
|
|
@@ -63,13 +63,24 @@ function fixVideoSource(field) {
|
|
|
63
63
|
newSource = 'https://www.dailymotion.com/embed/video/' + videoId;
|
|
64
64
|
}
|
|
65
65
|
if (videoPlayerHelpers.isVimeoSource(newSource)) {
|
|
66
|
-
|
|
67
|
-
videoId = arr[arr.length - 2];
|
|
68
|
-
}
|
|
69
|
-
newSource = 'https://player.vimeo.com/video/' + videoId;
|
|
66
|
+
return fixVimeoSource(newSource);
|
|
70
67
|
}
|
|
71
68
|
return newSource;
|
|
72
69
|
}
|
|
70
|
+
function fixVimeoSource(source) {
|
|
71
|
+
const arr = source === null || source === void 0 ? void 0 : source.split('/');
|
|
72
|
+
const lastItem = arr === null || arr === void 0 ? void 0 : arr[arr.length - 1];
|
|
73
|
+
const secondLastItem = arr === null || arr === void 0 ? void 0 : arr[arr.length - 2];
|
|
74
|
+
const URL_PREFIX = 'https://player.vimeo.com/video/';
|
|
75
|
+
const MIN_VIDEO_ID_LENGTH = 3;
|
|
76
|
+
if (isNumeric(lastItem)) {
|
|
77
|
+
return `${URL_PREFIX}${lastItem}`;
|
|
78
|
+
}
|
|
79
|
+
else if (!(source === null || source === void 0 ? void 0 : source.includes('player.vimeo.com')) && isNumeric(secondLastItem) && (secondLastItem === null || secondLastItem === void 0 ? void 0 : secondLastItem.length) > MIN_VIDEO_ID_LENGTH) {
|
|
80
|
+
return `${URL_PREFIX}${secondLastItem}?h=${lastItem}`;
|
|
81
|
+
}
|
|
82
|
+
return source;
|
|
83
|
+
}
|
|
73
84
|
function openVideoPlayerInModal(type, coreParams, modalParams) {
|
|
74
85
|
const videoModal = document.createElement('yoo-videoplayer-core');
|
|
75
86
|
const videoPlayerCoreParameters = Object.assign({ fullscreen: false, controls: true }, coreParams);
|
|
@@ -205,6 +216,7 @@ function getVideoSubtitlesFromFiles(files) {
|
|
|
205
216
|
|
|
206
217
|
exports.LANGUAGES_DATA = LANGUAGES_DATA;
|
|
207
218
|
exports.fixVideoSource = fixVideoSource;
|
|
219
|
+
exports.fixVimeoSource = fixVimeoSource;
|
|
208
220
|
exports.getDailymotionPlayerAPI = getDailymotionPlayerAPI;
|
|
209
221
|
exports.getSourceType = getSourceType;
|
|
210
222
|
exports.getVideoId = getVideoId;
|
|
@@ -126098,7 +126098,7 @@ const YooFormDynamicComponent = class {
|
|
|
126098
126098
|
if (this.isPdf && renderSlideTitle) {
|
|
126099
126099
|
const pdfClass = {
|
|
126100
126100
|
'pdf-field-wrapper': true,
|
|
126101
|
-
break: isPdfMultiplePhotos ||
|
|
126101
|
+
break: isPdfMultiplePhotos || [inputBar_interface.FormFieldType.selectbuttons].includes(field === null || field === void 0 ? void 0 : field.type),
|
|
126102
126102
|
[fieldClass]: !!fieldClass
|
|
126103
126103
|
};
|
|
126104
126104
|
return index.h("div", { class: pdfClass, style: fieldStyle }, fieldContent());
|
|
@@ -6,7 +6,7 @@ const index = require('./index-fd52e687.js');
|
|
|
6
6
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
7
7
|
require('./input-bar.interface-b96b7107.js');
|
|
8
8
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
9
|
-
const videoPlayerHelpers = require('./video-player-helpers-
|
|
9
|
+
const videoPlayerHelpers = require('./video-player-helpers-658b4a9a.js');
|
|
10
10
|
require('./isUndefined-8f9cfd10.js');
|
|
11
11
|
require('./isNumber-4c1ace60.js');
|
|
12
12
|
require('./video-player-helpers-a6d263f8.js');
|
|
@@ -452,7 +452,7 @@ const YooSectionListComponent = class {
|
|
|
452
452
|
}
|
|
453
453
|
renderSectionItem(item) {
|
|
454
454
|
let checkboxRef;
|
|
455
|
-
return (index.h("div", { class: "item selectable", onMouseEnter: this.getItemMouseEnterAction(), onMouseLeave: this.getItemMouseLeaveAction() }, index.h("div", { class: "checkbox", ref: (el) => checkboxRef = el }, !this.disableBatchActions && this.isOwner && item.isSelectable !== false && index.h("yoo-form-checkbox", { onInputChanged: (ev) => this.onCheckboxClicked(ev, item, checkboxRef) })), index.h("div", { class: "item-container", onClick: () => this.itemClicked.emit(item) }, index.h("div", { class: "title-container" }, item.user && index.h("yoo-avatars", { layout: "list", users: [item.user], size: "small" }), item.title && index.h("div", { class: "title" }, index.h("yoo-truncate", { innerHTML: rrule.translateMulti(item.title) })), item.text && index.h("div", { class: "description" }, index.h("yoo-truncate", null, rrule.translateMulti(item.text)))), index.h("div", { class: "info-container" }, item.columns && item.columns.map((column) => this.renderSectionItemColumn(column))), !this.disableSortable && !this.isReadonly && index.h("div", { class: "draggable" }, index.h("yoo-icon", { name: "draggable", color: "text-color", size: "medium" })), (this.isPublisher || this.isViewer) && this.countSuffix === 'lessons' ? this.renderViewerPublisherActions() : this.renderItemActions(item))));
|
|
455
|
+
return (index.h("div", { class: "item selectable", onMouseEnter: this.getItemMouseEnterAction(), onMouseLeave: this.getItemMouseLeaveAction() }, index.h("div", { class: "checkbox", ref: (el) => checkboxRef = el }, !this.disableBatchActions && this.isOwner && item.isSelectable !== false && index.h("yoo-form-checkbox", { onInputChanged: (ev) => this.onCheckboxClicked(ev, item, checkboxRef) })), index.h("div", { class: "item-container", onClick: () => this.itemClicked.emit(item) }, index.h("div", { class: "title-container" }, item.user && index.h("yoo-avatars", { layout: "list", users: [item.user], size: "small" }), item.title && index.h("div", { class: "title" }, index.h("yoo-truncate", { innerHTML: rrule.translateMulti(item.title) })), item.text && index.h("div", { class: "description" }, index.h("yoo-truncate", null, rrule.translateMulti(item.text)))), index.h("div", { class: "info-container" }, item.columns && item.columns.map((column) => this.renderSectionItemColumn(column))), !this.disableSortable && !this.isReadonly && index.h("div", { class: "draggable" }, index.h("yoo-icon", { name: "draggable", color: "text-color", size: "medium" })), !this.isOwner && (this.isPublisher || this.isViewer) && this.countSuffix === 'lessons' ? this.renderViewerPublisherActions() : this.renderItemActions(item))));
|
|
456
456
|
}
|
|
457
457
|
renderSectionItemColumn(column) {
|
|
458
458
|
return (index.h("div", { class: "column" }, column.icon && index.h("yoo-icon", { name: column.icon, size: "small" }), index.h("div", { class: "value" }, rrule.translate(column.value))));
|
|
@@ -464,7 +464,7 @@ const YooSectionListComponent = class {
|
|
|
464
464
|
if (!this.itemActions || !this.itemActions.length) {
|
|
465
465
|
return;
|
|
466
466
|
}
|
|
467
|
-
const actions = this.itemActions.map((action) => (Object.assign(Object.assign({}, action), { handler: () => action.handler(i), isVisible: () => (action === null || action === void 0 ? void 0 : action.visible) ? action.visible() : true })));
|
|
467
|
+
const actions = this.itemActions.map((action) => (Object.assign(Object.assign({}, action), { handler: () => action.handler(i), isVisible: () => (action === null || action === void 0 ? void 0 : action.visible) ? action.visible(i) : true })));
|
|
468
468
|
return (index.h("div", { class: "item-actions" }, index.h("yoo-context-menu", { contentButtons: actions, placement: "below" }, index.h("yoo-button", { disabled: this.isViewer && this.countSuffix === 'users' ? true : false, size: "medium" }, index.h("yoo-icon", { size: "small", name: "more", color: "stable" })))));
|
|
469
469
|
}
|
|
470
470
|
render() {
|
|
@@ -36,7 +36,7 @@ require('./button-helpers-cd9d42c6.js');
|
|
|
36
36
|
require('./entities-helpers-e377d30b.js');
|
|
37
37
|
require('./url-helpers-a53b3ff9.js');
|
|
38
38
|
|
|
39
|
-
const userProfileCss = ":root{--ease-in-back:cubic-bezier(0.36, 0, 0.66, -0.56);--ease-in-circ:cubic-bezier(0.55, 0, 1, 0.45);--ease-in-cubic:cubic-bezier(0.32, 0, 0.67, 0);--ease-in-expo:cubic-bezier(0.7, 0, 0.84, 0);--ease-in-quad:cubic-bezier(0.11, 0, 0.5, 0);--ease-in-quart:cubic-bezier(0.5, 0, 0.75, 0);--ease-in-quint:cubic-bezier(0.64, 0, 0.78, 0);--ease-in-sine:cubic-bezier(0.12, 0, 0.39, 0);--ease-out-back:cubic-bezier(0.34, 1.56, 0.64, 1);--ease-out-circ:cubic-bezier(0, 0.55, 0.45, 1);--ease-out-cubic:cubic-bezier(0.33, 1, 0.68, 1);--ease-out-expo:cubic-bezier(0.16, 1, 0.3, 1);--ease-out-quad:cubic-bezier(0.5, 1, 0.89, 1);--ease-out-quart:cubic-bezier(0.25, 1, 0.5, 1);--ease-out-quint:cubic-bezier(0.22, 1, 0.36, 1);--ease-out-sine:cubic-bezier(0.61, 1, 0.88, 1);--ease-in-out-back:cubic-bezier(0.68, -0.6, 0.32, 1.6);--ease-in-out-circ:cubic-bezier(0.85, 0, 0.15, 1);--ease-in-out-cubic:cubic-bezier(0.65, 0, 0.35, 1);--ease-in-out-expo:cubic-bezier(0.87, 0, 0.13, 1);--ease-in-out-quad:cubic-bezier(0.45, 0, 0.55, 1);--ease-in-out-quart:cubic-bezier(0.76, 0, 0.24, 1);--ease-in-out-quint:cubic-bezier(0.83, 0, 0.17, 1);--ease-in-out-sine:cubic-bezier(0.37, 0, 0.63, 1)}.tippy-box,.tippy-popper{white-space:pre-wrap}.tippy-box .tippy-tooltip,.tippy-popper .tippy-tooltip{padding:var(--spacing-02, 0.125rem)}.tippy-box{-webkit-box-shadow:var(--shadow-03, 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1));box-shadow:var(--shadow-03, 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1))}.tippy-box .tippy-content.editable{padding:0}.tippy-box .tippy-content .flex{display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around}.tippy-box .tippy-content .hidden{display:none}.tippy-box .tippy-content .editable-content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;color:var(--dark, #000000)}.tippy-box .tippy-content .editable-content .text-content{min-width:5rem;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.tippy-box .tippy-content .editable-content .text-content>div{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.tippy-box .tippy-content .editable-content.readonly{padding:var(--spacing-08, 0.5rem)}.tippy-box .tippy-content .editable-content .maxchar-content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:end;align-self:flex-end;height:var(--spacing-24, 1.5rem);padding-right:var(--spacing-08, 0.5rem)}.tippy-box .tippy-content .editable-content .action-content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.tippy-box .tippy-content .editable-content .action-content yoo-button{padding:0 var(--spacing-08, 0.5rem)}.tippy-box .tippy-content .editable-content .action-content .edit-content{-ms-flex-align:center;align-items:center}.tippy-box .tippy-content .editable-content .action-content .edit-content yoo-icon{padding-left:var(--spacing-08, 0.5rem);cursor:pointer}.tippy-box .tippy-content .editable-content .edit-content>*{cursor:pointer}.tippy-box .tippy-content .request-access{padding:var(--spacing-08, 0.5rem)}.tippy-box .tippy-content .request-access .title{margin-bottom:var(--spacing-08, 0.5rem);font-weight:var(--font-weight-700, 700)}.tippy-box .tippy-content .request-access .sub-title{display:-ms-flexbox;display:flex;margin-bottom:var(--spacing-08, 0.5rem);font-weight:var(--font-weight-300, 300);font-size:var(--font-size-14, 0.875rem)}.tippy-box .tippy-content .request-access .sub-title yoo-avatar{margin:0 var(--spacing-04, 0.25rem)}.tippy-box .tippy-content .request-access yoo-button{max-width:8rem}.tippy-box[data-theme~=startameeting] .tippy-content{padding:0;border-radius:var(--border-radius-04, 0.25rem)}.tippy-box[data-theme~=large]{font-size:var(--font-size-16, 1rem)}.tippy-box[data-theme~=large] .tippy-content{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=large] .tippy-content .editable-content{padding:var(--spacing-04, 0.25rem)}.tippy-box[data-theme~=large] .tippy-content .editable-content .text-content{padding-right:var(--spacing-16, 1rem)}.tippy-box[data-theme~=large] .tippy-content .editable-content yoo-icon{margin:0 var(--spacing-04, 0.25rem)}.tippy-box[data-theme~=small]{font-size:var(--font-size-16, 1rem)}.tippy-box[data-theme~=small] .tippy-content{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=small] .tippy-content .editable-content{padding:var(--spacing-04, 0.25rem)}.tippy-box[data-theme~=small] .tippy-content .editable-content .text-content{padding-right:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=small] .tippy-content .editable-content yoo-icon{margin:0 var(--spacing-04, 0.25rem)}.tippy-box[data-theme~=accent]{background-color:var(--accent, #276ef1)}.tippy-box[data-theme~=accent] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=accent] .tippy-svg-arrow{fill:var(--accent, #276ef1)}.tippy-box[data-theme~=accent][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--accent, #276ef1)}.tippy-box[data-theme~=accent][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--accent, #276ef1)}.tippy-box[data-theme~=accent][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--accent, #276ef1)}.tippy-box[data-theme~=accent][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--accent, #276ef1)}.tippy-box[data-theme~=anthracite]{background-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=anthracite] .tippy-svg-arrow{fill:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=app-color]{background-color:var(--app-color)}.tippy-box[data-theme~=app-color] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=app-color] .tippy-svg-arrow{fill:var(--app-color)}.tippy-box[data-theme~=app-color][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--app-color)}.tippy-box[data-theme~=app-color][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--app-color)}.tippy-box[data-theme~=app-color][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--app-color)}.tippy-box[data-theme~=app-color][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--app-color)}.tippy-box[data-theme~=danger]{background-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=danger] .tippy-svg-arrow{fill:var(--danger, #d44333)}.tippy-box[data-theme~=danger][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger-light]{background-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=danger-light] .tippy-svg-arrow{fill:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=dark]{background-color:var(--dark, #000000)}.tippy-box[data-theme~=dark] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=dark] .tippy-svg-arrow{fill:var(--dark, #000000)}.tippy-box[data-theme~=dark][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--dark, #000000)}.tippy-box[data-theme~=dark][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--dark, #000000)}.tippy-box[data-theme~=dark][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--dark, #000000)}.tippy-box[data-theme~=dark][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--dark, #000000)}.tippy-box[data-theme~=energized]{background-color:var(--energized, #fed05b)}.tippy-box[data-theme~=energized] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=energized] .tippy-svg-arrow{fill:var(--energized, #fed05b)}.tippy-box[data-theme~=energized][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--energized, #fed05b)}.tippy-box[data-theme~=energized][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--energized, #fed05b)}.tippy-box[data-theme~=energized][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--energized, #fed05b)}.tippy-box[data-theme~=energized][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--energized, #fed05b)}.tippy-box[data-theme~=info]{background-color:var(--info, #fc459e)}.tippy-box[data-theme~=info] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=info] .tippy-svg-arrow{fill:var(--info, #fc459e)}.tippy-box[data-theme~=info][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--info, #fc459e)}.tippy-box[data-theme~=info][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--info, #fc459e)}.tippy-box[data-theme~=info][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--info, #fc459e)}.tippy-box[data-theme~=info][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--info, #fc459e)}.tippy-box[data-theme~=light]{background-color:var(--light, #ffffff)}.tippy-box[data-theme~=light] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=light] .tippy-svg-arrow{fill:var(--light, #ffffff)}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--light, #ffffff)}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--light, #ffffff)}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--light, #ffffff)}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--light, #ffffff)}.tippy-box[data-theme~=light-orange]{background-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=light-orange] .tippy-svg-arrow{fill:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-to-text-color]{background-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=light-to-text-color] .tippy-svg-arrow{fill:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=royal]{background-color:var(--royal, #7577ff)}.tippy-box[data-theme~=royal] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=royal] .tippy-svg-arrow{fill:var(--royal, #7577ff)}.tippy-box[data-theme~=royal][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--royal, #7577ff)}.tippy-box[data-theme~=royal][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--royal, #7577ff)}.tippy-box[data-theme~=royal][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--royal, #7577ff)}.tippy-box[data-theme~=royal][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--royal, #7577ff)}.tippy-box[data-theme~=stable]{background-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=stable] .tippy-svg-arrow{fill:var(--stable, #adadad)}.tippy-box[data-theme~=stable][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable-alt]{background-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=stable-alt] .tippy-svg-arrow{fill:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-light]{background-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=stable-light] .tippy-svg-arrow{fill:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-ultralight]{background-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=stable-ultralight] .tippy-svg-arrow{fill:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=success]{background-color:var(--success, #3aa76d)}.tippy-box[data-theme~=success] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=success] .tippy-svg-arrow{fill:var(--success, #3aa76d)}.tippy-box[data-theme~=success][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--success, #3aa76d)}.tippy-box[data-theme~=success][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--success, #3aa76d)}.tippy-box[data-theme~=success][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--success, #3aa76d)}.tippy-box[data-theme~=success][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--success, #3aa76d)}.tippy-box[data-theme~=text-color]{background-color:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=text-color] .tippy-svg-arrow{fill:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--text-color, #807f83)}.tippy-box[data-theme~=warning]{background-color:var(--warning, #ff6402)}.tippy-box[data-theme~=warning] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=warning] .tippy-svg-arrow{fill:var(--warning, #ff6402)}.tippy-box[data-theme~=warning][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--warning, #ff6402)}.tippy-box[data-theme~=warning][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--warning, #ff6402)}.tippy-box[data-theme~=warning][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--warning, #ff6402)}.tippy-box[data-theme~=warning][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--warning, #ff6402)}.tippy-box[data-theme~=anthracite-to-text-color]{background-color:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=anthracite-to-text-color] .tippy-svg-arrow{fill:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--anthracite-to-text-color, #1a1a1a)}:root{--safe-area-inset-top:0;--safe-area-inset-right:0;--safe-area-inset-bottom:0;--safe-area-inset-left:0}@supports (top: constant(safe-area-inset-top)){:root{--safe-area-inset-top:constant(safe-area-inset-top);--safe-area-inset-right:constant(safe-area-inset-right);--safe-area-inset-bottom:constant(safe-area-inset-bottom);--safe-area-inset-left:constant(safe-area-inset-left)}}@supports (top: env(safe-area-inset-top)){:root{--safe-area-inset-top:env(safe-area-inset-top);--safe-area-inset-right:env(safe-area-inset-right);--safe-area-inset-bottom:env(safe-area-inset-bottom);--safe-area-inset-left:env(safe-area-inset-left)}}.fr-popup.fr-active{z-index:30004 !important;display:block !important;opacity:1 !important}:host{height:100%;font-weight:var(--font-weight-400, 400);font-size:var(--font-size-18, 1.125rem)}:host .profile-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between}:host .profile-content .profile-user{margin-top:0.5rem;margin-bottom:3rem;text-align:center}:host .profile-content .profile-user .profile-user-name{line-height:1.3125rem}:host .profile-content .profile-user .profile-user-role{color:var(--stable, #adadad);font-weight:var(--font-weight-400, 400);font-size:var(--font-size-14, 0.875rem);line-height:1rem}:host .profile-content .profile-user yoo-avatar{margin:auto}:host .profile-content .profile-links{padding-left:1rem}:host .profile-content .profile-links .profile-links-title{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;height:1.875rem;color:var(--stable, #adadad)}:host .profile-content .profile-links .profile-links-menu{margin:0;padding:0;font-size:100%;vertical-align:baseline;list-style:none outside none;background:none repeat scroll 0 0 transparent;border:0 none;outline:0 none;-webkit-tap-highlight-color:transparent;margin:0;padding:0;list-style:none;cursor:pointer}:host .profile-content .profile-links .profile-links-menu .profile-links-menu-item{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:auto;min-height:2.6875rem;font-weight:var(--font-weight-400, 400);line-height:36px;border-bottom:var(--border-width-01, 0.0625rem) solid var(--stable-light-to-light-20, #f1f1f1);cursor:pointer}:host .profile-content .profile-links .profile-links-menu .profile-links-menu-item>div{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .profile-content .profile-links .profile-links-menu .profile-links-menu-item:last-child{margin-bottom:0.5rem;border-bottom:none}:host .profile-content.advanced{-ms-flex-pack:left;justify-content:left}:host .profile-content.advanced .profile-title{padding:var(--spacing-16, 1rem) var(--spacing-16, 1rem) 0 var(--spacing-16, 1rem);font-weight:var(--font-weight-700, 700)}:host .profile-content.advanced .profile-links .profile-links-menu .border-bottom{border-bottom:0.0625rem solid var(--stable-light-to-light-20, #f1f1f1);cursor:auto}:host .profile-content.advanced .profile-links .profile-links-menu .border-bottom>div{display:-ms-flexbox;display:flex}:host .profile-content.advanced .profile-links .profile-links-menu .profile-links-menu-item{-ms-flex-pack:left;justify-content:left;margin-right:var(--spacing-16, 1rem);margin-bottom:var(--spacing-04, 0.25rem);font-size:var(--font-size-16, 1rem);cursor:auto}:host .profile-content.advanced .profile-links .profile-links-menu .multiple-items-margin{margin-right:var(--spacing-16, 1rem);white-space:nowrap}:host .profile-content.advanced .profile-links .profile-links-menu yoo-avatar{margin-right:var(--spacing-08, 0.5rem)}:host .profile-content.advanced .profile-links .profile-links-menu .profile-links-menu-title{padding-top:var(--spacing-16, 1rem);font-size:var(--font-size-12, 0.75rem);text-transform:uppercase}";
|
|
39
|
+
const userProfileCss = ":root{--ease-in-back:cubic-bezier(0.36, 0, 0.66, -0.56);--ease-in-circ:cubic-bezier(0.55, 0, 1, 0.45);--ease-in-cubic:cubic-bezier(0.32, 0, 0.67, 0);--ease-in-expo:cubic-bezier(0.7, 0, 0.84, 0);--ease-in-quad:cubic-bezier(0.11, 0, 0.5, 0);--ease-in-quart:cubic-bezier(0.5, 0, 0.75, 0);--ease-in-quint:cubic-bezier(0.64, 0, 0.78, 0);--ease-in-sine:cubic-bezier(0.12, 0, 0.39, 0);--ease-out-back:cubic-bezier(0.34, 1.56, 0.64, 1);--ease-out-circ:cubic-bezier(0, 0.55, 0.45, 1);--ease-out-cubic:cubic-bezier(0.33, 1, 0.68, 1);--ease-out-expo:cubic-bezier(0.16, 1, 0.3, 1);--ease-out-quad:cubic-bezier(0.5, 1, 0.89, 1);--ease-out-quart:cubic-bezier(0.25, 1, 0.5, 1);--ease-out-quint:cubic-bezier(0.22, 1, 0.36, 1);--ease-out-sine:cubic-bezier(0.61, 1, 0.88, 1);--ease-in-out-back:cubic-bezier(0.68, -0.6, 0.32, 1.6);--ease-in-out-circ:cubic-bezier(0.85, 0, 0.15, 1);--ease-in-out-cubic:cubic-bezier(0.65, 0, 0.35, 1);--ease-in-out-expo:cubic-bezier(0.87, 0, 0.13, 1);--ease-in-out-quad:cubic-bezier(0.45, 0, 0.55, 1);--ease-in-out-quart:cubic-bezier(0.76, 0, 0.24, 1);--ease-in-out-quint:cubic-bezier(0.83, 0, 0.17, 1);--ease-in-out-sine:cubic-bezier(0.37, 0, 0.63, 1)}.tippy-box,.tippy-popper{white-space:pre-wrap}.tippy-box .tippy-tooltip,.tippy-popper .tippy-tooltip{padding:var(--spacing-02, 0.125rem)}.tippy-box{-webkit-box-shadow:var(--shadow-03, 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1));box-shadow:var(--shadow-03, 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1))}.tippy-box .tippy-content.editable{padding:0}.tippy-box .tippy-content .flex{display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around}.tippy-box .tippy-content .hidden{display:none}.tippy-box .tippy-content .editable-content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;color:var(--dark, #000000)}.tippy-box .tippy-content .editable-content .text-content{min-width:5rem;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.tippy-box .tippy-content .editable-content .text-content>div{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.tippy-box .tippy-content .editable-content.readonly{padding:var(--spacing-08, 0.5rem)}.tippy-box .tippy-content .editable-content .maxchar-content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:end;align-self:flex-end;height:var(--spacing-24, 1.5rem);padding-right:var(--spacing-08, 0.5rem)}.tippy-box .tippy-content .editable-content .action-content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.tippy-box .tippy-content .editable-content .action-content yoo-button{padding:0 var(--spacing-08, 0.5rem)}.tippy-box .tippy-content .editable-content .action-content .edit-content{-ms-flex-align:center;align-items:center}.tippy-box .tippy-content .editable-content .action-content .edit-content yoo-icon{padding-left:var(--spacing-08, 0.5rem);cursor:pointer}.tippy-box .tippy-content .editable-content .edit-content>*{cursor:pointer}.tippy-box .tippy-content .request-access{padding:var(--spacing-08, 0.5rem)}.tippy-box .tippy-content .request-access .title{margin-bottom:var(--spacing-08, 0.5rem);font-weight:var(--font-weight-700, 700)}.tippy-box .tippy-content .request-access .sub-title{display:-ms-flexbox;display:flex;margin-bottom:var(--spacing-08, 0.5rem);font-weight:var(--font-weight-300, 300);font-size:var(--font-size-14, 0.875rem)}.tippy-box .tippy-content .request-access .sub-title yoo-avatar{margin:0 var(--spacing-04, 0.25rem)}.tippy-box .tippy-content .request-access yoo-button{max-width:8rem}.tippy-box[data-theme~=startameeting] .tippy-content{padding:0;border-radius:var(--border-radius-04, 0.25rem)}.tippy-box[data-theme~=large]{font-size:var(--font-size-16, 1rem)}.tippy-box[data-theme~=large] .tippy-content{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=large] .tippy-content .editable-content{padding:var(--spacing-04, 0.25rem)}.tippy-box[data-theme~=large] .tippy-content .editable-content .text-content{padding-right:var(--spacing-16, 1rem)}.tippy-box[data-theme~=large] .tippy-content .editable-content yoo-icon{margin:0 var(--spacing-04, 0.25rem)}.tippy-box[data-theme~=small]{font-size:var(--font-size-16, 1rem)}.tippy-box[data-theme~=small] .tippy-content{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=small] .tippy-content .editable-content{padding:var(--spacing-04, 0.25rem)}.tippy-box[data-theme~=small] .tippy-content .editable-content .text-content{padding-right:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=small] .tippy-content .editable-content yoo-icon{margin:0 var(--spacing-04, 0.25rem)}.tippy-box[data-theme~=accent]{background-color:var(--accent, #276ef1)}.tippy-box[data-theme~=accent] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=accent] .tippy-svg-arrow{fill:var(--accent, #276ef1)}.tippy-box[data-theme~=accent][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--accent, #276ef1)}.tippy-box[data-theme~=accent][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--accent, #276ef1)}.tippy-box[data-theme~=accent][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--accent, #276ef1)}.tippy-box[data-theme~=accent][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--accent, #276ef1)}.tippy-box[data-theme~=anthracite]{background-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=anthracite] .tippy-svg-arrow{fill:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=app-color]{background-color:var(--app-color)}.tippy-box[data-theme~=app-color] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=app-color] .tippy-svg-arrow{fill:var(--app-color)}.tippy-box[data-theme~=app-color][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--app-color)}.tippy-box[data-theme~=app-color][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--app-color)}.tippy-box[data-theme~=app-color][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--app-color)}.tippy-box[data-theme~=app-color][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--app-color)}.tippy-box[data-theme~=danger]{background-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=danger] .tippy-svg-arrow{fill:var(--danger, #d44333)}.tippy-box[data-theme~=danger][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger-light]{background-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=danger-light] .tippy-svg-arrow{fill:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=dark]{background-color:var(--dark, #000000)}.tippy-box[data-theme~=dark] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=dark] .tippy-svg-arrow{fill:var(--dark, #000000)}.tippy-box[data-theme~=dark][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--dark, #000000)}.tippy-box[data-theme~=dark][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--dark, #000000)}.tippy-box[data-theme~=dark][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--dark, #000000)}.tippy-box[data-theme~=dark][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--dark, #000000)}.tippy-box[data-theme~=energized]{background-color:var(--energized, #fed05b)}.tippy-box[data-theme~=energized] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=energized] .tippy-svg-arrow{fill:var(--energized, #fed05b)}.tippy-box[data-theme~=energized][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--energized, #fed05b)}.tippy-box[data-theme~=energized][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--energized, #fed05b)}.tippy-box[data-theme~=energized][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--energized, #fed05b)}.tippy-box[data-theme~=energized][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--energized, #fed05b)}.tippy-box[data-theme~=info]{background-color:var(--info, #fc459e)}.tippy-box[data-theme~=info] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=info] .tippy-svg-arrow{fill:var(--info, #fc459e)}.tippy-box[data-theme~=info][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--info, #fc459e)}.tippy-box[data-theme~=info][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--info, #fc459e)}.tippy-box[data-theme~=info][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--info, #fc459e)}.tippy-box[data-theme~=info][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--info, #fc459e)}.tippy-box[data-theme~=light]{background-color:var(--light, #ffffff)}.tippy-box[data-theme~=light] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=light] .tippy-svg-arrow{fill:var(--light, #ffffff)}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--light, #ffffff)}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--light, #ffffff)}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--light, #ffffff)}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--light, #ffffff)}.tippy-box[data-theme~=light-orange]{background-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=light-orange] .tippy-svg-arrow{fill:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-to-text-color]{background-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=light-to-text-color] .tippy-svg-arrow{fill:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=royal]{background-color:var(--royal, #7577ff)}.tippy-box[data-theme~=royal] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=royal] .tippy-svg-arrow{fill:var(--royal, #7577ff)}.tippy-box[data-theme~=royal][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--royal, #7577ff)}.tippy-box[data-theme~=royal][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--royal, #7577ff)}.tippy-box[data-theme~=royal][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--royal, #7577ff)}.tippy-box[data-theme~=royal][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--royal, #7577ff)}.tippy-box[data-theme~=stable]{background-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=stable] .tippy-svg-arrow{fill:var(--stable, #adadad)}.tippy-box[data-theme~=stable][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable-alt]{background-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=stable-alt] .tippy-svg-arrow{fill:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-light]{background-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=stable-light] .tippy-svg-arrow{fill:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-ultralight]{background-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=stable-ultralight] .tippy-svg-arrow{fill:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=success]{background-color:var(--success, #3aa76d)}.tippy-box[data-theme~=success] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=success] .tippy-svg-arrow{fill:var(--success, #3aa76d)}.tippy-box[data-theme~=success][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--success, #3aa76d)}.tippy-box[data-theme~=success][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--success, #3aa76d)}.tippy-box[data-theme~=success][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--success, #3aa76d)}.tippy-box[data-theme~=success][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--success, #3aa76d)}.tippy-box[data-theme~=text-color]{background-color:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=text-color] .tippy-svg-arrow{fill:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--text-color, #807f83)}.tippy-box[data-theme~=warning]{background-color:var(--warning, #ff6402)}.tippy-box[data-theme~=warning] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=warning] .tippy-svg-arrow{fill:var(--warning, #ff6402)}.tippy-box[data-theme~=warning][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--warning, #ff6402)}.tippy-box[data-theme~=warning][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--warning, #ff6402)}.tippy-box[data-theme~=warning][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--warning, #ff6402)}.tippy-box[data-theme~=warning][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--warning, #ff6402)}.tippy-box[data-theme~=anthracite-to-text-color]{background-color:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=anthracite-to-text-color] .tippy-svg-arrow{fill:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--anthracite-to-text-color, #1a1a1a)}:root{--safe-area-inset-top:0;--safe-area-inset-right:0;--safe-area-inset-bottom:0;--safe-area-inset-left:0}@supports (top: constant(safe-area-inset-top)){:root{--safe-area-inset-top:constant(safe-area-inset-top);--safe-area-inset-right:constant(safe-area-inset-right);--safe-area-inset-bottom:constant(safe-area-inset-bottom);--safe-area-inset-left:constant(safe-area-inset-left)}}@supports (top: env(safe-area-inset-top)){:root{--safe-area-inset-top:env(safe-area-inset-top);--safe-area-inset-right:env(safe-area-inset-right);--safe-area-inset-bottom:env(safe-area-inset-bottom);--safe-area-inset-left:env(safe-area-inset-left)}}.fr-popup.fr-active{z-index:30004 !important;display:block !important;opacity:1 !important}:host{height:100%;font-weight:var(--font-weight-400, 400);font-size:var(--font-size-18, 1.125rem)}:host .profile-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between}:host .profile-content .profile-user{margin-top:0.5rem;margin-bottom:3rem;text-align:center}:host .profile-content .profile-user .profile-user-name{line-height:1.3125rem}:host .profile-content .profile-user .profile-user-role{color:var(--stable, #adadad);font-weight:var(--font-weight-400, 400);font-size:var(--font-size-14, 0.875rem);line-height:1rem}:host .profile-content .profile-user yoo-avatar{margin:auto}:host .profile-content .profile-links{padding-left:1rem}:host .profile-content .profile-links .profile-links-title{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;height:1.875rem;color:var(--stable, #adadad)}:host .profile-content .profile-links .profile-links-menu{margin:0;padding:0;font-size:100%;vertical-align:baseline;list-style:none outside none;background:none repeat scroll 0 0 transparent;border:0 none;outline:0 none;-webkit-tap-highlight-color:transparent;margin:0;padding:0;list-style:none;cursor:pointer}:host .profile-content .profile-links .profile-links-menu .profile-links-menu-item{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:auto;min-height:2.6875rem;font-weight:var(--font-weight-400, 400);line-height:36px;border-bottom:var(--border-width-01, 0.0625rem) solid var(--stable-light-to-light-20, #f1f1f1);cursor:pointer}:host .profile-content .profile-links .profile-links-menu .profile-links-menu-item>div{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .profile-content .profile-links .profile-links-menu .profile-links-menu-item:last-child{margin-bottom:0.5rem;border-bottom:none}:host .profile-content.advanced{-ms-flex-pack:left;justify-content:left}:host .profile-content.advanced .profile-title{padding:var(--spacing-16, 1rem) var(--spacing-16, 1rem) 0 var(--spacing-16, 1rem);font-weight:var(--font-weight-700, 700)}:host .profile-content.advanced .profile-links .profile-links-menu .border-bottom{border-bottom:0.0625rem solid var(--stable-light-to-light-20, #f1f1f1);cursor:auto}:host .profile-content.advanced .profile-links .profile-links-menu .border-bottom>div{display:-ms-flexbox;display:flex}:host .profile-content.advanced .profile-links .profile-links-menu .profile-links-menu-item{-ms-flex-pack:left;justify-content:left;margin-right:var(--spacing-16, 1rem);margin-bottom:var(--spacing-04, 0.25rem);font-size:var(--font-size-16, 1rem);cursor:auto}:host .profile-content.advanced .profile-links .profile-links-menu .multiple-items-margin{margin-right:var(--spacing-16, 1rem);line-height:1.5}:host .profile-content.advanced .profile-links .profile-links-menu yoo-avatar{margin-right:var(--spacing-08, 0.5rem)}:host .profile-content.advanced .profile-links .profile-links-menu .profile-links-menu-title{padding-top:var(--spacing-16, 1rem);font-size:var(--font-size-12, 0.75rem);text-transform:uppercase}";
|
|
40
40
|
|
|
41
41
|
const YooUserProfileComponent = class {
|
|
42
42
|
constructor(hostRef) {
|
|
@@ -6,7 +6,7 @@ const index = require('./index-fd52e687.js');
|
|
|
6
6
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
7
7
|
require('./input-bar.interface-b96b7107.js');
|
|
8
8
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
9
|
-
const videoPlayerHelpers = require('./video-player-helpers-
|
|
9
|
+
const videoPlayerHelpers = require('./video-player-helpers-658b4a9a.js');
|
|
10
10
|
const index$1 = require('./index-e4be1010.js');
|
|
11
11
|
const remove = require('./remove-41707d5a.js');
|
|
12
12
|
require('./isUndefined-8f9cfd10.js');
|
|
@@ -12,7 +12,7 @@ const videoPlayerHelpers$1 = require('./video-player-helpers-a6d263f8.js');
|
|
|
12
12
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
13
13
|
const commonHelpers = require('./common-helpers-797be2a6.js');
|
|
14
14
|
const observerHelpers = require('./observer-helpers-b02f15af.js');
|
|
15
|
-
const videoPlayerHelpers = require('./video-player-helpers-
|
|
15
|
+
const videoPlayerHelpers = require('./video-player-helpers-658b4a9a.js');
|
|
16
16
|
const index$1 = require('./index-e4be1010.js');
|
|
17
17
|
const document$1 = require('./document-b4cc3315.js');
|
|
18
18
|
require('./validate-f2c2f205.js');
|
|
@@ -6,7 +6,7 @@ const index = require('./index-fd52e687.js');
|
|
|
6
6
|
require('./rrule-f8e7fec2.js');
|
|
7
7
|
require('./input-bar.interface-b96b7107.js');
|
|
8
8
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
9
|
-
const videoPlayerHelpers = require('./video-player-helpers-
|
|
9
|
+
const videoPlayerHelpers = require('./video-player-helpers-658b4a9a.js');
|
|
10
10
|
const index$1 = require('./index-e4be1010.js');
|
|
11
11
|
require('./isUndefined-8f9cfd10.js');
|
|
12
12
|
require('./isNumber-4c1ace60.js');
|
|
@@ -6,7 +6,7 @@ const index = require('./index-fd52e687.js');
|
|
|
6
6
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
7
7
|
require('./input-bar.interface-b96b7107.js');
|
|
8
8
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
9
|
-
const videoPlayerHelpers = require('./video-player-helpers-
|
|
9
|
+
const videoPlayerHelpers = require('./video-player-helpers-658b4a9a.js');
|
|
10
10
|
const index$1 = require('./index-e4be1010.js');
|
|
11
11
|
require('./isUndefined-8f9cfd10.js');
|
|
12
12
|
require('./isNumber-4c1ace60.js');
|
|
@@ -915,7 +915,7 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
915
915
|
}
|
|
916
916
|
:host .profile-content.advanced .profile-links .profile-links-menu .multiple-items-margin {
|
|
917
917
|
margin-right: var(--spacing-16, 1rem);
|
|
918
|
-
|
|
918
|
+
line-height: 1.5;
|
|
919
919
|
}
|
|
920
920
|
:host .profile-content.advanced .profile-links .profile-links-menu yoo-avatar {
|
|
921
921
|
margin-right: var(--spacing-08, 0.5rem);
|
|
@@ -440,7 +440,7 @@ export class YooSectionListComponent {
|
|
|
440
440
|
h("div", { class: "info-container" }, item.columns && item.columns.map((column) => this.renderSectionItemColumn(column))),
|
|
441
441
|
!this.disableSortable && !this.isReadonly && h("div", { class: "draggable" },
|
|
442
442
|
h("yoo-icon", { name: "draggable", color: "text-color", size: "medium" })),
|
|
443
|
-
(this.isPublisher || this.isViewer) && this.countSuffix === 'lessons' ? this.renderViewerPublisherActions() : this.renderItemActions(item))));
|
|
443
|
+
!this.isOwner && (this.isPublisher || this.isViewer) && this.countSuffix === 'lessons' ? this.renderViewerPublisherActions() : this.renderItemActions(item))));
|
|
444
444
|
}
|
|
445
445
|
renderSectionItemColumn(column) {
|
|
446
446
|
return (h("div", { class: "column" },
|
|
@@ -456,7 +456,7 @@ export class YooSectionListComponent {
|
|
|
456
456
|
if (!this.itemActions || !this.itemActions.length) {
|
|
457
457
|
return;
|
|
458
458
|
}
|
|
459
|
-
const actions = this.itemActions.map((action) => (Object.assign(Object.assign({}, action), { handler: () => action.handler(i), isVisible: () => (action === null || action === void 0 ? void 0 : action.visible) ? action.visible() : true })));
|
|
459
|
+
const actions = this.itemActions.map((action) => (Object.assign(Object.assign({}, action), { handler: () => action.handler(i), isVisible: () => (action === null || action === void 0 ? void 0 : action.visible) ? action.visible(i) : true })));
|
|
460
460
|
return (h("div", { class: "item-actions" },
|
|
461
461
|
h("yoo-context-menu", { contentButtons: actions, placement: "below" },
|
|
462
462
|
h("yoo-button", { disabled: this.isViewer && this.countSuffix === 'users' ? true : false, size: "medium" },
|
|
@@ -2316,7 +2316,7 @@ export class YooFormDynamicComponent {
|
|
|
2316
2316
|
if (this.isPdf && renderSlideTitle) {
|
|
2317
2317
|
const pdfClass = {
|
|
2318
2318
|
'pdf-field-wrapper': true,
|
|
2319
|
-
break: isPdfMultiplePhotos ||
|
|
2319
|
+
break: isPdfMultiplePhotos || [FormFieldType.selectbuttons].includes(field === null || field === void 0 ? void 0 : field.type),
|
|
2320
2320
|
[fieldClass]: !!fieldClass
|
|
2321
2321
|
};
|
|
2322
2322
|
return h("div", { class: pdfClass, style: fieldStyle }, fieldContent());
|
|
@@ -47,7 +47,7 @@ function isNumeric(item) {
|
|
|
47
47
|
export function fixVideoSource(field) {
|
|
48
48
|
const source = field.url || field.value || field.videoData || '';
|
|
49
49
|
const arr = !field.videoData && source.split('/');
|
|
50
|
-
|
|
50
|
+
const videoId = arr && arr[arr.length - 1];
|
|
51
51
|
let newSource = source;
|
|
52
52
|
if (field.videoData) {
|
|
53
53
|
newSource = isFile(field.videoData) ? URL.createObjectURL(field.videoData) : field.videoData;
|
|
@@ -59,13 +59,24 @@ export function fixVideoSource(field) {
|
|
|
59
59
|
newSource = 'https://www.dailymotion.com/embed/video/' + videoId;
|
|
60
60
|
}
|
|
61
61
|
if (isVimeoSource(newSource)) {
|
|
62
|
-
|
|
63
|
-
videoId = arr[arr.length - 2];
|
|
64
|
-
}
|
|
65
|
-
newSource = 'https://player.vimeo.com/video/' + videoId;
|
|
62
|
+
return fixVimeoSource(newSource);
|
|
66
63
|
}
|
|
67
64
|
return newSource;
|
|
68
65
|
}
|
|
66
|
+
export function fixVimeoSource(source) {
|
|
67
|
+
const arr = source === null || source === void 0 ? void 0 : source.split('/');
|
|
68
|
+
const lastItem = arr === null || arr === void 0 ? void 0 : arr[arr.length - 1];
|
|
69
|
+
const secondLastItem = arr === null || arr === void 0 ? void 0 : arr[arr.length - 2];
|
|
70
|
+
const URL_PREFIX = 'https://player.vimeo.com/video/';
|
|
71
|
+
const MIN_VIDEO_ID_LENGTH = 3;
|
|
72
|
+
if (isNumeric(lastItem)) {
|
|
73
|
+
return `${URL_PREFIX}${lastItem}`;
|
|
74
|
+
}
|
|
75
|
+
else if (!(source === null || source === void 0 ? void 0 : source.includes('player.vimeo.com')) && isNumeric(secondLastItem) && (secondLastItem === null || secondLastItem === void 0 ? void 0 : secondLastItem.length) > MIN_VIDEO_ID_LENGTH) {
|
|
76
|
+
return `${URL_PREFIX}${secondLastItem}?h=${lastItem}`;
|
|
77
|
+
}
|
|
78
|
+
return source;
|
|
79
|
+
}
|
|
69
80
|
export function openVideoPlayerInModal(type, coreParams, modalParams) {
|
|
70
81
|
const videoModal = document.createElement('yoo-videoplayer-core');
|
|
71
82
|
const videoPlayerCoreParameters = Object.assign({ fullscreen: false, controls: true }, coreParams);
|