Current Path : /var/www/www-root/data/www/www.monolith-realty.ru/bitrix/js/ui/entity-editor/js/ |
Current File : /var/www/www-root/data/www/www.monolith-realty.ru/bitrix/js/ui/entity-editor/js/editor.map.js |
{"version":3,"file":"editor.map.js","names":["BX","namespace","UI","EntityEditor","this","_id","_settings","_entityTypeName","_entityId","_userFieldManager","additionalFieldsData","_container","_layoutContainer","_buttonContainer","_createSectionButton","_configMenuButton","_configIcon","_pageTitle","_pageTitleInput","_buttonWrapper","_editPageTitleButton","_copyPageUrlButton","_actionTypes","_formElement","_ajaxForm","_ajaxForms","_reloadAjaxForm","_formSubmitHandler","delegate","onFormSubmit","_controllers","_controls","_activeControls","_toolPanel","_model","_scheme","_config","_context","_contextId","_externalContextId","_mode","EntityEditorMode","intermediate","_isNew","_readOnly","_enableRequiredUserFieldCheck","_enableAjaxForm","_enableSectionEdit","_enableSectionCreation","_enableModeToggle","_enableVisibilityPolicy","_enablePageTitleControls","_enableToolPanel","_isToolPanelAlwaysVisible","_enableBottomPanel","_enableConfigControl","_enableFieldsContextMenu","_canHideField","_serviceUrl","_htmlEditorConfigs","_pageTitleExternalClickHandler","onPageTitleExternalClick","_pageTitleKeyPressHandler","onPageTitleKeyPress","_validators","_modeSwitch","_delayedSaveHandle","_isEmbedded","_isRequestRunning","_isConfigMenuShown","_isReleased","_enableCloseConfirmation","_closeConfirmationHandler","onCloseConfirmButtonClick","_cancelConfirmationHandler","onCancelConfirmButtonClick","_windowResizeHandler","debounce","onResize","_sliderOpenHandler","onSliderOpen","_sliderCloseHandler","onSliderClose","_areAvailableSchemeElementsChanged","_availableSchemeElements","_dragPlaceHolder","_dragContainerController","_dropHandler","onDrop","_dragConfig","eventsNamespace","pageTitleInputClassName","_configurationFieldManager","_commonConfigEditUrl","prop","getString","_canBeMultipleFields","moduleId","_restrictions","eventIds","Set","needReloadStorageKey","_attributeManager","_validationEnabled","prototype","initialize","id","settings","type","isNotEmptyString","util","getRandomString","get","_entityTypeTitle","_useFieldsSearch","getBoolean","_useForceFieldsAdd","getInteger","isIdentifiable","getObject","_creationFieldPageUrl","container","isElementNode","top","_parentContainer","findParent","className","_enableShowAlwaysFeauture","adjustSize","adjustTitle","formTagName","create","props","name","appendChild","initializeAjaxForm","initializeManagers","EntityEditorModeSwitch","editor","initialMode","view","parse","edit","getAvailableElements","initializeControllers","initializeControls","length","initializeControlsEditMode","initializeValidators","initializeToolPanel","isToolPanelAlwaysVisible","showToolPanel","initializeDragDrop","layout","attachToEvents","initPull","eventArgs","externalContext","context","entityTypeName","entityId","model","onCustomEvent","window","i","controllerData","getArray","controller","createController","push","elements","getElements","element","control","createControl","getType","getName","schemeElement","mode","setMode","notify","validatorConfigs","validator","createValidator","buttonsOrder","customButtons","EntityEditorToolPanel","document","body","visible","sectionDragModes","names","EditorDragObjectType","section","scope","EditorDragScope","form","modes","fieldDragModes","field","EntityConfigurationManager","configurationFieldManager","initializeCustomEditors","bind","addCustomEvent","deattachFromEvents","unbind","removeCustomEvent","Event","ready","pullTag","pullModuleId","canUsePull","Pull","PULL","console","error","entityPull","EntityPull","subscribe","callback","data","command","eventId","params","has","eventName","onItemUpdated","extendWatch","hidden","isNeedReload","sessionStorage","getItem","removeItem","Crm","getDefault","reload","release","clearLayout","releaseAjaxForm","releaseReloadAjaxForm","remove","event","entityTypeId","_entityTypeId","slider","SidePanel","Instance","getSliderByWindow","getSlider","isOpen","hasChangedControls","hasChangedControllers","denyAction","EditorAuxiliaryDialog","isItemOpened","title","message","content","zIndex","buttons","DialogButtonType","accept","text","cancel","open","button","getDialog","close","getId","ajaxData","actionName","componentName","signedParameters","EntityEditorActionIds","defaultActionId","EntityEditorActionTypes","save","defaultAjaxForm","createAjaxForm","elementNode","enableRequiredUserFieldCheck","onSuccess","onSaveSuccess","onFailure","onSaveFailure","ADDITIONAL_ACTIONS","additionalActions","action","ID","ACTION_TYPE","ajaxForm","ACTION","setAttribute","options","callbacks","getElementNode","formData","ComponentAjax","AjaxForm","config","url","method","dataType","processData","onsuccess","Object","assign","ENABLE_REQUIRED_USER_FIELD_CHECK","getAjaxFormConfigData","ACTION_ENTITY_TYPE","_this","Type","isObject","keys","forEach","getEntityTypeName","getEntityId","getOwnerInfo","getMode","getContextId","getContext","getExternalContextId","getScheme","canHideField","isVisible","offsetParent","isShowAlwaysFeautureEnabled","isVisibilityPolicyEnabled","isBottomPanelEnabled","isConfigControlEnabled","isSectionEditEnabled","isSectionCreationEnabled","canChangeScheme","isFieldsContextMenuEnabled","isModeToggleEnabled","isNew","isReadOnly","isEmbedded","isEditInViewEnabled","getDetailManager","EntityDetailManager","getConfigurationFieldManager","getUserFieldManager","setAttributeManager","attributeManager","getAttributeManager","getHtmlEditorConfig","fieldName","getAdditionalFieldsData","EntityEditorValidatorFactory","getControlByIndex","index","getControlIndex","getControls","getControlCount","controlId","EntityEditorControlFactory","addControlAt","getWrapper","splice","moveControl","qty","lastIndex","currentIndex","anchor","moveSchemeElement","getSchemeElement","removeControl","processControlRemove","getControlById","child","getChildById","getControlByIdRecursive","controls","EntityEditorControl","EntityEditorColumn","EntityEditorSection","res","getChildren","quoteRegExp","regExpString","replace","getCombinedIdRegExp","RegExp","getControlByCombinedIdRecursive","idRegExp","test","getAvailableControlByCombinedId","getAvailableSchemeElementByCombinedName","getAllControls","result","concat","getActiveControlCount","getActiveControlIndex","getActiveControlById","recursive","getActiveControlByIndex","registerActiveControl","setActive","unregisterActiveControl","releaseActiveControls","modifiedActiveControls","toggleMode","isChanged","isWaitingForInput","processControlModeChange","hideToolPanel","processControlChange","processControlAdd","removeAvailableSchemeElement","processControlMove","EntityEditorField","addAvailableSchemeElement","children","processSchemeChange","getAvailableSchemeElements","notifyAvailableSchemeElementsChanged","getAvailableSchemeElementIndex","schemeElements","getAvailableSchemeElementByName","nameRegExp","hasAvailableSchemeElements","getSchemeElementByName","findElementByName","isRecursive","processAvailableSchemeElementsChange","hasTransferableElements","excludedNames","excludedCount","isArray","columns","columnsIterator","columnsCount","sections","sectionsIterator","sectionsCount","isExcluded","sectionName","j","childElements","k","childrenCount","isTransferable","EntityEditorControllerFactory","processControllerChange","getControllers","getContainer","prepareContextDataLayout","parentName","key","hasOwnProperty","item","isPlainObject","value","userFieldLoaders","EntityUserFieldLayoutLoader","enableBatchMode","owner","layoutOptions","userFieldLoader","enableFocusGain","runBatch","isCaptionEditable","onPageTileClick","events","click","onCreateSectionButtonClick","configScope","getScope","configScopeCaption","EntityConfigScope","getCaption","common","onConfigMenuButtonClick","adjustButtons","refreshLayout","mergeEx","refreshViewModeLayout","isRefreshViewModeLayout","switchControlMode","checkModeOption","EntityEditorModeOptions","saveOnExit","getQueue","add","run","check","exclusive","queuedControlQty","activeControl","switchToViewMode","switchTitleMode","style","display","classList","parentNode","insertBefore","focus","setTimeout","innerHTML","htmlspecialchars","caption","trim","captionTail","match","substr","cleanNode","createTextNode","wrapper","enableNarrowSize","offsetWidth","hasClass","addClass","removeClass","isScopeToggleEnabled","_sections","addButtonElement","position","setVisible","paddingBottom","height","showMessageDialog","dlg","getMessage","m","messages","getGlobalEventName","getFormElement","getEntityTypeForAction","prepareControllersData","isFunction","onBeforesSaveControl","savePageTitle","setCaption","ACTION_ENTITY_ID","PARAMS","prepareCaptionData","ajax","performAction","actionId","performSaveChangedAction","direct","performDirectAction","setLocked","getActionEventArguments","submit","saveChanged","reset","addBatch","setRunAction","saveDelayed","delay","performSaveDelayedAction","clearTimeout","performSaveAction","registerSaveAnalyticsEvent","EntityValidationResult","validate","then","_bizprocManager","onBeforeSave","promise","Promise","fulfill","getStatus","performInnerSaveAction","onAfterSave","getTopmostField","toolPanelOffset","scroll","pageXOffset","pageYOffset","saveControl","prepareSaveData","switchMode","saveData","reloadActionFormData","reloadActionName","warn","onReloadSuccess","setValidationEnabled","isEnabled","isRequestRunning","innerSave","onBeforeSubmit","isSchemeChanged","updateSchemeElement","setAvailableElements","enableCloseConfirmation","isBoolean","ajaxFormToSubmit","Text","getRandom","EVENT_ID","openCancellationConfirmationDialog","innerCancel","rollback","_confirmationCancelDialog","addSchemeElementAt","removeSchemeElement","isChangeable","saveScheme","saveSchemeChanges","commitSchemeChanges","canChangeCommonConfiguration","isCanChangeCommonConfiguration","status","analyticsConfig","analyticsData","currentUrl","Uri","decodeURI","location","href","getQueryParam","Analytics","sendData","clearErrors","ADDITIONAL_FIELDS_DATA","eventParams","prepareEventParams","checkErrors","hasRestriction","firstField","errorMessages","fieldId","showError","scrollAnimate","join","restrictionAction","eval","addError","entityData","redirectUrl","isOpenInNewSlide","additionalEventParams","isStringFilled","localStorage","set","add_url_param","IFRAME","IFRAME_TYPE","sidePanel","setData","enableNotification","isRunning","complete","previousModel","clone","getData","onReload","Bitrix24","Slider","getTopSlider","getUrl","response","errors","formatMoney","sum","currencyId","CURRENCY_ID","SUM","findOption","l","VALUE","NAME","prepareConfigMenuItems","items","onMenuItemClick","onclick","personal","_userScopes","userScopeId","attributes","custom","_userScopeId","delimiter","getServiceUrl","loadCustomHtml","actionData","sender","e","toLowerCase","EntitySchemeElement","sectionSettings","firstColumn","addChild","enableSaving","setTitleMode","menuItems","PopupMenu","show","getEventTarget","angle","autoHide","closeByEsc","onPopupShow","onPopupClose","destroy","onPopupDestroy","target","c","keyCode","onInterfaceToolbarMenuBuild","configMenuItems","getCommonConfigEditUrl","menuItem","resetConfig","setConfigScope","forceCommonConfigScopeForAll","createConfigScopeForCheckedUsers","width","undefined","menuWindow","setScope","enableReload","EntityEditorScopeConfig","toJSON","isCommonConfig","forceCommonScopeForAll","getConfigOption","defaultValue","getOption","setConfigOption","setOption","getDragConfig","typeId","hasPlaceHolder","createPlaceHolder","getIndex","EditorDragSectionPlaceholder","getPlaceHolder","removePlaceHolder","processDraggedItemDrop","dragContainer","draggedItem","containerCharge","getCharge","EditorSectionDragContainer","getEditor","getContextData","contextId","EditorSectionDragItem","itemCharge","getControl","placeholder","placeholderIndex","getConfigScope","prepareFieldLayoutOptions","hasContent","hasContentToDisplay","isNeedToDisplay","_showEmptyFields","isExternalLayoutResolversEnabled","showEmptyFields","_enableExternalLayoutResolvers","getRestriction","defaultInstance","setDefault","instance","self","EntityEditorModeQueue","_items","findIndex","getLength","none","clear","process","_queue","_isRunning","_runHandle","_runAction","_editor","doRun","_isCommonConfig","_popup","_selector","_name","_nameInput","_usersInput","_usersInputTagSelector","_forceSetInput","_nameInputError","_usersInputError","_isOpened","_closeNotifier","_onSquareClick","onSquareClick","getSetting","isOpened","createPopup","PopupWindow","titleBar","closeIcon","padding","contentPadding","contentBackground","draggable","minWidth","maxWidth","prepareContent","prepareButtons","prepareNameControl","prepareUserSelectControl","prepareForceSetToUsersControl","marginBottom","borderBottom","attrs","EntitySelector","TagSelector","dialogOptions","entities","selectMode","renderTo","checked","Button","tag","Tag","LINK","color","Color","PRIMARY","preventDefault","processSave","processCancel","addCloseListener","listener","addListener","removeCloseListener","removeListener","createUserInfo","FORMATTED_NAME","htmlspecialcharsback","isCustomized","accessCodes","setName","runComponentAction","getSelectedItems","forceSetToUsers","categoryName","notifyShow","scopeId","parseInt","catch","fillErrors","getTags","map","createErrorElement","fieldNode","errorContainer","Notification","Center"],"sources":["editor.js"],"mappings":"AAEAA,GAAGC,UAAU,SAGb,UAAUD,GAAGE,GAAGC,eAAiB,YACjC,CACCH,GAAGE,GAAGC,aAAe,WAEpBC,KAAKC,IAAM,GACXD,KAAKE,UAAY,CAAC,EAElBF,KAAKG,gBAAkB,GACvBH,KAAKI,UAAY,EAEjBJ,KAAKK,kBAAoB,KACzBL,KAAKM,qBAAuB,CAAC,EAE7BN,KAAKO,WAAa,KAClBP,KAAKQ,iBAAmB,KACxBR,KAAKS,iBAAmB,KACxBT,KAAKU,qBAAuB,KAC5BV,KAAKW,kBAAoB,KACzBX,KAAKY,YAAc,KAEnBZ,KAAKa,WAAa,KAClBb,KAAKc,gBAAkB,KACvBd,KAAKe,eAAiB,KACtBf,KAAKgB,qBAAuB,KAC5BhB,KAAKiB,mBAAqB,KAE1BjB,KAAKkB,aAAe,KACpBlB,KAAKmB,aAAe,KACpBnB,KAAKoB,UA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