elcrm 0.2.8 → 0.3.0
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/dist/index.es.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/lib/Store/Store.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -981,7 +981,7 @@ function Ar(t) {
|
|
|
981
981
|
const [n, a] = g.useState(ue() || t), i = (_) => {
|
|
982
982
|
a(_);
|
|
983
983
|
};
|
|
984
|
-
return w.tabs = i, [
|
|
984
|
+
return w.tabs = i, [n];
|
|
985
985
|
}
|
|
986
986
|
function zr(t, n) {
|
|
987
987
|
l.tab = t, sessionStorage.setItem("page", R.enCode(l)), n !== "false" && w.tabs(t);
|
package/dist/index.umd.js
CHANGED
|
@@ -25,4 +25,4 @@ Check the render method of \``+e+"`."}return""}}function $r(e){{if(e!==void 0){v
|
|
|
25
25
|
|
|
26
26
|
Check your code at `+i+":"+o+"."}return""}}var qe={};function Ar(e){{var i=Ve();if(!i){var o=typeof e=="string"?e:e.displayName||e.name;o&&(i=`
|
|
27
27
|
|
|
28
|
-
Check the top-level render call using <`+o+">.")}return i}}function He(e,i){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var o=Ar(i);if(qe[o])return;qe[o]=!0;var l="";e&&e._owner&&e._owner!==ce.current&&(l=" It was passed a child from "+I(e._owner.type)+"."),Y(e),j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',o,l),Y(null)}}function Je(e,i){{if(typeof e!="object")return;if(se(e))for(var o=0;o<e.length;o++){var l=e[o];ue(l)&&He(l,i)}else if(ue(e))e._store&&(e._store.validated=!0);else if(e){var f=lr(e);if(typeof f=="function"&&f!==e.entries)for(var p=f.call(e),u;!(u=p.next()).done;)ue(u.value)&&He(u.value,i)}}}function Mr(e){{var i=e.type;if(i==null||typeof i=="string")return;var o;if(typeof i=="function")o=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===v||i.$$typeof===k))o=i.propTypes;else return;if(o){var l=I(i);wr(o,e.props,"prop",l,e)}else if(i.PropTypes!==void 0&&!de){de=!0;var f=I(i);j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Nr(e){{for(var i=Object.keys(e.props),o=0;o<i.length;o++){var l=i[o];if(l!=="children"&&l!=="key"){Y(e),j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),Y(null);break}}e.ref!==null&&(Y(e),j("Invalid attribute `ref` supplied to `React.Fragment`."),Y(null))}}function Ze(e,i,o,l,f,p){{var u=_r(e);if(!u){var d="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(d+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var z=$r(f);z?d+=z:d+=Ve();var m;e===null?m="null":se(e)?m="array":e!==void 0&&e.$$typeof===n?(m="<"+(I(e.type)||"Unknown")+" />",d=" Did you accidentally export a JSX literal instead of a component?"):m=typeof e,j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",m,d)}var b=Or(e,i,o,f,p);if(b==null)return b;if(u){var E=i.children;if(E!==void 0)if(l)if(se(E)){for(var B=0;B<E.length;B++)Je(E[B],e);Object.freeze&&Object.freeze(E)}else j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Je(E,e)}return e===s?Nr(b):Mr(b),b}}function Dr(e,i,o){return Ze(e,i,o,!0)}function Fr(e,i,o){return Ze(e,i,o,!1)}var Lr=Fr,Wr=Dr;V.Fragment=s,V.jsx=Lr,V.jsxs=Wr}()),V}process.env.NODE_ENV==="production"?re.exports=Ke():re.exports=Xe();var r=re.exports;const Qe={notice:"_notice_820sc_2",error:"_error_820sc_9",success:"_success_820sc_12",remark:"_remark_820sc_15",copy:"_copy_820sc_18","show-notice":"_show-notice_820sc_1","hide-notice":"_hide-notice_820sc_1"};let O={};function et(){let[t,n]=g.useState([]);return O.set=a=>{n([...t,a])},O.del=a=>{n(t.filter(s=>s.key!==a))},t.length===0?"":r.jsx("ul",{className:Qe.notice,children:t.map(a=>a.item)})}function q({data:t}){let[n,a]=g.useState("show");g.useEffect(()=>{setTimeout(function(){a("hide")},1800),setTimeout(function(){O.del(t.key)},2500)},[t.key]);let s,x;switch(t.type){case"error":s=r.jsx(M.error,{}),x="Ошибка:";break;case"success":s=r.jsx(M.success,{}),x="Информация:";break;case"copy":s=r.jsx(M.success,{}),x="Копирование:";break;case"remark":s=r.jsx(M.success,{}),x="Подсказка:";break;default:s=r.jsx(M.success,{}),x="Предупреждение:";break}return r.jsxs("li",{className:"item "+t.type,"data-status":n,children:[s,r.jsx("b",{children:x}),r.jsx("p",{children:t.text})]})}function tt(t){let n=Date.now(),a={key:n,...t};O.set({item:r.jsx(q,{data:a},n),key:n})}function rt(t){let n=Date.now(),a={key:n,text:t,type:"error"};O.set({item:r.jsx(q,{data:a},n),key:n})}function nt(t){let n=Date.now(),a={key:n,text:t,type:"success"};O.set({item:r.jsx(q,{data:a},n),key:n})}function it(t){let n=Date.now(),a={key:n,text:t,type:"remark"};O.set({item:r.jsx(q,{data:a},n),key:n})}function at(t){let n=Date.now(),a={key:n,text:t,type:"copy"};O.set({item:r.jsx(q,{data:a},n),key:n})}const M={};M.error=()=>r.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[r.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#bb2014"}),r.jsx("path",{d:"M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",fill:"#fff"})]}),M.success=()=>r.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[r.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#367738"}),r.jsx("path",{d:"M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",fill:"#fff"})]});const ot={alerts:"_alerts_1e9y0_1",menuAnimation:"_menuAnimation_1e9y0_1",menuItemAnimation:"_menuItemAnimation_1e9y0_1","--body":"_--body_1e9y0_103",allert:"_allert_1e9y0_111","--form":"_--form_1e9y0_111"};let H={};function st(){let[t,n]=g.useState("");return H.set=a=>n(a),H.del=()=>n(""),r.jsx(r.Fragment,{children:t})}const lt=({data:t,callback:n})=>(t.button=t.button===void 0?"Подтвердить":t.button,r.jsxs("div",{className:ot.alerts,children:[r.jsxs("dl",{children:[r.jsx("dt",{children:t.title}),r.jsx("dd",{children:t.text}),r.jsx("ul",{children:r.jsx("button",{"data-color":t.color||"blue",onClick:()=>{n(),H.del()},children:t.button})})]}),r.jsx("div",{className:"--body",onClick:H.del})]}));function ct(t,n){H.set(r.jsx(lt,{data:t,callback:n}))}function dt({children:t}){return r.jsx("div",{className:"l",children:r.jsx("ul",{children:t})})}function ut({children:t}){return r.jsx("div",{className:"s",children:t})}const _e=({children:t,disabled:n,label:a,onClick:s})=>{const x=h=>{n||s&&s(h)};return r.jsx("button",{disabled:n,onClick:x,children:a})},$={white:"_white_6ax6z_14",black:"_black_6ax6z_26",shake:"_shake_6ax6z_1",modal:"_modal_6ax6z_73",o:"_o_6ax6z_83",w:"_w_6ax6z_14",h:"_h_6ax6z_106",l:"_l_6ax6z_120",t:"_t_6ax6z_158",m:"_m_6ax6z_73",x:"_x_6ax6z_166",s:"_s_6ax6z_176",c:"_c_6ax6z_181",f:"_f_6ax6z_186",btn:"_btn_6ax6z_229",g:"_g_6ax6z_242","size-a":"_size-a_6ax6z_294","size-s":"_size-s_6ax6z_298","size-m":"_size-m_6ax6z_302","size-l":"_size-l_6ax6z_306","size-x":"_size-x_6ax6z_310","size-f":"_size-f_6ax6z_314",confirm:"_confirm_6ax6z_320",cancel:"_cancel_6ax6z_325",disabled:"_disabled_6ax6z_330",await:"_await_6ax6z_337",active:"_active_6ax6z_387",coincidence:"_coincidence_6ax6z_393"};let F={};const ft=({config:t})=>{let[n,a]=g.useState([]);return F.x=()=>{a([])},F.config=t,F.add=s=>{a([...n,s])},r.jsx(r.Fragment,{children:n.map(s=>s)})},pt=({children:t,title:n,button:a,tabs:s,size:x="m",menu:h})=>{const[R,y]=g.useState(!0),v=g.useRef(),A=k=>{if(a&&a.onClick)return a.onClick({closed:y,disabled:k})},w=()=>{v.current.setAttribute("shake",!0),setTimeout(()=>{v.current.setAttribute("shake",!1)},1e3)};return r.jsx(r.Fragment,{children:R?r.jsxs("div",{className:`${$.modal} ${$.white}`,children:[r.jsx("div",{className:$.o,onClick:w}),r.jsxs("div",{className:$.w,ref:v,children:[r.jsxs("div",{className:$.h,children:[r.jsx("div",{className:$.t,children:n}),r.jsxs("div",{className:$.m,children:[s&&r.jsx("nav",{children:s.map((k,T)=>r.jsx("span",{onClick:k.onClick,className:k.active?"active":"",children:k.name},T))}),h]}),r.jsx("div",{className:$.x,onClick:()=>{y(!1)},children:"x"})]}),t,a!==void 0?r.jsx(_e,{label:String(a.name),onClick:A}):""]})]}):""})},xt=t=>{F.add(r.jsx(_t,{children:t},String(Date.now())))},_t=({children:t})=>r.jsx(r.Fragment,{children:t}),ge={List:dt,Scroll:ut,Init:ft,Main:pt,Add:xt,Icon:({type:t,name:n,params:a})=>{let[s,x]=g.useState(null);return g.useEffect(()=>{F.config(t,n,a,x)},[a.id]),r.jsx(r.Fragment,{children:s})},Open:(t,n,a)=>{F.config(t,n,a)}};let S={};const c={},C={},me={};function gt(t,n){if(S=t,localStorage.getItem("ssid")){let s=sessionStorage.getItem("page");s?(s=S.deCode(s),c.id=s.id,c.tab=s.tab,c.page=s.page,c.module=s.module,c.time=s.time,c.payment={active:!0},c.module_admin=s.module_admin):(c.id=0,c.tab="",c.page="Main",c.module=c.module||"M05")}else["ssid","menu","temp","user","sett","qder","firm","last","auth","port","mark","sort"].forEach(s=>localStorage.removeItem(s)),["page"].forEach(s=>sessionStorage.removeItem(s)),c.id=0,c.tab="",c.page="Auth",c.module="M00";return n}function L(){["ssid","menu","temp","user","sett","qder","firm","last","auth","port","mark","sort"].forEach(t=>localStorage.removeItem(t)),["page"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function mt(t){t=t.split("/"),c.page="Main",c.module=t[0],c.tab=t[1],c.id=0,sessionStorage.setItem("page",S.enCode({module:c.module,page:c.page,tab:c.tab,id:c.id,time:new Date().getTime()})),C.page(c.page)}function ht(t){return localStorage.setItem("ssid",t)}function bt(){let t=localStorage.getItem("ssid");return t!==""&&t!=="undefined"&&t!==null?localStorage.getItem("ssid"):(L(),!1)}function vt(t){return localStorage.setItem("auth",t)}function yt(){let t=localStorage.getItem("auth");return t!==""&&t!=="undefined"&&t!==null?t:(L(),!1)}function wt(){const[t,n]=g.useState(he()),a=s=>{n(s)};return C.page=a,[t]}function kt(t){c.page=t,sessionStorage.setItem("page",S.enCode(c)),C.page(t)}function he(){return c.page}function jt(){const[t,n]=g.useState(ne()),a=s=>{n(s)};return C.module=a,[t]}function zt(t,n){c.module=t,sessionStorage.setItem("page",S.enCode(c)),n!=="false"&&C.module(t)}function ne(){return c.module}function St(t){const[n,a]=g.useState(ne()||t),s=x=>{a(x)};return C.tabs=s,[module]}function Ct(t,n){c.tab=t,sessionStorage.setItem("page",S.enCode(c)),n!=="false"&&C.tabs(t)}function Et(){return c.tab}function Rt(){const[t,n]=g.useState(c.id),a=s=>{n(s)};return C.id=a,[t]}function Tt(t){C.id=t}function It(t,n){c.id=t,sessionStorage.setItem("page",S.enCode(c)),n!=="false"&&C.id(t)}function Pt(){return c.id}function Ot(t,n,a){c.module=t,c.id=a,c.tab=n,sessionStorage.setItem("page",S.enCode(c)),C.module(t),C.tabs(n)}function $t(t,n){me.data[t]=n,localStorage.setItem("sett",S.enCode(me.data))}function At(t){let n=localStorage.getItem("sett");return n===null?{}:(n=S.deCode(n),n?t!==void 0?n[t]:n:L())}function Mt(t){localStorage.setItem("menu",S.enCode({data:t}))}function Nt(){let t=localStorage.getItem("menu");if(t!==""&&t!=="undefined"&&t!==null){let n=localStorage.getItem("menu"),a=S.deCode(n);a||L();const s=(h,R)=>{let y=R+"";for(;y.length<h;)y="0"+y;return y};return a.data.split(",").map(h=>"M"+s(2,h))}else return L(),!1}const be=({children:t,config:n,crypto:a,...s})=>gt(a,r.jsxs(r.Fragment,{children:[r.jsx(ge.Init,{config:n.modal}),r.jsx(et,{}),r.jsx(st,{}),t]})),Dt=({children:t,...n})=>r.jsx("menu",{children:t}),Ft=({children:t,...n})=>r.jsxs("header",{children:["xz",t]}),Lt={payment:"_payment_1lxfv_1"};function Wt(){let[t,n]=g.useState({});return!t.active&&!t.payment?"":r.jsx("div",{className:Lt.payment,children:"Истек срок оплаты! Доступ доступен до 16.04.2024"})}const Yt=({children:t,...n})=>{let a={};return a.enCode=s=>JSON.stringify(s).toString(),a.deCode=s=>JSON.parse(s),r.jsxs("div",{className:"app",children:[r.jsx(Wt,{}),r.jsx(Dt,{}),r.jsx(Ft,{}),r.jsx(be,{config:{modal:{}},crypto:a}),t]})},ve=({list:t,onClick:n,active:a,size:s,view:x})=>r.jsx("nav",{children:r.jsx("ul",{className:[s,x].join(" "),children:t.map(h=>r.jsx(Bt,{onClick:n,active:a,label:h.label,link:h.link},h.link))})}),Bt=({onClick:t,label:n,link:a,active:s})=>r.jsx("li",{"tabs-active":String(s===a),onClick:()=>t(a),children:n});ve.defaultProps={size:"M",view:"H"};const Ut=({title:t="",button:n,description:a="",children:s})=>r.jsxs("fieldset",{children:[t&&r.jsxs("legend",{children:[t,n&&r.jsx("div",{role:"button-outline",onClick:()=>n.onClick(),children:n.label})," "]}),r.jsx("ul",{children:s}),a&&r.jsx("article",{children:a})]}),Vt={setting:"_setting_1r0pc_2"},qt=({children:t})=>r.jsx("div",{className:Vt.setting,children:t}),Ht=({label:t,children:n})=>{let[a,s]=g.useState(!1);return r.jsxs("li",{"data-item":"accordion",children:[r.jsxs("dl",{onClick:()=>s(!a),children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:r.jsx("div",{"data-close":String(a)})})]}),a&&r.jsx("div",{children:n})]})},Jt=({label:t,onClick:n,button:a})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{role:"button",onClick:()=>n(),children:a})]})}),ye={Switch:({active:t,onClick:n})=>(console.log(t),t=typeof t=="number"?!!t:t,r.jsx("div",{role:"switch",onClick:()=>{console.log("Wewew"),n()},"aria-checked":t?"true":"false"}))},Zt={Accordion:Ht,Button:Jt,Switch:({label:t,onClick:n,active:a})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:r.jsx(ye.Switch,{onClick:n,active:a})})]})}),Info:({label:t,info:n})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{role:"info",children:n})]})}),Select:({label:t,active:n,options:a})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{role:"info",children:n})]})}),Component:({label:t,children:n})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:n})]})}),Node:({label:t,children:n})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:n})]})})};function we({list:t,onClick:n,active:a,size:s,view:x}){return r.jsx("nav",{children:r.jsx("ul",{className:[s,x].join(" "),children:t.map(h=>r.jsx(Gt,{onClick:n,active:a,label:h.label,link:h.link},h.link))})})}const Gt=({onClick:t,label:n,link:a,active:s})=>r.jsx("li",{"tabs-active":String(s===a),onClick:()=>t(a),children:n});we.defaultProps={size:"M",view:"H"};const Kt={Section:Ut,Main:qt,Item:Zt,Tabs:we},N={h:"_h_1b5x7_1",t:"_t_1b5x7_10",s:"_s_1b5x7_28",u:"_u_1b5x7_37",o:"_o_1b5x7_44",l:"_l_1b5x7_53",hh:"_hh_1b5x7_60"},ke=({title:t,children:n})=>r.jsxs("div",{className:N.h,children:[r.jsx("div",{className:N.t,children:t}),n]}),Xt=({children:t,title:n})=>r.jsxs("div",{className:N.o,children:[n&&r.jsx("div",{className:N.hh,children:n}),t]}),Qt=({children:t})=>r.jsx("div",{className:N.u,children:t}),je=({children:t})=>r.jsx("div",{className:N.s,children:t}),ze=({children:t,...n})=>r.jsx("div",{className:N.l,children:t}),er={Header:ke,Section:je,List:ze,U:Qt,L:ze,O:Xt,S:je,H:ke},tr={Send:tt,Error:rt,Remark:it,Success:nt,Copy:at},rr={Send:ct};function nr(){return r.jsx("svg",{viewBox:"0 0 462.86 359.96",children:r.jsx("path",{d:"M210.5,307.78c-27,35.41-58.14,58-120.55,50.84-1-.12-1.58-.39-1.58-2V327.87c0-1.32.51-2.12,1.85-2,100.39-1,88.17-63.46,74.8-90.94-47.3-97.28-14.46-166.27,20.26-205.14,14.1-16.37,50.53-42,128.07-23.24,9.1,2,30.51,7.8,24.46,11.38C317.5,30,297.66,68.33,295,73.12c-3.62,6.59-6.26,13.17-4.57,14.13,2.37,1.35,3.5-1.56,6.58-7.91C319.78,34.41,366-22.76,402.78,37.68a1.14,1.14,0,0,1,.09.26c9.3,56.05,30.57,228.62-97.76,224.22-23.38-2-28.82-22-32.57-18.89-3.36,3,10,21.4,32.76,23.19C448.18,270.75,411.55,66.74,407.79,41.91a1.41,1.41,0,0,1,0-.3c2-7.32,129.15,17.47,112.77,158.08,4.82,6.57,10.89,10,18.7,16.08l.13.07c8.9,3.67,10.46,12.06,11.43,18.88a63.15,63.15,0,0,1-.14,15.49c-10.48-4.62-22.74-10.11-22.26-22.53.43-12,7.35-5.21-8.8-14.22a.69.69,0,0,0-1,.57c-.33,3.87-2.7,14.69-3,16.59v0c-4.64,17-16.59,86-18.41,99.58-.77,5.7-4.94,10.41-11.4,10.39l-56.71.18c-7.73.22-9.57-7.9-10.27-11.89-2.7-15.31-4.08-29.7-4.18-29.67-20.24,9.26-108.69,3.08-108.69,3.27V330c-.29,7.56-4.51,15.26-11.74,15.32l-52.87,1c-10.36.1-13.85-1.67-15.5-11.87-2.08-13.08-1-34.26-5.32-37.43-2,1.84-8.33,8.11-10,10.83M196.16,203q9.57,0,11.42-7.72c2.18-9.07-5.66-17.7-14.77-15.68-4.95,1.11-7.53,4.94-7.53,11.53C185.28,199,188.94,203,196.16,203Z",transform:"translate(-88.37 0)"})})}const ir={Logo:nr},ar={setSSID:ht,getSSID:bt,Logaut:L,setAUTH:vt,getAUTH:yt,Start:mt,setSetting:$t,getSetting:At,setMenu:Mt,getMenu:Nt},or={Path:Ot,setPage:kt,getPage:he,usePage:wt,setModule:zt,getModule:ne,useModule:jt,setTabs:Ct,getTabs:Et,useTabs:St,useId:Rt,setId:It,subId:Tt,getId:Pt};_.Action=ye,_.Alert=rr,_.Browser=Yt,_.Button=_e,_.Component=er,_.Icon=ir,_.Init=be,_.Modal=ge,_.Notice=tr,_.Router=or,_.Setting=Kt,_.Store=ar,_.Tabs=ve,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})});
|
|
28
|
+
Check the top-level render call using <`+o+">.")}return i}}function He(e,i){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var o=Ar(i);if(qe[o])return;qe[o]=!0;var l="";e&&e._owner&&e._owner!==ce.current&&(l=" It was passed a child from "+I(e._owner.type)+"."),Y(e),j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',o,l),Y(null)}}function Je(e,i){{if(typeof e!="object")return;if(se(e))for(var o=0;o<e.length;o++){var l=e[o];ue(l)&&He(l,i)}else if(ue(e))e._store&&(e._store.validated=!0);else if(e){var f=lr(e);if(typeof f=="function"&&f!==e.entries)for(var p=f.call(e),u;!(u=p.next()).done;)ue(u.value)&&He(u.value,i)}}}function Mr(e){{var i=e.type;if(i==null||typeof i=="string")return;var o;if(typeof i=="function")o=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===v||i.$$typeof===k))o=i.propTypes;else return;if(o){var l=I(i);wr(o,e.props,"prop",l,e)}else if(i.PropTypes!==void 0&&!de){de=!0;var f=I(i);j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Nr(e){{for(var i=Object.keys(e.props),o=0;o<i.length;o++){var l=i[o];if(l!=="children"&&l!=="key"){Y(e),j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),Y(null);break}}e.ref!==null&&(Y(e),j("Invalid attribute `ref` supplied to `React.Fragment`."),Y(null))}}function Ze(e,i,o,l,f,p){{var u=_r(e);if(!u){var d="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(d+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var z=$r(f);z?d+=z:d+=Ve();var m;e===null?m="null":se(e)?m="array":e!==void 0&&e.$$typeof===n?(m="<"+(I(e.type)||"Unknown")+" />",d=" Did you accidentally export a JSX literal instead of a component?"):m=typeof e,j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",m,d)}var b=Or(e,i,o,f,p);if(b==null)return b;if(u){var E=i.children;if(E!==void 0)if(l)if(se(E)){for(var B=0;B<E.length;B++)Je(E[B],e);Object.freeze&&Object.freeze(E)}else j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Je(E,e)}return e===s?Nr(b):Mr(b),b}}function Dr(e,i,o){return Ze(e,i,o,!0)}function Fr(e,i,o){return Ze(e,i,o,!1)}var Lr=Fr,Wr=Dr;V.Fragment=s,V.jsx=Lr,V.jsxs=Wr}()),V}process.env.NODE_ENV==="production"?re.exports=Ke():re.exports=Xe();var r=re.exports;const Qe={notice:"_notice_820sc_2",error:"_error_820sc_9",success:"_success_820sc_12",remark:"_remark_820sc_15",copy:"_copy_820sc_18","show-notice":"_show-notice_820sc_1","hide-notice":"_hide-notice_820sc_1"};let O={};function et(){let[t,n]=g.useState([]);return O.set=a=>{n([...t,a])},O.del=a=>{n(t.filter(s=>s.key!==a))},t.length===0?"":r.jsx("ul",{className:Qe.notice,children:t.map(a=>a.item)})}function q({data:t}){let[n,a]=g.useState("show");g.useEffect(()=>{setTimeout(function(){a("hide")},1800),setTimeout(function(){O.del(t.key)},2500)},[t.key]);let s,x;switch(t.type){case"error":s=r.jsx(M.error,{}),x="Ошибка:";break;case"success":s=r.jsx(M.success,{}),x="Информация:";break;case"copy":s=r.jsx(M.success,{}),x="Копирование:";break;case"remark":s=r.jsx(M.success,{}),x="Подсказка:";break;default:s=r.jsx(M.success,{}),x="Предупреждение:";break}return r.jsxs("li",{className:"item "+t.type,"data-status":n,children:[s,r.jsx("b",{children:x}),r.jsx("p",{children:t.text})]})}function tt(t){let n=Date.now(),a={key:n,...t};O.set({item:r.jsx(q,{data:a},n),key:n})}function rt(t){let n=Date.now(),a={key:n,text:t,type:"error"};O.set({item:r.jsx(q,{data:a},n),key:n})}function nt(t){let n=Date.now(),a={key:n,text:t,type:"success"};O.set({item:r.jsx(q,{data:a},n),key:n})}function it(t){let n=Date.now(),a={key:n,text:t,type:"remark"};O.set({item:r.jsx(q,{data:a},n),key:n})}function at(t){let n=Date.now(),a={key:n,text:t,type:"copy"};O.set({item:r.jsx(q,{data:a},n),key:n})}const M={};M.error=()=>r.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[r.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#bb2014"}),r.jsx("path",{d:"M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",fill:"#fff"})]}),M.success=()=>r.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[r.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#367738"}),r.jsx("path",{d:"M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",fill:"#fff"})]});const ot={alerts:"_alerts_1e9y0_1",menuAnimation:"_menuAnimation_1e9y0_1",menuItemAnimation:"_menuItemAnimation_1e9y0_1","--body":"_--body_1e9y0_103",allert:"_allert_1e9y0_111","--form":"_--form_1e9y0_111"};let H={};function st(){let[t,n]=g.useState("");return H.set=a=>n(a),H.del=()=>n(""),r.jsx(r.Fragment,{children:t})}const lt=({data:t,callback:n})=>(t.button=t.button===void 0?"Подтвердить":t.button,r.jsxs("div",{className:ot.alerts,children:[r.jsxs("dl",{children:[r.jsx("dt",{children:t.title}),r.jsx("dd",{children:t.text}),r.jsx("ul",{children:r.jsx("button",{"data-color":t.color||"blue",onClick:()=>{n(),H.del()},children:t.button})})]}),r.jsx("div",{className:"--body",onClick:H.del})]}));function ct(t,n){H.set(r.jsx(lt,{data:t,callback:n}))}function dt({children:t}){return r.jsx("div",{className:"l",children:r.jsx("ul",{children:t})})}function ut({children:t}){return r.jsx("div",{className:"s",children:t})}const _e=({children:t,disabled:n,label:a,onClick:s})=>{const x=h=>{n||s&&s(h)};return r.jsx("button",{disabled:n,onClick:x,children:a})},$={white:"_white_6ax6z_14",black:"_black_6ax6z_26",shake:"_shake_6ax6z_1",modal:"_modal_6ax6z_73",o:"_o_6ax6z_83",w:"_w_6ax6z_14",h:"_h_6ax6z_106",l:"_l_6ax6z_120",t:"_t_6ax6z_158",m:"_m_6ax6z_73",x:"_x_6ax6z_166",s:"_s_6ax6z_176",c:"_c_6ax6z_181",f:"_f_6ax6z_186",btn:"_btn_6ax6z_229",g:"_g_6ax6z_242","size-a":"_size-a_6ax6z_294","size-s":"_size-s_6ax6z_298","size-m":"_size-m_6ax6z_302","size-l":"_size-l_6ax6z_306","size-x":"_size-x_6ax6z_310","size-f":"_size-f_6ax6z_314",confirm:"_confirm_6ax6z_320",cancel:"_cancel_6ax6z_325",disabled:"_disabled_6ax6z_330",await:"_await_6ax6z_337",active:"_active_6ax6z_387",coincidence:"_coincidence_6ax6z_393"};let F={};const ft=({config:t})=>{let[n,a]=g.useState([]);return F.x=()=>{a([])},F.config=t,F.add=s=>{a([...n,s])},r.jsx(r.Fragment,{children:n.map(s=>s)})},pt=({children:t,title:n,button:a,tabs:s,size:x="m",menu:h})=>{const[R,y]=g.useState(!0),v=g.useRef(),A=k=>{if(a&&a.onClick)return a.onClick({closed:y,disabled:k})},w=()=>{v.current.setAttribute("shake",!0),setTimeout(()=>{v.current.setAttribute("shake",!1)},1e3)};return r.jsx(r.Fragment,{children:R?r.jsxs("div",{className:`${$.modal} ${$.white}`,children:[r.jsx("div",{className:$.o,onClick:w}),r.jsxs("div",{className:$.w,ref:v,children:[r.jsxs("div",{className:$.h,children:[r.jsx("div",{className:$.t,children:n}),r.jsxs("div",{className:$.m,children:[s&&r.jsx("nav",{children:s.map((k,T)=>r.jsx("span",{onClick:k.onClick,className:k.active?"active":"",children:k.name},T))}),h]}),r.jsx("div",{className:$.x,onClick:()=>{y(!1)},children:"x"})]}),t,a!==void 0?r.jsx(_e,{label:String(a.name),onClick:A}):""]})]}):""})},xt=t=>{F.add(r.jsx(_t,{children:t},String(Date.now())))},_t=({children:t})=>r.jsx(r.Fragment,{children:t}),ge={List:dt,Scroll:ut,Init:ft,Main:pt,Add:xt,Icon:({type:t,name:n,params:a})=>{let[s,x]=g.useState(null);return g.useEffect(()=>{F.config(t,n,a,x)},[a.id]),r.jsx(r.Fragment,{children:s})},Open:(t,n,a)=>{F.config(t,n,a)}};let S={};const c={},C={},me={};function gt(t,n){if(S=t,localStorage.getItem("ssid")){let s=sessionStorage.getItem("page");s?(s=S.deCode(s),c.id=s.id,c.tab=s.tab,c.page=s.page,c.module=s.module,c.time=s.time,c.payment={active:!0},c.module_admin=s.module_admin):(c.id=0,c.tab="",c.page="Main",c.module=c.module||"M05")}else["ssid","menu","temp","user","sett","qder","firm","last","auth","port","mark","sort"].forEach(s=>localStorage.removeItem(s)),["page"].forEach(s=>sessionStorage.removeItem(s)),c.id=0,c.tab="",c.page="Auth",c.module="M00";return n}function L(){["ssid","menu","temp","user","sett","qder","firm","last","auth","port","mark","sort"].forEach(t=>localStorage.removeItem(t)),["page"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function mt(t){t=t.split("/"),c.page="Main",c.module=t[0],c.tab=t[1],c.id=0,sessionStorage.setItem("page",S.enCode({module:c.module,page:c.page,tab:c.tab,id:c.id,time:new Date().getTime()})),C.page(c.page)}function ht(t){return localStorage.setItem("ssid",t)}function bt(){let t=localStorage.getItem("ssid");return t!==""&&t!=="undefined"&&t!==null?localStorage.getItem("ssid"):(L(),!1)}function vt(t){return localStorage.setItem("auth",t)}function yt(){let t=localStorage.getItem("auth");return t!==""&&t!=="undefined"&&t!==null?t:(L(),!1)}function wt(){const[t,n]=g.useState(he()),a=s=>{n(s)};return C.page=a,[t]}function kt(t){c.page=t,sessionStorage.setItem("page",S.enCode(c)),C.page(t)}function he(){return c.page}function jt(){const[t,n]=g.useState(ne()),a=s=>{n(s)};return C.module=a,[t]}function zt(t,n){c.module=t,sessionStorage.setItem("page",S.enCode(c)),n!=="false"&&C.module(t)}function ne(){return c.module}function St(t){const[n,a]=g.useState(ne()||t),s=x=>{a(x)};return C.tabs=s,[n]}function Ct(t,n){c.tab=t,sessionStorage.setItem("page",S.enCode(c)),n!=="false"&&C.tabs(t)}function Et(){return c.tab}function Rt(){const[t,n]=g.useState(c.id),a=s=>{n(s)};return C.id=a,[t]}function Tt(t){C.id=t}function It(t,n){c.id=t,sessionStorage.setItem("page",S.enCode(c)),n!=="false"&&C.id(t)}function Pt(){return c.id}function Ot(t,n,a){c.module=t,c.id=a,c.tab=n,sessionStorage.setItem("page",S.enCode(c)),C.module(t),C.tabs(n)}function $t(t,n){me.data[t]=n,localStorage.setItem("sett",S.enCode(me.data))}function At(t){let n=localStorage.getItem("sett");return n===null?{}:(n=S.deCode(n),n?t!==void 0?n[t]:n:L())}function Mt(t){localStorage.setItem("menu",S.enCode({data:t}))}function Nt(){let t=localStorage.getItem("menu");if(t!==""&&t!=="undefined"&&t!==null){let n=localStorage.getItem("menu"),a=S.deCode(n);a||L();const s=(h,R)=>{let y=R+"";for(;y.length<h;)y="0"+y;return y};return a.data.split(",").map(h=>"M"+s(2,h))}else return L(),!1}const be=({children:t,config:n,crypto:a,...s})=>gt(a,r.jsxs(r.Fragment,{children:[r.jsx(ge.Init,{config:n.modal}),r.jsx(et,{}),r.jsx(st,{}),t]})),Dt=({children:t,...n})=>r.jsx("menu",{children:t}),Ft=({children:t,...n})=>r.jsxs("header",{children:["xz",t]}),Lt={payment:"_payment_1lxfv_1"};function Wt(){let[t,n]=g.useState({});return!t.active&&!t.payment?"":r.jsx("div",{className:Lt.payment,children:"Истек срок оплаты! Доступ доступен до 16.04.2024"})}const Yt=({children:t,...n})=>{let a={};return a.enCode=s=>JSON.stringify(s).toString(),a.deCode=s=>JSON.parse(s),r.jsxs("div",{className:"app",children:[r.jsx(Wt,{}),r.jsx(Dt,{}),r.jsx(Ft,{}),r.jsx(be,{config:{modal:{}},crypto:a}),t]})},ve=({list:t,onClick:n,active:a,size:s,view:x})=>r.jsx("nav",{children:r.jsx("ul",{className:[s,x].join(" "),children:t.map(h=>r.jsx(Bt,{onClick:n,active:a,label:h.label,link:h.link},h.link))})}),Bt=({onClick:t,label:n,link:a,active:s})=>r.jsx("li",{"tabs-active":String(s===a),onClick:()=>t(a),children:n});ve.defaultProps={size:"M",view:"H"};const Ut=({title:t="",button:n,description:a="",children:s})=>r.jsxs("fieldset",{children:[t&&r.jsxs("legend",{children:[t,n&&r.jsx("div",{role:"button-outline",onClick:()=>n.onClick(),children:n.label})," "]}),r.jsx("ul",{children:s}),a&&r.jsx("article",{children:a})]}),Vt={setting:"_setting_1r0pc_2"},qt=({children:t})=>r.jsx("div",{className:Vt.setting,children:t}),Ht=({label:t,children:n})=>{let[a,s]=g.useState(!1);return r.jsxs("li",{"data-item":"accordion",children:[r.jsxs("dl",{onClick:()=>s(!a),children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:r.jsx("div",{"data-close":String(a)})})]}),a&&r.jsx("div",{children:n})]})},Jt=({label:t,onClick:n,button:a})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{role:"button",onClick:()=>n(),children:a})]})}),ye={Switch:({active:t,onClick:n})=>(console.log(t),t=typeof t=="number"?!!t:t,r.jsx("div",{role:"switch",onClick:()=>{console.log("Wewew"),n()},"aria-checked":t?"true":"false"}))},Zt={Accordion:Ht,Button:Jt,Switch:({label:t,onClick:n,active:a})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:r.jsx(ye.Switch,{onClick:n,active:a})})]})}),Info:({label:t,info:n})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{role:"info",children:n})]})}),Select:({label:t,active:n,options:a})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{role:"info",children:n})]})}),Component:({label:t,children:n})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:n})]})}),Node:({label:t,children:n})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:n})]})})};function we({list:t,onClick:n,active:a,size:s,view:x}){return r.jsx("nav",{children:r.jsx("ul",{className:[s,x].join(" "),children:t.map(h=>r.jsx(Gt,{onClick:n,active:a,label:h.label,link:h.link},h.link))})})}const Gt=({onClick:t,label:n,link:a,active:s})=>r.jsx("li",{"tabs-active":String(s===a),onClick:()=>t(a),children:n});we.defaultProps={size:"M",view:"H"};const Kt={Section:Ut,Main:qt,Item:Zt,Tabs:we},N={h:"_h_1b5x7_1",t:"_t_1b5x7_10",s:"_s_1b5x7_28",u:"_u_1b5x7_37",o:"_o_1b5x7_44",l:"_l_1b5x7_53",hh:"_hh_1b5x7_60"},ke=({title:t,children:n})=>r.jsxs("div",{className:N.h,children:[r.jsx("div",{className:N.t,children:t}),n]}),Xt=({children:t,title:n})=>r.jsxs("div",{className:N.o,children:[n&&r.jsx("div",{className:N.hh,children:n}),t]}),Qt=({children:t})=>r.jsx("div",{className:N.u,children:t}),je=({children:t})=>r.jsx("div",{className:N.s,children:t}),ze=({children:t,...n})=>r.jsx("div",{className:N.l,children:t}),er={Header:ke,Section:je,List:ze,U:Qt,L:ze,O:Xt,S:je,H:ke},tr={Send:tt,Error:rt,Remark:it,Success:nt,Copy:at},rr={Send:ct};function nr(){return r.jsx("svg",{viewBox:"0 0 462.86 359.96",children:r.jsx("path",{d:"M210.5,307.78c-27,35.41-58.14,58-120.55,50.84-1-.12-1.58-.39-1.58-2V327.87c0-1.32.51-2.12,1.85-2,100.39-1,88.17-63.46,74.8-90.94-47.3-97.28-14.46-166.27,20.26-205.14,14.1-16.37,50.53-42,128.07-23.24,9.1,2,30.51,7.8,24.46,11.38C317.5,30,297.66,68.33,295,73.12c-3.62,6.59-6.26,13.17-4.57,14.13,2.37,1.35,3.5-1.56,6.58-7.91C319.78,34.41,366-22.76,402.78,37.68a1.14,1.14,0,0,1,.09.26c9.3,56.05,30.57,228.62-97.76,224.22-23.38-2-28.82-22-32.57-18.89-3.36,3,10,21.4,32.76,23.19C448.18,270.75,411.55,66.74,407.79,41.91a1.41,1.41,0,0,1,0-.3c2-7.32,129.15,17.47,112.77,158.08,4.82,6.57,10.89,10,18.7,16.08l.13.07c8.9,3.67,10.46,12.06,11.43,18.88a63.15,63.15,0,0,1-.14,15.49c-10.48-4.62-22.74-10.11-22.26-22.53.43-12,7.35-5.21-8.8-14.22a.69.69,0,0,0-1,.57c-.33,3.87-2.7,14.69-3,16.59v0c-4.64,17-16.59,86-18.41,99.58-.77,5.7-4.94,10.41-11.4,10.39l-56.71.18c-7.73.22-9.57-7.9-10.27-11.89-2.7-15.31-4.08-29.7-4.18-29.67-20.24,9.26-108.69,3.08-108.69,3.27V330c-.29,7.56-4.51,15.26-11.74,15.32l-52.87,1c-10.36.1-13.85-1.67-15.5-11.87-2.08-13.08-1-34.26-5.32-37.43-2,1.84-8.33,8.11-10,10.83M196.16,203q9.57,0,11.42-7.72c2.18-9.07-5.66-17.7-14.77-15.68-4.95,1.11-7.53,4.94-7.53,11.53C185.28,199,188.94,203,196.16,203Z",transform:"translate(-88.37 0)"})})}const ir={Logo:nr},ar={setSSID:ht,getSSID:bt,Logaut:L,setAUTH:vt,getAUTH:yt,Start:mt,setSetting:$t,getSetting:At,setMenu:Mt,getMenu:Nt},or={Path:Ot,setPage:kt,getPage:he,usePage:wt,setModule:zt,getModule:ne,useModule:jt,setTabs:Ct,getTabs:Et,useTabs:St,useId:Rt,setId:It,subId:Tt,getId:Pt};_.Action=ye,_.Alert=rr,_.Browser=Yt,_.Button=_e,_.Component=er,_.Icon=ir,_.Init=be,_.Modal=ge,_.Notice=tr,_.Router=or,_.Setting=Kt,_.Store=ar,_.Tabs=ve,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -24,7 +24,7 @@ export declare function getModule(): any;
|
|
|
24
24
|
* set tab to default
|
|
25
25
|
* @param {string} tab
|
|
26
26
|
*/
|
|
27
|
-
export declare function useTabs(tab: string):
|
|
27
|
+
export declare function useTabs(tab: string): any[];
|
|
28
28
|
export declare function setTabs(tabs: string, reload: string): void;
|
|
29
29
|
export declare function getTabs(): any;
|
|
30
30
|
export declare function useId(): any[];
|