Your IP : 3.149.239.1


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/factory.min.js

BX.namespace("BX.UI");if(typeof BX.UI.EntityEditorValidatorFactory==="undefined"){BX.UI.EntityEditorValidatorFactory={create:function(t,e){if(t==="person"){return BX.UI.EntityPersonValidator.create(e)}else if(t==="trackingSource"){return BX.UI.EntityTrackingSourceValidator.create(e)}return null}}}if(typeof BX.UI.EntityEditorControlFactory==="undefined"){BX.UI.EntityEditorControlFactory={initialized:false,methods:{},isInitialized:function(){return this.initialized},initialize:function(){if(this.initialized){return}var t={methods:{}};BX.onCustomEvent(window,"BX.UI.EntityEditorControlFactory:onInitialize",[this,t]);for(var e in t.methods){if(t.methods.hasOwnProperty(e)){this.registerFactoryMethod(e,t.methods[e])}}this.initialized=true},registerFactoryMethod:function(t,e){if(BX.type.isFunction(e)){this.methods[t]=e}},create:function(t,e,i){if(!this.initialized){this.initialize()}if(t==="column"){return BX.UI.EntityEditorColumn.create(e,i)}else if(t==="section"){return BX.UI.EntityEditorSection.create(e,i)}else if(t==="text"){return BX.UI.EntityEditorText.create(e,i)}else if(t==="multitext"){return BX.UI.EntityEditorMultiText.create(e,i)}else if(t==="textarea"){return BX.UI.EntityEditorTextarea.create(e,i)}else if(t==="number"){return BX.UI.EntityEditorNumber.create(e,i)}else if(t==="multinumber"){return BX.UI.EntityEditorMultiNumber.create(e,i)}else if(t==="datetime"){return BX.UI.EntityEditorDatetime.create(e,i)}else if(t==="multidatetime"){return BX.UI.EntityEditorMultiDatetime.create(e,i)}else if(t==="boolean"){return BX.UI.EntityEditorBoolean.create(e,i)}else if(t==="list"){return BX.UI.EntityEditorList.create(e,i)}else if(t==="multilist"){return BX.UI.EntityEditorMultiList.create(e,i)}else if(t==="html"){return BX.UI.EntityEditorHtml.create(e,i)}else if(t==="bb"){return BX.UI.EntityEditorBB.create(e,i)}else if(t==="link"){return BX.UI.EntityEditorLink.create(e,i)}else if(t==="image"){return BX.UI.EntityEditorImage.create(e,i)}else if(t==="file"){return BX.UI.EntityEditorFile.create(e,i)}else if(t==="custom"){return BX.UI.EntityEditorCustom.create(e,i)}else if(t==="money"){return BX.UI.EntityEditorMoney.create(e,i)}else if(t==="multimoney"){return BX.UI.EntityEditorMultiMoney.create(e,i)}else if(t==="user"){return BX.UI.EntityEditorUser.create(e,i)}else if(t==="included_area"){return BX.UI.EntityEditorIncludedArea.create(e,i)}else if(t==="product_row_summary"){return BX.UI.EntityEditorProductRowSummary.create(e,i)}for(var r in this.methods){if(!this.methods.hasOwnProperty(r)){continue}var n=this.methods[r](t,e,i);if(n){return n}}return null}}}if(typeof BX.UI.EntityEditorControllerFactory==="undefined"){BX.UI.EntityEditorControllerFactory={methods:null,create:function(t,e,i){if(this.methods===null){this.registerEventFactories()}return this.findEventController(t,e,i)},registerEventFactories:function(){var t={methods:{}};BX.onCustomEvent(window,"BX.UI.EntityEditorControllerFactory:onInitialize",[this,t]);this.methods={};for(var e in t.methods){if(t.methods.hasOwnProperty(e)){this.registerEventFactory(e,t.methods[e])}}},registerEventFactory:function(t,e){if(BX.type.isFunction(e)){this.methods[t]=e}},findEventController:function(t,e,i){for(var r in this.methods){if(!this.methods.hasOwnProperty(r)){continue}var n=this.methods[r](t,e,i);if(n){return n}}return null}}}if(typeof BX.UI.EntityEditorModelFactory==="undefined"){BX.UI.EntityEditorModelFactory={initialized:false,methods:{},isInitialized:function(){return this.initialized},initialize:function(){if(this.initialized){return}var t={methods:{}};BX.onCustomEvent(window,"BX.UI.EntityEditorModelFactory:onInitialize",[this,t]);for(var e in t.methods){if(t.methods.hasOwnProperty(e)){this.registerFactoryMethod(e,t.methods[e])}}this.initialized=true},registerFactoryMethod:function(t,e){if(BX.type.isFunction(e)){this.methods[t]=e}},create:function(t,e,i){if(!this.initialized){this.initialize()}var r=null;if(BX.type.isFunction(this.methods[t])){r=this.methods[t](t,e,i)}if(!r){r=BX.UI.EntityModel.create(e,i)}return r}}}
//# sourceMappingURL=factory.map.js