AnonSec Shell
Server IP : 85.193.89.191  /  Your IP : 3.15.14.86
Web Server : Apache
System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : bitrix ( 600)
PHP Version : 8.1.27
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/bitrix/www/bitrix/js/landing/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/bitrix/www/bitrix/js/landing/typedef.js
/**
 * @typedef {object} blockOptions
 * @property {number|string} id
 * @property {boolean} active
 * @property {boolean} allowedByTariff
 * @property {boolean} php
 * @property {boolean} designed
 * @property {blockManifest} manifest
 * @property {string} access
 * @property {number} siteId
 * @property {number} lid
 * @property {string} sections
 * @property {?object} requiredUserAction
 * @property {string|number} anchor
 * @property {?object} dynamicParams
 */

/**
 * @typedef {object} blockManifest
 * @property {{name: string}} block
 * @property {string} code
 * @property {string} namespace
 * @property {?object.<string, nodeManifest>} [nodes]
 * @property {?object.<string, cardManifest>} [cards]
 * @property {?object.<string, string>} [groups]
 * @property {string} [formDescription]
 * @property {string} [attrsFormDescription]
 */

/**
 * @typedef {object} nodeManifest
 * @property {string} code - Code of node
 * @property {string} handler - Name of node constructor
 * @property {string} name - Name of node
 * @property {string} type - Type of node
 * @property {boolean} allowInlineEdit - Allows inline edit
 * @property {boolean} [skipDom]
 * @property {string} [group]
 * @property {object} [extend]
 * @property {string[]} [extend.attrs]
 * @property {imageDimensions} [dimensions]
 * @property {boolean} [allowFormEdit = false]
 */

/**
 * @typedef {object} imageDimensions
 * @property {number} width
 * @property {number} height
 */

/**
 * @typedef {object} cardManifest
 * @property {string} name - Card name
 * @property {string} [label] - Card label in edit form
 * @property {object} [presets]
 * @property {array} [presets.disallow]
 * @property {string} [formDescription]
 * @property {array|string}
 */


/**
 * @typedef {object} nodeOptions
 * @property {HTMLElement} node - Node element
 * @property {nodeManifest} manifest - Node manifest
 * @property {string} selector - Node selector
 * @property {boolean} allowInlineEdit - Allows inline edit
 * @property {function} [onChange] - Function that will be called if contents change
 * @property {function} [onDesignShow] - Function that will be called if need open design panel
 * @property {function} [onChangeOptions]
 * @property {object} [uploadParams]
 */


/**
 * @typedef {object} addBlockResponse
 * @property {int} id
 * @property {string} content
 * @property {string} content_ext
 * @property {array.<string>} js
 * @property {array.<string>} css
 * @property {blockManifest} manifest
 */

Anon7 - 2022
AnonSec Team