????

Your IP : 216.73.216.152


Current Path : C:/inetpub/vhost/xaydung.gdtsolutions.vn/build/static/js/
Upload File :
Current File : C:/inetpub/vhost/xaydung.gdtsolutions.vn/build/static/js/9333.eaea8785.chunk.js

"use strict";(self.webpackChunk_qlxd_frontend=self.webpackChunk_qlxd_frontend||[]).push([[9333],{23683:(e,t,n)=>{function r(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}n.d(t,{A:()=>r})},86897:(e,t,n)=>{n.d(t,{A:()=>u});var r,o=n(23683),a=n(91343),i=n(87760),d=(0,a.A)("createQuery"),f=(0,a.A)("parseExpand");class s{static SearchAll(e,t,n){const r=(0,o.A)(this,d)[d](t);return e.SearchAll(i.Cf,`?${r}`,n,!0)}static FindById(e,t,n,r){const a=(0,o.A)(this,d)[d](n);return e.FindById(i.Cf,t,`?${a}`,r)}static GetCount(e,t,n){const r=(0,o.A)(this,d)[d](t);return e.SearchAll(i.Cf+"/$count",`?${r}`,n,!0)}static Create(e,t){return e.Insert(i.Cf,t)}static Update(e,t,n,r){return e.Update(i.Cf,n,`(${t})`,r)}static Delete(e,t){return e.Delete(i.Cf,`(${t})`)}}r=s,Object.defineProperty(s,d,{writable:!0,value:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"&";const n=[];if("undefined"!==typeof e.select&&n.push(`$select=${Array.of(e.select).flat(2).join(",")}`),"undefined"!==typeof e.expand){const t=Array.isArray(e.expand)?e.expand.join(","):(0,o.A)(r,f)[f](e.expand);n.push(`$expand=${t}`)}if("undefined"!==typeof e.count&&n.push(`$count=${e.count}`),"undefined"!==typeof e.top&&n.push(`$top=${e.top}`),"undefined"!==typeof e.skip&&n.push(`$skip=${e.skip}`),"undefined"!==typeof e.format){const t="string"===typeof e.format?e.format:Array.of("application/json",...Object.entries(e.format).map((e=>{let[t,n]=e;return`odata.${t}=${n}`}))).join(";");n.push(`$format=${t}`)}if("undefined"!==typeof e.orderby){const t=Array.of(e.orderby).flat(2).map((e=>"string"===typeof e?e:Object.entries(e).map((e=>{let[t,n]=e;return`${t} ${n}`})))).flat().join(",");t&&n.push(`$orderby=${t}`)}return"undefined"!==typeof e.filter&&n.push(`$filter=${e.filter}`),n.join(t)}}),Object.defineProperty(s,f,{writable:!0,value:e=>"string"===typeof e?e:Object.keys(e).map((t=>{var n;const a=null!==(n=e[t])&&void 0!==n?n:{},i=(0,o.A)(r,d)[d](a,";");return i?`${t}(${i})`:t})).join(",")});const u=s},89333:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});n(82210);var r=n(44884),o=n(72297),a=n(86897),i=n(6058);function d(){return(0,i.jsx)(r.YD,{name:"Menu d\xe0nh cho Web Qu\u1ea3n Tr\u1ecb",manipulation:{view:()=>o.E6.getMenuTree(),add:e=>a.A.Create(o.E6,e),edit:e=>{let{Id:t,...n}=e;return a.A.Update(o.E6,t,n,{mode:"no-cors"})},delete:e=>a.A.Delete(o.E6,e)}})}},91343:(e,t,n)=>{n.d(t,{A:()=>o});var r=0;function o(e){return"__private_"+r+++"_"+e}}}]);
//# sourceMappingURL=9333.eaea8785.chunk.js.map