%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 13.58.41.111
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64
User : www-root ( 1010)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/dev.artlot24.ru/bitrix/js/landing/ui/panel/formsettingspanel/content/default-values/dist/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/js/landing/ui/panel/formsettingspanel/content/default-values/dist/default-values.bundle.js
this.BX = this.BX || {};
this.BX.Landing = this.BX.Landing || {};
this.BX.Landing.Ui = this.BX.Landing.Ui || {};
this.BX.Landing.Ui.Panel = this.BX.Landing.Ui.Panel || {};
this.BX.Landing.Ui.Panel.Formsettingspanel = this.BX.Landing.Ui.Panel.Formsettingspanel || {};
(function (exports,landing_ui_panel_basepresetpanel,landing_ui_form_formsettingsform,landing_ui_field_defaultvaluefield,landing_ui_card_headercard,landing_loc,main_core,landing_ui_card_messagecard) {
	'use strict';

	var DefaultValues = /*#__PURE__*/function (_ContentWrapper) {
	  babelHelpers.inherits(DefaultValues, _ContentWrapper);

	  function DefaultValues(options) {
	    var _this;

	    babelHelpers.classCallCheck(this, DefaultValues);
	    _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(DefaultValues).call(this, options));

	    _this.setEventNamespace('BX.Landing.UI.Panel.FormSettingsPanel.DefaultValues');

	    var header = new landing_ui_card_headercard.HeaderCard({
	      title: landing_loc.Loc.getMessage('LANDING_FORM_SETTINGS_DEFAULT_VALUE_TITLE')
	    });
	    var message = new landing_ui_card_messagecard.MessageCard({
	      id: 'defaultValueMessage',
	      header: landing_loc.Loc.getMessage('LANDING_FORM_SETTINGS_DEFAULT_VALUE_MESSAGE_TITLE'),
	      description: landing_loc.Loc.getMessage('LANDING_FORM_SETTINGS_DEFAULT_VALUE_MESSAGE_DESCRIPTION'),
	      restoreState: true
	    });
	    var fieldsForm = new landing_ui_form_formsettingsform.FormSettingsForm({
	      fields: [new landing_ui_field_defaultvaluefield.DefaultValueField({
	        selector: 'presetFields',
	        isLeadEnabled: _this.options.isLeadEnabled,
	        personalizationVariables: _this.getPersonalizationVariables(),
	        formOptions: babelHelpers.objectSpread({}, _this.options.formOptions),
	        crmFields: babelHelpers.objectSpread({}, _this.options.crmFields),
	        dictionary: babelHelpers.objectSpread({}, _this.options.dictionary),
	        items: babelHelpers.toConsumableArray(_this.options.formOptions.presetFields)
	      })]
	    });

	    if (!message.isShown()) {
	      fieldsForm.setOffsetTop(-36);
	    }

	    message.subscribe('onClose', function () {
	      fieldsForm.setOffsetTop(-36);
	    });

	    _this.addItem(header);

	    _this.addItem(message);

	    _this.addItem(fieldsForm);

	    return _this;
	  }

	  babelHelpers.createClass(DefaultValues, [{
	    key: "getPersonalizationVariables",
	    value: function getPersonalizationVariables() {
	      var _this2 = this;

	      return this.cache.remember('personalizationVariables', function () {
	        var properties = _this2.options.dictionary.properties;

	        if (main_core.Type.isPlainObject(properties) && main_core.Type.isArrayFilled(properties.list)) {
	          return properties.list.map(function (item) {
	            return {
	              name: item.name,
	              value: item.id
	            };
	          });
	        }

	        return [];
	      });
	    }
	  }, {
	    key: "getLayout",
	    value: function getLayout() {
	      var layout = babelHelpers.get(babelHelpers.getPrototypeOf(DefaultValues.prototype), "getLayout", this).call(this);
	      main_core.Dom.addClass(layout, 'landing-ui-default-fields-values');
	      return layout;
	    }
	  }, {
	    key: "onChange",
	    value: function onChange(event) {
	      this.emit('onChange', babelHelpers.objectSpread({}, event.getData(), {
	        skipPrepare: true
	      }));
	    }
	  }]);
	  return DefaultValues;
	}(landing_ui_panel_basepresetpanel.ContentWrapper);

	exports.default = DefaultValues;

}((this.BX.Landing.Ui.Panel.Formsettingspanel.Content = this.BX.Landing.Ui.Panel.Formsettingspanel.Content || {}),BX.Landing.UI.Panel,BX.Landing.UI.Form,BX.Landing.UI.Field,BX.Landing.UI.Card,BX.Landing,BX,BX.Landing.UI.Card));
//# sourceMappingURL=default-values.bundle.js.map

Youez - 2016 - github.com/yon3zu
LinuXploit