Your IP : 18.217.122.248


Current Path : /var/www/www-root/data/www/monolith-realty.ru/bitrix/js/landing/node/link/dist/
Upload File :
Current File : /var/www/www-root/data/www/monolith-realty.ru/bitrix/js/landing/node/link/dist/link.bundle.js.map

{"version":3,"file":"link.bundle.js","sources":["../src/link.js"],"sourcesContent":["import { Base } from 'landing.node.base';\nimport { Dom, Event } from 'main.core';\n\nconst trim = BX.Landing.Utils.trim;\nconst isPlainObject = BX.Landing.Utils.isPlainObject;\nconst isString = BX.Landing.Utils.isString;\nconst textToPlaceholders = BX.Landing.Utils.textToPlaceholders;\nconst create = BX.Landing.Utils.create;\nconst escapeText = BX.Landing.Utils.escapeText;\nconst decodeDataValue = BX.Landing.Utils.decodeDataValue;\n\nexport class Link extends Base\n{\n\tconstructor(options)\n\t{\n\t\tsuper(options);\n\n\t\tthis.type = 'link';\n\n\t\tif (!this.isGrouped())\n\t\t{\n\t\t\tEvent.bind(this.node, 'click', this.onClick.bind(this));\n\t\t}\n\n\t\tif (this.isAllowInlineEdit())\n\t\t{\n\t\t\tDom.attr(this.node, 'title', BX.Landing.Loc.getMessage('LANDING_TITLE_OF_LINK_NODE'));\n\t\t}\n\n\t\tthis.onChange = BX.Runtime.debounce(this.onChange, 500);\n\t\tthis.onContentUpdate = BX.Runtime.debounce(this.onContentUpdate, 500);\n\t}\n\n\tonContentUpdate()\n\t{\n\t\tBX.Landing.History.getInstance().push();\n\t\tthis.getField().setValue(this.getValue());\n\t}\n\n\tisMenuMode(): boolean\n\t{\n\t\treturn this.manifest.menuMode === true;\n\t}\n\n\t/**\n\t * Handles click event\n\t * @param {MouseEvent} event\n\t */\n\tonClick(event)\n\t{\n\t\tevent.preventDefault();\n\n\t\tif (!this.isMenuMode())\n\t\t{\n\t\t\tevent.stopPropagation();\n\t\t}\n\n\t\tif (this.isAllowInlineEdit())\n\t\t{\n\t\t\tBX.Landing.UI.Button.ColorAction.hideAll();\n\n\t\t\tif (!BX.Landing.UI.Panel.StylePanel.getInstance().isShown())\n\t\t\t{\n\t\t\t\tBX.Landing.UI.Panel.Link.getInstance().show(this);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Sets node value\n\t * @param data\n\t * @param {?boolean} [preventSave = false]\n\t * @param {?boolean} [preventHistory = false]\n\t */\n\tsetValue(data, preventSave, preventHistory)\n\t{\n\t\tthis.startValue = this.startValue || this.getValue();\n\n\t\tthis.preventSave(preventSave);\n\n\t\tif (!this.containsImage() && this.isAllowInlineEdit())\n\t\t{\n\t\t\tconst field = this.getField(true).hrefInput;\n\n\t\t\tif (isString(data.text) && data.text.includes('{{name}}'))\n\t\t\t{\n\t\t\t\tfield.getPlaceholderData(data.href)\n\t\t\t\t\t.then((placeholdersData) => {\n\t\t\t\t\t\tthis.node.innerHTML = data.text.replace(\n\t\t\t\t\t\t\t/{{name}}/,\n\t\t\t\t\t\t\t`<span data-placeholder=\"name\">${placeholdersData.name}</span>`,\n\t\t\t\t\t\t);\n\t\t\t\t\t})\n\t\t\t\t\t.catch(() => {});\n\t\t\t}\n\t\t\telse if (!this.getField().containsHtml() && !this.manifest.skipContent)\n\t\t\t{\n\t\t\t\tthis.node.innerHTML = escapeText(data.text);\n\t\t\t}\n\t\t}\n\n\t\tthis.setAttrValue(data);\n\n\t\tthis.onChange(preventHistory);\n\n\t\tif (!preventHistory)\n\t\t{\n\t\t\tthis.onContentUpdate();\n\t\t}\n\t}\n\n\tsetAttrValue(data)\n\t{\n\t\tDom.attr(this.node, 'href', decodeDataValue(data.href));\n\t\tDom.attr(this.node, 'target', escapeText(data.target));\n\n\t\tif ('attrs' in data)\n\t\t{\n\t\t\tObject.keys(data.attrs).forEach((attr) => {\n\t\t\t\tif (Object.prototype.hasOwnProperty.call(data.attrs, attr))\n\t\t\t\t{\n\t\t\t\t\tDom.attr(this.node, attr, data.attrs[attr]);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\telse\n\t\t{\n\t\t\tDom.attr(this.node, 'data-url', null);\n\t\t\tDom.attr(this.node, 'data-embed', null);\n\t\t}\n\t}\n\n\t/**\n\t * Checks that this node contains image node\n\t * @return {boolean}\n\t */\n\tcontainsImage(): boolean\n\t{\n\t\treturn Boolean(this.node.firstElementChild) && this.node.firstElementChild.tagName === 'IMG';\n\t}\n\n\t/**\n\t * Gets node value\n\t * @return {{text: string, href: string|*, target: string|*}}\n\t */\n\tgetValue(): {text: string, href: string | *, target: string | *}\n\t{\n\t\tconst value = {\n\t\t\ttext: textToPlaceholders(trim(this.node.innerHTML)),\n\t\t\thref: trim(this.node.getAttribute('href')),\n\t\t\ttarget: trim(this.node.getAttribute('target') || '_self'),\n\t\t};\n\n\t\tif (this.node.getAttribute('data-url'))\n\t\t{\n\t\t\tvalue.attrs = {\n\t\t\t\t'data-url': trim(this.node.getAttribute('data-url')),\n\t\t\t};\n\t\t}\n\n\t\tif (this.node.getAttribute('data-dynamic'))\n\t\t{\n\t\t\tif (!isPlainObject(value.attrs))\n\t\t\t{\n\t\t\t\tvalue.attrs = {};\n\t\t\t}\n\n\t\t\tvalue.attrs['data-dynamic'] = this.node.getAttribute('data-dynamic');\n\t\t}\n\n\t\tif (this.manifest.skipContent)\n\t\t{\n\t\t\tvalue.skipContent = true;\n\t\t\tdelete value.text;\n\t\t}\n\n\t\tif (value.href && value.href.startsWith('selectActions:'))\n\t\t{\n\t\t\tvalue.href = '#';\n\t\t}\n\n\t\treturn value;\n\t}\n\n\t/**\n\t * Gets field\n\t * @param {boolean} preventAdjustValue\n\t * @return {BX.Landing.UI.Field.BaseField}\n\t */\n\tgetField(preventAdjustValue): BX.Landing.UI.Field.BaseField\n\t{\n\t\tconst value = this.getValue();\n\t\tvalue.text = textToPlaceholders(create('div', { html: value.text }).innerHTML);\n\n\t\tif (!this.field)\n\t\t{\n\t\t\tconst allowedTypes = [\n\t\t\t\tBX.Landing.UI.Field.LinkUrl.TYPE_BLOCK,\n\t\t\t\tBX.Landing.UI.Field.LinkUrl.TYPE_PAGE,\n\t\t\t\tBX.Landing.UI.Field.LinkUrl.TYPE_CRM_FORM,\n\t\t\t\tBX.Landing.UI.Field.LinkUrl.TYPE_CRM_PHONE,\n\t\t\t];\n\n\t\t\tif (BX.Landing.Main.getInstance().options.params.type === BX.Landing.Main.TYPE_STORE)\n\t\t\t{\n\t\t\t\tallowedTypes.push(BX.Landing.UI.Field.LinkUrl.TYPE_CATALOG);\n\t\t\t}\n\n\t\t\tif (BX.Landing.Main.getInstance().options.features.includes('diskFile'))\n\t\t\t{\n\t\t\t\tallowedTypes.push(BX.Landing.UI.Field.LinkUrl.TYPE_DISK_FILE);\n\t\t\t}\n\n\t\t\tthis.field = new BX.Landing.UI.Field.Link({\n\t\t\t\ttitle: this.manifest.name,\n\t\t\t\tselector: this.selector,\n\t\t\t\tskipContent: this.manifest.skipContent,\n\t\t\t\tcontent: value,\n\t\t\t\toptions: {\n\t\t\t\t\tsiteId: BX.Landing.Main.getInstance().options.site_id,\n\t\t\t\t\tlandingId: BX.Landing.Main.getInstance().id,\n\t\t\t\t},\n\t\t\t\tallowedTypes,\n\t\t\t});\n\t\t}\n\t\telse if (!preventAdjustValue)\n\t\t{\n\t\t\tthis.field.setValue(value);\n\t\t\tthis.field.content = value;\n\t\t\tthis.field.hrefInput.content = value.href;\n\t\t\tthis.field.hrefInput.makeDisplayedHrefValue();\n\t\t\tthis.field.hrefInput.setHrefTypeSwitcherValue(\n\t\t\t\tthis.field.hrefInput.getHrefStringType(),\n\t\t\t);\n\t\t\tthis.field.hrefInput.removeHrefTypeFromHrefString();\n\t\t}\n\n\t\treturn this.field;\n\t}\n}\n\nBX.Landing.Node.Link = Link;\n"],"names":["trim","BX","Landing","Utils","isPlainObject","isString","textToPlaceholders","create","escapeText","decodeDataValue","Link","Base","constructor","options","type","isGrouped","Event","bind","node","onClick","isAllowInlineEdit","Dom","attr","Loc","getMessage","onChange","Runtime","debounce","onContentUpdate","History","getInstance","push","getField","setValue","getValue","isMenuMode","manifest","menuMode","event","preventDefault","stopPropagation","UI","Button","ColorAction","hideAll","Panel","StylePanel","isShown","show","data","preventSave","preventHistory","startValue","containsImage","field","hrefInput","text","includes","getPlaceholderData","href","then","placeholdersData","innerHTML","replace","name","catch","containsHtml","skipContent","setAttrValue","target","Object","keys","attrs","forEach","prototype","hasOwnProperty","call","Boolean","firstElementChild","tagName","value","getAttribute","startsWith","preventAdjustValue","html","allowedTypes","Field","LinkUrl","TYPE_BLOCK","TYPE_PAGE","TYPE_CRM_FORM","TYPE_CRM_PHONE","Main","params","TYPE_STORE","TYPE_CATALOG","features","TYPE_DISK_FILE","title","selector","content","siteId","site_id","landingId","id","makeDisplayedHrefValue","setHrefTypeSwitcherValue","getHrefStringType","removeHrefTypeFromHrefString","Node"],"mappings":";;;;;CAGA,MAAMA,IAAI,GAAGC,EAAE,CAACC,OAAO,CAACC,KAAK,CAACH,IAAI;CAClC,MAAMI,aAAa,GAAGH,EAAE,CAACC,OAAO,CAACC,KAAK,CAACC,aAAa;CACpD,MAAMC,QAAQ,GAAGJ,EAAE,CAACC,OAAO,CAACC,KAAK,CAACE,QAAQ;CAC1C,MAAMC,kBAAkB,GAAGL,EAAE,CAACC,OAAO,CAACC,KAAK,CAACG,kBAAkB;CAC9D,MAAMC,MAAM,GAAGN,EAAE,CAACC,OAAO,CAACC,KAAK,CAACI,MAAM;CACtC,MAAMC,UAAU,GAAGP,EAAE,CAACC,OAAO,CAACC,KAAK,CAACK,UAAU;CAC9C,MAAMC,eAAe,GAAGR,EAAE,CAACC,OAAO,CAACC,KAAK,CAACM,eAAe;AAExD,CAAO,MAAMC,IAAI,SAASC,sBAAI,CAC9B;GACCC,WAAW,CAACC,OAAO,EACnB;KACC,KAAK,CAACA,OAAO,CAAC;KAEd,IAAI,CAACC,IAAI,GAAG,MAAM;KAElB,IAAI,CAAC,IAAI,CAACC,SAAS,EAAE,EACrB;OACCC,eAAK,CAACC,IAAI,CAAC,IAAI,CAACC,IAAI,EAAE,OAAO,EAAE,IAAI,CAACC,OAAO,CAACF,IAAI,CAAC,IAAI,CAAC,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