react-luminus-components 1.3.32 → 1.3.34
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 +0 -6
- package/dist/.vite/manifest.json +60 -60
- package/dist/FromToDatePickerDropdownToggle-DhzBIJXw.cjs +253 -0
- package/dist/{FromToDatePickerDropdownToggle-DDOxJCc2.js → FromToDatePickerDropdownToggle-Dk7MFcJp.js} +2761 -2615
- package/dist/{PrimaryButton-B64e5vBv.js → PrimaryButton-Bbl06m-g.js} +135 -145
- package/dist/PrimaryButton-D33g-RWP.cjs +1 -0
- package/dist/{SimpleTooltip-DIqIPx0H.cjs → SimpleTooltip-Bz22xxXa.cjs} +1 -1
- package/dist/{SimpleTooltip-BgRjtr0d.js → SimpleTooltip-C32Faxrc.js} +1 -1
- package/dist/components/BnfTableValueFormats/UserAvatarValueFormat/UserAvatarValueFormat.d.ts +2 -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/FloatingSubmit/FloatingFormSubmit.d.ts +1 -0
- package/dist/components/Buttons/IconButton/IconButton.d.ts +0 -1
- package/dist/components/Buttons/PrimaryButton/PrimaryButton.d.ts +0 -1
- package/dist/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown/comps/DropdownDivider/DropdownDivider.d.ts +2 -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/DropdownToggle/DropdownToggle.d.ts +1 -1
- package/dist/components/Dropdown/comps/SimpleToggle/SimpleToggle.d.ts +5 -4
- package/dist/components/Dropdown/comps/UserAvatarToggle/UserAvatarToggle.d.ts +2 -1
- package/dist/components/Form/CheckInput/CheckInput.d.ts +2 -2
- package/dist/components/Form/DropdownPicker/DropdownPicker.d.ts +2 -2
- package/dist/components/Form/NumericStepperInput/NumericStepperInput.d.ts +2 -2
- package/dist/components/Form/SelectInput/SelectInput.d.ts +2 -2
- package/dist/components/Form/TextAreaInput/TextAreaInput.d.ts +2 -2
- package/dist/components/Form/TextInput/TextInput.d.ts +2 -2
- package/dist/components/HookForm/CheckInput/HookFormCheckInput.d.ts +2 -2
- package/dist/components/HookForm/CustomSelectInput/CustomSelectInput.d.ts +2 -2
- package/dist/components/HookForm/DropdownPicker/HookFormDropdownPicker.d.ts +3 -2
- package/dist/components/HookForm/FileInput/HookFormFileInput.d.ts +2 -2
- package/dist/components/HookForm/FloatingSubmit/HookFormFloatingSubmit.d.ts +1 -0
- package/dist/components/HookForm/NumericStepperInput/HookFormNumericStepperInput.d.ts +2 -2
- package/dist/components/HookForm/RadioInput/HookFormRadioInput.d.ts +2 -2
- package/dist/components/HookForm/SelectInput/HookFormSelectInput.d.ts +2 -2
- package/dist/components/HookForm/TextAreaInput/HookFormTextAreaInput.d.ts +2 -2
- package/dist/components/HookForm/TextInput/HookFormTextInput.d.ts +2 -2
- package/dist/components/InputContainers/FloatingLabelInput/FloatingLabelInput.d.ts +22 -23
- package/dist/components/InputContainers/InputAnchorContainer/InputAnchorContainer.d.ts +2 -2
- package/dist/components/InputContainers/NoInputContainer/NoInputContainer.d.ts +22 -23
- package/dist/components/InputContainers/RowLabelInput/RowLabelInput.d.ts +22 -23
- package/dist/components/Layout/MessageBoard/MessageBoard.d.ts +2 -1
- package/dist/components/Layout/MessageBoard/components/MessageList/MessageList.d.ts +2 -2
- package/dist/components/Layout/MessageBoard/components/MessageList/comps/MessageFilters/MessageFilters.d.ts +0 -1
- package/dist/components/Layout/MessageBoard/components/MessageList/comps/MessageItem/MessageItem.d.ts +2 -2
- package/dist/components/NewTabs/Tab/Tab.d.ts +1 -0
- package/dist/components/NewTabs/TabPanel/TabPanel.d.ts +0 -1
- package/dist/components/NewTabs/Tabs/Tabs.d.ts +2 -2
- package/dist/components/Tabs/Tabs.d.ts +1 -1
- package/dist/components/Tabs/comps/Tab/Tab.d.ts +1 -1
- package/dist/components/Tooltip/HtmlTooltip/HtmlTooltip.d.ts +1 -0
- package/dist/components/Tooltip/SimpleTooltip/SimpleTooltip.d.ts +1 -0
- package/dist/components/UserAvatar/AvatarIcon/AvatarIcon.d.ts +0 -1
- package/dist/components/common/Alert/Alert.d.ts +1 -1
- package/dist/components/common/AlertItem/AlertItem.d.ts +0 -1
- package/dist/components/common/ApiFileDownloadButton/ApiFileDownloadButton.d.ts +2 -1
- package/dist/components/common/AppSearch/AppSearch.d.ts +2 -2
- package/dist/components/common/AppSearch/comps/AutocompleteWindow/AutocompleteWindow.d.ts +2 -2
- package/dist/components/common/AppSearch/comps/TypeSelector/TypeSelector.d.ts +3 -2
- package/dist/components/common/AppSearch/hooks/useSearchItems.d.ts +2 -1
- package/dist/components/common/AuthTemplate/AuthTemplate.d.ts +2 -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/ErrorBoundary/ErrorBoundary.d.ts +2 -1
- package/dist/components/common/FloatingActionContainer/FloatingActionContainer.d.ts +0 -1
- package/dist/components/common/FromToDatePicker/FromToDatePicker.d.ts +3 -2
- package/dist/components/common/FromToDatePicker/components/FromToDatePickerDropdownToggle/FromToDatePickerDropdownToggle.d.ts +2 -1
- package/dist/components/common/FromToDatePicker/hooks/useFromToDatePicker.d.ts +2 -1
- package/dist/components/common/FromToDatePicker/utils/utilsFromToDatePicker.d.ts +1 -0
- package/dist/components/common/HomeDashboard/HomeDashboard.d.ts +3 -3
- package/dist/components/common/HomeDashboard/comps/FreeSpaceWidget/FreeSpaceWidget.d.ts +2 -2
- package/dist/components/common/HomeDashboard/comps/WidgetPicker/WidgetPicker.d.ts +2 -2
- package/dist/components/common/HomeDashboard/hooks/useUserDashboard.d.ts +2 -1
- package/dist/components/common/ImgApi/ImgApi.d.ts +2 -2
- package/dist/components/common/ImgApi/hooks/useGetImgData.d.ts +2 -2
- package/dist/components/common/ImgDirect/ImgDirect.d.ts +2 -2
- package/dist/components/common/InvalidFeedback/InvalidFeedback.d.ts +0 -1
- package/dist/components/common/Loading/Loading.d.ts +0 -1
- package/dist/components/common/Loading/LoadingBlock.d.ts +1 -0
- package/dist/components/common/MonthPicker/MonthPicker.d.ts +1 -1
- package/dist/components/common/PhotoLibrary/PhotoLibrary.d.ts +2 -2
- package/dist/components/common/PhotoLightbox/PhotoLightbox.d.ts +2 -2
- package/dist/components/common/PromptDialog/PromptDialog.d.ts +0 -1
- package/dist/components/common/SimplePicker/SimplePicker.d.ts +2 -1
- package/dist/components/common/Timeline/Timeline.d.ts +2 -2
- package/dist/components/common/Typography/Typography.d.ts +0 -1
- package/dist/components/common/VersionInfo/VersionInfo.d.ts +0 -1
- package/dist/components/common/Widget/WidgetCard.d.ts +1 -0
- package/dist/components/common/Widget/WidgetWrapper.d.ts +1 -0
- package/dist/components/common/YearPicker/YearPicker.d.ts +0 -1
- package/dist/contexts/auth/AuthContext.d.ts +3 -3
- package/dist/contexts/auth/AuthProvider.d.ts +2 -2
- package/dist/contexts/confirm/ConfirmContext.d.ts +1 -2
- package/dist/contexts/confirm/ConfirmProvider.d.ts +0 -1
- package/dist/contexts/delegation/DelegationContext.d.ts +3 -2
- package/dist/contexts/delegation/DelegationProvider.d.ts +0 -1
- package/dist/contexts/loading/LoadingContext.d.ts +1 -2
- package/dist/contexts/loading/LoadingProvider.d.ts +0 -1
- package/dist/contexts/luminus-components/LuminusComponentsContext.d.ts +3 -16
- package/dist/contexts/luminus-components/LuminusComponentsProvider.d.ts +4 -17
- package/dist/contexts/prompt/PromptContext.d.ts +3 -3
- package/dist/contexts/prompt/PromptProvider.d.ts +1 -0
- package/dist/contexts/user/UserContext.d.ts +4 -4
- package/dist/contexts/user/UserProvider.d.ts +0 -1
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.d.ts +1 -257
- package/dist/contexts.es.js +129 -158
- package/dist/{dateUtils-C8trxO28.js → dateUtils-B9-rf1Eh.js} +11 -21
- package/dist/{dateUtils-ChS-y8JY.cjs → dateUtils-Bs39Qj7k.cjs} +1 -1
- package/dist/hooks/useAxios/useAxios.d.ts +2 -1
- package/dist/hooks/useClickOutside/useClickOutside.d.ts +1 -0
- package/dist/hooks/useFormControlType/useFormControlType.d.ts +1 -1
- package/dist/hooks/useGetApiData/useGetApiData.d.ts +3 -3
- package/dist/hooks/useLocalStorageState/useLocalStorageState.d.ts +1 -2
- package/dist/hooks/useNotifications/useNotifications.d.ts +1 -1
- package/dist/hooks/usePrompt/usePrompt.d.ts +2 -1
- package/dist/hooks/useZodSchemaTypes/useZodSchemaTypes.d.ts +2 -1
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.d.ts +1 -162
- package/dist/hooks.es.js +22 -22
- package/dist/layout/FullScreenContainer/FullScreenContainer.d.ts +2 -2
- package/dist/layout/MainContainer/MainContainer.d.ts +2 -2
- package/dist/layout/PageTitle/PageTitle.d.ts +1 -0
- package/dist/layout/SideContentBar/SideContentBar.d.ts +1 -0
- package/dist/layout/SideMenu/MenuItem/MenuItem.d.ts +2 -2
- package/dist/layout/SideMenu/SideMenu.d.ts +2 -2
- package/dist/layout/TopBar/TopBar.d.ts +0 -1
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.d.ts +1 -56
- package/dist/layout.es.js +92 -95
- package/dist/main.cjs.js +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/main.es.js +1149 -1171
- package/dist/models/luminus-context-types/ILocalizationContext.d.ts +1 -0
- package/dist/models/prop-types/ContainerProps.d.ts +1 -0
- package/dist/models/prop-types/DashboardWidgetCommonProps.d.ts +1 -0
- package/dist/models/prop-types/FormInputProps/FormCheckInputProps.d.ts +2 -1
- package/dist/models/prop-types/FormInputProps/FormFileInputProps.d.ts +2 -1
- package/dist/models/prop-types/FormInputProps/FormNumericStepperInputProps.d.ts +2 -1
- package/dist/models/prop-types/FormInputProps/FormRadioInputProps.d.ts +2 -1
- package/dist/models/prop-types/FormInputProps/FormSelectInputProps.d.ts +2 -1
- package/dist/models/prop-types/FormInputProps/FormTextAreaInputProps.d.ts +2 -1
- package/dist/models/prop-types/FormInputProps/FormTextInputProps.d.ts +2 -1
- package/dist/models/prop-types/HookFormInputProps/HookFormCheckInputProps.d.ts +3 -2
- package/dist/models/prop-types/HookFormInputProps/HookFormDropdownPickerProps.d.ts +3 -2
- package/dist/models/prop-types/HookFormInputProps/HookFormFileInputProps.d.ts +3 -2
- package/dist/models/prop-types/HookFormInputProps/HookFormInputBaseProps.d.ts +2 -1
- package/dist/models/prop-types/HookFormInputProps/HookFormInputProps.d.ts +2 -1
- package/dist/models/prop-types/HookFormInputProps/HookFormNumericStepperInputProps.d.ts +3 -2
- package/dist/models/prop-types/HookFormInputProps/HookFormRadioInputProps.d.ts +3 -2
- package/dist/models/prop-types/HookFormInputProps/HookFormSelectInputProps.d.ts +3 -2
- package/dist/models/prop-types/HookFormInputProps/HookFormTextAreaInputProps.d.ts +3 -2
- package/dist/models/prop-types/HookFormInputProps/HookFormTextInputProps.d.ts +3 -2
- package/dist/models/prop-types/ImgProps.d.ts +1 -0
- package/dist/models/prop-types/InputContainerProps.d.ts +0 -1
- package/dist/models/prop-types/InputProps/CheckInputProps.d.ts +2 -1
- package/dist/models/prop-types/InputProps/DropdownPickerProps.d.ts +5 -5
- package/dist/models/prop-types/InputProps/FileInputProps.d.ts +2 -1
- package/dist/models/prop-types/InputProps/InputBaseProps.d.ts +2 -1
- package/dist/models/prop-types/InputProps/NumericInputProps.d.ts +2 -1
- package/dist/models/prop-types/InputProps/RadioInputProps.d.ts +3 -2
- package/dist/models/prop-types/InputProps/SelectInputProps.d.ts +3 -2
- package/dist/models/prop-types/InputProps/TextAreaInputProps.d.ts +2 -1
- package/dist/models/prop-types/InputProps/TextInputProps.d.ts +2 -2
- package/dist/models/texts/ComponentsContextTexts.d.ts +21 -2
- package/dist/models/texts/ErrorBoundaryTexts.d.ts +1 -0
- package/dist/models/types/ApiErrorResult.d.ts +2 -1
- package/dist/models/types/DashboardConfig.d.ts +2 -1
- package/dist/models/types/DashboardWidget.d.ts +2 -1
- package/dist/models/types/DropdownPickerOption.d.ts +2 -1
- package/dist/models/types/HookFormInputProps.d.ts +2 -1
- package/dist/models/types/MenuItemType.d.ts +0 -1
- package/dist/models/types/MenuItemTypeExtended.d.ts +2 -1
- package/dist/models/types/PhotoAction.d.ts +0 -1
- package/dist/models/types/SearchResultGroupModel.d.ts +3 -2
- package/dist/models/types/SearchResultModel.d.ts +2 -1
- package/dist/models/types/TimelineStep.d.ts +2 -2
- package/dist/models/types/UserLoginState.d.ts +3 -2
- package/dist/models/types/UserModel.d.ts +2 -1
- package/dist/{searchUtils-C38WM_G8.js → searchUtils-BCxOKHVq.js} +1 -1
- package/dist/{searchUtils-BdYnxcy0.cjs → searchUtils-CxNriHg_.cjs} +1 -1
- package/dist/{useLocalStorageState-asgEpnUg.cjs → useLocalStorageState-3ebV2Hf5.cjs} +1 -1
- package/dist/{useLocalStorageState-CFe9QRz0.js → useLocalStorageState-Cs1tOpr1.js} +3 -3
- package/dist/{usePermissions-Ce0AAKj1.cjs → usePermissions-BZPN1OT2.cjs} +1 -1
- package/dist/{usePermissions-55of2QBH.js → usePermissions-CfJgVLTi.js} +3 -3
- package/dist/utils/apiErrorFields/apiErrorFieldsUtils.d.ts +2 -1
- package/dist/utils/bnfValueFormat/bnfValueFormat.d.ts +0 -1
- package/dist/utils/hookForm/hookFormUtils.d.ts +2 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.d.ts +1 -153
- package/dist/utils.es.js +7 -7
- package/package.json +2 -2
- package/dist/FromToDatePickerDropdownToggle-BPfviPUU.cjs +0 -253
- package/dist/PrimaryButton-BnrFH2PB.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const n=require("./FromToDatePickerDropdownToggle-DhzBIJXw.cjs"),d=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(d),Ve="_loading_rgybp_1",ze="_spinner-grow_rgybp_10",Xe="_second_rgybp_14",Ye="_third_rgybp_17",Je="_loadingBlock_rgybp_21",j={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",j.loading),children:[n.jsxRuntimeExports.jsx("div",{className:n.classNames("spinner-grow",j.spinnerGrow,"text-primary"),role:"status"}),n.jsxRuntimeExports.jsx("div",{className:n.classNames("spinner-grow",j.spinnerGrow,"text-primary",j.second),role:"status"}),n.jsxRuntimeExports.jsx("div",{className:n.classNames("spinner-grow",j.spinnerGrow,"text-primary",j.third),role:"status"})]}),we=t=>u.forwardRef((e,s)=>n.jsxRuntimeExports.jsx("div",{...e,ref:s,className:n.classNames(e.className,t)}));function je(t){const e=d.useRef(null);return d.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 N(t,e){return et(t.querySelectorAll(e))}const tt="data-rr-ui-";function Ne(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:E,as:f="input",...v},x)=>{const{controlId:y}=d.useContext(n.FormContext);return t=n.useBootstrapPrefix(t,"form-control"),process.env.NODE_ENV!=="production"&&n.warning(y==null||!r,"`controlId` is ignored on `<FormControl>` when `id` is specified."),n.jsxRuntimeExports.jsx(f,{...v,type:e,size:o,ref:x,readOnly:E,id:r||y,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=Ne("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={},o=Object.keys(t),r,a;for(a=0;a<o.length;a++)r=o[a],!(e.indexOf(r)>=0)&&(s[r]=t[r]);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=d.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:d.useCallback(r=>{o.current.dialog=r},[]),setBackdropRef:d.useCallback(r=>{o.current.backdrop=r},[])})}const Ce=d.forwardRef((t,e)=>{let{show:s=!1,role:o="dialog",className:r,style:a,children:g,backdrop:m=!0,keyboard:h=!0,onBackdropClick:E,onEscapeKeyDown:f,transition:v,runTransition:x,backdropTransition:y,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),c=lt(re),de=n.useMounted(),z=je(s),[w,M]=d.useState(!s),p=d.useRef(null);d.useImperativeHandle(e,()=>c,[c]),n.canUseDOM&&!z&&s&&(p.current=me(R==null?void 0:R.document)),s&&w&&M(!1);const b=n.useEventCallback(()=>{if(c.add(),k.current=n.listen(document,"keydown",ue),L.current=n.listen(document,"focus",()=>setTimeout(ce),!0),G&&G(),H){var l,J;const W=me((l=(J=c.dialog)==null?void 0:J.ownerDocument)!=null?l:R==null?void 0:R.document);c.dialog&&W&&!n.contains(c.dialog,W)&&(p.current=W,c.dialog.focus())}}),$=n.useEventCallback(()=>{if(c.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}});d.useEffect(()=>{!s||!C||b()},[s,C,b]),d.useEffect(()=>{w&&$()},[w,$]),n.useWillUnmount(()=>{$()});const ce=n.useEventCallback(()=>{if(!ne||!de()||!c.isTopModal())return;const l=me(R==null?void 0:R.document);c.dialog&&l&&!n.contains(c.dialog,l)&&c.dialog.focus()}),X=n.useEventCallback(l=>{l.target===l.currentTarget&&(E==null||E(l),m===!0&&F())}),ue=n.useEventCallback(l=>{h&&n.isEscKey(l)&&c.isTopModal()&&(f==null||f(l),l.defaultPrevented||F())}),L=d.useRef(),k=d.useRef(),Y=(...l)=>{M(!0),D==null||D(...l)};if(!C)return null;const O=Object.assign({role:o,ref:c.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:c.setBackdropRef,onClick:X}),B=n.renderTransition(y,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 dt(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 ct(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(dt(s,"modal-open"),!e.scrollBarWidth)return;const o=this.isRTL?"paddingLeft":"paddingRight",r=this.isRTL?"marginLeft":"marginRight";N(s,S.FIXED_CONTENT).forEach(a=>this.adjustAndStore(o,a,e.scrollBarWidth)),N(s,S.STICKY_CONTENT).forEach(a=>this.adjustAndStore(r,a,-e.scrollBarWidth)),N(s,S.NAVBAR_TOGGLER).forEach(a=>this.adjustAndStore(r,a,e.scrollBarWidth))}removeContainerStyle(e){super.removeContainerStyle(e);const s=this.getElement();ct(s,"modal-open");const o=this.isRTL?"paddingLeft":"paddingRight",r=this.isRTL?"marginLeft":"marginRight";N(s,S.FIXED_CONTENT).forEach(a=>this.restore(o,a)),N(s,S.STICKY_CONTENT).forEach(a=>this.restore(r,a)),N(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},E)=>{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:E,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=d.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":E,"aria-label":f,show:v=!1,animation:x=!0,backdrop:y=!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,c]=d.useState({}),[de,z]=d.useState(!1),w=d.useRef(!1),M=d.useRef(!1),p=d.useRef(null),[b,$]=n.useCallbackRef(),ce=n.useMergedRefs(R,$),X=n.useEventCallback(T),ue=n.useIsRTL();t=n.useBootstrapPrefix(t,"modal");const L=d.useMemo(()=>({onHide:X}),[X]);function k(){return V||Oe({isRTL:ue})}function Y(i){if(!n.canUseDOM)return;const _=k().getScrollbarWidth()>0,Ee=i.scrollHeight>n.ownerDocument(i).documentElement.clientHeight;c({paddingRight:_&&!Ee?Re():void 0,paddingLeft:!_&&Ee?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(y==="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(),y==="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=d.useCallback(i=>n.jsxRuntimeExports.jsx("div",{...i,className:n.classNames(`${t}-backdrop`,q,!x&&"show")}),[x,q,t]),ye={...s,...C};ye.display="block";const Ge=i=>n.jsxRuntimeExports.jsx("div",{role:"dialog",...i,style:ye,className:n.classNames(e,t,de&&`${t}-static`,!x&&"show"),onClick:y?W:void 0,onMouseUp:B,"data-bs-theme":m,"aria-label":f,"aria-labelledby":h,"aria-describedby":E,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:ce,backdrop:y,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",yt="_md_1wjon_18",Et="_lg_1wjon_23",A={button:gt,filled:ht,sm:xt,md:yt,lg:Et},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=j;exports.dataAttr=Ne;exports.divWithClassName=we;exports.getSharedManager=Oe;exports.qsa=N;exports.usePrevious=je;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("./FromToDatePickerDropdownToggle-
|
|
1
|
+
"use strict";const o=require("./FromToDatePickerDropdownToggle-DhzBIJXw.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;
|
|
@@ -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-Dk7MFcJp.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,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DropdownToggleProps } from 'react-bootstrap';
|
|
2
|
+
|
|
3
3
|
type Props = DropdownToggleProps & {
|
|
4
4
|
as: (('button' | (React.ComponentClass<any, any> & 'button') | (React.FunctionComponent<any> & 'button')) & React.ElementType<any, keyof React.JSX.IntrinsicElements>) | (React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement>> & any) | undefined;
|
|
5
5
|
} & any;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
2
3
|
declare const SimpleDropdownToggle: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
3
4
|
onClick: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
4
|
-
color?: "primary" | "success" | "danger" | "warning"
|
|
5
|
+
color?: "primary" | "success" | "danger" | "warning";
|
|
5
6
|
icon?: React.ReactNode;
|
|
6
|
-
text?: string
|
|
7
|
-
className?: string
|
|
7
|
+
text?: string;
|
|
8
|
+
className?: string;
|
|
8
9
|
children: React.ReactNode;
|
|
9
10
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
10
11
|
export default SimpleDropdownToggle;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { FormCheckInputProps } from '../../../models/index';
|
|
2
|
+
|
|
3
3
|
declare const CheckInput: ({ InputContainer, label, value, onChange, hidden, disabled, className, type, withoutLabel, }: FormCheckInputProps) => import("react").JSX.Element;
|
|
4
4
|
export default CheckInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { DropdownPickerProps } from '../../../models/index';
|
|
2
|
+
|
|
3
3
|
declare const DropdownPicker: ({ InputContainer, items, defaultSelection, selectedItemNavigateTo, onSearchQueryChange, texts, isLoading, isNumber, onSelect, label, withoutLabel, size, dropdownItemsNameWidth, additionalColumns, hidden, disabled, displayIdAsName, CustomOnChangeComponent, className, }: DropdownPickerProps) => import("react").JSX.Element;
|
|
4
4
|
export default DropdownPicker;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { FormNumericStepperInputProps } from '../../../models/index';
|
|
2
|
+
|
|
3
3
|
declare const NumericStepperInput: ({ InputContainer, value, onChange, debounceMs, label, withoutLabel, placeholder, size, hidden, disabled, showClearIcon, clearValue, className, step, stepperStep, }: FormNumericStepperInputProps) => import("react").JSX.Element;
|
|
4
4
|
export default NumericStepperInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { FormSelectInputProps } from '../../../models/index';
|
|
2
|
+
|
|
3
3
|
declare const SelectInput: ({ InputContainer, value, options, onChange, label, withoutLabel, isNumber, size, hidden, disabled, showClearIcon, clearValue, noSortOptions, className, noEmptyOption, }: FormSelectInputProps) => import("react").JSX.Element;
|
|
4
4
|
export default SelectInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { FormTextAreaInputProps } from '../../../models/index';
|
|
2
|
+
|
|
3
3
|
declare const HookFormTextAreaInput: ({ InputContainer, value, onChange, label, size, showClearIcon, clearValue, hidden, disabled, rows, withoutLabel, debounceMs, className, }: FormTextAreaInputProps) => import("react").JSX.Element;
|
|
4
4
|
export default HookFormTextAreaInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { FormTextInputProps } from '../../../models/index';
|
|
2
|
+
|
|
3
3
|
declare const TextInput: ({ InputContainer, type, value, onChange, debounceMs, label, withoutLabel, placeholder, size, hidden, disabled, showClearIcon, clearValue, list, className, step, noSelectOnFocus, }: FormTextInputProps) => import("react").JSX.Element;
|
|
4
4
|
export default TextInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { default as HookFormCheckInputProps } from '../../../models/prop-types/HookFormInputProps/HookFormCheckInputProps';
|
|
2
|
+
|
|
3
3
|
declare const HookFormCheckInput: ({ InputContainer, formField, label, resetsFields, type, required, hidden, disabled, withoutLabel, className, }: HookFormCheckInputProps) => import("react").JSX.Element;
|
|
4
4
|
export default HookFormCheckInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { HookFormSelectInputProps } from '../../../models/index';
|
|
2
|
+
|
|
3
3
|
declare const CustomSelectInput: ({ InputContainer, options, formField, label, size, resetsFields, isNumber, required, hidden, disabled, withoutLabel, noSortOptions, suffixIdToName, className, }: HookFormSelectInputProps) => import("react").JSX.Element;
|
|
4
4
|
export default CustomSelectInput;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import HookFormDropdownPickerProps from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { default as HookFormDropdownPickerProps } from '../../../models/prop-types/HookFormInputProps/HookFormDropdownPickerProps';
|
|
3
|
+
|
|
3
4
|
declare const HookFormDropdownPicker: ({ InputContainer, formField, label, size, defaultSelection, resetsFields, isNumber, required, hidden, disabled, items, onSearchQueryChange, selectedItemNavigateTo, texts, dropdownItemsNameWidth, isLoading, withoutLabel, additionalColumns, CustomOnChangeComponent, displayIdAsName, onSelect, className, }: HookFormDropdownPickerProps) => React.JSX.Element;
|
|
4
5
|
export default HookFormDropdownPicker;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { HookFormFileInputProps } from '../../../models/index';
|
|
2
|
+
|
|
3
3
|
declare const HookFormFileInput: ({ InputContainer, label, formField, hidden, required, placeholder, disabled, showClearIcon, resetsFields, multiple, accept, withoutLabel, className, }: HookFormFileInputProps) => import("react").JSX.Element;
|
|
4
4
|
export default HookFormFileInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { HookFormNumericStepperInputProps } from '../../../models/index';
|
|
2
|
+
|
|
3
3
|
declare const HookFormNumericStepperInput: ({ InputContainer, formField, label, placeholder, size, resetsFields, showClearIcon, clearValue, required, hidden, disabled, withoutLabel, step, stepperStep, className, }: HookFormNumericStepperInputProps) => import("react").JSX.Element;
|
|
4
4
|
export default HookFormNumericStepperInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { default as HookFormRadioInputProps } from '../../../models/prop-types/HookFormInputProps/HookFormRadioInputProps';
|
|
2
|
+
|
|
3
3
|
declare const HookFormRadioInput: ({ InputContainer, label, formField, options, resetsFields, required, disabled, hidden, className, }: HookFormRadioInputProps) => import("react").JSX.Element;
|
|
4
4
|
export default HookFormRadioInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { default as HookFormSelectInputProps } from '../../../models/prop-types/HookFormInputProps/HookFormSelectInputProps';
|
|
2
|
+
|
|
3
3
|
declare const HookFormSelectInput: ({ InputContainer, formField, label, resetsFields, options, isNumber, size, showClearIcon, clearValue, noSortOptions, required, hidden, disabled, withoutLabel, className, }: HookFormSelectInputProps) => import("react").JSX.Element;
|
|
4
4
|
export default HookFormSelectInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { default as HookFormTextAreaInputProps } from '../../../models/prop-types/HookFormInputProps/HookFormTextAreaInputProps';
|
|
2
|
+
|
|
3
3
|
declare const HookFormTextAreaInput: ({ InputContainer, formField, label, resetsFields, size, showClearIcon, clearValue, required, hidden, disabled, rows, withoutLabel, customFormControlProps, className, }: HookFormTextAreaInputProps) => import("react").JSX.Element;
|
|
4
4
|
export default HookFormTextAreaInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { default as HookFormTextInputProps } from '../../../models/prop-types/HookFormInputProps/HookFormTextInputProps';
|
|
2
|
+
|
|
3
3
|
declare const HookFormTextInput: ({ InputContainer, type, formField, label, placeholder, size, resetsFields, showClearIcon, clearValue, required, hidden, disabled, withoutLabel, list, step, CustomOnChangeComponent, noSelectOnFocus, className, }: HookFormTextInputProps) => import("react").JSX.Element;
|
|
4
4
|
export default HookFormTextInput;
|
|
@@ -1,34 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
className?: string | undefined;
|
|
1
|
+
declare const FloatingLabelInput: import('react').ForwardRefExoticComponent<(Omit<{
|
|
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
|
} & {
|
|
32
31
|
withoutLabel: true;
|
|
33
|
-
}, "ref">) & import(
|
|
32
|
+
}, "ref">) & import('react').RefAttributes<HTMLDivElement>>;
|
|
34
33
|
export default FloatingLabelInput;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { FormSelectOption } from '../../../models/index';
|
|
2
|
+
|
|
3
3
|
type InputAnchorContainerProps = {
|
|
4
4
|
currentSelection: FormSelectOption | null;
|
|
5
5
|
selectedItemNavigateTo?: (item: FormSelectOption) => string;
|
|
@@ -1,34 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
className?: string | undefined;
|
|
1
|
+
declare const NoInputContainer: import('react').ForwardRefExoticComponent<(Omit<{
|
|
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
|
} & {
|
|
32
31
|
withoutLabel: true;
|
|
33
|
-
}, "ref">) & import(
|
|
32
|
+
}, "ref">) & import('react').RefAttributes<HTMLDivElement>>;
|
|
34
33
|
export default NoInputContainer;
|
|
@@ -1,34 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
className?: string | undefined;
|
|
1
|
+
declare const RowLabelInput: import('react').ForwardRefExoticComponent<(Omit<{
|
|
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
|
} & {
|
|
32
31
|
withoutLabel: true;
|
|
33
|
-
}, "ref">) & import(
|
|
32
|
+
}, "ref">) & import('react').RefAttributes<HTMLDivElement>>;
|
|
34
33
|
export default RowLabelInput;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import BaseMessageBoardModel from '../../../models/types/BaseMessageBoardModel';
|
|
2
|
+
import { default as BaseMessageBoardModel } from '../../../models/types/BaseMessageBoardModel';
|
|
3
|
+
|
|
3
4
|
type Props<MessageType extends BaseMessageBoardModel> = {
|
|
4
5
|
renderAsNotifPanel?: boolean;
|
|
5
6
|
notifIcon?: ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { BaseMessageBoardModel } from '../../../../../models/index';
|
|
2
|
+
|
|
3
3
|
type Props<MessageType extends BaseMessageBoardModel> = {
|
|
4
4
|
messages: MessageType[];
|
|
5
5
|
isLoading: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { BaseMessageBoardModel } from '../../../../../../../models/index';
|
|
2
|
+
|
|
3
3
|
type Props<MessageType extends BaseMessageBoardModel> = {
|
|
4
4
|
message: MessageType;
|
|
5
5
|
onDeleteMessage: (id: number) => void;
|