File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/js/landing/collection/nodecollection/dist/nodecollection.bundle.js.map
Back
{"version":3,"file":"nodecollection.bundle.js","sources":["../src/nodecollection.js"],"sourcesContent":["import {BaseCollection} from 'landing.collection.basecollection';\n\n/**\n * @memberOf BX.Landing.Collection\n */\nexport class NodeCollection extends BaseCollection\n{\n\tgetByNode(node: HTMLElement): ?BX.Landing.Block.Node\n\t{\n\t\treturn this.find((item) => item.node === node);\n\t}\n\n\tgetBySelector(selector: string): ?BX.Landing.Block.Node\n\t{\n\t\treturn this.find((item) => item.selector === selector);\n\t}\n\n\tadd(node: BX.Landing.Block.Node)\n\t{\n\t\tif (!!node && node instanceof BX.Landing.Block.Node)\n\t\t{\n\t\t\tsuper.add(node);\n\t\t}\n\t}\n\n\tmatches(selector: string): NodeCollection\n\t{\n\t\treturn this.filter((item) => {\n\t\t\treturn item.node && selector.indexOf(':') === -1 && item.node.matches(selector);\n\t\t});\n\t}\n\n\tnotMatches(selector: string): NodeCollection\n\t{\n\t\treturn this.filter((item) => {\n\t\t\treturn item.node && !item.node.matches(selector);\n\t\t});\n\t}\n\n\tgetVisible(): NodeCollection\n\t{\n\t\treturn this.filter((item) => !item.hidden);\n\t}\n}"],"names":["NodeCollection","node","find","item","selector","BX","Landing","Block","Node","filter","indexOf","matches","hidden","BaseCollection"],"mappings":";;;;;CAEA;;;;AAGA,KAAaA,cAAb;CAAA;;CAAA;CAAA;CAAA;CAAA;;CAAA;CAAA;CAAA,8BAEWC,IAFX,EAGC;CACC,aAAO,KAAKC,IAAL,CAAU,UAACC,IAAD;CAAA,eAAUA,IAAI,CAACF,IAAL,KAAcA,IAAxB;CAAA,OAAV,CAAP;CACA;CALF;CAAA;CAAA,kCAOeG,QAPf,EAQC;CACC,aAAO,KAAKF,IAAL,CAAU,UAACC,IAAD;CAAA,eAAUA,IAAI,CAACC,QAAL,KAAkBA,QAA5B;CAAA,OAAV,CAAP;CACA;CAVF;CAAA;CAAA,wB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