react-luminus-components 1.3.21 → 1.3.22
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 +187 -0
- package/dist/PrimaryButton-HS1hw75-.js +712 -0
- package/dist/PrimaryButton-jVLOMUwB.cjs +1 -0
- package/dist/SimpleTooltip-BAHgCnPu.js +5 -0
- package/dist/SimpleTooltip-fEWyThZE.cjs +1 -0
- package/dist/UserAvatarToggle-BMXaJ189.js +7012 -0
- package/dist/UserAvatarToggle-DzrnGPrL.cjs +253 -0
- package/dist/components/BnfTableValueFormats/UserAvatarValueFormat/UserAvatarValueFormat.d.ts +3 -0
- package/dist/components/BnfTableValueFormats/index.d.ts +1 -0
- package/dist/components/Buttons/ContextButton/ContextButton.d.ts +14 -0
- package/dist/components/Buttons/ContextButton/FileUploadContextButton.d.ts +12 -0
- package/dist/components/Buttons/FloatingSubmit/FloatingFormSubmit.d.ts +8 -0
- package/dist/components/Buttons/IconButton/IconButton.d.ts +13 -0
- package/dist/components/Buttons/PrimaryButton/PrimaryButton.d.ts +14 -0
- package/dist/components/Buttons/index.d.ts +5 -0
- package/dist/components/Dropdown/Dropdown.d.ts +8 -0
- package/dist/components/Dropdown/comps/DropdownDivider/DropdownDivider.d.ts +6 -0
- package/dist/components/Dropdown/comps/DropdownItem/DropdownItem.d.ts +9 -0
- package/dist/components/Dropdown/comps/DropdownItem/FileUploadDropdownItem.d.ts +12 -0
- package/dist/components/Dropdown/comps/DropdownToggle/DropdownToggle.d.ts +7 -0
- package/dist/components/Dropdown/comps/SimpleToggle/SimpleToggle.d.ts +10 -0
- package/dist/components/Dropdown/comps/UserAvatarToggle/UserAvatarToggle.d.ts +8 -0
- package/dist/components/Dropdown/comps/index.d.ts +6 -0
- package/dist/components/Dropdown/index.d.ts +2 -0
- package/dist/components/Form/CheckInput/CheckInput.d.ts +4 -0
- package/dist/components/Form/DropdownPicker/DropdownPicker.d.ts +4 -0
- package/dist/components/Form/NumericStepperInput/NumericStepperInput.d.ts +4 -0
- package/dist/components/Form/SelectInput/SelectInput.d.ts +4 -0
- package/dist/components/Form/TextAreaInput/TextAreaInput.d.ts +4 -0
- package/dist/components/Form/TextInput/TextInput.d.ts +4 -0
- package/dist/components/Form/index.d.ts +6 -0
- package/dist/components/HookForm/CheckInput/HookFormCheckInput.d.ts +4 -0
- package/dist/components/HookForm/CustomSelectInput/CustomSelectInput.d.ts +4 -0
- package/dist/components/HookForm/DropdownPicker/HookFormDropdownPicker.d.ts +4 -0
- package/dist/components/HookForm/FileInput/HookFormFileInput.d.ts +4 -0
- package/dist/components/HookForm/FloatingSubmit/HookFormFloatingSubmit.d.ts +8 -0
- package/dist/components/HookForm/NumericStepperInput/HookFormNumericStepperInput.d.ts +4 -0
- package/dist/components/HookForm/RadioInput/HookFormRadioInput.d.ts +4 -0
- package/dist/components/HookForm/SelectInput/HookFormSelectInput.d.ts +4 -0
- package/dist/components/HookForm/TextAreaInput/HookFormTextAreaInput.d.ts +4 -0
- package/dist/components/HookForm/TextInput/HookFormTextInput.d.ts +4 -0
- package/dist/components/HookForm/index.d.ts +10 -0
- package/dist/components/InputContainers/FloatingLabelInput/FloatingLabelInput.d.ts +34 -0
- package/dist/components/InputContainers/InputAnchorContainer/InputAnchorContainer.d.ts +9 -0
- package/dist/components/InputContainers/NoInputContainer/NoInputContainer.d.ts +34 -0
- package/dist/components/InputContainers/RowLabelInput/RowLabelInput.d.ts +34 -0
- package/dist/components/InputContainers/index.d.ts +4 -0
- package/dist/components/NewTabs/Tab/Tab.d.ts +10 -0
- package/dist/components/NewTabs/TabPanel/TabPanel.d.ts +11 -0
- package/dist/components/NewTabs/Tabs/Tabs.d.ts +9 -0
- package/dist/components/NewTabs/index.d.ts +3 -0
- package/dist/components/Tabs/Tabs.d.ts +9 -0
- package/dist/components/Tabs/comps/Tab/Tab.d.ts +7 -0
- package/dist/components/Tabs/comps/index.d.ts +1 -0
- package/dist/components/Tabs/index.d.ts +2 -0
- package/dist/components/Tooltip/HtmlTooltip/HtmlTooltip.d.ts +23 -0
- package/dist/components/Tooltip/SimpleTooltip/SimpleTooltip.d.ts +8 -0
- package/dist/components/Tooltip/index.d.ts +2 -0
- package/dist/components/UserAvatar/AvatarIcon/AvatarIcon.d.ts +8 -0
- package/dist/components/UserAvatar/index.d.ts +1 -0
- package/dist/components/common/Alert/Alert.d.ts +8 -0
- package/dist/components/common/ApiFileDownloadButton/ApiFileDownloadButton.d.ts +8 -0
- package/dist/components/common/AppSearch/AppSearch.d.ts +9 -0
- package/dist/components/common/AppSearch/comps/AutocompleteWindow/AutocompleteWindow.d.ts +12 -0
- package/dist/components/common/AppSearch/comps/TypeSelector/TypeSelector.d.ts +9 -0
- package/dist/components/common/AppSearch/comps/index.d.ts +2 -0
- package/dist/components/common/AppSearch/hooks/useSearchItems.d.ts +6 -0
- package/dist/components/common/AuthTemplate/AuthTemplate.d.ts +7 -0
- package/dist/components/common/Backdrop/Backdrop.d.ts +7 -0
- package/dist/components/common/Badge/Badge.d.ts +9 -0
- package/dist/components/common/Card/Card.d.ts +28 -0
- package/dist/components/common/Collapse/Collapse.d.ts +20 -0
- package/dist/components/common/ConfirmDialog/ConfirmDialog.d.ts +3 -0
- package/dist/components/common/ErrorBoundary/ErrorBoundary.d.ts +9 -0
- package/dist/components/common/FloatingActionContainer/FloatingActionContainer.d.ts +7 -0
- package/dist/components/common/HomeDashboard/HomeDashboard.d.ts +10 -0
- package/dist/components/common/HomeDashboard/comps/FreeSpaceWidget/FreeSpaceWidget.d.ts +9 -0
- package/dist/components/common/HomeDashboard/comps/WidgetPicker/WidgetPicker.d.ts +11 -0
- package/dist/components/common/HomeDashboard/comps/index.d.ts +1 -0
- package/dist/components/common/HomeDashboard/hooks/useUserDashboard.d.ts +6 -0
- package/dist/components/common/ImgApi/ImgApi.d.ts +4 -0
- package/dist/components/common/ImgApi/hooks/useGetImgData.d.ts +9 -0
- package/dist/components/common/ImgDirect/ImgDirect.d.ts +4 -0
- package/dist/components/common/InvalidFeedback/InvalidFeedback.d.ts +6 -0
- package/dist/components/common/Loading/Loading.d.ts +3 -0
- package/dist/components/common/Loading/LoadingBlock.d.ts +4 -0
- package/dist/components/common/MonthPicker/MonthPicker.d.ts +11 -0
- package/dist/components/common/PhotoLibrary/PhotoLibrary.d.ts +14 -0
- package/dist/components/common/PhotoLightbox/PhotoLightbox.d.ts +18 -0
- package/dist/components/common/PromptDialog/PromptDialog.d.ts +3 -0
- package/dist/components/common/SimplePicker/SimplePicker.d.ts +25 -0
- package/dist/components/common/Timeline/Timeline.d.ts +7 -0
- package/dist/components/common/Typography/Typography.d.ts +9 -0
- package/dist/components/common/VersionInfo/VersionInfo.d.ts +6 -0
- package/dist/components/common/Widget/WidgetCard.d.ts +8 -0
- package/dist/components/common/Widget/WidgetWrapper.d.ts +7 -0
- package/dist/components/common/YearPicker/YearPicker.d.ts +10 -0
- package/dist/components/common/index.d.ts +27 -0
- package/dist/contexts/auth/AuthContext.d.ts +9 -0
- package/dist/contexts/auth/AuthProvider.d.ts +16 -0
- package/dist/contexts/confirm/ConfirmContext.d.ts +9 -0
- package/dist/contexts/confirm/ConfirmProvider.d.ts +6 -0
- package/dist/contexts/delegation/DelegationContext.d.ts +9 -0
- package/dist/contexts/delegation/DelegationProvider.d.ts +6 -0
- package/dist/contexts/index.d.ts +11 -0
- package/dist/contexts/loading/LoadingContext.d.ts +8 -0
- package/dist/contexts/loading/LoadingProvider.d.ts +6 -0
- package/dist/contexts/luminus-components/LuminusComponentsContext.d.ts +24 -0
- package/dist/contexts/luminus-components/LuminusComponentsProvider.d.ts +25 -0
- package/dist/contexts/prompt/PromptContext.d.ts +13 -0
- package/dist/contexts/prompt/PromptProvider.d.ts +6 -0
- package/dist/contexts/user/UserContext.d.ts +11 -0
- package/dist/contexts/user/UserProvider.d.ts +6 -0
- package/dist/contexts.cjs.js +1 -0
- package/dist/contexts.d.ts +1 -0
- package/dist/contexts.es.js +371 -0
- package/dist/dateUtils-7nL2BXlo.js +131 -0
- package/dist/dateUtils-DUA3CKds.cjs +1 -0
- package/dist/hooks/index.d.ts +13 -0
- package/dist/hooks/useAuth/hooks/useDevAuth.d.ts +7 -0
- package/dist/hooks/useAuth/hooks/useMsalAuth.d.ts +8 -0
- package/dist/hooks/useAuth/useAuth.d.ts +8 -0
- package/dist/hooks/useAxios/useAxios.d.ts +10 -0
- package/dist/hooks/useClickOutside/useClickOutside.d.ts +3 -0
- package/dist/hooks/useConfirm/useConfirm.d.ts +8 -0
- package/dist/hooks/useFormControlType/useFormControlType.d.ts +2 -0
- package/dist/hooks/useGetApiData/useGetApiData.d.ts +9 -0
- package/dist/hooks/useGetDataBound/useGetDataBound.d.ts +2 -0
- package/dist/hooks/useKeyPress/useKeyPress.d.ts +2 -0
- package/dist/hooks/useLocalStorageState/useLocalStorageState.d.ts +3 -0
- package/dist/hooks/useNotifications/useNotifications.d.ts +4 -0
- package/dist/hooks/usePermissions/usePermissions.d.ts +4 -0
- package/dist/hooks/usePrompt/usePrompt.d.ts +8 -0
- package/dist/hooks/useZodSchemaTypes/useZodSchemaTypes.d.ts +74 -0
- package/dist/hooks.cjs.js +1 -0
- package/dist/hooks.d.ts +1 -0
- package/dist/hooks.es.js +2989 -0
- package/dist/latinize-BQrinury.js +950 -0
- package/dist/latinize-DaqzUOla.cjs +1 -0
- package/dist/layout/FullScreenContainer/FullScreenContainer.d.ts +4 -0
- package/dist/layout/MainContainer/MainContainer.d.ts +4 -0
- package/dist/layout/PageTitle/PageTitle.d.ts +6 -0
- package/dist/layout/SideContentBar/SideContentBar.d.ts +7 -0
- package/dist/layout/SideMenu/MenuItem/MenuItem.d.ts +11 -0
- package/dist/layout/SideMenu/SideMenu.d.ts +12 -0
- package/dist/layout/TopBar/TopBar.d.ts +9 -0
- package/dist/layout/index.d.ts +5 -0
- package/dist/layout.cjs.js +1 -0
- package/dist/layout.d.ts +1 -0
- package/dist/layout.es.js +132 -0
- package/dist/main.cjs.js +1 -0
- package/dist/main.d.ts +32 -0
- package/dist/main.es.js +4269 -0
- package/dist/models/index.d.ts +65 -0
- package/dist/models/prop-types/ContainerProps.d.ts +10 -0
- package/dist/models/prop-types/DashboardWidgetCommonProps.d.ts +5 -0
- package/dist/models/prop-types/FormInputProps/FormCheckInputProps.d.ts +6 -0
- package/dist/models/prop-types/FormInputProps/FormFileInputProps.d.ts +11 -0
- package/dist/models/prop-types/FormInputProps/FormNumericStepperInputProps.d.ts +8 -0
- package/dist/models/prop-types/FormInputProps/FormRadioInputProps.d.ts +6 -0
- package/dist/models/prop-types/FormInputProps/FormSelectInputProps.d.ts +7 -0
- package/dist/models/prop-types/FormInputProps/FormTextAreaInputProps.d.ts +7 -0
- package/dist/models/prop-types/FormInputProps/FormTextInputProps.d.ts +7 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormCheckInputProps.d.ts +4 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormDropdownPickerProps.d.ts +4 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormFileInputProps.d.ts +4 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormInputBaseProps.d.ts +7 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormInputProps.d.ts +9 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormNumericStepperInputProps.d.ts +4 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormRadioInputProps.d.ts +4 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormSelectInputProps.d.ts +4 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormTextAreaInputProps.d.ts +7 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormTextInputProps.d.ts +4 -0
- package/dist/models/prop-types/ImgProps.d.ts +7 -0
- package/dist/models/prop-types/InputContainerProps.d.ts +26 -0
- package/dist/models/prop-types/InputProps/CheckInputProps.d.ts +5 -0
- package/dist/models/prop-types/InputProps/DropdownPickerProps.d.ts +24 -0
- package/dist/models/prop-types/InputProps/FileInputProps.d.ts +6 -0
- package/dist/models/prop-types/InputProps/InputBaseProps.d.ts +15 -0
- package/dist/models/prop-types/InputProps/NumericInputProps.d.ts +6 -0
- package/dist/models/prop-types/InputProps/RadioInputProps.d.ts +6 -0
- package/dist/models/prop-types/InputProps/SelectInputProps.d.ts +9 -0
- package/dist/models/prop-types/InputProps/TextAreaInputProps.d.ts +5 -0
- package/dist/models/prop-types/InputProps/TextInputProps.d.ts +10 -0
- package/dist/models/texts/AppSearchTexts.d.ts +5 -0
- package/dist/models/texts/AxiosTexts.d.ts +8 -0
- package/dist/models/texts/ConfirmTexts.d.ts +7 -0
- package/dist/models/texts/CustomSelectTexts.d.ts +5 -0
- package/dist/models/texts/DropdownPickerTexts.d.ts +5 -0
- package/dist/models/texts/ErrorBoundaryTexts.d.ts +5 -0
- package/dist/models/texts/FormSubmitTexts.d.ts +4 -0
- package/dist/models/texts/FormValidationTexts.d.ts +5 -0
- package/dist/models/texts/HomeDashboardTexts.d.ts +6 -0
- package/dist/models/texts/WidgetTexts.d.ts +4 -0
- package/dist/models/types/ApiErrorResult.d.ts +8 -0
- package/dist/models/types/DashboardConfig.d.ts +5 -0
- package/dist/models/types/DashboardWidget.d.ts +9 -0
- package/dist/models/types/DashboardWidgetConfig.d.ts +5 -0
- package/dist/models/types/DropdownPickerOption.d.ts +7 -0
- package/dist/models/types/EmployeeIndexModel.d.ts +14 -0
- package/dist/models/types/ErrorField.d.ts +5 -0
- package/dist/models/types/FormSelectOption.d.ts +5 -0
- package/dist/models/types/HookFormInputProps.d.ts +9 -0
- package/dist/models/types/LoginState.d.ts +7 -0
- package/dist/models/types/MenuItemType.d.ts +11 -0
- package/dist/models/types/MenuItemTypeExtended.d.ts +6 -0
- package/dist/models/types/NameIdIntModel.d.ts +5 -0
- package/dist/models/types/NameIdIntOptionalModel.d.ts +5 -0
- package/dist/models/types/NameIdStringModel.d.ts +5 -0
- package/dist/models/types/NameIdStringOptionalModel.d.ts +5 -0
- package/dist/models/types/PhotoAction.d.ts +9 -0
- package/dist/models/types/PhotoLibraryItemModel.d.ts +7 -0
- package/dist/models/types/PromptOptions.d.ts +7 -0
- package/dist/models/types/SearchResultGroupKeyModel.d.ts +6 -0
- package/dist/models/types/SearchResultGroupModel.d.ts +7 -0
- package/dist/models/types/SearchResultModel.d.ts +8 -0
- package/dist/models/types/SearchType.d.ts +6 -0
- package/dist/models/types/TimelineStep.d.ts +11 -0
- package/dist/models/types/TimelineStepState.d.ts +5 -0
- package/dist/models/types/UseGetApiDataOptions.d.ts +9 -0
- package/dist/models/types/UserLoginState.d.ts +7 -0
- package/dist/models/types/UserModel.d.ts +11 -0
- package/dist/searchUtils-Do20vjZW.cjs +1 -0
- package/dist/searchUtils-Du4JnXdQ.js +7 -0
- package/dist/style.css +1 -0
- package/dist/useFormControlType-Dqz8sV4J.cjs +1 -0
- package/dist/useFormControlType-oJGqgThz.js +20 -0
- package/dist/useLocalStorageState-BwHNTgBx.js +40 -0
- package/dist/useLocalStorageState-Dt9N-bpT.cjs +1 -0
- package/dist/usePermissions-DS3yICnk.js +14 -0
- package/dist/usePermissions-nPVpMzwc.cjs +1 -0
- package/dist/utils/apiErrorFields/apiErrorFieldsUtils.d.ts +4 -0
- package/dist/utils/date/dateUtils.d.ts +1 -0
- package/dist/utils/hookForm/hookFormUtils.d.ts +3 -0
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/object/objectUtils.d.ts +2 -0
- package/dist/utils/search/searchUtils.d.ts +3 -0
- package/dist/utils/text/textUtils.d.ts +3 -0
- package/dist/utils.cjs.js +1 -0
- package/dist/utils.d.ts +1 -0
- package/dist/utils.es.js +27 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("./UserAvatarToggle-DzrnGPrL.cjs"),c=require("react"),$e=require("react-dom");require("./latinize-DaqzUOla.cjs");require("react-hook-form");function We(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const u=We(c),Ge="_loading_rgybp_1",Ke="_spinner-grow_rgybp_10",He="_second_rgybp_14",qe="_third_rgybp_17",Pe="_loadingBlock_rgybp_21",v={loading:Ge,"spinner-grow":"_spinner-grow_rgybp_10",spinnerGrow:Ke,second:He,third:qe,loadingBlock:Pe},Ve=()=>s.jsxRuntimeExports.jsxs("div",{className:s.classNames("luminus-loading",v.loading),children:[s.jsxRuntimeExports.jsx("div",{className:s.classNames("spinner-grow",v.spinnerGrow,"text-primary"),role:"status"}),s.jsxRuntimeExports.jsx("div",{className:s.classNames("spinner-grow",v.spinnerGrow,"text-primary",v.second),role:"status"}),s.jsxRuntimeExports.jsx("div",{className:s.classNames("spinner-grow",v.spinnerGrow,"text-primary",v.third),role:"status"})]}),Ce=t=>u.forwardRef((e,n)=>s.jsxRuntimeExports.jsx("div",{...e,ref:n,className:s.classNames(e.className,t)}));function Ne(t){const e=c.useRef(null);return c.useEffect(()=>{e.current=t}),e.current}const ze={"aria-label":s.PropTypes.string,onClick:s.PropTypes.func,variant:s.PropTypes.oneOf(["white"])},J=u.forwardRef(({className:t,variant:e,"aria-label":n="Close",...o},r)=>s.jsxRuntimeExports.jsx("button",{ref:r,type:"button",className:s.classNames("btn-close",e&&`btn-close-${e}`,t),"aria-label":n,...o}));J.displayName="CloseButton";J.propTypes=ze;var Qe=Function.prototype.bind.call(Function.prototype.call,[].slice);function _(t,e){return Qe(t.querySelectorAll(e))}const Ye="data-rr-ui-";function ve(t){return`${Ye}${t}`}const Xe={type:s.PropTypes.string,tooltip:s.PropTypes.bool,as:s.PropTypes.elementType},ee=u.forwardRef(({as:t="div",className:e,type:n="valid",tooltip:o=!1,...r},a)=>s.jsxRuntimeExports.jsx(t,{...r,ref:a,className:s.classNames(e,`${n}-${o?"tooltip":"feedback"}`)}));ee.displayName="Feedback";ee.propTypes=Xe;const _e=u.forwardRef(({bsPrefix:t,type:e,size:n,htmlSize:o,id:r,className:a,isValid:m=!1,isInvalid:f=!1,plaintext:g,readOnly:T,as:p="input",...C},h)=>{const{controlId:R}=c.useContext(s.FormContext);return t=s.useBootstrapPrefix(t,"form-control"),process.env.NODE_ENV!=="production"&&s.warning(R==null||!r,"`controlId` is ignored on `<FormControl>` when `id` is specified."),s.jsxRuntimeExports.jsx(p,{...C,type:e,size:o,ref:h,readOnly:T,id:r||R,className:s.classNames(a,g?`${t}-plaintext`:t,n&&`${t}-${n}`,e==="color"&&`${t}-color`,m&&"is-valid",f&&"is-invalid")})});_e.displayName="FormControl";const Ze=Object.assign(_e,{Feedback:ee});var Z;function Te(t){if((!Z&&Z!==0||t)&&s.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),Z=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return Z}function me(t){t===void 0&&(t=s.ownerDocument());try{var e=t.activeElement;return!e||!e.nodeName?null:e}catch{return t.body}}function Je(t=document){const e=t.defaultView;return Math.abs(e.innerWidth-t.documentElement.clientWidth)}const ye=ve("modal-open");class Ee{constructor({ownerDocument:e,handleContainerOverflow:n=!0,isRTL:o=!1}={}){this.handleContainerOverflow=n,this.isRTL=o,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return Je(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(e){}removeModalAttributes(e){}setContainerStyle(e){const n={overflow:"hidden"},o=this.isRTL?"paddingLeft":"paddingRight",r=this.getElement();e.style={overflow:r.style.overflow,[o]:r.style[o]},e.scrollBarWidth&&(n[o]=`${parseInt(s.style(r,o)||"0",10)+e.scrollBarWidth}px`),r.setAttribute(ye,""),s.style(r,n)}reset(){[...this.modals].forEach(e=>this.remove(e))}removeContainerStyle(e){const n=this.getElement();n.removeAttribute(ye),Object.assign(n.style,e.style)}add(e){let n=this.modals.indexOf(e);return n!==-1||(n=this.modals.length,this.modals.push(e),this.setModalAttributes(e),n!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),n}remove(e){const n=this.modals.indexOf(e);n!==-1&&(this.modals.splice(n,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 et=["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 tt(t,e){if(t==null)return{};var n={},o=Object.keys(t),r,a;for(a=0;a<o.length;a++)r=o[a],!(e.indexOf(r)>=0)&&(n[r]=t[r]);return n}let fe;function st(t){return fe||(fe=new Ee({ownerDocument:t==null?void 0:t.document})),fe}function nt(t){const e=s.useWindow(),n=t||st(e),o=c.useRef({dialog:null,backdrop:null});return Object.assign(o.current,{add:()=>n.add(o.current),remove:()=>n.remove(o.current),isTopModal:()=>n.isTopModal(o.current),setDialogRef:c.useCallback(r=>{o.current.dialog=r},[]),setBackdropRef:c.useCallback(r=>{o.current.backdrop=r},[])})}const be=c.forwardRef((t,e)=>{let{show:n=!1,role:o="dialog",className:r,style:a,children:m,backdrop:f=!0,keyboard:g=!0,onBackdropClick:T,onEscapeKeyDown:p,transition:C,runTransition:h,backdropTransition:R,runBackdropTransition:te,autoFocus:W=!0,enforceFocus:se=!0,restoreFocus:b=!0,restoreFocusOptions:ne,renderDialog:G,renderBackdrop:oe=l=>s.jsxRuntimeExports.jsx("div",Object.assign({},l)),manager:re,container:ae,onShow:K,onHide:I=()=>{},onExit:ie,onExited:F,onExiting:H,onEnter:q,onEntering:P,onEntered:V}=t,le=tt(t,et);const y=s.useWindow(),S=s.useWaitForDOMRef(ae),d=nt(re),ce=s.useMounted(),z=Ne(n),[N,O]=c.useState(!n),E=c.useRef(null);c.useImperativeHandle(e,()=>d,[d]),s.canUseDOM&&!z&&n&&(E.current=me(y==null?void 0:y.document)),n&&N&&O(!1);const x=s.useEventCallback(()=>{if(d.add(),w.current=s.listen(document,"keydown",ue),D.current=s.listen(document,"focus",()=>setTimeout(de),!0),K&&K(),W){var l,X;const $=me((l=(X=d.dialog)==null?void 0:X.ownerDocument)!=null?l:y==null?void 0:y.document);d.dialog&&$&&!s.contains(d.dialog,$)&&(E.current=$,d.dialog.focus())}}),L=s.useEventCallback(()=>{if(d.remove(),w.current==null||w.current(),D.current==null||D.current(),b){var l;(l=E.current)==null||l.focus==null||l.focus(ne),E.current=null}});c.useEffect(()=>{!n||!S||x()},[n,S,x]),c.useEffect(()=>{N&&L()},[N,L]),s.useWillUnmount(()=>{L()});const de=s.useEventCallback(()=>{if(!se||!ce()||!d.isTopModal())return;const l=me(y==null?void 0:y.document);d.dialog&&l&&!s.contains(d.dialog,l)&&d.dialog.focus()}),Q=s.useEventCallback(l=>{l.target===l.currentTarget&&(T==null||T(l),f===!0&&I())}),ue=s.useEventCallback(l=>{g&&s.isEscKey(l)&&d.isTopModal()&&(p==null||p(l),l.defaultPrevented||I())}),D=c.useRef(),w=c.useRef(),Y=(...l)=>{O(!0),F==null||F(...l)};if(!S)return null;const j=Object.assign({role:o,ref:d.setDialogRef,"aria-modal":o==="dialog"?!0:void 0},le,{style:a,className:r,tabIndex:-1});let U=G?G(j):s.jsxRuntimeExports.jsx("div",Object.assign({},j,{children:u.cloneElement(m,{role:"document"})}));U=s.renderTransition(C,h,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:ie,onExiting:H,onExited:Y,onEnter:q,onEntering:P,onEntered:V,children:U});let A=null;return f&&(A=oe({ref:d.setBackdropRef,onClick:Q}),A=s.renderTransition(R,te,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:A})),s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:$e.createPortal(s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[A,U]}),S)})});be.displayName="Modal";const ot=Object.assign(be,{Manager:Ee});function rt(t,e){t.classList?t.classList.add(e):s.hasClass(t,e)||(typeof t.className=="string"?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))}function xe(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function at(t,e){t.classList?t.classList.remove(e):typeof t.className=="string"?t.className=xe(t.className,e):t.setAttribute("class",xe(t.className&&t.className.baseVal||"",e))}const M={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class it extends Ee{adjustAndStore(e,n,o){const r=n.style[e];n.dataset[e]=r,s.style(n,{[e]:`${parseFloat(s.style(n,e))+o}px`})}restore(e,n){const o=n.dataset[e];o!==void 0&&(delete n.dataset[e],s.style(n,{[e]:o}))}setContainerStyle(e){super.setContainerStyle(e);const n=this.getElement();if(rt(n,"modal-open"),!e.scrollBarWidth)return;const o=this.isRTL?"paddingLeft":"paddingRight",r=this.isRTL?"marginLeft":"marginRight";_(n,M.FIXED_CONTENT).forEach(a=>this.adjustAndStore(o,a,e.scrollBarWidth)),_(n,M.STICKY_CONTENT).forEach(a=>this.adjustAndStore(r,a,-e.scrollBarWidth)),_(n,M.NAVBAR_TOGGLER).forEach(a=>this.adjustAndStore(r,a,e.scrollBarWidth))}removeContainerStyle(e){super.removeContainerStyle(e);const n=this.getElement();at(n,"modal-open");const o=this.isRTL?"paddingLeft":"paddingRight",r=this.isRTL?"marginLeft":"marginRight";_(n,M.FIXED_CONTENT).forEach(a=>this.restore(o,a)),_(n,M.STICKY_CONTENT).forEach(a=>this.restore(r,a)),_(n,M.NAVBAR_TOGGLER).forEach(a=>this.restore(r,a))}}let pe;function lt(t){return pe||(pe=new it(t)),pe}const Se=u.forwardRef(({className:t,bsPrefix:e,as:n="div",...o},r)=>(e=s.useBootstrapPrefix(e,"modal-body"),s.jsxRuntimeExports.jsx(n,{ref:r,className:s.classNames(t,e),...o})));Se.displayName="ModalBody";const Oe=u.createContext({onHide(){}}),ge=u.forwardRef(({bsPrefix:t,className:e,contentClassName:n,centered:o,size:r,fullscreen:a,children:m,scrollable:f,...g},T)=>{t=s.useBootstrapPrefix(t,"modal");const p=`${t}-dialog`,C=typeof a=="string"?`${t}-fullscreen-${a}`:`${t}-fullscreen`;return s.jsxRuntimeExports.jsx("div",{...g,ref:T,className:s.classNames(p,e,r&&`${t}-${r}`,o&&`${p}-centered`,f&&`${p}-scrollable`,a&&C),children:s.jsxRuntimeExports.jsx("div",{className:s.classNames(`${t}-content`,n),children:m})})});ge.displayName="ModalDialog";const we=u.forwardRef(({className:t,bsPrefix:e,as:n="div",...o},r)=>(e=s.useBootstrapPrefix(e,"modal-footer"),s.jsxRuntimeExports.jsx(n,{ref:r,className:s.classNames(t,e),...o})));we.displayName="ModalFooter";const ct=u.forwardRef(({closeLabel:t="Close",closeVariant:e,closeButton:n=!1,onHide:o,children:r,...a},m)=>{const f=c.useContext(Oe),g=s.useEventCallback(()=>{f==null||f.onHide(),o==null||o()});return s.jsxRuntimeExports.jsxs("div",{ref:m,...a,children:[r,n&&s.jsxRuntimeExports.jsx(J,{"aria-label":t,variant:e,onClick:g})]})}),je=u.forwardRef(({bsPrefix:t,className:e,closeLabel:n="Close",closeButton:o=!1,...r},a)=>(t=s.useBootstrapPrefix(t,"modal-header"),s.jsxRuntimeExports.jsx(ct,{ref:a,...r,className:s.classNames(e,t),closeLabel:n,closeButton:o})));je.displayName="ModalHeader";const dt=Ce("h4"),Ae=u.forwardRef(({className:t,bsPrefix:e,as:n=dt,...o},r)=>(e=s.useBootstrapPrefix(e,"modal-title"),s.jsxRuntimeExports.jsx(n,{ref:r,className:s.classNames(t,e),...o})));Ae.displayName="ModalTitle";function ut(t){return s.jsxRuntimeExports.jsx(s.Fade,{...t,timeout:null})}function mt(t){return s.jsxRuntimeExports.jsx(s.Fade,{...t,timeout:null})}const ke=u.forwardRef(({bsPrefix:t,className:e,style:n,dialogClassName:o,contentClassName:r,children:a,dialogAs:m=ge,"data-bs-theme":f,"aria-labelledby":g,"aria-describedby":T,"aria-label":p,show:C=!1,animation:h=!0,backdrop:R=!0,keyboard:te=!0,onEscapeKeyDown:W,onShow:se,onHide:b,container:ne,autoFocus:G=!0,enforceFocus:oe=!0,restoreFocus:re=!0,restoreFocusOptions:ae,onEntered:K,onExit:I,onExiting:ie,onEnter:F,onEntering:H,onExited:q,backdropClassName:P,manager:V,...le},y)=>{const[S,d]=c.useState({}),[ce,z]=c.useState(!1),N=c.useRef(!1),O=c.useRef(!1),E=c.useRef(null),[x,L]=s.useCallbackRef(),de=s.useMergedRefs(y,L),Q=s.useEventCallback(b),ue=s.useIsRTL();t=s.useBootstrapPrefix(t,"modal");const D=c.useMemo(()=>({onHide:Q}),[Q]);function w(){return V||lt({isRTL:ue})}function Y(i){if(!s.canUseDOM)return;const k=w().getScrollbarWidth()>0,Re=i.scrollHeight>s.ownerDocument(i).documentElement.clientHeight;d({paddingRight:k&&!Re?Te():void 0,paddingLeft:!k&&Re?Te():void 0})}const j=s.useEventCallback(()=>{x&&Y(x.dialog)});s.useWillUnmount(()=>{s.removeEventListener(window,"resize",j),E.current==null||E.current()});const U=()=>{N.current=!0},A=i=>{N.current&&x&&i.target===x.dialog&&(O.current=!0),N.current=!1},l=()=>{z(!0),E.current=s.transitionEnd(x.dialog,()=>{z(!1)})},X=i=>{i.target===i.currentTarget&&l()},$=i=>{if(R==="static"){X(i);return}if(O.current||i.target!==i.currentTarget){O.current=!1;return}b==null||b()},Me=i=>{te?W==null||W(i):(i.preventDefault(),R==="static"&&l())},Be=(i,k)=>{i&&Y(i),F==null||F(i,k)},Ie=i=>{E.current==null||E.current(),I==null||I(i)},Fe=(i,k)=>{H==null||H(i,k),s.addEventListener(window,"resize",j)},Le=i=>{i&&(i.style.display=""),q==null||q(i),s.removeEventListener(window,"resize",j)},De=c.useCallback(i=>s.jsxRuntimeExports.jsx("div",{...i,className:s.classNames(`${t}-backdrop`,P,!h&&"show")}),[h,P,t]),he={...n,...S};he.display="block";const Ue=i=>s.jsxRuntimeExports.jsx("div",{role:"dialog",...i,style:he,className:s.classNames(e,t,ce&&`${t}-static`,!h&&"show"),onClick:R?$:void 0,onMouseUp:A,"data-bs-theme":f,"aria-label":p,"aria-labelledby":g,"aria-describedby":T,children:s.jsxRuntimeExports.jsx(m,{...le,onMouseDown:U,className:o,contentClassName:r,children:a})});return s.jsxRuntimeExports.jsx(Oe.Provider,{value:D,children:s.jsxRuntimeExports.jsx(ot,{show:C,ref:de,backdrop:R,container:ne,keyboard:!0,autoFocus:G,enforceFocus:oe,restoreFocus:re,restoreFocusOptions:ae,onEscapeKeyDown:Me,onShow:se,onHide:b,onEnter:Be,onEntering:Fe,onEntered:K,onExit:Ie,onExiting:ie,onExited:Le,manager:w(),transition:h?ut:void 0,backdropTransition:h?mt:void 0,renderBackdrop:De,renderDialog:Ue})})});ke.displayName="Modal";const ft=Object.assign(ke,{Body:Se,Header:je,Title:Ae,Footer:we,Dialog:ge,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150});/*! @azure/msal-browser v3.14.0 2024-05-07 */const pt={INITIALIZE_START:"msal:initializeStart",INITIALIZE_END:"msal:initializeEnd",ACCOUNT_ADDED:"msal:accountAdded",ACCOUNT_REMOVED:"msal:accountRemoved",ACTIVE_ACCOUNT_CHANGED:"msal:activeAccountChanged",LOGIN_START:"msal:loginStart",LOGIN_SUCCESS:"msal:loginSuccess",LOGIN_FAILURE:"msal:loginFailure",ACQUIRE_TOKEN_START:"msal:acquireTokenStart",ACQUIRE_TOKEN_SUCCESS:"msal:acquireTokenSuccess",ACQUIRE_TOKEN_FAILURE:"msal:acquireTokenFailure",ACQUIRE_TOKEN_NETWORK_START:"msal:acquireTokenFromNetworkStart",SSO_SILENT_START:"msal:ssoSilentStart",SSO_SILENT_SUCCESS:"msal:ssoSilentSuccess",SSO_SILENT_FAILURE:"msal:ssoSilentFailure",ACQUIRE_TOKEN_BY_CODE_START:"msal:acquireTokenByCodeStart",ACQUIRE_TOKEN_BY_CODE_SUCCESS:"msal:acquireTokenByCodeSuccess",ACQUIRE_TOKEN_BY_CODE_FAILURE:"msal:acquireTokenByCodeFailure",HANDLE_REDIRECT_START:"msal:handleRedirectStart",HANDLE_REDIRECT_END:"msal:handleRedirectEnd",POPUP_OPENED:"msal:popupOpened",LOGOUT_START:"msal:logoutStart",LOGOUT_SUCCESS:"msal:logoutSuccess",LOGOUT_FAILURE:"msal:logoutFailure",LOGOUT_END:"msal:logoutEnd",RESTORE_FROM_BFCACHE:"msal:restoreFromBFCache"},Et="_button_1wjon_1",gt="_filled_1wjon_7",ht="_sm_1wjon_13",Rt="_md_1wjon_18",Tt="_lg_1wjon_23",B={button:Et,filled:gt,sm:ht,md:Rt,lg:Tt},yt=({variant:t="filled",color:e="primary",size:n="md",className:o,children:r,...a})=>{const{LinkComponent:m}=c.useContext(s.LuminusComponentsContext);return a.as==="link"?s.jsxRuntimeExports.jsx(m,{to:a.href??"/",className:s.classNames(`luminus-primary-button ${e} btn ${t==="outlined"?`btn-outline-${e}`:`btn-${e}`} ${o??""}`,B.button,B[t],B[n]),...a,children:r}):a.as==="button"||a.as===void 0?s.jsxRuntimeExports.jsx("button",{type:"button",className:s.classNames(`luminus-primary-button ${e} btn ${t==="outlined"?`btn-outline-${e}`:`btn-${e}`} ${o??""}`,B.button,B[t],B[n]),...a,children:r}):null};exports.CloseButton=J;exports.EventType=pt;exports.Feedback=ee;exports.FormControl=Ze;exports.Loading=Ve;exports.Modal=ft;exports.PrimaryButton=yt;exports.classes=v;exports.dataAttr=ve;exports.divWithClassName=Ce;exports.qsa=_;exports.usePrevious=Ne;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { j as o, Y as t, al as a } from "./UserAvatarToggle-BMXaJ189.js";
|
|
2
|
+
const i = ({ text: s, placement: r, children: l }) => /* @__PURE__ */ o.jsx(t, { placement: r, overlay: /* @__PURE__ */ o.jsx(a, { className: "luminus-tooltip", children: s }), children: l });
|
|
3
|
+
export {
|
|
4
|
+
i as S
|
|
5
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./UserAvatarToggle-DzrnGPrL.cjs"),s=({text:t,placement:o,children:r})=>e.jsxRuntimeExports.jsx(e.OverlayTrigger,{placement:o,overlay:e.jsxRuntimeExports.jsx(e.Tooltip,{className:"luminus-tooltip",children:t}),children:r});exports.SimpleTooltip=s;
|