react-luminus-components 1.3.35 → 1.3.38
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/.vite/manifest.json +60 -60
- package/dist/{FromToDatePickerDropdownToggle-CGnDN_zs.js → FromToDatePickerDropdownToggle-DrEcMDSn.js} +2434 -2403
- package/dist/FromToDatePickerDropdownToggle-U9J8VvT9.cjs +253 -0
- package/dist/PrimaryButton-Da4GxIOm.cjs +1 -0
- package/dist/{PrimaryButton-B6qFyVVD.js → PrimaryButton-Dqcs3CVC.js} +36 -34
- package/dist/{SimpleTooltip-B0I1MS-L.js → SimpleTooltip-BAj8LkNU.js} +1 -1
- package/dist/{SimpleTooltip-CpLiAgNs.cjs → SimpleTooltip-Dzk5Xqz6.cjs} +1 -1
- package/dist/components/Buttons/ContextButton/ContextButton.d.ts +0 -1
- package/dist/components/Buttons/ContextButton/FileUploadContextButton.d.ts +0 -1
- package/dist/components/Buttons/IconButton/IconButton.d.ts +0 -1
- package/dist/components/Buttons/PrimaryButton/PrimaryButton.d.ts +0 -1
- package/dist/components/Dropdown/comps/DropdownItem/DropdownItem.d.ts +0 -1
- package/dist/components/Dropdown/comps/DropdownItem/FileUploadDropdownItem.d.ts +0 -1
- package/dist/components/Dropdown/comps/SimpleToggle/SimpleToggle.d.ts +3 -3
- package/dist/components/InputContainers/FloatingLabelInput/FloatingLabelInput.d.ts +20 -21
- package/dist/components/InputContainers/NoInputContainer/NoInputContainer.d.ts +20 -21
- package/dist/components/InputContainers/RowLabelInput/RowLabelInput.d.ts +20 -21
- package/dist/components/Layout/MessageBoard/components/MessageList/comps/MessageFilters/MessageFilters.d.ts +0 -1
- package/dist/components/NewTabs/TabPanel/TabPanel.d.ts +0 -1
- package/dist/components/UserAvatar/AvatarIcon/AvatarIcon.d.ts +0 -1
- package/dist/components/common/AlertItem/AlertItem.d.ts +0 -1
- package/dist/components/common/Backdrop/Backdrop.d.ts +0 -1
- package/dist/components/common/Badge/Badge.d.ts +0 -1
- package/dist/components/common/Card/Card.d.ts +0 -1
- package/dist/components/common/Collapse/Collapse.d.ts +0 -1
- package/dist/components/common/ConfirmDialog/ConfirmDialog.d.ts +0 -1
- package/dist/components/common/FloatingActionContainer/FloatingActionContainer.d.ts +0 -1
- package/dist/components/common/InvalidFeedback/InvalidFeedback.d.ts +0 -1
- package/dist/components/common/Loading/Loading.d.ts +0 -1
- package/dist/components/common/PromptDialog/PromptDialog.d.ts +0 -1
- package/dist/components/common/Typography/Typography.d.ts +0 -1
- package/dist/components/common/VersionInfo/VersionInfo.d.ts +0 -1
- package/dist/components/common/YearPicker/YearPicker.d.ts +0 -1
- package/dist/contexts/confirm/ConfirmContext.d.ts +0 -1
- package/dist/contexts/confirm/ConfirmProvider.d.ts +0 -1
- package/dist/contexts/delegation/DelegationProvider.d.ts +0 -1
- package/dist/contexts/loading/LoadingContext.d.ts +0 -1
- package/dist/contexts/loading/LoadingProvider.d.ts +0 -1
- package/dist/contexts/user/UserProvider.d.ts +0 -1
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +53 -54
- package/dist/{dateUtils-Y_XPaYyg.cjs → dateUtils--qPvcQrY.cjs} +1 -1
- package/dist/{dateUtils-Bc53BdYm.js → dateUtils-BBdAuKvy.js} +1 -1
- package/dist/hooks/useFormControlType/useFormControlType.d.ts +1 -1
- package/dist/hooks/useLocalStorageState/useLocalStorageState.d.ts +0 -1
- package/dist/hooks/useNotifications/useNotifications.d.ts +1 -1
- package/dist/hooks/useZodSchemaTypes/useZodSchemaTypes.d.ts +1 -1
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +2937 -72
- package/dist/layout/TopBar/TopBar.d.ts +0 -1
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +11 -12
- package/dist/main.cjs.js +1 -1
- package/dist/main.es.js +177 -170
- package/dist/models/prop-types/InputContainerProps.d.ts +0 -1
- package/dist/models/prop-types/InputProps/DropdownPickerProps.d.ts +1 -1
- package/dist/models/types/MenuItemType.d.ts +0 -1
- package/dist/models/types/PhotoAction.d.ts +0 -1
- package/dist/{searchUtils-qxu0IgEU.cjs → searchUtils-BRuoWynE.cjs} +1 -1
- package/dist/{searchUtils-kismAHZM.js → searchUtils-D44ZkVNs.js} +1 -1
- package/dist/{useLocalStorageState-HYmARj_B.js → useLocalStorageState-BuXnU9lw.js} +18 -19
- package/dist/useLocalStorageState-CBt0FNic.cjs +1 -0
- package/dist/usePermissions-BrYbzBzf.cjs +1 -0
- package/dist/{usePermissions-Dl5tlwwt.js → usePermissions-DF_q-wC1.js} +3 -4
- package/dist/utils/bnfValueFormat/bnfValueFormat.d.ts +0 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +53 -54
- package/package.json +1 -1
- package/dist/FromToDatePickerDropdownToggle-BcOIaLyQ.cjs +0 -253
- package/dist/PrimaryButton-Dow_5lBe.cjs +0 -1
- package/dist/useLocalStorageState-BxKcArKF.cjs +0 -1
- package/dist/usePermissions-yx-0zHae.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const n=require("./FromToDatePickerDropdownToggle-U9J8VvT9.cjs"),c=require("react"),Ke=require("react-dom"),Pe=require("react-router-dom");function qe(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const s in t)if(s!=="default"){const o=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,o.get?o:{enumerable:!0,get:()=>t[s]})}}return e.default=t,Object.freeze(e)}const u=qe(c),Ve="_loading_rgybp_1",ze="_spinner-grow_rgybp_10",Xe="_second_rgybp_14",Ye="_third_rgybp_17",Je="_loadingBlock_rgybp_21",N={loading:Ve,"spinner-grow":"_spinner-grow_rgybp_10",spinnerGrow:ze,second:Xe,third:Ye,loadingBlock:Je},Qe=()=>n.jsxRuntimeExports.jsxs("div",{className:n.classNames("luminus-loading",N.loading),children:[n.jsxRuntimeExports.jsx("div",{className:n.classNames("spinner-grow",N.spinnerGrow,"text-primary"),role:"status"}),n.jsxRuntimeExports.jsx("div",{className:n.classNames("spinner-grow",N.spinnerGrow,"text-primary",N.second),role:"status"}),n.jsxRuntimeExports.jsx("div",{className:n.classNames("spinner-grow",N.spinnerGrow,"text-primary",N.third),role:"status"})]}),we=t=>u.forwardRef((e,s)=>n.jsxRuntimeExports.jsx("div",{...e,ref:s,className:n.classNames(e.className,t)}));function Ne(t){const e=c.useRef(null);return c.useEffect(()=>{e.current=t}),e.current}const Ze={"aria-label":n.PropTypes.string,onClick:n.PropTypes.func,variant:n.PropTypes.oneOf(["white"])},Z=u.forwardRef(({className:t,variant:e,"aria-label":s="Close",...o},r)=>n.jsxRuntimeExports.jsx("button",{ref:r,type:"button",className:n.classNames("btn-close",e&&`btn-close-${e}`,t),"aria-label":s,...o}));Z.displayName="CloseButton";Z.propTypes=Ze;var et=Function.prototype.bind.call(Function.prototype.call,[].slice);function j(t,e){return et(t.querySelectorAll(e))}const tt="data-rr-ui-";function je(t){return`${tt}${t}`}const nt={type:n.PropTypes.string,tooltip:n.PropTypes.bool,as:n.PropTypes.elementType},ee=u.forwardRef(({as:t="div",className:e,type:s="valid",tooltip:o=!1,...r},a)=>n.jsxRuntimeExports.jsx(t,{...r,ref:a,className:n.classNames(e,`${s}-${o?"tooltip":"feedback"}`)}));ee.displayName="Feedback";ee.propTypes=nt;const Te=u.forwardRef(({bsPrefix:t,type:e,size:s,htmlSize:o,id:r,className:a,isValid:g=!1,isInvalid:m=!1,plaintext:h,readOnly:y,as:f="input",...v},x)=>{const{controlId:E}=c.useContext(n.FormContext);return t=n.useBootstrapPrefix(t,"form-control"),process.env.NODE_ENV!=="production"&&n.warning(E==null||!r,"`controlId` is ignored on `<FormControl>` when `id` is specified."),n.jsxRuntimeExports.jsx(f,{...v,type:e,size:o,ref:x,readOnly:y,id:r||E,className:n.classNames(a,h?`${t}-plaintext`:t,s&&`${t}-${s}`,e==="color"&&`${t}-color`,g&&"is-valid",m&&"is-invalid")})});Te.displayName="FormControl";const st=Object.assign(Te,{Feedback:ee});var Q;function Re(t){if((!Q&&Q!==0||t)&&n.canUseDOM){var e=document.createElement("div");e.style.position="absolute",e.style.top="-9999px",e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",document.body.appendChild(e),Q=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return Q}function me(t){t===void 0&&(t=n.ownerDocument());try{var e=t.activeElement;return!e||!e.nodeName?null:e}catch{return t.body}}function ot(t=document){const e=t.defaultView;return Math.abs(e.innerWidth-t.documentElement.clientWidth)}const be=je("modal-open");class ge{constructor({ownerDocument:e,handleContainerOverflow:s=!0,isRTL:o=!1}={}){this.handleContainerOverflow=s,this.isRTL=o,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return ot(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(e){}removeModalAttributes(e){}setContainerStyle(e){const s={overflow:"hidden"},o=this.isRTL?"paddingLeft":"paddingRight",r=this.getElement();e.style={overflow:r.style.overflow,[o]:r.style[o]},e.scrollBarWidth&&(s[o]=`${parseInt(n.style(r,o)||"0",10)+e.scrollBarWidth}px`),r.setAttribute(be,""),n.style(r,s)}reset(){[...this.modals].forEach(e=>this.remove(e))}removeContainerStyle(e){const s=this.getElement();s.removeAttribute(be),Object.assign(s.style,e.style)}add(e){let s=this.modals.indexOf(e);return s!==-1||(s=this.modals.length,this.modals.push(e),this.setModalAttributes(e),s!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),s}remove(e){const s=this.modals.indexOf(e);s!==-1&&(this.modals.splice(s,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}isTopModal(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}}const rt=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function at(t,e){if(t==null)return{};var s={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(e.indexOf(o)>=0)continue;s[o]=t[o]}return s}let fe;function it(t){return fe||(fe=new ge({ownerDocument:t==null?void 0:t.document})),fe}function lt(t){const e=n.useWindow(),s=t||it(e),o=c.useRef({dialog:null,backdrop:null});return Object.assign(o.current,{add:()=>s.add(o.current),remove:()=>s.remove(o.current),isTopModal:()=>s.isTopModal(o.current),setDialogRef:c.useCallback(r=>{o.current.dialog=r},[]),setBackdropRef:c.useCallback(r=>{o.current.backdrop=r},[])})}const Ce=c.forwardRef((t,e)=>{let{show:s=!1,role:o="dialog",className:r,style:a,children:g,backdrop:m=!0,keyboard:h=!0,onBackdropClick:y,onEscapeKeyDown:f,transition:v,runTransition:x,backdropTransition:E,runBackdropTransition:te,autoFocus:H=!0,enforceFocus:ne=!0,restoreFocus:T=!0,restoreFocusOptions:se,renderDialog:U,renderBackdrop:oe=l=>n.jsxRuntimeExports.jsx("div",Object.assign({},l)),manager:re,container:ae,onShow:G,onHide:F=()=>{},onExit:ie,onExited:D,onExiting:K,onEnter:P,onEntering:q,onEntered:V}=t,le=at(t,rt);const R=n.useWindow(),C=n.useWaitForDOMRef(ae),d=lt(re),ce=n.useMounted(),z=Ne(s),[w,M]=c.useState(!s),p=c.useRef(null);c.useImperativeHandle(e,()=>d,[d]),n.canUseDOM&&!z&&s&&(p.current=me(R==null?void 0:R.document)),s&&w&&M(!1);const b=n.useEventCallback(()=>{if(d.add(),k.current=n.listen(document,"keydown",ue),L.current=n.listen(document,"focus",()=>setTimeout(de),!0),G&&G(),H){var l,J;const W=me((l=(J=d.dialog)==null?void 0:J.ownerDocument)!=null?l:R==null?void 0:R.document);d.dialog&&W&&!n.contains(d.dialog,W)&&(p.current=W,d.dialog.focus())}}),$=n.useEventCallback(()=>{if(d.remove(),k.current==null||k.current(),L.current==null||L.current(),T){var l;(l=p.current)==null||l.focus==null||l.focus(se),p.current=null}});c.useEffect(()=>{!s||!C||b()},[s,C,b]),c.useEffect(()=>{w&&$()},[w,$]),n.useWillUnmount(()=>{$()});const de=n.useEventCallback(()=>{if(!ne||!ce()||!d.isTopModal())return;const l=me(R==null?void 0:R.document);d.dialog&&l&&!n.contains(d.dialog,l)&&d.dialog.focus()}),X=n.useEventCallback(l=>{l.target===l.currentTarget&&(y==null||y(l),m===!0&&F())}),ue=n.useEventCallback(l=>{h&&n.isEscKey(l)&&d.isTopModal()&&(f==null||f(l),l.defaultPrevented||F())}),L=c.useRef(),k=c.useRef(),Y=(...l)=>{M(!0),D==null||D(...l)};if(!C)return null;const O=Object.assign({role:o,ref:d.setDialogRef,"aria-modal":o==="dialog"?!0:void 0},le,{style:a,className:r,tabIndex:-1});let I=U?U(O):n.jsxRuntimeExports.jsx("div",Object.assign({},O,{children:u.cloneElement(g,{role:"document"})}));I=n.renderTransition(v,x,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!s,onExit:ie,onExiting:K,onExited:Y,onEnter:P,onEntering:q,onEntered:V,children:I});let B=null;return m&&(B=oe({ref:d.setBackdropRef,onClick:X}),B=n.renderTransition(E,te,{in:!!s,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:B})),n.jsxRuntimeExports.jsx(n.jsxRuntimeExports.Fragment,{children:Ke.createPortal(n.jsxRuntimeExports.jsxs(n.jsxRuntimeExports.Fragment,{children:[B,I]}),C)})});Ce.displayName="Modal";const Me=Object.assign(Ce,{Manager:ge});function ct(t,e){t.classList?t.classList.add(e):n.hasClass(t,e)||(typeof t.className=="string"?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))}function ve(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function dt(t,e){t.classList?t.classList.remove(e):typeof t.className=="string"?t.className=ve(t.className,e):t.setAttribute("class",ve(t.className&&t.className.baseVal||"",e))}const S={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class ke extends ge{adjustAndStore(e,s,o){const r=s.style[e];s.dataset[e]=r,n.style(s,{[e]:`${parseFloat(n.style(s,e))+o}px`})}restore(e,s){const o=s.dataset[e];o!==void 0&&(delete s.dataset[e],n.style(s,{[e]:o}))}setContainerStyle(e){super.setContainerStyle(e);const s=this.getElement();if(ct(s,"modal-open"),!e.scrollBarWidth)return;const o=this.isRTL?"paddingLeft":"paddingRight",r=this.isRTL?"marginLeft":"marginRight";j(s,S.FIXED_CONTENT).forEach(a=>this.adjustAndStore(o,a,e.scrollBarWidth)),j(s,S.STICKY_CONTENT).forEach(a=>this.adjustAndStore(r,a,-e.scrollBarWidth)),j(s,S.NAVBAR_TOGGLER).forEach(a=>this.adjustAndStore(r,a,e.scrollBarWidth))}removeContainerStyle(e){super.removeContainerStyle(e);const s=this.getElement();dt(s,"modal-open");const o=this.isRTL?"paddingLeft":"paddingRight",r=this.isRTL?"marginLeft":"marginRight";j(s,S.FIXED_CONTENT).forEach(a=>this.restore(o,a)),j(s,S.STICKY_CONTENT).forEach(a=>this.restore(r,a)),j(s,S.NAVBAR_TOGGLER).forEach(a=>this.restore(r,a))}}let pe;function Oe(t){return pe||(pe=new ke(t)),pe}const Be=u.forwardRef(({className:t,bsPrefix:e,as:s="div",...o},r)=>(e=n.useBootstrapPrefix(e,"modal-body"),n.jsxRuntimeExports.jsx(s,{ref:r,className:n.classNames(t,e),...o})));Be.displayName="ModalBody";const he=u.createContext({onHide(){}}),xe=u.forwardRef(({bsPrefix:t,className:e,contentClassName:s,centered:o,size:r,fullscreen:a,children:g,scrollable:m,...h},y)=>{t=n.useBootstrapPrefix(t,"modal");const f=`${t}-dialog`,v=typeof a=="string"?`${t}-fullscreen-${a}`:`${t}-fullscreen`;return n.jsxRuntimeExports.jsx("div",{...h,ref:y,className:n.classNames(f,e,r&&`${t}-${r}`,o&&`${f}-centered`,m&&`${f}-scrollable`,a&&v),children:n.jsxRuntimeExports.jsx("div",{className:n.classNames(`${t}-content`,s),children:g})})});xe.displayName="ModalDialog";const _e=u.forwardRef(({className:t,bsPrefix:e,as:s="div",...o},r)=>(e=n.useBootstrapPrefix(e,"modal-footer"),n.jsxRuntimeExports.jsx(s,{ref:r,className:n.classNames(t,e),...o})));_e.displayName="ModalFooter";const Se=u.forwardRef(({closeLabel:t="Close",closeVariant:e,closeButton:s=!1,onHide:o,children:r,...a},g)=>{const m=c.useContext(he),h=n.useEventCallback(()=>{m==null||m.onHide(),o==null||o()});return n.jsxRuntimeExports.jsxs("div",{ref:g,...a,children:[r,s&&n.jsxRuntimeExports.jsx(Z,{"aria-label":t,variant:e,onClick:h})]})}),Ae=u.forwardRef(({bsPrefix:t,className:e,closeLabel:s="Close",closeButton:o=!1,...r},a)=>(t=n.useBootstrapPrefix(t,"modal-header"),n.jsxRuntimeExports.jsx(Se,{ref:a,...r,className:n.classNames(e,t),closeLabel:s,closeButton:o})));Ae.displayName="ModalHeader";const ut=we("h4"),Fe=u.forwardRef(({className:t,bsPrefix:e,as:s=ut,...o},r)=>(e=n.useBootstrapPrefix(e,"modal-title"),n.jsxRuntimeExports.jsx(s,{ref:r,className:n.classNames(t,e),...o})));Fe.displayName="ModalTitle";function mt(t){return n.jsxRuntimeExports.jsx(n.Fade,{...t,timeout:null})}function ft(t){return n.jsxRuntimeExports.jsx(n.Fade,{...t,timeout:null})}const De=u.forwardRef(({bsPrefix:t,className:e,style:s,dialogClassName:o,contentClassName:r,children:a,dialogAs:g=xe,"data-bs-theme":m,"aria-labelledby":h,"aria-describedby":y,"aria-label":f,show:v=!1,animation:x=!0,backdrop:E=!0,keyboard:te=!0,onEscapeKeyDown:H,onShow:ne,onHide:T,container:se,autoFocus:U=!0,enforceFocus:oe=!0,restoreFocus:re=!0,restoreFocusOptions:ae,onEntered:G,onExit:F,onExiting:ie,onEnter:D,onEntering:K,onExited:P,backdropClassName:q,manager:V,...le},R)=>{const[C,d]=c.useState({}),[ce,z]=c.useState(!1),w=c.useRef(!1),M=c.useRef(!1),p=c.useRef(null),[b,$]=n.useCallbackRef(),de=n.useMergedRefs(R,$),X=n.useEventCallback(T),ue=n.useIsRTL();t=n.useBootstrapPrefix(t,"modal");const L=c.useMemo(()=>({onHide:X}),[X]);function k(){return V||Oe({isRTL:ue})}function Y(i){if(!n.canUseDOM)return;const _=k().getScrollbarWidth()>0,ye=i.scrollHeight>n.ownerDocument(i).documentElement.clientHeight;d({paddingRight:_&&!ye?Re():void 0,paddingLeft:!_&&ye?Re():void 0})}const O=n.useEventCallback(()=>{b&&Y(b.dialog)});n.useWillUnmount(()=>{n.removeEventListener(window,"resize",O),p.current==null||p.current()});const I=()=>{w.current=!0},B=i=>{w.current&&b&&i.target===b.dialog&&(M.current=!0),w.current=!1},l=()=>{z(!0),p.current=n.transitionEnd(b.dialog,()=>{z(!1)})},J=i=>{i.target===i.currentTarget&&l()},W=i=>{if(E==="static"){J(i);return}if(M.current||i.target!==i.currentTarget){M.current=!1;return}T==null||T()},$e=i=>{te?H==null||H(i):(i.preventDefault(),E==="static"&&l())},Le=(i,_)=>{i&&Y(i),D==null||D(i,_)},Ie=i=>{p.current==null||p.current(),F==null||F(i)},We=(i,_)=>{K==null||K(i,_),n.addEventListener(window,"resize",O)},He=i=>{i&&(i.style.display=""),P==null||P(i),n.removeEventListener(window,"resize",O)},Ue=c.useCallback(i=>n.jsxRuntimeExports.jsx("div",{...i,className:n.classNames(`${t}-backdrop`,q,!x&&"show")}),[x,q,t]),Ee={...s,...C};Ee.display="block";const Ge=i=>n.jsxRuntimeExports.jsx("div",{role:"dialog",...i,style:Ee,className:n.classNames(e,t,ce&&`${t}-static`,!x&&"show"),onClick:E?W:void 0,onMouseUp:B,"data-bs-theme":m,"aria-label":f,"aria-labelledby":h,"aria-describedby":y,children:n.jsxRuntimeExports.jsx(g,{...le,onMouseDown:I,className:o,contentClassName:r,children:a})});return n.jsxRuntimeExports.jsx(he.Provider,{value:L,children:n.jsxRuntimeExports.jsx(Me,{show:v,ref:de,backdrop:E,container:se,keyboard:!0,autoFocus:U,enforceFocus:oe,restoreFocus:re,restoreFocusOptions:ae,onEscapeKeyDown:$e,onShow:ne,onHide:T,onEnter:Le,onEntering:We,onEntered:G,onExit:Ie,onExiting:ie,onExited:He,manager:k(),transition:x?mt:void 0,backdropTransition:x?ft:void 0,renderBackdrop:Ue,renderDialog:Ge})})});De.displayName="Modal";const pt=Object.assign(De,{Body:Be,Header:Ae,Title:Fe,Footer:_e,Dialog:xe,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),gt="_button_1wjon_1",ht="_filled_1wjon_7",xt="_sm_1wjon_13",Et="_md_1wjon_18",yt="_lg_1wjon_23",A={button:gt,filled:ht,sm:xt,md:Et,lg:yt},Rt=({variant:t="filled",color:e="primary",size:s="md",className:o,children:r,...a})=>a.as==="link"?n.jsxRuntimeExports.jsx(Pe.Link,{to:a.href??"/",className:n.classNames(`luminus-primary-button ${e} btn ${t==="outlined"?`btn-outline-${e}`:`btn-${e}`} ${o??""}`,A.button,A[t],A[s]),...a,children:r}):a.as==="button"||a.as===void 0?n.jsxRuntimeExports.jsx("button",{type:"button",className:n.classNames(`luminus-primary-button ${e} btn ${t==="outlined"?`btn-outline-${e}`:`btn-${e}`} ${o??""}`,A.button,A[t],A[s]),...a,children:r}):null;exports.AbstractModalHeader=Se;exports.BaseModal=Me;exports.BootstrapModalManager=ke;exports.CloseButton=Z;exports.Feedback=ee;exports.FormControl=st;exports.Loading=Qe;exports.Modal=pt;exports.ModalContext=he;exports.PrimaryButton=Rt;exports.classes=N;exports.dataAttr=je;exports.divWithClassName=we;exports.getSharedManager=Oe;exports.qsa=j;exports.usePrevious=Ne;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as r, c as d, P as D, M as tt, v as R, J as nt, ar as Ee, as as Se, o as V, G as $e, at as ot, au as st, w as T, av as
|
|
1
|
+
import { j as r, c as d, P as D, M as tt, v as R, J as nt, ar as Ee, as as Se, o as V, G as $e, at as ot, au as st, w as T, av as je, aw as ke, ax as Le, ay as at, az as _e, aA as rt, A as it, I as lt, L as dt, aB as Oe, F as De, H as ct, aC as ut } from "./FromToDatePickerDropdownToggle-DrEcMDSn.js";
|
|
2
2
|
import * as u from "react";
|
|
3
3
|
import { useRef as N, useEffect as we, useContext as Ie, forwardRef as ft, useState as ve, useImperativeHandle as mt, useCallback as be, useMemo as gt } from "react";
|
|
4
4
|
import ht from "react-dom";
|
|
@@ -55,10 +55,10 @@ function S(t, e) {
|
|
|
55
55
|
return Ct(t.querySelectorAll(e));
|
|
56
56
|
}
|
|
57
57
|
const Rt = "data-rr-ui-";
|
|
58
|
-
function
|
|
58
|
+
function xt(t) {
|
|
59
59
|
return `${Rt}${t}`;
|
|
60
60
|
}
|
|
61
|
-
const
|
|
61
|
+
const jt = {
|
|
62
62
|
/**
|
|
63
63
|
* Specify whether the feedback is for valid or invalid fields
|
|
64
64
|
*
|
|
@@ -83,7 +83,7 @@ const xt = {
|
|
|
83
83
|
})
|
|
84
84
|
);
|
|
85
85
|
Ne.displayName = "Feedback";
|
|
86
|
-
Ne.propTypes =
|
|
86
|
+
Ne.propTypes = jt;
|
|
87
87
|
const We = /* @__PURE__ */ u.forwardRef(({
|
|
88
88
|
bsPrefix: t,
|
|
89
89
|
type: e,
|
|
@@ -133,11 +133,11 @@ function he(t) {
|
|
|
133
133
|
return t.body;
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function kt(t = document) {
|
|
137
137
|
const e = t.defaultView;
|
|
138
138
|
return Math.abs(e.innerWidth - t.documentElement.clientWidth);
|
|
139
139
|
}
|
|
140
|
-
const Ae =
|
|
140
|
+
const Ae = xt("modal-open");
|
|
141
141
|
class Me {
|
|
142
142
|
constructor({
|
|
143
143
|
ownerDocument: e,
|
|
@@ -147,7 +147,7 @@ class Me {
|
|
|
147
147
|
this.handleContainerOverflow = n, this.isRTL = o, this.modals = [], this.ownerDocument = e;
|
|
148
148
|
}
|
|
149
149
|
getScrollbarWidth() {
|
|
150
|
-
return
|
|
150
|
+
return kt(this.ownerDocument);
|
|
151
151
|
}
|
|
152
152
|
getElement() {
|
|
153
153
|
return (this.ownerDocument || document).body;
|
|
@@ -190,9 +190,11 @@ class Me {
|
|
|
190
190
|
const _t = ["show", "role", "className", "style", "children", "backdrop", "keyboard", "onBackdropClick", "onEscapeKeyDown", "transition", "runTransition", "backdropTransition", "runBackdropTransition", "autoFocus", "enforceFocus", "restoreFocus", "restoreFocusOptions", "renderDialog", "renderBackdrop", "manager", "container", "onShow", "onHide", "onExit", "onExited", "onExiting", "onEnter", "onEntering", "onEntered"];
|
|
191
191
|
function Ot(t, e) {
|
|
192
192
|
if (t == null) return {};
|
|
193
|
-
var n = {}
|
|
194
|
-
for (
|
|
195
|
-
|
|
193
|
+
var n = {};
|
|
194
|
+
for (var o in t) if ({}.hasOwnProperty.call(t, o)) {
|
|
195
|
+
if (e.indexOf(o) >= 0) continue;
|
|
196
|
+
n[o] = t[o];
|
|
197
|
+
}
|
|
196
198
|
return n;
|
|
197
199
|
}
|
|
198
200
|
let pe;
|
|
@@ -235,7 +237,7 @@ const He = /* @__PURE__ */ ft((t, e) => {
|
|
|
235
237
|
runBackdropTransition: se,
|
|
236
238
|
autoFocus: z = !0,
|
|
237
239
|
enforceFocus: ae = !0,
|
|
238
|
-
restoreFocus:
|
|
240
|
+
restoreFocus: x = !0,
|
|
239
241
|
restoreFocusOptions: re,
|
|
240
242
|
renderDialog: X,
|
|
241
243
|
renderBackdrop: ie = (l) => /* @__PURE__ */ r.jsx("div", Object.assign({}, l)),
|
|
@@ -251,10 +253,10 @@ const He = /* @__PURE__ */ ft((t, e) => {
|
|
|
251
253
|
onEntering: Q,
|
|
252
254
|
onEntered: Z
|
|
253
255
|
} = t, ue = Ot(t, _t);
|
|
254
|
-
const b = $e(),
|
|
255
|
-
mt(e, () => c, [c]), Ee && !P && n && (g.current = he(b == null ? void 0 : b.document)), n && C &&
|
|
256
|
+
const b = $e(), j = ot(de), c = At(le), fe = st(), P = Nt(n), [C, k] = ve(!n), g = N(null);
|
|
257
|
+
mt(e, () => c, [c]), Ee && !P && n && (g.current = he(b == null ? void 0 : b.document)), n && C && k(!1);
|
|
256
258
|
const E = T(() => {
|
|
257
|
-
if (c.add(), _.current =
|
|
259
|
+
if (c.add(), _.current = je(document, "keydown", ge), G.current = je(
|
|
258
260
|
document,
|
|
259
261
|
"focus",
|
|
260
262
|
// the timeout is necessary b/c this will run before the new modal is mounted
|
|
@@ -264,19 +266,19 @@ const He = /* @__PURE__ */ ft((t, e) => {
|
|
|
264
266
|
), q && q(), z) {
|
|
265
267
|
var l, ne;
|
|
266
268
|
const U = he((l = (ne = c.dialog) == null ? void 0 : ne.ownerDocument) != null ? l : b == null ? void 0 : b.document);
|
|
267
|
-
c.dialog && U && !
|
|
269
|
+
c.dialog && U && !ke(c.dialog, U) && (g.current = U, c.dialog.focus());
|
|
268
270
|
}
|
|
269
271
|
}), H = T(() => {
|
|
270
|
-
if (c.remove(), _.current == null || _.current(), G.current == null || G.current(),
|
|
272
|
+
if (c.remove(), _.current == null || _.current(), G.current == null || G.current(), x) {
|
|
271
273
|
var l;
|
|
272
274
|
(l = g.current) == null || l.focus == null || l.focus(re), g.current = null;
|
|
273
275
|
}
|
|
274
276
|
});
|
|
275
277
|
we(() => {
|
|
276
|
-
!n || !
|
|
278
|
+
!n || !j || E();
|
|
277
279
|
}, [
|
|
278
280
|
n,
|
|
279
|
-
|
|
281
|
+
j,
|
|
280
282
|
/* should never change: */
|
|
281
283
|
E
|
|
282
284
|
]), we(() => {
|
|
@@ -288,15 +290,15 @@ const He = /* @__PURE__ */ ft((t, e) => {
|
|
|
288
290
|
if (!ae || !fe() || !c.isTopModal())
|
|
289
291
|
return;
|
|
290
292
|
const l = he(b == null ? void 0 : b.document);
|
|
291
|
-
c.dialog && l && !
|
|
293
|
+
c.dialog && l && !ke(c.dialog, l) && c.dialog.focus();
|
|
292
294
|
}), ee = T((l) => {
|
|
293
295
|
l.target === l.currentTarget && (v == null || v(l), f === !0 && I());
|
|
294
296
|
}), ge = T((l) => {
|
|
295
297
|
p && at(l) && c.isTopModal() && (m == null || m(l), l.defaultPrevented || I());
|
|
296
298
|
}), G = N(), _ = N(), te = (...l) => {
|
|
297
|
-
|
|
299
|
+
k(!0), W == null || W(...l);
|
|
298
300
|
};
|
|
299
|
-
if (!
|
|
301
|
+
if (!j)
|
|
300
302
|
return null;
|
|
301
303
|
const O = Object.assign({
|
|
302
304
|
role: o,
|
|
@@ -339,7 +341,7 @@ const He = /* @__PURE__ */ ft((t, e) => {
|
|
|
339
341
|
})), /* @__PURE__ */ r.jsx(r.Fragment, {
|
|
340
342
|
children: /* @__PURE__ */ ht.createPortal(/* @__PURE__ */ r.jsxs(r.Fragment, {
|
|
341
343
|
children: [B, K]
|
|
342
|
-
}),
|
|
344
|
+
}), j)
|
|
343
345
|
});
|
|
344
346
|
});
|
|
345
347
|
He.displayName = "Modal";
|
|
@@ -518,7 +520,7 @@ const Xe = /* @__PURE__ */ u.forwardRef(({
|
|
|
518
520
|
keyboard: se = !0,
|
|
519
521
|
onEscapeKeyDown: z,
|
|
520
522
|
onShow: ae,
|
|
521
|
-
onHide:
|
|
523
|
+
onHide: x,
|
|
522
524
|
container: re,
|
|
523
525
|
autoFocus: X = !0,
|
|
524
526
|
enforceFocus: ie = !0,
|
|
@@ -534,7 +536,7 @@ const Xe = /* @__PURE__ */ u.forwardRef(({
|
|
|
534
536
|
manager: Z,
|
|
535
537
|
...ue
|
|
536
538
|
}, b) => {
|
|
537
|
-
const [
|
|
539
|
+
const [j, c] = ve({}), [fe, P] = ve(!1), C = N(!1), k = N(!1), g = N(null), [E, H] = it(), me = lt(b, H), ee = T(x), ge = dt();
|
|
538
540
|
t = R(t, "modal");
|
|
539
541
|
const G = gt(() => ({
|
|
540
542
|
onHide: ee
|
|
@@ -546,10 +548,10 @@ const Xe = /* @__PURE__ */ u.forwardRef(({
|
|
|
546
548
|
}
|
|
547
549
|
function te(i) {
|
|
548
550
|
if (!Ee) return;
|
|
549
|
-
const A = _().getScrollbarWidth() > 0,
|
|
551
|
+
const A = _().getScrollbarWidth() > 0, xe = i.scrollHeight > Se(i).documentElement.clientHeight;
|
|
550
552
|
c({
|
|
551
|
-
paddingRight: A && !
|
|
552
|
-
paddingLeft: !A &&
|
|
553
|
+
paddingRight: A && !xe ? Be() : void 0,
|
|
554
|
+
paddingLeft: !A && xe ? Be() : void 0
|
|
553
555
|
});
|
|
554
556
|
}
|
|
555
557
|
const O = T(() => {
|
|
@@ -561,7 +563,7 @@ const Xe = /* @__PURE__ */ u.forwardRef(({
|
|
|
561
563
|
const K = () => {
|
|
562
564
|
C.current = !0;
|
|
563
565
|
}, B = (i) => {
|
|
564
|
-
C.current && E && i.target === E.dialog && (
|
|
566
|
+
C.current && E && i.target === E.dialog && (k.current = !0), C.current = !1;
|
|
565
567
|
}, l = () => {
|
|
566
568
|
P(!0), g.current = ut(E.dialog, () => {
|
|
567
569
|
P(!1);
|
|
@@ -573,11 +575,11 @@ const Xe = /* @__PURE__ */ u.forwardRef(({
|
|
|
573
575
|
ne(i);
|
|
574
576
|
return;
|
|
575
577
|
}
|
|
576
|
-
if (
|
|
577
|
-
|
|
578
|
+
if (k.current || i.target !== i.currentTarget) {
|
|
579
|
+
k.current = !1;
|
|
578
580
|
return;
|
|
579
581
|
}
|
|
580
|
-
|
|
582
|
+
x == null || x();
|
|
581
583
|
}, qe = (i) => {
|
|
582
584
|
se ? z == null || z(i) : (i.preventDefault(), w === "static" && l());
|
|
583
585
|
}, Ye = (i, A) => {
|
|
@@ -593,7 +595,7 @@ const Xe = /* @__PURE__ */ u.forwardRef(({
|
|
|
593
595
|
className: d(`${t}-backdrop`, Q, !y && "show")
|
|
594
596
|
}), [y, Q, t]), Re = {
|
|
595
597
|
...n,
|
|
596
|
-
...
|
|
598
|
+
...j
|
|
597
599
|
};
|
|
598
600
|
Re.display = "block";
|
|
599
601
|
const et = (i) => /* @__PURE__ */ r.jsx("div", {
|
|
@@ -629,7 +631,7 @@ const Xe = /* @__PURE__ */ u.forwardRef(({
|
|
|
629
631
|
restoreFocusOptions: de,
|
|
630
632
|
onEscapeKeyDown: qe,
|
|
631
633
|
onShow: ae,
|
|
632
|
-
onHide:
|
|
634
|
+
onHide: x,
|
|
633
635
|
onEnter: Ye,
|
|
634
636
|
onEntering: Qe,
|
|
635
637
|
onEntered: q,
|
|
@@ -668,7 +670,7 @@ export {
|
|
|
668
670
|
Zt as L,
|
|
669
671
|
Ke as M,
|
|
670
672
|
tn as P,
|
|
671
|
-
|
|
673
|
+
xt as a,
|
|
672
674
|
Pt as b,
|
|
673
675
|
F as c,
|
|
674
676
|
Tt as d,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as o, Q as a, aS as e } from "./FromToDatePickerDropdownToggle-
|
|
1
|
+
import { j as o, Q as a, aS as e } from "./FromToDatePickerDropdownToggle-DrEcMDSn.js";
|
|
2
2
|
const l = ({ text: s, placement: r, children: t }) => /* @__PURE__ */ o.jsx(a, { placement: r, overlay: /* @__PURE__ */ o.jsx(e, { className: "luminus-tooltip", children: s }), children: t });
|
|
3
3
|
export {
|
|
4
4
|
l as S
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("./FromToDatePickerDropdownToggle-
|
|
1
|
+
"use strict";const o=require("./FromToDatePickerDropdownToggle-U9J8VvT9.cjs"),i=({text:e,placement:r,children:t})=>o.jsxRuntimeExports.jsx(o.OverlayTrigger,{placement:r,overlay:o.jsxRuntimeExports.jsx(o.Tooltip,{className:"luminus-tooltip",children:e}),children:t});exports.SimpleTooltip=i;
|
|
@@ -2,10 +2,10 @@ import { default as React } from 'react';
|
|
|
2
2
|
|
|
3
3
|
declare const SimpleDropdownToggle: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
4
4
|
onClick: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
5
|
-
color?: "primary" | "success" | "danger" | "warning"
|
|
5
|
+
color?: "primary" | "success" | "danger" | "warning";
|
|
6
6
|
icon?: React.ReactNode;
|
|
7
|
-
text?: string
|
|
8
|
-
className?: string
|
|
7
|
+
text?: string;
|
|
8
|
+
className?: string;
|
|
9
9
|
children: React.ReactNode;
|
|
10
10
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
11
11
|
export default SimpleDropdownToggle;
|
|
@@ -1,31 +1,30 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const FloatingLabelInput: import('react').ForwardRefExoticComponent<(Omit<{
|
|
3
|
-
hidden?: boolean
|
|
4
|
-
children:
|
|
5
|
-
isInvalid?: boolean
|
|
6
|
-
isForCheckInput?: boolean
|
|
7
|
-
isForRadioInput?: boolean
|
|
8
|
-
isForTextAreaInput?: boolean
|
|
9
|
-
inputContainerClassName?: string
|
|
10
|
-
className?: string
|
|
2
|
+
hidden?: boolean;
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
isInvalid?: boolean;
|
|
5
|
+
isForCheckInput?: boolean;
|
|
6
|
+
isForRadioInput?: boolean;
|
|
7
|
+
isForTextAreaInput?: boolean;
|
|
8
|
+
inputContainerClassName?: string;
|
|
9
|
+
className?: string;
|
|
11
10
|
} & {
|
|
12
|
-
ref?:
|
|
11
|
+
ref?: React.LegacyRef<HTMLDivElement>;
|
|
13
12
|
} & {
|
|
14
|
-
withoutLabel?: false
|
|
13
|
+
withoutLabel?: false;
|
|
15
14
|
label: string;
|
|
16
15
|
} & {
|
|
17
|
-
withoutLabel?: false
|
|
16
|
+
withoutLabel?: false;
|
|
18
17
|
}, "ref"> | Omit<{
|
|
19
|
-
hidden?: boolean
|
|
20
|
-
children:
|
|
21
|
-
isInvalid?: boolean
|
|
22
|
-
isForCheckInput?: boolean
|
|
23
|
-
isForRadioInput?: boolean
|
|
24
|
-
isForTextAreaInput?: boolean
|
|
25
|
-
inputContainerClassName?: string
|
|
26
|
-
className?: string
|
|
18
|
+
hidden?: boolean;
|
|
19
|
+
children: React.ReactNode;
|
|
20
|
+
isInvalid?: boolean;
|
|
21
|
+
isForCheckInput?: boolean;
|
|
22
|
+
isForRadioInput?: boolean;
|
|
23
|
+
isForTextAreaInput?: boolean;
|
|
24
|
+
inputContainerClassName?: string;
|
|
25
|
+
className?: string;
|
|
27
26
|
} & {
|
|
28
|
-
ref?:
|
|
27
|
+
ref?: React.LegacyRef<HTMLDivElement>;
|
|
29
28
|
} & {
|
|
30
29
|
withoutLabel: true;
|
|
31
30
|
} & {
|
|
@@ -1,31 +1,30 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const NoInputContainer: import('react').ForwardRefExoticComponent<(Omit<{
|
|
3
|
-
hidden?: boolean
|
|
4
|
-
children:
|
|
5
|
-
isInvalid?: boolean
|
|
6
|
-
isForCheckInput?: boolean
|
|
7
|
-
isForRadioInput?: boolean
|
|
8
|
-
isForTextAreaInput?: boolean
|
|
9
|
-
inputContainerClassName?: string
|
|
10
|
-
className?: string
|
|
2
|
+
hidden?: boolean;
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
isInvalid?: boolean;
|
|
5
|
+
isForCheckInput?: boolean;
|
|
6
|
+
isForRadioInput?: boolean;
|
|
7
|
+
isForTextAreaInput?: boolean;
|
|
8
|
+
inputContainerClassName?: string;
|
|
9
|
+
className?: string;
|
|
11
10
|
} & {
|
|
12
|
-
ref?:
|
|
11
|
+
ref?: React.LegacyRef<HTMLDivElement>;
|
|
13
12
|
} & {
|
|
14
|
-
withoutLabel?: false
|
|
13
|
+
withoutLabel?: false;
|
|
15
14
|
label: string;
|
|
16
15
|
} & {
|
|
17
|
-
withoutLabel?: false
|
|
16
|
+
withoutLabel?: false;
|
|
18
17
|
}, "ref"> | Omit<{
|
|
19
|
-
hidden?: boolean
|
|
20
|
-
children:
|
|
21
|
-
isInvalid?: boolean
|
|
22
|
-
isForCheckInput?: boolean
|
|
23
|
-
isForRadioInput?: boolean
|
|
24
|
-
isForTextAreaInput?: boolean
|
|
25
|
-
inputContainerClassName?: string
|
|
26
|
-
className?: string
|
|
18
|
+
hidden?: boolean;
|
|
19
|
+
children: React.ReactNode;
|
|
20
|
+
isInvalid?: boolean;
|
|
21
|
+
isForCheckInput?: boolean;
|
|
22
|
+
isForRadioInput?: boolean;
|
|
23
|
+
isForTextAreaInput?: boolean;
|
|
24
|
+
inputContainerClassName?: string;
|
|
25
|
+
className?: string;
|
|
27
26
|
} & {
|
|
28
|
-
ref?:
|
|
27
|
+
ref?: React.LegacyRef<HTMLDivElement>;
|
|
29
28
|
} & {
|
|
30
29
|
withoutLabel: true;
|
|
31
30
|
} & {
|
|
@@ -1,31 +1,30 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const RowLabelInput: import('react').ForwardRefExoticComponent<(Omit<{
|
|
3
|
-
hidden?: boolean
|
|
4
|
-
children:
|
|
5
|
-
isInvalid?: boolean
|
|
6
|
-
isForCheckInput?: boolean
|
|
7
|
-
isForRadioInput?: boolean
|
|
8
|
-
isForTextAreaInput?: boolean
|
|
9
|
-
inputContainerClassName?: string
|
|
10
|
-
className?: string
|
|
2
|
+
hidden?: boolean;
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
isInvalid?: boolean;
|
|
5
|
+
isForCheckInput?: boolean;
|
|
6
|
+
isForRadioInput?: boolean;
|
|
7
|
+
isForTextAreaInput?: boolean;
|
|
8
|
+
inputContainerClassName?: string;
|
|
9
|
+
className?: string;
|
|
11
10
|
} & {
|
|
12
|
-
ref?:
|
|
11
|
+
ref?: React.LegacyRef<HTMLDivElement>;
|
|
13
12
|
} & {
|
|
14
|
-
withoutLabel?: false
|
|
13
|
+
withoutLabel?: false;
|
|
15
14
|
label: string;
|
|
16
15
|
} & {
|
|
17
|
-
withoutLabel?: false
|
|
16
|
+
withoutLabel?: false;
|
|
18
17
|
}, "ref"> | Omit<{
|
|
19
|
-
hidden?: boolean
|
|
20
|
-
children:
|
|
21
|
-
isInvalid?: boolean
|
|
22
|
-
isForCheckInput?: boolean
|
|
23
|
-
isForRadioInput?: boolean
|
|
24
|
-
isForTextAreaInput?: boolean
|
|
25
|
-
inputContainerClassName?: string
|
|
26
|
-
className?: string
|
|
18
|
+
hidden?: boolean;
|
|
19
|
+
children: React.ReactNode;
|
|
20
|
+
isInvalid?: boolean;
|
|
21
|
+
isForCheckInput?: boolean;
|
|
22
|
+
isForRadioInput?: boolean;
|
|
23
|
+
isForTextAreaInput?: boolean;
|
|
24
|
+
inputContainerClassName?: string;
|
|
25
|
+
className?: string;
|
|
27
26
|
} & {
|
|
28
|
-
ref?:
|
|
27
|
+
ref?: React.LegacyRef<HTMLDivElement>;
|
|
29
28
|
} & {
|
|
30
29
|
withoutLabel: true;
|
|
31
30
|
} & {
|