@yoobic/yobi 7.7.95 → 7.7.99
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/{image-helpers-ea15b526.js → image-helpers-3385fd6f.js} +2 -2
- package/dist/cjs/{index-541062cd.js → index-621e23cc.js} +11 -3
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/yoo-ag-grid_96.cjs.entry.js +2 -2
- package/dist/cjs/yoo-avatar_5.cjs.entry.js +1 -1
- package/dist/cjs/yoo-card-header.cjs.entry.js +1 -1
- package/dist/cjs/yoo-card-list-image_12.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-choice_4.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-creator-block-expandable.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-creator-block-simple_4.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-creator-card_2.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-creator-field-selector_8.cjs.entry.js +5 -4
- package/dist/cjs/yoo-form-creator-translate-dialog.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-creator.cjs.entry.js +18 -20
- package/dist/cjs/yoo-mission-detail.cjs.entry.js +8 -2
- package/dist/cjs/yoo-podium.cjs.entry.js +1 -1
- package/dist/cjs/yoo-walkthrough.cjs.entry.js +1 -1
- package/dist/collection/components/app-operations/mission-detail/mission-detail.js +15 -0
- package/dist/collection/components/form/form-carousel/form-carousel.js +2 -2
- package/dist/collection/components/form/form-document-dialog/form-document-dialog.js +2 -2
- package/dist/collection/components/form-creator/form-creator/form-creator.js +9 -11
- package/dist/collection/components/form-creator/form-creator-page-card-list/form-creator-page-card-list.js +1 -1
- package/dist/collection/components/form-creator/helpers/index.js +11 -3
- package/dist/collection/components/form-creator/workflow/workflow.js +4 -3
- package/dist/collection/utils/helpers/image-helpers.js +2 -2
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/{p-83aa89ad.entry.js → p-0cd448c7.entry.js} +1 -1
- package/dist/design-system/{p-c5e4eec8.entry.js → p-202031a2.entry.js} +1 -1
- package/dist/design-system/p-2752aa83.js +1 -0
- package/dist/design-system/{p-e70980f6.entry.js → p-2d017575.entry.js} +1 -1
- package/dist/design-system/{p-5c6ef130.js → p-349cb8cd.js} +1 -1
- package/dist/design-system/{p-02385015.entry.js → p-3d5d0597.entry.js} +1 -1
- package/dist/design-system/{p-eb421ff4.entry.js → p-44b19de9.entry.js} +1 -1
- package/dist/design-system/p-55d4560c.entry.js +1 -0
- package/dist/design-system/p-6bc1375d.entry.js +1 -0
- package/dist/design-system/{p-f2acba12.entry.js → p-753e7b0d.entry.js} +2 -2
- package/dist/design-system/{p-1f8cfec7.entry.js → p-80aded97.entry.js} +1 -1
- package/dist/design-system/{p-332efa96.entry.js → p-9ed3a063.entry.js} +1 -1
- package/dist/design-system/p-a09b181a.entry.js +1 -0
- package/dist/design-system/{p-cb9c30a3.entry.js → p-c4f7294a.entry.js} +1 -1
- package/dist/design-system/{p-6470e707.entry.js → p-cf343c67.entry.js} +1 -1
- package/dist/design-system/p-dd2d4ef6.entry.js +1 -0
- package/dist/esm/{image-helpers-6b281c05.js → image-helpers-2f8f9d5d.js} +2 -2
- package/dist/esm/{index-70924cfc.js → index-350d88b9.js} +11 -3
- package/dist/esm/index.js +1 -1
- package/dist/esm/yoo-ag-grid_96.entry.js +3 -3
- package/dist/esm/yoo-avatar_5.entry.js +1 -1
- package/dist/esm/yoo-card-header.entry.js +1 -1
- package/dist/esm/yoo-card-list-image_12.entry.js +3 -3
- package/dist/esm/yoo-form-choice_4.entry.js +1 -1
- package/dist/esm/yoo-form-creator-block-expandable.entry.js +1 -1
- package/dist/esm/yoo-form-creator-block-simple_4.entry.js +2 -2
- package/dist/esm/yoo-form-creator-card_2.entry.js +1 -1
- package/dist/esm/yoo-form-creator-field-selector_8.entry.js +5 -4
- package/dist/esm/yoo-form-creator-translate-dialog.entry.js +1 -1
- package/dist/esm/yoo-form-creator.entry.js +10 -12
- package/dist/esm/yoo-mission-detail.entry.js +8 -2
- package/dist/esm/yoo-podium.entry.js +1 -1
- package/dist/esm/yoo-walkthrough.entry.js +1 -1
- package/dist/types/components/app-operations/mission-detail/mission-detail.d.ts +1 -0
- package/dist/types/components/form-creator/helpers/index.d.ts +4 -1
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/entities/condition/condition.interface.d.ts +1 -1
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/entities/form-field/form-field.interface.d.ts +1 -0
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/entities/mission/mission.interface.d.ts +1 -1
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/entities/workflow/workflow.interface.d.ts +1 -0
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/ui/app/app.interface.d.ts +1 -0
- package/package.json +1 -1
- package/dist/design-system/p-03dbb1fa.entry.js +0 -1
- package/dist/design-system/p-486e9464.js +0 -1
- package/dist/design-system/p-67582664.entry.js +0 -1
- package/dist/design-system/p-6e516cc5.entry.js +0 -1
- package/dist/design-system/p-c047c9ba.entry.js +0 -1
|
@@ -4,11 +4,11 @@ import { a as isImageUrl, b as isBase64 } from './index-7a08441e.js';
|
|
|
4
4
|
|
|
5
5
|
async function getImageSize(src, onErr) {
|
|
6
6
|
const img = new Image();
|
|
7
|
-
if (src
|
|
7
|
+
if (src) {
|
|
8
8
|
img.src = isCloudinaryLink(src) ? new Cloudinary(src).quality('low').getUrl() : src;
|
|
9
9
|
await new Promise((resolve, reject) => {
|
|
10
10
|
img.onload = () => resolve(img.width);
|
|
11
|
-
img.onerror = () => reject(onErr === null || onErr === void 0 ? void 0 : onErr());
|
|
11
|
+
img.onerror = () => isImageUrl(src) || isBase64(src) && reject(onErr === null || onErr === void 0 ? void 0 : onErr());
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
14
|
return {
|
|
@@ -897,6 +897,8 @@ function setChildFields(parentConditions, itemIndex) {
|
|
|
897
897
|
function addNewIdsToSlide(slide) {
|
|
898
898
|
var _a, _b;
|
|
899
899
|
const ids = [];
|
|
900
|
+
if (slide)
|
|
901
|
+
slide._id = getUUID();
|
|
900
902
|
(_a = slide === null || slide === void 0 ? void 0 : slide.items) === null || _a === void 0 ? void 0 : _a.forEach((item) => {
|
|
901
903
|
const newId = getUUID();
|
|
902
904
|
ids.push({ oldId: item.name, newId });
|
|
@@ -1146,10 +1148,16 @@ function cleanCustomFormFieldSlides(selectedFields, translations) {
|
|
|
1146
1148
|
});
|
|
1147
1149
|
return { cleanedFields: selectedFields, removedConditionIds };
|
|
1148
1150
|
}
|
|
1149
|
-
function createNewIdsForCustomFields(customFields) {
|
|
1150
|
-
const cleanedFields = customFields.map((field) => {
|
|
1151
|
+
function createNewIdsForCustomFields(customFields, isCustomDataSet, fieldLocation) {
|
|
1152
|
+
const cleanedFields = customFields.map((field, fIndex) => {
|
|
1151
1153
|
const cleanedField = cloneDeep(field);
|
|
1152
|
-
|
|
1154
|
+
if (isCustomDataSet) {
|
|
1155
|
+
cleanedField.name = getCustomName(cleanedField.title, fieldLocation.slideIndex, fieldLocation.itemIndex + fIndex);
|
|
1156
|
+
cleanedField.customName = getUUID();
|
|
1157
|
+
}
|
|
1158
|
+
else {
|
|
1159
|
+
cleanedField.name = getUUID();
|
|
1160
|
+
}
|
|
1153
1161
|
return cleanedField;
|
|
1154
1162
|
});
|
|
1155
1163
|
cleanedFields.forEach((cleanedFeild) => {
|
package/dist/esm/index.js
CHANGED
|
@@ -18,7 +18,7 @@ export { d as generateLabel, e as getDynamicProperty, f as getJSONHighlighted, g
|
|
|
18
18
|
export { c as blurActiveElement, d as convertValueForInputType, f as focusContentEditable, e as formatMinMaxDate, i as getFormBottomPosition, g as getTimeDisplayValue, n as initNumber, k as onFocus, h as onIconClicked, m as onInputBlurred, o as onInputClear, l as onInputFocused, j as onValidityChanged, s as setValidator, a as setValueAndResetInputValidity, b as setValueAndValidateInput, t as taskStyle, v as validate } from './form-input-helpers-da854059.js';
|
|
19
19
|
export { f as fixParagraphRandomEl, e as fuzzySearch, d as getInsertElementProp, g as getSelection, c as getTagHTML, i as isMentionTag, r as restoreCursorPosition, s as safeInsert, a as safeInsertElements, b as safeReplaceElement } from './form-text-area-helpers-eff7814d.js';
|
|
20
20
|
export { f as formatDistance, g as getGeolocation } from './geolocation-helpers-84299bd6.js';
|
|
21
|
-
export { d as applyViewBox, c as getFormattedImageURL, b as getImageScaleFactor, g as getImageSize, a as getResizedImageSize, u as updateSVGCustomColors } from './image-helpers-
|
|
21
|
+
export { d as applyViewBox, c as getFormattedImageURL, b as getImageScaleFactor, g as getImageSize, a as getResizedImageSize, u as updateSVGCustomColors } from './image-helpers-2f8f9d5d.js';
|
|
22
22
|
export { g as getIncentiveStatusBadgeSettings, c as getParticipant, a as getPositionText, b as getProgressText, e as getTotalSalesBreakdown, d as getUserScore } from './incentive-helpers-30a3bd55.js';
|
|
23
23
|
export { g as generateFilterGroups, b as getMapCSSClasses, h as hasSameMarkers, i as isMarkersLayer, a as isSelectedMarkersLayer, c as isWebGLSupported, l as layersFromKeys, s as showDirectionsActionSheet } from './map-helpers-50f15184.js';
|
|
24
24
|
export { a as intersectionObserve, i as isIntersectionObserverSupported, r as resizeObserve } from './observer-helpers-2c5c0591.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h as h$2, H as Host, g as getElement, c as createEvent, a as getAssetPath, d as readTask, w as writeTask } from './index-27314512.js';
|
|
2
|
-
import { aJ as eq, u as isArray$1, a4 as isObject$2, as as isFunction$2, aO as baseFindIndex, aL as isSymbol, c6 as arrayReduce, bK as baseSlice, c7 as baseUniq, q as global$1, a1 as compact, bi as dateParse, a8 as isPresent, K as getAsyncExtraData, t as translate, i as isNativeMobile, r as isFile$1, _ as isCloudinaryLink, P as Cloudinary, M as cleanupWKWebViewImagePath, b as isWeb, z as isIphoneX, c as createCommonjsModule, p as getDefaultExportFromCjs, c8 as getWeekDays, ab as dateAdd, F as startOf, aK as endOf, k as isIonic, J as isDateAfter, c9 as resetTime, G as isDateBefore, ca as getYear, a9 as dateFormat, a6 as isSameDate, cb as day$1, aa as dateSub, cc as capitalize, cd as isToday, ce as isSameMonth, cf as isDateSameOrAfter, cg as isDateSameOrBefore, af as showActionSheet, a as isOffline, Y as translateMulti, a3 as isNullOrUndefined, j as getSession, $ as parseMarkDown, ch as removeTextStyle, bo as closeModal, b9 as isFirefox$2, bd as isDarkTheme, bh as isChromatic, T as gsapTo, S as isFinite$1, ci as FileSaver_min, w as debounce$1, cj as highcharts, ck as getMonths, a7 as dateIsValid, bX as showContextMenu, Z as gsapFromTo, l as isAndroid$1, b1 as showAlert, Q as isAnimationsDisabled, y as findParent, s as showModal, n as getModalAnimation, cl as showScanner, bL as getAugmentedNamespace, d as commonjsGlobal, m as isIOS$2, b6 as enableKeyboardResize, b7 as disableKeyboardResize, ac as Plugins, f as cordova, I as IonicNativePlugin, cm as is24Hour, E as getCssColor, V as getCurrentLanguage, b_ as getHours, b$ as getMinutes, c0 as setDateHours, c1 as setDateMinutes, bZ as getDialogPosition, C as isFullScreenFalse, cn as isCurrentLanguageChinese, aq as dispatchCustomEvent, an as showToast, b5 as isKeyboardResizeModeInactive, br as requestInterval, b8 as isSafari$3, co as isChromeForIos, bt as cancelRequestInterval, bs as getFormattedCountDownToDisplay, cp as guessCurrentTimezone, cq as TIMEZONES, cr as setDateSeconds, cs as setDateMilliseconds, ct as roundToNearestMinutes, cu as getRoundedMinutes, cv as HorizontalSlidesAnimation, cw as changeHexOpacity, b4 as MONGODB_ID_REGEX, aC as getAuthentication, ba as isForceScrollbar, cx as DashboardGsapAnimation, cy as fadeFromBottom, cz as fadeFromTop, aZ as getContrastColor, W as gsapTimeline, cA as getTransformInfos, bb as setStatusBarDarkMode, cB as convertSvgToBase64, U as Draggable, R as scaleUpAnimation, bB as gsapSet, A as isIpadPro, aW as isIpad, B as isTablet, cC as componentOnReady } from './rrule-5a2de9bb.js';
|
|
2
|
+
import { aJ as eq, u as isArray$1, a4 as isObject$2, as as isFunction$2, aO as baseFindIndex, aL as isSymbol, c6 as arrayReduce, bK as baseSlice, c7 as baseUniq, q as global$1, a1 as compact, bi as dateParse, a8 as isPresent, K as getAsyncExtraData, t as translate, i as isNativeMobile, r as isFile$1, _ as isCloudinaryLink, P as Cloudinary, M as cleanupWKWebViewImagePath, b as isWeb, z as isIphoneX, c as createCommonjsModule, p as getDefaultExportFromCjs, c8 as getWeekDays, ab as dateAdd, F as startOf, aK as endOf, k as isIonic, J as isDateAfter, c9 as resetTime, G as isDateBefore, ca as getYear, a9 as dateFormat, a6 as isSameDate, cb as day$1, aa as dateSub, cc as capitalize, cd as isToday, ce as isSameMonth, cf as isDateSameOrAfter, cg as isDateSameOrBefore, af as showActionSheet, a as isOffline, Y as translateMulti, a3 as isNullOrUndefined, j as getSession, $ as parseMarkDown, ch as removeTextStyle, bo as closeModal, b9 as isFirefox$2, bd as isDarkTheme, bh as isChromatic, T as gsapTo, S as isFinite$1, ci as FileSaver_min, w as debounce$1, cj as highcharts, ck as getMonths, a7 as dateIsValid, bX as showContextMenu, Z as gsapFromTo, l as isAndroid$1, b1 as showAlert, Q as isAnimationsDisabled, y as findParent, s as showModal, n as getModalAnimation, cl as showScanner, bL as getAugmentedNamespace, d as commonjsGlobal, m as isIOS$2, b6 as enableKeyboardResize, b7 as disableKeyboardResize, ac as Plugins, f as cordova, I as IonicNativePlugin, cm as is24Hour, E as getCssColor, V as getCurrentLanguage, b_ as getHours, b$ as getMinutes, c0 as setDateHours, c1 as setDateMinutes, bZ as getDialogPosition, C as isFullScreenFalse, at as getPermissions, cn as isCurrentLanguageChinese, aq as dispatchCustomEvent, an as showToast, b5 as isKeyboardResizeModeInactive, br as requestInterval, b8 as isSafari$3, co as isChromeForIos, bt as cancelRequestInterval, bs as getFormattedCountDownToDisplay, cp as guessCurrentTimezone, cq as TIMEZONES, cr as setDateSeconds, cs as setDateMilliseconds, ct as roundToNearestMinutes, cu as getRoundedMinutes, cv as HorizontalSlidesAnimation, cw as changeHexOpacity, b4 as MONGODB_ID_REGEX, aC as getAuthentication, ba as isForceScrollbar, cx as DashboardGsapAnimation, cy as fadeFromBottom, cz as fadeFromTop, aZ as getContrastColor, W as gsapTimeline, cA as getTransformInfos, bb as setStatusBarDarkMode, cB as convertSvgToBase64, U as Draggable, R as scaleUpAnimation, bB as gsapSet, A as isIpadPro, aW as isIpad, B as isTablet, cC as componentOnReady } from './rrule-5a2de9bb.js';
|
|
3
3
|
import { E as EventType, x as TLessonState, F as FormFieldType, a as IncentivePartType, y as FormFilterAutocompleteOperator, W as WaitlistAPIDateFormat } from './input-bar.interface-4e956599.js';
|
|
4
4
|
import { i as isLessonCompleted, c as canBeRetried, S as ScreenOrientation } from './ResizeObserver.es-a8772c31.js';
|
|
5
5
|
import { f as getAppContext, l as loadScript, z as querySelectorDeep, B as setAnimation, e as execHandlerAndStopEvent, s as showPhotoEditor, q as setColorSVG, E as EMPTYSTATE_MAP, y as querySelectorAllDeep, i as lockSwipes, k as getActiveElementShadow, o as hideShowTabbar, u as sanitizeHTML, n as hideShowSearchBar, h as getNextValueInArray, D as EMPTYSTATE_TEXT_MAP, F as EMPTYSTATE_TITLE_MAP, p as filterDuplicateItems, C as animations, A as cloudinary, m as lifecycleEvents } from './common-helpers-f3296dd7.js';
|
|
@@ -63,7 +63,7 @@ import { S as Sortable } from './sortable.esm-e5d5ca49.js';
|
|
|
63
63
|
import { m as map$1 } from './map-55451e6b.js';
|
|
64
64
|
import { i as isBoolean } from './isBoolean-80d45d8d.js';
|
|
65
65
|
import { c as createThemedClasses, a as createColorClasses, h as hostContext } from './theme-a67283b7.js';
|
|
66
|
-
import { c as getFormattedImageURL, g as getImageSize$1, a as getResizedImageSize, b as getImageScaleFactor } from './image-helpers-
|
|
66
|
+
import { c as getFormattedImageURL, g as getImageSize$1, a as getResizedImageSize, b as getImageScaleFactor } from './image-helpers-2f8f9d5d.js';
|
|
67
67
|
import { a as isAnnotationDeleted, b as isAnnotationValid, g as getElement$1, c as isAnnotationFocused, i as isAnnotationEmpty, k as isElementInsideContainer, d as getPointerCoordinates } from './annotations-helpers-d026cd25.js';
|
|
68
68
|
import { o as getDefaultAnnotationTextColor, f as saveTooltipContent, p as getAnnotationStyle, B as BUTTONS_CONFIG, A as ANIMATION_DELAY, q as getBoundingClient, t as isCanvasBlank, M as MENU_ITEMS, j as getDotToolTipElement, k as getDotInnerElement, S as SLIDER_THRESHOLD, L as LOADING_DELAY, u as prepareAnnotationsData, l as setDotIndexes, v as focusAnnotation, w as getAnnotationDraggableBounds, x as getFormattedAnnotationSize, y as getAbsoluteCenter, z as getRelativeCenter, C as showPredefinedTextsDialog, c as createDot, D as DOT_RADIUS, E as updateAnnotationLocal, F as createBaseAnnotation, G as removeLocalsFromAnnotations, H as EEditorActions, s as showDotTooltip, I as formatAnnotationsForExport, h as hideAllDotTooltips, J as deCenterAnnotation, n as getAnnotation, K as INIT_COORDS, N as setAnnotationPositionToClosestEdge } from './draggable-dots-helpers-64c79f38.js';
|
|
69
69
|
import { i as inRange } from './inRange-4b32e66e.js';
|
|
@@ -123453,7 +123453,7 @@ const YooFormDocumentDialogComponent = class {
|
|
|
123453
123453
|
icon: 'email',
|
|
123454
123454
|
iconColor: 'dark-to-light',
|
|
123455
123455
|
cssClass: isWeb(this.host) ? 'bg-royal-hover' : 'bg-royal light',
|
|
123456
|
-
isVisible: () => isDocumentEmailSupported(this.document),
|
|
123456
|
+
isVisible: () => isDocumentEmailSupported(this.document) && getPermissions().canShareByEmail,
|
|
123457
123457
|
handler: () => {
|
|
123458
123458
|
getAsyncExtraData({
|
|
123459
123459
|
type: 'email-dialog',
|
|
@@ -6,7 +6,7 @@ import { c as changeExtension, i as isGif } from './index-7a08441e.js';
|
|
|
6
6
|
import { a as getFromOfflineStorage } from './localForage-fb0baf03.js';
|
|
7
7
|
import './ResizeObserver.es-a8772c31.js';
|
|
8
8
|
import { A as cloudinary } from './common-helpers-f3296dd7.js';
|
|
9
|
-
import { d as applyViewBox, c as getFormattedImageURL } from './image-helpers-
|
|
9
|
+
import { d as applyViewBox, c as getFormattedImageURL } from './image-helpers-2f8f9d5d.js';
|
|
10
10
|
import { i as isIntersectionObserverSupported, a as intersectionObserve } from './observer-helpers-2c5c0591.js';
|
|
11
11
|
import { c as changeRgbOpacity } from './color-helpers-03a5e1b1.js';
|
|
12
12
|
import './toInteger-9e62a9cd.js';
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h, H as Host } from './index-27314512.js';
|
|
|
2
2
|
import { t as translate } from './rrule-5a2de9bb.js';
|
|
3
3
|
import './input-bar.interface-4e956599.js';
|
|
4
4
|
import './ResizeObserver.es-a8772c31.js';
|
|
5
|
-
import { u as updateSVGCustomColors } from './image-helpers-
|
|
5
|
+
import { u as updateSVGCustomColors } from './image-helpers-2f8f9d5d.js';
|
|
6
6
|
import './isUndefined-11cbe419.js';
|
|
7
7
|
import './isNumber-5a14c4d5.js';
|
|
8
8
|
import './index-7a08441e.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement, c as createEvent, H as Host, a as getAssetPath, f as forceUpdate } from './index-27314512.js';
|
|
2
|
-
import { E as getCssColor, t as translate, b as isWeb, y as findParent, a3 as isNullOrUndefined, bo as closeModal, j as getSession, K as getAsyncExtraData, bX as showContextMenu, af as showActionSheet, i as isNativeMobile, bh as isChromatic, _ as isCloudinaryLink, u as isArray, w as debounce, c4 as getAppType, m as isIOS, c as createCommonjsModule, k as isIonic, c5 as isElementClicked } from './rrule-5a2de9bb.js';
|
|
2
|
+
import { E as getCssColor, t as translate, b as isWeb, y as findParent, a3 as isNullOrUndefined, bo as closeModal, j as getSession, at as getPermissions, K as getAsyncExtraData, bX as showContextMenu, af as showActionSheet, i as isNativeMobile, bh as isChromatic, _ as isCloudinaryLink, u as isArray, w as debounce, c4 as getAppType, m as isIOS, c as createCommonjsModule, k as isIonic, c5 as isElementClicked } from './rrule-5a2de9bb.js';
|
|
3
3
|
import './input-bar.interface-4e956599.js';
|
|
4
4
|
import { n as downloadFile } from './index-7a08441e.js';
|
|
5
5
|
import './ResizeObserver.es-a8772c31.js';
|
|
@@ -11,7 +11,7 @@ import { b as setValueAndValidateInput, s as setValidator } from './form-input-h
|
|
|
11
11
|
import { g as get } from './get-3cbd3bd6.js';
|
|
12
12
|
import { f as getPhotoSVG, k as isElementInsideContainer } from './annotations-helpers-d026cd25.js';
|
|
13
13
|
import { g as getElementDimensions } from './dimensions-helpers-74309fae.js';
|
|
14
|
-
import { u as updateSVGCustomColors } from './image-helpers-
|
|
14
|
+
import { u as updateSVGCustomColors } from './image-helpers-2f8f9d5d.js';
|
|
15
15
|
import { g as getRenderer } from './grid-renderers-f81f061f.js';
|
|
16
16
|
import { d as debounce$1 } from './debounce-1a5f66d4.js';
|
|
17
17
|
import { c as cloneDeep } from './cloneDeep-7e28f486.js';
|
|
@@ -299,7 +299,7 @@ const YooFormCarouselComponent = class {
|
|
|
299
299
|
text: translate('EMAIL'),
|
|
300
300
|
icon: 'email',
|
|
301
301
|
color: 'dark',
|
|
302
|
-
isVisible: () => { var _a; return !!item && !((_a = getSession()) === null || _a === void 0 ? void 0 : _a.isExternal); },
|
|
302
|
+
isVisible: () => { var _a; return !!item && !((_a = getSession()) === null || _a === void 0 ? void 0 : _a.isExternal) && getPermissions().canShareByEmail; },
|
|
303
303
|
handler: () => {
|
|
304
304
|
const filename = (item === null || item === void 0 ? void 0 : item._filename) || new Date().getTime().toString();
|
|
305
305
|
getAsyncExtraData({
|
|
@@ -10,7 +10,7 @@ import { s as shuffle } from './shuffle-ec8e5df6.js';
|
|
|
10
10
|
import { f as findIndex } from './findIndex-f1398eac.js';
|
|
11
11
|
import { i as isString } from './isString-1673d591.js';
|
|
12
12
|
import { f as feedbackValues } from './index-2319a076.js';
|
|
13
|
-
import { l as setBlockSelection, U as setPageSelection } from './index-
|
|
13
|
+
import { l as setBlockSelection, U as setPageSelection } from './index-350d88b9.js';
|
|
14
14
|
import { d as getConfidenceDescriptionKey } from './boost-helpers-ae1115e2.js';
|
|
15
15
|
import { i as isNumber } from './isNumber-5a14c4d5.js';
|
|
16
16
|
import './isUndefined-11cbe419.js';
|
|
@@ -3,7 +3,7 @@ import { w as FORM_CREATOR_OPTIONS_ALL, A as ALL_MOBILE_FORM_FIELDS, S as Scorin
|
|
|
3
3
|
import { w as debounce, a1 as compact, t as translate, Z as gsapFromTo, Y as translateMulti, a3 as isNullOrUndefined, T as gsapTo, c2 as Power3 } from './rrule-5a2de9bb.js';
|
|
4
4
|
import { y as findMaxScore, z as isNotApplicable } from './form-creator-helpers-e288d1e2.js';
|
|
5
5
|
import { N as NON_CONDITION_CATEGORIES } from './index-4fa684b9.js';
|
|
6
|
-
import { l as setBlockSelection, R as setRestrictionAndConditionActions, S as starRatingMaxDefault, T as filterSequentialFields, I as setRestrictionAndFieldConditions, J as setChildFields } from './index-
|
|
6
|
+
import { l as setBlockSelection, R as setRestrictionAndConditionActions, S as starRatingMaxDefault, T as filterSequentialFields, I as setRestrictionAndFieldConditions, J as setChildFields } from './index-350d88b9.js';
|
|
7
7
|
import './isNumber-5a14c4d5.js';
|
|
8
8
|
import './isEqual-17ab50de.js';
|
|
9
9
|
import './_baseIsEqual-b74e0d4d.js';
|
|
@@ -5,7 +5,7 @@ import './ResizeObserver.es-a8772c31.js';
|
|
|
5
5
|
import { f as getAppContext } from './common-helpers-f3296dd7.js';
|
|
6
6
|
import { f as fieldStateOptions } from './index-d2e5da02.js';
|
|
7
7
|
import { S as Sortable } from './sortable.esm-e5d5ca49.js';
|
|
8
|
-
import { I as setRestrictionAndFieldConditions, P as getWorkflowFieldState, O as onWorkflowStepClicked } from './index-
|
|
8
|
+
import { I as setRestrictionAndFieldConditions, P as getWorkflowFieldState, O as onWorkflowStepClicked } from './index-350d88b9.js';
|
|
9
9
|
import { g as getUserDisplayName } from './entities-helpers-122c20c3.js';
|
|
10
10
|
import { g as groupsFullResolver } from './entities-helpers-2876d199.js';
|
|
11
11
|
import './isUndefined-11cbe419.js';
|
|
@@ -248,7 +248,7 @@ const YooFormCreatorPageCardListComponent = class {
|
|
|
248
248
|
if (this.workflowVisibility) {
|
|
249
249
|
pageEntry.pageWorkflowState = this.workflowVisibility;
|
|
250
250
|
if ((_a = this.pagePermissions) === null || _a === void 0 ? void 0 : _a.length) {
|
|
251
|
-
const pagePermission = this.pagePermissions.find((permission) => permission.name === slide.title);
|
|
251
|
+
const pagePermission = this.pagePermissions.find((permission) => permission.name === slide._id || permission.name === slide.title);
|
|
252
252
|
pageEntry.pageWorkflowState = getWorkflowFieldState(pagePermission, this.workflowVisibility);
|
|
253
253
|
}
|
|
254
254
|
}
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host } from './index-2
|
|
|
2
2
|
import { s as showModal, t as translate, Y as translateMulti, b1 as showAlert, bo as closeModal } from './rrule-5a2de9bb.js';
|
|
3
3
|
import './input-bar.interface-4e956599.js';
|
|
4
4
|
import { f as fieldStateOptions } from './index-d2e5da02.js';
|
|
5
|
-
import { R as setRestrictionAndConditionActions, l as setBlockSelection } from './index-
|
|
5
|
+
import { R as setRestrictionAndConditionActions, l as setBlockSelection } from './index-350d88b9.js';
|
|
6
6
|
import './index-7a08441e.js';
|
|
7
7
|
import './document-29cc0400.js';
|
|
8
8
|
import './validate-691c9af1.js';
|
|
@@ -9,7 +9,7 @@ import { d as devices } from './device.interface-45f11d19.js';
|
|
|
9
9
|
import { c as conditionBlocksConfig, W as WorkflowMode } from './card-video.interface-5de361ba.js';
|
|
10
10
|
import { S as Sortable } from './sortable.esm-e5d5ca49.js';
|
|
11
11
|
import { e as formatSlides, t as cleanUnusedTranslations, v as updateScoringWithTranslations, w as updateAuditWithTranslations } from './form-creator-helpers-e288d1e2.js';
|
|
12
|
-
import { K as resetKey, L as resetFieldTranslations, t as translateAll, M as isAlreadyTranslated, N as addRow, O as onWorkflowStepClicked, P as getWorkflowFieldState } from './index-
|
|
12
|
+
import { K as resetKey, L as resetFieldTranslations, t as translateAll, M as isAlreadyTranslated, N as addRow, O as onWorkflowStepClicked, P as getWorkflowFieldState } from './index-350d88b9.js';
|
|
13
13
|
import { i as isEqual } from './isEqual-17ab50de.js';
|
|
14
14
|
import { r as remove } from './remove-ecc59e7c.js';
|
|
15
15
|
import { f as fieldStateOptions } from './index-d2e5da02.js';
|
|
@@ -1238,7 +1238,7 @@ const YooWorkflowComponent = class {
|
|
|
1238
1238
|
onPageStateChange(ev) {
|
|
1239
1239
|
var _a, _b, _c, _d;
|
|
1240
1240
|
if (this.internalMissionDescription.slides[ev.detail.index]) {
|
|
1241
|
-
const pageName = this.internalMissionDescription.slides[ev.detail.index].title;
|
|
1241
|
+
const pageName = this.internalMissionDescription.slides[ev.detail.index]._id || this.internalMissionDescription.slides[ev.detail.index].title;
|
|
1242
1242
|
const fieldPermission = { name: pageName };
|
|
1243
1243
|
switch (ev.detail.newState.title) {
|
|
1244
1244
|
case 'EDITABLE':
|
|
@@ -1343,8 +1343,9 @@ const YooWorkflowComponent = class {
|
|
|
1343
1343
|
selected: this.isFieldsAccordionOpen
|
|
1344
1344
|
}
|
|
1345
1345
|
], iconPairLeft: ARROW_PAIR, showBottomBorder: true, forceEntryUpdate: true, allowMultipleSelection: true, onAccordionSelected: (ev) => (this.isFieldsAccordionOpen = ev.detail.selected) }, h("div", { slot: "CONTENTS" }, (_e = (_d = (_c = this.internalMissionDescription) === null || _c === void 0 ? void 0 : _c.slides[this.currentPageSelected]) === null || _d === void 0 ? void 0 : _d.items) === null || _e === void 0 ? void 0 : _e.map((item) => {
|
|
1346
|
-
var _a, _b;
|
|
1347
|
-
const
|
|
1346
|
+
var _a, _b, _c, _d;
|
|
1347
|
+
const slideName = ((_a = this.internalMissionDescription) === null || _a === void 0 ? void 0 : _a.slides[this.currentPageSelected]._id) || ((_b = this.internalMissionDescription) === null || _b === void 0 ? void 0 : _b.slides[this.currentPageSelected].title);
|
|
1348
|
+
const pagePermission = (_d = (_c = this.currentWorkflowStep) === null || _c === void 0 ? void 0 : _c.pagesPermission) === null || _d === void 0 ? void 0 : _d.find((permission) => permission.name === slideName);
|
|
1348
1349
|
const pageState = getWorkflowFieldState(pagePermission, this.defaultFieldState);
|
|
1349
1350
|
return this.renderSimpleBlock(item, pageState);
|
|
1350
1351
|
}))));
|
|
@@ -3,7 +3,7 @@ import { o as TRANSLATABLE_FORM_FIELD_ATTRIBUTES, F as FormFieldType, m as COMPL
|
|
|
3
3
|
import { w as debounce, a1 as compact, V as getCurrentLanguage, Y as translateMulti, t as translate, a4 as isObject, bo as closeModal } from './rrule-5a2de9bb.js';
|
|
4
4
|
import { e as formatSlides, x as getLocaleTranslation, f as findField } from './form-creator-helpers-e288d1e2.js';
|
|
5
5
|
import { i as isHTML } from './string-helpers-9646d8e3.js';
|
|
6
|
-
import { Q as updateLocaleTranslation } from './index-
|
|
6
|
+
import { Q as updateLocaleTranslation } from './index-350d88b9.js';
|
|
7
7
|
import { c as cloneDeep } from './cloneDeep-7e28f486.js';
|
|
8
8
|
import { i as isEmpty } from './isEmpty-7879f636.js';
|
|
9
9
|
import { i as isString } from './isString-1673d591.js';
|
|
@@ -8,7 +8,7 @@ import './ResizeObserver.es-a8772c31.js';
|
|
|
8
8
|
import { f as getAppContext } from './common-helpers-f3296dd7.js';
|
|
9
9
|
import { S as Sortable } from './sortable.esm-e5d5ca49.js';
|
|
10
10
|
import { N as NON_CONDITION_CATEGORIES, A as ARROW_PAIR } from './index-4fa684b9.js';
|
|
11
|
-
import { a as addNewIdsToSlide, s as serializeScoringValuePairs, u as updateSelectedFields, i as isScoring, g as getExpandableBlockReference, r as removeCondition, b as removePageCondtion, c as addNewUnattachedParentConditions, d as deleteFieldAndRemoveConditionReferences, e as duplicateField, f as deleteCondition, h as deleteUnattachedParentConditions, j as findCondition, k as updateCondition, l as setBlockSelection, m as cleanCustomFormFieldSlides, t as translateAll, n as cleanUnattachedParentConditions, o as removeSelectedItems, p as setSelectedScoring, q as getFieldsWithScoring, v as populateFieldsWithScoring, w as setFormFieldIndex, x as getTotalFields, y as setParentConditions, z as updateUnattatchedCondition, A as doesSlidePageHaveItems, B as getNumberOfSequentialFields, C as getDefaultCondition, D as addNewParentCondition, E as createNewIdsForCustomFields, F as getDefaultField, G as checkForFieldAttribute, H as populateMissingValues, I as setRestrictionAndFieldConditions, J as setChildFields } from './index-
|
|
11
|
+
import { a as addNewIdsToSlide, s as serializeScoringValuePairs, u as updateSelectedFields, i as isScoring, g as getExpandableBlockReference, r as removeCondition, b as removePageCondtion, c as addNewUnattachedParentConditions, d as deleteFieldAndRemoveConditionReferences, e as duplicateField, f as deleteCondition, h as deleteUnattachedParentConditions, j as findCondition, k as updateCondition, l as setBlockSelection, m as cleanCustomFormFieldSlides, t as translateAll, n as cleanUnattachedParentConditions, o as removeSelectedItems, p as setSelectedScoring, q as getFieldsWithScoring, v as populateFieldsWithScoring, w as setFormFieldIndex, x as getTotalFields, y as setParentConditions, z as updateUnattatchedCondition, A as doesSlidePageHaveItems, B as getNumberOfSequentialFields, C as getDefaultCondition, D as addNewParentCondition, E as createNewIdsForCustomFields, F as getDefaultField, G as checkForFieldAttribute, H as populateMissingValues, I as setRestrictionAndFieldConditions, J as setChildFields } from './index-350d88b9.js';
|
|
12
12
|
import { c as cloneDeep } from './cloneDeep-7e28f486.js';
|
|
13
13
|
import { o as orderBy } from './orderBy-c365859b.js';
|
|
14
14
|
import './document-29cc0400.js';
|
|
@@ -892,6 +892,7 @@ const YooFormCreatorComponent = class {
|
|
|
892
892
|
this.selectedPageIndex = index;
|
|
893
893
|
}
|
|
894
894
|
async addNewPage(newPage, index) {
|
|
895
|
+
newPage = Object.assign({ _id: getUUID() }, newPage);
|
|
895
896
|
this.currentSlides.splice(index, 0, newPage);
|
|
896
897
|
this.selectedPageIndex = index;
|
|
897
898
|
this.hasPageChanged = index;
|
|
@@ -1703,26 +1704,23 @@ const YooFormCreatorComponent = class {
|
|
|
1703
1704
|
}
|
|
1704
1705
|
}
|
|
1705
1706
|
onCustomFieldAdded(customFieldId, selectedCustomFormField, indexToAdd) {
|
|
1706
|
-
var _a, _b, _c, _d;
|
|
1707
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1707
1708
|
if (!this.currentSlides[this.selectedPageIndex]) {
|
|
1708
1709
|
return;
|
|
1709
1710
|
}
|
|
1711
|
+
indexToAdd = isNullOrUndefined(indexToAdd) ? (_b = (_a = this.currentSlides[this.selectedPageIndex]) === null || _a === void 0 ? void 0 : _a.items) === null || _b === void 0 ? void 0 : _b.length : indexToAdd;
|
|
1710
1712
|
if (!selectedCustomFormField) {
|
|
1711
|
-
selectedCustomFormField = (
|
|
1713
|
+
selectedCustomFormField = (_c = this.customFormFields) === null || _c === void 0 ? void 0 : _c.find((customField) => customField._id === customFieldId);
|
|
1712
1714
|
}
|
|
1713
|
-
const newFields = createNewIdsForCustomFields(selectedCustomFormField.fields);
|
|
1715
|
+
const newFields = createNewIdsForCustomFields(selectedCustomFormField.fields, ((_d = this.missionDescription) === null || _d === void 0 ? void 0 : _d.type) === 'dataset', { slideIndex: this.selectedPageIndex, itemIndex: indexToAdd });
|
|
1714
1716
|
newFields === null || newFields === void 0 ? void 0 : newFields.forEach((field) => {
|
|
1715
|
-
var _a;
|
|
1717
|
+
var _a, _b;
|
|
1716
1718
|
field.slideIndex = this.selectedPageIndex;
|
|
1717
1719
|
field.slideTitle = (_a = this.currentSlides[this.selectedPageIndex]) === null || _a === void 0 ? void 0 : _a.title;
|
|
1720
|
+
field.slideId = (_b = this.currentSlides[this.selectedPageIndex]) === null || _b === void 0 ? void 0 : _b._id;
|
|
1718
1721
|
});
|
|
1719
|
-
if (((
|
|
1720
|
-
|
|
1721
|
-
this.currentSlides[this.selectedPageIndex].items = [...(_d = this.currentSlides[this.selectedPageIndex]) === null || _d === void 0 ? void 0 : _d.items, ...newFields];
|
|
1722
|
-
}
|
|
1723
|
-
else {
|
|
1724
|
-
this.currentSlides[this.selectedPageIndex].items.splice(indexToAdd, 0, ...newFields);
|
|
1725
|
-
}
|
|
1722
|
+
if (((_f = (_e = this.currentSlides[this.selectedPageIndex]) === null || _e === void 0 ? void 0 : _e.items) === null || _f === void 0 ? void 0 : _f.length) > 0) {
|
|
1723
|
+
this.currentSlides[this.selectedPageIndex].items.splice(indexToAdd, 0, ...newFields);
|
|
1726
1724
|
}
|
|
1727
1725
|
else {
|
|
1728
1726
|
this.currentSlides[this.selectedPageIndex].items = newFields;
|
|
@@ -134,6 +134,12 @@ const YooMissionDetailComponent = class {
|
|
|
134
134
|
return (user &&
|
|
135
135
|
(user.email || user.firstName || user.lastName) && (h("li", { class: "menu-item", onClick: () => this.showUser.emit(user) }, h("div", { class: "menu-left" }, h("yoo-tag", { size: "medium", color: "app-color", iconOnlyColor: "light", icon: icon }), h("div", { class: "border" })), h("div", { class: "menu-right" }, h("div", { class: "menu-title" }, translate(title)), h("div", { class: "menu-content menu-requestor" }, h("div", { class: "menu-inner-container" }, h("yoo-avatar", { size: "small", user: user }), h("span", { class: "text" }, user.firstName + ' ' + user.lastName), date && h("div", { class: "mission-date" }, pipes.dateFormat.transform(date, 'L'))), withExtraActions && ((_a = this.extraActions) === null || _a === void 0 ? void 0 : _a.length) > 0 && user && this.renderExtraActions(user))))));
|
|
136
136
|
}
|
|
137
|
+
renderDuration() {
|
|
138
|
+
var _a;
|
|
139
|
+
if ((_a = this.mission) === null || _a === void 0 ? void 0 : _a.duration) {
|
|
140
|
+
return (h("li", { class: "menu-item" }, h("div", { class: "menu-left" }, h("span", { class: "menu-icon" }, h("yoo-tag", { size: "medium", icon: "ongoing", color: "app-color" })), h("div", { class: "border" })), h("div", { class: "menu-right" }, h("div", { class: "menu-title" }, translate('MISSIONDURATION')), h("div", { class: "menu-content" }, this.mission.duration))));
|
|
141
|
+
}
|
|
142
|
+
}
|
|
137
143
|
renderWorkflowHistory() {
|
|
138
144
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
139
145
|
return (h("yoo-workflow-state", { steps: (_c = (_b = (_a = this.mission) === null || _a === void 0 ? void 0 : _a.description) === null || _b === void 0 ? void 0 : _b.workflow) === null || _c === void 0 ? void 0 : _c.steps, history: (_d = this.mission) === null || _d === void 0 ? void 0 : _d.workflowHistory, state: (_e = this.mission) === null || _e === void 0 ? void 0 : _e.workflowState, status: (_f = this.mission) === null || _f === void 0 ? void 0 : _f.status, owner: (_g = this.mission) === null || _g === void 0 ? void 0 : _g.owner }));
|
|
@@ -158,7 +164,7 @@ const YooMissionDetailComponent = class {
|
|
|
158
164
|
web: !this.isMobile
|
|
159
165
|
} }, h("yoo-ion-content", { class: "bg-light-to-dark no-scrollbar", scrollEvents: true }, h("div", null, h("div", { class: "mission-content" }, h("yoo-mission-heading", { animated: this.animated, mission: this.mission, progress: this.progress && this.progress.value ? this.progress.value : null }), h("ul", { class: "menu" }, this.mission.description &&
|
|
160
166
|
this.mission.description.distanceMin &&
|
|
161
|
-
this.renderSimpleSection(this.mission.description.distanceMin.toLocaleString(), 'GEOFENCINGDISTANCEMIN', 'pin-selected'), this.renderPriority(), description && description.text && this.renderSimpleSection(description.text, descriptionTitle, 'lesson'), this.mission.address && !isStoreManager && this.renderMissionLocation(), ((_a = this.mission.aisle) === null || _a === void 0 ? void 0 : _a.title) && this.renderSimpleSection(this.mission.aisle.title, 'AISLE', 'aisles'), h("yoo-mission-contents", { slidesNumber: this.slidesNumber, photosNumber: this.photosNumber, questionsNumber: this.questionsNumber }), location && (location.contactname || location.contactphone || location.contactemail) && (h("li", { class: "menu-item" }, h("div", { class: "menu-left" }, h("yoo-tag", { icon: "contact", iconOnlyColor: "light", size: "medium", color: "app-color" }), h("div", { class: "border" })), h("div", { class: "menu-right" }, h("div", { class: "menu-title" }, translate('CONTACT')), h("div", { class: "menu-content" }, location.contactname && h("div", { class: "menu-content-contact", innerHTML: location.contactname }), location.contactemail && h("div", { class: "menu-content-contact", innerHTML: location.contactemail }), location.contactphone && h("div", { class: "menu-content-contact", innerHTML: location.contactphone }))))), this.mission.comments && this.renderSimpleSection(this.mission.comments, 'NOTES', 'note'), location && location.info && this.renderSimpleSection(location.info, 'YOOBICINFO', 'info'), this.mission.originalUnvalidatedReason && this.renderSimpleSection(this.mission.originalUnvalidatedReason, 'COMMENTS', 'comment'), this.renderUserSection(creator, 'REQUESTOR', 'author', this.mission._ect), this.mission.hasWorkflow && ((_d = (_c = (_b = this.mission) === null || _b === void 0 ? void 0 : _b.description) === null || _c === void 0 ? void 0 : _c.workflow) === null || _d === void 0 ? void 0 : _d.steps) && this.renderWorkflowHistory(), !((_e = this.mission) === null || _e === void 0 ? void 0 : _e.hasWorkflow) &&
|
|
167
|
+
this.renderSimpleSection(this.mission.description.distanceMin.toLocaleString(), 'GEOFENCINGDISTANCEMIN', 'pin-selected'), this.renderPriority(), description && description.text && this.renderSimpleSection(description.text, descriptionTitle, 'lesson'), this.mission.address && !isStoreManager && this.renderMissionLocation(), ((_a = this.mission.aisle) === null || _a === void 0 ? void 0 : _a.title) && this.renderSimpleSection(this.mission.aisle.title, 'AISLE', 'aisles'), h("yoo-mission-contents", { slidesNumber: this.slidesNumber, photosNumber: this.photosNumber, questionsNumber: this.questionsNumber }), this.renderDuration(), location && (location.contactname || location.contactphone || location.contactemail) && (h("li", { class: "menu-item" }, h("div", { class: "menu-left" }, h("yoo-tag", { icon: "contact", iconOnlyColor: "light", size: "medium", color: "app-color" }), h("div", { class: "border" })), h("div", { class: "menu-right" }, h("div", { class: "menu-title" }, translate('CONTACT')), h("div", { class: "menu-content" }, location.contactname && h("div", { class: "menu-content-contact", innerHTML: location.contactname }), location.contactemail && h("div", { class: "menu-content-contact", innerHTML: location.contactemail }), location.contactphone && h("div", { class: "menu-content-contact", innerHTML: location.contactphone }))))), this.mission.comments && this.renderSimpleSection(this.mission.comments, 'NOTES', 'note'), location && location.info && this.renderSimpleSection(location.info, 'YOOBICINFO', 'info'), this.mission.originalUnvalidatedReason && this.renderSimpleSection(this.mission.originalUnvalidatedReason, 'COMMENTS', 'comment'), this.renderUserSection(creator, 'REQUESTOR', 'author', this.mission._ect), this.mission.hasWorkflow && ((_d = (_c = (_b = this.mission) === null || _b === void 0 ? void 0 : _b.description) === null || _c === void 0 ? void 0 : _c.workflow) === null || _d === void 0 ? void 0 : _d.steps) && this.renderWorkflowHistory(), !((_e = this.mission) === null || _e === void 0 ? void 0 : _e.hasWorkflow) &&
|
|
162
168
|
owner &&
|
|
163
169
|
owner._id &&
|
|
164
170
|
owner._id !== getSession().userId &&
|
|
@@ -178,7 +184,7 @@ const YooMissionDetailComponent = class {
|
|
|
178
184
|
renderTodo() {
|
|
179
185
|
var _a;
|
|
180
186
|
const isStoreManager = getSession().user && getSession().user.locationRef && getSession().user.locationRef === this.mission.locationRef;
|
|
181
|
-
return (this.mission && (h("div", { class: 'mission-detail mission-todo ' + (this.isMobile ? '' : 'web') }, h("div", { class: "mission-content" }, h("yoo-mission-heading", { animated: this.animated, mission: this.mission, progress: this.progress && this.progress.value && this.progress.value }), h("ul", { class: "menu" }, this.mission.todo && this.mission.todo.field && this.mission.todo.fieldValue && this.renderMenuItem('LINKEDTO', true), this.mission.todo && this.mission.todo.priority && this.renderMenuItem('PRIORITY', false), this.renderUserSection(this.mission.creator, 'CREATEDBY', 'user', this.mission._ect, true), this.renderUserSection(this.mission.owner, 'ASSIGNTO', 'user', null, true), this.mission.address && !isStoreManager && this.renderSimpleSection(this.mission.address, 'ADDRESS', 'map'), ((_a = this.mission.aisle) === null || _a === void 0 ? void 0 : _a.title) && !isStoreManager && this.renderSimpleSection(this.mission.aisle.title, 'AISLE', 'aisles'), this.mission.originalUnvalidatedReason && this.renderSimpleSection(this.mission.originalUnvalidatedReason, 'COMMENTS', 'comment')), h("slot", null)))));
|
|
187
|
+
return (this.mission && (h("div", { class: 'mission-detail mission-todo ' + (this.isMobile ? '' : 'web') }, h("div", { class: "mission-content" }, h("yoo-mission-heading", { animated: this.animated, mission: this.mission, progress: this.progress && this.progress.value && this.progress.value }), h("ul", { class: "menu" }, this.mission.todo && this.mission.todo.field && this.mission.todo.fieldValue && this.renderMenuItem('LINKEDTO', true), this.mission.todo && this.mission.todo.priority && this.renderMenuItem('PRIORITY', false), this.renderUserSection(this.mission.creator, 'CREATEDBY', 'user', this.mission._ect, true), this.renderUserSection(this.mission.owner, 'ASSIGNTO', 'user', null, true), this.mission.address && !isStoreManager && this.renderSimpleSection(this.mission.address, 'ADDRESS', 'map'), ((_a = this.mission.aisle) === null || _a === void 0 ? void 0 : _a.title) && !isStoreManager && this.renderSimpleSection(this.mission.aisle.title, 'AISLE', 'aisles'), this.renderDuration(), this.mission.originalUnvalidatedReason && this.renderSimpleSection(this.mission.originalUnvalidatedReason, 'COMMENTS', 'comment')), h("slot", null)))));
|
|
182
188
|
}
|
|
183
189
|
renderBasedOnType() {
|
|
184
190
|
if (this.mission && this.mission.type) {
|
|
@@ -3,7 +3,7 @@ import { E as getCssColor, P as Cloudinary, b as isWeb } from './rrule-5a2de9bb.
|
|
|
3
3
|
import './input-bar.interface-4e956599.js';
|
|
4
4
|
import './ResizeObserver.es-a8772c31.js';
|
|
5
5
|
import { f as getAppContext } from './common-helpers-f3296dd7.js';
|
|
6
|
-
import { u as updateSVGCustomColors } from './image-helpers-
|
|
6
|
+
import { u as updateSVGCustomColors } from './image-helpers-2f8f9d5d.js';
|
|
7
7
|
import { i as isNumber } from './isNumber-5a14c4d5.js';
|
|
8
8
|
import { g as get } from './get-3cbd3bd6.js';
|
|
9
9
|
import './isUndefined-11cbe419.js';
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, a as getAssetPath, H as Hos
|
|
|
2
2
|
import { bh as isChromatic, t as translate } from './rrule-5a2de9bb.js';
|
|
3
3
|
import './input-bar.interface-4e956599.js';
|
|
4
4
|
import './ResizeObserver.es-a8772c31.js';
|
|
5
|
-
import { u as updateSVGCustomColors } from './image-helpers-
|
|
5
|
+
import { u as updateSVGCustomColors } from './image-helpers-2f8f9d5d.js';
|
|
6
6
|
import './isUndefined-11cbe419.js';
|
|
7
7
|
import './isNumber-5a14c4d5.js';
|
|
8
8
|
import './index-7a08441e.js';
|
|
@@ -41,6 +41,7 @@ export declare class YooMissionDetailComponent {
|
|
|
41
41
|
renderServiceData(): any;
|
|
42
42
|
renderExtraActions(user: IUser): any;
|
|
43
43
|
renderUserSection(user: IUser, title: string, icon: TIconName, date?: string, withExtraActions?: boolean): any;
|
|
44
|
+
renderDuration(): any;
|
|
44
45
|
renderWorkflowHistory(): any;
|
|
45
46
|
renderMission(): any[];
|
|
46
47
|
renderMenuItem(title: string, withContent?: boolean): any;
|
|
@@ -182,7 +182,10 @@ export declare function cleanCustomFormFieldSlides(selectedFields: IFormField[],
|
|
|
182
182
|
cleanedFields: IFormField[];
|
|
183
183
|
removedConditionIds: string[];
|
|
184
184
|
};
|
|
185
|
-
export declare function createNewIdsForCustomFields(customFields: IFormField[]
|
|
185
|
+
export declare function createNewIdsForCustomFields(customFields: IFormField[], isCustomDataSet: boolean, fieldLocation: {
|
|
186
|
+
slideIndex: number;
|
|
187
|
+
itemIndex: number;
|
|
188
|
+
}): IFormField[];
|
|
186
189
|
export declare function resetKey(entity: IPlan | IPlanSection | ISlide | IFormField | IMissionDescription | IScoring, path: string, translations: ITranslation[]): void;
|
|
187
190
|
export declare function resetFieldTranslations(f: IFormField, translations: ITranslation[]): void;
|
|
188
191
|
export declare function deleteComplexValueImageTranslations(path: string, f: IFormField, translations: ITranslation[]): void;
|
|
@@ -30,5 +30,5 @@ export declare class IConditionalField extends IEntity {
|
|
|
30
30
|
export declare type ConditionType = 'field' | 'tags' | 'groups';
|
|
31
31
|
export declare type ConditionOperator = 'notequals' | 'equals' | 'in' | 'notin' | 'greaterthan' | 'lessthan' | 'between';
|
|
32
32
|
export declare type ConditionValue = 'fieldvalue' | 'truefalse' | 'string' | 'number' | 'date' | 'time' | 'datetime';
|
|
33
|
-
export declare type TROLE = 'aisle' | 'academy' | 'academyplus' | 'admin' | 'anonymous' | 'appcreator' | 'archiver' | 'bi' | 'bluetooth' | 'boost_admin' | 'boost_ai' | 'boost_battle' | 'boost_calendar' | 'boost_collaboration' | 'boost_incentive' | 'boost_knowledgebase' | 'boost_manager' | 'boost_microlearning' | 'boost_yext' | 'calendaruser' | 'campaigntodo' | 'clientadmin' | 'creator' | 'dashboard' | 'dataset' | 'documentsuser' | 'eventcreator' | 'followup' | 'followupnouser' | 'healthscore' | 'homestoreinsights' | 'imagereco' | 'instagram' | 'inventory' | 'kiosk' | 'liveshopping' | 'liveshoppingmanager' | 'livevideo' | 'manager' | 'missionanalysis' | 'missionassign' | 'missionviewer' | 'newscreator' | 'newsfeeduser' | 'newspublisher' | 'newsuser' | 'nochat' | 'nogroupchat' | 'nodirectchat' | 'noleaderboard' | 'nopublicevent' | 'pharmaone' | 'polluser' | 'pricecheck' | 'project' | 'projecteditor' | 'productbatch' | 'profilenoedit' | 'quora' | 'retailnext' | 'salesai' | 'scandit' | 'scheduler' | 'score' | 'scorm' | 'service' | 'serviceuser' | 'socialsharing' | 'sso' | 'stat' | 'statservice' | 'store' | 'storeinsights' | 'superadmin' | 'supervisor' | 'taskassign' | 'taskcreator' | 'taskuser' | 'team' | 'teamplus' | 'todo' | 'todolocation' | 'trial' | 'videocall' | 'visit' | 'visitmanager' | 'viewstat' | 'waitlist' | 'waitliststat' | 'virtualshopping' | 'virtualshoppingstat' | 'yoobic' | 'workflow' | 'workplace' | 'doccreator';
|
|
33
|
+
export declare type TROLE = 'aisle' | 'academy' | 'academyplus' | 'admin' | 'anonymous' | 'appcreator' | 'archiver' | 'bi' | 'bluetooth' | 'boost_admin' | 'boost_ai' | 'boost_battle' | 'boost_calendar' | 'boost_collaboration' | 'boost_incentive' | 'boost_knowledgebase' | 'boost_manager' | 'boost_microlearning' | 'boost_yext' | 'calendaruser' | 'campaigntodo' | 'clientadmin' | 'creator' | 'dashboard' | 'dataset' | 'documentsuser' | 'eventcreator' | 'followup' | 'followupnouser' | 'healthscore' | 'homestoreinsights' | 'imagereco' | 'instagram' | 'inventory' | 'kiosk' | 'liveshopping' | 'liveshoppingmanager' | 'livevideo' | 'manager' | 'missionanalysis' | 'missionassign' | 'missionviewer' | 'newscreator' | 'newsfeeduser' | 'newspublisher' | 'newsuser' | 'nochat' | 'nosharebyemail' | 'nogroupchat' | 'nodirectchat' | 'noleaderboard' | 'nopublicevent' | 'pharmaone' | 'polluser' | 'pricecheck' | 'project' | 'projecteditor' | 'productbatch' | 'profilenoedit' | 'quora' | 'retailnext' | 'salesai' | 'scandit' | 'scheduler' | 'score' | 'scorm' | 'service' | 'serviceuser' | 'socialsharing' | 'sso' | 'stat' | 'statservice' | 'store' | 'storeinsights' | 'superadmin' | 'supervisor' | 'taskassign' | 'taskcreator' | 'taskuser' | 'team' | 'teamplus' | 'todo' | 'todolocation' | 'trial' | 'videocall' | 'visit' | 'visitmanager' | 'viewstat' | 'waitlist' | 'waitliststat' | 'virtualshopping' | 'virtualshoppingstat' | 'yoobic' | 'workflow' | 'workplace' | 'doccreator';
|
|
34
34
|
export declare const ROLES: TROLE[];
|
|
@@ -37,6 +37,7 @@ export interface IWorkflowStepAssignmentOptions {
|
|
|
37
37
|
export declare type TWorkflowStepGlobalPermission = 'edit' | 'readonly' | 'hidden';
|
|
38
38
|
export interface IWorkflowStepFieldPermission {
|
|
39
39
|
name: string;
|
|
40
|
+
_id?: string;
|
|
40
41
|
editable?: boolean;
|
|
41
42
|
readonly?: boolean;
|
|
42
43
|
hidden?: boolean;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as o,H as a,g as i}from"./p-c26cc6ff.js";import{k as r,t as n,b as s,a as p,Y as l,j as c}from"./p-a966475f.js";import"./p-4d956bd4.js";import{p as d}from"./p-cf2b3a56.js";import"./p-b5241164.js";import{w as m,c as b}from"./p-33b2d3a2.js";import"./p-935fbfac.js";import"./p-2043b4c7.js";import"./p-0dae56e6.js";import"./p-0bb947fc.js";import"./p-4ae61297.js";import"./p-bdb9f4f1.js";import"./p-12bedee1.js";import"./p-e1378940.js";import"./p-43f71ef3.js";import"./p-a1142cd3.js";import"./p-b5ba03fd.js";import"./p-56bcc009.js";import"./p-baaa30cf.js";import"./p-c5108113.js";import"./p-e3093327.js";import"./p-179b66ff.js";import"./p-ba705441.js";import"./p-cfca4271.js";import"./p-bd19a341.js";const h=class{constructor(o){t(this,o),this.selectLocation=e(this,"selectLocation",7),this.book=e(this,"book",7),this.showScoreChart=e(this,"showScoreChart",7),this.showUser=e(this,"showUser",7),this.shouldClose=e(this,"shouldClose",7),this.animated=!0}componentWillLoad(){this.isMobile=r(this.host)}getSizeContainer(){let t=window.innerHeight;return t=this.tagContainer?m(this.host,t,this.tagContainer):m(this.host,t),t=b(t,".mission-footer",this.host),{height:t+"px"}}onBook(t,e){e.stopPropagation(),this.book.emit(t)}onScoreSelect(t){this.showScoreChart.emit(t)}onCloseIconClicked(){this.shouldClose.emit(!0)}renderPriority(){return this.mission.priority&&o("li",{class:"menu-item"},o("div",{class:"menu-left"},o("yoo-tag",{icon:"priority",iconOnlyColor:"light",size:"medium",color:"app-color"}),o("div",{class:"border"})),o("div",{class:"menu-right"},o("div",{class:"menu-title"},n("PRIORITY")),o("div",{class:"menu-content"},"P",this.mission.priority)))}renderButtonFooter(){if(this.isBookable||this.canParticipate){let t;return!this.mission.status&&this.isBookable?t=[{text:n("START"),size:s(this.host)?"medium":"large",color:"app-color",handler:t=>this.onBook("start",t)}]:(t=p()||!this.isBookable?[]:[{text:n("UNBOOK"),size:s(this.host)?"medium":"large",cssClass:"unbook",color:"light",handler:t=>this.onBook("unbook",t)}],t=[...t,{text:n("CONTINUE"),size:s(this.host)?"medium":"large",cssClass:"continue",color:"app-color",handler:t=>this.onBook("continue",t)}]),o("yoo-form-footer",{buttons:t})}return null}renderSimpleSection(t,e,a){return o("li",{class:"menu-item"},o("div",{class:"menu-left"},o("yoo-tag",{size:"medium",icon:a,color:"app-color",iconOnlyColor:"light"}),o("div",{class:"border"})),o("div",{class:"menu-right"},o("div",{class:"menu-title"},l(e)),o("div",{class:"menu-content",innerHTML:l(t)})))}renderMissionLocation(){return o("li",{class:"menu-item",onClick:()=>this.selectLocation.emit()},o("div",{class:"menu-left"},o("span",{class:"menu-icon"},o("yoo-tag",{size:"medium",icon:"map",color:"app-color"})),o("div",{class:"border"})),o("div",{class:"menu-right"},o("div",{class:"menu-title"},n("YOOBICSTORE")),o("div",{class:"menu-content"},this.mission.address)))}renderServiceData(){const t={title:"GENRAL",items:[]};return this.serviceSlides&&this.serviceSlides.length>0&&this.serviceSlides.forEach((e=>{e.items&&e.items.length>0&&(t.items=t.items.concat(e.items))})),o("li",{class:"menu-item"},o("div",{class:"menu-left"},o("yoo-tag",{color:"app-color",size:"medium",icon:"mission",iconOnlyColor:"light"}),o("div",{class:"border"})),o("div",{class:"menu-right"},o("div",{class:"menu-title"},n("MYREQUEST")),o("div",{class:"menu-content"},o("yoo-form-dynamic",{class:"inline",slides:[t],data:this.mission.serviceData,forceReadonly:!0,suffix:".value",animated:!1,showRecap:!1}))))}renderExtraActions(t){const e=this.extraActions.filter((e=>!(null==e?void 0:e.isVisible)||e.isVisible(t)));if(e.length>0)return o("div",{class:"extra-action-container"},e.map((e=>o("yoo-icon",{name:null==e?void 0:e.icon(),color:null==e?void 0:e.iconColor(),onClick:o=>((e,o)=>{e.stopPropagation(),(null==o?void 0:o.handler)&&o.handler(t)})(o,e)}))))}renderUserSection(t,e,a,i,r){var s;return t&&(t.email||t.firstName||t.lastName)&&o("li",{class:"menu-item",onClick:()=>this.showUser.emit(t)},o("div",{class:"menu-left"},o("yoo-tag",{size:"medium",color:"app-color",iconOnlyColor:"light",icon:a}),o("div",{class:"border"})),o("div",{class:"menu-right"},o("div",{class:"menu-title"},n(e)),o("div",{class:"menu-content menu-requestor"},o("div",{class:"menu-inner-container"},o("yoo-avatar",{size:"small",user:t}),o("span",{class:"text"},t.firstName+" "+t.lastName),i&&o("div",{class:"mission-date"},d.dateFormat.transform(i,"L"))),r&&(null===(s=this.extraActions)||void 0===s?void 0:s.length)>0&&t&&this.renderExtraActions(t))))}renderWorkflowHistory(){var t,e,a,i,r,n,s;return o("yoo-workflow-state",{steps:null===(a=null===(e=null===(t=this.mission)||void 0===t?void 0:t.description)||void 0===e?void 0:e.workflow)||void 0===a?void 0:a.steps,history:null===(i=this.mission)||void 0===i?void 0:i.workflowHistory,state:null===(r=this.mission)||void 0===r?void 0:r.workflowState,status:null===(n=this.mission)||void 0===n?void 0:n.status,owner:null===(s=this.mission)||void 0===s?void 0:s.owner})}renderMission(){var t,e,a,i,r;const s=c().user&&c().user.locationRef&&c().user.locationRef===this.mission.locationRef;let p={},l={},m={},b={};this.mission&&(p=this.mission.description,l=this.mission.location,m=this.mission.creator,b=this.mission.owner);const h="service"===this.mission.type?"SERVICEDESCRIPTION":"poll"===this.mission.type?"POLLDESCRIPTION":"MISSIONDESCRIPTION";return this.mission&&[o("div",{class:{"mission-detail":!0,web:!this.isMobile}},o("yoo-ion-content",{class:"bg-light-to-dark no-scrollbar",scrollEvents:!0},o("div",null,o("div",{class:"mission-content"},o("yoo-mission-heading",{animated:this.animated,mission:this.mission,progress:this.progress&&this.progress.value?this.progress.value:null}),o("ul",{class:"menu"},this.mission.description&&this.mission.description.distanceMin&&this.renderSimpleSection(this.mission.description.distanceMin.toLocaleString(),"GEOFENCINGDISTANCEMIN","pin-selected"),this.renderPriority(),p&&p.text&&this.renderSimpleSection(p.text,h,"lesson"),this.mission.address&&!s&&this.renderMissionLocation(),(null===(t=this.mission.aisle)||void 0===t?void 0:t.title)&&this.renderSimpleSection(this.mission.aisle.title,"AISLE","aisles"),o("yoo-mission-contents",{slidesNumber:this.slidesNumber,photosNumber:this.photosNumber,questionsNumber:this.questionsNumber}),l&&(l.contactname||l.contactphone||l.contactemail)&&o("li",{class:"menu-item"},o("div",{class:"menu-left"},o("yoo-tag",{icon:"contact",iconOnlyColor:"light",size:"medium",color:"app-color"}),o("div",{class:"border"})),o("div",{class:"menu-right"},o("div",{class:"menu-title"},n("CONTACT")),o("div",{class:"menu-content"},l.contactname&&o("div",{class:"menu-content-contact",innerHTML:l.contactname}),l.contactemail&&o("div",{class:"menu-content-contact",innerHTML:l.contactemail}),l.contactphone&&o("div",{class:"menu-content-contact",innerHTML:l.contactphone})))),this.mission.comments&&this.renderSimpleSection(this.mission.comments,"NOTES","note"),l&&l.info&&this.renderSimpleSection(l.info,"YOOBICINFO","info"),this.mission.originalUnvalidatedReason&&this.renderSimpleSection(this.mission.originalUnvalidatedReason,"COMMENTS","comment"),this.renderUserSection(m,"REQUESTOR","author",this.mission._ect),this.mission.hasWorkflow&&(null===(i=null===(a=null===(e=this.mission)||void 0===e?void 0:e.description)||void 0===a?void 0:a.workflow)||void 0===i?void 0:i.steps)&&this.renderWorkflowHistory(),!(null===(r=this.mission)||void 0===r?void 0:r.hasWorkflow)&&b&&b._id&&b._id!==c().userId&&this.renderUserSection(b,this.mission.isAssigned?"ASSIGNEE":"STARTEDBY","user"),(this.mission.validFrom||this.mission.validUntil)&&this.renderSimpleSection((d.dateFormat.transform(this.mission.validFrom,"L LT")||"?")+" - "+(d.dateFormat.transform(this.mission.validUntil,"L LT")||"?"),"VALIDITY","plus"),this.serviceSlides&&this.serviceSlides.length>0&&this.renderServiceData()),o("yoo-mission-score",{charts:this.charts,header:"PREVIOUSSCORE",networkScore:this.networkScore}),o("slot",null)),o("slot",{name:"end"}),o("div",{class:"scroll-spacer"}))),this.renderButtonFooter())]}renderMenuItem(t,e=!0){return o("li",{class:"menu-item"},this.renderMenuLeft("link"),this.renderMenuRight(t,e))}renderMenuRight(t,e){return o("div",{class:"menu-right"},o("div",{class:"menu-title"},n(t.toUpperCase())),o("div",{class:"menu-content"},e?o("yoo-form-dynamic",{class:"inline",slides:[{title:"GENERAL",items:[this.mission.todo.field]}],data:{[this.mission.todo.field.name]:Object.assign({value:this.mission.todo.fieldValue},this.mission.todo.fieldExtra)},forceReadonly:!0,suffix:".value",animated:!1,showRecap:!1}):o("yoo-form-star-rating",{value:this.mission.todo.priority,readonly:!0})))}renderMenuLeft(t){return o("div",{class:"menu-left"},o("yoo-tag",{icon:t,iconOnlyColor:"light",color:"app-color",size:"medium"}),o("div",{class:"border"}))}renderTodo(){var t;const e=c().user&&c().user.locationRef&&c().user.locationRef===this.mission.locationRef;return this.mission&&o("div",{class:"mission-detail mission-todo "+(this.isMobile?"":"web")},o("div",{class:"mission-content"},o("yoo-mission-heading",{animated:this.animated,mission:this.mission,progress:this.progress&&this.progress.value&&this.progress.value}),o("ul",{class:"menu"},this.mission.todo&&this.mission.todo.field&&this.mission.todo.fieldValue&&this.renderMenuItem("LINKEDTO",!0),this.mission.todo&&this.mission.todo.priority&&this.renderMenuItem("PRIORITY",!1),this.renderUserSection(this.mission.creator,"CREATEDBY","user",this.mission._ect,!0),this.renderUserSection(this.mission.owner,"ASSIGNTO","user",null,!0),this.mission.address&&!e&&this.renderSimpleSection(this.mission.address,"ADDRESS","map"),(null===(t=this.mission.aisle)||void 0===t?void 0:t.title)&&!e&&this.renderSimpleSection(this.mission.aisle.title,"AISLE","aisles"),this.mission.originalUnvalidatedReason&&this.renderSimpleSection(this.mission.originalUnvalidatedReason,"COMMENTS","comment")),o("slot",null)))}renderBasedOnType(){if(this.mission&&this.mission.type)switch(this.mission.type){case"todo":return this.renderTodo();case"mission":case"poll":case"service":default:return this.renderMission()}return[]}render(){return o(a,{class:{web:s(this.host)}},this.renderBasedOnType())}get host(){return i(this)}};h.style=":root{--ease-in-back:cubic-bezier(0.36, 0, 0.66, -0.56);--ease-in-circ:cubic-bezier(0.55, 0, 1, 0.45);--ease-in-cubic:cubic-bezier(0.32, 0, 0.67, 0);--ease-in-expo:cubic-bezier(0.7, 0, 0.84, 0);--ease-in-quad:cubic-bezier(0.11, 0, 0.5, 0);--ease-in-quart:cubic-bezier(0.5, 0, 0.75, 0);--ease-in-quint:cubic-bezier(0.64, 0, 0.78, 0);--ease-in-sine:cubic-bezier(0.12, 0, 0.39, 0);--ease-out-back:cubic-bezier(0.34, 1.56, 0.64, 1);--ease-out-circ:cubic-bezier(0, 0.55, 0.45, 1);--ease-out-cubic:cubic-bezier(0.33, 1, 0.68, 1);--ease-out-expo:cubic-bezier(0.16, 1, 0.3, 1);--ease-out-quad:cubic-bezier(0.5, 1, 0.89, 1);--ease-out-quart:cubic-bezier(0.25, 1, 0.5, 1);--ease-out-quint:cubic-bezier(0.22, 1, 0.36, 1);--ease-out-sine:cubic-bezier(0.61, 1, 0.88, 1);--ease-in-out-back:cubic-bezier(0.68, -0.6, 0.32, 1.6);--ease-in-out-circ:cubic-bezier(0.85, 0, 0.15, 1);--ease-in-out-cubic:cubic-bezier(0.65, 0, 0.35, 1);--ease-in-out-expo:cubic-bezier(0.87, 0, 0.13, 1);--ease-in-out-quad:cubic-bezier(0.45, 0, 0.55, 1);--ease-in-out-quart:cubic-bezier(0.76, 0, 0.24, 1);--ease-in-out-quint:cubic-bezier(0.83, 0, 0.17, 1);--ease-in-out-sine:cubic-bezier(0.37, 0, 0.63, 1)}.tippy-box,.tippy-popper{white-space:pre-wrap}.tippy-box .tippy-tooltip,.tippy-popper .tippy-tooltip{padding:var(--spacing-02, 0.125rem)}.tippy-box{-webkit-box-shadow:var(--shadow-03, 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1));box-shadow:var(--shadow-03, 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1))}.tippy-box .tippy-content.editable{padding:0}.tippy-box .tippy-content .flex{display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around}.tippy-box .tippy-content .hidden{display:none}.tippy-box .tippy-content .editable-content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;color:var(--dark, #000000)}.tippy-box .tippy-content .editable-content .text-content{min-width:5rem;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.tippy-box .tippy-content .editable-content .text-content>div{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.tippy-box .tippy-content .editable-content.readonly{padding:var(--spacing-08, 0.5rem)}.tippy-box .tippy-content .editable-content .maxchar-content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:end;align-self:flex-end;height:var(--spacing-24, 1.5rem);padding-right:var(--spacing-08, 0.5rem)}.tippy-box .tippy-content .editable-content .action-content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.tippy-box .tippy-content .editable-content .action-content yoo-button{padding:0 var(--spacing-08, 0.5rem)}.tippy-box .tippy-content .editable-content .action-content .edit-content{-ms-flex-align:center;align-items:center}.tippy-box .tippy-content .editable-content .action-content .edit-content yoo-icon{padding-left:var(--spacing-08, 0.5rem);cursor:pointer}.tippy-box .tippy-content .editable-content .edit-content>*{cursor:pointer}.tippy-box .tippy-content .request-access{padding:var(--spacing-08, 0.5rem)}.tippy-box .tippy-content .request-access .title{margin-bottom:var(--spacing-08, 0.5rem);font-weight:var(--font-weight-700, 700)}.tippy-box .tippy-content .request-access .sub-title{display:-ms-flexbox;display:flex;margin-bottom:var(--spacing-08, 0.5rem);font-weight:var(--font-weight-300, 300);font-size:var(--font-size-14, 0.875rem)}.tippy-box .tippy-content .request-access .sub-title yoo-avatar{margin:0 var(--spacing-04, 0.25rem)}.tippy-box .tippy-content .request-access yoo-button{max-width:8rem}.tippy-box[data-theme~=startameeting] .tippy-content{padding:0;border-radius:var(--border-radius-04, 0.25rem)}.tippy-box[data-theme~=large]{font-size:var(--font-size-16, 1rem)}.tippy-box[data-theme~=large] .tippy-content{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=large] .tippy-content .editable-content{padding:var(--spacing-04, 0.25rem)}.tippy-box[data-theme~=large] .tippy-content .editable-content .text-content{padding-right:var(--spacing-16, 1rem)}.tippy-box[data-theme~=large] .tippy-content .editable-content yoo-icon{margin:0 var(--spacing-04, 0.25rem)}.tippy-box[data-theme~=small]{font-size:var(--font-size-16, 1rem)}.tippy-box[data-theme~=small] .tippy-content{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=small] .tippy-content .editable-content{padding:var(--spacing-04, 0.25rem)}.tippy-box[data-theme~=small] .tippy-content .editable-content .text-content{padding-right:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=small] .tippy-content .editable-content yoo-icon{margin:0 var(--spacing-04, 0.25rem)}.tippy-box[data-theme~=accent]{background-color:var(--accent, #276ef1)}.tippy-box[data-theme~=accent] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=accent] .tippy-svg-arrow{fill:var(--accent, #276ef1)}.tippy-box[data-theme~=accent][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--accent, #276ef1)}.tippy-box[data-theme~=accent][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--accent, #276ef1)}.tippy-box[data-theme~=accent][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--accent, #276ef1)}.tippy-box[data-theme~=accent][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--accent, #276ef1)}.tippy-box[data-theme~=anthracite]{background-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=anthracite] .tippy-svg-arrow{fill:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=app-color]{background-color:var(--app-color)}.tippy-box[data-theme~=app-color] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=app-color] .tippy-svg-arrow{fill:var(--app-color)}.tippy-box[data-theme~=app-color][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--app-color)}.tippy-box[data-theme~=app-color][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--app-color)}.tippy-box[data-theme~=app-color][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--app-color)}.tippy-box[data-theme~=app-color][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--app-color)}.tippy-box[data-theme~=danger]{background-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=danger] .tippy-svg-arrow{fill:var(--danger, #d44333)}.tippy-box[data-theme~=danger][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger-light]{background-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=danger-light] .tippy-svg-arrow{fill:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=dark]{background-color:var(--dark, #000000)}.tippy-box[data-theme~=dark] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=dark] .tippy-svg-arrow{fill:var(--dark, #000000)}.tippy-box[data-theme~=dark][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--dark, #000000)}.tippy-box[data-theme~=dark][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--dark, #000000)}.tippy-box[data-theme~=dark][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--dark, #000000)}.tippy-box[data-theme~=dark][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--dark, #000000)}.tippy-box[data-theme~=energized]{background-color:var(--energized, #fed05b)}.tippy-box[data-theme~=energized] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=energized] .tippy-svg-arrow{fill:var(--energized, #fed05b)}.tippy-box[data-theme~=energized][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--energized, #fed05b)}.tippy-box[data-theme~=energized][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--energized, #fed05b)}.tippy-box[data-theme~=energized][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--energized, #fed05b)}.tippy-box[data-theme~=energized][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--energized, #fed05b)}.tippy-box[data-theme~=info]{background-color:var(--info, #fc459e)}.tippy-box[data-theme~=info] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=info] .tippy-svg-arrow{fill:var(--info, #fc459e)}.tippy-box[data-theme~=info][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--info, #fc459e)}.tippy-box[data-theme~=info][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--info, #fc459e)}.tippy-box[data-theme~=info][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--info, #fc459e)}.tippy-box[data-theme~=info][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--info, #fc459e)}.tippy-box[data-theme~=light]{background-color:var(--light, #ffffff)}.tippy-box[data-theme~=light] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=light] .tippy-svg-arrow{fill:var(--light, #ffffff)}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--light, #ffffff)}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--light, #ffffff)}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--light, #ffffff)}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--light, #ffffff)}.tippy-box[data-theme~=light-orange]{background-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=light-orange] .tippy-svg-arrow{fill:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-to-text-color]{background-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=light-to-text-color] .tippy-svg-arrow{fill:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=royal]{background-color:var(--royal, #7577ff)}.tippy-box[data-theme~=royal] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=royal] .tippy-svg-arrow{fill:var(--royal, #7577ff)}.tippy-box[data-theme~=royal][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--royal, #7577ff)}.tippy-box[data-theme~=royal][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--royal, #7577ff)}.tippy-box[data-theme~=royal][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--royal, #7577ff)}.tippy-box[data-theme~=royal][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--royal, #7577ff)}.tippy-box[data-theme~=stable]{background-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=stable] .tippy-svg-arrow{fill:var(--stable, #adadad)}.tippy-box[data-theme~=stable][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable-alt]{background-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=stable-alt] .tippy-svg-arrow{fill:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-light]{background-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=stable-light] .tippy-svg-arrow{fill:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-ultralight]{background-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=stable-ultralight] .tippy-svg-arrow{fill:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=success]{background-color:var(--success, #3aa76d)}.tippy-box[data-theme~=success] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=success] .tippy-svg-arrow{fill:var(--success, #3aa76d)}.tippy-box[data-theme~=success][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--success, #3aa76d)}.tippy-box[data-theme~=success][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--success, #3aa76d)}.tippy-box[data-theme~=success][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--success, #3aa76d)}.tippy-box[data-theme~=success][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--success, #3aa76d)}.tippy-box[data-theme~=text-color]{background-color:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=text-color] .tippy-svg-arrow{fill:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--text-color, #807f83)}.tippy-box[data-theme~=warning]{background-color:var(--warning, #ff6402)}.tippy-box[data-theme~=warning] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=warning] .tippy-svg-arrow{fill:var(--warning, #ff6402)}.tippy-box[data-theme~=warning][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--warning, #ff6402)}.tippy-box[data-theme~=warning][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--warning, #ff6402)}.tippy-box[data-theme~=warning][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--warning, #ff6402)}.tippy-box[data-theme~=warning][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--warning, #ff6402)}.tippy-box[data-theme~=anthracite-to-text-color]{background-color:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=anthracite-to-text-color] .tippy-svg-arrow{fill:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--anthracite-to-text-color, #1a1a1a)}:root{--safe-area-inset-top:0;--safe-area-inset-right:0;--safe-area-inset-bottom:0;--safe-area-inset-left:0}@supports (top: constant(safe-area-inset-top)){:root{--safe-area-inset-top:constant(safe-area-inset-top);--safe-area-inset-right:constant(safe-area-inset-right);--safe-area-inset-bottom:constant(safe-area-inset-bottom);--safe-area-inset-left:constant(safe-area-inset-left)}}@supports (top: env(safe-area-inset-top)){:root{--safe-area-inset-top:env(safe-area-inset-top);--safe-area-inset-right:env(safe-area-inset-right);--safe-area-inset-bottom:env(safe-area-inset-bottom);--safe-area-inset-left:env(safe-area-inset-left)}}.fr-popup.fr-active{z-index:30004 !important;display:block !important;opacity:1 !important}:host{height:100%;font-weight:var(--font-weight-400, 400);font-size:var(--font-size-16, 1rem)}:host .score-item .mission-title{margin-top:1rem;margin-bottom:var(--spacing-16, 1rem);font-size:var(--font-size-28, 1.75rem);line-height:2.0625rem}:host .score-item .menu-content .score-active-container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;margin-bottom:2rem}:host .score-item .menu-content .menu-content-scoring{padding-bottom:0.5rem}:host .score-item .menu-content .menu-content-scoring .centered{padding:0.5rem;text-align:center}:host .score-item .menu-content .menu-content-scoring .network{margin-top:1rem;color:var(--text-color-to-light-60, #807f83)}:host .score-item .menu-content .menu-content-scoring.extra-score .score-container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .score-item .menu-content .menu-content-scoring.extra-score .score-container.points-container{-ms-flex-align:center;align-items:center;padding:1em 0.5rem}:host .score-item .menu-content .menu-content-scoring.extra-score .score-container.contrasted{background-color:var(--stable-light-40, rgba(241, 241, 241, 0.4))}:host .score-item .menu-content .menu-content-scoring.points{padding:0 !important}:host .score-item .menu-content .menu-content-scoring.mixed{padding-top:0.75rem}:host .score-item .menu-content .menu-content-scoring.no-divider{padding-top:0}:host .score-item .menu-content .menu-content-scoring.divider{padding-top:0;padding-bottom:0.75rem;border-bottom:0.0625rem solid var(--stable-light, #f1f1f1)}:host .mission-detail{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%}:host .mission-detail .scroll-spacer{height:5.75rem}:host .mission-detail .mission-content{padding:var(--spacing-16, 1rem)}:host .mission-detail .mission-content .menu{margin:0;padding:0;font-size:100%;vertical-align:baseline;list-style:none outside none;background:none repeat scroll 0 0 transparent;border:0 none;outline:0 none;-webkit-tap-highlight-color:transparent;margin-top:1rem;padding:0;list-style:none}:host .mission-detail .mission-content .menu .menu-item{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}:host .mission-detail .mission-content .menu .menu-item:not(:last-child) .menu-content{margin-bottom:var(--spacing-24, 1.5rem)}:host .mission-detail .mission-content .menu .menu-item .menu-left{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}:host .mission-detail .mission-content .menu .menu-item .menu-left.with-dot{width:2.125rem}:host .mission-detail .mission-content .menu .menu-item .menu-left .menu-icon{z-index:2;width:1.875rem;height:1.875rem;text-align:center}:host .mission-detail .mission-content .menu .menu-item .menu-left .menu-icon.menu-dot{width:1rem;height:1rem}:host .mission-detail .mission-content .menu .menu-item .menu-left .menu-icon yoo-icon{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;width:1.875rem;height:1.875rem;padding:0;color:var(--light, #ffffff);font-size:var(--font-size-18, 1.125rem);line-height:1.875rem;background-color:var(--app-color);border-radius:50%}:host .mission-detail .mission-content .menu .menu-item .menu-left .menu-icon yoo-icon.dark{background-color:var(--dark, #000000)}:host .mission-detail .mission-content .menu .menu-item .menu-left .menu-icon yoo-icon.info{background-color:var(--info, #fc459e)}:host .mission-detail .mission-content .menu .menu-item .menu-left .menu-icon yoo-icon.danger{background-color:var(--danger, #d44333)}:host .mission-detail .mission-content .menu .menu-item .menu-left .border{width:0.0625rem;height:100%;background-color:var(--stable-alt-to-light-60, #d0d0d0)}:host .mission-detail .mission-content .menu .menu-item .menu-left .border.border-pre{height:2.5rem}:host .mission-detail .mission-content .menu .menu-item .menu-left .border.border-pre.last{height:1rem}:host .mission-detail .mission-content .menu .menu-item .menu-left .border.dark{background-color:var(--dark, #000000)}:host .mission-detail .mission-content .menu .menu-item .menu-left .border.danger{background-color:var(--danger, #d44333)}:host .mission-detail .mission-content .menu .menu-item .menu-left .border.info{background-color:var(--info, #fc459e)}:host .mission-detail .mission-content .menu .menu-item .menu-right{width:100%;margin-left:var(--spacing-08, 0.5rem);overflow:hidden}:host .mission-detail .mission-content .menu .menu-item .menu-right .menu-title{margin-top:0.375rem;font-weight:bold;line-height:1}:host .mission-detail .mission-content .menu .menu-item .menu-right .menu-content{color:var(--text-color-to-light-60, #807f83)}:host .mission-detail .mission-content .menu .menu-item .menu-right .menu-content.menu-chart{margin-bottom:0}:host .mission-detail .mission-content .menu .menu-item .menu-right .menu-title{margin-bottom:var(--spacing-08, 0.5rem)}:host .mission-detail .mission-content .menu .menu-item .menu-right .menu-content span{margin-right:0.5rem}:host .mission-detail .mission-content .menu .menu-item .menu-right .menu-content yoo-avatar{margin-right:0.3125rem}:host .mission-detail .mission-content .menu .menu-item .menu-right .menu-content .menu-inner-container{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;width:100%}:host .mission-detail .mission-content .menu .menu-item .menu-right .menu-content a{color:var(--app-color)}:host .mission-detail .mission-content .menu .menu-item .menu-right .menu-content .menu-content-contact{margin-bottom:var(--spacing-10-deprecated, 0.625rem)}:host .mission-detail .mission-content .menu .menu-item .menu-right .menu-content .text{-ms-flex:1;flex:1;margin-right:auto;white-space:nowrap}:host .mission-detail .mission-content .menu .menu-item .menu-right .menu-content .mission-date{color:var(--text-color-to-light-60, #807f83);font-weight:var(--font-weight-400, 400)}:host .mission-detail .mission-content .menu .menu-item .menu-right .menu-requestor{display:-ms-flexbox;display:flex}:host .mission-detail .mission-content .menu .menu-item .menu-right .menu-workflow{display:-ms-flexbox;display:flex;margin-top:var(--spacing-16, 1rem)}:host .mission-detail .mission-content .menu>.menu-item:last-child .menu-left .border{display:none}:host .mission-detail .mission-content .menu yoo-mission-contents:last-child{--display-border:none}:host .mission-detail yoo-form-footer{position:absolute;bottom:0;padding-bottom:var(--spacing-08, 0.5rem)}:host .mission-todo .mission-content .menu .menu-item .menu-right .menu-title{font-weight:var(--font-weight-400, 400)}:host .extra-action-container{display:-ms-flexbox;display:flex}:host .extra-action-container yoo-icon{padding-left:var(--spacing-16, 1rem)}:host(.web){background:var(--light-to-dark, #ffffff);border-radius:8px;-webkit-box-shadow:var(--tile-shadow, 0 1px 4px 0 rgba(0, 0, 0, 0.1));box-shadow:var(--tile-shadow, 0 1px 4px 0 rgba(0, 0, 0, 0.1))}:host(.web) .mission-footer{-ms-flex-pack:start;justify-content:flex-start;padding-right:1.875rem;padding-left:1.875rem;border-radius:8px;-webkit-box-shadow:var(--tile-shadow, 0 1px 4px 0 rgba(0, 0, 0, 0.1));box-shadow:var(--tile-shadow, 0 1px 4px 0 rgba(0, 0, 0, 0.1))}:host(.web) .mission-footer yoo-button{margin-right:var(--spacing-10-deprecated, 0.625rem)}:host(.web) .mission-footer .unbook{-ms-flex-order:2;order:2}:host(.web) .mission-footer .continue{-ms-flex-order:1;order:1}:host(.border) .mission-detail.web yoo-ion-content{border-radius:0.375rem}:host(.border) .mission-detail.web yoo-form-footer{--border-radius:0 0 0.375rem 0.375rem}";export{h as yoo_mission_detail}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as i,P as t,M as a,E as n}from"./p-a966475f.js";import"./p-4d956bd4.js";import{a as o,b as e}from"./p-e37ba040.js";async function r(a,n){const r=new Image;return a&&(o(a)||e(a))&&(r.src=i(a)?new t(a).quality("low").getUrl():a,await new Promise(((i,t)=>{r.onload=()=>i(r.width),r.onerror=()=>t(null==n?void 0:n())}))),{width:r.width,height:r.height}}async function s(i){const{src:t,maxWidth:a,maxHeight:n,imgSize:o,onErr:e}=i||{},{width:s,height:g}=o||await r(t,e),h=s?Math.min(a/s,(n||a)/g):1;return{width:Math.floor((s||a)*(h||1)),height:Math.floor((g||n||a)*(h||1))}}async function g(i){const{src:t,maxWidth:a,maxHeight:n,imgSize:o,onErr:e}=i||{},{width:s,height:g}=o||await r(t,e);return parseFloat(Math.min(a/s,n/g).toFixed(2))}const h=i=>{let t=i;if(t){t.includes&&t.includes("file:")&&(t=a(t));const i=".";let n,o;t.split&&(n=t.split(i)),(null==n?void 0:n.pop)&&(o=n.pop()||""),(null==o?void 0:o.length)<5&&!["gif","jpg","png","svg"].includes(o)&&(t=[...n,"jpg"].join(i))}return t},d=i=>(null==i?void 0:i.replace)?i.replace(/#04CC99/gi,n("app-color")).replace(/#7577ff/gi,n("app-color")).replace(/#F46885/gi,n("danger-light")).replace(/#FFAABC/gi,n("danger-light-20")).replace(/#FFD2DC/gi,n("danger-light-40")):i,l=i=>{var t,a;const n=null===(t=i.getAttribute("width"))||void 0===t?void 0:t.replace("px",""),o=null===(a=i.getAttribute("height"))||void 0===a?void 0:a.replace("px","");return!i.getAttribute("viewBox")&&/^\d+$/.test(n)&&/^\d+$/.test(o)&&i.setAttribute("viewBox",`0 0 ${n} ${o}`),i};export{s as a,g as b,h as c,l as d,r as g,d as u}
|