ubk.erp.webpack 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ubk.erp.webpack
|
|
2
2
|
|
|
3
3
|
UBK internal React component library.
|
|
4
4
|
|
|
@@ -25,7 +25,7 @@ Here is a basic example of how to use the components provided by this library:
|
|
|
25
25
|
|
|
26
26
|
```jsx
|
|
27
27
|
import React from 'react';
|
|
28
|
-
|
|
28
|
+
import { MenuSubmenu } from "ubk.erp.webpack";
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
const App = () => {
|
|
@@ -46,7 +46,7 @@ export default App;
|
|
|
46
46
|
|
|
47
47
|
- `AdmissionEnquiry`
|
|
48
48
|
```jsx
|
|
49
|
-
import { AdmissionEnquiry } from "
|
|
49
|
+
import { AdmissionEnquiry } from "ubk.erp.webpack";
|
|
50
50
|
|
|
51
51
|
const App = () => {
|
|
52
52
|
const token = "123";
|
package/dist/index.cjs
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
`);return i===-1?"":o.stack.slice(i+1)})();try{if(!r.stack)r.stack=s;else if(s){const i=s.indexOf(`
|
|
7
7
|
`),a=i===-1?-1:s.indexOf(`
|
|
8
8
|
`,i+1),m=a===-1?"":s.slice(a+1);String(r.stack).endsWith(m)||(r.stack+=`
|
|
9
|
-
`+s)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ee(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Be.assertOptions(r,{silentJSONParsing:he.transitional(he.boolean),forcedJSONParsing:he.transitional(he.boolean),clarifyTimeoutError:he.transitional(he.boolean),legacyInterceptorReqResOrdering:he.transitional(he.boolean)},!1),o!=null&&(d.isFunction(o)?n.paramsSerializer={serialize:o}:Be.assertOptions(o,{encode:he.function,serialize:he.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Be.assertOptions(n,{baseUrl:he.spelling("baseURL"),withXsrfToken:he.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&d.merge(s.common,s[n.method]);s&&d.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=fe.concat(i,s);const a=[];let m=!0;this.interceptors.request.forEach(function(u){if(typeof u.runWhen=="function"&&u.runWhen(n)===!1)return;m=m&&u.synchronous;const f=n.transitional||bt;f&&f.legacyInterceptorReqResOrdering?a.unshift(u.fulfilled,u.rejected):a.push(u.fulfilled,u.rejected)});const l=[];this.interceptors.response.forEach(function(u){l.push(u.fulfilled,u.rejected)});let c,p=0,x;if(!m){const h=[It.bind(this),void 0];for(h.unshift(...a),h.push(...l),x=h.length,c=Promise.resolve(n);p<x;)c=c.then(h[p++],h[p++]);return c}x=a.length;let b=n;for(;p<x;){const h=a[p++],u=a[p++];try{b=h(b)}catch(f){u.call(this,f);break}}try{c=It.call(this,b)}catch(h){return Promise.reject(h)}for(p=0,x=l.length;p<x;)c=c.then(l[p++],l[p++]);return c}getUri(t){t=Ee(this.defaults,t);const n=Sn(t.baseURL,t.url,t.allowAbsoluteUrls);return En(n,t.params,t.paramsSerializer)}};d.forEach(["delete","get","head","options"],function(t){we.prototype[t]=function(n,r){return this.request(Ee(r||{},{method:t,url:n,data:(r||{}).data}))}});d.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(Ee(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}we.prototype[t]=n(),we.prototype[t+"Form"]=n(!0)});let xo=class Pn{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new Me(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Pn(function(o){t=o}),cancel:t}}};function So(e){return function(n){return e.apply(null,n)}}function To(e){return d.isObject(e)&&e.isAxiosError===!0}const mt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(mt).forEach(([e,t])=>{mt[t]=e});function An(e){const t=new we(e),n=ln(we.prototype.request,t);return d.extend(n,we.prototype,t,{allOwnKeys:!0}),d.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return An(Ee(e,o))},n}const ne=An($e);ne.Axios=we;ne.CanceledError=Me;ne.CancelToken=xo;ne.isCancel=_n;ne.VERSION=Cn;ne.toFormData=Xe;ne.AxiosError=U;ne.Cancel=ne.CanceledError;ne.all=function(t){return Promise.all(t)};ne.spread=So;ne.isAxiosError=To;ne.mergeConfig=Ee;ne.AxiosHeaders=fe;ne.formToJSON=e=>vn(d.isHTMLForm(e)?new FormData(e):e);ne.getAdapter=On.getAdapter;ne.HttpStatusCode=mt;ne.default=ne;const{Axios:hs,AxiosError:ms,CanceledError:ys,isCancel:bs,CancelToken:gs,VERSION:ws,all:Es,Cancel:vs,isAxiosError:_s,spread:xs,toFormData:Ss,AxiosHeaders:Ts,HttpStatusCode:Rs,formToJSON:Os,getAdapter:Cs,mergeConfig:Ps}=ne,Et=ne.create({baseURL:"http://192.168.0.12/easy_erp_multi_jwt/"}),Ro=async(e,t)=>{try{let r=e;if(!e.includes("session_id")){const s=e.includes("?")?"&":"?";r=`${e}${s}session_id=1`}return(await Et.get(r,{headers:{Authorization:t}})).data}catch(n){throw n.response?.status===401&&(console.error("401 Unauthorized"),localStorage.clear(),globalThis.location.href="/"),n}},Oo=async(e,t)=>{const n=await Et.post(e,"",{headers:{Authorization:t}});if(n.data?.Status=="Success")return n?.data?.data||n?.data;throw new Error(n.data?.msg)},rt=async(e,t)=>{const n=localStorage.getItem("authToken"),r=t?.arg;return(await Et.post(e,r,{headers:{Authorization:n}}))?.data},Co=({token:e,menu:t})=>{const{isLoading:n,data:r}=an(e?["api/sdk/Menus",e]:null,([s,i])=>Oo(s,i)),o=r?.find(s=>s.path===t)?.sub_menu??[];return console.log("menuData",r),w.jsx(I.Row,{gutter:[16,16],children:o?.map((s,i)=>s.dashboard_show==="YES"?w.jsx(I.Col,{xs:24,md:8,lg:8,children:w.jsx(pe,{children:w.jsx(cn,{icon:`http://192.168.0.12/easy_erp_multi_jwt/icons/frontoffice/${s.icons}`,title:s.submenu_name,path:s.menu_key})})},`${i}office001`):null)})};function Po(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ie={},ot,Ut;function Ao(){return Ut||(Ut=1,ot=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,o,s;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(o=r;o--!==0;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(s=Object.keys(t),r=s.length,r!==Object.keys(n).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,s[o]))return!1;for(o=r;o--!==0;){var i=s[o];if(!e(t[i],n[i]))return!1}return!0}return t!==t&&n!==n}),ot}var Ie={exports:{}},Le={exports:{}},K={};var qt;function jo(){if(qt)return K;qt=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,x=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,u=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,R=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function P(v){if(typeof v=="object"&&v!==null){var G=v.$$typeof;switch(G){case t:switch(v=v.type,v){case m:case l:case r:case s:case o:case p:return v;default:switch(v=v&&v.$$typeof,v){case a:case c:case h:case b:case i:return v;default:return G}}case n:return G}}}function $(v){return P(v)===l}return K.AsyncMode=m,K.ConcurrentMode=l,K.ContextConsumer=a,K.ContextProvider=i,K.Element=t,K.ForwardRef=c,K.Fragment=r,K.Lazy=h,K.Memo=b,K.Portal=n,K.Profiler=s,K.StrictMode=o,K.Suspense=p,K.isAsyncMode=function(v){return $(v)||P(v)===m},K.isConcurrentMode=$,K.isContextConsumer=function(v){return P(v)===a},K.isContextProvider=function(v){return P(v)===i},K.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===t},K.isForwardRef=function(v){return P(v)===c},K.isFragment=function(v){return P(v)===r},K.isLazy=function(v){return P(v)===h},K.isMemo=function(v){return P(v)===b},K.isPortal=function(v){return P(v)===n},K.isProfiler=function(v){return P(v)===s},K.isStrictMode=function(v){return P(v)===o},K.isSuspense=function(v){return P(v)===p},K.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===r||v===l||v===s||v===o||v===p||v===x||typeof v=="object"&&v!==null&&(v.$$typeof===h||v.$$typeof===b||v.$$typeof===i||v.$$typeof===a||v.$$typeof===c||v.$$typeof===f||v.$$typeof===R||v.$$typeof===k||v.$$typeof===u)},K.typeOf=P,K}var X={};var Bt;function Do(){return Bt||(Bt=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,x=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,u=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,R=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function P(O){return typeof O=="string"||typeof O=="function"||O===r||O===l||O===s||O===o||O===p||O===x||typeof O=="object"&&O!==null&&(O.$$typeof===h||O.$$typeof===b||O.$$typeof===i||O.$$typeof===a||O.$$typeof===c||O.$$typeof===f||O.$$typeof===R||O.$$typeof===k||O.$$typeof===u)}function $(O){if(typeof O=="object"&&O!==null){var ae=O.$$typeof;switch(ae){case t:var ve=O.type;switch(ve){case m:case l:case r:case s:case o:case p:return ve;default:var ke=ve&&ve.$$typeof;switch(ke){case a:case c:case h:case b:case i:return ke;default:return ae}}case n:return ae}}}var v=m,G=l,te=a,se=i,re=t,Z=c,A=r,F=h,Q=b,T=n,S=s,g=o,C=p,_=!1;function M(O){return _||(_=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),y(O)||$(O)===m}function y(O){return $(O)===l}function E(O){return $(O)===a}function j(O){return $(O)===i}function N(O){return typeof O=="object"&&O!==null&&O.$$typeof===t}function D(O){return $(O)===c}function q(O){return $(O)===r}function z(O){return $(O)===h}function H(O){return $(O)===b}function V(O){return $(O)===n}function Y(O){return $(O)===s}function L(O){return $(O)===o}function ee(O){return $(O)===p}X.AsyncMode=v,X.ConcurrentMode=G,X.ContextConsumer=te,X.ContextProvider=se,X.Element=re,X.ForwardRef=Z,X.Fragment=A,X.Lazy=F,X.Memo=Q,X.Portal=T,X.Profiler=S,X.StrictMode=g,X.Suspense=C,X.isAsyncMode=M,X.isConcurrentMode=y,X.isContextConsumer=E,X.isContextProvider=j,X.isElement=N,X.isForwardRef=D,X.isFragment=q,X.isLazy=z,X.isMemo=H,X.isPortal=V,X.isProfiler=Y,X.isStrictMode=L,X.isSuspense=ee,X.isValidElementType=P,X.typeOf=$})()),X}var Ht;function jn(){return Ht||(Ht=1,process.env.NODE_ENV==="production"?Le.exports=jo():Le.exports=Do()),Le.exports}var st,Wt;function No(){if(Wt)return st;Wt=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function o(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var i={},a=0;a<10;a++)i["_"+String.fromCharCode(a)]=a;var m=Object.getOwnPropertyNames(i).map(function(c){return i[c]});if(m.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(c){l[c]=c}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return st=o()?Object.assign:function(s,i){for(var a,m=r(s),l,c=1;c<arguments.length;c++){a=Object(arguments[c]);for(var p in a)t.call(a,p)&&(m[p]=a[p]);if(e){l=e(a);for(var x=0;x<l.length;x++)n.call(a,l[x])&&(m[l[x]]=a[l[x]])}}return m},st}var it,zt;function vt(){if(zt)return it;zt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return it=e,it}var at,Vt;function Dn(){return Vt||(Vt=1,at=Function.call.bind(Object.prototype.hasOwnProperty)),at}var ct,Yt;function $o(){if(Yt)return ct;Yt=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=vt(),n={},r=Dn();e=function(s){var i="Warning: "+s;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function o(s,i,a,m,l){if(process.env.NODE_ENV!=="production"){for(var c in s)if(r(s,c)){var p;try{if(typeof s[c]!="function"){var x=Error((m||"React class")+": "+a+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x.name="Invariant Violation",x}p=s[c](i,c,m,a,null,t)}catch(h){p=h}if(p&&!(p instanceof Error)&&e((m||"React class")+": type specification of "+a+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in n)){n[p.message]=!0;var b=l?l():"";e("Failed "+a+" type: "+p.message+(b??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},ct=o,ct}var lt,Jt;function Mo(){if(Jt)return lt;Jt=1;var e=jn(),t=No(),n=vt(),r=Dn(),o=$o(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(a){var m="Warning: "+a;typeof console<"u"&&console.error(m);try{throw new Error(m)}catch{}});function i(){return null}return lt=function(a,m){var l=typeof Symbol=="function"&&Symbol.iterator,c="@@iterator";function p(y){var E=y&&(l&&y[l]||y[c]);if(typeof E=="function")return E}var x="<<anonymous>>",b={array:R("array"),bigint:R("bigint"),bool:R("boolean"),func:R("function"),number:R("number"),object:R("object"),string:R("string"),symbol:R("symbol"),any:k(),arrayOf:P,element:$(),elementType:v(),instanceOf:G,node:Z(),objectOf:se,oneOf:te,oneOfType:re,shape:F,exact:Q};function h(y,E){return y===E?y!==0||1/y===1/E:y!==y&&E!==E}function u(y,E){this.message=y,this.data=E&&typeof E=="object"?E:{},this.stack=""}u.prototype=Error.prototype;function f(y){if(process.env.NODE_ENV!=="production")var E={},j=0;function N(q,z,H,V,Y,L,ee){if(V=V||x,L=L||H,ee!==n){if(m){var O=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw O.name="Invariant Violation",O}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ae=V+":"+H;!E[ae]&&j<3&&(s("You are manually calling a React.PropTypes validation function for the `"+L+"` prop on `"+V+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),E[ae]=!0,j++)}}return z[H]==null?q?z[H]===null?new u("The "+Y+" `"+L+"` is marked as required "+("in `"+V+"`, but its value is `null`.")):new u("The "+Y+" `"+L+"` is marked as required in "+("`"+V+"`, but its value is `undefined`.")):null:y(z,H,V,Y,L)}var D=N.bind(null,!1);return D.isRequired=N.bind(null,!0),D}function R(y){function E(j,N,D,q,z,H){var V=j[N],Y=g(V);if(Y!==y){var L=C(V);return new u("Invalid "+q+" `"+z+"` of type "+("`"+L+"` supplied to `"+D+"`, expected ")+("`"+y+"`."),{expectedType:y})}return null}return f(E)}function k(){return f(i)}function P(y){function E(j,N,D,q,z){if(typeof y!="function")return new u("Property `"+z+"` of component `"+D+"` has invalid PropType notation inside arrayOf.");var H=j[N];if(!Array.isArray(H)){var V=g(H);return new u("Invalid "+q+" `"+z+"` of type "+("`"+V+"` supplied to `"+D+"`, expected an array."))}for(var Y=0;Y<H.length;Y++){var L=y(H,Y,D,q,z+"["+Y+"]",n);if(L instanceof Error)return L}return null}return f(E)}function $(){function y(E,j,N,D,q){var z=E[j];if(!a(z)){var H=g(z);return new u("Invalid "+D+" `"+q+"` of type "+("`"+H+"` supplied to `"+N+"`, expected a single ReactElement."))}return null}return f(y)}function v(){function y(E,j,N,D,q){var z=E[j];if(!e.isValidElementType(z)){var H=g(z);return new u("Invalid "+D+" `"+q+"` of type "+("`"+H+"` supplied to `"+N+"`, expected a single ReactElement type."))}return null}return f(y)}function G(y){function E(j,N,D,q,z){if(!(j[N]instanceof y)){var H=y.name||x,V=M(j[N]);return new u("Invalid "+q+" `"+z+"` of type "+("`"+V+"` supplied to `"+D+"`, expected ")+("instance of `"+H+"`."))}return null}return f(E)}function te(y){if(!Array.isArray(y))return process.env.NODE_ENV!=="production"&&(arguments.length>1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array.")),i;function E(j,N,D,q,z){for(var H=j[N],V=0;V<y.length;V++)if(h(H,y[V]))return null;var Y=JSON.stringify(y,function(ee,O){var ae=C(O);return ae==="symbol"?String(O):O});return new u("Invalid "+q+" `"+z+"` of value `"+String(H)+"` "+("supplied to `"+D+"`, expected one of "+Y+"."))}return f(E)}function se(y){function E(j,N,D,q,z){if(typeof y!="function")return new u("Property `"+z+"` of component `"+D+"` has invalid PropType notation inside objectOf.");var H=j[N],V=g(H);if(V!=="object")return new u("Invalid "+q+" `"+z+"` of type "+("`"+V+"` supplied to `"+D+"`, expected an object."));for(var Y in H)if(r(H,Y)){var L=y(H,Y,D,q,z+"."+Y,n);if(L instanceof Error)return L}return null}return f(E)}function re(y){if(!Array.isArray(y))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var E=0;E<y.length;E++){var j=y[E];if(typeof j!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+_(j)+" at index "+E+"."),i}function N(D,q,z,H,V){for(var Y=[],L=0;L<y.length;L++){var ee=y[L],O=ee(D,q,z,H,V,n);if(O==null)return null;O.data&&r(O.data,"expectedType")&&Y.push(O.data.expectedType)}var ae=Y.length>0?", expected one of type ["+Y.join(", ")+"]":"";return new u("Invalid "+H+" `"+V+"` supplied to "+("`"+z+"`"+ae+"."))}return f(N)}function Z(){function y(E,j,N,D,q){return T(E[j])?null:new u("Invalid "+D+" `"+q+"` supplied to "+("`"+N+"`, expected a ReactNode."))}return f(y)}function A(y,E,j,N,D){return new u((y||"React class")+": "+E+" type `"+j+"."+N+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+D+"`.")}function F(y){function E(j,N,D,q,z){var H=j[N],V=g(H);if(V!=="object")return new u("Invalid "+q+" `"+z+"` of type `"+V+"` "+("supplied to `"+D+"`, expected `object`."));for(var Y in y){var L=y[Y];if(typeof L!="function")return A(D,q,z,Y,C(L));var ee=L(H,Y,D,q,z+"."+Y,n);if(ee)return ee}return null}return f(E)}function Q(y){function E(j,N,D,q,z){var H=j[N],V=g(H);if(V!=="object")return new u("Invalid "+q+" `"+z+"` of type `"+V+"` "+("supplied to `"+D+"`, expected `object`."));var Y=t({},j[N],y);for(var L in Y){var ee=y[L];if(r(y,L)&&typeof ee!="function")return A(D,q,z,L,C(ee));if(!ee)return new u("Invalid "+q+" `"+z+"` key `"+L+"` supplied to `"+D+"`.\nBad object: "+JSON.stringify(j[N],null," ")+`
|
|
9
|
+
`+s)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ee(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Be.assertOptions(r,{silentJSONParsing:he.transitional(he.boolean),forcedJSONParsing:he.transitional(he.boolean),clarifyTimeoutError:he.transitional(he.boolean),legacyInterceptorReqResOrdering:he.transitional(he.boolean)},!1),o!=null&&(d.isFunction(o)?n.paramsSerializer={serialize:o}:Be.assertOptions(o,{encode:he.function,serialize:he.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Be.assertOptions(n,{baseUrl:he.spelling("baseURL"),withXsrfToken:he.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&d.merge(s.common,s[n.method]);s&&d.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=fe.concat(i,s);const a=[];let m=!0;this.interceptors.request.forEach(function(u){if(typeof u.runWhen=="function"&&u.runWhen(n)===!1)return;m=m&&u.synchronous;const f=n.transitional||bt;f&&f.legacyInterceptorReqResOrdering?a.unshift(u.fulfilled,u.rejected):a.push(u.fulfilled,u.rejected)});const l=[];this.interceptors.response.forEach(function(u){l.push(u.fulfilled,u.rejected)});let c,p=0,x;if(!m){const h=[It.bind(this),void 0];for(h.unshift(...a),h.push(...l),x=h.length,c=Promise.resolve(n);p<x;)c=c.then(h[p++],h[p++]);return c}x=a.length;let b=n;for(;p<x;){const h=a[p++],u=a[p++];try{b=h(b)}catch(f){u.call(this,f);break}}try{c=It.call(this,b)}catch(h){return Promise.reject(h)}for(p=0,x=l.length;p<x;)c=c.then(l[p++],l[p++]);return c}getUri(t){t=Ee(this.defaults,t);const n=Sn(t.baseURL,t.url,t.allowAbsoluteUrls);return En(n,t.params,t.paramsSerializer)}};d.forEach(["delete","get","head","options"],function(t){we.prototype[t]=function(n,r){return this.request(Ee(r||{},{method:t,url:n,data:(r||{}).data}))}});d.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(Ee(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}we.prototype[t]=n(),we.prototype[t+"Form"]=n(!0)});let xo=class Pn{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new Me(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Pn(function(o){t=o}),cancel:t}}};function So(e){return function(n){return e.apply(null,n)}}function To(e){return d.isObject(e)&&e.isAxiosError===!0}const mt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(mt).forEach(([e,t])=>{mt[t]=e});function An(e){const t=new we(e),n=ln(we.prototype.request,t);return d.extend(n,we.prototype,t,{allOwnKeys:!0}),d.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return An(Ee(e,o))},n}const ne=An($e);ne.Axios=we;ne.CanceledError=Me;ne.CancelToken=xo;ne.isCancel=_n;ne.VERSION=Cn;ne.toFormData=Xe;ne.AxiosError=U;ne.Cancel=ne.CanceledError;ne.all=function(t){return Promise.all(t)};ne.spread=So;ne.isAxiosError=To;ne.mergeConfig=Ee;ne.AxiosHeaders=fe;ne.formToJSON=e=>vn(d.isHTMLForm(e)?new FormData(e):e);ne.getAdapter=On.getAdapter;ne.HttpStatusCode=mt;ne.default=ne;const{Axios:hs,AxiosError:ms,CanceledError:ys,isCancel:bs,CancelToken:gs,VERSION:ws,all:Es,Cancel:vs,isAxiosError:_s,spread:xs,toFormData:Ss,AxiosHeaders:Ts,HttpStatusCode:Rs,formToJSON:Os,getAdapter:Cs,mergeConfig:Ps}=ne,Et=ne.create({baseURL:"https://easy.ubkerp.com/webservice/"}),Ro=async(e,t)=>{try{let r=e;if(!e.includes("session_id")){const s=e.includes("?")?"&":"?";r=`${e}${s}session_id=1`}return(await Et.get(r,{headers:{Authorization:t}})).data}catch(n){throw n.response?.status===401&&(console.error("401 Unauthorized"),localStorage.clear(),globalThis.location.href="/"),n}},Oo=async(e,t)=>{const n=await Et.post(e,"",{headers:{Authorization:t}});if(n.data?.Status=="Success")return n?.data?.data||n?.data;throw new Error(n.data?.msg)},rt=async(e,t)=>{const n=localStorage.getItem("authToken"),r=t?.arg;return(await Et.post(e,r,{headers:{Authorization:n}}))?.data},Co=({token:e,menu:t})=>{const{isLoading:n,data:r}=an(e?["api/sdk/Menus",e]:null,([s,i])=>Oo(s,i)),o=r?.find(s=>s.path===t)?.sub_menu??[];return console.log("menuData",r),w.jsx(I.Row,{gutter:[16,16],children:o?.map((s,i)=>s.dashboard_show==="YES"?w.jsx(I.Col,{xs:24,md:8,lg:8,children:w.jsx(pe,{children:w.jsx(cn,{icon:`https://easy.ubkerp.com/webservice/icons/frontoffice/${s.icons}`,title:s.submenu_name,path:s.menu_key})})},`${i}office001`):null)})};function Po(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ie={},ot,Ut;function Ao(){return Ut||(Ut=1,ot=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,o,s;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(o=r;o--!==0;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(s=Object.keys(t),r=s.length,r!==Object.keys(n).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,s[o]))return!1;for(o=r;o--!==0;){var i=s[o];if(!e(t[i],n[i]))return!1}return!0}return t!==t&&n!==n}),ot}var Ie={exports:{}},Le={exports:{}},K={};var qt;function jo(){if(qt)return K;qt=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,x=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,u=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,R=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function P(v){if(typeof v=="object"&&v!==null){var G=v.$$typeof;switch(G){case t:switch(v=v.type,v){case m:case l:case r:case s:case o:case p:return v;default:switch(v=v&&v.$$typeof,v){case a:case c:case h:case b:case i:return v;default:return G}}case n:return G}}}function $(v){return P(v)===l}return K.AsyncMode=m,K.ConcurrentMode=l,K.ContextConsumer=a,K.ContextProvider=i,K.Element=t,K.ForwardRef=c,K.Fragment=r,K.Lazy=h,K.Memo=b,K.Portal=n,K.Profiler=s,K.StrictMode=o,K.Suspense=p,K.isAsyncMode=function(v){return $(v)||P(v)===m},K.isConcurrentMode=$,K.isContextConsumer=function(v){return P(v)===a},K.isContextProvider=function(v){return P(v)===i},K.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===t},K.isForwardRef=function(v){return P(v)===c},K.isFragment=function(v){return P(v)===r},K.isLazy=function(v){return P(v)===h},K.isMemo=function(v){return P(v)===b},K.isPortal=function(v){return P(v)===n},K.isProfiler=function(v){return P(v)===s},K.isStrictMode=function(v){return P(v)===o},K.isSuspense=function(v){return P(v)===p},K.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===r||v===l||v===s||v===o||v===p||v===x||typeof v=="object"&&v!==null&&(v.$$typeof===h||v.$$typeof===b||v.$$typeof===i||v.$$typeof===a||v.$$typeof===c||v.$$typeof===f||v.$$typeof===R||v.$$typeof===k||v.$$typeof===u)},K.typeOf=P,K}var X={};var Bt;function Do(){return Bt||(Bt=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,x=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,u=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,R=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function P(O){return typeof O=="string"||typeof O=="function"||O===r||O===l||O===s||O===o||O===p||O===x||typeof O=="object"&&O!==null&&(O.$$typeof===h||O.$$typeof===b||O.$$typeof===i||O.$$typeof===a||O.$$typeof===c||O.$$typeof===f||O.$$typeof===R||O.$$typeof===k||O.$$typeof===u)}function $(O){if(typeof O=="object"&&O!==null){var ae=O.$$typeof;switch(ae){case t:var ve=O.type;switch(ve){case m:case l:case r:case s:case o:case p:return ve;default:var ke=ve&&ve.$$typeof;switch(ke){case a:case c:case h:case b:case i:return ke;default:return ae}}case n:return ae}}}var v=m,G=l,te=a,se=i,re=t,Z=c,A=r,F=h,Q=b,T=n,S=s,g=o,C=p,_=!1;function M(O){return _||(_=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),y(O)||$(O)===m}function y(O){return $(O)===l}function E(O){return $(O)===a}function j(O){return $(O)===i}function N(O){return typeof O=="object"&&O!==null&&O.$$typeof===t}function D(O){return $(O)===c}function q(O){return $(O)===r}function z(O){return $(O)===h}function H(O){return $(O)===b}function V(O){return $(O)===n}function Y(O){return $(O)===s}function L(O){return $(O)===o}function ee(O){return $(O)===p}X.AsyncMode=v,X.ConcurrentMode=G,X.ContextConsumer=te,X.ContextProvider=se,X.Element=re,X.ForwardRef=Z,X.Fragment=A,X.Lazy=F,X.Memo=Q,X.Portal=T,X.Profiler=S,X.StrictMode=g,X.Suspense=C,X.isAsyncMode=M,X.isConcurrentMode=y,X.isContextConsumer=E,X.isContextProvider=j,X.isElement=N,X.isForwardRef=D,X.isFragment=q,X.isLazy=z,X.isMemo=H,X.isPortal=V,X.isProfiler=Y,X.isStrictMode=L,X.isSuspense=ee,X.isValidElementType=P,X.typeOf=$})()),X}var Ht;function jn(){return Ht||(Ht=1,process.env.NODE_ENV==="production"?Le.exports=jo():Le.exports=Do()),Le.exports}var st,Wt;function No(){if(Wt)return st;Wt=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function o(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var i={},a=0;a<10;a++)i["_"+String.fromCharCode(a)]=a;var m=Object.getOwnPropertyNames(i).map(function(c){return i[c]});if(m.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(c){l[c]=c}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return st=o()?Object.assign:function(s,i){for(var a,m=r(s),l,c=1;c<arguments.length;c++){a=Object(arguments[c]);for(var p in a)t.call(a,p)&&(m[p]=a[p]);if(e){l=e(a);for(var x=0;x<l.length;x++)n.call(a,l[x])&&(m[l[x]]=a[l[x]])}}return m},st}var it,zt;function vt(){if(zt)return it;zt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return it=e,it}var at,Vt;function Dn(){return Vt||(Vt=1,at=Function.call.bind(Object.prototype.hasOwnProperty)),at}var ct,Yt;function $o(){if(Yt)return ct;Yt=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=vt(),n={},r=Dn();e=function(s){var i="Warning: "+s;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function o(s,i,a,m,l){if(process.env.NODE_ENV!=="production"){for(var c in s)if(r(s,c)){var p;try{if(typeof s[c]!="function"){var x=Error((m||"React class")+": "+a+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x.name="Invariant Violation",x}p=s[c](i,c,m,a,null,t)}catch(h){p=h}if(p&&!(p instanceof Error)&&e((m||"React class")+": type specification of "+a+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in n)){n[p.message]=!0;var b=l?l():"";e("Failed "+a+" type: "+p.message+(b??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},ct=o,ct}var lt,Jt;function Mo(){if(Jt)return lt;Jt=1;var e=jn(),t=No(),n=vt(),r=Dn(),o=$o(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(a){var m="Warning: "+a;typeof console<"u"&&console.error(m);try{throw new Error(m)}catch{}});function i(){return null}return lt=function(a,m){var l=typeof Symbol=="function"&&Symbol.iterator,c="@@iterator";function p(y){var E=y&&(l&&y[l]||y[c]);if(typeof E=="function")return E}var x="<<anonymous>>",b={array:R("array"),bigint:R("bigint"),bool:R("boolean"),func:R("function"),number:R("number"),object:R("object"),string:R("string"),symbol:R("symbol"),any:k(),arrayOf:P,element:$(),elementType:v(),instanceOf:G,node:Z(),objectOf:se,oneOf:te,oneOfType:re,shape:F,exact:Q};function h(y,E){return y===E?y!==0||1/y===1/E:y!==y&&E!==E}function u(y,E){this.message=y,this.data=E&&typeof E=="object"?E:{},this.stack=""}u.prototype=Error.prototype;function f(y){if(process.env.NODE_ENV!=="production")var E={},j=0;function N(q,z,H,V,Y,L,ee){if(V=V||x,L=L||H,ee!==n){if(m){var O=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw O.name="Invariant Violation",O}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ae=V+":"+H;!E[ae]&&j<3&&(s("You are manually calling a React.PropTypes validation function for the `"+L+"` prop on `"+V+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),E[ae]=!0,j++)}}return z[H]==null?q?z[H]===null?new u("The "+Y+" `"+L+"` is marked as required "+("in `"+V+"`, but its value is `null`.")):new u("The "+Y+" `"+L+"` is marked as required in "+("`"+V+"`, but its value is `undefined`.")):null:y(z,H,V,Y,L)}var D=N.bind(null,!1);return D.isRequired=N.bind(null,!0),D}function R(y){function E(j,N,D,q,z,H){var V=j[N],Y=g(V);if(Y!==y){var L=C(V);return new u("Invalid "+q+" `"+z+"` of type "+("`"+L+"` supplied to `"+D+"`, expected ")+("`"+y+"`."),{expectedType:y})}return null}return f(E)}function k(){return f(i)}function P(y){function E(j,N,D,q,z){if(typeof y!="function")return new u("Property `"+z+"` of component `"+D+"` has invalid PropType notation inside arrayOf.");var H=j[N];if(!Array.isArray(H)){var V=g(H);return new u("Invalid "+q+" `"+z+"` of type "+("`"+V+"` supplied to `"+D+"`, expected an array."))}for(var Y=0;Y<H.length;Y++){var L=y(H,Y,D,q,z+"["+Y+"]",n);if(L instanceof Error)return L}return null}return f(E)}function $(){function y(E,j,N,D,q){var z=E[j];if(!a(z)){var H=g(z);return new u("Invalid "+D+" `"+q+"` of type "+("`"+H+"` supplied to `"+N+"`, expected a single ReactElement."))}return null}return f(y)}function v(){function y(E,j,N,D,q){var z=E[j];if(!e.isValidElementType(z)){var H=g(z);return new u("Invalid "+D+" `"+q+"` of type "+("`"+H+"` supplied to `"+N+"`, expected a single ReactElement type."))}return null}return f(y)}function G(y){function E(j,N,D,q,z){if(!(j[N]instanceof y)){var H=y.name||x,V=M(j[N]);return new u("Invalid "+q+" `"+z+"` of type "+("`"+V+"` supplied to `"+D+"`, expected ")+("instance of `"+H+"`."))}return null}return f(E)}function te(y){if(!Array.isArray(y))return process.env.NODE_ENV!=="production"&&(arguments.length>1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array.")),i;function E(j,N,D,q,z){for(var H=j[N],V=0;V<y.length;V++)if(h(H,y[V]))return null;var Y=JSON.stringify(y,function(ee,O){var ae=C(O);return ae==="symbol"?String(O):O});return new u("Invalid "+q+" `"+z+"` of value `"+String(H)+"` "+("supplied to `"+D+"`, expected one of "+Y+"."))}return f(E)}function se(y){function E(j,N,D,q,z){if(typeof y!="function")return new u("Property `"+z+"` of component `"+D+"` has invalid PropType notation inside objectOf.");var H=j[N],V=g(H);if(V!=="object")return new u("Invalid "+q+" `"+z+"` of type "+("`"+V+"` supplied to `"+D+"`, expected an object."));for(var Y in H)if(r(H,Y)){var L=y(H,Y,D,q,z+"."+Y,n);if(L instanceof Error)return L}return null}return f(E)}function re(y){if(!Array.isArray(y))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var E=0;E<y.length;E++){var j=y[E];if(typeof j!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+_(j)+" at index "+E+"."),i}function N(D,q,z,H,V){for(var Y=[],L=0;L<y.length;L++){var ee=y[L],O=ee(D,q,z,H,V,n);if(O==null)return null;O.data&&r(O.data,"expectedType")&&Y.push(O.data.expectedType)}var ae=Y.length>0?", expected one of type ["+Y.join(", ")+"]":"";return new u("Invalid "+H+" `"+V+"` supplied to "+("`"+z+"`"+ae+"."))}return f(N)}function Z(){function y(E,j,N,D,q){return T(E[j])?null:new u("Invalid "+D+" `"+q+"` supplied to "+("`"+N+"`, expected a ReactNode."))}return f(y)}function A(y,E,j,N,D){return new u((y||"React class")+": "+E+" type `"+j+"."+N+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+D+"`.")}function F(y){function E(j,N,D,q,z){var H=j[N],V=g(H);if(V!=="object")return new u("Invalid "+q+" `"+z+"` of type `"+V+"` "+("supplied to `"+D+"`, expected `object`."));for(var Y in y){var L=y[Y];if(typeof L!="function")return A(D,q,z,Y,C(L));var ee=L(H,Y,D,q,z+"."+Y,n);if(ee)return ee}return null}return f(E)}function Q(y){function E(j,N,D,q,z){var H=j[N],V=g(H);if(V!=="object")return new u("Invalid "+q+" `"+z+"` of type `"+V+"` "+("supplied to `"+D+"`, expected `object`."));var Y=t({},j[N],y);for(var L in Y){var ee=y[L];if(r(y,L)&&typeof ee!="function")return A(D,q,z,L,C(ee));if(!ee)return new u("Invalid "+q+" `"+z+"` key `"+L+"` supplied to `"+D+"`.\nBad object: "+JSON.stringify(j[N],null," ")+`
|
|
10
10
|
Valid keys: `+JSON.stringify(Object.keys(y),null," "));var O=ee(H,L,D,q,z+"."+L,n);if(O)return O}return null}return f(E)}function T(y){switch(typeof y){case"number":case"string":case"undefined":return!0;case"boolean":return!y;case"object":if(Array.isArray(y))return y.every(T);if(y===null||a(y))return!0;var E=p(y);if(E){var j=E.call(y),N;if(E!==y.entries){for(;!(N=j.next()).done;)if(!T(N.value))return!1}else for(;!(N=j.next()).done;){var D=N.value;if(D&&!T(D[1]))return!1}}else return!1;return!0;default:return!1}}function S(y,E){return y==="symbol"?!0:E?E["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&E instanceof Symbol:!1}function g(y){var E=typeof y;return Array.isArray(y)?"array":y instanceof RegExp?"object":S(E,y)?"symbol":E}function C(y){if(typeof y>"u"||y===null)return""+y;var E=g(y);if(E==="object"){if(y instanceof Date)return"date";if(y instanceof RegExp)return"regexp"}return E}function _(y){var E=C(y);switch(E){case"array":case"object":return"an "+E;case"boolean":case"date":case"regexp":return"a "+E;default:return E}}function M(y){return!y.constructor||!y.constructor.name?x:y.constructor.name}return b.checkPropTypes=o,b.resetWarningCache=o.resetWarningCache,b.PropTypes=b,b},lt}var ut,Kt;function ko(){if(Kt)return ut;Kt=1;var e=vt();function t(){}function n(){}return n.resetWarningCache=t,ut=function(){function r(i,a,m,l,c,p){if(p!==e){var x=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw x.name="Invariant Violation",x}}r.isRequired=r;function o(){return r}var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},ut}var Xt;function Fo(){if(Xt)return Ie.exports;if(Xt=1,process.env.NODE_ENV!=="production"){var e=jn(),t=!0;Ie.exports=Mo()(e.isElement,t)}else Ie.exports=ko()();return Ie.exports}var Gt;function Io(){if(Gt)return ie;Gt=1;var e=ie&&ie.__extends||(function(){var b=function(h,u){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,R){f.__proto__=R}||function(f,R){for(var k in R)Object.prototype.hasOwnProperty.call(R,k)&&(f[k]=R[k])},b(h,u)};return function(h,u){if(typeof u!="function"&&u!==null)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");b(h,u);function f(){this.constructor=h}h.prototype=u===null?Object.create(u):(f.prototype=u.prototype,new f)}})(),t=ie&&ie.__assign||function(){return t=Object.assign||function(b){for(var h,u=1,f=arguments.length;u<f;u++){h=arguments[u];for(var R in h)Object.prototype.hasOwnProperty.call(h,R)&&(b[R]=h[R])}return b},t.apply(this,arguments)},n=ie&&ie.__createBinding||(Object.create?(function(b,h,u,f){f===void 0&&(f=u);var R=Object.getOwnPropertyDescriptor(h,u);(!R||("get"in R?!h.__esModule:R.writable||R.configurable))&&(R={enumerable:!0,get:function(){return h[u]}}),Object.defineProperty(b,f,R)}):(function(b,h,u,f){f===void 0&&(f=u),b[f]=h[u]})),r=ie&&ie.__setModuleDefault||(Object.create?(function(b,h){Object.defineProperty(b,"default",{enumerable:!0,value:h})}):function(b,h){b.default=h}),o=ie&&ie.__importStar||function(b){if(b&&b.__esModule)return b;var h={};if(b!=null)for(var u in b)u!=="default"&&Object.prototype.hasOwnProperty.call(b,u)&&n(h,b,u);return r(h,b),h},s=ie&&ie.__rest||function(b,h){var u={};for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&h.indexOf(f)<0&&(u[f]=b[f]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,f=Object.getOwnPropertySymbols(b);R<f.length;R++)h.indexOf(f[R])<0&&Object.prototype.propertyIsEnumerable.call(b,f[R])&&(u[f[R]]=b[f[R]]);return u},i=ie&&ie.__importDefault||function(b){return b&&b.__esModule?b:{default:b}};Object.defineProperty(ie,"__esModule",{value:!0});var a=o(oe),m=i(Ao()),l=o(Fo());function c(b){return b&&b.replace(/ |\u202F|\u00A0/g," ").replace(/<br \/>/g,"<br>")}function p(b){var h=document.createTextNode("");b.appendChild(h);var u=document.activeElement===b;if(h!==null&&h.nodeValue!==null&&u){var f=window.getSelection();if(f!==null){var R=document.createRange();R.setStart(h,h.nodeValue.length),R.collapse(!0),f.removeAllRanges(),f.addRange(R)}b instanceof HTMLElement&&b.focus()}}var x=(function(b){e(h,b);function h(){var u=b!==null&&b.apply(this,arguments)||this;return u.lastHtml=u.props.html,u.el=typeof u.props.innerRef=="function"?{current:null}:a.createRef(),u.getEl=function(){return(u.props.innerRef&&typeof u.props.innerRef!="function"?u.props.innerRef:u.el).current},u.emitChange=function(f){var R=u.getEl();if(R){var k=R.innerHTML;if(u.props.onChange&&k!==u.lastHtml){var P=Object.assign({},f,{target:{value:k}});u.props.onChange(P)}u.lastHtml=k}},u}return h.prototype.render=function(){var u=this,f=this.props,R=f.tagName,k=f.html,P=f.innerRef,$=s(f,["tagName","html","innerRef"]);return a.createElement(R||"div",t(t({},$),{ref:typeof P=="function"?function(v){P(v),u.el.current=v}:P||this.el,onInput:this.emitChange,onBlur:this.props.onBlur||this.emitChange,onKeyUp:this.props.onKeyUp||this.emitChange,onKeyDown:this.props.onKeyDown||this.emitChange,contentEditable:!this.props.disabled,dangerouslySetInnerHTML:{__html:k}}),this.props.children)},h.prototype.shouldComponentUpdate=function(u){var f=this.props,R=this.getEl();return!R||c(u.html)!==c(R.innerHTML)?!0:f.disabled!==u.disabled||f.tagName!==u.tagName||f.className!==u.className||f.innerRef!==u.innerRef||f.placeholder!==u.placeholder||!(0,m.default)(f.style,u.style)},h.prototype.componentDidUpdate=function(){var u=this.getEl();u&&(this.props.html!==u.innerHTML&&(u.innerHTML=this.props.html),this.lastHtml=this.props.html,p(u))},h.propTypes={html:l.string.isRequired,onChange:l.func,disabled:l.bool,tagName:l.string,className:l.string,style:l.object,innerRef:l.oneOfType([l.object,l.func])},h})(a.Component);return ie.default=x,ie}var Lo=Io();const Uo=Po(Lo),ft=oe.forwardRef(({...e},t)=>w.jsxs("div",{className:"",children:[e.label&&w.jsx("label",{className:"labelfont",...e,children:e.label}),w.jsx("input",{className:"form-control",placeholder:e.label,...e,ref:t})]}));var He={exports:{}},qo=He.exports,Zt;function Bo(){return Zt||(Zt=1,(function(e,t){(function(n,r){e.exports=r()})(qo,(function(){var n=1e3,r=6e4,o=36e5,s="millisecond",i="second",a="minute",m="hour",l="day",c="week",p="month",x="quarter",b="year",h="date",u="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,R=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,k={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(T){var S=["th","st","nd","rd"],g=T%100;return"["+T+(S[(g-20)%10]||S[g]||S[0])+"]"}},P=function(T,S,g){var C=String(T);return!C||C.length>=S?T:""+Array(S+1-C.length).join(g)+T},$={s:P,z:function(T){var S=-T.utcOffset(),g=Math.abs(S),C=Math.floor(g/60),_=g%60;return(S<=0?"+":"-")+P(C,2,"0")+":"+P(_,2,"0")},m:function T(S,g){if(S.date()<g.date())return-T(g,S);var C=12*(g.year()-S.year())+(g.month()-S.month()),_=S.clone().add(C,p),M=g-_<0,y=S.clone().add(C+(M?-1:1),p);return+(-(C+(g-_)/(M?_-y:y-_))||0)},a:function(T){return T<0?Math.ceil(T)||0:Math.floor(T)},p:function(T){return{M:p,y:b,w:c,d:l,D:h,h:m,m:a,s:i,ms:s,Q:x}[T]||String(T||"").toLowerCase().replace(/s$/,"")},u:function(T){return T===void 0}},v="en",G={};G[v]=k;var te="$isDayjsObject",se=function(T){return T instanceof F||!(!T||!T[te])},re=function T(S,g,C){var _;if(!S)return v;if(typeof S=="string"){var M=S.toLowerCase();G[M]&&(_=M),g&&(G[M]=g,_=M);var y=S.split("-");if(!_&&y.length>1)return T(y[0])}else{var E=S.name;G[E]=S,_=E}return!C&&_&&(v=_),_||!C&&v},Z=function(T,S){if(se(T))return T.clone();var g=typeof S=="object"?S:{};return g.date=T,g.args=arguments,new F(g)},A=$;A.l=re,A.i=se,A.w=function(T,S){return Z(T,{locale:S.$L,utc:S.$u,x:S.$x,$offset:S.$offset})};var F=(function(){function T(g){this.$L=re(g.locale,null,!0),this.parse(g),this.$x=this.$x||g.x||{},this[te]=!0}var S=T.prototype;return S.parse=function(g){this.$d=(function(C){var _=C.date,M=C.utc;if(_===null)return new Date(NaN);if(A.u(_))return new Date;if(_ instanceof Date)return new Date(_);if(typeof _=="string"&&!/Z$/i.test(_)){var y=_.match(f);if(y){var E=y[2]-1||0,j=(y[7]||"0").substring(0,3);return M?new Date(Date.UTC(y[1],E,y[3]||1,y[4]||0,y[5]||0,y[6]||0,j)):new Date(y[1],E,y[3]||1,y[4]||0,y[5]||0,y[6]||0,j)}}return new Date(_)})(g),this.init()},S.init=function(){var g=this.$d;this.$y=g.getFullYear(),this.$M=g.getMonth(),this.$D=g.getDate(),this.$W=g.getDay(),this.$H=g.getHours(),this.$m=g.getMinutes(),this.$s=g.getSeconds(),this.$ms=g.getMilliseconds()},S.$utils=function(){return A},S.isValid=function(){return this.$d.toString()!==u},S.isSame=function(g,C){var _=Z(g);return this.startOf(C)<=_&&_<=this.endOf(C)},S.isAfter=function(g,C){return Z(g)<this.startOf(C)},S.isBefore=function(g,C){return this.endOf(C)<Z(g)},S.$g=function(g,C,_){return A.u(g)?this[C]:this.set(_,g)},S.unix=function(){return Math.floor(this.valueOf()/1e3)},S.valueOf=function(){return this.$d.getTime()},S.startOf=function(g,C){var _=this,M=!!A.u(C)||C,y=A.p(g),E=function(Y,L){var ee=A.w(_.$u?Date.UTC(_.$y,L,Y):new Date(_.$y,L,Y),_);return M?ee:ee.endOf(l)},j=function(Y,L){return A.w(_.toDate()[Y].apply(_.toDate("s"),(M?[0,0,0,0]:[23,59,59,999]).slice(L)),_)},N=this.$W,D=this.$M,q=this.$D,z="set"+(this.$u?"UTC":"");switch(y){case b:return M?E(1,0):E(31,11);case p:return M?E(1,D):E(0,D+1);case c:var H=this.$locale().weekStart||0,V=(N<H?N+7:N)-H;return E(M?q-V:q+(6-V),D);case l:case h:return j(z+"Hours",0);case m:return j(z+"Minutes",1);case a:return j(z+"Seconds",2);case i:return j(z+"Milliseconds",3);default:return this.clone()}},S.endOf=function(g){return this.startOf(g,!1)},S.$set=function(g,C){var _,M=A.p(g),y="set"+(this.$u?"UTC":""),E=(_={},_[l]=y+"Date",_[h]=y+"Date",_[p]=y+"Month",_[b]=y+"FullYear",_[m]=y+"Hours",_[a]=y+"Minutes",_[i]=y+"Seconds",_[s]=y+"Milliseconds",_)[M],j=M===l?this.$D+(C-this.$W):C;if(M===p||M===b){var N=this.clone().set(h,1);N.$d[E](j),N.init(),this.$d=N.set(h,Math.min(this.$D,N.daysInMonth())).$d}else E&&this.$d[E](j);return this.init(),this},S.set=function(g,C){return this.clone().$set(g,C)},S.get=function(g){return this[A.p(g)]()},S.add=function(g,C){var _,M=this;g=Number(g);var y=A.p(C),E=function(D){var q=Z(M);return A.w(q.date(q.date()+Math.round(D*g)),M)};if(y===p)return this.set(p,this.$M+g);if(y===b)return this.set(b,this.$y+g);if(y===l)return E(1);if(y===c)return E(7);var j=(_={},_[a]=r,_[m]=o,_[i]=n,_)[y]||1,N=this.$d.getTime()+g*j;return A.w(N,this)},S.subtract=function(g,C){return this.add(-1*g,C)},S.format=function(g){var C=this,_=this.$locale();if(!this.isValid())return _.invalidDate||u;var M=g||"YYYY-MM-DDTHH:mm:ssZ",y=A.z(this),E=this.$H,j=this.$m,N=this.$M,D=_.weekdays,q=_.months,z=_.meridiem,H=function(L,ee,O,ae){return L&&(L[ee]||L(C,M))||O[ee].slice(0,ae)},V=function(L){return A.s(E%12||12,L,"0")},Y=z||function(L,ee,O){var ae=L<12?"AM":"PM";return O?ae.toLowerCase():ae};return M.replace(R,(function(L,ee){return ee||(function(O){switch(O){case"YY":return String(C.$y).slice(-2);case"YYYY":return A.s(C.$y,4,"0");case"M":return N+1;case"MM":return A.s(N+1,2,"0");case"MMM":return H(_.monthsShort,N,q,3);case"MMMM":return H(q,N);case"D":return C.$D;case"DD":return A.s(C.$D,2,"0");case"d":return String(C.$W);case"dd":return H(_.weekdaysMin,C.$W,D,2);case"ddd":return H(_.weekdaysShort,C.$W,D,3);case"dddd":return D[C.$W];case"H":return String(E);case"HH":return A.s(E,2,"0");case"h":return V(1);case"hh":return V(2);case"a":return Y(E,j,!0);case"A":return Y(E,j,!1);case"m":return String(j);case"mm":return A.s(j,2,"0");case"s":return String(C.$s);case"ss":return A.s(C.$s,2,"0");case"SSS":return A.s(C.$ms,3,"0");case"Z":return y}return null})(L)||y.replace(":","")}))},S.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},S.diff=function(g,C,_){var M,y=this,E=A.p(C),j=Z(g),N=(j.utcOffset()-this.utcOffset())*r,D=this-j,q=function(){return A.m(y,j)};switch(E){case b:M=q()/12;break;case p:M=q();break;case x:M=q()/3;break;case c:M=(D-N)/6048e5;break;case l:M=(D-N)/864e5;break;case m:M=D/o;break;case a:M=D/r;break;case i:M=D/n;break;default:M=D}return _?M:A.a(M)},S.daysInMonth=function(){return this.endOf(p).$D},S.$locale=function(){return G[this.$L]},S.locale=function(g,C){if(!g)return this.$L;var _=this.clone(),M=re(g,C,!0);return M&&(_.$L=M),_},S.clone=function(){return A.w(this.$d,this)},S.toDate=function(){return new Date(this.valueOf())},S.toJSON=function(){return this.isValid()?this.toISOString():null},S.toISOString=function(){return this.$d.toISOString()},S.toString=function(){return this.$d.toUTCString()},T})(),Q=F.prototype;return Z.prototype=Q,[["$ms",s],["$s",i],["$m",a],["$H",m],["$W",l],["$M",p],["$y",b],["$D",h]].forEach((function(T){Q[T[1]]=function(S){return this.$g(S,T[0],T[1])}})),Z.extend=function(T,S){return T.$i||(T(S,F,Z),T.$i=!0),Z},Z.locale=re,Z.isDayjs=se,Z.unix=function(T){return Z(1e3*T)},Z.en=G[v],Z.Ls=G,Z.p={},Z}))})(He)),He.exports}Bo();function Ho(){return[{label:"One Time (During Admission)",value:"one_time"},{label:"One Time",value:"one_time_without_admission"},{label:"Monthly",value:"monthly"},{label:"Quarterly",value:"quarterly"},{label:"Half Yearly",value:"half_yearly"},{label:"Yearly",value:"yearly"}]}const Wo=e=>{const t=JSON.parse(localStorage.getItem("genrall_settings"));return console.log("amount______",e),w.jsxs(w.Fragment,{children:[t?.currency_icon," ",Number(e||0).toLocaleString("en-IN")]})};var Ce={},Pe={},de={},Ae={},Se={},Qt;function zo(){if(Qt)return Se;Qt=1;var e=Se&&Se.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(Se,"__esModule",{value:!0});const t=e(oe),n=qn,r=["string","number","boolean"];function o({header:s,body:i}){const a=t.default.createElement("tr",null,s.map(l=>t.default.createElement("th",{key:l},l))),m=i.map((l,c)=>Array.isArray(l)?t.default.createElement("tr",{key:c},l.map((p,x)=>t.default.createElement("th",{key:x}," ",p," "))):l!==null&&typeof l=="object"?t.default.createElement("tr",{key:c},Object.entries(l).map(([p,x],b)=>typeof x=="object"?(console.error(`typeof ${p} is incorrect, only accept ${r.join(", ")} `),t.default.createElement("th",{key:b})):t.default.createElement("th",{key:b},t.default.createElement(t.default.Fragment,null,x)))):(console.error(`
|
|
11
11
|
data structure is incorrect,
|
|
12
12
|
data structure type ->
|
package/dist/index.js
CHANGED
|
@@ -2026,7 +2026,7 @@ const {
|
|
|
2026
2026
|
getAdapter: ii,
|
|
2027
2027
|
mergeConfig: ai
|
|
2028
2028
|
} = te, Ct = te.create({
|
|
2029
|
-
baseURL: "
|
|
2029
|
+
baseURL: "https://easy.ubkerp.com/webservice/"
|
|
2030
2030
|
}), Qo = async (e, t) => {
|
|
2031
2031
|
try {
|
|
2032
2032
|
let r = e;
|
|
@@ -2067,7 +2067,7 @@ const {
|
|
|
2067
2067
|
(s, i) => s.dashboard_show === "YES" ? /* @__PURE__ */ _(xe, { xs: 24, md: 8, lg: 8, children: /* @__PURE__ */ _(de, { children: /* @__PURE__ */ _(
|
|
2068
2068
|
wn,
|
|
2069
2069
|
{
|
|
2070
|
-
icon: `
|
|
2070
|
+
icon: `https://easy.ubkerp.com/webservice/icons/frontoffice/${s.icons}`,
|
|
2071
2071
|
title: s.submenu_name,
|
|
2072
2072
|
path: s.menu_key
|
|
2073
2073
|
}
|