cortex-react-ui 0.1.106 → 0.1.108
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 +46 -46
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/types/Button/Button.d.ts +11 -11
- package/lib/cjs/types/Button/index.d.ts +1 -1
- package/lib/cjs/types/DatePicker/DatePicker.d.ts +7 -7
- package/lib/cjs/types/DatePicker/index.d.ts +1 -1
- package/lib/cjs/types/Dialog/ConfirmDialog.d.ts +11 -11
- package/lib/cjs/types/Dialog/Dialog.d.ts +12 -12
- package/lib/cjs/types/Dialog/DialogActions.d.ts +7 -7
- package/lib/cjs/types/Dialog/DialogContent.d.ts +7 -7
- package/lib/cjs/types/Dialog/DialogFooter.d.ts +7 -7
- package/lib/cjs/types/Dialog/DialogHeader.d.ts +7 -7
- package/lib/cjs/types/Dialog/DialogTitle.d.ts +9 -9
- package/lib/cjs/types/Dialog/ErrorDialog.d.ts +10 -10
- package/lib/cjs/types/Dialog/index.d.ts +8 -8
- package/lib/cjs/types/DomContainer/DomContainer.d.ts +7 -7
- package/lib/cjs/types/DomContainer/index.d.ts +1 -1
- package/lib/cjs/types/Icons/ChevronDownIcon.d.ts +6 -6
- package/lib/cjs/types/Icons/ChevronRightIcon.d.ts +6 -6
- package/lib/cjs/types/Icons/CrossIcon.d.ts +6 -6
- package/lib/cjs/types/Icons/index.d.ts +3 -3
- package/lib/cjs/types/Input/Input.d.ts +7 -7
- package/lib/cjs/types/Input/index.d.ts +1 -1
- package/lib/cjs/types/Menu/ContextMenu.d.ts +13 -13
- package/lib/cjs/types/Menu/Divider.d.ts +6 -6
- package/lib/cjs/types/Menu/Menu.d.ts +9 -9
- package/lib/cjs/types/Menu/MenuGroup.d.ts +8 -8
- package/lib/cjs/types/Menu/MenuItem.d.ts +13 -13
- package/lib/cjs/types/Menu/PopupMenu.d.ts +16 -16
- package/lib/cjs/types/Menu/index.d.ts +6 -6
- package/lib/cjs/types/Popper/Popper.d.ts +36 -36
- package/lib/cjs/types/Popper/index.d.ts +1 -1
- package/lib/cjs/types/Select/Select.d.ts +6 -6
- package/lib/cjs/types/Select/index.d.ts +1 -1
- package/lib/cjs/types/Selected/Selected.d.ts +8 -0
- package/lib/cjs/types/Selected/index.d.ts +1 -0
- package/lib/cjs/types/Spinner/Spinner.d.ts +7 -7
- package/lib/cjs/types/Spinner/index.d.ts +1 -1
- package/lib/cjs/types/TagInput/TagInput.d.ts +12 -12
- package/lib/cjs/types/TagInput/TagItem.d.ts +9 -9
- package/lib/cjs/types/TagInput/TagSearchInput.d.ts +9 -9
- package/lib/cjs/types/TagInput/TagSuggestion.d.ts +13 -13
- package/lib/cjs/types/TagInput/TagSuggestionGroup.d.ts +8 -8
- package/lib/cjs/types/TagInput/TagSuggestionItem.d.ts +8 -8
- package/lib/cjs/types/TagInput/index.d.ts +1 -1
- package/lib/cjs/types/TagInput/types.d.ts +14 -14
- package/lib/cjs/types/TextField/TextField.d.ts +6 -6
- package/lib/cjs/types/TextField/TextFieldInput.d.ts +10 -10
- package/lib/cjs/types/TextField/index.d.ts +1 -1
- package/lib/cjs/types/ToggleButton/ToggleButton.d.ts +11 -11
- package/lib/cjs/types/ToggleButton/index.d.ts +1 -1
- package/lib/cjs/types/Tooltip/Tooltip.d.ts +12 -12
- package/lib/cjs/types/Tooltip/index.d.ts +1 -1
- package/lib/cjs/types/Transition/CSSTransition.d.ts +17 -17
- package/lib/cjs/types/Transition/Fade.d.ts +13 -13
- package/lib/cjs/types/index.d.ts +10 -10
- package/lib/cjs/types/utils/classNames.d.ts +1 -1
- package/lib/cjs/types/utils/setRef.d.ts +1 -1
- package/lib/cjs/types/utils/useClickOutside.d.ts +2 -2
- package/lib/cjs/types/utils/useElement.d.ts +2 -2
- package/lib/cjs/types/utils/useForkRef.d.ts +2 -2
- package/lib/index.d.ts +189 -189
- package/lib/styles/Button/index.scss +147 -147
- package/lib/styles/Dialog/index.scss +237 -237
- package/lib/styles/Icons/index.scss +9 -9
- package/lib/styles/Input/index.scss +69 -69
- package/lib/styles/Menu/index.scss +129 -129
- package/lib/styles/Popper/index.scss +23 -23
- package/lib/styles/Select/index.scss +13 -13
- package/lib/styles/Selected/index.scss +69 -0
- package/lib/styles/Spinner/index.scss +43 -43
- package/lib/styles/TagInput/index.scss +141 -141
- package/lib/styles/TextField/index.scss +22 -22
- package/lib/styles/ToggleButton/index.scss +60 -60
- package/lib/styles/Tooltip/index.scss +24 -24
- package/lib/styles/Transition/index.scss +15 -15
- package/lib/styles/global.scss +158 -158
- package/lib/styles/index.scss +42 -40
- package/lib/typings/typings/index.d.ts +30 -30
- package/lib/typings/typings/tagInput.d.ts +12 -12
- package/package.json +98 -98
package/README.md
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
# Getting Started with Create React App
|
|
2
|
-
|
|
3
|
-
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
|
|
4
|
-
|
|
5
|
-
## Available Scripts
|
|
6
|
-
|
|
7
|
-
In the project directory, you can run:
|
|
8
|
-
|
|
9
|
-
### `yarn start`
|
|
10
|
-
|
|
11
|
-
Runs the app in the development mode.\
|
|
12
|
-
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
|
|
13
|
-
|
|
14
|
-
The page will reload if you make edits.\
|
|
15
|
-
You will also see any lint errors in the console.
|
|
16
|
-
|
|
17
|
-
### `yarn test`
|
|
18
|
-
|
|
19
|
-
Launches the test runner in the interactive watch mode.\
|
|
20
|
-
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
|
|
21
|
-
|
|
22
|
-
### `yarn build`
|
|
23
|
-
|
|
24
|
-
Builds the app for production to the `build` folder.\
|
|
25
|
-
It correctly bundles React in production mode and optimizes the build for the best performance.
|
|
26
|
-
|
|
27
|
-
The build is minified and the filenames include the hashes.\
|
|
28
|
-
Your app is ready to be deployed!
|
|
29
|
-
|
|
30
|
-
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
|
|
31
|
-
|
|
32
|
-
### `yarn eject`
|
|
33
|
-
|
|
34
|
-
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
|
|
35
|
-
|
|
36
|
-
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
|
|
37
|
-
|
|
38
|
-
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
|
|
39
|
-
|
|
40
|
-
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
|
|
41
|
-
|
|
42
|
-
## Learn More
|
|
43
|
-
|
|
44
|
-
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
|
|
45
|
-
|
|
46
|
-
To learn React, check out the [React documentation](https://reactjs.org/).
|
|
1
|
+
# Getting Started with Create React App
|
|
2
|
+
|
|
3
|
+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
|
|
4
|
+
|
|
5
|
+
## Available Scripts
|
|
6
|
+
|
|
7
|
+
In the project directory, you can run:
|
|
8
|
+
|
|
9
|
+
### `yarn start`
|
|
10
|
+
|
|
11
|
+
Runs the app in the development mode.\
|
|
12
|
+
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
|
|
13
|
+
|
|
14
|
+
The page will reload if you make edits.\
|
|
15
|
+
You will also see any lint errors in the console.
|
|
16
|
+
|
|
17
|
+
### `yarn test`
|
|
18
|
+
|
|
19
|
+
Launches the test runner in the interactive watch mode.\
|
|
20
|
+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
|
|
21
|
+
|
|
22
|
+
### `yarn build`
|
|
23
|
+
|
|
24
|
+
Builds the app for production to the `build` folder.\
|
|
25
|
+
It correctly bundles React in production mode and optimizes the build for the best performance.
|
|
26
|
+
|
|
27
|
+
The build is minified and the filenames include the hashes.\
|
|
28
|
+
Your app is ready to be deployed!
|
|
29
|
+
|
|
30
|
+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
|
|
31
|
+
|
|
32
|
+
### `yarn eject`
|
|
33
|
+
|
|
34
|
+
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
|
|
35
|
+
|
|
36
|
+
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
|
|
37
|
+
|
|
38
|
+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
|
|
39
|
+
|
|
40
|
+
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
|
|
41
|
+
|
|
42
|
+
## Learn More
|
|
43
|
+
|
|
44
|
+
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
|
|
45
|
+
|
|
46
|
+
To learn React, check out the [React documentation](https://reactjs.org/).
|
package/lib/cjs/index.js
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/!function(e){"production"!==process.env.NODE_ENV&&function(){var t=a.default,r=y,n=60103,o=60106;e.Fragment=60107;var i=60108,c=60114,s=60109,l=60110,u=60112,f=60113,d=60120,p=60115,v=60116,m=60121,g=60122,h=60117,x=60129,b=60131;if("function"==typeof Symbol&&Symbol.for){var w=Symbol.for;n=w("react.element"),o=w("react.portal"),e.Fragment=w("react.fragment"),i=w("react.strict_mode"),c=w("react.profiler"),s=w("react.provider"),l=w("react.context"),u=w("react.forward_ref"),f=w("react.suspense"),d=w("react.suspense_list"),p=w("react.memo"),v=w("react.lazy"),m=w("react.block"),g=w("react.server.block"),h=w("react.fundamental"),w("react.scope"),w("react.opaque.id"),x=w("react.debug_trace_mode"),w("react.offscreen"),b=w("react.legacy_hidden")}var j="function"==typeof Symbol&&Symbol.iterator;var N=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function C(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];E("error",e,r)}function E(e,t,r){var n=N.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",r=r.concat([n]));var o=r.map((function(e){return""+e}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}function k(e){return e.displayName||"Context"}function O(t){if(null==t)return null;if("number"==typeof t.tag&&C("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case e.Fragment:return"Fragment";case o:return"Portal";case c:return"Profiler";case i:return"StrictMode";case f:return"Suspense";case d:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case l:return k(t)+".Consumer";case s:return k(t._context)+".Provider";case u:return g=t,h=t.render,y="ForwardRef",x=h.displayName||h.name||"",g.displayName||(""!==x?y+"("+x+")":y);case p:return O(t.type);case m:return O(t._render);case v:var r=t,n=r._payload,a=r._init;try{return O(a(n))}catch(e){return null}}var g,h,y,x;return null}var T,R,_,P,S,L,D,F=0;function I(){}I.__reactDisabledLog=!0;var M,A=N.ReactCurrentDispatcher;function B(e,t,r){if(void 0===M)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);M=n&&n[1]||""}return"\n"+M+e}var $,z=!1,W="function"==typeof WeakMap?WeakMap:Map;function Y(e,t){if(!e||z)return"";var n,o=$.get(e);if(void 0!==o)return o;z=!0;var i,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,i=A.current,A.current=null,function(){if(0===F){T=console.log,R=console.info,_=console.warn,P=console.error,S=console.group,L=console.groupCollapsed,D=console.groupEnd;var e={configurable:!0,enumerable:!0,value:I,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}F++}();try{if(t){var c=function(){throw Error()};if(Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(c,[])}catch(e){n=e}Reflect.construct(e,[],c)}else{try{c.call()}catch(e){n=e}e.call(c.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),l=n.stack.split("\n"),u=s.length-1,f=l.length-1;u>=1&&f>=0&&s[u]!==l[f];)f--;for(;u>=1&&f>=0;u--,f--)if(s[u]!==l[f]){if(1!==u||1!==f)do{if(u--,--f<0||s[u]!==l[f]){var d="\n"+s[u].replace(" at new "," at ");return"function"==typeof e&&$.set(e,d),d}}while(u>=1&&f>=0);break}}}finally{z=!1,A.current=i,function(){if(0==--F){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:r({},e,{value:T}),info:r({},e,{value:R}),warn:r({},e,{value:_}),error:r({},e,{value:P}),group:r({},e,{value:S}),groupCollapsed:r({},e,{value:L}),groupEnd:r({},e,{value:D})})}F<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var p=e?e.displayName||e.name:"",v=p?B(p):"";return"function"==typeof e&&$.set(e,v),v}function U(e,t,r){return Y(e,!1)}function X(e,t,r){if(null==e)return"";if("function"==typeof e)return Y(e,!(!(n=e.prototype)||!n.isReactComponent));var n;if("string"==typeof e)return B(e);switch(e){case f:return B("Suspense");case d:return B("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return U(e.render);case p:return X(e.type,t,r);case m:return U(e._render);case v:var o=e,i=o._payload,a=o._init;try{return X(a(i),t,r)}catch(e){}}return""}$=new W;var H={},q=N.ReactDebugCurrentFrame;function G(e){if(e){var t=e._owner,r=X(e.type,e._source,t?t.type:null);q.setExtraStackFrame(r)}else q.setExtraStackFrame(null)}var V,J,K,Z=N.ReactCurrentOwner,Q=Object.prototype.hasOwnProperty,ee={key:!0,ref:!0,__self:!0,__source:!0};K={};function te(e,t,r,o,i){var a,c={},s=null,l=null;for(a in void 0!==r&&(s=""+r),function(e){if(Q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(s=""+t.key),function(e){if(Q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(l=t.ref,function(e,t){if("string"==typeof e.ref&&Z.current&&t&&Z.current.stateNode!==t){var r=O(Z.current.type);K[r]||(C('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',O(Z.current.type),e.ref),K[r]=!0)}}(t,i)),t)Q.call(t,a)&&!ee.hasOwnProperty(a)&&(c[a]=t[a]);if(e&&e.defaultProps){var u=e.defaultProps;for(a in u)void 0===c[a]&&(c[a]=u[a])}if(s||l){var f="function"==typeof e?e.displayName||e.name||"Unknown":e;s&&function(e,t){var r=function(){V||(V=!0,C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(c,f),l&&function(e,t){var r=function(){J||(J=!0,C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}(c,f)}return function(e,t,r,o,i,a,c){var s={$$typeof:n,type:e,key:t,ref:r,props:c,_owner:a,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s}(e,s,l,i,o,Z.current,c)}var re,ne=N.ReactCurrentOwner,oe=N.ReactDebugCurrentFrame;function ie(e){if(e){var t=e._owner,r=X(e.type,e._source,t?t.type:null);oe.setExtraStackFrame(r)}else oe.setExtraStackFrame(null)}function ae(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}function ce(){if(ne.current){var e=O(ne.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}re=!1;var se={};function le(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var r=function(e){var t=ce();if(!t){var r="string"==typeof e?e:e.displayName||e.name;r&&(t="\n\nCheck the top-level render call using <"+r+">.")}return t}(t);if(!se[r]){se[r]=!0;var n="";e&&e._owner&&e._owner!==ne.current&&(n=" It was passed a child from "+O(e._owner.type)+"."),ie(e),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,n),ie(null)}}}function ue(e,t){if("object"==typeof e)if(Array.isArray(e))for(var r=0;r<e.length;r++){var n=e[r];ae(n)&&le(n,t)}else if(ae(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!=typeof e)return null;var t=j&&e[j]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof o&&o!==e.entries)for(var i,a=o.call(e);!(i=a.next()).done;)ae(i.value)&&le(i.value,t)}}function fe(e){var t,r=e.type;if(null!=r&&"string"!=typeof r){if("function"==typeof r)t=r.propTypes;else{if("object"!=typeof r||r.$$typeof!==u&&r.$$typeof!==p)return;t=r.propTypes}if(t){var n=O(r);!function(e,t,r,n,o){var i=Function.call.bind(Object.prototype.hasOwnProperty);for(var a in e)if(i(e,a)){var c=void 0;try{if("function"!=typeof e[a]){var s=Error((n||"React class")+": "+r+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}c=e[a](t,a,n,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){c=e}!c||c instanceof Error||(G(o),C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",r,a,typeof c),G(null)),c instanceof Error&&!(c.message in H)&&(H[c.message]=!0,G(o),C("Failed %s type: %s",r,c.message),G(null))}}(t,e.props,"prop",n,e)}else if(void 0!==r.PropTypes&&!re){re=!0,C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",O(r)||"Unknown")}"function"!=typeof r.getDefaultProps||r.getDefaultProps.isReactClassApproved||C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function de(t,r,o,a,y,w){var j=function(t){return"string"==typeof t||"function"==typeof t||t===e.Fragment||t===c||t===x||t===i||t===f||t===d||t===b||"object"==typeof t&&null!==t&&(t.$$typeof===v||t.$$typeof===p||t.$$typeof===s||t.$$typeof===l||t.$$typeof===u||t.$$typeof===h||t.$$typeof===m||t[0]===g)}(t);if(!j){var N="";(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(N+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var E,k=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(y);N+=k||ce(),null===t?E="null":Array.isArray(t)?E="array":void 0!==t&&t.$$typeof===n?(E="<"+(O(t.type)||"Unknown")+" />",N=" Did you accidentally export a JSX literal instead of a component?"):E=typeof t,C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",E,N)}var T=te(t,r,o,y,w);if(null==T)return T;if(j){var R=r.children;if(void 0!==R)if(a)if(Array.isArray(R)){for(var _=0;_<R.length;_++)ue(R[_],t);Object.freeze&&Object.freeze(R)}else C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ue(R,t)}return t===e.Fragment?function(e){for(var t=Object.keys(e.props),r=0;r<t.length;r++){var n=t[r];if("children"!==n&&"key"!==n){ie(e),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),ie(null);break}}null!==e.ref&&(ie(e),C("Invalid attribute `ref` supplied to `React.Fragment`."),ie(null))}(T):fe(T),T}var pe=function(e,t,r){return de(e,t,r,!1)},ve=function(e,t,r){return de(e,t,r,!0)};e.jsx=pe,e.jsxs=ve}()}(k),"production"===process.env.NODE_ENV?d.exports=p:d.exports=k;var O=a.default.forwardRef((function(e,t){var r=e.children,n=e.container,o=void 0===n?document.body:n,i=a.default.useRef();return a.default.useEffect((function(){var e=function(e){return"function"==typeof e?e():e}(o);return i.current&&e&&e.appendChild(i.current),function(){i.current&&i.current.remove()}}),[i.current]),i.current||(i.current=document.createElement("div")),s.default.createPortal(r,i.current)}));function T(e,t){e&&("function"==typeof e?e(t):e.current=t)}function R(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=[],n=function(t){var n=e[t];if(!n)return"continue";var o=typeof n;if("string"===o||"number"===o)r.push(n);else if(Array.isArray(n)){if(n.length){var i=R.apply(void 0,n);i&&r.push(i)}}else"object"===o?n.toString===Object.prototype.toString&&Object.keys(n).forEach((function(e){n[e]&&r.push(e)})):r.push(n.toString())},o=0;o<e.length;o+=1)n(o);return r.join(" ")}O.propTypes={children:l.default.node,container:l.default.oneOfType([l.default.instanceOf(HTMLElement),l.default.func])},O.defaultProps={children:void 0,container:void 0};function _(e){var t=window,r=document.body,n=void 0!==t.pageXOffset?t.pageXOffset:(document.documentElement||r.parentNode||r).scrollLeft,o=void 0!==t.pageYOffset?t.pageYOffset:(document.documentElement||r.parentNode||r).scrollTop,i=e.getBoundingClientRect();return{bottom:i.bottom+o,height:i.height,left:i.left+n,right:i.right+n,top:i.top+o,width:i.width}}var P={Center:"center",BottomCenter:"bottom-center",BottomRight:"bottom-right",BottomLeft:"bottom-left",TopCenter:"top-center",TopRight:"top-right",TopLeft:"top-left",LeftTop:"left-top",LeftBottom:"left-bottom",LeftCenter:"left-center",RightTop:"right-top",RightBottom:"right-bottom",RightCenter:"right-center"},S=a.default.forwardRef((function(e,t){var r=e.anchorEl,n=e.anchorPosition,o=e.placement,i=void 0===o?P.BottomLeft:o,c=e.open,s=void 0!==c&&c,l=e.overflow,f=void 0!==l&&l,p=e.role,v=e.children,m=e.className,g=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["anchorEl","anchorPosition","placement","open","overflow","role","children","className"]),h=a.default.useRef(null),y=a.default.useRef(null),x=a.default.useState(null),b=x[0],w=x[1],j=a.default.useState({left:window.scrollX,top:window.scrollY,height:window.innerHeight,width:window.innerWidth}),N=j[0],C=j[1],E=a.default.useState({position:"absolute",margin:"0",inset:"0px auto auto 0px",transform:"translate3d(0px, 0px, 0px)",opacity:0}),k=E[0],S=E[1];return a.default.useEffect((function(){w(function(e){var t;if(!e)return document.body;if("[object String]"===Object.prototype.toString.call(e)){var r=document.getElementById(e);return null!=r?r:document.body}var n=e;return n&&n.current?null!==(t=n.current)&&void 0!==t?t:document.body:e}(r))}),[r]),a.default.useEffect((function(){if(t&&h)return T(t,h.current),function(){T(t,null)}}),[t,h.current]),a.default.useEffect((function(){var e=function(){C({height:window.innerHeight,width:window.innerWidth,left:window.scrollX,top:window.scrollY})},t=function(){C({height:window.innerHeight,width:window.innerWidth,left:window.scrollX,top:window.scrollY})};return s&&(window.addEventListener("resize",e),window.addEventListener("scroll",t),C({height:window.innerHeight,width:window.innerWidth,left:window.scrollX,top:window.scrollY})),function(){window.removeEventListener("resize",e),window.removeEventListener("scroll",t)}}),[s]),a.default.useEffect((function(){var e;if(s&&h.current&&b){var t=function(){var e=function(e,t,r,n){var o=0,i=0,a=r?{bottom:r.top,height:0,left:r.left,right:r.left,top:r.top,width:0}:_(t),c=_(n);switch(e){case P.Center:o=a.left+a.width/2-c.width/2,i=a.top+a.height/2-c.height/2;break;case P.BottomLeft:o=a.left,i=a.bottom;break;case P.BottomRight:o=a.left-c.width+a.width,i=a.bottom;break;case P.BottomCenter:o=a.left+a.width/2-c.width/2,i=a.bottom;break;case P.TopLeft:o=a.left,i=a.top-c.height;break;case P.TopRight:o=a.left-c.width+a.width,i=a.top-c.height;break;case P.TopCenter:o=a.left+a.width/2-c.width/2,i=a.top-c.height;break;case P.LeftTop:o=a.left-c.width,i=a.top;break;case P.LeftBottom:o=a.left-c.width,i=a.bottom-c.height;break;case P.LeftCenter:o=a.left-c.width,i=a.top+a.height/2-c.height/2;break;case P.RightTop:o=a.right,i=a.top;break;case P.RightBottom:o=a.right,i=a.bottom-c.height;break;case P.RightCenter:o=a.right,i=a.top+a.height/2-c.height/2}return{left:o,top:i}}(i,b,n,h.current),t=e.left,r=e.top,o=0,a=0;if(!1===f){var c=function(e,t,r,n,o){if(!e)return null;if(!t)return null;var i=t.getBoundingClientRect(),a={left:r,top:n,height:0,width:0};return r<e.left&&(a.left=e.left),n<e.top&&(a.top=e.top),o?(a.width=e.left+e.width-r,a.height=e.top+e.height-n):(r+i.width>=e.left+e.width&&(a.left=e.left+e.width-i.width),n+i.height>=e.top+e.height&&(a.top=e.top+e.height-i.height)),a}(N,h.current,t,r,!1);null!==c&&(t=c.left,r=c.top,o=c.height,a=c.width)}S({position:"absolute",margin:"0",inset:"0px auto auto 0px",transform:"translate3d(".concat(t,"px, ").concat(r,"px, 0px)"),opacity:1,maxHeight:o>0?"".concat(o.toFixed(),"px"):void 0,maxWidth:a>0?"".concat(a.toFixed(),"px"):void 0})};(e=new MutationObserver((function(){t()}))).observe(h.current,{attributes:!1,childList:!0,subtree:!0}),t()}return function(){e&&e.disconnect()}}),[h,b,s,i,n,f,N]),!0!==s?null:d.exports.jsx(O,u({ref:y},{children:d.exports.jsx("div",u({ref:h,style:k,role:p,className:R("ui-popper",m)},g,{children:v}),void 0)}),void 0)})),L=function(e){var t=e.className,r=e.variant,n=void 0===r?"indeterminate":r;return d.exports.jsx("div",u({className:R("ui-spinner","indeterminate"===n?"ui-spinner-indeterminate":"ui-spinner-determinate",t)},{children:"loading..."}),void 0)};L.propTypes={className:l.default.string,variant:l.default.oneOf(["indeterminate","determinate"])},L.defaultProps={className:void 0,variant:"indeterminate"};var D,F=function(e){var t=e.variant,r=e.color,n=e.children,o=e.disable,i=e.className,c=e.onClick,s=a.default.useCallback((function(e){c&&!0!==o&&c(e)}),[c,o]);return d.exports.jsx("button",u({type:"button",className:R("ui-btn",!0===o?"ui-btn-disable":null,null!=t?"ui-btn-".concat(t):"ui-btn-text",null!=r?"ui-btn-color-".concat(r):"ui-btn-color-primary",i),onClick:s},{children:n}),void 0)};!function(e){e[e.Enter=0]="Enter",e[e.Entering=1]="Entering",e[e.Entered=2]="Entered",e[e.Exit=3]="Exit",e[e.Exiting=4]="Exiting",e[e.Exited=5]="Exited"}(D||(D={}));var I=a.default.forwardRef((function(e,t){var r=e.trigger,n=e.mode,o=void 0===n?"appear":n,i=e.children,c=e.enterTimeout,s=e.exitTimeout,l=e.className,f=e.onEnter,p=e.onEntering,v=e.onEntered,m=e.onExit,g=e.onExiting,h=e.onExited,y=a.default.useRef(null),x=a.default.useRef(),b=a.default.useState((function(){return"appear"===o?D.Exited:D.Entered}));b[0],b[1];a.default.useEffect((function(){return function(){x.current&&window.clearTimeout(x.current)}}),[x]),a.default.useEffect((function(){r?(x.current&&window.clearTimeout(x.current),y.current.classList.remove("".concat(l,"-exit")),y.current.classList.remove("".concat(l,"-exiting")),y.current.classList.remove("".concat(l,"-exited")),f&&f(),y.current.classList.add("".concat(l,"-enter")),x.current=window.setTimeout((function(){p&&p(),y.current&&y.current.classList.add("".concat(l,"-entering")),x.current=window.setTimeout((function(){v&&v(),y.current&&y.current.classList.add("".concat(l,"-entered"))}),c||1e3)}),10)):(x.current&&window.clearTimeout(x.current),y.current.classList.remove("".concat(l,"-enter")),y.current.classList.remove("".concat(l,"-entering")),y.current.classList.remove("".concat(l,"-entered")),m&&m(),y.current.classList.add("".concat(l,"-exit")),x.current=window.setTimeout((function(){g&&g(),y.current&&y.current.classList.add("".concat(l,"-exiting")),x.current=window.setTimeout((function(){h&&h(),y.current&&y.current.classList.add("".concat(l,"-exited"))}),s||1e3)})))}),[r]);var w=a.default.useMemo((function(){if(i){var e=u(u({},i.props),{className:R(l,i.props.className),ref:y});return a.default.cloneElement(i,e)}}),[i,y]);return d.exports.jsx(d.exports.Fragment,{children:w},void 0)}));I.propTypes={},I.defaultProps={};var M=a.default.forwardRef((function(e,t){var r=e.trigger,n=e.children,o=e.onEnter,i=e.onEntering,a=e.onEntered,c=e.onExit,s=e.onExiting,l=e.onExited;return d.exports.jsx(I,u({ref:t,trigger:r,mode:"appear",className:"ui-fade",enterTimeout:160,exitTimeout:160,onEnter:o,onExit:c,onEntering:i,onEntered:a,onExiting:s,onExited:l},{children:n}),void 0)}));M.propTypes={},M.defaultProps={};function A(e,t){var r=c.useCallback((function(r){var n=r.target,o=t.reduce((function(e,t){if(!t)return e;var r=function(e){var t;if(!e)return document.body;if("[object String]"===Object.prototype.toString.call(e)){var r=document.getElementById(e);return null!=r?r:document.body}var n=e;return n&&void 0!==n.current?null!==(t=n.current)&&void 0!==t?t:void 0:e}(t);return!1!==e&&r&&null!==r?!r.contains(n):e}),!0);e&&o&&e()}),[e]);c.useEffect((function(){return document.addEventListener("mousedown",r),function(){document.removeEventListener("mousedown",r)}}),[t,r])}var B=function(e){var t=e.tag;e.className;var r=e.onDelete;return d.exports.jsxs("span",u({className:"ui-taginputItem"},{children:[d.exports.jsx("span",u({className:"ui-taginputItemLabel"},{children:t.label}),void 0),d.exports.jsx("button",u({type:"button",className:"ui-taginputItemRemove",onClick:r},{children:"x"}),void 0)]}),void 0)},$=a.default.forwardRef((function(e,t){var r=e.className,n=e.value,o=e.onClick,i=e.onChange,c=a.default.useRef(null),s=a.default.useCallback((function(e){i&&i(e.target.value)}),[i]);return a.default.useEffect((function(){if(t&&c)return T(t,c.current),function(){T(t,null)}}),[t,c]),d.exports.jsx(d.exports.Fragment,{children:d.exports.jsx("input",{ref:c,value:n,className:R("ui-taginputFilter",r),autoComplete:"off",spellCheck:"false","data-form-type":"other",onChange:s,onClick:o},void 0)},void 0)})),z=function(e){var t=e.suggestion,r=e.onClick,n=a.default.useCallback((function(e){r&&r(t,e)}),[r]);return d.exports.jsx("div",u({role:"button",className:"ui-taginputSelectItem",tabIndex:0,onClick:n},{children:t.label}),void 0)},W=function(e){var t=e.group,r=e.onClick,n=Array.isArray(t.suggestions)?t.suggestions.map((function(e,t){return!0===e.group?d.exports.jsx(W,{group:e,onClick:r},t):d.exports.jsx(z,{suggestion:e,onClick:r},t)})):null;return d.exports.jsxs("div",u({className:"ui-taginputSelectGroup"},{children:[d.exports.jsx("span",u({className:"ui-taginputSelectGroupLabel"},{children:t.label}),void 0),d.exports.jsx("div",u({className:"ui-taginputSelectGroupItems"},{children:n}),void 0)]}),void 0)},Y=a.default.forwardRef((function(e,t){var r=e.open,n=e.tags,o=e.disableFilter,i=e.suggestions,c=e.anchorEl,s=e.filter,l=e.onSuggestionClick,f=a.default.useMemo((function(){if(!Array.isArray(i))return[];if(o)return i;var e=Array.isArray(n)&&n.length>0,t=s&&s.length>0,r=[];return i.forEach((function(o){if(!0!==o.group)e&&n.some((function(e){return e.id===o.id}))||t&&o.label.toUpperCase().indexOf(s.toUpperCase())<0||r.push(u({},o));else if(Array.isArray(o.suggestions)){var i=u(u({},o),{suggestions:[]});o.suggestions.forEach((function(r){e&&n.some((function(e){return e.id===r.id}))||t&&r.label.toUpperCase().indexOf(s.toUpperCase())<0||i.suggestions.push(u({},r))})),i.suggestions.length>0&&r.push(i)}})),r}),[i,s,n]),p=a.default.useCallback((function(e){l&&l(e)}),[l]),v=r&&f.length>0,m=f.map((function(e,t){return!0===e.group?d.exports.jsx(W,{group:e,onClick:p},t):d.exports.jsx(z,{suggestion:e,onClick:p},t)}));return d.exports.jsx(S,u({ref:t,open:v,anchorEl:c,placement:P.BottomLeft},{children:d.exports.jsx("div",u({className:"ui-taginputSelect"},{children:m}),void 0)}),void 0)})),U=function(e){e.className;var t=e.children,r=e.onClick;e.onClose;var n=a.default.useRef(null);return d.exports.jsx("div",u({ref:n,className:"ui-menu"},{children:d.exports.jsx("ul",u({className:"ui-menuList",onClick:r,onContextMenu:r},{children:t}),void 0)}),void 0)};U.propTypes={className:l.default.string},U.defaultProps={className:void 0};function X(e){var t=c.useState(),r=t[0],n=t[1];return c.useEffect((function(){n(function(e){var t;if(e){if("[object String]"===Object.prototype.toString.call(e)){var r=document.getElementById(e);return null!=r?r:void 0}var n=e;return n&&void 0!==n.current?null!==(t=n.current)&&void 0!==t?t:void 0:e}}(e))}),[e]),r}var H=function(e){var t=e.className,r=e.children,n=e.placement,o=e.open,i=e.container,c=e.onOpen,s=e.onClose,l=a.default.useRef(null),f=X(i),p=a.default.useState(null),v=p[0],m=p[1];A((function(){o&&s&&s()}),[l]);var g=a.default.useCallback((function(e){e.preventDefault(),e.ctrlKey||(m({mouseX:e.pageX-2,mouseY:e.pageY-4}),c&&c())}),[c]),h=function(e){e.preventDefault()};a.default.useEffect((function(){var e=null!=f?f:document;return e.addEventListener("contextmenu",g),e!==document&&document.addEventListener("contextmenu",h),function(){e.removeEventListener("contextmenu",g),document.removeEventListener("contextmenu",h)}}),[f,g]);return d.exports.jsx(S,u({ref:l,anchorPosition:null!==v?{top:v.mouseY,left:v.mouseX}:void 0,placement:n,open:o,overflow:!1},{children:d.exports.jsx(U,u({className:t,onClose:s,onClick:function(e){e&&2===e.button&&(e.preventDefault(),e.stopPropagation())}},{children:r}),void 0)}),void 0)};H.propTypes={className:l.default.string},H.defaultProps={className:void 0};var q=function(e){var t=e.className;return d.exports.jsx("svg",u({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 7",fill:"none",className:R("ui-icon",t),transform:"rotate(90 0 0)",preserveAspectRatio:"xMidYMid meet"},{children:d.exports.jsx("path",{d:"M5.3,0.3c0.4-0.4,1-0.4,1.4,0l5,5c0.4,0.4,0.4,1,0,1.4c-0.4,0.4-1,0.4-1.4,0L6,2.4L1.7,6.7c-0.4,0.4-1,0.4-1.4,0c-0.4-0.4-0.4-1,0-1.4L5.3,0.3z"},void 0)}),void 0)},G=function(e){var t=e.className;return d.exports.jsx("svg",u({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:R("ui-icon",t)},{children:d.exports.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},void 0)}),void 0)},V=function(e){var t=e.label,r=e.icon,n=e.className;e.active;var o=e.disable,i=e.children,c=e.itemTemplate,s=e.onClick,l=a.default.useState(!1),f=l[0],p=l[1],v=a.default.useCallback((function(){s&&!0!==o&&s()}),[s]),m=null!=i;return d.exports.jsxs("li",u({className:R("ui-menuItem",!0===o?"ui-menuItem-disable":null,n),onMouseEnter:function(){p(!0)},onMouseLeave:function(){p(!1)}},{children:[d.exports.jsxs("button",u({type:"button",className:"ui-menuItem-btn",onClick:v},{children:[r&&d.exports.jsx("div",u({className:"ui-menuItem-icon"},{children:r}),void 0),d.exports.jsx("span",{children:null!=c?c:t},void 0)]}),void 0),m&&d.exports.jsxs(d.exports.Fragment,{children:[d.exports.jsx(q,{className:"ui-menuItem-menuIcon"},void 0),f&&d.exports.jsx(U,{children:i},void 0)]},void 0)]}),void 0)};V.propTypes={className:l.default.string},V.defaultProps={className:void 0};var J=function(e){return e.className,d.exports.jsx("hr",{},void 0)};J.propTypes={className:l.default.string},J.defaultProps={className:void 0};var K=function(e){var t=e.className,r=e.children,n=e.placement,o=e.open,i=e.anchorPosition,c=e.anchorEl,s=e.onClose,l=a.default.useRef(null);A((function(){o&&s&&s()}),[l]);return o&&(i||c)?d.exports.jsx(S,u({ref:l,anchorPosition:i,anchorEl:c,placement:n,open:o,overflow:!1,className:"ui-menu-popper"},{children:d.exports.jsx(U,u({className:t,onClose:s,onClick:function(e){e&&2===e.button&&(e.preventDefault(),e.stopPropagation())}},{children:r}),void 0)}),void 0):null};K.propTypes={className:l.default.string},K.defaultProps={className:void 0};var Z=function(e){var t=e.title,r=e.className,n=e.children;return d.exports.jsxs(d.exports.Fragment,{children:[d.exports.jsx("li",u({className:R("ui-group-title",r)},{children:t}),void 0),n]},void 0)};Z.propTypes={className:l.default.string},Z.defaultProps={className:void 0};var Q=function(e){e.open;var t=e.width,r=e.fullWidth,n=e.fullHeight,o=e.className,i=e.children,c=e.onClose,s=a.default.useRef(),l=a.default.useRef(null),f=a.default.useRef(null);a.default.useEffect((function(){return s.current=document.body.style.overflow,document.body.style.overflow="hidden",function(){var e;document.body.style.overflow=null!==(e=s.current)&&void 0!==e?e:"initial"}}),[]);var p=a.default.useCallback((function(){c&&c()}),[c]);return d.exports.jsx(O,u({ref:l},{children:d.exports.jsxs("div",u({ref:function(e){f.current=e},style:{position:"fixed",margin:"0"},role:"dialog",className:R("ui-dialog",o)},{children:[d.exports.jsx("div",{role:"presentation",className:"ui-dialog-overlay",onClick:p},void 0),d.exports.jsx("div",u({className:R("ui-dialog-container",t?"ui-dialog-size-".concat(t):null,!0===r?"ui-dialog-size-fullwidth":null,!0===n?"ui-dialog-size-fullheight":null)},{children:i}),void 0)]}),void 0)}),void 0)};Q.propTypes={className:l.default.string},Q.defaultProps={className:void 0};var ee=function(e){var t=e.className,r=e.children;return d.exports.jsx("div",u({className:R("ui-dialog-content",t)},{children:r}),void 0)};ee.propTypes={className:l.default.string},ee.defaultProps={className:void 0};var te=function(e){var t=e.className,r=e.children;return d.exports.jsx("footer",u({className:R("ui-dialog-footer",t)},{children:r}),void 0)};te.propTypes={className:l.default.string},te.defaultProps={className:void 0};var re=function(e){var t=e.className,r=e.children;return d.exports.jsx("header",u({className:R("ui-dialog-header",t)},{children:r}),void 0)};re.propTypes={className:l.default.string},re.defaultProps={className:void 0};var ne=function(e){var t=e.className,r=e.children,n=e.closeDisable,o=e.onClose,i=a.default.useCallback((function(){o&&!0!==n&&o()}),[o,n]),c=void 0!==o;return d.exports.jsxs("h3",u({className:R("ui-dialog-title",t)},{children:[r,c&&d.exports.jsx("button",u({type:"button",className:R("ui-dialog-close",n?"ui-dialog-close-disable":null),tabIndex:0,onClick:i},{children:d.exports.jsx(G,{},void 0)}),void 0)]}),void 0)};ne.propTypes={className:l.default.string,children:l.default.node,closeDisable:l.default.bool},ne.defaultProps={className:void 0,children:void 0};var oe=function(e){var t=e.className,r=e.children;return d.exports.jsx("div",u({className:R("ui-dialog-actions",t)},{children:r}),void 0)};oe.propTypes={className:l.default.string,children:l.default.node},oe.defaultProps={className:void 0,children:void 0};var ie=function(e){var t=e.title,r=e.ok,n=e.cancel,o=e.children,i=e.className,c=e.onClose,s=a.default.useCallback((function(){c&&c(!1)}),[c]),l=a.default.useCallback((function(){c&&c(!0)}),[c]),f=null!=r?r:"oui",p=null!=n?n:"Annuler";return d.exports.jsxs(Q,u({open:!0,className:R("ui-dialog-box","ui-dialog-confirm",i)},{children:[d.exports.jsx(re,{children:d.exports.jsxs(d.exports.Fragment,{children:[d.exports.jsxs("svg",u({className:"ui-dialog-icon",xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 438.5 438.5"},{children:[d.exports.jsx("path",{d:"M409.1,109.2c-19.6-33.6-46.2-60.2-79.8-79.8C295.7,9.8,259.1,0,219.3,0c-39.8,0-76.5,9.8-110.1,29.4\n C75.6,49,49,75.6,29.4,109.2C9.8,142.8,0,179.5,0,219.3c0,39.8,9.8,76.5,29.4,110.1c19.6,33.6,46.2,60.2,79.8,79.8\n c33.6,19.6,70.3,29.4,110.1,29.4s76.5-9.8,110.1-29.4c33.6-19.6,60.2-46.2,79.8-79.8c19.6-33.6,29.4-70.3,29.4-110.1\n C438.5,179.5,428.7,142.8,409.1,109.2z M387.4,290.2c-9.7,22.6-22.7,42-39,58.2c-16.3,16.3-35.7,29.3-58.2,39\n c-22.6,9.7-46.2,14.6-70.9,14.6s-48.4-4.9-70.9-14.6c-22.6-9.7-42-22.7-58.2-39c-16.3-16.3-29.3-35.7-39-58.2\n c-9.7-22.6-14.6-46.2-14.6-70.9c0-24.7,4.9-48.4,14.6-70.9c9.7-22.6,22.7-42,39-58.2c16.3-16.3,35.7-29.3,58.2-39\n c22.6-9.7,46.2-14.6,70.9-14.6c24.7,0,48.4,4.9,70.9,14.6c22.6,9.7,42,22.7,58.2,39c16.3,16.3,29.3,35.7,39,58.2\n c9.7,22.6,14.6,46.2,14.6,70.9C402,244,397.1,267.7,387.4,290.2z"},void 0),d.exports.jsx("path",{d:"M217,294c-14.6,0-26.5,12.2-26.5,26.8c0,14.3,11.5,26.8,26.5,26.8s26.8-12.5,26.8-26.8C243.8,306.2,231.6,294,217,294z"},void 0),d.exports.jsx("path",{d:"M221.5,90.8c-47.1,0-68.7,27.9-68.7,46.7c0,13.6,11.5,19.9,20.9,19.9c18.8,0,11.2-26.8,46.7-26.8c17.4,0,31.4,7.7,31.4,23.7\n c0,18.8-19.5,29.6-31,39.4c-10.1,8.7-23.4,23-23.4,53c0,18.1,4.9,23.4,19.2,23.4c17.1,0,20.6-7.7,20.6-14.3\n c0-18.1,0.4-28.6,19.5-43.6c9.4-7.3,39-31,39-63.8S266.1,90.8,221.5,90.8z"},void 0)]}),void 0),d.exports.jsx("h1",u({className:"ui-dialog-title"},{children:t}),void 0)]},void 0)},void 0),d.exports.jsx(ee,{children:o},void 0),d.exports.jsxs(te,{children:[d.exports.jsx(F,u({className:"dialog-action-ok dialog-action",onClick:l},{children:f}),void 0),d.exports.jsx(F,u({className:"dialog-action-close dialog-action",onClick:s},{children:p}),void 0)]},void 0)]}),void 0)};ie.propTypes={className:l.default.string},ie.defaultProps={className:void 0};var ae=function(e){var t=e.title,r=e.ok,n=e.children,o=e.className,i=e.onClose,c=a.default.useCallback((function(){i&&i(!0)}),[i]),s=null!=r?r:"fermer";return d.exports.jsxs(Q,u({open:!0,className:R("ui-dialog-box","ui-dialog-error",o)},{children:[d.exports.jsx(re,{children:d.exports.jsxs(d.exports.Fragment,{children:[d.exports.jsxs("svg",u({className:"ui-dialog-icon",xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 438.533 438.533"},{children:[d.exports.jsx("path",{d:"M409.133,109.203c-19.608-33.592-46.205-60.189-79.798-79.796C295.736,9.801,259.058,0,219.273,0 c-39.781,0-76.47,9.801-110.063,29.407c-33.595,19.604-60.192,46.201-79.8,79.796C9.801,142.8,0,179.489,0,219.267 c0,39.78,9.804,76.463,29.407,110.062c19.607,33.592,46.204,60.189,79.799,79.798c33.597,19.605,70.283,29.407,110.063,29.407 s76.47-9.802,110.065-29.407c33.593-19.602,60.189-46.206,79.795-79.798c19.603-33.596,29.403-70.284,29.403-110.062 C438.533,179.485,428.732,142.795,409.133,109.203z M387.434,290.213c-9.709,22.556-22.696,41.97-38.969,58.245 c-16.271,16.269-35.689,29.26-58.245,38.965c-22.555,9.712-46.202,14.564-70.946,14.564c-24.744,0-48.391-4.853-70.948-14.564 c-22.554-9.705-41.971-22.696-58.245-38.965c-16.269-16.275-29.259-35.687-38.97-58.245 c-9.707-22.552-14.562-46.206-14.562-70.946c0-24.744,4.854-48.391,14.562-70.948c9.707-22.554,22.697-41.968,38.97-58.245 c16.274-16.269,35.691-29.26,58.245-38.97c22.554-9.704,46.205-14.558,70.948-14.558c24.74,0,48.395,4.851,70.946,14.558 c22.556,9.707,41.97,22.698,58.245,38.97c16.272,16.274,29.26,35.688,38.969,58.245c9.709,22.554,14.564,46.201,14.564,70.948 C402.002,244.011,397.143,267.664,387.434,290.213z"},void 0),d.exports.jsx("path",{d:"M284.368,258.668c-19.219-14.086-40.926-21.129-65.095-21.129c-24.172,0-45.871,7.039-65.096,21.129 c-19.224,14.085-32.358,32.641-39.397,55.671c-1.521,4.757-1.143,9.381,1.141,13.847c2.286,4.469,5.898,7.467,10.85,8.993 c4.758,1.526,9.373,1.143,13.846-1.144c4.471-2.285,7.467-5.899,8.991-10.848c4.759-15.235,13.562-27.556,26.409-36.979 c12.847-9.418,27.263-14.127,43.252-14.127c15.987,0,30.412,4.712,43.251,14.127c12.854,9.424,21.655,21.744,26.412,36.979 c1.52,4.948,4.564,8.562,9.134,10.848c4.568,2.286,9.236,2.67,13.989,1.144c4.761-1.526,8.278-4.524,10.564-8.993 c2.286-4.466,2.669-9.09,1.14-13.847C316.729,291.312,303.591,272.75,284.368,258.668z"},void 0),d.exports.jsx("path",{d:"M146.181,182.725c10.085,0,18.699-3.576,25.837-10.709c7.139-7.135,10.708-15.749,10.708-25.837 c0-10.089-3.569-18.699-10.708-25.837s-15.752-10.709-25.837-10.709c-10.088,0-18.702,3.571-25.84,10.709 c-7.135,7.139-10.707,15.749-10.707,25.837c0,10.088,3.568,18.702,10.707,25.837C127.482,179.152,136.093,182.725,146.181,182.725 z"},void 0),d.exports.jsx("path",{d:"M292.359,109.631c-10.089,0-18.706,3.571-25.845,10.709c-7.132,7.139-10.708,15.749-10.708,25.837 c0,10.088,3.576,18.702,10.708,25.837c7.139,7.137,15.756,10.709,25.845,10.709c10.081,0,18.698-3.576,25.837-10.709 c7.139-7.135,10.708-15.749,10.708-25.837c0-10.089-3.569-18.699-10.708-25.837S302.44,109.631,292.359,109.631z"},void 0)]}),void 0),d.exports.jsx("h1",u({className:"ui-dialog-title"},{children:t}),void 0)]},void 0)},void 0),d.exports.jsx(ee,{children:n},void 0),d.exports.jsx(te,{children:d.exports.jsx(F,u({className:"dialog-action-ok dialog-action",onClick:c},{children:s}),void 0)},void 0)]}),void 0)};ae.propTypes={className:l.default.string},ae.defaultProps={className:void 0},e.Button=F,e.ChevronDownIcon=function(e){var t=e.className;return d.exports.jsx("svg",u({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",className:R("ui-icon",t),transform:"rotate(180 0 0)"},{children:d.exports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2929 8.29289C11.6834 7.90237 12.3166 7.90237 12.7071 8.29289L17.7071 13.2929C18.0976 13.6834 18.0976 14.3166 17.7071 14.7071C17.3166 15.0976 16.6834 15.0976 16.2929 14.7071L12 10.4142L7.70711 14.7071C7.31658 15.0976 6.68342 15.0976 6.29289 14.7071C5.90237 14.3166 5.90237 13.6834 6.29289 13.2929L11.2929 8.29289Z"},void 0)}),void 0)},e.ChevronRightIcon=q,e.ConfirmDialog=ie,e.ContextMenu=H,e.CrossIcon=G,e.Dialog=Q,e.DialogActions=oe,e.DialogContent=ee,e.DialogFooter=te,e.DialogHeader=re,e.DialogTitle=ne,e.Divider=J,e.DomContainer=O,e.ErrorDialog=ae,e.Menu=U,e.MenuGroup=Z,e.MenuItem=V,e.Popper=S,e.PopupMenu=K,e.Spinner=L,e.TagInput=function(e){var t=e.tags;e.className;var r=e.suggestions,n=e.disableFilter,o=e.onTextChange,i=e.onChange,c=a.default.useRef(null),s=a.default.useRef(null),l=a.default.useRef(null),p=a.default.useState(""),v=p[0],m=p[1],g=a.default.useState(!1),h=g[0],y=g[1];A((function(){y(!1)}),[c,s]);var x=a.default.useCallback((function(e){if(i&&Array.isArray(t)){var r=t.findIndex((function(t){return t.id===e.id}));if(!(r<0)){var n=f([],t,!0);n.splice(r,1),i(n)}}}),[t,i]),b=a.default.useCallback((function(e){if(e){var r={id:e.id,label:e.label,value:e.value},n=Array.isArray(t)?f(f([],t,!0),[r],!1):[r];y(!1),i&&i(n),m(""),o&&o("")}}),[t,i,o]),w=a.default.useCallback((function(e){m(e),o&&o(e)}),[o]),j=Array.isArray(t)?t.map((function(e,t){return d.exports.jsx(B,{tag:e,onDelete:function(){return x(e)}},t)})):[];return d.exports.jsxs("div",u({ref:l,className:"ui-taginput"},{children:[j,d.exports.jsx($,{ref:c,value:v,onChange:w,onClick:function(){y(!0)}},void 0),d.exports.jsx(Y,{ref:s,open:h,anchorEl:c,filter:v,tags:t,suggestions:r,disableFilter:n,onSuggestionClick:b},void 0)]}),void 0)},e.ToggleButton=function(e){var t=e.selected,r=e.value,n=e.size,o=e.children,i=e.className,c=e.onChange,s=a.default.useCallback((function(){c&&c(r)}),[c,r]);return d.exports.jsx("button",u({type:"button",className:R("ui-toggleBtn",void 0!==n?"ui-toggleBtn-size-".concat(n):"ui-toggleBtn-size-md",!0===t?"ui-toggleBtn-selected":null,i),onClick:s},{children:o}),void 0)},e.Tooltip=function(e){var t=e.children,r=e.title;e.anchorEl;var n=e.enterDelay,o=void 0===n?0:n,i=e.leaveDelay,c=void 0===i?0:i,s=e.className,l=e.disabled,f=a.default.useState(void 0),p=f[0],v=f[1],m=a.default.useState(!1),g=m[0],h=m[1],y=a.default.useState(!0),x=y[0],b=y[1],w=a.default.useRef(),j=a.default.useRef();a.default.useEffect((function(){!0===l&&h(!1)}),[l]);var N,C=function(){h(!0)},E=function(e){clearTimeout(w.current),clearTimeout(j.current),p||v(e.currentTarget),j.current=setTimeout((function(){h(!1)}),c)},k=function(e){clearTimeout(w.current),clearTimeout(j.current),p||v(e.currentTarget),!0!==l&&(w.current=setTimeout((function(){C()}),o))};if(t){var O=u(u({},t.props),{onFocus:function(e){p||v(e.currentTarget),w.current=setTimeout((function(){C()}),o)},onMouseEnter:function(e){clearTimeout(w.current),clearTimeout(j.current),p||v(e.currentTarget),!0!==l&&(w.current=setTimeout((function(){C()}),o))},onMouseLeave:E,onMouseOver:k,onTouchStart:function(e){clearTimeout(w.current),clearTimeout(j.current),p||v(e.currentTarget),!0!==l&&(w.current=setTimeout((function(){C()}),o))}});N=a.default.cloneElement(t,O)}var T=g||!x;return d.exports.jsxs(d.exports.Fragment,{children:[N,!0!==l&&d.exports.jsx(S,u({role:"tooltip",anchorEl:p,open:T,className:R("ui-tooltip",s),onMouseOver:k,onMouseLeave:E},{children:d.exports.jsx(M,u({trigger:g,onEnter:function(){b(!1)},onExited:function(){b(!0)}},{children:d.exports.jsx("div",u({className:"ui-tooltip-content"},{children:r}),void 0)}),void 0)}),void 0)]},void 0)},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
17
|
+
*/!function(e){"production"!==process.env.NODE_ENV&&function(){var t=a.default,r=y,n=60103,o=60106;e.Fragment=60107;var i=60108,c=60114,s=60109,l=60110,u=60112,f=60113,d=60120,p=60115,v=60116,m=60121,g=60122,h=60117,x=60129,b=60131;if("function"==typeof Symbol&&Symbol.for){var w=Symbol.for;n=w("react.element"),o=w("react.portal"),e.Fragment=w("react.fragment"),i=w("react.strict_mode"),c=w("react.profiler"),s=w("react.provider"),l=w("react.context"),u=w("react.forward_ref"),f=w("react.suspense"),d=w("react.suspense_list"),p=w("react.memo"),v=w("react.lazy"),m=w("react.block"),g=w("react.server.block"),h=w("react.fundamental"),w("react.scope"),w("react.opaque.id"),x=w("react.debug_trace_mode"),w("react.offscreen"),b=w("react.legacy_hidden")}var j="function"==typeof Symbol&&Symbol.iterator;var N=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function C(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];E("error",e,r)}function E(e,t,r){var n=N.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",r=r.concat([n]));var o=r.map((function(e){return""+e}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}function k(e){return e.displayName||"Context"}function O(t){if(null==t)return null;if("number"==typeof t.tag&&C("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case e.Fragment:return"Fragment";case o:return"Portal";case c:return"Profiler";case i:return"StrictMode";case f:return"Suspense";case d:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case l:return k(t)+".Consumer";case s:return k(t._context)+".Provider";case u:return g=t,h=t.render,y="ForwardRef",x=h.displayName||h.name||"",g.displayName||(""!==x?y+"("+x+")":y);case p:return O(t.type);case m:return O(t._render);case v:var r=t,n=r._payload,a=r._init;try{return O(a(n))}catch(e){return null}}var g,h,y,x;return null}var T,R,_,P,S,L,D,F=0;function I(){}I.__reactDisabledLog=!0;var M,A=N.ReactCurrentDispatcher;function B(e,t,r){if(void 0===M)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);M=n&&n[1]||""}return"\n"+M+e}var $,z=!1,W="function"==typeof WeakMap?WeakMap:Map;function Y(e,t){if(!e||z)return"";var n,o=$.get(e);if(void 0!==o)return o;z=!0;var i,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,i=A.current,A.current=null,function(){if(0===F){T=console.log,R=console.info,_=console.warn,P=console.error,S=console.group,L=console.groupCollapsed,D=console.groupEnd;var e={configurable:!0,enumerable:!0,value:I,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}F++}();try{if(t){var c=function(){throw Error()};if(Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(c,[])}catch(e){n=e}Reflect.construct(e,[],c)}else{try{c.call()}catch(e){n=e}e.call(c.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),l=n.stack.split("\n"),u=s.length-1,f=l.length-1;u>=1&&f>=0&&s[u]!==l[f];)f--;for(;u>=1&&f>=0;u--,f--)if(s[u]!==l[f]){if(1!==u||1!==f)do{if(u--,--f<0||s[u]!==l[f]){var d="\n"+s[u].replace(" at new "," at ");return"function"==typeof e&&$.set(e,d),d}}while(u>=1&&f>=0);break}}}finally{z=!1,A.current=i,function(){if(0==--F){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:r({},e,{value:T}),info:r({},e,{value:R}),warn:r({},e,{value:_}),error:r({},e,{value:P}),group:r({},e,{value:S}),groupCollapsed:r({},e,{value:L}),groupEnd:r({},e,{value:D})})}F<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var p=e?e.displayName||e.name:"",v=p?B(p):"";return"function"==typeof e&&$.set(e,v),v}function U(e,t,r){return Y(e,!1)}function X(e,t,r){if(null==e)return"";if("function"==typeof e)return Y(e,!(!(n=e.prototype)||!n.isReactComponent));var n;if("string"==typeof e)return B(e);switch(e){case f:return B("Suspense");case d:return B("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return U(e.render);case p:return X(e.type,t,r);case m:return U(e._render);case v:var o=e,i=o._payload,a=o._init;try{return X(a(i),t,r)}catch(e){}}return""}$=new W;var H={},q=N.ReactDebugCurrentFrame;function G(e){if(e){var t=e._owner,r=X(e.type,e._source,t?t.type:null);q.setExtraStackFrame(r)}else q.setExtraStackFrame(null)}var V,J,K,Z=N.ReactCurrentOwner,Q=Object.prototype.hasOwnProperty,ee={key:!0,ref:!0,__self:!0,__source:!0};K={};function te(e,t,r,o,i){var a,c={},s=null,l=null;for(a in void 0!==r&&(s=""+r),function(e){if(Q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(s=""+t.key),function(e){if(Q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(l=t.ref,function(e,t){if("string"==typeof e.ref&&Z.current&&t&&Z.current.stateNode!==t){var r=O(Z.current.type);K[r]||(C('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',O(Z.current.type),e.ref),K[r]=!0)}}(t,i)),t)Q.call(t,a)&&!ee.hasOwnProperty(a)&&(c[a]=t[a]);if(e&&e.defaultProps){var u=e.defaultProps;for(a in u)void 0===c[a]&&(c[a]=u[a])}if(s||l){var f="function"==typeof e?e.displayName||e.name||"Unknown":e;s&&function(e,t){var r=function(){V||(V=!0,C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(c,f),l&&function(e,t){var r=function(){J||(J=!0,C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}(c,f)}return function(e,t,r,o,i,a,c){var s={$$typeof:n,type:e,key:t,ref:r,props:c,_owner:a,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s}(e,s,l,i,o,Z.current,c)}var re,ne=N.ReactCurrentOwner,oe=N.ReactDebugCurrentFrame;function ie(e){if(e){var t=e._owner,r=X(e.type,e._source,t?t.type:null);oe.setExtraStackFrame(r)}else oe.setExtraStackFrame(null)}function ae(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}function ce(){if(ne.current){var e=O(ne.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}re=!1;var se={};function le(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var r=function(e){var t=ce();if(!t){var r="string"==typeof e?e:e.displayName||e.name;r&&(t="\n\nCheck the top-level render call using <"+r+">.")}return t}(t);if(!se[r]){se[r]=!0;var n="";e&&e._owner&&e._owner!==ne.current&&(n=" It was passed a child from "+O(e._owner.type)+"."),ie(e),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,n),ie(null)}}}function ue(e,t){if("object"==typeof e)if(Array.isArray(e))for(var r=0;r<e.length;r++){var n=e[r];ae(n)&&le(n,t)}else if(ae(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!=typeof e)return null;var t=j&&e[j]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof o&&o!==e.entries)for(var i,a=o.call(e);!(i=a.next()).done;)ae(i.value)&&le(i.value,t)}}function fe(e){var t,r=e.type;if(null!=r&&"string"!=typeof r){if("function"==typeof r)t=r.propTypes;else{if("object"!=typeof r||r.$$typeof!==u&&r.$$typeof!==p)return;t=r.propTypes}if(t){var n=O(r);!function(e,t,r,n,o){var i=Function.call.bind(Object.prototype.hasOwnProperty);for(var a in e)if(i(e,a)){var c=void 0;try{if("function"!=typeof e[a]){var s=Error((n||"React class")+": "+r+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}c=e[a](t,a,n,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){c=e}!c||c instanceof Error||(G(o),C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",r,a,typeof c),G(null)),c instanceof Error&&!(c.message in H)&&(H[c.message]=!0,G(o),C("Failed %s type: %s",r,c.message),G(null))}}(t,e.props,"prop",n,e)}else if(void 0!==r.PropTypes&&!re){re=!0,C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",O(r)||"Unknown")}"function"!=typeof r.getDefaultProps||r.getDefaultProps.isReactClassApproved||C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function de(t,r,o,a,y,w){var j=function(t){return"string"==typeof t||"function"==typeof t||t===e.Fragment||t===c||t===x||t===i||t===f||t===d||t===b||"object"==typeof t&&null!==t&&(t.$$typeof===v||t.$$typeof===p||t.$$typeof===s||t.$$typeof===l||t.$$typeof===u||t.$$typeof===h||t.$$typeof===m||t[0]===g)}(t);if(!j){var N="";(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(N+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var E,k=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(y);N+=k||ce(),null===t?E="null":Array.isArray(t)?E="array":void 0!==t&&t.$$typeof===n?(E="<"+(O(t.type)||"Unknown")+" />",N=" Did you accidentally export a JSX literal instead of a component?"):E=typeof t,C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",E,N)}var T=te(t,r,o,y,w);if(null==T)return T;if(j){var R=r.children;if(void 0!==R)if(a)if(Array.isArray(R)){for(var _=0;_<R.length;_++)ue(R[_],t);Object.freeze&&Object.freeze(R)}else C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ue(R,t)}return t===e.Fragment?function(e){for(var t=Object.keys(e.props),r=0;r<t.length;r++){var n=t[r];if("children"!==n&&"key"!==n){ie(e),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),ie(null);break}}null!==e.ref&&(ie(e),C("Invalid attribute `ref` supplied to `React.Fragment`."),ie(null))}(T):fe(T),T}var pe=function(e,t,r){return de(e,t,r,!1)},ve=function(e,t,r){return de(e,t,r,!0)};e.jsx=pe,e.jsxs=ve}()}(k),"production"===process.env.NODE_ENV?d.exports=p:d.exports=k;var O=a.default.forwardRef((function(e,t){var r=e.children,n=e.container,o=void 0===n?document.body:n,i=a.default.useRef();return a.default.useEffect((function(){var e=function(e){return"function"==typeof e?e():e}(o);return i.current&&e&&e.appendChild(i.current),function(){i.current&&i.current.remove()}}),[i.current]),i.current||(i.current=document.createElement("div")),s.default.createPortal(r,i.current)}));function T(e,t){e&&("function"==typeof e?e(t):e.current=t)}function R(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=[],n=function(t){var n=e[t];if(!n)return"continue";var o=typeof n;if("string"===o||"number"===o)r.push(n);else if(Array.isArray(n)){if(n.length){var i=R.apply(void 0,n);i&&r.push(i)}}else"object"===o?n.toString===Object.prototype.toString&&Object.keys(n).forEach((function(e){n[e]&&r.push(e)})):r.push(n.toString())},o=0;o<e.length;o+=1)n(o);return r.join(" ")}O.propTypes={children:l.default.node,container:l.default.oneOfType([l.default.instanceOf(HTMLElement),l.default.func])},O.defaultProps={children:void 0,container:void 0};function _(e){var t=window,r=document.body,n=void 0!==t.pageXOffset?t.pageXOffset:(document.documentElement||r.parentNode||r).scrollLeft,o=void 0!==t.pageYOffset?t.pageYOffset:(document.documentElement||r.parentNode||r).scrollTop,i=e.getBoundingClientRect();return{bottom:i.bottom+o,height:i.height,left:i.left+n,right:i.right+n,top:i.top+o,width:i.width}}var P={Center:"center",BottomCenter:"bottom-center",BottomRight:"bottom-right",BottomLeft:"bottom-left",TopCenter:"top-center",TopRight:"top-right",TopLeft:"top-left",LeftTop:"left-top",LeftBottom:"left-bottom",LeftCenter:"left-center",RightTop:"right-top",RightBottom:"right-bottom",RightCenter:"right-center"},S=a.default.forwardRef((function(e,t){var r=e.anchorEl,n=e.anchorPosition,o=e.placement,i=void 0===o?P.BottomLeft:o,c=e.open,s=void 0!==c&&c,l=e.overflow,f=void 0!==l&&l,p=e.role,v=e.children,m=e.className,g=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["anchorEl","anchorPosition","placement","open","overflow","role","children","className"]),h=a.default.useRef(null),y=a.default.useRef(null),x=a.default.useState(null),b=x[0],w=x[1],j=a.default.useState({left:window.scrollX,top:window.scrollY,height:window.innerHeight,width:window.innerWidth}),N=j[0],C=j[1],E=a.default.useState({position:"absolute",margin:"0",inset:"0px auto auto 0px",transform:"translate3d(0px, 0px, 0px)",opacity:0}),k=E[0],S=E[1];return a.default.useEffect((function(){w(function(e){var t;if(!e)return document.body;if("[object String]"===Object.prototype.toString.call(e)){var r=document.getElementById(e);return null!=r?r:document.body}var n=e;return n&&n.current?null!==(t=n.current)&&void 0!==t?t:document.body:e}(r))}),[r]),a.default.useEffect((function(){if(t&&h)return T(t,h.current),function(){T(t,null)}}),[t,h.current]),a.default.useEffect((function(){var e=function(){C({height:window.innerHeight,width:window.innerWidth,left:window.scrollX,top:window.scrollY})},t=function(){C({height:window.innerHeight,width:window.innerWidth,left:window.scrollX,top:window.scrollY})};return s&&(window.addEventListener("resize",e),window.addEventListener("scroll",t),C({height:window.innerHeight,width:window.innerWidth,left:window.scrollX,top:window.scrollY})),function(){window.removeEventListener("resize",e),window.removeEventListener("scroll",t)}}),[s]),a.default.useEffect((function(){var e;if(s&&h.current&&b){var t=function(){var e=function(e,t,r,n){var o=0,i=0,a=r?{bottom:r.top,height:0,left:r.left,right:r.left,top:r.top,width:0}:_(t),c=_(n);switch(e){case P.Center:o=a.left+a.width/2-c.width/2,i=a.top+a.height/2-c.height/2;break;case P.BottomLeft:o=a.left,i=a.bottom;break;case P.BottomRight:o=a.left-c.width+a.width,i=a.bottom;break;case P.BottomCenter:o=a.left+a.width/2-c.width/2,i=a.bottom;break;case P.TopLeft:o=a.left,i=a.top-c.height;break;case P.TopRight:o=a.left-c.width+a.width,i=a.top-c.height;break;case P.TopCenter:o=a.left+a.width/2-c.width/2,i=a.top-c.height;break;case P.LeftTop:o=a.left-c.width,i=a.top;break;case P.LeftBottom:o=a.left-c.width,i=a.bottom-c.height;break;case P.LeftCenter:o=a.left-c.width,i=a.top+a.height/2-c.height/2;break;case P.RightTop:o=a.right,i=a.top;break;case P.RightBottom:o=a.right,i=a.bottom-c.height;break;case P.RightCenter:o=a.right,i=a.top+a.height/2-c.height/2}return{left:o,top:i}}(i,b,n,h.current),t=e.left,r=e.top,o=0,a=0;if(!1===f){var c=function(e,t,r,n,o){if(!e)return null;if(!t)return null;var i=t.getBoundingClientRect(),a={left:r,top:n,height:0,width:0};return r<e.left&&(a.left=e.left),n<e.top&&(a.top=e.top),o?(a.width=e.left+e.width-r,a.height=e.top+e.height-n):(r+i.width>=e.left+e.width&&(a.left=e.left+e.width-i.width),n+i.height>=e.top+e.height&&(a.top=e.top+e.height-i.height)),a}(N,h.current,t,r,!1);null!==c&&(t=c.left,r=c.top,o=c.height,a=c.width)}S({position:"absolute",margin:"0",inset:"0px auto auto 0px",transform:"translate3d(".concat(t,"px, ").concat(r,"px, 0px)"),opacity:1,maxHeight:o>0?"".concat(o.toFixed(),"px"):void 0,maxWidth:a>0?"".concat(a.toFixed(),"px"):void 0})};(e=new MutationObserver((function(){t()}))).observe(h.current,{attributes:!1,childList:!0,subtree:!0}),t()}return function(){e&&e.disconnect()}}),[h,b,s,i,n,f,N]),!0!==s?null:d.exports.jsx(O,u({ref:y},{children:d.exports.jsx("div",u({ref:h,style:k,role:p,className:R("ui-popper",m)},g,{children:v}),void 0)}),void 0)})),L=function(e){var t=e.className,r=e.variant,n=void 0===r?"indeterminate":r;return d.exports.jsx("div",u({className:R("ui-spinner","indeterminate"===n?"ui-spinner-indeterminate":"ui-spinner-determinate",t)},{children:"loading..."}),void 0)};L.propTypes={className:l.default.string,variant:l.default.oneOf(["indeterminate","determinate"])},L.defaultProps={className:void 0,variant:"indeterminate"};var D,F=function(e){var t=e.variant,r=e.color,n=e.children,o=e.disable,i=e.className,c=e.onClick,s=a.default.useCallback((function(e){c&&!0!==o&&c(e)}),[c,o]);return d.exports.jsx("button",u({type:"button",className:R("ui-btn",!0===o?"ui-btn-disable":null,null!=t?"ui-btn-".concat(t):"ui-btn-text",null!=r?"ui-btn-color-".concat(r):"ui-btn-color-primary",i),onClick:s},{children:n}),void 0)};!function(e){e[e.Enter=0]="Enter",e[e.Entering=1]="Entering",e[e.Entered=2]="Entered",e[e.Exit=3]="Exit",e[e.Exiting=4]="Exiting",e[e.Exited=5]="Exited"}(D||(D={}));var I=a.default.forwardRef((function(e,t){var r=e.trigger,n=e.mode,o=void 0===n?"appear":n,i=e.children,c=e.enterTimeout,s=e.exitTimeout,l=e.className,f=e.onEnter,p=e.onEntering,v=e.onEntered,m=e.onExit,g=e.onExiting,h=e.onExited,y=a.default.useRef(null),x=a.default.useRef(),b=a.default.useState((function(){return"appear"===o?D.Exited:D.Entered}));b[0],b[1];a.default.useEffect((function(){return function(){x.current&&window.clearTimeout(x.current)}}),[x]),a.default.useEffect((function(){r?(x.current&&window.clearTimeout(x.current),y.current.classList.remove("".concat(l,"-exit")),y.current.classList.remove("".concat(l,"-exiting")),y.current.classList.remove("".concat(l,"-exited")),f&&f(),y.current.classList.add("".concat(l,"-enter")),x.current=window.setTimeout((function(){p&&p(),y.current&&y.current.classList.add("".concat(l,"-entering")),x.current=window.setTimeout((function(){v&&v(),y.current&&y.current.classList.add("".concat(l,"-entered"))}),c||1e3)}),10)):(x.current&&window.clearTimeout(x.current),y.current.classList.remove("".concat(l,"-enter")),y.current.classList.remove("".concat(l,"-entering")),y.current.classList.remove("".concat(l,"-entered")),m&&m(),y.current.classList.add("".concat(l,"-exit")),x.current=window.setTimeout((function(){g&&g(),y.current&&y.current.classList.add("".concat(l,"-exiting")),x.current=window.setTimeout((function(){h&&h(),y.current&&y.current.classList.add("".concat(l,"-exited"))}),s||1e3)})))}),[r]);var w=a.default.useMemo((function(){if(i){var e=u(u({},i.props),{className:R(l,i.props.className),ref:y});return a.default.cloneElement(i,e)}}),[i,y]);return d.exports.jsx(d.exports.Fragment,{children:w},void 0)}));I.propTypes={},I.defaultProps={};var M=a.default.forwardRef((function(e,t){var r=e.trigger,n=e.children,o=e.onEnter,i=e.onEntering,a=e.onEntered,c=e.onExit,s=e.onExiting,l=e.onExited;return d.exports.jsx(I,u({ref:t,trigger:r,mode:"appear",className:"ui-fade",enterTimeout:160,exitTimeout:160,onEnter:o,onExit:c,onEntering:i,onEntered:a,onExiting:s,onExited:l},{children:n}),void 0)}));M.propTypes={},M.defaultProps={};function A(e,t){var r=c.useCallback((function(r){var n=r.target,o=t.reduce((function(e,t){if(!t)return e;var r=function(e){var t;if(!e)return document.body;if("[object String]"===Object.prototype.toString.call(e)){var r=document.getElementById(e);return null!=r?r:document.body}var n=e;return n&&void 0!==n.current?null!==(t=n.current)&&void 0!==t?t:void 0:e}(t);return!1!==e&&r&&null!==r?!r.contains(n):e}),!0);e&&o&&e()}),[e]);c.useEffect((function(){return document.addEventListener("mousedown",r),function(){document.removeEventListener("mousedown",r)}}),[t,r])}var B=function(e){var t=e.tag;e.className;var r=e.onDelete;return d.exports.jsxs("span",u({className:"ui-taginputItem"},{children:[d.exports.jsx("span",u({className:"ui-taginputItemLabel"},{children:t.label}),void 0),d.exports.jsx("button",u({type:"button",className:"ui-taginputItemRemove",onClick:r},{children:"x"}),void 0)]}),void 0)},$=a.default.forwardRef((function(e,t){var r=e.className,n=e.value,o=e.onClick,i=e.onChange,c=a.default.useRef(null),s=a.default.useCallback((function(e){i&&i(e.target.value)}),[i]);return a.default.useEffect((function(){if(t&&c)return T(t,c.current),function(){T(t,null)}}),[t,c]),d.exports.jsx(d.exports.Fragment,{children:d.exports.jsx("input",{ref:c,value:n,className:R("ui-taginputFilter",r),autoComplete:"off",spellCheck:"false","data-form-type":"other",onChange:s,onClick:o},void 0)},void 0)})),z=function(e){var t=e.suggestion,r=e.onClick,n=a.default.useCallback((function(e){r&&r(t,e)}),[r]);return d.exports.jsx("div",u({role:"button",className:"ui-taginputSelectItem",tabIndex:0,onClick:n},{children:t.label}),void 0)},W=function(e){var t=e.group,r=e.onClick,n=Array.isArray(t.suggestions)?t.suggestions.map((function(e,t){return!0===e.group?d.exports.jsx(W,{group:e,onClick:r},t):d.exports.jsx(z,{suggestion:e,onClick:r},t)})):null;return d.exports.jsxs("div",u({className:"ui-taginputSelectGroup"},{children:[d.exports.jsx("span",u({className:"ui-taginputSelectGroupLabel"},{children:t.label}),void 0),d.exports.jsx("div",u({className:"ui-taginputSelectGroupItems"},{children:n}),void 0)]}),void 0)},Y=a.default.forwardRef((function(e,t){var r=e.open,n=e.tags,o=e.disableFilter,i=e.suggestions,c=e.anchorEl,s=e.filter,l=e.onSuggestionClick,f=a.default.useMemo((function(){if(!Array.isArray(i))return[];if(o)return i;var e=Array.isArray(n)&&n.length>0,t=s&&s.length>0,r=[];return i.forEach((function(o){if(!0!==o.group)e&&n.some((function(e){return e.id===o.id}))||t&&o.label.toUpperCase().indexOf(s.toUpperCase())<0||r.push(u({},o));else if(Array.isArray(o.suggestions)){var i=u(u({},o),{suggestions:[]});o.suggestions.forEach((function(r){e&&n.some((function(e){return e.id===r.id}))||t&&r.label.toUpperCase().indexOf(s.toUpperCase())<0||i.suggestions.push(u({},r))})),i.suggestions.length>0&&r.push(i)}})),r}),[i,s,n]),p=a.default.useCallback((function(e){l&&l(e)}),[l]),v=r&&f.length>0,m=f.map((function(e,t){return!0===e.group?d.exports.jsx(W,{group:e,onClick:p},t):d.exports.jsx(z,{suggestion:e,onClick:p},t)}));return d.exports.jsx(S,u({ref:t,open:v,anchorEl:c,placement:P.BottomLeft},{children:d.exports.jsx("div",u({className:"ui-taginputSelect"},{children:m}),void 0)}),void 0)})),U=function(e){e.className;var t=e.children,r=e.onClick;e.onClose;var n=a.default.useRef(null);return d.exports.jsx("div",u({ref:n,className:"ui-menu"},{children:d.exports.jsx("ul",u({className:"ui-menuList",onClick:r,onContextMenu:r},{children:t}),void 0)}),void 0)};U.propTypes={className:l.default.string},U.defaultProps={className:void 0};function X(e){var t=c.useState(),r=t[0],n=t[1];return c.useEffect((function(){n(function(e){var t;if(e){if("[object String]"===Object.prototype.toString.call(e)){var r=document.getElementById(e);return null!=r?r:void 0}var n=e;return n&&void 0!==n.current?null!==(t=n.current)&&void 0!==t?t:void 0:e}}(e))}),[e]),r}var H=function(e){var t=e.className,r=e.children,n=e.placement,o=e.open,i=e.container,c=e.onOpen,s=e.onClose,l=a.default.useRef(null),f=X(i),p=a.default.useState(null),v=p[0],m=p[1];A((function(){o&&s&&s()}),[l]);var g=a.default.useCallback((function(e){e.preventDefault(),e.ctrlKey||(m({mouseX:e.pageX-2,mouseY:e.pageY-4}),c&&c())}),[c]),h=function(e){e.preventDefault()};a.default.useEffect((function(){var e=null!=f?f:document;return e.addEventListener("contextmenu",g),e!==document&&document.addEventListener("contextmenu",h),function(){e.removeEventListener("contextmenu",g),document.removeEventListener("contextmenu",h)}}),[f,g]);return d.exports.jsx(S,u({ref:l,anchorPosition:null!==v?{top:v.mouseY,left:v.mouseX}:void 0,placement:n,open:o,overflow:!1},{children:d.exports.jsx(U,u({className:t,onClose:s,onClick:function(e){e&&2===e.button&&(e.preventDefault(),e.stopPropagation())}},{children:r}),void 0)}),void 0)};H.propTypes={className:l.default.string},H.defaultProps={className:void 0};var q=function(e){var t=e.className;return d.exports.jsx("svg",u({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 7",fill:"none",className:R("ui-icon",t),transform:"rotate(90 0 0)",preserveAspectRatio:"xMidYMid meet"},{children:d.exports.jsx("path",{d:"M5.3,0.3c0.4-0.4,1-0.4,1.4,0l5,5c0.4,0.4,0.4,1,0,1.4c-0.4,0.4-1,0.4-1.4,0L6,2.4L1.7,6.7c-0.4,0.4-1,0.4-1.4,0c-0.4-0.4-0.4-1,0-1.4L5.3,0.3z"},void 0)}),void 0)},G=function(e){var t=e.className;return d.exports.jsx("svg",u({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:R("ui-icon",t)},{children:d.exports.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},void 0)}),void 0)},V=function(e){var t=e.label,r=e.icon,n=e.className;e.active;var o=e.disable,i=e.children,c=e.itemTemplate,s=e.onClick,l=a.default.useState(!1),f=l[0],p=l[1],v=a.default.useCallback((function(){s&&!0!==o&&s()}),[s]),m=null!=i;return d.exports.jsxs("li",u({className:R("ui-menuItem",!0===o?"ui-menuItem-disable":null,n),onMouseEnter:function(){p(!0)},onMouseLeave:function(){p(!1)}},{children:[d.exports.jsxs("button",u({type:"button",className:"ui-menuItem-btn",onClick:v},{children:[r&&d.exports.jsx("div",u({className:"ui-menuItem-icon"},{children:r}),void 0),d.exports.jsx("span",{children:null!=c?c:t},void 0)]}),void 0),m&&d.exports.jsxs(d.exports.Fragment,{children:[d.exports.jsx(q,{className:"ui-menuItem-menuIcon"},void 0),f&&d.exports.jsx(U,{children:i},void 0)]},void 0)]}),void 0)};V.propTypes={className:l.default.string},V.defaultProps={className:void 0};var J=function(e){return e.className,d.exports.jsx("hr",{},void 0)};J.propTypes={className:l.default.string},J.defaultProps={className:void 0};var K=function(e){var t=e.className,r=e.children,n=e.placement,o=e.open,i=e.anchorPosition,c=e.anchorEl,s=e.onClose,l=a.default.useRef(null);A((function(){o&&s&&s()}),[l]);return o&&(i||c)?d.exports.jsx(S,u({ref:l,anchorPosition:i,anchorEl:c,placement:n,open:o,overflow:!1,className:"ui-menu-popper"},{children:d.exports.jsx(U,u({className:t,onClose:s,onClick:function(e){e&&2===e.button&&(e.preventDefault(),e.stopPropagation())}},{children:r}),void 0)}),void 0):null};K.propTypes={className:l.default.string},K.defaultProps={className:void 0};var Z=function(e){var t=e.title,r=e.className,n=e.children;return d.exports.jsxs(d.exports.Fragment,{children:[d.exports.jsx("li",u({className:R("ui-group-title",r)},{children:t}),void 0),n]},void 0)};Z.propTypes={className:l.default.string},Z.defaultProps={className:void 0};var Q=function(e){e.open;var t=e.width,r=e.fullWidth,n=e.fullHeight,o=e.className,i=e.children,c=e.onClose,s=a.default.useRef(),l=a.default.useRef(null),f=a.default.useRef(null);a.default.useEffect((function(){return s.current=document.body.style.overflow,document.body.style.overflow="hidden",function(){var e;document.body.style.overflow=null!==(e=s.current)&&void 0!==e?e:"initial"}}),[]);var p=a.default.useCallback((function(){c&&c()}),[c]);return d.exports.jsx(O,u({ref:l},{children:d.exports.jsxs("div",u({ref:function(e){f.current=e},style:{position:"fixed",margin:"0"},role:"dialog",className:R("ui-dialog",o)},{children:[d.exports.jsx("div",{role:"presentation",className:"ui-dialog-overlay",onClick:p},void 0),d.exports.jsx("div",u({className:R("ui-dialog-container",t?"ui-dialog-size-".concat(t):null,!0===r?"ui-dialog-size-fullwidth":null,!0===n?"ui-dialog-size-fullheight":null)},{children:i}),void 0)]}),void 0)}),void 0)};Q.propTypes={className:l.default.string},Q.defaultProps={className:void 0};var ee=function(e){var t=e.className,r=e.children;return d.exports.jsx("div",u({className:R("ui-dialog-content",t)},{children:r}),void 0)};ee.propTypes={className:l.default.string},ee.defaultProps={className:void 0};var te=function(e){var t=e.className,r=e.children;return d.exports.jsx("footer",u({className:R("ui-dialog-footer",t)},{children:r}),void 0)};te.propTypes={className:l.default.string},te.defaultProps={className:void 0};var re=function(e){var t=e.className,r=e.children;return d.exports.jsx("header",u({className:R("ui-dialog-header",t)},{children:r}),void 0)};re.propTypes={className:l.default.string},re.defaultProps={className:void 0};var ne=function(e){var t=e.className,r=e.children,n=e.closeDisable,o=e.onClose,i=a.default.useCallback((function(){o&&!0!==n&&o()}),[o,n]),c=void 0!==o;return d.exports.jsxs("h3",u({className:R("ui-dialog-title",t)},{children:[r,c&&d.exports.jsx("button",u({type:"button",className:R("ui-dialog-close",n?"ui-dialog-close-disable":null),tabIndex:0,onClick:i},{children:d.exports.jsx(G,{},void 0)}),void 0)]}),void 0)};ne.propTypes={className:l.default.string,children:l.default.node,closeDisable:l.default.bool},ne.defaultProps={className:void 0,children:void 0};var oe=function(e){var t=e.className,r=e.children;return d.exports.jsx("div",u({className:R("ui-dialog-actions",t)},{children:r}),void 0)};oe.propTypes={className:l.default.string,children:l.default.node},oe.defaultProps={className:void 0,children:void 0};var ie=function(e){var t=e.title,r=e.ok,n=e.cancel,o=e.children,i=e.className,c=e.onClose,s=a.default.useCallback((function(){c&&c(!1)}),[c]),l=a.default.useCallback((function(){c&&c(!0)}),[c]),f=null!=r?r:"oui",p=null!=n?n:"Annuler";return d.exports.jsxs(Q,u({open:!0,className:R("ui-dialog-box","ui-dialog-confirm",i)},{children:[d.exports.jsx(re,{children:d.exports.jsxs(d.exports.Fragment,{children:[d.exports.jsxs("svg",u({className:"ui-dialog-icon",xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 438.5 438.5"},{children:[d.exports.jsx("path",{d:"M409.1,109.2c-19.6-33.6-46.2-60.2-79.8-79.8C295.7,9.8,259.1,0,219.3,0c-39.8,0-76.5,9.8-110.1,29.4\r\n C75.6,49,49,75.6,29.4,109.2C9.8,142.8,0,179.5,0,219.3c0,39.8,9.8,76.5,29.4,110.1c19.6,33.6,46.2,60.2,79.8,79.8\r\n c33.6,19.6,70.3,29.4,110.1,29.4s76.5-9.8,110.1-29.4c33.6-19.6,60.2-46.2,79.8-79.8c19.6-33.6,29.4-70.3,29.4-110.1\r\n C438.5,179.5,428.7,142.8,409.1,109.2z M387.4,290.2c-9.7,22.6-22.7,42-39,58.2c-16.3,16.3-35.7,29.3-58.2,39\r\n c-22.6,9.7-46.2,14.6-70.9,14.6s-48.4-4.9-70.9-14.6c-22.6-9.7-42-22.7-58.2-39c-16.3-16.3-29.3-35.7-39-58.2\r\n c-9.7-22.6-14.6-46.2-14.6-70.9c0-24.7,4.9-48.4,14.6-70.9c9.7-22.6,22.7-42,39-58.2c16.3-16.3,35.7-29.3,58.2-39\r\n c22.6-9.7,46.2-14.6,70.9-14.6c24.7,0,48.4,4.9,70.9,14.6c22.6,9.7,42,22.7,58.2,39c16.3,16.3,29.3,35.7,39,58.2\r\n c9.7,22.6,14.6,46.2,14.6,70.9C402,244,397.1,267.7,387.4,290.2z"},void 0),d.exports.jsx("path",{d:"M217,294c-14.6,0-26.5,12.2-26.5,26.8c0,14.3,11.5,26.8,26.5,26.8s26.8-12.5,26.8-26.8C243.8,306.2,231.6,294,217,294z"},void 0),d.exports.jsx("path",{d:"M221.5,90.8c-47.1,0-68.7,27.9-68.7,46.7c0,13.6,11.5,19.9,20.9,19.9c18.8,0,11.2-26.8,46.7-26.8c17.4,0,31.4,7.7,31.4,23.7\r\n c0,18.8-19.5,29.6-31,39.4c-10.1,8.7-23.4,23-23.4,53c0,18.1,4.9,23.4,19.2,23.4c17.1,0,20.6-7.7,20.6-14.3\r\n c0-18.1,0.4-28.6,19.5-43.6c9.4-7.3,39-31,39-63.8S266.1,90.8,221.5,90.8z"},void 0)]}),void 0),d.exports.jsx("h1",u({className:"ui-dialog-title"},{children:t}),void 0)]},void 0)},void 0),d.exports.jsx(ee,{children:o},void 0),d.exports.jsxs(te,{children:[d.exports.jsx(F,u({className:"dialog-action-ok dialog-action",onClick:l},{children:f}),void 0),d.exports.jsx(F,u({className:"dialog-action-close dialog-action",onClick:s},{children:p}),void 0)]},void 0)]}),void 0)};ie.propTypes={className:l.default.string},ie.defaultProps={className:void 0};var ae=function(e){var t=e.title,r=e.ok,n=e.children,o=e.className,i=e.onClose,c=a.default.useCallback((function(){i&&i(!0)}),[i]),s=null!=r?r:"fermer";return d.exports.jsxs(Q,u({open:!0,className:R("ui-dialog-box","ui-dialog-error",o)},{children:[d.exports.jsx(re,{children:d.exports.jsxs(d.exports.Fragment,{children:[d.exports.jsxs("svg",u({className:"ui-dialog-icon",xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 438.533 438.533"},{children:[d.exports.jsx("path",{d:"M409.133,109.203c-19.608-33.592-46.205-60.189-79.798-79.796C295.736,9.801,259.058,0,219.273,0 c-39.781,0-76.47,9.801-110.063,29.407c-33.595,19.604-60.192,46.201-79.8,79.796C9.801,142.8,0,179.489,0,219.267 c0,39.78,9.804,76.463,29.407,110.062c19.607,33.592,46.204,60.189,79.799,79.798c33.597,19.605,70.283,29.407,110.063,29.407 s76.47-9.802,110.065-29.407c33.593-19.602,60.189-46.206,79.795-79.798c19.603-33.596,29.403-70.284,29.403-110.062 C438.533,179.485,428.732,142.795,409.133,109.203z M387.434,290.213c-9.709,22.556-22.696,41.97-38.969,58.245 c-16.271,16.269-35.689,29.26-58.245,38.965c-22.555,9.712-46.202,14.564-70.946,14.564c-24.744,0-48.391-4.853-70.948-14.564 c-22.554-9.705-41.971-22.696-58.245-38.965c-16.269-16.275-29.259-35.687-38.97-58.245 c-9.707-22.552-14.562-46.206-14.562-70.946c0-24.744,4.854-48.391,14.562-70.948c9.707-22.554,22.697-41.968,38.97-58.245 c16.274-16.269,35.691-29.26,58.245-38.97c22.554-9.704,46.205-14.558,70.948-14.558c24.74,0,48.395,4.851,70.946,14.558 c22.556,9.707,41.97,22.698,58.245,38.97c16.272,16.274,29.26,35.688,38.969,58.245c9.709,22.554,14.564,46.201,14.564,70.948 C402.002,244.011,397.143,267.664,387.434,290.213z"},void 0),d.exports.jsx("path",{d:"M284.368,258.668c-19.219-14.086-40.926-21.129-65.095-21.129c-24.172,0-45.871,7.039-65.096,21.129 c-19.224,14.085-32.358,32.641-39.397,55.671c-1.521,4.757-1.143,9.381,1.141,13.847c2.286,4.469,5.898,7.467,10.85,8.993 c4.758,1.526,9.373,1.143,13.846-1.144c4.471-2.285,7.467-5.899,8.991-10.848c4.759-15.235,13.562-27.556,26.409-36.979 c12.847-9.418,27.263-14.127,43.252-14.127c15.987,0,30.412,4.712,43.251,14.127c12.854,9.424,21.655,21.744,26.412,36.979 c1.52,4.948,4.564,8.562,9.134,10.848c4.568,2.286,9.236,2.67,13.989,1.144c4.761-1.526,8.278-4.524,10.564-8.993 c2.286-4.466,2.669-9.09,1.14-13.847C316.729,291.312,303.591,272.75,284.368,258.668z"},void 0),d.exports.jsx("path",{d:"M146.181,182.725c10.085,0,18.699-3.576,25.837-10.709c7.139-7.135,10.708-15.749,10.708-25.837 c0-10.089-3.569-18.699-10.708-25.837s-15.752-10.709-25.837-10.709c-10.088,0-18.702,3.571-25.84,10.709 c-7.135,7.139-10.707,15.749-10.707,25.837c0,10.088,3.568,18.702,10.707,25.837C127.482,179.152,136.093,182.725,146.181,182.725 z"},void 0),d.exports.jsx("path",{d:"M292.359,109.631c-10.089,0-18.706,3.571-25.845,10.709c-7.132,7.139-10.708,15.749-10.708,25.837 c0,10.088,3.576,18.702,10.708,25.837c7.139,7.137,15.756,10.709,25.845,10.709c10.081,0,18.698-3.576,25.837-10.709 c7.139-7.135,10.708-15.749,10.708-25.837c0-10.089-3.569-18.699-10.708-25.837S302.44,109.631,292.359,109.631z"},void 0)]}),void 0),d.exports.jsx("h1",u({className:"ui-dialog-title"},{children:t}),void 0)]},void 0)},void 0),d.exports.jsx(ee,{children:n},void 0),d.exports.jsx(te,{children:d.exports.jsx(F,u({className:"dialog-action-ok dialog-action",onClick:c},{children:s}),void 0)},void 0)]}),void 0)};ae.propTypes={className:l.default.string},ae.defaultProps={className:void 0},e.Button=F,e.ChevronDownIcon=function(e){var t=e.className;return d.exports.jsx("svg",u({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",className:R("ui-icon",t),transform:"rotate(180 0 0)"},{children:d.exports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2929 8.29289C11.6834 7.90237 12.3166 7.90237 12.7071 8.29289L17.7071 13.2929C18.0976 13.6834 18.0976 14.3166 17.7071 14.7071C17.3166 15.0976 16.6834 15.0976 16.2929 14.7071L12 10.4142L7.70711 14.7071C7.31658 15.0976 6.68342 15.0976 6.29289 14.7071C5.90237 14.3166 5.90237 13.6834 6.29289 13.2929L11.2929 8.29289Z"},void 0)}),void 0)},e.ChevronRightIcon=q,e.ConfirmDialog=ie,e.ContextMenu=H,e.CrossIcon=G,e.Dialog=Q,e.DialogActions=oe,e.DialogContent=ee,e.DialogFooter=te,e.DialogHeader=re,e.DialogTitle=ne,e.Divider=J,e.DomContainer=O,e.ErrorDialog=ae,e.Menu=U,e.MenuGroup=Z,e.MenuItem=V,e.Popper=S,e.PopupMenu=K,e.Spinner=L,e.TagInput=function(e){var t=e.tags;e.className;var r=e.suggestions,n=e.disableFilter,o=e.onTextChange,i=e.onChange,c=a.default.useRef(null),s=a.default.useRef(null),l=a.default.useRef(null),p=a.default.useState(""),v=p[0],m=p[1],g=a.default.useState(!1),h=g[0],y=g[1];A((function(){y(!1)}),[c,s]);var x=a.default.useCallback((function(e){if(i&&Array.isArray(t)){var r=t.findIndex((function(t){return t.id===e.id}));if(!(r<0)){var n=f([],t,!0);n.splice(r,1),i(n)}}}),[t,i]),b=a.default.useCallback((function(e){if(e){var r={id:e.id,label:e.label,value:e.value},n=Array.isArray(t)?f(f([],t,!0),[r],!1):[r];y(!1),i&&i(n),m(""),o&&o("")}}),[t,i,o]),w=a.default.useCallback((function(e){m(e),o&&o(e)}),[o]),j=Array.isArray(t)?t.map((function(e,t){return d.exports.jsx(B,{tag:e,onDelete:function(){return x(e)}},t)})):[];return d.exports.jsxs("div",u({ref:l,className:"ui-taginput"},{children:[j,d.exports.jsx($,{ref:c,value:v,onChange:w,onClick:function(){y(!0)}},void 0),d.exports.jsx(Y,{ref:s,open:h,anchorEl:c,filter:v,tags:t,suggestions:r,disableFilter:n,onSuggestionClick:b},void 0)]}),void 0)},e.ToggleButton=function(e){var t=e.selected,r=e.value,n=e.size,o=e.children,i=e.className,c=e.onChange,s=a.default.useCallback((function(){c&&c(r)}),[c,r]);return d.exports.jsx("button",u({type:"button",className:R("ui-toggleBtn",void 0!==n?"ui-toggleBtn-size-".concat(n):"ui-toggleBtn-size-md",!0===t?"ui-toggleBtn-selected":null,i),onClick:s},{children:o}),void 0)},e.Tooltip=function(e){var t=e.children,r=e.title;e.anchorEl;var n=e.enterDelay,o=void 0===n?0:n,i=e.leaveDelay,c=void 0===i?0:i,s=e.className,l=e.disabled,f=a.default.useState(void 0),p=f[0],v=f[1],m=a.default.useState(!1),g=m[0],h=m[1],y=a.default.useState(!0),x=y[0],b=y[1],w=a.default.useRef(),j=a.default.useRef();a.default.useEffect((function(){!0===l&&h(!1)}),[l]);var N,C=function(){h(!0)},E=function(e){clearTimeout(w.current),clearTimeout(j.current),p||v(e.currentTarget),j.current=setTimeout((function(){h(!1)}),c)},k=function(e){clearTimeout(w.current),clearTimeout(j.current),p||v(e.currentTarget),!0!==l&&(w.current=setTimeout((function(){C()}),o))};if(t){var O=u(u({},t.props),{onFocus:function(e){p||v(e.currentTarget),w.current=setTimeout((function(){C()}),o)},onMouseEnter:function(e){clearTimeout(w.current),clearTimeout(j.current),p||v(e.currentTarget),!0!==l&&(w.current=setTimeout((function(){C()}),o))},onMouseLeave:E,onMouseOver:k,onTouchStart:function(e){clearTimeout(w.current),clearTimeout(j.current),p||v(e.currentTarget),!0!==l&&(w.current=setTimeout((function(){C()}),o))}});N=a.default.cloneElement(t,O)}var T=g||!x;return d.exports.jsxs(d.exports.Fragment,{children:[N,d.exports.jsx(S,u({role:"tooltip",anchorEl:p,open:T,className:R("ui-tooltip",s),onMouseOver:k,onMouseLeave:E},{children:d.exports.jsx(M,u({trigger:g,onEnter:function(){b(!1)},onExited:function(){b(!0)}},{children:d.exports.jsx("div",u({className:"ui-tooltip-content"},{children:r}),void 0)}),void 0)}),void 0)]},void 0)},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
18
18
|
//# sourceMappingURL=index.js.map
|