Your IP : 18.219.205.55


Current Path : /var/www/www-root/data/www/www.monolith-realty.ru/bitrix/js/ui/entity-editor/js/
Upload File :
Current File : /var/www/www-root/data/www/www.monolith-realty.ru/bitrix/js/ui/entity-editor/js/tool-panel.map.js

{"version":3,"sources":["tool-panel.js"],"names":["BX","namespace","UI","EntityEditorToolPanel","this","_id","_settings","_container","_wrapper","_editor","_isVisible","_isLocked","_hasLayout","_keyPressHandler","delegate","onKeyPress","_customButtons","_buttonsOrder","VIEW","EDIT","EntityEditorActionIds","defaultActionId","cancelActionId","prototype","initialize","id","settings","type","isNotEmptyString","util","getRandomString","prop","getElementNode","get","getBoolean","customButtons","getArray","i","length","customButtonProps","ID","createCustomButton","buttonsOrder","getObject","editButtonsOrder","viewButtonsOrder","attachToEditorEvents","addCustomEvent","eventsNamespace","editor","additionalData","control","getMode","EntityEditorMode","edit","showEditModeButtons","showViewModeButtons","_viewModeSectionControl","hide","_editModeSectionControl","show","getId","getContainer","setContainer","container","isVisible","setVisible","visible","adjustLayout","isLocked","setLocked","locked","activeButton","_editButton","_clickedButton","addClass","removeClass","disableSaveButton","buttonsToDisable","_this","Object","keys","forEach","button","includes","push","disabled","onCustomEvent","window","enableSaveButton","buttonsToEnable","isSaveButtonEnabled","layout","create","props","className","title","text","message","events","click","onSaveButtonClick","_cancelButton","attrs","href","onCancelButtonClick","_errorContainer","style","maxHeight","sectionControlChildren","editModeButtonsOrder","viewModeButtonsOrder","editModeSectionControlChildren","viewModeSectionControlChildren","children","appendChild","unbind","document","bind","buttonProps","actionId","ACTION_ID","CLASS","htmlspecialchars","TEXT","onCustomButtonClick","dataset","getPosition","pos","e","target","saveChanged","performAction","cancel","eventReturnFalse","isFunction","PopupWindowManager","isAnyPopupShown","event","keyCode","eventCancelBubble","ctrlKey","addError","error","Type","isStringFilled","replace","split","map","line","Text","encode","join","html","clearErrors","innerHTML","getMessage","name","m","messages","hasOwnProperty","self"],"mappings":"AAAAA,GAAGC,UAAU,SAEb,UAAUD,GAAG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