@yoobic/yobi 8.5.0-86 → 8.5.0-88
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/design-system.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{swiper-efe6c8c3.js → swiper-b5be2f38.js} +1 -1
- package/dist/cjs/yoo-form-dynamic.cjs.entry.js +11 -7
- package/dist/cjs/yoo-form-input-container.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-todo-mission.cjs.entry.js +1 -1
- package/dist/cjs/{yoo-ion-slides-65d70075.js → yoo-ion-slides-6286c03a.js} +15 -4
- package/dist/cjs/yoo-ion-slides.cjs.entry.js +1 -1
- package/dist/cjs/yoo-lesson-detail-card.cjs.entry.js +2 -2
- package/dist/cjs/yoo-range.cjs.entry.js +2 -2
- package/dist/collection/components/1.atoms/range/range.js +2 -2
- package/dist/collection/components/2.molecules/slides/slides.js +14 -3
- package/dist/collection/components/form/form-dynamic/form-dynamic.js +32 -7
- package/dist/collection/components/form/form-input-container/form-input-container.css +6 -3
- package/dist/collection/components/form/form-todo-mission/form-todo-mission.js +2 -2
- package/dist/collection/feature-learn/learning/lesson-detail-card/lesson-detail-card.css +3 -4
- package/dist/collection/feature-learn/learning/lesson-detail-card/lesson-detail-card.js +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/{esm/swiper-88435d48.js → design-system/swiper-264da16d.js} +2 -2
- package/dist/design-system/yoo-form-dynamic.entry.js +12 -8
- package/dist/design-system/yoo-form-input-container.entry.js +1 -1
- package/dist/design-system/yoo-form-todo-mission.entry.js +2 -2
- package/dist/{esm/yoo-ion-slides-3871e71c.js → design-system/yoo-ion-slides-fef31b50.js} +15 -4
- package/dist/design-system/yoo-ion-slides.entry.js +1 -1
- package/dist/design-system/yoo-lesson-detail-card.entry.js +2 -2
- package/dist/design-system/yoo-range.entry.js +2 -2
- package/dist/esm/design-system.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/{design-system/swiper-88435d48.js → esm/swiper-264da16d.js} +2 -2
- package/dist/esm/yoo-form-dynamic.entry.js +12 -8
- package/dist/esm/yoo-form-input-container.entry.js +1 -1
- package/dist/esm/yoo-form-todo-mission.entry.js +2 -2
- package/dist/{design-system/yoo-ion-slides-3871e71c.js → esm/yoo-ion-slides-fef31b50.js} +15 -4
- package/dist/esm/yoo-ion-slides.entry.js +1 -1
- package/dist/esm/yoo-lesson-detail-card.entry.js +2 -2
- package/dist/esm/yoo-range.entry.js +2 -2
- package/dist/types/components/2.molecules/slides/slides.d.ts +1 -0
- package/dist/types/components/form/form-dynamic/form-dynamic.d.ts +2 -0
- package/dist/types/components.d.ts +1 -0
- package/package.json +1 -1
@@ -276,6 +276,9 @@ const YooFormDynamicComponent = class {
|
|
276
276
|
};
|
277
277
|
}
|
278
278
|
}
|
279
|
+
async onLockSwipesChanged() {
|
280
|
+
commonHelpers.lockSwipes(this.ionSlides, this.lockSwipes);
|
281
|
+
}
|
279
282
|
get currentData() {
|
280
283
|
return this._currentData;
|
281
284
|
}
|
@@ -385,6 +388,9 @@ const YooFormDynamicComponent = class {
|
|
385
388
|
this.ionSlides.slideTo(0);
|
386
389
|
}
|
387
390
|
}
|
391
|
+
async lockSlides(index) {
|
392
|
+
this.lockSlideSwipe(index !== null && index !== void 0 ? index : this.activeIndex);
|
393
|
+
}
|
388
394
|
async onPhotoUploadingComplete(field) {
|
389
395
|
const photo = this.getFieldByCode(field.name);
|
390
396
|
if (photo) {
|
@@ -645,10 +651,8 @@ const YooFormDynamicComponent = class {
|
|
645
651
|
return { field: lodash.cloneDeep(previousField), value: previousValue, extra: previousExtra };
|
646
652
|
}
|
647
653
|
async onSlidePrevious() {
|
648
|
-
|
649
|
-
|
650
|
-
this.ionSlides.slidePrev();
|
651
|
-
}
|
654
|
+
var _a;
|
655
|
+
(_a = this.ionSlides) === null || _a === void 0 ? void 0 : _a.slidePrev();
|
652
656
|
}
|
653
657
|
async onSlideNext(skipEmitEvent = false) {
|
654
658
|
if (this.isFirstSlide()) {
|
@@ -661,7 +665,6 @@ const YooFormDynamicComponent = class {
|
|
661
665
|
return;
|
662
666
|
}
|
663
667
|
if (this.ionSlides) {
|
664
|
-
commonHelpers.lockSwipes(this.ionSlides, false);
|
665
668
|
this.ionSlides.slideNext();
|
666
669
|
}
|
667
670
|
else if (this.isWeb && this.activeIndex !== this.slides.length - 1) {
|
@@ -1745,10 +1748,10 @@ const YooFormDynamicComponent = class {
|
|
1745
1748
|
index = this.showRecap ? index - 1 : index;
|
1746
1749
|
const shouldLockSlide = (slideIndex) => { var _a; return !index$1.isQuiz(this.lessonType) && ((_a = this.slidesState.filter((item) => !(item === null || item === void 0 ? void 0 : item.hidden))[slideIndex]) === null || _a === void 0 ? void 0 : _a.validity); };
|
1747
1750
|
const lockSwipeToNext = this.isLesson() ? !shouldLockSlide(index) : index + 1 === this.slides.length ? false : this.getSlideState(index + 1).locked;
|
1748
|
-
const
|
1751
|
+
const lockSwipeToPrev = this.isLesson() ? !shouldLockSlide(index - 1) : index - 1 < 0 ? false : this.getSlideState(index - 1).locked;
|
1749
1752
|
if (this.ionSlides) {
|
1750
1753
|
this.ionSlides.lockSwipeToNext(lockSwipeToNext);
|
1751
|
-
this.ionSlides.lockSwipeToPrev(
|
1754
|
+
this.ionSlides.lockSwipeToPrev(lockSwipeToPrev);
|
1752
1755
|
}
|
1753
1756
|
}
|
1754
1757
|
}
|
@@ -4752,6 +4755,7 @@ const YooFormDynamicComponent = class {
|
|
4752
4755
|
}
|
4753
4756
|
get host() { return index$2.getElement(this); }
|
4754
4757
|
static get watchers() { return {
|
4758
|
+
"lockSwipes": ["onLockSwipesChanged"],
|
4755
4759
|
"data": ["updateData"],
|
4756
4760
|
"slides": ["updateSlides"],
|
4757
4761
|
"timer": ["onTimerUpdated"],
|
@@ -12,7 +12,7 @@ const index$1 = require('./index-c5a897c7.js');
|
|
12
12
|
const localForage = require('./localForage-cb52926a.js');
|
13
13
|
require('./_commonjsHelpers-94df2ea7.js');
|
14
14
|
|
15
|
-
const formInputContainerCss = "/*!\n * froala_editor v4.0.14 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2022 Froala Labs\n */.fr-clearfix::after{clear:both;display:block;content:\"\";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-view img.fr-rounded,.fr-view .fr-img-caption.fr-rounded img{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-view img.fr-shadow,.fr-view .fr-img-caption.fr-shadow img{-webkit-box-shadow:10px 10px 5px 0px #cccccc;-moz-box-shadow:10px 10px 5px 0px #cccccc;box-shadow:10px 10px 5px 0px #cccccc}.fr-view img.fr-bordered,.fr-view .fr-img-caption.fr-bordered img{border:solid 5px #CCC}.fr-view img.fr-bordered{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fr-view .fr-img-caption.fr-bordered img{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-view{word-wrap:break-word}.fr-view span[style~=\"color:\"] a{color:inherit}.fr-view strong{font-weight:700}.fr-view table[border='0'] td:not([class]),.fr-view table[border='0'] th:not([class]),.fr-view table[border='0'] td[class=\"\"],.fr-view table[border='0'] th[class=\"\"]{border-width:0px}.fr-view table{border:none;border-collapse:collapse;empty-cells:show;max-width:100%}.fr-view table td{min-width:5px}.fr-view table.fr-dashed-borders td,.fr-view table.fr-dashed-borders th{border-style:dashed}.fr-view table.fr-alternate-rows tbody tr:nth-child(2n){background:whitesmoke}.fr-view table td,.fr-view table th{border:1px solid #DDD}.fr-view table td:empty,.fr-view table th:empty{height:20px}.fr-view table td.fr-highlighted,.fr-view table th.fr-highlighted{border:1px double red}.fr-view table td.fr-thick,.fr-view table th.fr-thick{border-width:2px}.fr-view table th{background:#ececec}.fr-view table tfoot td{background:#ececec}.fr-view hr{clear:both;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-column-break-after:always;-moz-column-break-after:always;break-after:always;page-break-after:always}.fr-view .fr-file{position:relative}.fr-view .fr-file::after{position:relative;content:\"\\1F4CE\";font-weight:normal}.fr-view pre{white-space:pre-wrap;word-wrap:break-word;overflow:visible}.fr-view[dir=\"rtl\"] blockquote{border-left:none;border-right:solid 2px #5E35B1;margin-right:0;padding-right:5px;padding-left:0}.fr-view[dir=\"rtl\"] blockquote blockquote{border-color:#00BCD4}.fr-view[dir=\"rtl\"] blockquote blockquote blockquote{border-color:#43A047}.fr-view blockquote{border-left:solid 2px #5E35B1;margin-left:0;padding-left:5px;color:#5E35B1}.fr-view blockquote blockquote{border-color:#00BCD4;color:#00BCD4}.fr-view blockquote blockquote blockquote{border-color:#43A047;color:#43A047}.fr-view span.fr-emoticon{font-weight:normal;font-family:\"Apple Color Emoji\",\"Segoe UI Emoji\",\"NotoColorEmoji\",\"Segoe UI Symbol\",\"Android Emoji\",\"EmojiSymbols\";display:inline;line-height:0}.fr-view span.fr-emoticon.fr-emoticon-img{background-repeat:no-repeat !important;font-size:inherit;height:1em;width:1em;min-height:20px;min-width:20px;display:inline-block;margin:-.1em .1em .1em;line-height:1;vertical-align:middle}.fr-view .fr-text-gray{color:#AAA !important}.fr-view .fr-text-bordered{border-top:solid 1px #222;border-bottom:solid 1px #222;padding:10px 0}.fr-view .fr-text-spaced{letter-spacing:1px}.fr-view .fr-text-uppercase{text-transform:uppercase}.fr-view .fr-class-highlighted{background-color:#ffff00}.fr-view .fr-class-code{border-color:#cccccc;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#f5f5f5;padding:10px;font-family:\"Courier New\", Courier, monospace}.fr-view .fr-class-transparency{opacity:0.5}.fr-view img{position:relative;max-width:100%}.fr-view img.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}.fr-view img.fr-dib.fr-fil{margin-left:0;text-align:left}.fr-view img.fr-dib.fr-fir{margin-right:0;text-align:right}.fr-view img.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.fr-view img.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.fr-view img.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.fr-view span.fr-img-caption{position:relative;max-width:100%}.fr-view span.fr-img-caption.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}.fr-view span.fr-img-caption.fr-dib.fr-fil{margin-left:0;text-align:left}.fr-view span.fr-img-caption.fr-dib.fr-fir{margin-right:0;text-align:right}.fr-view span.fr-img-caption.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.fr-view span.fr-img-caption.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.fr-view span.fr-img-caption.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.fr-view .fr-video{text-align:center;position:relative}.fr-view .fr-video.fr-rv{padding-bottom:56.25%;padding-top:30px;height:0;overflow:hidden}.fr-view .fr-video.fr-rv>iframe,.fr-view .fr-video.fr-rv object,.fr-view .fr-video.fr-rv embed{position:absolute !important;top:0;left:0;width:100%;height:100%}.fr-view .fr-video>*{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;max-width:100%;border:none}.fr-view .fr-video.fr-dvb{display:block;clear:both}.fr-view .fr-video.fr-dvb.fr-fvl{text-align:left}.fr-view .fr-video.fr-dvb.fr-fvr{text-align:right}.fr-view .fr-video.fr-dvi{display:inline-block}.fr-view .fr-video.fr-dvi.fr-fvl{float:left}.fr-view .fr-video.fr-dvi.fr-fvr{float:right}.fr-view a.fr-strong{font-weight:700}.fr-view a.fr-green{color:green}.fr-view .fr-img-caption{text-align:center}.fr-view .fr-img-caption .fr-img-wrap{padding:0;margin:auto;text-align:center;width:100%}.fr-view .fr-img-caption .fr-img-wrap a{display:block}.fr-view .fr-img-caption .fr-img-wrap img{display:block;margin:auto;width:100%}.fr-view .fr-img-caption .fr-img-wrap>span{margin:auto;display:block;padding:5px 5px 10px;font-size:14px;font-weight:initial;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-opacity:0.9;-moz-opacity:0.9;opacity:0.9;-ms-filter:\"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)\";width:100%;text-align:center}.fr-view button.fr-rounded,.fr-view input.fr-rounded,.fr-view textarea.fr-rounded{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-view button.fr-large,.fr-view input.fr-large,.fr-view textarea.fr-large{font-size:24px}a.fr-view.fr-strong{font-weight:700}a.fr-view.fr-green{color:green}img.fr-view{position:relative;max-width:100%}img.fr-view.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}img.fr-view.fr-dib.fr-fil{margin-left:0;text-align:left}img.fr-view.fr-dib.fr-fir{margin-right:0;text-align:right}img.fr-view.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}img.fr-view.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}img.fr-view.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)}span.fr-img-caption.fr-view{position:relative;max-width:100%}span.fr-img-caption.fr-view.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}span.fr-img-caption.fr-view.fr-dib.fr-fil{margin-left:0;text-align:left}span.fr-img-caption.fr-view.fr-dib.fr-fir{margin-right:0;text-align:right}span.fr-img-caption.fr-view.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}span.fr-img-caption.fr-view.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}span.fr-img-caption.fr-view.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)}svg:not(:root){overflow:hidden}:host(.mission){background:var(--stable-10, rgba(173, 173, 173, 0.1))}:host(.mission.invalid),:host(.mission.invalid.readonly){background:var(--danger-10, rgba(212, 67, 51, 0.1))}:host(.mission.readonly){margin-top:var(--spacing-08, 0.5rem);margin-bottom:var(--spacing-08, 0.5rem);padding:var(--spacing-08, 0.5rem);border-radius:var(--spacing-08, 0.5rem)}:host(.mission.readonly) .top-container .label .field-title-name,:host(.mission.readonly) .top-container .label .field-description,:host(.mission.readonly) .top-container .description .field-title-name,:host(.mission.readonly) .top-container .description .field-description{font-weight:bold;text-transform:uppercase}:host{--content-padding-top:var(--spacing-08, 0.5rem);--content-padding-bottom:initial;--field-title-color:var(--dark, #000000);--font-size-description:var(--font-size-28, 1.75rem);--field-title-font-weight:var(--font-weight-400, 400);--field-title-text-transform:unset;--sub-description-text-color:var(--text-color, #807f83);--sub-description-font-size:var(--font-size-16, 1rem);--right-side-margin:auto;display:block}:host yoo-tag.original-invalid,:host yoo-tag.original-modified,:host yoo-tag.not-compliant{--padding:var(--spacing-04, 0.25rem);margin-bottom:var(--spacing-08, 0.5rem);font-weight:normal;border-radius:var(--border-radius-04, 0.25rem)}:host .optional{margin-left:var(--spacing-08, 0.5rem) !important;color:var(--stable, #adadad);white-space:nowrap}:host .full-width{width:100%}:host .user{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;grid-gap:var(--spacing-04, 0.25rem);-ms-flex-align:start;align-items:flex-start;width:100%}:host .user .label{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host .slide-title{width:100%;margin-top:var(--spacing-08, 0.5rem);margin-bottom:var(--spacing-08, 0.5rem);font-weight:bold;text-align:left}:host .description .label,:host .description .optional,:host .top-container .label,:host .top-container .optional{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;font-weight:var(--font-weight-400, 400);line-height:1.5;text-align:left;word-break:break-word;overflow-wrap:break-word}:host .description .label .required,:host .description .optional .required,:host .top-container .label .required,:host .top-container .optional .required{height:22px;margin-right:0.25rem;color:var(--danger, #d44333);font-weight:var(--font-weight-700, 700);font-size:var(--icon-size-02, 1.5rem);font-variant-caps:normal}:host .description .label .label-required,:host .description .optional .label-required,:host .top-container .label .label-required,:host .top-container .optional .label-required{margin-left:0.25rem;color:var(--danger, #d44333)}:host .description .label .right-side,:host .description .optional .right-side,:host .top-container .label .right-side,:host .top-container .optional .right-side{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-left:var(--right-side-margin);color:var(--stable, #adadad)}:host .description .label .right-side yoo-icon.recent,:host .description .optional .right-side yoo-icon.recent,:host .top-container .label .right-side yoo-icon.recent,:host .top-container .optional .right-side yoo-icon.recent{fill:var(--text-color, #807f83)}:host .description .label.readonly,:host .description .optional.readonly,:host .top-container .label.readonly,:host .top-container .optional.readonly{color:var(--text-color, #807f83);letter-spacing:0;text-transform:initial;font-variant-caps:initial}:host .description .label.invalid .field-title-name,:host .description .optional.invalid .field-title-name,:host .top-container .label.invalid .field-title-name,:host .top-container .optional.invalid .field-title-name{color:var(--danger, #d44333)}:host .description .label.center,:host .description .optional.center,:host .top-container .label.center,:host .top-container .optional.center{text-align:center}:host .description .label.center span,:host .description .optional.center span,:host .top-container .label.center span,:host .top-container .optional.center span{margin:auto}:host .description .field-heading:not(.center),:host .top-container .field-heading:not(.center){font-size:var(--font-size-14, 0.875rem)}:host .description .field-heading:not(.center) .field-title-name,:host .top-container .field-heading:not(.center) .field-title-name{color:var(--field-title-color)}:host .description .field-heading:not(.center).password-title .field-title-name,:host .top-container .field-heading:not(.center).password-title .field-title-name{font-weight:var(--font-weight-400, 400)}:host .description .description,:host .top-container .description{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;font-size:var(--font-size-16, 1rem)}:host .description .description span p,:host .top-container .description span p{margin-top:0;margin-bottom:var(--spacing-08, 0.5rem)}:host .description .description.invalid,:host .top-container .description.invalid{color:var(--danger, #d44333)}:host .description .description.slotted,:host .top-container .description.slotted{padding-right:var(--spacing-04, 0.25rem)}:host .description .description .required,:host .top-container .description .required{height:22px;height:var(--icon-size-02, 1.5rem);margin-right:0.25rem;color:var(--danger, #d44333);font-weight:var(--font-weight-700, 700);font-size:var(--icon-size-02, 1.5rem);font-variant-caps:normal}:host .description .description.sub-description,:host .top-container .description.sub-description{color:var(--sub-description-text-color);font-size:var(--sub-description-font-size);text-transform:var(--field-title-text-transform)}:host .description .media-description,:host .top-container .media-description{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}:host .description .media-description>span:not(.optional),:host .top-container .media-description>span:not(.optional){width:100%}:host .description .media-description .extra-options-container,:host .top-container .media-description .extra-options-container{display:-ms-flexbox;display:flex}:host .description .field-title-name,:host .top-container .field-title-name{color:var(--field-title-color);font-weight:var(--field-title-font-weight);text-transform:var(--field-title-text-transform)}:host .hint-container{margin-top:0.25rem;margin-bottom:0.25rem;color:var(--text-color, #807f83);font-size:var(--font-size-14, 0.875rem);line-height:1.33;text-align:left}:host .footer-container{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;padding:var(--spacing-08, 0.5rem);padding-top:var(--spacing-16, 1rem);padding-bottom:0;padding-left:0.0625rem;color:var(--text-color, #807f83);font-size:var(--font-size-14, 0.875rem)}:host .footer-container.validation{margin-top:var(--spacing-08, 0.5rem);border-top:var(--border-width-01, 0.0625rem) solid var(--stable-alt, #d0d0d0)}:host .footer-container.validation.mobile{-ms-flex-direction:column;flex-direction:column;grid-gap:var(--spacing-16, 1rem);-ms-flex-align:start;align-items:flex-start}:host .footer-container.validation.mobile yoo-form-input-comments{width:100%}:host .footer-container .comment-container,:host .footer-container .feed-container,:host .footer-container .newtask{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:22px}:host .footer-container yoo-form-task{padding-left:var(--spacing-08, 0.5rem)}:host .footer-container yoo-icon{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;margin-right:var(--spacing-08, 0.5rem)}:host .footer-container .newtask{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:row;flex-direction:row;font-size:var(--font-size-16, 1rem)}:host .footer-container .newtask .icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-right:0.125rem}:host .footer-container .newtask .icon yoo-icon{margin-right:var(--spacing-08, 0.5rem)}:host .content-container{position:relative;max-width:var(--content-max-width);padding-top:var(--content-padding-top);padding-bottom:var(--content-padding-bottom)}:host .content-container.sc-yoo-form-input-container{min-height:45px}:host .content-container.readonly{padding:0;overflow:hidden}:host .content-container yoo-form-toggle:not(.line){position:absolute;top:auto;right:0;bottom:0.25rem;left:auto}:host .content-container yoo-form-checkbox:not(.line){position:absolute;top:auto;right:0;bottom:0.25rem;left:auto}:host .content-container yoo-form-checkbox[type=normal]{position:absolute;top:-1.3rem;right:0;bottom:auto;left:auto}:host .content-container yoo-form-toggle[type=normal]{position:absolute;top:-1rem;right:0;bottom:auto;left:auto}:host .content-container .removable{position:absolute;top:0.3rem;right:1.5rem;display:none;color:var(--danger, #d44333)}:host yoo-form-input-comments.readonly{margin-top:var(--spacing-16, 1rem)}:host yoo-form-input-comments.readonly.with-border-bottom{padding-bottom:var(--spacing-16, 1rem);border-bottom:var(--border-width-01, 0.0625rem) solid var(--stable-alt-40, rgba(208, 208, 208, 0.4))}:host .instructions{display:block;color:var(--stable, #adadad);font-size:var(--font-size-16, 1rem);letter-spacing:normal}:host .instructions.under-title{margin:0 auto var(--spacing-32, 2rem)}:host .instructions.success{color:var(--success, #3aa76d)}:host .instructions.app-color{color:var(--app-color, #5a30f4)}:host .comment-container{margin-right:var(--spacing-16, 1rem)}:host(.rtl) .comment-container{margin-right:0;margin-left:var(--spacing-16, 1rem)}:host(.rtl) .footer-container yoo-icon{margin-right:0;margin-left:var(--spacing-08, 0.5rem)}:host(.web) .content-container:hover .removable{display:block}:host(.mobile) .content-container .removable{display:block}:host([readonly]){border:none}:host([readonly]) .top-container .field-title-name{color:var(--field-title-color)}:host([readonly]) .top-container.column{-ms-flex-direction:column;flex-direction:column}:host([readonly]) .top-container.column .description{-ms-flex-item-align:start;align-self:flex-start;margin-bottom:var(--spacing-16, 1rem);margin-left:0;color:var(--text-color, #807f83)}:host([hidden]){display:none}:host(.mission){background:var(--stable-10, rgba(173, 173, 173, 0.1))}:host(.mission.invalid),:host(.mission.invalid[readonly]){background:var(--danger-10, rgba(212, 67, 51, 0.1))}:host(.mission[readonly]){margin-top:var(--spacing-08, 0.5rem);margin-bottom:var(--spacing-08, 0.5rem);padding:var(--spacing-08, 0.5rem);border-radius:var(--spacing-08, 0.5rem)}:host(.mission[readonly]) .top-container .label .field-title-name,:host(.mission[readonly]) .top-container .label .field-description,:host(.mission[readonly]) .top-container .description .field-title-name,:host(.mission[readonly]) .top-container .description .field-description{font-weight:bold;text-transform:uppercase}:host(.line){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-bottom:var(--spacing-08, 0.5rem);border-bottom:var(--border-width-01, 0.0625rem) solid var(--stable-alt, #d0d0d0)}:host(.line) .top-container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}:host(.line) .top-container .label,:host(.line) .top-container .description{-ms-flex:1;flex:1;-ms-flex-item-align:center;align-self:center;margin-left:var(--spacing-08, 0.5rem)}:host(.line) .top-container .label{color:inherit;font-variant-caps:normal}:host(.line) .top-container .content-container{-ms-flex:0;flex:0;padding-top:0}:host(.line) .top-container .content-container yoo-form-checkbox{--margin-top-container:-0.5rem}:host(.line) .top-container .content-container.full-width{-ms-flex:1;flex:1}:host(.line) .top-container slot{-ms-flex:1;flex:1}:host(.no-padding-top) .content-container{padding-top:0 !important}:host(.line.reversed) .top-container{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.line.noborder){border-bottom:none}:host([readonly]:not(.forcedhistory):not(.custom-width)) ::slotted(*:not(yoo-form-date-time)){margin-top:var(--spacing-08, 0.5rem);padding:0}:host([readonly]:not(.forcedhistory):not(.custom-width)) ::slotted(*:not(yoo-form-date-time)).inline{margin-top:0}:host([readonly].custom-width.inline-row:not(.label-top-aligned)) .top-container{-ms-flex-pack:center;justify-content:center}:host([readonly].inline-row:not(.label-top-aligned)) ::slotted(yoo-form-autocomplete){margin-top:0}:host(:not([form-type$=lesson])[readonly]){--field-title-font-weight:var(--font-weight-700, 700)}:host(:not([form-type$=lesson])[readonly]) .top-container .label.readonly{color:var(--dark, #000000);font-weight:var(--font-weight-700, 700)}:host(.form-readonly){padding:var(--spacing-08, 0.5rem) 0}:host(.form-readonly[size=small]){padding:0}:host(.form-readonly.quickview) .description .label .right-side,:host(.form-readonly.quickview) .description .optional .right-side,:host(.form-readonly.quickview) .top-container .label .right-side,:host(.form-readonly.quickview) .top-container .optional .right-side{color:var(--dark, #000000)}:host(.form-readonly.quickview) .description .label .right-side yoo-icon.recent,:host(.form-readonly.quickview) .description .optional .right-side yoo-icon.recent,:host(.form-readonly.quickview) .top-container .label .right-side yoo-icon.recent,:host(.form-readonly.quickview) .top-container .optional .right-side yoo-icon.recent{fill:var(--dark, #000000)}:host(.form-readonly.quickview) .description .label.readonly,:host(.form-readonly.quickview) .description .optional.readonly,:host(.form-readonly.quickview) .top-container .label.readonly,:host(.form-readonly.quickview) .top-container .optional.readonly{color:var(--dark, #000000)}:host(.form-readonly.quickview) .description .field-heading:not(.center) .field-title-name,:host(.form-readonly.quickview) .top-container .field-heading:not(.center) .field-title-name{color:var(--field-title-color)}:host(.form-readonly.quickview) .description .field-title-name,:host(.form-readonly.quickview) .top-container .field-title-name{color:var(--field-title-color)}:host(:not([form-type$=lesson])) .description span p{margin-bottom:0}:host(:not([form-type$=lesson])) p{-webkit-margin-before:0;-webkit-margin-after:0;-webkit-margin-start:0;-webkit-margin-end:0;-webkit-padding-start:0}:host([form-type$=lesson]){--content-padding-bottom:var(--spacing-16, 1rem);--font-size-title-name:var(--font-size-28, 1.75rem);--font-weight-title-name:var(--font-weight-700, 700);--text-tranform-title-name:none}:host([form-type$=lesson]) .top-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--spacing-16, 1rem);-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:100%;margin:0 auto;padding:var(--spacing-08, 0.5rem) var(--spacing-16, 1rem)}:host([form-type$=lesson]) .top-container::after{margin-top:-1rem;border-bottom:var(--spacing-16, 1rem) solid var(--light, #ffffff);content:\"\"}:host([form-type$=lesson]) .top-container::-webkit-scrollbar{display:none}:host([form-type$=lesson]) .top-container .description,:host([form-type$=lesson]) .top-container .instructions,:host([form-type$=lesson]) .top-container .label{background-color:var(--light, #ffffff)}:host([form-type$=lesson]) .top-container .media-description{font-size:var(--font-size-16, 1rem)}:host([form-type$=lesson]) .top-container .content-container{-ms-flex:1;flex:1;-webkit-box-sizing:border-box;box-sizing:border-box;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;max-height:-webkit-max-content;max-height:-moz-max-content;max-height:max-content;padding:initial}:host([form-type$=lesson]) .top-container .content-container ::slotted(*){-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 auto}:host([form-type$=lesson]) .top-container .content-container ::slotted(yoo-form-document){--outer-container-padding:0}:host([form-type$=lesson]) .top-container .content-container ::slotted(yoo-form-connect){padding-bottom:var(--spacing-08, 0.5rem)}:host([form-type$=lesson]) .top-container .content-container ::slotted(yoo-markdown){padding-bottom:var(--spacing-16, 1rem)}:host([form-type$=lesson]) .top-container .description{font-size:var(--font-size-description)}:host([form-type$=lesson]) .title.within-chat,:host([form-type$=lesson]) .field-title-name{color:var(--field-title-color);font-weight:var(--font-weight-title-name);font-size:var(--font-size-title-name);text-transform:var(--text-tranform-title-name)}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)){display:-ms-flexbox;display:flex;margin:0;-webkit-transition:all 0.5s ease-in-out 0s;transition:all 0.5s ease-in-out 0s}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container{padding:0}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container::after{border-bottom:var(--spacing-16, 1rem) solid var(--stable-ultralight, #fafafa)}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .description,:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .instructions,:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .label{text-align:center;background-color:unset}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container{padding:var(--spacing-16, 1rem);background-color:var(--light, #ffffff);border-radius:var(--border-radius-08, 0.5rem);-webkit-box-shadow:var(--shadow-02, 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.1));box-shadow:var(--shadow-02, 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.1))}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container ::slotted(yoo-markdown){overflow:hidden auto}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container ::slotted(yoo-scratch-card){max-width:25rem !important;height:inherit !important}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container ::slotted(yoo-form-carousel),:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container ::slotted(yoo-form-videoplayer),:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container ::slotted(yoo-text-sequence),:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container ::slotted(yoo-form-document){max-width:35rem !important}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container ::slotted(*:not(yoo-markdown):not(yoo-form-connect):not(yoo-form-swipe-cards)){max-width:50rem}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container ::slotted(yoo-form-swipe-cards:not([readonly])){width:calc(100% + var(--spacing-32, 2rem));height:calc(100% + var(--spacing-16, 1rem));margin-top:calc(var(--spacing-16, 1rem) * -1);margin-left:calc(var(--spacing-16, 1rem) * -1)}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container ::slotted(yoo-form-swipe-cards:not([readonly])[view=game]){overflow:auto}@media print{:host .top-container hr,:host .top-container .description,:host .top-container .label{page-break-after:avoid !important}:host .top-container .content-container{page-break-before:avoid !important}}:host(.accent) .hint-container{color:var(--accent-20, rgba(39, 110, 241, 0.2))}:host(.accent) .description{color:var(--accent, #276ef1)}:host(.dark) .hint-container{color:var(--stable-alt, #d0d0d0)}:host(.dark) .description{color:var(--dark, #000000)}:host(.danger) .hint-container{color:var(--danger-20, rgba(212, 67, 51, 0.2))}:host(.danger) .description{color:var(--danger, #d44333)}:host(.success) .hint-container{color:var(--success-20, rgba(58, 167, 109, 0.2))}:host(.success) .description{color:var(--success, #3aa76d)}:host(.app-color) .hint-container{color:var(--app-color-20, rgba(90, 48, 244, 0.2))}:host(.app-color) .description{color:var(--app-color, #5a30f4)}:host(.warning) .hint-container{color:var(--warning-20, rgba(237, 110, 51, 0.2))}:host(.warning) .description{color:var(--warning, #ed6e33)}:host(.info) .hint-container{color:var(--info-20, rgba(216, 76, 150, 0.2))}:host(.info) .description{color:var(--info, #d84c96)}:host(.stable) .hint-container{color:var(--stable, #adadad)}:host(.stable) .description{color:var(--stable, #adadad)}:host([readonly].web:not([live-preview])) .top-container .label>span.field-title-name{white-space:normal}:host(.web:not([live-preview]):not([form-type$=lesson])){--label-padding-top:var(--spacing-08, 0.5rem)}:host(.web:not([live-preview]):not([form-type$=lesson])) .top-container .label{padding-top:var(--label-padding-top)}:host(.web.operator){display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:2rem;padding:0}:host(.web.operator) .top-container .content-container{padding:0 0 var(--spacing-04, 0.25rem) 0}.fr-view h1,.fr-view h2,.fr-view h3,.fr-view h4,.fr-view h5,.fr-view h6{margin:0;padding:0;border:0}:host([field-type=grid]),:host(.audience){position:relative;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}:host([field-type=grid]) .top-container,:host(.audience) .top-container{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([field-type=grid]) .top-container .content-container,:host(.audience) .top-container .content-container{-ms-flex:1;flex:1;margin:0;margin-right:var(--spacing-04, 0.25rem);margin-left:var(--spacing-04, 0.25rem)}:host([field-type=openinghours]) .content-container.readonly{overflow:visible}:host([form-type$=lesson-detail][readonly]) .top-container .label.readonly{padding-top:unset;font-size:var(--font-size-16, 1rem);text-transform:unset}:host(.inline-row:not(.label-top-aligned)) .top-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.inline-row:not(.label-top-aligned)) .top-container .label{width:auto;min-width:5rem;margin-right:var(--spacing-08, 0.5rem)}:host(.inline-row:not(.label-top-aligned)) .top-container .label.readonly{min-width:-webkit-fit-content;min-width:-moz-fit-content;min-width:fit-content;padding-top:0}:host(.inline-row:not(.label-top-aligned)) .top-container .content-container{width:100%}:host(.inline-row:not(.label-top-aligned)) .top-container .content-container.readonly{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host(.inline-row.label-right-aligned) .top-container .label>span{width:100%;padding-right:var(--spacing-08, 0.5rem);text-align:right}:host([field-type=confidence]) .top-container{height:100%}:host([field-type=confidence]) .top-container .label{display:none}:host([field-type=confidence]) .top-container .content-container{height:100%;background-color:var(--dark-60, rgba(0, 0, 0, 0.6)) !important;border-radius:var(--border-radius-08, 0.5rem);-webkit-box-shadow:var(--shadow-02, 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.1));box-shadow:var(--shadow-02, 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.1))}:host(.web[form-type$=lesson][field-type=confidence]:not([live-preview])) .top-container{padding:0 !important}:host([field-type=hotzonecreator]) .label,:host([field-type=imagemapcreator]) .label{display:none}:host(.web[field-type=imagetagging]) .content-container{overflow:inherit !important}:host([field-type=swipecards]) .content-container{overflow:hidden !important}:host(.mobile[field-type=number]) .top-container .description .field-description img{max-height:20rem;-o-object-fit:scale-down;object-fit:scale-down}:host([fullscreen]) .top-container .content-container{max-height:100% !important}:host([fullscreen]) .top-container::after{border-bottom:none !important}:host([form-type=mission-validation]) .top-container .label{font-size:var(--font-size-12, 0.75rem);text-transform:uppercase}:host(.rtl) .optional{margin-right:var(--spacing-08, 0.5rem) !important;margin-left:0}:host(.rtl) .top-container{text-align:right}:host(.rtl) .top-container .label .right-side{margin-right:var(--right-side-margin);margin-left:0}:host(.rtl) .top-container .label .field-title-name{text-align:right}:host(.login-sso-field.mobile) .label .field-title-name{font-size:var(--font-size-12, 0.75rem)}";
|
15
|
+
const formInputContainerCss = "/*!\n * froala_editor v4.0.14 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2022 Froala Labs\n */.fr-clearfix::after{clear:both;display:block;content:\"\";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-view img.fr-rounded,.fr-view .fr-img-caption.fr-rounded img{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-view img.fr-shadow,.fr-view .fr-img-caption.fr-shadow img{-webkit-box-shadow:10px 10px 5px 0px #cccccc;-moz-box-shadow:10px 10px 5px 0px #cccccc;box-shadow:10px 10px 5px 0px #cccccc}.fr-view img.fr-bordered,.fr-view .fr-img-caption.fr-bordered img{border:solid 5px #CCC}.fr-view img.fr-bordered{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fr-view .fr-img-caption.fr-bordered img{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-view{word-wrap:break-word}.fr-view span[style~=\"color:\"] a{color:inherit}.fr-view strong{font-weight:700}.fr-view table[border='0'] td:not([class]),.fr-view table[border='0'] th:not([class]),.fr-view table[border='0'] td[class=\"\"],.fr-view table[border='0'] th[class=\"\"]{border-width:0px}.fr-view table{border:none;border-collapse:collapse;empty-cells:show;max-width:100%}.fr-view table td{min-width:5px}.fr-view table.fr-dashed-borders td,.fr-view table.fr-dashed-borders th{border-style:dashed}.fr-view table.fr-alternate-rows tbody tr:nth-child(2n){background:whitesmoke}.fr-view table td,.fr-view table th{border:1px solid #DDD}.fr-view table td:empty,.fr-view table th:empty{height:20px}.fr-view table td.fr-highlighted,.fr-view table th.fr-highlighted{border:1px double red}.fr-view table td.fr-thick,.fr-view table th.fr-thick{border-width:2px}.fr-view table th{background:#ececec}.fr-view table tfoot td{background:#ececec}.fr-view hr{clear:both;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-column-break-after:always;-moz-column-break-after:always;break-after:always;page-break-after:always}.fr-view .fr-file{position:relative}.fr-view .fr-file::after{position:relative;content:\"\\1F4CE\";font-weight:normal}.fr-view pre{white-space:pre-wrap;word-wrap:break-word;overflow:visible}.fr-view[dir=\"rtl\"] blockquote{border-left:none;border-right:solid 2px #5E35B1;margin-right:0;padding-right:5px;padding-left:0}.fr-view[dir=\"rtl\"] blockquote blockquote{border-color:#00BCD4}.fr-view[dir=\"rtl\"] blockquote blockquote blockquote{border-color:#43A047}.fr-view blockquote{border-left:solid 2px #5E35B1;margin-left:0;padding-left:5px;color:#5E35B1}.fr-view blockquote blockquote{border-color:#00BCD4;color:#00BCD4}.fr-view blockquote blockquote blockquote{border-color:#43A047;color:#43A047}.fr-view span.fr-emoticon{font-weight:normal;font-family:\"Apple Color Emoji\",\"Segoe UI Emoji\",\"NotoColorEmoji\",\"Segoe UI Symbol\",\"Android Emoji\",\"EmojiSymbols\";display:inline;line-height:0}.fr-view span.fr-emoticon.fr-emoticon-img{background-repeat:no-repeat !important;font-size:inherit;height:1em;width:1em;min-height:20px;min-width:20px;display:inline-block;margin:-.1em .1em .1em;line-height:1;vertical-align:middle}.fr-view .fr-text-gray{color:#AAA !important}.fr-view .fr-text-bordered{border-top:solid 1px #222;border-bottom:solid 1px #222;padding:10px 0}.fr-view .fr-text-spaced{letter-spacing:1px}.fr-view .fr-text-uppercase{text-transform:uppercase}.fr-view .fr-class-highlighted{background-color:#ffff00}.fr-view .fr-class-code{border-color:#cccccc;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#f5f5f5;padding:10px;font-family:\"Courier New\", Courier, monospace}.fr-view .fr-class-transparency{opacity:0.5}.fr-view img{position:relative;max-width:100%}.fr-view img.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}.fr-view img.fr-dib.fr-fil{margin-left:0;text-align:left}.fr-view img.fr-dib.fr-fir{margin-right:0;text-align:right}.fr-view img.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.fr-view img.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.fr-view img.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.fr-view span.fr-img-caption{position:relative;max-width:100%}.fr-view span.fr-img-caption.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}.fr-view span.fr-img-caption.fr-dib.fr-fil{margin-left:0;text-align:left}.fr-view span.fr-img-caption.fr-dib.fr-fir{margin-right:0;text-align:right}.fr-view span.fr-img-caption.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.fr-view span.fr-img-caption.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.fr-view span.fr-img-caption.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.fr-view .fr-video{text-align:center;position:relative}.fr-view .fr-video.fr-rv{padding-bottom:56.25%;padding-top:30px;height:0;overflow:hidden}.fr-view .fr-video.fr-rv>iframe,.fr-view .fr-video.fr-rv object,.fr-view .fr-video.fr-rv embed{position:absolute !important;top:0;left:0;width:100%;height:100%}.fr-view .fr-video>*{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;max-width:100%;border:none}.fr-view .fr-video.fr-dvb{display:block;clear:both}.fr-view .fr-video.fr-dvb.fr-fvl{text-align:left}.fr-view .fr-video.fr-dvb.fr-fvr{text-align:right}.fr-view .fr-video.fr-dvi{display:inline-block}.fr-view .fr-video.fr-dvi.fr-fvl{float:left}.fr-view .fr-video.fr-dvi.fr-fvr{float:right}.fr-view a.fr-strong{font-weight:700}.fr-view a.fr-green{color:green}.fr-view .fr-img-caption{text-align:center}.fr-view .fr-img-caption .fr-img-wrap{padding:0;margin:auto;text-align:center;width:100%}.fr-view .fr-img-caption .fr-img-wrap a{display:block}.fr-view .fr-img-caption .fr-img-wrap img{display:block;margin:auto;width:100%}.fr-view .fr-img-caption .fr-img-wrap>span{margin:auto;display:block;padding:5px 5px 10px;font-size:14px;font-weight:initial;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-opacity:0.9;-moz-opacity:0.9;opacity:0.9;-ms-filter:\"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)\";width:100%;text-align:center}.fr-view button.fr-rounded,.fr-view input.fr-rounded,.fr-view textarea.fr-rounded{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-view button.fr-large,.fr-view input.fr-large,.fr-view textarea.fr-large{font-size:24px}a.fr-view.fr-strong{font-weight:700}a.fr-view.fr-green{color:green}img.fr-view{position:relative;max-width:100%}img.fr-view.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}img.fr-view.fr-dib.fr-fil{margin-left:0;text-align:left}img.fr-view.fr-dib.fr-fir{margin-right:0;text-align:right}img.fr-view.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}img.fr-view.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}img.fr-view.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)}span.fr-img-caption.fr-view{position:relative;max-width:100%}span.fr-img-caption.fr-view.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}span.fr-img-caption.fr-view.fr-dib.fr-fil{margin-left:0;text-align:left}span.fr-img-caption.fr-view.fr-dib.fr-fir{margin-right:0;text-align:right}span.fr-img-caption.fr-view.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}span.fr-img-caption.fr-view.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}span.fr-img-caption.fr-view.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)}svg:not(:root){overflow:hidden}:host(.mission){background:var(--stable-10, rgba(173, 173, 173, 0.1))}:host(.mission.invalid),:host(.mission.invalid.readonly){background:var(--danger-10, rgba(212, 67, 51, 0.1))}:host(.mission.readonly){margin-top:var(--spacing-08, 0.5rem);margin-bottom:var(--spacing-08, 0.5rem);padding:var(--spacing-08, 0.5rem);border-radius:var(--spacing-08, 0.5rem)}:host(.mission.readonly) .top-container .label .field-title-name,:host(.mission.readonly) .top-container .label .field-description,:host(.mission.readonly) .top-container .description .field-title-name,:host(.mission.readonly) .top-container .description .field-description{font-weight:bold;text-transform:uppercase}:host{--content-padding-top:var(--spacing-08, 0.5rem);--content-padding-bottom:initial;--field-title-color:var(--dark, #000000);--font-size-description:var(--font-size-28, 1.75rem);--field-title-font-weight:var(--font-weight-400, 400);--field-title-text-transform:unset;--sub-description-text-color:var(--text-color, #807f83);--sub-description-font-size:var(--font-size-16, 1rem);--right-side-margin:auto;display:block}:host yoo-tag.original-invalid,:host yoo-tag.original-modified,:host yoo-tag.not-compliant{--padding:var(--spacing-04, 0.25rem);margin-bottom:var(--spacing-08, 0.5rem);font-weight:normal;border-radius:var(--border-radius-04, 0.25rem)}:host .optional{margin-left:var(--spacing-08, 0.5rem) !important;color:var(--stable, #adadad);white-space:nowrap}:host .full-width{width:100%}:host .user{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;grid-gap:var(--spacing-04, 0.25rem);-ms-flex-align:start;align-items:flex-start;width:100%}:host .user .label{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host .slide-title{width:100%;margin-top:var(--spacing-08, 0.5rem);margin-bottom:var(--spacing-08, 0.5rem);font-weight:bold;text-align:left}:host .description .label,:host .description .optional,:host .top-container .label,:host .top-container .optional{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;font-weight:var(--font-weight-400, 400);line-height:1.5;text-align:left;word-break:break-word;overflow-wrap:break-word}:host .description .label .required,:host .description .optional .required,:host .top-container .label .required,:host .top-container .optional .required{height:22px;margin-right:0.25rem;color:var(--danger, #d44333);font-weight:var(--font-weight-700, 700);font-size:var(--icon-size-02, 1.5rem);font-variant-caps:normal}:host .description .label .label-required,:host .description .optional .label-required,:host .top-container .label .label-required,:host .top-container .optional .label-required{margin-left:0.25rem;color:var(--danger, #d44333)}:host .description .label .right-side,:host .description .optional .right-side,:host .top-container .label .right-side,:host .top-container .optional .right-side{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-left:var(--right-side-margin);color:var(--stable, #adadad)}:host .description .label .right-side yoo-icon.recent,:host .description .optional .right-side yoo-icon.recent,:host .top-container .label .right-side yoo-icon.recent,:host .top-container .optional .right-side yoo-icon.recent{fill:var(--text-color, #807f83)}:host .description .label.readonly,:host .description .optional.readonly,:host .top-container .label.readonly,:host .top-container .optional.readonly{color:var(--text-color, #807f83);letter-spacing:0;text-transform:initial;font-variant-caps:initial}:host .description .label.invalid .field-title-name,:host .description .optional.invalid .field-title-name,:host .top-container .label.invalid .field-title-name,:host .top-container .optional.invalid .field-title-name{color:var(--danger, #d44333)}:host .description .label.center,:host .description .optional.center,:host .top-container .label.center,:host .top-container .optional.center{text-align:center}:host .description .label.center span,:host .description .optional.center span,:host .top-container .label.center span,:host .top-container .optional.center span{margin:auto}:host .description .field-heading:not(.center),:host .top-container .field-heading:not(.center){font-size:var(--font-size-14, 0.875rem)}:host .description .field-heading:not(.center) .field-title-name,:host .top-container .field-heading:not(.center) .field-title-name{color:var(--field-title-color)}:host .description .field-heading:not(.center).password-title .field-title-name,:host .top-container .field-heading:not(.center).password-title .field-title-name{font-weight:var(--font-weight-400, 400)}:host .description .description,:host .top-container .description{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;font-size:var(--font-size-16, 1rem)}:host .description .description span p,:host .top-container .description span p{margin-top:0;margin-bottom:var(--spacing-08, 0.5rem)}:host .description .description.invalid,:host .top-container .description.invalid{color:var(--danger, #d44333)}:host .description .description.slotted,:host .top-container .description.slotted{padding-right:var(--spacing-04, 0.25rem)}:host .description .description .required,:host .top-container .description .required{height:22px;height:var(--icon-size-02, 1.5rem);margin-right:0.25rem;color:var(--danger, #d44333);font-weight:var(--font-weight-700, 700);font-size:var(--icon-size-02, 1.5rem);font-variant-caps:normal}:host .description .description.sub-description,:host .top-container .description.sub-description{color:var(--sub-description-text-color);font-size:var(--sub-description-font-size);text-transform:var(--field-title-text-transform)}:host .description .media-description,:host .top-container .media-description{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}:host .description .media-description>span:not(.optional),:host .top-container .media-description>span:not(.optional){width:100%}:host .description .media-description .extra-options-container,:host .top-container .media-description .extra-options-container{display:-ms-flexbox;display:flex}:host .description .field-title-name,:host .top-container .field-title-name{color:var(--field-title-color);font-weight:var(--field-title-font-weight);text-transform:var(--field-title-text-transform)}:host .hint-container{margin-top:0.25rem;margin-bottom:0.25rem;color:var(--text-color, #807f83);font-size:var(--font-size-14, 0.875rem);line-height:1.33;text-align:left}:host .footer-container{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;padding:var(--spacing-08, 0.5rem);padding-top:var(--spacing-16, 1rem);padding-bottom:0;padding-left:0.0625rem;color:var(--text-color, #807f83);font-size:var(--font-size-14, 0.875rem)}:host .footer-container.validation{margin-top:var(--spacing-08, 0.5rem);border-top:var(--border-width-01, 0.0625rem) solid var(--stable-alt, #d0d0d0)}:host .footer-container.validation.mobile{-ms-flex-direction:column;flex-direction:column;grid-gap:var(--spacing-16, 1rem);-ms-flex-align:start;align-items:flex-start}:host .footer-container.validation.mobile yoo-form-input-comments{width:100%}:host .footer-container .comment-container,:host .footer-container .feed-container,:host .footer-container .newtask{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:22px}:host .footer-container yoo-form-task{padding-left:var(--spacing-08, 0.5rem)}:host .footer-container yoo-icon{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;margin-right:var(--spacing-08, 0.5rem)}:host .footer-container .newtask{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:row;flex-direction:row;font-size:var(--font-size-16, 1rem)}:host .footer-container .newtask .icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-right:0.125rem}:host .footer-container .newtask .icon yoo-icon{margin-right:var(--spacing-08, 0.5rem)}:host .content-container{position:relative;max-width:var(--content-max-width);padding-top:var(--content-padding-top);padding-bottom:var(--content-padding-bottom)}:host .content-container.sc-yoo-form-input-container{min-height:45px}:host .content-container.readonly{padding:0;overflow:hidden}:host .content-container yoo-form-toggle:not(.line){position:absolute;top:auto;right:0;bottom:0.25rem;left:auto}:host .content-container yoo-form-checkbox:not(.line){position:absolute;top:auto;right:0;bottom:0.25rem;left:auto}:host .content-container yoo-form-checkbox[type=normal]{position:absolute;top:-1.3rem;right:0;bottom:auto;left:auto}:host .content-container yoo-form-toggle[type=normal]{position:absolute;top:-1rem;right:0;bottom:auto;left:auto}:host .content-container .removable{position:absolute;top:0.3rem;right:1.5rem;display:none;color:var(--danger, #d44333)}:host yoo-form-input-comments.readonly{margin-top:var(--spacing-16, 1rem)}:host yoo-form-input-comments.readonly.with-border-bottom{padding-bottom:var(--spacing-16, 1rem);border-bottom:var(--border-width-01, 0.0625rem) solid var(--stable-alt-40, rgba(208, 208, 208, 0.4))}:host .instructions{display:block;color:var(--stable, #adadad);font-size:var(--font-size-16, 1rem);letter-spacing:normal}:host .instructions.under-title{margin:0 auto var(--spacing-32, 2rem)}:host .instructions.success{color:var(--success, #3aa76d)}:host .instructions.app-color{color:var(--app-color, #5a30f4)}:host .comment-container{margin-right:var(--spacing-16, 1rem)}:host(.rtl) .comment-container{margin-right:0;margin-left:var(--spacing-16, 1rem)}:host(.rtl) .footer-container yoo-icon{margin-right:0;margin-left:var(--spacing-08, 0.5rem)}:host(.web) .content-container:hover .removable{display:block}:host(.mobile) .content-container .removable{display:block}:host([readonly]){border:none}:host([readonly]) .top-container .field-title-name{color:var(--field-title-color)}:host([readonly]) .top-container.column{-ms-flex-direction:column;flex-direction:column}:host([readonly]) .top-container.column .description{-ms-flex-item-align:start;align-self:flex-start;margin-bottom:var(--spacing-16, 1rem);margin-left:0;color:var(--text-color, #807f83)}:host([hidden]){display:none}:host(.mission){background:var(--stable-10, rgba(173, 173, 173, 0.1))}:host(.mission.invalid),:host(.mission.invalid[readonly]){background:var(--danger-10, rgba(212, 67, 51, 0.1))}:host(.mission[readonly]){margin-top:var(--spacing-08, 0.5rem);margin-bottom:var(--spacing-08, 0.5rem);padding:var(--spacing-08, 0.5rem);border-radius:var(--spacing-08, 0.5rem)}:host(.mission[readonly]) .top-container .label .field-title-name,:host(.mission[readonly]) .top-container .label .field-description,:host(.mission[readonly]) .top-container .description .field-title-name,:host(.mission[readonly]) .top-container .description .field-description{font-weight:bold;text-transform:uppercase}:host(.line){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-bottom:var(--spacing-08, 0.5rem);border-bottom:var(--border-width-01, 0.0625rem) solid var(--stable-alt, #d0d0d0)}:host(.line) .top-container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}:host(.line) .top-container .label,:host(.line) .top-container .description{-ms-flex:1;flex:1;-ms-flex-item-align:center;align-self:center;margin-left:var(--spacing-08, 0.5rem)}:host(.line) .top-container .label{color:inherit;font-variant-caps:normal}:host(.line) .top-container .content-container{-ms-flex:0;flex:0;padding-top:0}:host(.line) .top-container .content-container yoo-form-checkbox{--margin-top-container:-0.5rem}:host(.line) .top-container .content-container.full-width{-ms-flex:1;flex:1}:host(.line) .top-container slot{-ms-flex:1;flex:1}:host(.no-padding-top) .content-container{padding-top:0 !important}:host(.line.reversed) .top-container{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.line.noborder){border-bottom:none}:host([readonly]:not(.forcedhistory):not(.custom-width)) ::slotted(*:not(yoo-form-date-time)){margin-top:var(--spacing-08, 0.5rem);padding:0}:host([readonly]:not(.forcedhistory):not(.custom-width)) ::slotted(*:not(yoo-form-date-time)).inline{margin-top:0}:host([readonly].custom-width.inline-row:not(.label-top-aligned)) .top-container{-ms-flex-pack:center;justify-content:center}:host([readonly].inline-row:not(.label-top-aligned)) ::slotted(yoo-form-autocomplete){margin-top:0}:host(:not([form-type$=lesson])[readonly]){--field-title-font-weight:var(--font-weight-700, 700)}:host(:not([form-type$=lesson])[readonly]) .top-container .label.readonly{color:var(--dark, #000000);font-weight:var(--font-weight-700, 700)}:host(.form-readonly){padding:var(--spacing-08, 0.5rem) 0}:host(.form-readonly[size=small]){padding:0}:host(.form-readonly.quickview) .description .label .right-side,:host(.form-readonly.quickview) .description .optional .right-side,:host(.form-readonly.quickview) .top-container .label .right-side,:host(.form-readonly.quickview) .top-container .optional .right-side{color:var(--dark, #000000)}:host(.form-readonly.quickview) .description .label .right-side yoo-icon.recent,:host(.form-readonly.quickview) .description .optional .right-side yoo-icon.recent,:host(.form-readonly.quickview) .top-container .label .right-side yoo-icon.recent,:host(.form-readonly.quickview) .top-container .optional .right-side yoo-icon.recent{fill:var(--dark, #000000)}:host(.form-readonly.quickview) .description .label.readonly,:host(.form-readonly.quickview) .description .optional.readonly,:host(.form-readonly.quickview) .top-container .label.readonly,:host(.form-readonly.quickview) .top-container .optional.readonly{color:var(--dark, #000000)}:host(.form-readonly.quickview) .description .field-heading:not(.center) .field-title-name,:host(.form-readonly.quickview) .top-container .field-heading:not(.center) .field-title-name{color:var(--field-title-color)}:host(.form-readonly.quickview) .description .field-title-name,:host(.form-readonly.quickview) .top-container .field-title-name{color:var(--field-title-color)}:host(:not([form-type$=lesson])) .description span p{margin-bottom:0}:host(:not([form-type$=lesson])) p{-webkit-margin-before:0;-webkit-margin-after:0;-webkit-margin-start:0;-webkit-margin-end:0;-webkit-padding-start:0}:host([form-type$=lesson]){--content-padding-bottom:var(--spacing-16, 1rem);--font-size-title-name:var(--font-size-28, 1.75rem);--font-weight-title-name:var(--font-weight-700, 700);--text-tranform-title-name:none}:host([form-type$=lesson]) .top-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--spacing-16, 1rem);-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:100%;margin:0 auto;padding:var(--spacing-08, 0.5rem) var(--spacing-16, 1rem)}:host([form-type$=lesson]) .top-container::after{margin-top:-1rem;border-bottom:var(--spacing-16, 1rem) solid var(--light, #ffffff);content:\"\"}:host([form-type$=lesson]) .top-container::-webkit-scrollbar{display:none}:host([form-type$=lesson]) .top-container .description,:host([form-type$=lesson]) .top-container .instructions,:host([form-type$=lesson]) .top-container .label{background-color:var(--light, #ffffff)}:host([form-type$=lesson]) .top-container .media-description{font-size:var(--font-size-16, 1rem)}:host([form-type$=lesson]) .top-container .description{font-size:var(--font-size-description)}:host([form-type$=lesson]) .top-container .description,:host([form-type$=lesson]) .top-container .media-description{display:block}:host([form-type$=lesson]) .top-container .content-container{-ms-flex:1;flex:1;-webkit-box-sizing:border-box;box-sizing:border-box;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;max-height:-webkit-max-content;max-height:-moz-max-content;max-height:max-content;padding:initial}:host([form-type$=lesson]) .top-container .content-container ::slotted(*){-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 auto}:host([form-type$=lesson]) .top-container .content-container ::slotted(yoo-form-document){--outer-container-padding:0}:host([form-type$=lesson]) .top-container .content-container ::slotted(yoo-form-connect){padding-bottom:var(--spacing-08, 0.5rem)}:host([form-type$=lesson]) .top-container .content-container ::slotted(yoo-markdown){padding-bottom:var(--spacing-16, 1rem)}:host([form-type$=lesson]) .title.within-chat,:host([form-type$=lesson]) .field-title-name{color:var(--field-title-color);font-weight:var(--font-weight-title-name);font-size:var(--font-size-title-name);text-transform:var(--text-tranform-title-name)}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)){display:-ms-flexbox;display:flex;margin:0;-webkit-transition:all 0.5s ease-in-out 0s;transition:all 0.5s ease-in-out 0s}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container{padding:0}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container::after{border-bottom:var(--spacing-16, 1rem) solid var(--stable-ultralight, #fafafa)}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .description,:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .instructions,:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .label{text-align:center;background-color:unset}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container{padding:var(--spacing-16, 1rem);background-color:var(--light, #ffffff);border-radius:var(--border-radius-08, 0.5rem);-webkit-box-shadow:var(--shadow-02, 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.1));box-shadow:var(--shadow-02, 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.1))}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container ::slotted(yoo-markdown){overflow:hidden auto}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container ::slotted(yoo-scratch-card){max-width:25rem !important;height:inherit !important}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container ::slotted(yoo-form-carousel),:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container ::slotted(yoo-form-videoplayer),:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container ::slotted(yoo-text-sequence),:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container ::slotted(yoo-form-document){max-width:35rem !important}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container ::slotted(*:not(yoo-markdown):not(yoo-form-connect):not(yoo-form-swipe-cards)){max-width:50rem}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container ::slotted(yoo-form-swipe-cards:not([readonly])){width:calc(100% + var(--spacing-32, 2rem));height:calc(100% + var(--spacing-16, 1rem));margin-top:calc(var(--spacing-16, 1rem) * -1);margin-left:calc(var(--spacing-16, 1rem) * -1)}:host(.web[form-type$=lesson]:not([live-preview]):not(.lesson-live-preview)) .top-container .content-container ::slotted(yoo-form-swipe-cards:not([readonly])[view=game]){overflow:auto}@media print{:host .top-container hr,:host .top-container .description,:host .top-container .label{page-break-after:avoid !important}:host .top-container .content-container{page-break-before:avoid !important}}:host(.accent) .hint-container{color:var(--accent-20, rgba(39, 110, 241, 0.2))}:host(.accent) .description{color:var(--accent, #276ef1)}:host(.dark) .hint-container{color:var(--stable-alt, #d0d0d0)}:host(.dark) .description{color:var(--dark, #000000)}:host(.danger) .hint-container{color:var(--danger-20, rgba(212, 67, 51, 0.2))}:host(.danger) .description{color:var(--danger, #d44333)}:host(.success) .hint-container{color:var(--success-20, rgba(58, 167, 109, 0.2))}:host(.success) .description{color:var(--success, #3aa76d)}:host(.app-color) .hint-container{color:var(--app-color-20, rgba(90, 48, 244, 0.2))}:host(.app-color) .description{color:var(--app-color, #5a30f4)}:host(.warning) .hint-container{color:var(--warning-20, rgba(237, 110, 51, 0.2))}:host(.warning) .description{color:var(--warning, #ed6e33)}:host(.info) .hint-container{color:var(--info-20, rgba(216, 76, 150, 0.2))}:host(.info) .description{color:var(--info, #d84c96)}:host(.stable) .hint-container{color:var(--stable, #adadad)}:host(.stable) .description{color:var(--stable, #adadad)}:host([readonly].web:not([live-preview])) .top-container .label>span.field-title-name{white-space:normal}:host(.web:not([live-preview]):not([form-type$=lesson])){--label-padding-top:var(--spacing-08, 0.5rem)}:host(.web:not([live-preview]):not([form-type$=lesson])) .top-container .label{padding-top:var(--label-padding-top)}:host(.web.operator){display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:2rem;padding:0}:host(.web.operator) .top-container .content-container{padding:0 0 var(--spacing-04, 0.25rem) 0}.fr-view h1,.fr-view h2,.fr-view h3,.fr-view h4,.fr-view h5,.fr-view h6{margin:0;padding:0;border:0}:host([field-type=grid]),:host(.audience){position:relative;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}:host([field-type=grid]) .top-container,:host(.audience) .top-container{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([field-type=grid]) .top-container .content-container,:host(.audience) .top-container .content-container{-ms-flex:1;flex:1;margin:0;margin-right:var(--spacing-04, 0.25rem);margin-left:var(--spacing-04, 0.25rem)}:host([field-type=openinghours]) .content-container.readonly{overflow:visible}:host([form-type$=lesson-detail][readonly]) .top-container .label.readonly{padding-top:unset;font-size:var(--font-size-16, 1rem);text-transform:unset}:host(.inline-row:not(.label-top-aligned)) .top-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.inline-row:not(.label-top-aligned)) .top-container .label{width:auto;min-width:5rem;margin-right:var(--spacing-08, 0.5rem)}:host(.inline-row:not(.label-top-aligned)) .top-container .label.readonly{min-width:-webkit-fit-content;min-width:-moz-fit-content;min-width:fit-content;padding-top:0}:host(.inline-row:not(.label-top-aligned)) .top-container .content-container{width:100%}:host(.inline-row:not(.label-top-aligned)) .top-container .content-container.readonly{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host(.inline-row.label-right-aligned) .top-container .label>span{width:100%;padding-right:var(--spacing-08, 0.5rem);text-align:right}:host([field-type=confidence]) .top-container{height:100%}:host([field-type=confidence]) .top-container .label{display:none}:host([field-type=confidence]) .top-container .content-container{height:100%;background-color:var(--dark-60, rgba(0, 0, 0, 0.6)) !important;border-radius:var(--border-radius-08, 0.5rem);-webkit-box-shadow:var(--shadow-02, 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.1));box-shadow:var(--shadow-02, 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.1))}:host(.web[form-type$=lesson][field-type=confidence]:not([live-preview])) .top-container{padding:0 !important}:host([field-type=hotzonecreator]) .label,:host([field-type=imagemapcreator]) .label{display:none}:host(.web[field-type=imagetagging]) .content-container{overflow:inherit !important}:host([field-type=swipecards]) .content-container{overflow:hidden !important}:host(.mobile[field-type=number]) .top-container .description .field-description img{max-height:20rem;-o-object-fit:scale-down;object-fit:scale-down}:host([fullscreen]) .top-container .content-container{max-height:100% !important}:host([fullscreen]) .top-container::after{border-bottom:none !important}:host([form-type=mission-validation]) .top-container .label{font-size:var(--font-size-12, 0.75rem);text-transform:uppercase}:host(.rtl) .optional{margin-right:var(--spacing-08, 0.5rem) !important;margin-left:0}:host(.rtl) .top-container{text-align:right}:host(.rtl) .top-container .label .right-side{margin-right:var(--right-side-margin);margin-left:0}:host(.rtl) .top-container .label .field-title-name{text-align:right}:host(.login-sso-field.mobile) .label .field-title-name{font-size:var(--font-size-12, 0.75rem)}";
|
16
16
|
|
17
17
|
const YooFormInputContainerComponent = class {
|
18
18
|
constructor(hostRef) {
|
@@ -293,7 +293,7 @@ const YooFormTodoMissionComponent = class {
|
|
293
293
|
var _a, _b, _c, _d, _e, _f;
|
294
294
|
const dueDate = (_a = task.duedate) === null || _a === void 0 ? void 0 : _a.value;
|
295
295
|
const status = this.updateTaskStatus(task, index$1);
|
296
|
-
return (index.h("main", { class: "container", ...{ status } }, index.h("section", { id: "task-container" }, this.renderLinkedField(task), task.field && index.h("p", { class: "linked-task" }, index$2.translate('YOOBICLINKEDTASK')), index.h("div", { class: "task" }, index.h("header", null, this.renderIcon(task, index$1), index.h("task-details", null, index.h("p", { class: "task-title" }, (_b = task.text) === null || _b === void 0 ? void 0 : _b.value), this.renderUser(task), this.renderDuedateTag(dueDate), status === 'unable-to-complete' && (index.h("yoo-tag", { color: "danger", size: "small" }, index$2.translate('YOOBICMARKEDASUNABLETOCOMPLETE')))), !this.completed && this.renderPlusButton(task, index$1)), this.readonly && (task.userComments || (((_c = task.hasphoto) === null || _c === void 0 ? void 0 : _c.value) && task.imageData)) && index.h("line", null), (((_d = task.isphotorequired) === null || _d === void 0 ? void 0 : _d.value) || ((_e = task.showPhotos) === null || _e === void 0 ? void 0 : _e.value) || ((_f = task.showComments) === null || _f === void 0 ? void 0 : _f.value)) && (index.h("additionnal-fields", null, this.renderCommentsField(task, index$1, task.userComments), this.renderPhotoField(task, index$1))))), status === 'unmarked' && !this.completed && this.renderAssignButton(task, index$1)));
|
296
|
+
return (index.h("main", { class: "container", ...{ status } }, index.h("section", { id: "task-container" }, this.renderLinkedField(task), task.field && index.h("p", { class: "linked-task" }, index$2.translate('YOOBICLINKEDTASK')), index.h("div", { class: "task" }, index.h("header", null, this.renderIcon(task, index$1), index.h("task-details", null, index.h("p", { class: "task-title" }, index$2.translateMulti((_b = task.text) === null || _b === void 0 ? void 0 : _b.value)), this.renderUser(task), this.renderDuedateTag(dueDate), status === 'unable-to-complete' && (index.h("yoo-tag", { color: "danger", size: "small" }, index$2.translate('YOOBICMARKEDASUNABLETOCOMPLETE')))), !this.completed && this.renderPlusButton(task, index$1)), this.readonly && (task.userComments || (((_c = task.hasphoto) === null || _c === void 0 ? void 0 : _c.value) && task.imageData)) && index.h("line", null), (((_d = task.isphotorequired) === null || _d === void 0 ? void 0 : _d.value) || ((_e = task.showPhotos) === null || _e === void 0 ? void 0 : _e.value) || ((_f = task.showComments) === null || _f === void 0 ? void 0 : _f.value)) && (index.h("additionnal-fields", null, this.renderCommentsField(task, index$1, task.userComments), this.renderPhotoField(task, index$1))))), status === 'unmarked' && !this.completed && this.renderAssignButton(task, index$1)));
|
297
297
|
}))));
|
298
298
|
}
|
299
299
|
get host() { return index.getElement(this); }
|
@@ -11174,6 +11174,9 @@ const YooIonSlidesComponent = class {
|
|
11174
11174
|
this.readySwiper = resolve;
|
11175
11175
|
});
|
11176
11176
|
}
|
11177
|
+
get slideElements() {
|
11178
|
+
return Array.from(this.el.querySelectorAll('yoo-ion-slide'));
|
11179
|
+
}
|
11177
11180
|
async optionsChanged() {
|
11178
11181
|
if (this.swiperReady) {
|
11179
11182
|
await this.getSwiperInstance();
|
@@ -11234,11 +11237,19 @@ const YooIonSlidesComponent = class {
|
|
11234
11237
|
*/
|
11235
11238
|
async update() {
|
11236
11239
|
const [swiper] = await Promise.all([this.getSwiper(), waitForSlides(this.el)]);
|
11237
|
-
swiper
|
11240
|
+
if (swiper) {
|
11241
|
+
const { allowSlideNext, allowSlidePrev } = swiper;
|
11242
|
+
swiper.update();
|
11243
|
+
Object.assign(swiper, { allowSlidePrev, allowSlideNext });
|
11244
|
+
}
|
11238
11245
|
}
|
11239
11246
|
async updateSize() {
|
11240
11247
|
const swiper = await this.getSwiper();
|
11241
|
-
swiper
|
11248
|
+
if (swiper) {
|
11249
|
+
const { allowSlideNext, allowSlidePrev } = swiper;
|
11250
|
+
swiper.updateSize();
|
11251
|
+
Object.assign(swiper, { allowSlidePrev, allowSlideNext });
|
11252
|
+
}
|
11242
11253
|
}
|
11243
11254
|
/**
|
11244
11255
|
* Transition to the specified slide.
|
@@ -11391,7 +11402,7 @@ const YooIonSlidesComponent = class {
|
|
11391
11402
|
}
|
11392
11403
|
const mut = (this.mutationO = new MutationObserver(async () => {
|
11393
11404
|
var _a, _b, _c;
|
11394
|
-
if (this.swiperReady && ((_a = this.
|
11405
|
+
if (this.swiperReady && ((_a = this.slideElements) === null || _a === void 0 ? void 0 : _a.length) !== ((_c = (_b = (await this.swiper)) === null || _b === void 0 ? void 0 : _b.slides) === null || _c === void 0 ? void 0 : _c.length)) {
|
11395
11406
|
this.update();
|
11396
11407
|
}
|
11397
11408
|
}));
|
@@ -11471,7 +11482,7 @@ const YooIonSlidesComponent = class {
|
|
11471
11482
|
async initSwiper() {
|
11472
11483
|
const finalOptions = this.normalizeOptions();
|
11473
11484
|
// init swiper core
|
11474
|
-
const { Swiper } = await Promise.resolve().then(function () { return require('./swiper-
|
11485
|
+
const { Swiper } = await Promise.resolve().then(function () { return require('./swiper-b5be2f38.js'); });
|
11475
11486
|
await waitForSlides(this.el);
|
11476
11487
|
const swiper = new Swiper(this.el, finalOptions);
|
11477
11488
|
this.swiperReady = true;
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const yooIonSlides_entry = require('./yoo-ion-slides-
|
5
|
+
const yooIonSlides_entry = require('./yoo-ion-slides-6286c03a.js');
|
6
6
|
require('./index-9ca0e46c.js');
|
7
7
|
require('./index-703538e6.js');
|
8
8
|
require('./index-c5a897c7.js');
|
@@ -9,7 +9,7 @@ require('./lodash-a9050d79.js');
|
|
9
9
|
require('./index-ec5dad3e.js');
|
10
10
|
require('./_commonjsHelpers-94df2ea7.js');
|
11
11
|
|
12
|
-
const lessonDetailCardCss = "svg:not(:root){overflow:hidden}:host .card-container .top-bar{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:var(--spacing-56, 3.5rem);padding:0 var(--spacing-16, 1rem)}:host .card-container .top-bar .header .heading{margin:0}:host .card-container .top-bar .header .subheader{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;color:var(--stable);font-size:var(--font-size-12)}:host .card-container .top-bar .header .subheader yoo-icon{margin-right:var(--spacing-04, 0.25rem)}:host .card-container .top-bar .right-column{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}:host .card-container .top-bar .right-column .header-info{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;margin:0 var(--spacing-08, 0.5rem)}:host .card-container .top-bar .right-column .header-info yoo-icon{margin-right:var(--spacing-08, 0.5rem)}:host .card-container .top-bar .right-column .header-info p{font-size:var(--font-size-16)}:host .card-container .top-bar .right-column .tag-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0 var(--spacing-08, 0.5rem)}:host .card-container .top-bar .right-column .toggle-icon:hover{cursor:pointer}:host .card-container .content-container{max-height:18.75rem;overflow:hidden
|
12
|
+
const lessonDetailCardCss = "svg:not(:root){overflow:hidden}:host .card-container{position:relative}:host .card-container .top-bar{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:var(--spacing-56, 3.5rem);padding:0 var(--spacing-16, 1rem)}:host .card-container .top-bar .header .heading{margin:0}:host .card-container .top-bar .header .subheader{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;color:var(--stable);font-size:var(--font-size-12)}:host .card-container .top-bar .header .subheader yoo-icon{margin-right:var(--spacing-04, 0.25rem)}:host .card-container .top-bar .right-column{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}:host .card-container .top-bar .right-column .header-info{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;margin:0 var(--spacing-08, 0.5rem)}:host .card-container .top-bar .right-column .header-info yoo-icon{margin-right:var(--spacing-08, 0.5rem)}:host .card-container .top-bar .right-column .header-info p{font-size:var(--font-size-16)}:host .card-container .top-bar .right-column .tag-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0 var(--spacing-08, 0.5rem)}:host .card-container .top-bar .right-column .toggle-icon:hover{cursor:pointer}:host .card-container .content-container{max-height:18.75rem;overflow:hidden}:host .card-container .content-container yoo-banner{--main-color:var(--warning-10, rgba(237, 110, 51, 0.1));width:95%;margin:var(--spacing-08, 0.5rem) auto;padding:var(--spacing-08, 0.5rem)}:host .card-container .content-container yoo-banner p{color:var(--dark, #000000)}:host .card-container .content-container .text{margin:var(--spacing-08, 0.5rem) var(--spacing-16, 1rem);font-size:var(--font-size-14, 0.875rem)}:host .card-container .content-container .footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:var(--spacing-56, 3.5rem);padding:0 var(--spacing-16, 1rem);border-top:var(--border-width-01, 0.0625rem) solid var(--stable-light, #f1f1f1)}:host .card-container .content-container .footer yoo-button{min-width:6rem}:host .card-container .content-container .footer .time-indicator{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}:host .card-container .content-container .footer .time-indicator yoo-progress-bar{--svg-width:1.8rem;--svg-height:1.8rem;--progress-bar-color:var(--app-color, #5a30f4);--stroke-width-circle:2;padding:0 var(--spacing-08, 0.5rem)}:host .card-container .content-container .footer .time-indicator .time-text{font-size:var(--font-size-14, 0.875rem)}:host([expanded]) .card-container{padding:var(--spacing-08, 0.5rem) 0}";
|
13
13
|
|
14
14
|
const YooLessonDetailCard = class {
|
15
15
|
constructor(hostRef) {
|
@@ -80,7 +80,7 @@ const YooLessonDetailCard = class {
|
|
80
80
|
}
|
81
81
|
renderContent() {
|
82
82
|
if (this.hasContent) {
|
83
|
-
return (index.h("div", { class:
|
83
|
+
return this.showContent && (index.h("div", { class: "content-container", ref: (el) => (this.contentElement = el) }, this.warning && this.renderWarning(), this.text && index.h("div", { class: "text" }, index$1.translateMulti(this.text)), this.footer && this.renderFooter()));
|
84
84
|
}
|
85
85
|
}
|
86
86
|
render() {
|
@@ -155,7 +155,7 @@ const YooRangeComponent = class {
|
|
155
155
|
}
|
156
156
|
setupGesture() {
|
157
157
|
if (this.rangeSlider) {
|
158
|
-
this.blockMoves.emit(
|
158
|
+
this.blockMoves.emit(this.isVisible);
|
159
159
|
const getPosition = (ev) => (ev === null || ev === void 0 ? void 0 : ev[`current${this.isHorizontal ? 'X' : 'Y'}`]) || 0;
|
160
160
|
const onStart = (position) => {
|
161
161
|
this.knobPressed.emit();
|
@@ -239,7 +239,7 @@ const YooRangeComponent = class {
|
|
239
239
|
this.value = !this.dualKnobs ? this.valueA : [getValue('min'), getValue('max')];
|
240
240
|
this.validityChanged.emit(true);
|
241
241
|
this.inputChanged.emit(this.value);
|
242
|
-
this.blockMoves.emit(
|
242
|
+
this.blockMoves.emit(this.isVisible);
|
243
243
|
this.noUpdate = false;
|
244
244
|
}
|
245
245
|
renderPin(knobName) {
|
@@ -136,7 +136,7 @@ export class YooRangeComponent {
|
|
136
136
|
}
|
137
137
|
setupGesture() {
|
138
138
|
if (this.rangeSlider) {
|
139
|
-
this.blockMoves.emit(
|
139
|
+
this.blockMoves.emit(this.isVisible);
|
140
140
|
const getPosition = (ev) => (ev === null || ev === void 0 ? void 0 : ev[`current${this.isHorizontal ? 'X' : 'Y'}`]) || 0;
|
141
141
|
const onStart = (position) => {
|
142
142
|
this.knobPressed.emit();
|
@@ -220,7 +220,7 @@ export class YooRangeComponent {
|
|
220
220
|
this.value = !this.dualKnobs ? this.valueA : [getValue('min'), getValue('max')];
|
221
221
|
this.validityChanged.emit(true);
|
222
222
|
this.inputChanged.emit(this.value);
|
223
|
-
this.blockMoves.emit(
|
223
|
+
this.blockMoves.emit(this.isVisible);
|
224
224
|
this.noUpdate = false;
|
225
225
|
}
|
226
226
|
renderPin(knobName) {
|
@@ -39,6 +39,9 @@ export class YooIonSlidesComponent {
|
|
39
39
|
this.readySwiper = resolve;
|
40
40
|
});
|
41
41
|
}
|
42
|
+
get slideElements() {
|
43
|
+
return Array.from(this.el.querySelectorAll('yoo-ion-slide'));
|
44
|
+
}
|
42
45
|
async optionsChanged() {
|
43
46
|
if (this.swiperReady) {
|
44
47
|
await this.getSwiperInstance();
|
@@ -99,11 +102,19 @@ export class YooIonSlidesComponent {
|
|
99
102
|
*/
|
100
103
|
async update() {
|
101
104
|
const [swiper] = await Promise.all([this.getSwiper(), waitForSlides(this.el)]);
|
102
|
-
swiper
|
105
|
+
if (swiper) {
|
106
|
+
const { allowSlideNext, allowSlidePrev } = swiper;
|
107
|
+
swiper.update();
|
108
|
+
Object.assign(swiper, { allowSlidePrev, allowSlideNext });
|
109
|
+
}
|
103
110
|
}
|
104
111
|
async updateSize() {
|
105
112
|
const swiper = await this.getSwiper();
|
106
|
-
swiper
|
113
|
+
if (swiper) {
|
114
|
+
const { allowSlideNext, allowSlidePrev } = swiper;
|
115
|
+
swiper.updateSize();
|
116
|
+
Object.assign(swiper, { allowSlidePrev, allowSlideNext });
|
117
|
+
}
|
107
118
|
}
|
108
119
|
/**
|
109
120
|
* Transition to the specified slide.
|
@@ -256,7 +267,7 @@ export class YooIonSlidesComponent {
|
|
256
267
|
}
|
257
268
|
const mut = (this.mutationO = new MutationObserver(async () => {
|
258
269
|
var _a, _b, _c;
|
259
|
-
if (this.swiperReady && ((_a = this.
|
270
|
+
if (this.swiperReady && ((_a = this.slideElements) === null || _a === void 0 ? void 0 : _a.length) !== ((_c = (_b = (await this.swiper)) === null || _b === void 0 ? void 0 : _b.slides) === null || _c === void 0 ? void 0 : _c.length)) {
|
260
271
|
this.update();
|
261
272
|
}
|
262
273
|
}));
|
@@ -76,6 +76,9 @@ export class YooFormDynamicComponent {
|
|
76
76
|
};
|
77
77
|
}
|
78
78
|
}
|
79
|
+
async onLockSwipesChanged() {
|
80
|
+
lockSwipes(this.ionSlides, this.lockSwipes);
|
81
|
+
}
|
79
82
|
get currentData() {
|
80
83
|
return this._currentData;
|
81
84
|
}
|
@@ -185,6 +188,9 @@ export class YooFormDynamicComponent {
|
|
185
188
|
this.ionSlides.slideTo(0);
|
186
189
|
}
|
187
190
|
}
|
191
|
+
async lockSlides(index) {
|
192
|
+
this.lockSlideSwipe(index !== null && index !== void 0 ? index : this.activeIndex);
|
193
|
+
}
|
188
194
|
async onPhotoUploadingComplete(field) {
|
189
195
|
const photo = this.getFieldByCode(field.name);
|
190
196
|
if (photo) {
|
@@ -445,10 +451,8 @@ export class YooFormDynamicComponent {
|
|
445
451
|
return { field: cloneDeep(previousField), value: previousValue, extra: previousExtra };
|
446
452
|
}
|
447
453
|
async onSlidePrevious() {
|
448
|
-
|
449
|
-
|
450
|
-
this.ionSlides.slidePrev();
|
451
|
-
}
|
454
|
+
var _a;
|
455
|
+
(_a = this.ionSlides) === null || _a === void 0 ? void 0 : _a.slidePrev();
|
452
456
|
}
|
453
457
|
async onSlideNext(skipEmitEvent = false) {
|
454
458
|
if (this.isFirstSlide()) {
|
@@ -461,7 +465,6 @@ export class YooFormDynamicComponent {
|
|
461
465
|
return;
|
462
466
|
}
|
463
467
|
if (this.ionSlides) {
|
464
|
-
lockSwipes(this.ionSlides, false);
|
465
468
|
this.ionSlides.slideNext();
|
466
469
|
}
|
467
470
|
else if (this.isWeb && this.activeIndex !== this.slides.length - 1) {
|
@@ -1545,10 +1548,10 @@ export class YooFormDynamicComponent {
|
|
1545
1548
|
index = this.showRecap ? index - 1 : index;
|
1546
1549
|
const shouldLockSlide = (slideIndex) => { var _a; return !isQuiz(this.lessonType) && ((_a = this.slidesState.filter((item) => !(item === null || item === void 0 ? void 0 : item.hidden))[slideIndex]) === null || _a === void 0 ? void 0 : _a.validity); };
|
1547
1550
|
const lockSwipeToNext = this.isLesson() ? !shouldLockSlide(index) : index + 1 === this.slides.length ? false : this.getSlideState(index + 1).locked;
|
1548
|
-
const
|
1551
|
+
const lockSwipeToPrev = this.isLesson() ? !shouldLockSlide(index - 1) : index - 1 < 0 ? false : this.getSlideState(index - 1).locked;
|
1549
1552
|
if (this.ionSlides) {
|
1550
1553
|
this.ionSlides.lockSwipeToNext(lockSwipeToNext);
|
1551
|
-
this.ionSlides.lockSwipeToPrev(
|
1554
|
+
this.ionSlides.lockSwipeToPrev(lockSwipeToPrev);
|
1552
1555
|
}
|
1553
1556
|
}
|
1554
1557
|
}
|
@@ -6757,6 +6760,25 @@ export class YooFormDynamicComponent {
|
|
6757
6760
|
"tags": []
|
6758
6761
|
}
|
6759
6762
|
},
|
6763
|
+
"lockSlides": {
|
6764
|
+
"complexType": {
|
6765
|
+
"signature": "(index?: number) => Promise<void>",
|
6766
|
+
"parameters": [{
|
6767
|
+
"tags": [],
|
6768
|
+
"text": ""
|
6769
|
+
}],
|
6770
|
+
"references": {
|
6771
|
+
"Promise": {
|
6772
|
+
"location": "global"
|
6773
|
+
}
|
6774
|
+
},
|
6775
|
+
"return": "Promise<void>"
|
6776
|
+
},
|
6777
|
+
"docs": {
|
6778
|
+
"text": "",
|
6779
|
+
"tags": []
|
6780
|
+
}
|
6781
|
+
},
|
6760
6782
|
"onPhotoUploadingComplete": {
|
6761
6783
|
"complexType": {
|
6762
6784
|
"signature": "(field: IFormField) => Promise<void>",
|
@@ -7360,6 +7382,9 @@ export class YooFormDynamicComponent {
|
|
7360
7382
|
static get elementRef() { return "host"; }
|
7361
7383
|
static get watchers() {
|
7362
7384
|
return [{
|
7385
|
+
"propName": "lockSwipes",
|
7386
|
+
"methodName": "onLockSwipesChanged"
|
7387
|
+
}, {
|
7363
7388
|
"propName": "data",
|
7364
7389
|
"methodName": "updateData"
|
7365
7390
|
}, {
|
@@ -1125,6 +1125,12 @@ svg:not(:root) {
|
|
1125
1125
|
:host([form-type$=lesson]) .top-container .media-description {
|
1126
1126
|
font-size: var(--font-size-16, 1rem);
|
1127
1127
|
}
|
1128
|
+
:host([form-type$=lesson]) .top-container .description {
|
1129
|
+
font-size: var(--font-size-description);
|
1130
|
+
}
|
1131
|
+
:host([form-type$=lesson]) .top-container .description, :host([form-type$=lesson]) .top-container .media-description {
|
1132
|
+
display: block;
|
1133
|
+
}
|
1128
1134
|
:host([form-type$=lesson]) .top-container .content-container {
|
1129
1135
|
flex: 1;
|
1130
1136
|
box-sizing: border-box;
|
@@ -1145,9 +1151,6 @@ svg:not(:root) {
|
|
1145
1151
|
:host([form-type$=lesson]) .top-container .content-container ::slotted(yoo-markdown) {
|
1146
1152
|
padding-bottom: var(--spacing-16, 1rem);
|
1147
1153
|
}
|
1148
|
-
:host([form-type$=lesson]) .top-container .description {
|
1149
|
-
font-size: var(--font-size-description);
|
1150
|
-
}
|
1151
1154
|
:host([form-type$=lesson]) .title.within-chat,
|
1152
1155
|
:host([form-type$=lesson]) .field-title-name {
|
1153
1156
|
color: var(--field-title-color);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { IUser } from '@shared/interfaces';
|
2
|
-
import { dateFormat, fromToday, getCssColor, getUserDisplayName, isDateAfter, isDateSame, isToday, isWeb, showActionSheet, translate } from '@shared/utils';
|
2
|
+
import { dateFormat, fromToday, getCssColor, getUserDisplayName, isDateAfter, isDateSame, isToday, isWeb, showActionSheet, translate, translateMulti } from '@shared/utils';
|
3
3
|
import { forceUpdate, h, Host } from '@stencil/core';
|
4
4
|
import { cloneDeep, compact, lowerFirst, pick } from 'lodash-es';
|
5
5
|
import { getAppContext } from '../../../utils/helpers/common-helpers';
|
@@ -280,7 +280,7 @@ export class YooFormTodoMissionComponent {
|
|
280
280
|
var _a, _b, _c, _d, _e, _f;
|
281
281
|
const dueDate = (_a = task.duedate) === null || _a === void 0 ? void 0 : _a.value;
|
282
282
|
const status = this.updateTaskStatus(task, index);
|
283
|
-
return (h("main", { class: "container", ...{ status } }, h("section", { id: "task-container" }, this.renderLinkedField(task), task.field && h("p", { class: "linked-task" }, translate('YOOBICLINKEDTASK')), h("div", { class: "task" }, h("header", null, this.renderIcon(task, index), h("task-details", null, h("p", { class: "task-title" }, (_b = task.text) === null || _b === void 0 ? void 0 : _b.value), this.renderUser(task), this.renderDuedateTag(dueDate), status === 'unable-to-complete' && (h("yoo-tag", { color: "danger", size: "small" }, translate('YOOBICMARKEDASUNABLETOCOMPLETE')))), !this.completed && this.renderPlusButton(task, index)), this.readonly && (task.userComments || (((_c = task.hasphoto) === null || _c === void 0 ? void 0 : _c.value) && task.imageData)) && h("line", null), (((_d = task.isphotorequired) === null || _d === void 0 ? void 0 : _d.value) || ((_e = task.showPhotos) === null || _e === void 0 ? void 0 : _e.value) || ((_f = task.showComments) === null || _f === void 0 ? void 0 : _f.value)) && (h("additionnal-fields", null, this.renderCommentsField(task, index, task.userComments), this.renderPhotoField(task, index))))), status === 'unmarked' && !this.completed && this.renderAssignButton(task, index)));
|
283
|
+
return (h("main", { class: "container", ...{ status } }, h("section", { id: "task-container" }, this.renderLinkedField(task), task.field && h("p", { class: "linked-task" }, translate('YOOBICLINKEDTASK')), h("div", { class: "task" }, h("header", null, this.renderIcon(task, index), h("task-details", null, h("p", { class: "task-title" }, translateMulti((_b = task.text) === null || _b === void 0 ? void 0 : _b.value)), this.renderUser(task), this.renderDuedateTag(dueDate), status === 'unable-to-complete' && (h("yoo-tag", { color: "danger", size: "small" }, translate('YOOBICMARKEDASUNABLETOCOMPLETE')))), !this.completed && this.renderPlusButton(task, index)), this.readonly && (task.userComments || (((_c = task.hasphoto) === null || _c === void 0 ? void 0 : _c.value) && task.imageData)) && h("line", null), (((_d = task.isphotorequired) === null || _d === void 0 ? void 0 : _d.value) || ((_e = task.showPhotos) === null || _e === void 0 ? void 0 : _e.value) || ((_f = task.showComments) === null || _f === void 0 ? void 0 : _f.value)) && (h("additionnal-fields", null, this.renderCommentsField(task, index, task.userComments), this.renderPhotoField(task, index))))), status === 'unmarked' && !this.completed && this.renderAssignButton(task, index)));
|
284
284
|
}))));
|
285
285
|
}
|
286
286
|
static get is() { return "yoo-form-todo-mission"; }
|
@@ -205,6 +205,9 @@ svg:not(:root) {
|
|
205
205
|
overflow: hidden;
|
206
206
|
}
|
207
207
|
|
208
|
+
:host .card-container {
|
209
|
+
position: relative;
|
210
|
+
}
|
208
211
|
:host .card-container .top-bar {
|
209
212
|
display: flex;
|
210
213
|
align-items: center;
|
@@ -252,7 +255,6 @@ svg:not(:root) {
|
|
252
255
|
:host .card-container .content-container {
|
253
256
|
max-height: 18.75rem;
|
254
257
|
overflow: hidden;
|
255
|
-
transition: max-height 200ms;
|
256
258
|
}
|
257
259
|
:host .card-container .content-container yoo-banner {
|
258
260
|
--main-color: var(--warning-10, rgba(237, 110, 51, 0.1));
|
@@ -293,9 +295,6 @@ svg:not(:root) {
|
|
293
295
|
:host .card-container .content-container .footer .time-indicator .time-text {
|
294
296
|
font-size: var(--font-size-14, 0.875rem);
|
295
297
|
}
|
296
|
-
:host .card-container .content-container.hidden {
|
297
|
-
max-height: 0;
|
298
|
-
}
|
299
298
|
|
300
299
|
:host([expanded]) .card-container {
|
301
300
|
padding: var(--spacing-08, 0.5rem) 0;
|
@@ -66,7 +66,7 @@ export class YooLessonDetailCard {
|
|
66
66
|
}
|
67
67
|
renderContent() {
|
68
68
|
if (this.hasContent) {
|
69
|
-
return (h("div", { class:
|
69
|
+
return this.showContent && (h("div", { class: "content-container", ref: (el) => (this.contentElement = el) }, this.warning && this.renderWarning(), this.text && h("div", { class: "text" }, translateMulti(this.text)), this.footer && this.renderFooter()));
|
70
70
|
}
|
71
71
|
}
|
72
72
|
render() {
|