PageSourceSearch

https://partners.dasreda.ru/chunk.7d745d753f9ff609ec8c.js

js dasreda.ru collected 2026-09-24 19:01:51 UTC 5,996 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4486],{4486:(e,t,n)=>{n.r(t),n.d(t,{default:()=>L});n(44962),n(78557),n(82367);var r=n(63696),a=n(25415),l=n(39535),o=n(15743),c=n(60887),u=n(28892),i=n(66871),m=n(83127),s=n(37725),d=n(50432),f={columns:[{order:1,slug:"time_formatted",name:"Дата и время записи",width:"25%"},{order:2,slug:"success",name:"Успех",width:"25%",custom:!0},{order:3,slug:"order_number",name:"Номер заявки",width:"25%"},{order:4,slug:"status",name:"Статус",width:"25%"}]},p=n(26132),E=n(75974),g=n(99808),b=n(34769),C=n(16171),h=n(11629),y=n(27254),v=n(91345),A=function(e){var t,n=e.onSubmit,a=e.onClear,l=e.form,o=e.params;return r.createElement(p.A,{gutter:[16,16]},r.createElement(E.A,{xs:24,md:12},r.createElement(b.I,{label:"Дата создания от",field:g.L.CREATED_AT_FROM,form:l,initialValue:o[g.L.CREATED_AT_FROM]})),r.createElement(E.A,{xs:24,md:12},r.createElement(b.I,{label:"Дата создания до",field:g.L.CREATED_AT_TO,form:l,initialValue:o[g.L.CREATED_AT_TO]})),r.createElement(E.A,{span:24},r.createElement(C.wB,{items:[{id:"true",name:"Да"},{id:"false",name:"Нет"}],form:l,fieldName:g.L.SUCCESS,label:"Успех",fieldOptions:{initialValue:null!==(t=o[g.L.SUCCESS])&&void 0!==t?t:void 0},allowClear:!0})),r.createElement(E.A,{span:24},r.createElement(h.S,{form:l,fieldName:g.L.ORDER_NUMBER,fieldOptions:{initialValue:o[g.L.ORDER_NUMBER]},label:"Номер заявки",allowClear:!0})),r.createElement(E.A,{span:24},r.createElement(v.DE,null,r.createElement(y.M,{onClick:n,title:"common.apply"}),r.createElement(y.M,{onClick:a,outline:!0,title:"common.clear"}))))},w=function(e){var t=e.item,n=e.slug;return t&&"success"===n?r.createElement(r.Fragment,null,t.success?"Да":"Нет"):null},O=(n(86584),n(43617),n(93991),n(1498)),k=n(25897),R=(n(83810),n(24776),function(e){var t=e.request;return r.createElement("div",null,Object.keys(t).map((function(e){return r.createElement("div",{key:e},"".concat(e,": ").concat(t[e]))})))}),S=function(e){var t=e.item,n=e.columns,a=e.getCell;return r.createElement(r.Fragment,null,r.createElement(O.xX,null,n.map((function(e){return r.createElement(O.jH,{key:e.slug,style:{width:e.width}},a(e))})),r.createElement(O.jH,{width:31})),r.createElement(k.T,{left:18,right:18,bottom:16},r.createElement(R,{request:t.body})))};function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,l=[],o=!0,c=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(l.push(r.value),!t||l.length!==t);o=!0);}catch(e){c=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(c)throw a}}return l}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return T(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}
1var j={getLogsAction:s.K.actions.getAll,setRequestParams:s.K.actions.setRequestParams,clearLogs:s.K.actions.clearAll};const L=function(){var e=_((0,r.useState)(null),2),t=e[0],n=e[1],s=(0,a.d4)(d.H.getAll),p=(0,a.d4)(d.H.getRequestParams),E=(0,u.j)(j),g=E.getLogsAction,b=E.setRequestParams,C=E.clearLogs,h=(0,r.useCallback)((function(e,t,n,r){return g({params:e,clear:t,callback:n,errorCallback:r})}),[g]);return(0,m.S)((function(){return h(new i.U),function(){return C()}})),r.createElement("div",null,r.createElement(l.N,null,r.createElement(o.C,{Component:A,getData:h,params:p,setRequestParams:b,onlyButton:!0})),r.createElement(c.T,{getItems:g,requestParams:p,total:s.total_entries,data:s.entries,config:f,CustomColumnsComponent:w,expandable:!0,OpenedComponent:S,setOpened:n,opened:t}))}},60887:(e,t,n)=>{n.d(t,{T:()=>u});var r=n(63696),a=n(39968),l=n(91560),o=n(59225);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=function(e){var t=e.getItems,n=e.requestParams,u=e.data,i=e.config,m=e.customActions,s=e.CustomColumnsComponent,d=e.OpenedComponent,f=e.total,p=e.expandable,E=e.setOpened,g=e.opened,b=e.onOpen,C=e.loading,h=e.idActive,y=e.rowClick;return r.createElement(a.E,{getItems:t,requestParams:n,total:f,data:u,loading:C,renderGridRow:function(e){return r.createElement(o.T,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){c(e,t,n[t])}))}return e}({onOpen:b,customActions:m,expandable:p,OpenedComponent:d,columns:i.columns,CustomColumnsComponent:s,setOpened:E,opened:g,idActive:h,rowClick:y},e))},renderGridHeader:function(){return r.createElement(l.k,{expandable:p,columns:i.columns})}})}},91560:(e,t,n)=>{n.d(t,{k:()=>u});n(86584),n(43617),n(93991),n(78557),n(51908);var r=n(63696),a=n(75744),l=n(34850),o=n(25897),c=n(84096),u=function(e){var t=e.columns,n=e.checkable,u=e.onCheck,i=e.isChecked,m=e.disableCheck,s=e.expandable,d=e.className,f=e.indeterminate,p=(0,l.vg)();return r.createElement(c.o,{className:d,hideScrollBar:!p},n&&r.createElement(c.W,null,r.createElement(o.T,{right:12},r.createElement(a.A,{indeterminate:f,onChange:function(e){null==u||u(e.target.checked)},checked:i,disabled:m}))),t.map((function(e){return r.createElement(c.W,{key:e.slug,width:e.width,align:e.align},e.name)})),s&&r.createElement(c.W,{width:31}))}}}]);
2//# sourceMappingURL=chunk.7d745d753f9ff609ec8c.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.