AnonSec Shell
Server IP : 85.193.89.191  /  Your IP : 3.143.241.89
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/sale/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/bitrix/www/bitrix/js/sale/orderproperties.min.js
"use strict";BX.namespace("BX.Sale.PropertyCollection");BX.Sale.PropertyCollection=function(){var t=function(t){var n=0;return function(){return t[n++]}};var n=function(n,e){this.getId=function(){return n.ID};this.getName=function(){return n.NAME};this.getSort=function(){return n.SORT};this.getPersonTypeId=function(){return n.PERSON_TYPE_ID};this.getIterator=function(){return t(e)}};var e=BX.Sale.Input.Manager.Editor;var r=function(t,n){var r=!!n?"ORDER_PROP_"+t.ID:"PROPERTIES["+t.ID+"]";var i=t.TYPE=="LOCATION"&&!!n?{}:new e(r,t);i.getId=function(){return t.ID};i.getName=function(){return t.NAME};i.getType=function(){return t.TYPE};i.isRequired=function(){return t.REQUIRED==="Y"};i.isMultiple=function(){return t.MULTIPLE==="Y"};i.getGroupId=function(){return t.PROPS_GROUP_ID};i.getDescription=function(){return t.DESCRIPTION};i.getPersonTypeId=function(){return t.PERSON_TYPE_ID};i.getAltLocation=function(){return t.INPUT_FIELD_LOCATION};i.getSettings=function(){return t};return i};var i=["IS_EMAIL","IS_PAYER","IS_LOCATION","IS_LOCATION4TAX","IS_PROFILE_NAME","IS_ZIP","IS_PHONE","IS_ADDRESS"],u=i.length;return function(e){var o=[],I=[],c={};var f,a,s,P,g,E,O={},S=[],_,h,T,l,p=!!e.publicMode;f=e.groups;for(s in f){if(!f.hasOwnProperty(s))continue;P=f[s];g=P.ID;E=[];O[g]=E;o.push(new n(P,E))}f=e.properties;for(s in f){if(!f.hasOwnProperty(s))continue;P=f[s];_=P.ID;g=P.PROPS_GROUP_ID;h=r(P,p);c[_]=h;I.push(h);if(O.hasOwnProperty(g)){O[g].push(h)}else{throw"undefined group"}if(P.TYPE=="LOCATION"&&P.INPUT_FIELD_LOCATION&&!p)S.push(h);for(T=0;T<u;T++){l=i[T];if(P[l]=="Y")c[l]=h}}a=S.length;for(s=0;s<a;s++){S[s].addEvent("change",function(t,n){var e=false,r=n.getValuePath(),i=0,u=r.length;for(;i<u;i++){if(r[i].TYPE=="CITY"){e=true;break}}if(!!c[n.getAltLocation()])c[n.getAltLocation()].setDisabled(e)})}e=f=P=E=O=S=h=null;this.getIterator=function(){return t(I)};this.getGroupIterator=function(){o.sort(function(t,n){return t.getSort()-n.getSort()});return t(o)};this.getById=function(t){return c[t]};this.getUserEmail=function(){return c.IS_EMAIL};this.getPayerName=function(){return c.IS_PAYER};this.getDeliveryLocation=function(){return c.IS_LOCATION};this.getTaxLocation=function(){return c.IS_LOCATION4TAX};this.getProfileName=function(){return c.IS_PROFILE_NAME};this.getDeliveryLocationZip=function(){return c.IS_ZIP};this.getPhone=function(){return c.IS_PHONE};this.getAddress=function(){return c.IS_ADDRESS}}}();
//# sourceMappingURL=orderproperties.map.js

Anon7 - 2022
AnonSec Team