PageSourceSearch

https://my.skladbot.ru/build/assets/CustomerHistoryMessage-eFvNBa_m.js

js skladbot.ru collected 2026-09-24 13:24:41 UTC 2,059 bytes, 1 lines download raw bytes

1import{_ as p,m as g}from"./app-CO4apAj4.js";import{aK as c,O as r,aC as s,Z as h,P as t,M as _,N as k,F as m,aI as b,bK as P,bN as n}from"./vendor-draggable-BmGiGqd9.js";import"./vendor-charts-D4puGc6z.js";import"./vendor-litepicker-C0XcOdnu.js";import"./vendor-multiselect-DKw0yhJZ.js";/* empty css            */import"./vendor-pusher-DcW4G2IE.js";const v={data(){return{customerMessageParams:{page:1},itemsPerPageOptions:[10,25,50,75,100]}},computed:{tableParamsHelper(){return Object.assign({},this.customerMessageParams)}},watch:{customerMessageParams:{handler(){let a=new URLSearchParams({page:this.customerMessageParams.page}).toString();this.$inertia.get(this.$route("history.message")+`?${a}`,{},{onSuccess:()=>{this.get_customerMessage()}})},deep:!0}}},y={props:{messages:{type:[Array,Object],required:!0}},mixins:[v],computed:{data(){return this.messages.data},links(){return this.messages.links},tableParamsHelper(){Object.assign({},this.customerMessageParams)}},methods:{...g(["get_customerMessage"])}},M={class:"border rounded bg-white position-relative"},f={key:0},x={class:"items-end sm:flex"},$={class:"text-base"},C={class:"text-sm text-gray-400 sm:ml-3"},N={class:"text-sm"},O={key:1,class:"p-4 text-center h-full"};function w(a,B,l,S,j,o){const d=c("page-header"),u=c("pagination");return s(),r(m,null,[h(d,{title:"История сообщений",back:a.$route("customers.index")},null,8,["back"]),t("div",M,[o.data.length?(s(),r("div",f,[(s(!0),r(m,null,b(o.data,(e,i)=>(s(),r("div",{key:i,class:P([{"border-b":i!==l.messages.length},"p-2 hover:shadow-md hover:scale-150 cursor-pointer transition-all relative"])},[t("div",null,[t("div",x,[t("h3",$,n(`${e.first_name} ${e==null?void 0:e.middle_name}`),1),t("p",C,n(e.created_at),1)]),t("p",N,n(e.message),1)])],2))),128))])):(s(),r("div",O,"Нет сообщений"))]),o.links?(s(),_(u,{key:0,class:"mt-4",links:o.links,params:a.customerMessageParams,get:a.$route("history.message")},null,8,["links","params","get"])):k("",!0)],64)}const z=p(y,[["render",w]]);export{z as default};

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.