PageSourceSearch

https://mot.go.th/_next/static/chunks/761-37c9027e6b834202.js

js mot.go.th collected 2026-10-02 10:00:56 UTC 8,339 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[761],{60761:function(n,e,t){t.r(e),t.d(e,{default:function(){return c}});var o=t(85893),r=t(53184),i=t(68509),l=t(53252),a=t(295),d=t(11163),s=(t(67294),t(9473)),x=t(21060);function c(n){var e,t=n.item,c=(0,d.useRouter)(),u=(0,s.v9)((function(n){return n.sizeFont.value}));return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.Z,{sx:{backgroundColor:"background.BlueYl"},children:(0,o.jsxs)(i.Z,{children:[(0,o.jsx)(l.Z,{sx:{fontSize:{md:"".concat(18+u,"px"),xs:"14px"},color:"background.paper",border:"none",padding:{md:"15px",xs:"5px"}},align:"center",children:"th"===c.locale?"\u0e2d\u0e31\u0e19\u0e14\u0e31\u0e1a":"No."}),(0,o.jsx)(l.Z,{sx:{fontSize:{md:"".concat(18+u,"px"),xs:"14px"},color:"background.paper",border:"none",padding:{md:"15px",xs:"5px"}},align:"center",children:"th"===c.locale?"\u0e27\u0e31\u0e19\u0e17\u0e35\u0e48\u0e1b\u0e23\u0e30\u0e01\u0e32\u0e28\u0e23\u0e48\u0e32\u0e07 TOR":"Date"}),(0,o.jsx)(l.Z,{sx:{fontSize:{md:"".concat(18+u,"px"),xs:"14px"},color:"background.paper",border:"none",padding:{md:"15px",xs:"5px"}},align:"center",children:"th"===c.locale?"\u0e27\u0e34\u0e18\u0e35\u0e01\u0e32\u0e23\u0e08\u0e31\u0e14\u0e0b\u0e37\u0e49\u0e2d\u0e08\u0e31\u0e14\u0e08\u0e49\u0e32\u0e07":"Method"}),(0,o.jsx)(l.Z,{sx:{fontSize:{md:"".concat(18+u,"px"),xs:"14px"},color:"background.paper",border:"none",padding:{md:"15px",xs:"5px"}},align:"center",children:"th"===c.locale?"\u0e40\u0e25\u0e02\u0e17\u0e35\u0e48\u0e1b\u0e23\u0e30\u0e01\u0e32\u0e28\u0e0b\u0e37\u0e49\u0e2d-\u0e08\u0e49\u0e32\u0e07/\u0e40\u0e25\u0e02\u0e17\u0e35\u0e48\u0e2b\u0e19\u0e31\u0e07\u0e2a\u0e37\u0e2d":"Announcement number of purchase-hire/book number"}),(0,o.jsx)(l.Z,{sx:{fontSize:{md:"".concat(18+u,"px"),xs:"14px"},color:"background.paper",border:"none",padding:{md:"15px",xs:"5px"}},align:"center",children:"th"===c.locale?"\u0e0a\u0e37\u0e48\u0e2d\u0e42\u0e04\u0e23\u0e07\u0e01\u0e32\u0e23":"Name"}),(0,o.jsx)(l.Z,{sx:{fontSize:{md:"".concat(18+u,"px"),xs:"14px"},color:"background.paper",border:"none",padding:{md:"15px",xs:"5px"}},align:"center",children:"th"===c.locale?"\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e40\u0e2d\u0e01\u0e2a\u0e32\u0e23":"Download Documents"})]})}),(0,o.jsx)(a.Z,{children:null===t||void 0===t||null===(e=t.data)||void 0===e?void 0:e.map((function(n,e){return(0,o.jsx)(x.default,{row:n,i:e},e)}))})]})}},21060:function(n,e,t){t.r(e),t.d(e,{default:function(){return C}});var o=t(85893),r=t(67294),i=t(68509),l=t(53252),a=t(80822),d=t(93946),s=t(57922),x=t(7906),c=t(53184),u=t(295),p=t(15861),m=t(11163),h=t(22961),f=t(99929),g=t(93877),b=t(9473),v=t(9547),j=t(75503),Z=t(90813),w=t(9669),y=t.n(w);function S(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,o=new Array(e);t<e;t++)o[t]=n[t];return o}function k(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t=null==n?null:"undefined"!==typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var o,r,i=[],l=!0,a=!1;try{for(t=t.call(n);!(l=(o=t.next()).done)&&(i.push(o.value),!e||i.length!==e);l=!0);}catch(d){a=!0,r=d}finally{try{l||null==t.return||t.return()}finally{if(a)throw r}}return i}}(n,e)||function(n,e){if(!n)return;if("string"===typeof n)return S(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);"Object"===t&&n.constructor&&(t=n.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return S(n,e)}(n,e)||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.")}()}function z(n){var e=new Date(n),t=e.getDate(),o=e.getMonth(),r=e.getFullYear();return"".concat(t," ").concat(["\u0e21.\u0e04.","\u0e01.\u0e1e.","\u0e21\u0e35.\u0e04.","\u0e40\u0e21.\u0e22.","\u0e1e.\u0e04.","\u0e21\u0e34.\u0e22.","\u0e01.\u0e04.","\u0e2a.\u0e04.","\u0e01.\u0e22.","\u0e15.\u0e04.","\u0e1e.\u0e22.","\u0e18.\u0e04."][o]," ").concat(r+543)}function C(n){var e,t=n.row,w=n.i,S=(0,b.v9)((function(n){return n.sizeFont.value})),C=k(r.useState(!1),2),B=C[0],T=C[1],A=(0,m.useRouter)(),D=(0,r.useState)(!1),M=D[0],O=D[1],I=(0,r.useState)(!1),F=I[0],N=I[1],R=(0,r.useState)(""),W=R[0],E=R[1];return(0,r.useEffect)((function(){M&&(y().get((0,g.p)("/procurements/".concat(W,"/action-view"))).then((function(n){return console.log(n)})),O(!1)),F&&(y().get((0,g.p)("/procurements/".concat(W,"/action-download"))).then((function(n){return console.log(n)})),N(!1))}),[M,F,W]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(i.Z,{sx:{fontSize:{md:"".concat(18+S,"px"),xs:"14px"},transition:".3s",":hover":{backgroundColor:"background.hoverTab"}},children:[(0,o.jsx)(l.Z,{align:"center",sx:{fontSize:{md:"".concat(18+S,"px"),xs:"14px"},width:{md:"100px",xs:"100px"},padding:{md:"15px",xs:"5px"},"&.MuiTableCell-root":{borderBottom:"unset !important"}},children:w+1}),(0,o.jsx)(l.Z,{align:"center",sx:{fontSize:{md:"".concat(18+S,"px"),xs:"14px"},width:{md:"170px",xs:"100px"},padding:{md:"15px",xs:"5px"},"&.MuiTableCell-root":{borderBottom:"unset !important"}},children:z(null===t||void 0===t?void 0:t.Date)}),(0,o.jsx)(l.Z,{align:"left",sx:{fontSize:{md:"".concat(18+S,"px"),xs:"14px"},textAlign:"start",padding:{md:"15px",xs:"5px"},"&.MuiTableCell-root":{borderBottom:"unset !important"}},children:(0,o.jsx)(a.Z,{sx:{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"2",overflow:"hidden"},children:null===t||void 0===t?void 0:t.OperationName})}),(0,o.jsx)(l.Z,{align:"left",sx:{fontSize:{md:"".concat(18+S,"px"),xs:"14px"},textAlign:"start",padding:{md:"15px",xs:"5px"},"&.MuiTableCell-root":{borderBottom:"unset !important"}},children:(0,o.jsx)(a.Z,{sx:{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"2",overflow:"hidden"},children:null===t||void 0===t?void 0:t.DocumentNo})}),(0,o.jsx)(l.Z,{align:"left",sx:{fontSize:{md:"".concat(18+S,"px"),xs:"14px"},textAlign:"start",padding:{md:"15px",xs:"5px"},"&.MuiTableCell-root":{borderBottom:"unset !important"}},children:(0,o.jsx)(a.Z,{sx:{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"2",overflow:"hidden"},children:null===t||void 0===t?void 0:t.Title})}),(0,o.jsx)(l.Z,{align:"center",sx:{fontSize:{md:"".concat(18+S,"px"),xs:"14px"},display:"flex",flexDirection:"column",padding:{md:"15px",xs:"5px"},"&.MuiTableCell-root":{borderBottom:"unset !important",display:"flex",alignItems:"center"}}
1,children:(0,o.jsx)(d.Z,{"aria-label":"expand row",size:"small",sx:{width:"fit-content"},onClick:function(){return T(!B)},children:B?(0,o.jsx)(Z.Z,{}):(0,o.jsx)(j.Z,{})})})]},t.id),(0,o.jsx)(i.Z,{sx:{"& > *":{borderBottom:"unset !important"}},children:(0,o.jsx)(l.Z,{style:{paddingBottom:0,paddingTop:0},colSpan:6,children:(0,o.jsx)(s.Z,{in:B,timeout:"auto",unmountOnExit:!0,children:(0,o.jsx)(a.Z,{sx:{margin:1},children:(0,o.jsxs)(x.Z,{size:"small","aria-label":"purchases",children:[(0,o.jsx)(c.Z,{children:(0,o.jsxs)(i.Z,{children:[(0,o.jsx)(l.Z,{sx:{width:"5%"},children:"#"}),(0,o.jsx)(l.Z,{sx:{width:"75%"},children:"th"===A.locale?"\u0e0a\u0e37\u0e48\u0e2d":"name"}),(0,o.jsx)(l.Z,{sx:{width:"10%"},children:"th"===A.locale?"\u0e2a\u0e16\u0e34\u0e15\u0e34":"statistics"}),(0,o.jsx)(l.Z,{sx:{width:"10%"},children:"th"===A.locale?"\u0e40\u0e2d\u0e01\u0e2a\u0e32\u0e23\u0e1b\u0e23\u0e30\u0e01\u0e2d\u0e1a":"Documentation"})]})}),(0,o.jsx)(u.Z,{children:null===t||void 0===t||null===(e=t.Files)||void 0===e?void 0:e.map((function(n,e){return(0,o.jsxs)(i.Z,{children:[(0,o.jsx)(l.Z,{scope:"row",children:e+1}),(0,o.jsx)(l.Z,{children:n.name}),(0,o.jsxs)(l.Z,{children:[(0,o.jsxs)(p.Z,{variant:"body1",sx:{display:"flex",alignItems:"center",fontSize:"12px",marginRight:"10px"},children:[(0,o.jsx)(h.Z,{sx:{fontSize:"12px",marginRight:"5px"}}),(null===n||void 0===n?void 0:n.viewCount)||0]}),(0,o.jsxs)(p.Z,{variant:"body1",sx:{display:"flex",alignItems:"center",fontSize:"12px"},children:[(0,o.jsx)(f.Z,{sx:{fontSize:"12px",marginRight:"5px"}}),(null===n||void 0===n?void 0:n.downloadCount)||0]})]}),(0,o.jsx)(l.Z,{align:"right",children:(0,o.jsx)(v.default,{link:(0,g.$)(null===n||void 0===n?void 0:n.url),name:null===n||void 0===n?void 0:n.name,setView:O,setDownloadCount:N,setId:E,id:null===n||void 0===n?void 0:n.id})})]},e)}))})]})})})})})]})}}}]);

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.