react-luminus-components 1.2.80 → 1.2.81
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 +57 -57
- package/dist/{EventType-BCIiHNVo.cjs → EventType-BD9A1JYV.cjs} +1 -1
- package/dist/{EventType-DiHqEDqn.js → EventType-CFrd7EyJ.js} +1 -1
- package/dist/{NoInputContainer-D_sgAiux.js → NoInputContainer-6brUvTDa.js} +628 -627
- package/dist/{NoInputContainer-QV9JLbnE.cjs → NoInputContainer-84nW-1Nk.cjs} +16 -16
- package/dist/{SimpleTooltip-BKmgu79J.cjs → SimpleTooltip-Vvq6ctZK.cjs} +1 -1
- package/dist/{SimpleTooltip-CXeUwU65.js → SimpleTooltip-_bjk41Zj.js} +1 -1
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +3 -3
- package/dist/{dateUtils-Crak7ii9.js → dateUtils-Clmwz8MD.js} +1 -1
- package/dist/{dateUtils-CWKBTsx7.cjs → dateUtils-DjdXQqjK.cjs} +1 -1
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +6 -6
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +3 -3
- package/dist/main.cjs.js +1 -1
- package/dist/main.es.js +5 -5
- package/dist/models/texts/AxiosTexts.d.ts +1 -0
- package/dist/models/types/ApiErrorResult.d.ts +1 -0
- package/dist/textUtils-BZyf3rh0.js +41 -0
- package/dist/textUtils-DPetpRXS.cjs +1 -0
- package/dist/{useConfirm-BgDxf_xi.js → useConfirm-BN5n6cbc.js} +1 -1
- package/dist/{useConfirm-ZMFNWP8A.cjs → useConfirm-OHtTp5zx.cjs} +1 -1
- package/dist/{usePermissions-cOpmP15X.js → usePermissions--yvVao7K.js} +1 -1
- package/dist/{usePermissions-DQNoOuU8.cjs → usePermissions-L7MvTSTx.cjs} +1 -1
- package/dist/utils/apiErrorFields/apiErrorFieldsUtils.d.ts +1 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +15 -14
- package/package.json +1 -1
- package/dist/textUtils-BbxuIsKq.js +0 -36
- package/dist/textUtils-CHVVh2oi.cjs +0 -1
package/dist/.vite/manifest.json
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_EventType-
|
|
3
|
-
"file": "EventType-
|
|
2
|
+
"_EventType-BD9A1JYV.cjs": {
|
|
3
|
+
"file": "EventType-BD9A1JYV.cjs",
|
|
4
4
|
"name": "EventType",
|
|
5
5
|
"imports": [
|
|
6
|
-
"_NoInputContainer-
|
|
6
|
+
"_NoInputContainer-84nW-1Nk.cjs"
|
|
7
7
|
]
|
|
8
8
|
},
|
|
9
|
-
"_EventType-
|
|
10
|
-
"file": "EventType-
|
|
9
|
+
"_EventType-CFrd7EyJ.js": {
|
|
10
|
+
"file": "EventType-CFrd7EyJ.js",
|
|
11
11
|
"name": "EventType",
|
|
12
12
|
"imports": [
|
|
13
|
-
"_NoInputContainer-
|
|
13
|
+
"_NoInputContainer-6brUvTDa.js"
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
|
-
"_NoInputContainer-
|
|
17
|
-
"file": "NoInputContainer-
|
|
16
|
+
"_NoInputContainer-6brUvTDa.js": {
|
|
17
|
+
"file": "NoInputContainer-6brUvTDa.js",
|
|
18
18
|
"name": "NoInputContainer",
|
|
19
19
|
"imports": [
|
|
20
|
-
"_textUtils-
|
|
20
|
+
"_textUtils-BZyf3rh0.js"
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
|
-
"_NoInputContainer-
|
|
24
|
-
"file": "NoInputContainer-
|
|
23
|
+
"_NoInputContainer-84nW-1Nk.cjs": {
|
|
24
|
+
"file": "NoInputContainer-84nW-1Nk.cjs",
|
|
25
25
|
"name": "NoInputContainer",
|
|
26
26
|
"imports": [
|
|
27
|
-
"_textUtils-
|
|
27
|
+
"_textUtils-DPetpRXS.cjs"
|
|
28
28
|
]
|
|
29
29
|
},
|
|
30
|
-
"_SimpleTooltip-
|
|
31
|
-
"file": "SimpleTooltip-
|
|
30
|
+
"_SimpleTooltip-Vvq6ctZK.cjs": {
|
|
31
|
+
"file": "SimpleTooltip-Vvq6ctZK.cjs",
|
|
32
32
|
"name": "SimpleTooltip",
|
|
33
33
|
"imports": [
|
|
34
|
-
"_NoInputContainer-
|
|
34
|
+
"_NoInputContainer-84nW-1Nk.cjs"
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
|
-
"_SimpleTooltip-
|
|
38
|
-
"file": "SimpleTooltip-
|
|
37
|
+
"_SimpleTooltip-_bjk41Zj.js": {
|
|
38
|
+
"file": "SimpleTooltip-_bjk41Zj.js",
|
|
39
39
|
"name": "SimpleTooltip",
|
|
40
40
|
"imports": [
|
|
41
|
-
"_NoInputContainer-
|
|
41
|
+
"_NoInputContainer-6brUvTDa.js"
|
|
42
42
|
]
|
|
43
43
|
},
|
|
44
|
-
"_dateUtils-
|
|
45
|
-
"file": "dateUtils-
|
|
44
|
+
"_dateUtils-Clmwz8MD.js": {
|
|
45
|
+
"file": "dateUtils-Clmwz8MD.js",
|
|
46
46
|
"name": "dateUtils",
|
|
47
47
|
"imports": [
|
|
48
|
-
"_textUtils-
|
|
48
|
+
"_textUtils-BZyf3rh0.js"
|
|
49
49
|
]
|
|
50
50
|
},
|
|
51
|
-
"_dateUtils-
|
|
52
|
-
"file": "dateUtils-
|
|
51
|
+
"_dateUtils-DjdXQqjK.cjs": {
|
|
52
|
+
"file": "dateUtils-DjdXQqjK.cjs",
|
|
53
53
|
"name": "dateUtils",
|
|
54
54
|
"imports": [
|
|
55
|
-
"_textUtils-
|
|
55
|
+
"_textUtils-DPetpRXS.cjs"
|
|
56
56
|
]
|
|
57
57
|
},
|
|
58
|
-
"_textUtils-
|
|
59
|
-
"file": "textUtils-
|
|
58
|
+
"_textUtils-BZyf3rh0.js": {
|
|
59
|
+
"file": "textUtils-BZyf3rh0.js",
|
|
60
60
|
"name": "textUtils"
|
|
61
61
|
},
|
|
62
|
-
"_textUtils-
|
|
63
|
-
"file": "textUtils-
|
|
62
|
+
"_textUtils-DPetpRXS.cjs": {
|
|
63
|
+
"file": "textUtils-DPetpRXS.cjs",
|
|
64
64
|
"name": "textUtils"
|
|
65
65
|
},
|
|
66
|
-
"_useConfirm-
|
|
67
|
-
"file": "useConfirm-
|
|
66
|
+
"_useConfirm-BN5n6cbc.js": {
|
|
67
|
+
"file": "useConfirm-BN5n6cbc.js",
|
|
68
68
|
"name": "useConfirm",
|
|
69
69
|
"imports": [
|
|
70
|
-
"_NoInputContainer-
|
|
70
|
+
"_NoInputContainer-6brUvTDa.js"
|
|
71
71
|
]
|
|
72
72
|
},
|
|
73
|
-
"_useConfirm-
|
|
74
|
-
"file": "useConfirm-
|
|
73
|
+
"_useConfirm-OHtTp5zx.cjs": {
|
|
74
|
+
"file": "useConfirm-OHtTp5zx.cjs",
|
|
75
75
|
"name": "useConfirm",
|
|
76
76
|
"imports": [
|
|
77
|
-
"_NoInputContainer-
|
|
77
|
+
"_NoInputContainer-84nW-1Nk.cjs"
|
|
78
78
|
]
|
|
79
79
|
},
|
|
80
80
|
"_useFormControlType-BAFqxupC.js": {
|
|
@@ -85,18 +85,18 @@
|
|
|
85
85
|
"file": "useFormControlType-Dqz8sV4J.cjs",
|
|
86
86
|
"name": "useFormControlType"
|
|
87
87
|
},
|
|
88
|
-
"_usePermissions
|
|
89
|
-
"file": "usePermissions
|
|
88
|
+
"_usePermissions--yvVao7K.js": {
|
|
89
|
+
"file": "usePermissions--yvVao7K.js",
|
|
90
90
|
"name": "usePermissions",
|
|
91
91
|
"imports": [
|
|
92
|
-
"_NoInputContainer-
|
|
92
|
+
"_NoInputContainer-6brUvTDa.js"
|
|
93
93
|
]
|
|
94
94
|
},
|
|
95
|
-
"_usePermissions-
|
|
96
|
-
"file": "usePermissions-
|
|
95
|
+
"_usePermissions-L7MvTSTx.cjs": {
|
|
96
|
+
"file": "usePermissions-L7MvTSTx.cjs",
|
|
97
97
|
"name": "usePermissions",
|
|
98
98
|
"imports": [
|
|
99
|
-
"_NoInputContainer-
|
|
99
|
+
"_NoInputContainer-84nW-1Nk.cjs"
|
|
100
100
|
]
|
|
101
101
|
},
|
|
102
102
|
"src/contexts/index.ts": {
|
|
@@ -105,9 +105,9 @@
|
|
|
105
105
|
"src": "src/contexts/index.ts",
|
|
106
106
|
"isEntry": true,
|
|
107
107
|
"imports": [
|
|
108
|
-
"_NoInputContainer-
|
|
109
|
-
"_useConfirm-
|
|
110
|
-
"_EventType-
|
|
108
|
+
"_NoInputContainer-84nW-1Nk.cjs",
|
|
109
|
+
"_useConfirm-OHtTp5zx.cjs",
|
|
110
|
+
"_EventType-BD9A1JYV.cjs"
|
|
111
111
|
]
|
|
112
112
|
},
|
|
113
113
|
"src/hooks/index.ts": {
|
|
@@ -116,12 +116,12 @@
|
|
|
116
116
|
"src": "src/hooks/index.ts",
|
|
117
117
|
"isEntry": true,
|
|
118
118
|
"imports": [
|
|
119
|
-
"_NoInputContainer-
|
|
120
|
-
"_useConfirm-
|
|
121
|
-
"_textUtils-
|
|
122
|
-
"_dateUtils-
|
|
119
|
+
"_NoInputContainer-84nW-1Nk.cjs",
|
|
120
|
+
"_useConfirm-OHtTp5zx.cjs",
|
|
121
|
+
"_textUtils-DPetpRXS.cjs",
|
|
122
|
+
"_dateUtils-DjdXQqjK.cjs",
|
|
123
123
|
"_useFormControlType-Dqz8sV4J.cjs",
|
|
124
|
-
"_usePermissions-
|
|
124
|
+
"_usePermissions-L7MvTSTx.cjs"
|
|
125
125
|
]
|
|
126
126
|
},
|
|
127
127
|
"src/layout/index.ts": {
|
|
@@ -130,9 +130,9 @@
|
|
|
130
130
|
"src": "src/layout/index.ts",
|
|
131
131
|
"isEntry": true,
|
|
132
132
|
"imports": [
|
|
133
|
-
"_NoInputContainer-
|
|
134
|
-
"_usePermissions-
|
|
135
|
-
"_SimpleTooltip-
|
|
133
|
+
"_NoInputContainer-84nW-1Nk.cjs",
|
|
134
|
+
"_usePermissions-L7MvTSTx.cjs",
|
|
135
|
+
"_SimpleTooltip-Vvq6ctZK.cjs"
|
|
136
136
|
]
|
|
137
137
|
},
|
|
138
138
|
"src/main.ts": {
|
|
@@ -141,11 +141,11 @@
|
|
|
141
141
|
"src": "src/main.ts",
|
|
142
142
|
"isEntry": true,
|
|
143
143
|
"imports": [
|
|
144
|
-
"_NoInputContainer-
|
|
145
|
-
"_EventType-
|
|
146
|
-
"_textUtils-
|
|
144
|
+
"_NoInputContainer-84nW-1Nk.cjs",
|
|
145
|
+
"_EventType-BD9A1JYV.cjs",
|
|
146
|
+
"_textUtils-DPetpRXS.cjs",
|
|
147
147
|
"_useFormControlType-Dqz8sV4J.cjs",
|
|
148
|
-
"_SimpleTooltip-
|
|
148
|
+
"_SimpleTooltip-Vvq6ctZK.cjs"
|
|
149
149
|
]
|
|
150
150
|
},
|
|
151
151
|
"src/utils/index.ts": {
|
|
@@ -154,8 +154,8 @@
|
|
|
154
154
|
"src": "src/utils/index.ts",
|
|
155
155
|
"isEntry": true,
|
|
156
156
|
"imports": [
|
|
157
|
-
"_textUtils-
|
|
158
|
-
"_dateUtils-
|
|
157
|
+
"_textUtils-DPetpRXS.cjs",
|
|
158
|
+
"_dateUtils-DjdXQqjK.cjs"
|
|
159
159
|
]
|
|
160
160
|
},
|
|
161
161
|
"style.css": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("./NoInputContainer-QV9JLbnE.cjs"),c=require("react"),De=require("react-dom");function Fe(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=Fe(c),Ue="_loading_rgybp_1",We="_spinner-grow_rgybp_10",Ge="_second_rgybp_14",Ke="_third_rgybp_17",He="_loadingBlock_rgybp_21",y={loading:Ue,"spinner-grow":"_spinner-grow_rgybp_10",spinnerGrow:We,second:Ge,third:Ke,loadingBlock:He},$e=()=>s.jsxRuntimeExports.jsxs("div",{className:s.classNames("luminus-loading",y.loading),children:[s.jsxRuntimeExports.jsx("div",{className:s.classNames("spinner-grow",y.spinnerGrow,"text-primary"),role:"status"}),s.jsxRuntimeExports.jsx("div",{className:s.classNames("spinner-grow",y.spinnerGrow,"text-primary",y.second),role:"status"}),s.jsxRuntimeExports.jsx("div",{className:s.classNames("spinner-grow",y.spinnerGrow,"text-primary",y.third),role:"status"})]}),xe=t=>u.forwardRef((e,n)=>s.jsxRuntimeExports.jsx("div",{...e,ref:n,className:s.classNames(e.className,t)}));function ye(t){const e=c.useRef(null);return c.useEffect(()=>{e.current=t}),e.current}const qe={"aria-label":s.PropTypes.string,onClick:s.PropTypes.func,variant:s.PropTypes.oneOf(["white"])},Z=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}));Z.displayName="CloseButton";Z.propTypes=qe;var Pe=Function.prototype.bind.call(Function.prototype.call,[].slice);function C(t,e){return Pe(t.querySelectorAll(e))}const ze="data-rr-ui-";function Ce(t){return`${ze}${t}`}var X;function he(t){if((!X&&X!==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),X=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return X}function de(t){t===void 0&&(t=s.ownerDocument());try{var e=t.activeElement;return!e||!e.nodeName?null:e}catch{return t.body}}function Ve(t=document){const e=t.defaultView;return Math.abs(e.innerWidth-t.documentElement.clientWidth)}const Re=Ce("modal-open");class fe{constructor({ownerDocument:e,handleContainerOverflow:n=!0,isRTL:o=!1}={}){this.handleContainerOverflow=n,this.isRTL=o,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return Ve(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(Re,""),s.style(r,n)}reset(){[...this.modals].forEach(e=>this.remove(e))}removeContainerStyle(e){const n=this.getElement();n.removeAttribute(Re),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 Qe=["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 Ye(t,e){if(t==null)return{};var n={},o=Object.keys(t),r,i;for(i=0;i<o.length;i++)r=o[i],!(e.indexOf(r)>=0)&&(n[r]=t[r]);return n}let ue;function Xe(t){return ue||(ue=new fe({ownerDocument:t==null?void 0:t.document})),ue}function Ze(t){const e=s.useWindow(),n=t||Xe(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 ve=c.forwardRef((t,e)=>{let{show:n=!1,role:o="dialog",className:r,style:i,children:h,backdrop:f=!0,keyboard:R=!0,onBackdropClick:v,onEscapeKeyDown:p,transition:k,runTransition:T,backdropTransition:N,runBackdropTransition:J,autoFocus:W=!0,enforceFocus:ee=!0,restoreFocus:S=!0,restoreFocusOptions:te,renderDialog:G,renderBackdrop:se=l=>s.jsxRuntimeExports.jsx("div",Object.assign({},l)),manager:ne,container:oe,onShow:K,onHide:B=()=>{},onExit:re,onExited:I,onExiting:H,onEnter:$,onEntering:q,onEntered:P}=t,ae=Ye(t,Qe);const E=s.useWindow(),O=s.useWaitForDOMRef(oe),d=Ze(ne),ie=s.useMounted(),z=ye(n),[x,_]=c.useState(!n),m=c.useRef(null);c.useImperativeHandle(e,()=>d,[d]),s.canUseDOM&&!z&&n&&(m.current=de(E==null?void 0:E.document)),n&&x&&_(!1);const g=s.useEventCallback(()=>{if(d.add(),w.current=s.listen(document,"keydown",ce),D.current=s.listen(document,"focus",()=>setTimeout(le),!0),K&&K(),W){var l,Y;const U=de((l=(Y=d.dialog)==null?void 0:Y.ownerDocument)!=null?l:E==null?void 0:E.document);d.dialog&&U&&!s.contains(d.dialog,U)&&(m.current=U,d.dialog.focus())}}),L=s.useEventCallback(()=>{if(d.remove(),w.current==null||w.current(),D.current==null||D.current(),S){var l;(l=m.current)==null||l.focus==null||l.focus(te),m.current=null}});c.useEffect(()=>{!n||!O||g()},[n,O,g]),c.useEffect(()=>{x&&L()},[x,L]),s.useWillUnmount(()=>{L()});const le=s.useEventCallback(()=>{if(!ee||!ie()||!d.isTopModal())return;const l=de(E==null?void 0:E.document);d.dialog&&l&&!s.contains(d.dialog,l)&&d.dialog.focus()}),V=s.useEventCallback(l=>{l.target===l.currentTarget&&(v==null||v(l),f===!0&&B())}),ce=s.useEventCallback(l=>{R&&s.isEscKey(l)&&d.isTopModal()&&(p==null||p(l),l.defaultPrevented||B())}),D=c.useRef(),w=c.useRef(),Q=(...l)=>{_(!0),I==null||I(...l)};if(!O)return null;const b=Object.assign({role:o,ref:d.setDialogRef,"aria-modal":o==="dialog"?!0:void 0},ae,{style:i,className:r,tabIndex:-1});let F=G?G(b):s.jsxRuntimeExports.jsx("div",Object.assign({},b,{children:u.cloneElement(h,{role:"document"})}));F=s.renderTransition(k,T,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:re,onExiting:H,onExited:Q,onEnter:$,onEntering:q,onEntered:P,children:F});let A=null;return f&&(A=se({ref:d.setBackdropRef,onClick:V}),A=s.renderTransition(N,J,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:A})),s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:De.createPortal(s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[A,F]}),O)})});ve.displayName="Modal";const Je=Object.assign(ve,{Manager:fe});function et(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 Te(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function tt(t,e){t.classList?t.classList.remove(e):typeof t.className=="string"?t.className=Te(t.className,e):t.setAttribute("class",Te(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 st extends fe{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(et(n,"modal-open"),!e.scrollBarWidth)return;const o=this.isRTL?"paddingLeft":"paddingRight",r=this.isRTL?"marginLeft":"marginRight";C(n,M.FIXED_CONTENT).forEach(i=>this.adjustAndStore(o,i,e.scrollBarWidth)),C(n,M.STICKY_CONTENT).forEach(i=>this.adjustAndStore(r,i,-e.scrollBarWidth)),C(n,M.NAVBAR_TOGGLER).forEach(i=>this.adjustAndStore(r,i,e.scrollBarWidth))}removeContainerStyle(e){super.removeContainerStyle(e);const n=this.getElement();tt(n,"modal-open");const o=this.isRTL?"paddingLeft":"paddingRight",r=this.isRTL?"marginLeft":"marginRight";C(n,M.FIXED_CONTENT).forEach(i=>this.restore(o,i)),C(n,M.STICKY_CONTENT).forEach(i=>this.restore(r,i)),C(n,M.NAVBAR_TOGGLER).forEach(i=>this.restore(r,i))}}let me;function nt(t){return me||(me=new st(t)),me}const Ne=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})));Ne.displayName="ModalBody";const Se=u.createContext({onHide(){}}),pe=u.forwardRef(({bsPrefix:t,className:e,contentClassName:n,centered:o,size:r,fullscreen:i,children:h,scrollable:f,...R},v)=>{t=s.useBootstrapPrefix(t,"modal");const p=`${t}-dialog`,k=typeof i=="string"?`${t}-fullscreen-${i}`:`${t}-fullscreen`;return s.jsxRuntimeExports.jsx("div",{...R,ref:v,className:s.classNames(p,e,r&&`${t}-${r}`,o&&`${p}-centered`,f&&`${p}-scrollable`,i&&k),children:s.jsxRuntimeExports.jsx("div",{className:s.classNames(`${t}-content`,n),children:h})})});pe.displayName="ModalDialog";const Oe=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})));Oe.displayName="ModalFooter";const ot=u.forwardRef(({closeLabel:t="Close",closeVariant:e,closeButton:n=!1,onHide:o,children:r,...i},h)=>{const f=c.useContext(Se),R=s.useEventCallback(()=>{f==null||f.onHide(),o==null||o()});return s.jsxRuntimeExports.jsxs("div",{ref:h,...i,children:[r,n&&s.jsxRuntimeExports.jsx(Z,{"aria-label":t,variant:e,onClick:R})]})}),_e=u.forwardRef(({bsPrefix:t,className:e,closeLabel:n="Close",closeButton:o=!1,...r},i)=>(t=s.useBootstrapPrefix(t,"modal-header"),s.jsxRuntimeExports.jsx(ot,{ref:i,...r,className:s.classNames(e,t),closeLabel:n,closeButton:o})));_e.displayName="ModalHeader";const rt=xe("h4"),we=u.forwardRef(({className:t,bsPrefix:e,as:n=rt,...o},r)=>(e=s.useBootstrapPrefix(e,"modal-title"),s.jsxRuntimeExports.jsx(n,{ref:r,className:s.classNames(t,e),...o})));we.displayName="ModalTitle";function at(t){return s.jsxRuntimeExports.jsx(s.Fade,{...t,timeout:null})}function it(t){return s.jsxRuntimeExports.jsx(s.Fade,{...t,timeout:null})}const be=u.forwardRef(({bsPrefix:t,className:e,style:n,dialogClassName:o,contentClassName:r,children:i,dialogAs:h=pe,"data-bs-theme":f,"aria-labelledby":R,"aria-describedby":v,"aria-label":p,show:k=!1,animation:T=!0,backdrop:N=!0,keyboard:J=!0,onEscapeKeyDown:W,onShow:ee,onHide:S,container:te,autoFocus:G=!0,enforceFocus:se=!0,restoreFocus:ne=!0,restoreFocusOptions:oe,onEntered:K,onExit:B,onExiting:re,onEnter:I,onEntering:H,onExited:$,backdropClassName:q,manager:P,...ae},E)=>{const[O,d]=c.useState({}),[ie,z]=c.useState(!1),x=c.useRef(!1),_=c.useRef(!1),m=c.useRef(null),[g,L]=s.useCallbackRef(),le=s.useMergedRefs(E,L),V=s.useEventCallback(S),ce=s.useIsRTL();t=s.useBootstrapPrefix(t,"modal");const D=c.useMemo(()=>({onHide:V}),[V]);function w(){return P||nt({isRTL:ce})}function Q(a){if(!s.canUseDOM)return;const j=w().getScrollbarWidth()>0,ge=a.scrollHeight>s.ownerDocument(a).documentElement.clientHeight;d({paddingRight:j&&!ge?he():void 0,paddingLeft:!j&&ge?he():void 0})}const b=s.useEventCallback(()=>{g&&Q(g.dialog)});s.useWillUnmount(()=>{s.removeEventListener(window,"resize",b),m.current==null||m.current()});const F=()=>{x.current=!0},A=a=>{x.current&&g&&a.target===g.dialog&&(_.current=!0),x.current=!1},l=()=>{z(!0),m.current=s.transitionEnd(g.dialog,()=>{z(!1)})},Y=a=>{a.target===a.currentTarget&&l()},U=a=>{if(N==="static"){Y(a);return}if(_.current||a.target!==a.currentTarget){_.current=!1;return}S==null||S()},Ae=a=>{J?W==null||W(a):(a.preventDefault(),N==="static"&&l())},je=(a,j)=>{a&&Q(a),I==null||I(a,j)},Me=a=>{m.current==null||m.current(),B==null||B(a)},ke=(a,j)=>{H==null||H(a,j),s.addEventListener(window,"resize",b)},Be=a=>{a&&(a.style.display=""),$==null||$(a),s.removeEventListener(window,"resize",b)},Ie=c.useCallback(a=>s.jsxRuntimeExports.jsx("div",{...a,className:s.classNames(`${t}-backdrop`,q,!T&&"show")}),[T,q,t]),Ee={...n,...O};Ee.display="block";const Le=a=>s.jsxRuntimeExports.jsx("div",{role:"dialog",...a,style:Ee,className:s.classNames(e,t,ie&&`${t}-static`,!T&&"show"),onClick:N?U:void 0,onMouseUp:A,"data-bs-theme":f,"aria-label":p,"aria-labelledby":R,"aria-describedby":v,children:s.jsxRuntimeExports.jsx(h,{...ae,onMouseDown:F,className:o,contentClassName:r,children:i})});return s.jsxRuntimeExports.jsx(Se.Provider,{value:D,children:s.jsxRuntimeExports.jsx(Je,{show:k,ref:le,backdrop:N,container:te,keyboard:!0,autoFocus:G,enforceFocus:se,restoreFocus:ne,restoreFocusOptions:oe,onEscapeKeyDown:Ae,onShow:ee,onHide:S,onEnter:je,onEntering:ke,onEntered:K,onExit:Me,onExiting:re,onExited:Be,manager:w(),transition:T?at:void 0,backdropTransition:T?it:void 0,renderBackdrop:Ie,renderDialog:Le})})});be.displayName="Modal";const lt=Object.assign(be,{Body:Ne,Header:_e,Title:we,Footer:Oe,Dialog:pe,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150});/*! @azure/msal-browser v3.14.0 2024-05-07 */const ct={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"};exports.CloseButton=Z;exports.EventType=ct;exports.Loading=$e;exports.Modal=lt;exports.classes=y;exports.dataAttr=Ce;exports.divWithClassName=xe;exports.qsa=C;exports.usePrevious=ye;
|
|
1
|
+
"use strict";const s=require("./NoInputContainer-84nW-1Nk.cjs"),c=require("react"),De=require("react-dom");function Fe(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=Fe(c),Ue="_loading_rgybp_1",We="_spinner-grow_rgybp_10",Ge="_second_rgybp_14",Ke="_third_rgybp_17",He="_loadingBlock_rgybp_21",y={loading:Ue,"spinner-grow":"_spinner-grow_rgybp_10",spinnerGrow:We,second:Ge,third:Ke,loadingBlock:He},$e=()=>s.jsxRuntimeExports.jsxs("div",{className:s.classNames("luminus-loading",y.loading),children:[s.jsxRuntimeExports.jsx("div",{className:s.classNames("spinner-grow",y.spinnerGrow,"text-primary"),role:"status"}),s.jsxRuntimeExports.jsx("div",{className:s.classNames("spinner-grow",y.spinnerGrow,"text-primary",y.second),role:"status"}),s.jsxRuntimeExports.jsx("div",{className:s.classNames("spinner-grow",y.spinnerGrow,"text-primary",y.third),role:"status"})]}),xe=t=>u.forwardRef((e,n)=>s.jsxRuntimeExports.jsx("div",{...e,ref:n,className:s.classNames(e.className,t)}));function ye(t){const e=c.useRef(null);return c.useEffect(()=>{e.current=t}),e.current}const qe={"aria-label":s.PropTypes.string,onClick:s.PropTypes.func,variant:s.PropTypes.oneOf(["white"])},Z=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}));Z.displayName="CloseButton";Z.propTypes=qe;var Pe=Function.prototype.bind.call(Function.prototype.call,[].slice);function C(t,e){return Pe(t.querySelectorAll(e))}const ze="data-rr-ui-";function Ce(t){return`${ze}${t}`}var X;function he(t){if((!X&&X!==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),X=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return X}function de(t){t===void 0&&(t=s.ownerDocument());try{var e=t.activeElement;return!e||!e.nodeName?null:e}catch{return t.body}}function Ve(t=document){const e=t.defaultView;return Math.abs(e.innerWidth-t.documentElement.clientWidth)}const Re=Ce("modal-open");class fe{constructor({ownerDocument:e,handleContainerOverflow:n=!0,isRTL:o=!1}={}){this.handleContainerOverflow=n,this.isRTL=o,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return Ve(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(Re,""),s.style(r,n)}reset(){[...this.modals].forEach(e=>this.remove(e))}removeContainerStyle(e){const n=this.getElement();n.removeAttribute(Re),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 Qe=["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 Ye(t,e){if(t==null)return{};var n={},o=Object.keys(t),r,i;for(i=0;i<o.length;i++)r=o[i],!(e.indexOf(r)>=0)&&(n[r]=t[r]);return n}let ue;function Xe(t){return ue||(ue=new fe({ownerDocument:t==null?void 0:t.document})),ue}function Ze(t){const e=s.useWindow(),n=t||Xe(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 ve=c.forwardRef((t,e)=>{let{show:n=!1,role:o="dialog",className:r,style:i,children:h,backdrop:f=!0,keyboard:R=!0,onBackdropClick:v,onEscapeKeyDown:p,transition:k,runTransition:T,backdropTransition:N,runBackdropTransition:J,autoFocus:W=!0,enforceFocus:ee=!0,restoreFocus:S=!0,restoreFocusOptions:te,renderDialog:G,renderBackdrop:se=l=>s.jsxRuntimeExports.jsx("div",Object.assign({},l)),manager:ne,container:oe,onShow:K,onHide:B=()=>{},onExit:re,onExited:I,onExiting:H,onEnter:$,onEntering:q,onEntered:P}=t,ae=Ye(t,Qe);const E=s.useWindow(),O=s.useWaitForDOMRef(oe),d=Ze(ne),ie=s.useMounted(),z=ye(n),[x,_]=c.useState(!n),m=c.useRef(null);c.useImperativeHandle(e,()=>d,[d]),s.canUseDOM&&!z&&n&&(m.current=de(E==null?void 0:E.document)),n&&x&&_(!1);const g=s.useEventCallback(()=>{if(d.add(),w.current=s.listen(document,"keydown",ce),D.current=s.listen(document,"focus",()=>setTimeout(le),!0),K&&K(),W){var l,Y;const U=de((l=(Y=d.dialog)==null?void 0:Y.ownerDocument)!=null?l:E==null?void 0:E.document);d.dialog&&U&&!s.contains(d.dialog,U)&&(m.current=U,d.dialog.focus())}}),L=s.useEventCallback(()=>{if(d.remove(),w.current==null||w.current(),D.current==null||D.current(),S){var l;(l=m.current)==null||l.focus==null||l.focus(te),m.current=null}});c.useEffect(()=>{!n||!O||g()},[n,O,g]),c.useEffect(()=>{x&&L()},[x,L]),s.useWillUnmount(()=>{L()});const le=s.useEventCallback(()=>{if(!ee||!ie()||!d.isTopModal())return;const l=de(E==null?void 0:E.document);d.dialog&&l&&!s.contains(d.dialog,l)&&d.dialog.focus()}),V=s.useEventCallback(l=>{l.target===l.currentTarget&&(v==null||v(l),f===!0&&B())}),ce=s.useEventCallback(l=>{R&&s.isEscKey(l)&&d.isTopModal()&&(p==null||p(l),l.defaultPrevented||B())}),D=c.useRef(),w=c.useRef(),Q=(...l)=>{_(!0),I==null||I(...l)};if(!O)return null;const b=Object.assign({role:o,ref:d.setDialogRef,"aria-modal":o==="dialog"?!0:void 0},ae,{style:i,className:r,tabIndex:-1});let F=G?G(b):s.jsxRuntimeExports.jsx("div",Object.assign({},b,{children:u.cloneElement(h,{role:"document"})}));F=s.renderTransition(k,T,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:re,onExiting:H,onExited:Q,onEnter:$,onEntering:q,onEntered:P,children:F});let A=null;return f&&(A=se({ref:d.setBackdropRef,onClick:V}),A=s.renderTransition(N,J,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:A})),s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:De.createPortal(s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[A,F]}),O)})});ve.displayName="Modal";const Je=Object.assign(ve,{Manager:fe});function et(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 Te(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function tt(t,e){t.classList?t.classList.remove(e):typeof t.className=="string"?t.className=Te(t.className,e):t.setAttribute("class",Te(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 st extends fe{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(et(n,"modal-open"),!e.scrollBarWidth)return;const o=this.isRTL?"paddingLeft":"paddingRight",r=this.isRTL?"marginLeft":"marginRight";C(n,M.FIXED_CONTENT).forEach(i=>this.adjustAndStore(o,i,e.scrollBarWidth)),C(n,M.STICKY_CONTENT).forEach(i=>this.adjustAndStore(r,i,-e.scrollBarWidth)),C(n,M.NAVBAR_TOGGLER).forEach(i=>this.adjustAndStore(r,i,e.scrollBarWidth))}removeContainerStyle(e){super.removeContainerStyle(e);const n=this.getElement();tt(n,"modal-open");const o=this.isRTL?"paddingLeft":"paddingRight",r=this.isRTL?"marginLeft":"marginRight";C(n,M.FIXED_CONTENT).forEach(i=>this.restore(o,i)),C(n,M.STICKY_CONTENT).forEach(i=>this.restore(r,i)),C(n,M.NAVBAR_TOGGLER).forEach(i=>this.restore(r,i))}}let me;function nt(t){return me||(me=new st(t)),me}const Ne=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})));Ne.displayName="ModalBody";const Se=u.createContext({onHide(){}}),pe=u.forwardRef(({bsPrefix:t,className:e,contentClassName:n,centered:o,size:r,fullscreen:i,children:h,scrollable:f,...R},v)=>{t=s.useBootstrapPrefix(t,"modal");const p=`${t}-dialog`,k=typeof i=="string"?`${t}-fullscreen-${i}`:`${t}-fullscreen`;return s.jsxRuntimeExports.jsx("div",{...R,ref:v,className:s.classNames(p,e,r&&`${t}-${r}`,o&&`${p}-centered`,f&&`${p}-scrollable`,i&&k),children:s.jsxRuntimeExports.jsx("div",{className:s.classNames(`${t}-content`,n),children:h})})});pe.displayName="ModalDialog";const Oe=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})));Oe.displayName="ModalFooter";const ot=u.forwardRef(({closeLabel:t="Close",closeVariant:e,closeButton:n=!1,onHide:o,children:r,...i},h)=>{const f=c.useContext(Se),R=s.useEventCallback(()=>{f==null||f.onHide(),o==null||o()});return s.jsxRuntimeExports.jsxs("div",{ref:h,...i,children:[r,n&&s.jsxRuntimeExports.jsx(Z,{"aria-label":t,variant:e,onClick:R})]})}),_e=u.forwardRef(({bsPrefix:t,className:e,closeLabel:n="Close",closeButton:o=!1,...r},i)=>(t=s.useBootstrapPrefix(t,"modal-header"),s.jsxRuntimeExports.jsx(ot,{ref:i,...r,className:s.classNames(e,t),closeLabel:n,closeButton:o})));_e.displayName="ModalHeader";const rt=xe("h4"),we=u.forwardRef(({className:t,bsPrefix:e,as:n=rt,...o},r)=>(e=s.useBootstrapPrefix(e,"modal-title"),s.jsxRuntimeExports.jsx(n,{ref:r,className:s.classNames(t,e),...o})));we.displayName="ModalTitle";function at(t){return s.jsxRuntimeExports.jsx(s.Fade,{...t,timeout:null})}function it(t){return s.jsxRuntimeExports.jsx(s.Fade,{...t,timeout:null})}const be=u.forwardRef(({bsPrefix:t,className:e,style:n,dialogClassName:o,contentClassName:r,children:i,dialogAs:h=pe,"data-bs-theme":f,"aria-labelledby":R,"aria-describedby":v,"aria-label":p,show:k=!1,animation:T=!0,backdrop:N=!0,keyboard:J=!0,onEscapeKeyDown:W,onShow:ee,onHide:S,container:te,autoFocus:G=!0,enforceFocus:se=!0,restoreFocus:ne=!0,restoreFocusOptions:oe,onEntered:K,onExit:B,onExiting:re,onEnter:I,onEntering:H,onExited:$,backdropClassName:q,manager:P,...ae},E)=>{const[O,d]=c.useState({}),[ie,z]=c.useState(!1),x=c.useRef(!1),_=c.useRef(!1),m=c.useRef(null),[g,L]=s.useCallbackRef(),le=s.useMergedRefs(E,L),V=s.useEventCallback(S),ce=s.useIsRTL();t=s.useBootstrapPrefix(t,"modal");const D=c.useMemo(()=>({onHide:V}),[V]);function w(){return P||nt({isRTL:ce})}function Q(a){if(!s.canUseDOM)return;const j=w().getScrollbarWidth()>0,ge=a.scrollHeight>s.ownerDocument(a).documentElement.clientHeight;d({paddingRight:j&&!ge?he():void 0,paddingLeft:!j&&ge?he():void 0})}const b=s.useEventCallback(()=>{g&&Q(g.dialog)});s.useWillUnmount(()=>{s.removeEventListener(window,"resize",b),m.current==null||m.current()});const F=()=>{x.current=!0},A=a=>{x.current&&g&&a.target===g.dialog&&(_.current=!0),x.current=!1},l=()=>{z(!0),m.current=s.transitionEnd(g.dialog,()=>{z(!1)})},Y=a=>{a.target===a.currentTarget&&l()},U=a=>{if(N==="static"){Y(a);return}if(_.current||a.target!==a.currentTarget){_.current=!1;return}S==null||S()},Ae=a=>{J?W==null||W(a):(a.preventDefault(),N==="static"&&l())},je=(a,j)=>{a&&Q(a),I==null||I(a,j)},Me=a=>{m.current==null||m.current(),B==null||B(a)},ke=(a,j)=>{H==null||H(a,j),s.addEventListener(window,"resize",b)},Be=a=>{a&&(a.style.display=""),$==null||$(a),s.removeEventListener(window,"resize",b)},Ie=c.useCallback(a=>s.jsxRuntimeExports.jsx("div",{...a,className:s.classNames(`${t}-backdrop`,q,!T&&"show")}),[T,q,t]),Ee={...n,...O};Ee.display="block";const Le=a=>s.jsxRuntimeExports.jsx("div",{role:"dialog",...a,style:Ee,className:s.classNames(e,t,ie&&`${t}-static`,!T&&"show"),onClick:N?U:void 0,onMouseUp:A,"data-bs-theme":f,"aria-label":p,"aria-labelledby":R,"aria-describedby":v,children:s.jsxRuntimeExports.jsx(h,{...ae,onMouseDown:F,className:o,contentClassName:r,children:i})});return s.jsxRuntimeExports.jsx(Se.Provider,{value:D,children:s.jsxRuntimeExports.jsx(Je,{show:k,ref:le,backdrop:N,container:te,keyboard:!0,autoFocus:G,enforceFocus:se,restoreFocus:ne,restoreFocusOptions:oe,onEscapeKeyDown:Ae,onShow:ee,onHide:S,onEnter:je,onEntering:ke,onEntered:K,onExit:Me,onExiting:re,onExited:Be,manager:w(),transition:T?at:void 0,backdropTransition:T?it:void 0,renderBackdrop:Ie,renderDialog:Le})})});be.displayName="Modal";const lt=Object.assign(be,{Body:Ne,Header:_e,Title:we,Footer:Oe,Dialog:pe,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150});/*! @azure/msal-browser v3.14.0 2024-05-07 */const ct={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"};exports.CloseButton=Z;exports.EventType=ct;exports.Loading=$e;exports.Modal=lt;exports.classes=y;exports.dataAttr=Ce;exports.divWithClassName=xe;exports.qsa=C;exports.usePrevious=ye;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as i, c, P as me, as as Ce, at as xe, s as H, r as Be, au as Pe, av as Ze, i as E, aw as Oe, ax as we, ay as Le, az as Je, aA as Ae, aB as et, u as L, n as tt, w as nt, z as ot, aC as Me, F as De, v as at, aD as st } from "./NoInputContainer-
|
|
1
|
+
import { j as i, c, P as me, as as Ce, at as xe, s as H, r as Be, au as Pe, av as Ze, i as E, aw as Oe, ax as we, ay as Le, az as Je, aA as Ae, aB as et, u as L, n as tt, w as nt, z as ot, aC as Me, F as De, v as at, aD as st } from "./NoInputContainer-6brUvTDa.js";
|
|
2
2
|
import * as u from "react";
|
|
3
3
|
import { useRef as T, useEffect as Ee, forwardRef as rt, useState as Te, useImperativeHandle as it, useCallback as ye, useContext as lt, useMemo as dt } from "react";
|
|
4
4
|
import ct from "react-dom";
|