@ainias42/react-bootstrap-mobile 0.1.32 → 0.2.1

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.
Files changed (65) hide show
  1. package/bin/updateCopies.js +6 -1
  2. package/bootstrapReactMobile.ts +10 -0
  3. package/dist/bootstrapReactMobile.d.ts +10 -0
  4. package/dist/bootstrapReactMobile.js +1036 -672
  5. package/dist/bootstrapReactMobile.js.map +1 -1
  6. package/dist/src/Components/Clickable/Clickable.d.ts +6 -3
  7. package/dist/src/Components/FormElements/Button/Button.d.ts +4 -1
  8. package/dist/src/Components/FormElements/Controller/HookForm.d.ts +8 -0
  9. package/dist/src/Components/FormElements/Controller/InputController.d.ts +4 -0
  10. package/dist/src/Components/FormElements/Controller/MultipleFileInputController.d.ts +3 -0
  11. package/dist/src/Components/FormElements/Controller/PasswordInputController.d.ts +4 -0
  12. package/dist/src/Components/FormElements/Controller/SelectController.d.ts +3 -0
  13. package/dist/src/Components/FormElements/Controller/SendFormContext.d.ts +3 -0
  14. package/dist/src/Components/FormElements/Controller/TextareaController.d.ts +4 -0
  15. package/dist/src/Components/FormElements/Controller/withHookController.d.ts +4 -0
  16. package/dist/src/Components/FormElements/Input/FileInput/MultipleFileInput.d.ts +2 -1
  17. package/dist/src/Components/FormElements/Input/Input.d.ts +1 -0
  18. package/dist/src/Components/FormElements/Select/Select.d.ts +2 -1
  19. package/dist/src/Components/FormElements/Textarea/Textarea.d.ts +1 -0
  20. package/dist/src/Components/Hooks/useClientLayoutEffect.d.ts +2 -2
  21. package/dist/src/Components/Hooks/useComposedRef.d.ts +1 -1
  22. package/dist/src/Components/Image/Image.d.ts +2 -2
  23. package/dist/src/Components/Toast/ToastContext.d.ts +11 -0
  24. package/dist/src/Size.d.ts +8 -0
  25. package/package.json +5 -3
  26. package/react-bootstrap-mobile.scss +2 -2
  27. package/src/Components/Clickable/Clickable.tsx +41 -6
  28. package/src/Components/Dialog/DialogContainer.tsx +15 -12
  29. package/src/Components/Dialog/DialogContext.ts +4 -1
  30. package/src/Components/FormElements/Button/Button.tsx +14 -8
  31. package/src/Components/FormElements/Button/button.scss +17 -0
  32. package/src/Components/FormElements/Controller/HookForm.tsx +43 -0
  33. package/src/Components/FormElements/Controller/InputController.ts +4 -0
  34. package/src/Components/FormElements/Controller/MultipleFileInputController.ts +4 -0
  35. package/src/Components/FormElements/Controller/PasswordInputController.ts +4 -0
  36. package/src/Components/FormElements/Controller/SelectController.ts +4 -0
  37. package/src/Components/FormElements/Controller/SendFormContext.ts +7 -0
  38. package/src/Components/FormElements/Controller/TextareaController.ts +4 -0
  39. package/src/Components/FormElements/Controller/withHookController.tsx +53 -0
  40. package/src/Components/FormElements/Input/FileInput/MultipleFileInput.tsx +4 -1
  41. package/src/Components/FormElements/Input/FileInput/fileInput.scss +5 -6
  42. package/src/Components/FormElements/Input/Input.tsx +16 -5
  43. package/src/Components/FormElements/Input/PasswordInput/PasswordInput.tsx +1 -1
  44. package/src/Components/FormElements/Input/input.scss +5 -0
  45. package/src/Components/FormElements/Select/Select.tsx +5 -0
  46. package/src/Components/FormElements/Select/select.scss +5 -0
  47. package/src/Components/FormElements/Textarea/Textarea.tsx +9 -4
  48. package/src/Components/FormElements/Textarea/textarea.scss +10 -1
  49. package/src/Components/FormElements/hooks/useOnChangeDone.ts +1 -1
  50. package/src/Components/Hooks/useClientLayoutEffect.ts +3 -3
  51. package/src/Components/Hooks/useComposedRef.ts +13 -16
  52. package/src/Components/Image/Image.tsx +2 -2
  53. package/src/Components/Layout/View.tsx +0 -1
  54. package/src/Components/Layout/ViewWithoutListeners.tsx +0 -1
  55. package/src/Components/Toast/ToastContainer.tsx +59 -3
  56. package/src/Components/Toast/ToastContext.ts +9 -0
  57. package/src/Components/TopBar/TopBarButton.tsx +2 -4
  58. package/src/Components/TopBar/topBar.scss +4 -0
  59. package/src/Size.ts +9 -0
  60. package/src/scss/_baseClasses.scss +5 -9
  61. package/src/scss/_colors.scss +10 -5
  62. package/src/scss/_default.scss +4 -2
  63. package/webpack.config.js +2 -1
  64. package/src/scss/_animations.scss +0 -46
  65. package/src/scss/_mobileMixin.scss +0 -35
@@ -1,23 +1,13 @@
1
1
  /*!
2
2
  *
3
- * @ainias42/react-bootstrap-mobile v0.1.31
3
+ * @ainias42/react-bootstrap-mobile v0.2.0
4
4
  * git+https://github.com/Ainias/Bootstrap-React-Mobile.git
5
5
  * Copyright (c) Silas Günther and project contributors.
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  *
9
9
  */
10
- (function webpackUniversalModuleDefinition(root, factory) {
11
- if(typeof exports === 'object' && typeof module === 'object')
12
- module.exports = factory();
13
- else if(typeof define === 'function' && define.amd)
14
- define([], factory);
15
- else {
16
- var a = factory();
17
- for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
18
- }
19
- })(this, () => {
20
- return /******/ (() => { // webpackBootstrap
10
+ /******/ (() => { // webpackBootstrap
21
11
  /******/ var __webpack_modules__ = ({
22
12
 
23
13
  /***/ 6353:
@@ -1324,13 +1314,15 @@ var ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = __webpack_require__(1354);
1324
1314
  var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
1325
1315
  var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
1326
1316
  // Module
1327
- ___CSS_LOADER_EXPORT___.push([module.id, `.button__jnst2{cursor:pointer;margin:0;user-select:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-decoration:none;letter-spacing:0;vertical-align:middle;border-radius:3px;transition:none}.button__jnst2.flavor-accent{--button-color:var(--flavor-accent)}.button__jnst2.flavor-basic{--button-color:var(--flavor-basic)}.material-design .button__jnst2{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2);min-height:40px;line-height:40px;padding:0 16px;text-align:center;font-size:14px;text-transform:uppercase;font-weight:500}.flat-design .button__jnst2{line-height:32px;padding:4px 18px;font-size:17px}.button__jnst2.primary__cT39p{background-color:var(--button-color);border:0 solid currentColor;color:#fff;--text-primary-default-color: white}.button__jnst2.secondary__Fozj5{background-color:rgba(0,0,0,0);border:1px solid var(--button-color);color:var(--button-color);--text-primary-default-color: var(--button-color)}.button__jnst2.disabled__tYMFZ{opacity:.3;cursor:default;pointer-events:none}`, "",{"version":3,"sources":["webpack://./src/Components/FormElements/Button/button.scss","webpack://./src/scss/_flavorMixin.scss","webpack://./src/scss/_designMixin.scss","webpack://./src/scss/_variables.scss"],"names":[],"mappings":"AAIA,eACE,cAAA,CACA,QAAA,CACA,gBAAA,CACA,sBAAA,CACA,kBAAA,CACA,eAAA,CACA,oBAAA,CACA,gBAAA,CACA,qBAAA,CACA,iBAAA,CACA,eAAA,CCZA,6BACE,mCAAA,CAEF,4BACE,kCAAA,CCHS,gCFgBT,gGGDgB,CHEhB,eAAA,CACA,gBAAA,CACA,cAAA,CACA,iBAAA,CACA,cAAA,CACA,wBAAA,CACA,eAAA,CEvBS,4BF2BT,gBAAA,CACA,gBAAA,CACA,cAAA,CAGF,8BACE,oCAAA,CACA,2BAAA,CACA,UAAA,CACA,mCAAA,CAGF,gCACE,8BAAA,CACA,oCAAA,CACA,yBAAA,CACA,iDAAA,CAGF,+BACE,UAAA,CACA,cAAA,CACA,mBAAA","sourcesContent":["@import \"../../../scss/variables\";\n@import \"../../../scss/designMixin\";\n@import \"../../../scss/flavorMixin\";\n\n.button {\n cursor: pointer;\n margin: 0;\n user-select: none;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n text-decoration: none;\n letter-spacing: 0;\n vertical-align: middle;\n border-radius: 3px;\n transition: none;\n\n @include flavorSelection(--button-color);\n\n @include design($material) {\n box-shadow: $boxShadowMaterial;\n min-height: 40px;\n line-height: 40px;\n padding: 0 16px;\n text-align: center;\n font-size: 14px;\n text-transform: uppercase;\n font-weight: 500;\n }\n\n @include design($flat) {\n line-height: 32px;\n padding: 4px 18px;\n font-size: 17px;\n }\n\n &.primary {\n background-color: var(--button-color);\n border: 0 solid currentColor;\n color: white;\n --text-primary-default-color: white;\n }\n\n &.secondary {\n background-color: transparent;\n border: 1px solid var(--button-color);\n color: var(--button-color);\n --text-primary-default-color: var(--button-color);\n }\n\n &.disabled {\n opacity: 0.3;\n cursor: default;\n pointer-events: none;\n }\n}\n","@use 'sass:selector';\n\n@mixin flavorSelection($varName) {\n &:global(.flavor-accent) {\n #{$varName}: var(--flavor-accent);\n }\n &:global(.flavor-basic) {\n #{$varName}: var(--flavor-basic);\n }\n}\n","@use 'sass:selector';\n\n@mixin design($designName) {\n @if & {\n @at-root #{selector.nest(':global(.'+$designName+\")\", &)} {\n @content\n }\n } @else {\n :global(.#{$designName}) {\n @content\n }\n }\n}\n","@import 'bootstrap/scss/functions';\n@import 'bootstrap/scss/variables';\n\n$classPrefix: \"rbm-\";\n\n$material: \"material-design\";\n$flat: \"flat-design\";\n\n$android: $material;\n$ios: $flat;\n\n$animationDuration: 0.3s;\n$animationDurationMaterial: $animationDuration;\n$animationDurationFlat: $animationDuration;\n$animationDurationAndroid: $animationDurationMaterial;\n$animationDurationIos: $animationDurationFlat;\n\n$fontSizeBase: 16px;\n\n$boxShadowMaterial: 0 2px 2px 0 rgb(0 0 0 / 14%),\n0 1px 5px 0 rgb(0 0 0 / 12%),\n0 3px 1px -2px rgb(0 0 0 / 20%);\n"],"sourceRoot":""}]);
1317
+ ___CSS_LOADER_EXPORT___.push([module.id, `.button__jnst2{cursor:pointer;margin:0;user-select:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-decoration:none;letter-spacing:0;vertical-align:middle;border-radius:3px;transition:none}.button__jnst2.flavor-accent{--button-color:var(--flavor-accent)}.button__jnst2.flavor-basic{--button-color:var(--flavor-basic)}.material-design .button__jnst2{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2);min-height:40px;line-height:40px;padding:0 16px;text-align:center;font-size:14px;text-transform:uppercase;font-weight:500}.flat-design .button__jnst2{line-height:32px;padding:4px 18px;font-size:17px}.button__jnst2.primary__cT39p{background-color:var(--button-color);border:0 solid currentColor;color:#fff;--text-primary-default-color: white}.button__jnst2.secondary__Fozj5{background-color:rgba(0,0,0,0);border:1px solid var(--button-color);color:var(--button-color);--text-primary-default-color: var(--button-color)}.button__jnst2.disabled__tYMFZ{opacity:.3;cursor:default;pointer-events:none}.material-design .button__jnst2.small__dpDPv{min-height:17px;line-height:17px;padding:0 8px}.flat-design .button__jnst2.small__dpDPv{line-height:17px;padding:4px 9px}.button__jnst2.fullWidth__E_iTN{width:100%}`, "",{"version":3,"sources":["webpack://./src/Components/FormElements/Button/button.scss","webpack://./src/scss/_flavorMixin.scss","webpack://./src/scss/_designMixin.scss","webpack://./src/scss/_variables.scss"],"names":[],"mappings":"AAIA,eACE,cAAA,CACA,QAAA,CACA,gBAAA,CACA,sBAAA,CACA,kBAAA,CACA,eAAA,CACA,oBAAA,CACA,gBAAA,CACA,qBAAA,CACA,iBAAA,CACA,eAAA,CCZA,6BACE,mCAAA,CAEF,4BACE,kCAAA,CCHS,gCFgBT,gGGDgB,CHEhB,eAAA,CACA,gBAAA,CACA,cAAA,CACA,iBAAA,CACA,cAAA,CACA,wBAAA,CACA,eAAA,CEvBS,4BF2BT,gBAAA,CACA,gBAAA,CACA,cAAA,CAGF,8BACE,oCAAA,CACA,2BAAA,CACA,UAAA,CACA,mCAAA,CAGF,gCACE,8BAAA,CACA,oCAAA,CACA,yBAAA,CACA,iDAAA,CAGF,+BACE,UAAA,CACA,cAAA,CACA,mBAAA,CEjDS,6CFsDP,eAAA,CACA,gBAAA,CACA,aAAA,CExDO,yCF4DP,gBAAA,CACA,eAAA,CAIJ,gCACE,UAAA","sourcesContent":["@import \"../../../scss/variables\";\n@import \"../../../scss/designMixin\";\n@import \"../../../scss/flavorMixin\";\n\n.button {\n cursor: pointer;\n margin: 0;\n user-select: none;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n text-decoration: none;\n letter-spacing: 0;\n vertical-align: middle;\n border-radius: 3px;\n transition: none;\n\n @include flavorSelection(--button-color);\n\n @include design($material) {\n box-shadow: $boxShadowMaterial;\n min-height: 40px;\n line-height: 40px;\n padding: 0 16px;\n text-align: center;\n font-size: 14px;\n text-transform: uppercase;\n font-weight: 500;\n }\n\n @include design($flat) {\n line-height: 32px;\n padding: 4px 18px;\n font-size: 17px;\n }\n\n &.primary {\n background-color: var(--button-color);\n border: 0 solid currentColor;\n color: white;\n --text-primary-default-color: white;\n }\n\n &.secondary {\n background-color: transparent;\n border: 1px solid var(--button-color);\n color: var(--button-color);\n --text-primary-default-color: var(--button-color);\n }\n\n &.disabled {\n opacity: 0.3;\n cursor: default;\n pointer-events: none;\n }\n\n &.small {\n @include design($material) {\n min-height: 17px;\n line-height: 17px;\n padding: 0 8px;\n }\n\n @include design($flat) {\n line-height: 17px;\n padding: 4px 9px;\n }\n }\n\n &.fullWidth {\n width: 100%;\n }\n}\n","@use 'sass:selector';\n\n@mixin flavorSelection($varName) {\n &:global(.flavor-accent) {\n #{$varName}: var(--flavor-accent);\n }\n &:global(.flavor-basic) {\n #{$varName}: var(--flavor-basic);\n }\n}\n","@use 'sass:selector';\n\n@mixin design($designName) {\n @if & {\n @at-root #{selector.nest(':global(.'+$designName+\")\", &)} {\n @content\n }\n } @else {\n :global(.#{$designName}) {\n @content\n }\n }\n}\n","@import 'bootstrap/scss/functions';\n@import 'bootstrap/scss/variables';\n\n$classPrefix: \"rbm-\";\n\n$material: \"material-design\";\n$flat: \"flat-design\";\n\n$android: $material;\n$ios: $flat;\n\n$animationDuration: 0.3s;\n$animationDurationMaterial: $animationDuration;\n$animationDurationFlat: $animationDuration;\n$animationDurationAndroid: $animationDurationMaterial;\n$animationDurationIos: $animationDurationFlat;\n\n$fontSizeBase: 16px;\n\n$boxShadowMaterial: 0 2px 2px 0 rgb(0 0 0 / 14%),\n0 1px 5px 0 rgb(0 0 0 / 12%),\n0 3px 1px -2px rgb(0 0 0 / 20%);\n"],"sourceRoot":""}]);
1328
1318
  // Exports
1329
1319
  ___CSS_LOADER_EXPORT___.locals = {
1330
1320
  "button": `button__jnst2`,
1331
1321
  "primary": `primary__cT39p`,
1332
1322
  "secondary": `secondary__Fozj5`,
1333
- "disabled": `disabled__tYMFZ`
1323
+ "disabled": `disabled__tYMFZ`,
1324
+ "small": `small__dpDPv`,
1325
+ "fullWidth": `fullWidth__E_iTN`
1334
1326
  };
1335
1327
  module.exports = ___CSS_LOADER_EXPORT___;
1336
1328
 
@@ -1388,7 +1380,7 @@ var ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = __webpack_require__(1354);
1388
1380
  var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
1389
1381
  var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
1390
1382
  // Module
1391
- ___CSS_LOADER_EXPORT___.push([module.id, `.fileInput__h2WBs{display:flex;flex-direction:column;position:relative;cursor:pointer}.fileInput__h2WBs .previewContainer__IdxyI{align-items:stretch;flex-grow:1}.fileInput__h2WBs .previewContainer__IdxyI .preview__cd_2A{position:relative;border:1px solid var(--border-light)}.fileInput__h2WBs .previewContainer__IdxyI .preview__cd_2A .previewRemove__GYrmU{position:absolute;top:5px;right:5px;opacity:0;font-size:1.5rem}.fileInput__h2WBs .previewContainer__IdxyI .preview__cd_2A .previewRemove__GYrmU svg{background:rgba(255,255,255,.2)}.fileInput__h2WBs .previewContainer__IdxyI .preview__cd_2A:hover .previewRemove__GYrmU{opacity:.7}.fileInput__h2WBs .previewContainer__IdxyI .previewImage__v8Iv_{width:100%;height:100%;object-fit:contain}.fileInput__h2WBs .previewContainer__IdxyI .previewText__BD6Nu{width:100%;height:100%;min-height:4rem;display:flex;justify-content:center;align-items:center}.fileInput__h2WBs .previewContainer__IdxyI .previewTextIcon__MUiWT{padding-right:4px}.fileInput__h2WBs .previewContainer__IdxyI .addFile__l9v3S{position:relative;border-radius:3px;background-color:var(--border-light);display:flex;justify-content:center;align-items:center;font-size:2rem}.fileInput__h2WBs .previewContainer__IdxyI .addFile__l9v3S .addFileButton__tJkSa{width:100%;height:100%;min-height:4rem;display:flex;justify-content:center;align-items:center}.fileInput__h2WBs .previewContainer__IdxyI .addFile__l9v3S.hidden__p2FRj{display:none}.fileInput__h2WBs .value__lzxOL{display:none}`, "",{"version":3,"sources":["webpack://./src/Components/FormElements/Input/FileInput/fileInput.scss"],"names":[],"mappings":"AAAA,kBACE,YAAA,CACA,qBAAA,CACA,iBAAA,CACA,cAAA,CAEA,2CACE,mBAAA,CACA,WAAA,CAEA,2DACE,iBAAA,CACA,oCAAA,CAEA,iFACE,iBAAA,CACA,OAAA,CACA,SAAA,CACA,SAAA,CACA,gBAAA,CAEA,qFACE,+BAAA,CAIJ,uFACE,UAAA,CAIJ,gEACE,UAAA,CACA,WAAA,CACA,kBAAA,CAGF,+DACE,UAAA,CACA,WAAA,CACA,eAAA,CAEA,YAAA,CACA,sBAAA,CACA,kBAAA,CAGF,mEACE,iBAAA,CAIF,2DACE,iBAAA,CACA,iBAAA,CACA,oCAAA,CAEA,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,cAAA,CAEA,iFACE,UAAA,CACA,WAAA,CACA,eAAA,CAEA,YAAA,CACA,sBAAA,CACA,kBAAA,CAGF,yEACE,YAAA,CAMN,gCACE,YAAA","sourcesContent":[".fileInput {\n display: flex;\n flex-direction: column;\n position: relative;\n cursor: pointer;\n\n .previewContainer {\n align-items: stretch;\n flex-grow: 1;\n\n .preview {\n position: relative;\n border: 1px solid var(--border-light);\n\n .previewRemove {\n position: absolute;\n top: 5px;\n right: 5px;\n opacity: 0;\n font-size: 1.5rem;\n\n svg {\n background: rgba(255, 255, 255, 0.2);\n }\n }\n\n &:hover .previewRemove {\n opacity: 0.7;\n }\n }\n\n .previewImage {\n width: 100%;\n height: 100%;\n object-fit: contain;\n }\n\n .previewText {\n width: 100%;\n height: 100%;\n min-height: 4rem;\n\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .previewTextIcon {\n padding-right: 4px;\n }\n\n\n .addFile {\n position: relative;\n border-radius: 3px;\n background-color: var(--border-light);\n\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 2rem;\n\n .addFileButton {\n width: 100%;\n height: 100%;\n min-height: 4rem;\n\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n &.hidden {\n display: none;\n }\n }\n }\n\n\n .value {\n display: none;\n //position: absolute;\n //top: 0;\n //left: 0;\n //right: 0;\n //bottom: 0;\n //opacity: 0;\n }\n}\n"],"sourceRoot":""}]);
1383
+ ___CSS_LOADER_EXPORT___.push([module.id, `.fileInput__h2WBs{display:flex;flex-direction:column;position:relative;cursor:pointer}.fileInput__h2WBs .previewContainer__IdxyI{align-items:stretch;flex-grow:1}.fileInput__h2WBs .previewContainer__IdxyI .preview__cd_2A{position:relative;border:1px solid var(--border-light)}.fileInput__h2WBs .previewContainer__IdxyI .preview__cd_2A .previewRemove__GYrmU{position:absolute;top:5px;right:5px;opacity:0;font-size:1.5rem}.fileInput__h2WBs .previewContainer__IdxyI .preview__cd_2A .previewRemove__GYrmU svg{background:rgba(255,255,255,.2)}.fileInput__h2WBs .previewContainer__IdxyI .preview__cd_2A:hover .previewRemove__GYrmU{opacity:.7}.fileInput__h2WBs .previewContainer__IdxyI .previewImage__v8Iv_{width:100%;height:100%;object-fit:contain}.fileInput__h2WBs .previewContainer__IdxyI .previewText__BD6Nu{width:100%;height:100%;min-height:4rem;display:flex;justify-content:center;align-items:center}.fileInput__h2WBs .previewContainer__IdxyI .previewTextIcon__MUiWT{padding-right:4px}.fileInput__h2WBs .previewContainer__IdxyI .addFile__l9v3S{position:relative;border-radius:3px;background-color:var(--border-light);display:flex;justify-content:center;align-items:center;font-size:2rem}.fileInput__h2WBs .previewContainer__IdxyI .addFile__l9v3S .addFileButton__tJkSa{width:100%;height:100%;min-height:4rem;display:flex;justify-content:center;align-items:center}.fileInput__h2WBs .previewContainer__IdxyI .addFile__l9v3S.hidden__p2FRj{display:none}.fileInput__h2WBs .value__lzxOL{display:none}.fileInput__h2WBs .error__v0GST{font-size:.7rem;--text-primary-default-color: var(--text-error) }`, "",{"version":3,"sources":["webpack://./src/Components/FormElements/Input/FileInput/fileInput.scss"],"names":[],"mappings":"AAAA,kBACE,YAAA,CACA,qBAAA,CACA,iBAAA,CACA,cAAA,CAEA,2CACE,mBAAA,CACA,WAAA,CAEA,2DACE,iBAAA,CACA,oCAAA,CAEA,iFACE,iBAAA,CACA,OAAA,CACA,SAAA,CACA,SAAA,CACA,gBAAA,CAEA,qFACE,+BAAA,CAIJ,uFACE,UAAA,CAIJ,gEACE,UAAA,CACA,WAAA,CACA,kBAAA,CAGF,+DACE,UAAA,CACA,WAAA,CACA,eAAA,CAEA,YAAA,CACA,sBAAA,CACA,kBAAA,CAGF,mEACE,iBAAA,CAIF,2DACE,iBAAA,CACA,iBAAA,CACA,oCAAA,CAEA,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,cAAA,CAEA,iFACE,UAAA,CACA,WAAA,CACA,eAAA,CAEA,YAAA,CACA,sBAAA,CACA,kBAAA,CAGF,yEACE,YAAA,CAMN,gCACE,YAAA,CAGF,gCACE,eAAA,CACA,gDAAA","sourcesContent":[".fileInput {\n display: flex;\n flex-direction: column;\n position: relative;\n cursor: pointer;\n\n .previewContainer {\n align-items: stretch;\n flex-grow: 1;\n\n .preview {\n position: relative;\n border: 1px solid var(--border-light);\n\n .previewRemove {\n position: absolute;\n top: 5px;\n right: 5px;\n opacity: 0;\n font-size: 1.5rem;\n\n svg {\n background: rgba(255, 255, 255, 0.2);\n }\n }\n\n &:hover .previewRemove {\n opacity: 0.7;\n }\n }\n\n .previewImage {\n width: 100%;\n height: 100%;\n object-fit: contain;\n }\n\n .previewText {\n width: 100%;\n height: 100%;\n min-height: 4rem;\n\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .previewTextIcon {\n padding-right: 4px;\n }\n\n\n .addFile {\n position: relative;\n border-radius: 3px;\n background-color: var(--border-light);\n\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 2rem;\n\n .addFileButton {\n width: 100%;\n height: 100%;\n min-height: 4rem;\n\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n &.hidden {\n display: none;\n }\n }\n }\n\n\n .value {\n display: none;\n }\n\n .error {\n font-size: 0.7rem;\n --text-primary-default-color: var(--text-error)\n }\n}\n"],"sourceRoot":""}]);
1392
1384
  // Exports
1393
1385
  ___CSS_LOADER_EXPORT___.locals = {
1394
1386
  "fileInput": `fileInput__h2WBs`,
@@ -1401,7 +1393,8 @@ ___CSS_LOADER_EXPORT___.locals = {
1401
1393
  "addFile": `addFile__l9v3S`,
1402
1394
  "addFileButton": `addFileButton__tJkSa`,
1403
1395
  "hidden": `hidden__p2FRj`,
1404
- "value": `value__lzxOL`
1396
+ "value": `value__lzxOL`,
1397
+ "error": `error__v0GST`
1405
1398
  };
1406
1399
  module.exports = ___CSS_LOADER_EXPORT___;
1407
1400
 
@@ -1435,7 +1428,7 @@ var ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = __webpack_require__(1354);
1435
1428
  var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
1436
1429
  var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
1437
1430
  // Module
1438
- ___CSS_LOADER_EXPORT___.push([module.id, `.input__ylsuY{width:100%}.input__ylsuY.inline__CuO0B{--basis: 50%;display:flex}.input__ylsuY.inline__CuO0B .label__Uty0i{display:inline-block;flex-grow:1;flex-shrink:0;flex-basis:var(--basis);font-weight:normal}.input__ylsuY.inline__CuO0B .text__OJDZ5{min-width:41px}.input__ylsuY .label__Uty0i{display:block;font-weight:bold}.input__ylsuY .text__OJDZ5{width:100%;background-color:rgba(0,0,0,0);border:0;outline:none;padding:0;font-size:1rem}.material-design .input__ylsuY .text__OJDZ5{color:#212121;background-image:linear-gradient(to top, transparent 1px, #afafaf 1px);background-size:100% 2px;background-repeat:no-repeat;background-position:center bottom;padding-bottom:2px}.material-design .input__ylsuY .text__OJDZ5:read-only,.material-design .input__ylsuY .text__OJDZ5:read-only:focus{background-image:none;border-bottom:1px solid rgba(0,0,0,0)}.material-design .input__ylsuY .text__OJDZ5:focus{background-image:linear-gradient(var(--flavor-accent), var(--flavor-accent)),linear-gradient(to top, transparent 1px, #afafaf 1px)}.flat-design .input__ylsuY .text__OJDZ5{color:#1f1f21}.flat-design .input__ylsuY .text__OJDZ5,.flat-design .input__ylsuY .text__OJDZ5:focus{border-bottom:1px solid var(--border-light)}.input__ylsuY.hiddenInput__KSMQB .text__OJDZ5{background-image:none;border-bottom:1px solid rgba(0,0,0,0)}.input__ylsuY.hiddenInput__KSMQB.noFocusHint__bBtc8 .text__OJDZ5:focus{background-image:none;border-bottom:1px solid rgba(0,0,0,0)}`, "",{"version":3,"sources":["webpack://./src/Components/FormElements/Input/input.scss","webpack://./src/scss/_designMixin.scss"],"names":[],"mappings":"AAGA,cACE,UAAA,CAEA,4BACE,YAAA,CACA,YAAA,CACA,0CACE,oBAAA,CACA,WAAA,CACA,aAAA,CACA,uBAAA,CACA,kBAAA,CAEF,yCAEE,cAAA,CAIJ,4BACE,aAAA,CACA,gBAAA,CAGF,2BACE,UAAA,CACA,8BAAA,CACA,QAAA,CACA,YAAA,CACA,SAAA,CACA,cAAA,CC7BS,4CDgCP,aAAA,CACA,sEAAA,CACA,wBAAA,CACA,2BAAA,CACA,iCAAA,CACA,kBAAA,CAEA,kHACE,qBAAA,CACA,qCAAA,CAGF,kDACE,kIAAA,CC7CK,wCDmDP,aAAA,CACA,sFACE,2CAAA,CAMJ,8CACE,qBAAA,CACA,qCAAA,CAKE,uEACE,qBAAA,CACA,qCAAA","sourcesContent":["@import \"../../../scss/variables\";\n@import \"../../../scss/designMixin\";\n\n.input {\n width: 100%;\n\n &.inline {\n --basis: 50%;\n display: flex;\n .label {\n display: inline-block;\n flex-grow: 1;\n flex-shrink: 0;\n flex-basis: var(--basis);\n font-weight: normal;\n }\n .text {\n // 3 numbers\n min-width: 41px;\n }\n }\n\n .label {\n display: block;\n font-weight: bold;\n }\n\n .text {\n width: 100%;\n background-color: transparent;\n border: 0;\n outline: none;\n padding: 0;\n font-size: 1rem;\n\n @include design($material) {\n color: #212121;\n background-image: linear-gradient(to top, transparent 1px, #afafaf 1px);\n background-size: 100% 2px;\n background-repeat: no-repeat;\n background-position: center bottom;\n padding-bottom: 2px;\n\n &:read-only, &:read-only:focus {\n background-image: none;\n border-bottom: 1px solid transparent;\n }\n\n &:focus {\n background-image: linear-gradient(var(--flavor-accent), var(--flavor-accent)),\n linear-gradient(to top, transparent 1px, #afafaf 1px);\n }\n }\n\n @include design($flat) {\n color: #1f1f21;\n &, &:focus {\n border-bottom: 1px solid var(--border-light);\n }\n }\n }\n\n &.hiddenInput {\n .text {\n background-image: none;\n border-bottom: 1px solid transparent;\n }\n\n &.noFocusHint {\n .text {\n &:focus {\n background-image: none;\n border-bottom: 1px solid transparent;\n }\n }\n }\n }\n}\n","@use 'sass:selector';\n\n@mixin design($designName) {\n @if & {\n @at-root #{selector.nest(':global(.'+$designName+\")\", &)} {\n @content\n }\n } @else {\n :global(.#{$designName}) {\n @content\n }\n }\n}\n"],"sourceRoot":""}]);
1431
+ ___CSS_LOADER_EXPORT___.push([module.id, `.input__ylsuY{width:100%}.input__ylsuY.inline__CuO0B{--basis: 50%;display:flex}.input__ylsuY.inline__CuO0B .label__Uty0i{display:inline-block;flex-grow:1;flex-shrink:0;flex-basis:var(--basis);font-weight:normal}.input__ylsuY.inline__CuO0B .text__OJDZ5{min-width:41px}.input__ylsuY .label__Uty0i{display:block;font-weight:bold}.input__ylsuY .text__OJDZ5{width:100%;background-color:rgba(0,0,0,0);border:0;outline:none;padding:0;font-size:1rem}.material-design .input__ylsuY .text__OJDZ5{color:#212121;background-image:linear-gradient(to top, transparent 1px, #afafaf 1px);background-size:100% 2px;background-repeat:no-repeat;background-position:center bottom;padding-bottom:2px}.material-design .input__ylsuY .text__OJDZ5:read-only,.material-design .input__ylsuY .text__OJDZ5:read-only:focus{background-image:none;border-bottom:1px solid rgba(0,0,0,0)}.material-design .input__ylsuY .text__OJDZ5:focus{background-image:linear-gradient(var(--flavor-accent), var(--flavor-accent)),linear-gradient(to top, transparent 1px, #afafaf 1px)}.flat-design .input__ylsuY .text__OJDZ5{color:#1f1f21}.flat-design .input__ylsuY .text__OJDZ5,.flat-design .input__ylsuY .text__OJDZ5:focus{border-bottom:1px solid var(--border-light)}.input__ylsuY.hiddenInput__KSMQB .text__OJDZ5{background-image:none;border-bottom:1px solid rgba(0,0,0,0)}.input__ylsuY.hiddenInput__KSMQB.noFocusHint__bBtc8 .text__OJDZ5:focus{background-image:none;border-bottom:1px solid rgba(0,0,0,0)}.input__ylsuY .error__LVBul{font-size:.7rem;--text-primary-default-color: var(--text-error) }`, "",{"version":3,"sources":["webpack://./src/Components/FormElements/Input/input.scss","webpack://./src/scss/_designMixin.scss"],"names":[],"mappings":"AAGA,cACE,UAAA,CAEA,4BACE,YAAA,CACA,YAAA,CACA,0CACE,oBAAA,CACA,WAAA,CACA,aAAA,CACA,uBAAA,CACA,kBAAA,CAEF,yCAEE,cAAA,CAIJ,4BACE,aAAA,CACA,gBAAA,CAGF,2BACE,UAAA,CACA,8BAAA,CACA,QAAA,CACA,YAAA,CACA,SAAA,CACA,cAAA,CC7BS,4CDgCP,aAAA,CACA,sEAAA,CACA,wBAAA,CACA,2BAAA,CACA,iCAAA,CACA,kBAAA,CAEA,kHACE,qBAAA,CACA,qCAAA,CAGF,kDACE,kIAAA,CC7CK,wCDmDP,aAAA,CACA,sFACE,2CAAA,CAMJ,8CACE,qBAAA,CACA,qCAAA,CAKE,uEACE,qBAAA,CACA,qCAAA,CAMR,4BACE,eAAA,CACA,gDAAA","sourcesContent":["@import \"../../../scss/variables\";\n@import \"../../../scss/designMixin\";\n\n.input {\n width: 100%;\n\n &.inline {\n --basis: 50%;\n display: flex;\n .label {\n display: inline-block;\n flex-grow: 1;\n flex-shrink: 0;\n flex-basis: var(--basis);\n font-weight: normal;\n }\n .text {\n // 3 numbers\n min-width: 41px;\n }\n }\n\n .label {\n display: block;\n font-weight: bold;\n }\n\n .text {\n width: 100%;\n background-color: transparent;\n border: 0;\n outline: none;\n padding: 0;\n font-size: 1rem;\n\n @include design($material) {\n color: #212121;\n background-image: linear-gradient(to top, transparent 1px, #afafaf 1px);\n background-size: 100% 2px;\n background-repeat: no-repeat;\n background-position: center bottom;\n padding-bottom: 2px;\n\n &:read-only, &:read-only:focus {\n background-image: none;\n border-bottom: 1px solid transparent;\n }\n\n &:focus {\n background-image: linear-gradient(var(--flavor-accent), var(--flavor-accent)),\n linear-gradient(to top, transparent 1px, #afafaf 1px);\n }\n }\n\n @include design($flat) {\n color: #1f1f21;\n &, &:focus {\n border-bottom: 1px solid var(--border-light);\n }\n }\n }\n\n &.hiddenInput {\n .text {\n background-image: none;\n border-bottom: 1px solid transparent;\n }\n\n &.noFocusHint {\n .text {\n &:focus {\n background-image: none;\n border-bottom: 1px solid transparent;\n }\n }\n }\n }\n\n .error {\n font-size: 0.7rem;\n --text-primary-default-color: var(--text-error)\n }\n}\n","@use 'sass:selector';\n\n@mixin design($designName) {\n @if & {\n @at-root #{selector.nest(':global(.'+$designName+\")\", &)} {\n @content\n }\n } @else {\n :global(.#{$designName}) {\n @content\n }\n }\n}\n"],"sourceRoot":""}]);
1439
1432
  // Exports
1440
1433
  ___CSS_LOADER_EXPORT___.locals = {
1441
1434
  "input": `input__ylsuY`,
@@ -1443,7 +1436,8 @@ ___CSS_LOADER_EXPORT___.locals = {
1443
1436
  "label": `label__Uty0i`,
1444
1437
  "text": `text__OJDZ5`,
1445
1438
  "hiddenInput": `hiddenInput__KSMQB`,
1446
- "noFocusHint": `noFocusHint__bBtc8`
1439
+ "noFocusHint": `noFocusHint__bBtc8`,
1440
+ "error": `error__LVBul`
1447
1441
  };
1448
1442
  module.exports = ___CSS_LOADER_EXPORT___;
1449
1443
 
@@ -1483,14 +1477,15 @@ var ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = __webpack_require__(1354);
1483
1477
  var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
1484
1478
  var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
1485
1479
  // Module
1486
- ___CSS_LOADER_EXPORT___.push([module.id, `.select__mz94a{width:100%}.select__mz94a .label__oyzeA{font-weight:bold;display:block}.select__mz94a .input__HyuSy{outline:none;background-color:rgba(0,0,0,0);height:2rem;line-height:2rem;color:#1f1f21;appearance:none;border:none;border-radius:0;padding:0 20px 0 0;background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTBweCIgaGVpZ2h0PSI1cHgiIHZpZXdCb3g9IjAgMCAxMCA1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA0My4yICgzOTA2OSkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+c2VsZWN0LWFsbG93PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9InNlbGVjdCIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9Imlvcy1zZWxlY3QiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xOTguMDAwMDAwLCAtMTE0LjAwMDAwMCkiIGZpbGw9IiM3NTc1NzUiPgogICAgICAgICAgICA8ZyBpZD0ibWVudS1iYXItKy1vcGVuLW1lbnUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyMy4wMDAwMDAsIDEwMC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxnIGlkPSJtZW51LWJhciI+CiAgICAgICAgICAgICAgICAgICAgPHBvbHlnb24gaWQ9InNlbGVjdC1hbGxvdyIgcG9pbnRzPSI3NSAxNCA4MCAxOSA4NSAxNCI+PC9wb2x5Z29uPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=");background-repeat:no-repeat}.select__mz94a .input__HyuSy:focus{outline:none}.material-design .select__mz94a .input__HyuSy{-webkit-font-smoothing:antialiased;font-size:15px;background-size:auto,100% 1px;background-position:right center,left bottom}.flat-design .select__mz94a .input__HyuSy{font-size:17px;background-position:right center}.select__mz94a.inline__VLoaD{display:flex;align-items:center}.select__mz94a.inline__VLoaD .label__oyzeA{padding-right:4px;flex:1}.select__mz94a.small__UbTP3 .input__HyuSy{height:initial;line-height:1.5rem}`, "",{"version":3,"sources":["webpack://./src/Components/FormElements/Select/select.scss","webpack://./src/scss/_designMixin.scss"],"names":[],"mappings":"AAGA,eACE,UAAA,CAEA,6BACE,gBAAA,CACA,aAAA,CAGF,6BACE,YAAA,CACA,8BAAA,CACA,WAAA,CACA,gBAAA,CACA,aAAA,CACA,eAAA,CACA,WAAA,CACA,eAAA,CACA,kBAAA,CACA,8lCAAA,CACA,2BAAA,CAEA,mCACE,YAAA,CCrBO,8CDyBP,kCAAA,CACA,cAAA,CACA,6BAAA,CACA,4CAAA,CC5BO,0CDgCP,cAAA,CACA,gCAAA,CAIJ,6BACE,YAAA,CACA,kBAAA,CAEA,2CACE,iBAAA,CACA,MAAA,CAIJ,0CACE,cAAA,CACA,kBAAA","sourcesContent":["@import \"../../../scss/variables\";\n@import \"../../../scss/designMixin\";\n\n.select {\n width: 100%;\n\n .label {\n font-weight: bold;\n display: block;\n }\n\n .input {\n outline: none;\n background-color: transparent;\n height: 2rem;\n line-height: 2rem;\n color: #1f1f21;\n appearance: none;\n border: none;\n border-radius: 0;\n padding: 0 20px 0 0;\n background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTBweCIgaGVpZ2h0PSI1cHgiIHZpZXdCb3g9IjAgMCAxMCA1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA0My4yICgzOTA2OSkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+c2VsZWN0LWFsbG93PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9InNlbGVjdCIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9Imlvcy1zZWxlY3QiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xOTguMDAwMDAwLCAtMTE0LjAwMDAwMCkiIGZpbGw9IiM3NTc1NzUiPgogICAgICAgICAgICA8ZyBpZD0ibWVudS1iYXItKy1vcGVuLW1lbnUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyMy4wMDAwMDAsIDEwMC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxnIGlkPSJtZW51LWJhciI+CiAgICAgICAgICAgICAgICAgICAgPHBvbHlnb24gaWQ9InNlbGVjdC1hbGxvdyIgcG9pbnRzPSI3NSAxNCA4MCAxOSA4NSAxNCI+PC9wb2x5Z29uPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=');\n background-repeat: no-repeat;\n\n &:focus {\n outline: none;\n }\n\n @include design($material) {\n -webkit-font-smoothing: antialiased;\n font-size: 15px;\n background-size: auto, 100% 1px;\n background-position: right center, left bottom;\n }\n\n @include design($flat) {\n font-size: 17px;\n background-position: right center;\n }\n }\n\n &.inline {\n display: flex;\n align-items: center;\n\n .label {\n padding-right: 4px;\n flex: 1;\n }\n }\n\n &.small .input {\n height: initial;\n line-height: 1.5rem;\n }\n}\n","@use 'sass:selector';\n\n@mixin design($designName) {\n @if & {\n @at-root #{selector.nest(':global(.'+$designName+\")\", &)} {\n @content\n }\n } @else {\n :global(.#{$designName}) {\n @content\n }\n }\n}\n"],"sourceRoot":""}]);
1480
+ ___CSS_LOADER_EXPORT___.push([module.id, `.select__mz94a{width:100%}.select__mz94a .label__oyzeA{font-weight:bold;display:block}.select__mz94a .input__HyuSy{outline:none;background-color:rgba(0,0,0,0);height:2rem;line-height:2rem;color:#1f1f21;appearance:none;border:none;border-radius:0;padding:0 20px 0 0;background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTBweCIgaGVpZ2h0PSI1cHgiIHZpZXdCb3g9IjAgMCAxMCA1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA0My4yICgzOTA2OSkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+c2VsZWN0LWFsbG93PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9InNlbGVjdCIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9Imlvcy1zZWxlY3QiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xOTguMDAwMDAwLCAtMTE0LjAwMDAwMCkiIGZpbGw9IiM3NTc1NzUiPgogICAgICAgICAgICA8ZyBpZD0ibWVudS1iYXItKy1vcGVuLW1lbnUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyMy4wMDAwMDAsIDEwMC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxnIGlkPSJtZW51LWJhciI+CiAgICAgICAgICAgICAgICAgICAgPHBvbHlnb24gaWQ9InNlbGVjdC1hbGxvdyIgcG9pbnRzPSI3NSAxNCA4MCAxOSA4NSAxNCI+PC9wb2x5Z29uPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=");background-repeat:no-repeat}.select__mz94a .input__HyuSy:focus{outline:none}.material-design .select__mz94a .input__HyuSy{-webkit-font-smoothing:antialiased;font-size:15px;background-size:auto,100% 1px;background-position:right center,left bottom}.flat-design .select__mz94a .input__HyuSy{font-size:17px;background-position:right center}.select__mz94a.inline__VLoaD{display:flex;align-items:center}.select__mz94a.inline__VLoaD .label__oyzeA{padding-right:4px;flex:1}.select__mz94a.small__UbTP3 .input__HyuSy{height:initial;line-height:1.5rem}.select__mz94a .error__VJG4n{font-size:.7rem;--text-primary-default-color: var(--text-error) }`, "",{"version":3,"sources":["webpack://./src/Components/FormElements/Select/select.scss","webpack://./src/scss/_designMixin.scss"],"names":[],"mappings":"AAGA,eACE,UAAA,CAEA,6BACE,gBAAA,CACA,aAAA,CAGF,6BACE,YAAA,CACA,8BAAA,CACA,WAAA,CACA,gBAAA,CACA,aAAA,CACA,eAAA,CACA,WAAA,CACA,eAAA,CACA,kBAAA,CACA,8lCAAA,CACA,2BAAA,CAEA,mCACE,YAAA,CCrBO,8CDyBP,kCAAA,CACA,cAAA,CACA,6BAAA,CACA,4CAAA,CC5BO,0CDgCP,cAAA,CACA,gCAAA,CAIJ,6BACE,YAAA,CACA,kBAAA,CAEA,2CACE,iBAAA,CACA,MAAA,CAIJ,0CACE,cAAA,CACA,kBAAA,CAGF,6BACE,eAAA,CACA,gDAAA","sourcesContent":["@import \"../../../scss/variables\";\n@import \"../../../scss/designMixin\";\n\n.select {\n width: 100%;\n\n .label {\n font-weight: bold;\n display: block;\n }\n\n .input {\n outline: none;\n background-color: transparent;\n height: 2rem;\n line-height: 2rem;\n color: #1f1f21;\n appearance: none;\n border: none;\n border-radius: 0;\n padding: 0 20px 0 0;\n background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTBweCIgaGVpZ2h0PSI1cHgiIHZpZXdCb3g9IjAgMCAxMCA1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA0My4yICgzOTA2OSkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+c2VsZWN0LWFsbG93PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9InNlbGVjdCIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9Imlvcy1zZWxlY3QiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xOTguMDAwMDAwLCAtMTE0LjAwMDAwMCkiIGZpbGw9IiM3NTc1NzUiPgogICAgICAgICAgICA8ZyBpZD0ibWVudS1iYXItKy1vcGVuLW1lbnUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyMy4wMDAwMDAsIDEwMC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxnIGlkPSJtZW51LWJhciI+CiAgICAgICAgICAgICAgICAgICAgPHBvbHlnb24gaWQ9InNlbGVjdC1hbGxvdyIgcG9pbnRzPSI3NSAxNCA4MCAxOSA4NSAxNCI+PC9wb2x5Z29uPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=');\n background-repeat: no-repeat;\n\n &:focus {\n outline: none;\n }\n\n @include design($material) {\n -webkit-font-smoothing: antialiased;\n font-size: 15px;\n background-size: auto, 100% 1px;\n background-position: right center, left bottom;\n }\n\n @include design($flat) {\n font-size: 17px;\n background-position: right center;\n }\n }\n\n &.inline {\n display: flex;\n align-items: center;\n\n .label {\n padding-right: 4px;\n flex: 1;\n }\n }\n\n &.small .input {\n height: initial;\n line-height: 1.5rem;\n }\n\n .error {\n font-size: 0.7rem;\n --text-primary-default-color: var(--text-error)\n }\n}\n","@use 'sass:selector';\n\n@mixin design($designName) {\n @if & {\n @at-root #{selector.nest(':global(.'+$designName+\")\", &)} {\n @content\n }\n } @else {\n :global(.#{$designName}) {\n @content\n }\n }\n}\n"],"sourceRoot":""}]);
1487
1481
  // Exports
1488
1482
  ___CSS_LOADER_EXPORT___.locals = {
1489
1483
  "select": `select__mz94a`,
1490
1484
  "label": `label__oyzeA`,
1491
1485
  "input": `input__HyuSy`,
1492
1486
  "inline": `inline__VLoaD`,
1493
- "small": `small__UbTP3`
1487
+ "small": `small__UbTP3`,
1488
+ "error": `error__VJG4n`
1494
1489
  };
1495
1490
  module.exports = ___CSS_LOADER_EXPORT___;
1496
1491
 
@@ -1546,11 +1541,12 @@ var ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = __webpack_require__(1354);
1546
1541
  var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
1547
1542
  var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
1548
1543
  // Module
1549
- ___CSS_LOADER_EXPORT___.push([module.id, `.container__oHydJ{width:100%;height:10rem}.container__oHydJ .label__flbC2{display:block}.container__oHydJ textarea{background-color:#efeff4;color:#1f1f21;box-shadow:none;appearance:none;width:100%;height:100%;resize:none;outline:none;padding:5px;border-radius:4px;border:1px solid var(--border-light)}`, "",{"version":3,"sources":["webpack://./src/Components/FormElements/Textarea/textarea.scss"],"names":[],"mappings":"AAAA,kBACE,UAAA,CACA,YAAA,CAEA,gCACE,aAAA,CAGF,2BACE,wBAAA,CACA,aAAA,CACA,eAAA,CACA,eAAA,CACA,UAAA,CACA,WAAA,CACA,WAAA,CACA,YAAA,CACA,WAAA,CACA,iBAAA,CACA,oCAAA","sourcesContent":[".container {\n width: 100%;\n height: 10rem;\n\n .label {\n display: block;\n }\n\n textarea {\n background-color: #efeff4;\n color: #1f1f21;\n box-shadow: none;\n appearance: none;\n width: 100%;\n height: 100%;\n resize: none;\n outline: none;\n padding: 5px;\n border-radius: 4px;\n border: 1px solid var(--border-light);\n }\n}\n"],"sourceRoot":""}]);
1544
+ ___CSS_LOADER_EXPORT___.push([module.id, `.container__oHydJ{width:100%;min-height:10rem;height:100%;display:flex;flex-direction:column}.container__oHydJ .label__flbC2{display:block}.container__oHydJ textarea{flex:1;background-color:#efeff4;color:#1f1f21;box-shadow:none;appearance:none;width:100%;height:100%;resize:none;outline:none;padding:5px;border-radius:4px;border:1px solid var(--border-light)}.container__oHydJ .error__cup_B{font-size:.7rem;--text-primary-default-color: var(--text-error) }`, "",{"version":3,"sources":["webpack://./src/Components/FormElements/Textarea/textarea.scss"],"names":[],"mappings":"AAAA,kBACE,UAAA,CACA,gBAAA,CACA,WAAA,CACA,YAAA,CACA,qBAAA,CAEA,gCACE,aAAA,CAGF,2BACE,MAAA,CACA,wBAAA,CACA,aAAA,CACA,eAAA,CACA,eAAA,CACA,UAAA,CACA,WAAA,CACA,WAAA,CACA,YAAA,CACA,WAAA,CACA,iBAAA,CACA,oCAAA,CAGF,gCACE,eAAA,CACA,gDAAA","sourcesContent":[".container {\n width: 100%;\n min-height: 10rem;\n height: 100%;\n display: flex;\n flex-direction: column;\n\n .label {\n display: block;\n }\n\n textarea {\n flex: 1;\n background-color: #efeff4;\n color: #1f1f21;\n box-shadow: none;\n appearance: none;\n width: 100%;\n height: 100%;\n resize: none;\n outline: none;\n padding: 5px;\n border-radius: 4px;\n border: 1px solid var(--border-light);\n }\n\n .error {\n font-size: 0.7rem;\n --text-primary-default-color: var(--text-error)\n }\n}\n"],"sourceRoot":""}]);
1550
1545
  // Exports
1551
1546
  ___CSS_LOADER_EXPORT___.locals = {
1552
1547
  "container": `container__oHydJ`,
1553
- "label": `label__flbC2`
1548
+ "label": `label__flbC2`,
1549
+ "error": `error__cup_B`
1554
1550
  };
1555
1551
  module.exports = ___CSS_LOADER_EXPORT___;
1556
1552
 
@@ -2619,12 +2615,13 @@ var ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = __webpack_require__(1354);
2619
2615
  var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
2620
2616
  var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
2621
2617
  // Module
2622
- ___CSS_LOADER_EXPORT___.push([module.id, `.topBar__kgza0{flex-wrap:nowrap;justify-content:flex-start;position:relative;display:flex;align-items:center;padding-top:.5rem;padding-bottom:.5rem;background:#fff;height:56px}.topBar__kgza0 .container__Jfy20{display:flex;flex-wrap:inherit;align-items:center;justify-content:center}.topBar__kgza0 .button__mbT9f{display:block;padding:.5rem 1rem;color:#0d3efd;text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}.topBar__kgza0 .button__mbT9f.disabled__LCcLl{color:#6c757d;pointer-events:none;cursor:default}.topBar__kgza0.transparent__wUpRR{opacity:.65;z-index:1}.topBar__kgza0.drawBehind__iJMZU{position:absolute;left:0;right:0}.topBar__kgza0 .titleContainer__Txca2{overflow:hidden}.topBar__kgza0 .titleContainer__Txca2 .title__VtrMU{color:rgba(0,0,0,.55);padding-bottom:.5rem;padding-top:.5rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}.topBar__kgza0 .buttonContainer__E2k7a{white-space:nowrap;display:flex;flex:1;min-width:-webkit-min-content}.topBar__kgza0 .buttonContainer__E2k7a.right__ep1X_{justify-content:flex-end}.topBar__kgza0 .buttonContainer__E2k7a.left__Mpk3V{justify-content:flex-start}.topBar__kgza0 .hiddenContainer__oNK0f{position:relative}.topBar__kgza0 .hiddenContainer__oNK0f .hiddenCloseCurtain__isl1J{position:fixed;top:0;left:0;right:0;bottom:0;z-index:998}.topBar__kgza0 .hiddenContainer__oNK0f .hiddenMenu__juNeE{position:absolute;right:0;white-space:nowrap;display:flex;min-width:-webkit-min-content;justify-content:flex-start;flex-direction:column;z-index:999;background-color:#fff;border:1px solid var(--border-strong)}.material-design .topBar__kgza0{box-shadow:0 1px 5px rgba(0,0,0,.3)}.material-design .topBar__kgza0 .hiddenActionMenu__ozkKS{display:none}.flat-design .topBar__kgza0{background-size:100% 1px;background-repeat:no-repeat;background-position:bottom;background-image:linear-gradient(0deg, #b2b2b2, #b2b2b2 100%)}.flat-design .topBar__kgza0 .hiddenContainer__oNK0f{display:none}`, "",{"version":3,"sources":["webpack://./src/Components/TopBar/topBar.scss","webpack://./src/scss/_designMixin.scss"],"names":[],"mappings":"AAGA,eAEE,gBAAA,CACA,0BAAA,CAGA,iBAAA,CACA,YAAA,CACA,kBAAA,CACA,iBAAA,CACA,oBAAA,CAEA,eAAA,CACA,WAAA,CAEA,iCACE,YAAA,CACA,iBAAA,CACA,kBAAA,CACA,sBAAA,CAGF,8BACE,aAAA,CACA,kBAAA,CACA,aAAA,CACA,oBAAA,CACA,iGAAA,CAEA,8CACE,aAAA,CACA,mBAAA,CACA,cAAA,CAIJ,kCACE,WAAA,CACA,SAAA,CAGF,iCACE,iBAAA,CACA,MAAA,CACA,OAAA,CAGF,sCACE,eAAA,CAEA,oDACE,qBAAA,CACA,oBAAA,CACA,iBAAA,CAEA,kBAAA,CACA,UAAA,CACA,eAAA,CACA,sBAAA,CAIJ,uCACE,kBAAA,CACA,YAAA,CACA,MAAA,CACA,6BAAA,CAEA,oDACE,wBAAA,CAGF,mDACE,0BAAA,CAIJ,uCACE,iBAAA,CAEA,kEACE,cAAA,CACA,KAAA,CACA,MAAA,CACA,OAAA,CACA,QAAA,CACA,WAAA,CAGF,0DACE,iBAAA,CACA,OAAA,CACA,kBAAA,CACA,YAAA,CACA,6BAAA,CACA,0BAAA,CACA,qBAAA,CACA,WAAA,CACA,qBAAA,CACA,qCAAA,CClGO,gCDuGT,mCAAA,CAEA,yDACE,YAAA,CC1GO,4BD8GT,wBAAA,CACA,2BAAA,CACA,0BAAA,CACA,6DAAA,CAEA,oDACE,YAAA","sourcesContent":["@import \"../../scss/variables\";\n@import \"../../scss/designMixin\";\n\n.topBar {\n // navbar-expand\n flex-wrap: nowrap;\n justify-content: flex-start;\n\n // navbar\n position: relative;\n display: flex;\n align-items: center;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n\n background: white;\n height: 56px;\n\n .container {\n display: flex;\n flex-wrap: inherit;\n align-items: center;\n justify-content: center;\n }\n\n .button {\n display: block;\n padding: 0.5rem 1rem;\n color: #0d3efd; // TODO change color\n text-decoration: none;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;\n\n &.disabled {\n color: #6c757d; // TODO change color\n pointer-events: none;\n cursor: default;\n }\n }\n\n &.transparent {\n opacity: 0.65;\n z-index: 1;\n }\n\n &.drawBehind {\n position: absolute;\n left: 0;\n right: 0;\n }\n\n .titleContainer {\n overflow: hidden;\n\n .title {\n color: rgba(0, 0, 0, 0.55); // TODO Change color\n padding-bottom: 0.5rem;\n padding-top: 0.5rem;\n\n white-space: nowrap;\n width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n }\n\n .buttonContainer {\n white-space: nowrap;\n display: flex;\n flex: 1;\n min-width: -webkit-min-content;\n\n &.right {\n justify-content: flex-end;\n }\n\n &.left {\n justify-content: flex-start;\n }\n }\n\n .hiddenContainer {\n position: relative;\n\n .hiddenCloseCurtain {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 998;\n }\n\n .hiddenMenu {\n position: absolute;\n right: 0;\n white-space: nowrap;\n display: flex;\n min-width: -webkit-min-content;\n justify-content: flex-start;\n flex-direction: column;\n z-index: 999;\n background-color: white;\n border: 1px solid var(--border-strong);\n }\n }\n\n @include design($material) {\n box-shadow: 0 1px 5px rgb(0 0 0 / 30%);\n\n .hiddenActionMenu {\n display: none;\n }\n }\n @include design($flat) {\n background-size: 100% 1px;\n background-repeat: no-repeat;\n background-position: bottom;\n background-image: linear-gradient(0deg, #b2b2b2, #b2b2b2 100%);\n\n .hiddenContainer {\n display: none;\n }\n }\n}\n","@use 'sass:selector';\n\n@mixin design($designName) {\n @if & {\n @at-root #{selector.nest(':global(.'+$designName+\")\", &)} {\n @content\n }\n } @else {\n :global(.#{$designName}) {\n @content\n }\n }\n}\n"],"sourceRoot":""}]);
2618
+ ___CSS_LOADER_EXPORT___.push([module.id, `.topBar__kgza0{flex-wrap:nowrap;justify-content:flex-start;position:relative;display:flex;align-items:center;padding-top:.5rem;padding-bottom:.5rem;background:#fff;height:56px}.topBar__kgza0 .container__Jfy20{display:flex;flex-wrap:inherit;align-items:center;justify-content:center}.topBar__kgza0 .button__mbT9f{display:block;padding:.5rem 1rem;color:#0d3efd;text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}.topBar__kgza0 .button__mbT9f.active__UTNIz{cursor:pointer}.topBar__kgza0 .button__mbT9f.disabled__LCcLl{color:#6c757d;pointer-events:none;cursor:default}.topBar__kgza0.transparent__wUpRR{opacity:.65;z-index:1}.topBar__kgza0.drawBehind__iJMZU{position:absolute;left:0;right:0}.topBar__kgza0 .titleContainer__Txca2{overflow:hidden}.topBar__kgza0 .titleContainer__Txca2 .title__VtrMU{color:rgba(0,0,0,.55);padding-bottom:.5rem;padding-top:.5rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}.topBar__kgza0 .buttonContainer__E2k7a{white-space:nowrap;display:flex;flex:1;min-width:-webkit-min-content}.topBar__kgza0 .buttonContainer__E2k7a.right__ep1X_{justify-content:flex-end}.topBar__kgza0 .buttonContainer__E2k7a.left__Mpk3V{justify-content:flex-start}.topBar__kgza0 .hiddenContainer__oNK0f{position:relative}.topBar__kgza0 .hiddenContainer__oNK0f .hiddenCloseCurtain__isl1J{position:fixed;top:0;left:0;right:0;bottom:0;z-index:998}.topBar__kgza0 .hiddenContainer__oNK0f .hiddenMenu__juNeE{position:absolute;right:0;white-space:nowrap;display:flex;min-width:-webkit-min-content;justify-content:flex-start;flex-direction:column;z-index:999;background-color:#fff;border:1px solid var(--border-strong)}.material-design .topBar__kgza0{box-shadow:0 1px 5px rgba(0,0,0,.3)}.material-design .topBar__kgza0 .hiddenActionMenu__ozkKS{display:none}.flat-design .topBar__kgza0{background-size:100% 1px;background-repeat:no-repeat;background-position:bottom;background-image:linear-gradient(0deg, #b2b2b2, #b2b2b2 100%)}.flat-design .topBar__kgza0 .hiddenContainer__oNK0f{display:none}`, "",{"version":3,"sources":["webpack://./src/Components/TopBar/topBar.scss","webpack://./src/scss/_designMixin.scss"],"names":[],"mappings":"AAGA,eAEE,gBAAA,CACA,0BAAA,CAGA,iBAAA,CACA,YAAA,CACA,kBAAA,CACA,iBAAA,CACA,oBAAA,CAEA,eAAA,CACA,WAAA,CAEA,iCACE,YAAA,CACA,iBAAA,CACA,kBAAA,CACA,sBAAA,CAGF,8BAKE,aAAA,CACA,kBAAA,CACA,aAAA,CACA,oBAAA,CACA,iGAAA,CARA,4CACE,cAAA,CASF,8CACE,aAAA,CACA,mBAAA,CACA,cAAA,CAIJ,kCACE,WAAA,CACA,SAAA,CAGF,iCACE,iBAAA,CACA,MAAA,CACA,OAAA,CAGF,sCACE,eAAA,CAEA,oDACE,qBAAA,CACA,oBAAA,CACA,iBAAA,CAEA,kBAAA,CACA,UAAA,CACA,eAAA,CACA,sBAAA,CAIJ,uCACE,kBAAA,CACA,YAAA,CACA,MAAA,CACA,6BAAA,CAEA,oDACE,wBAAA,CAGF,mDACE,0BAAA,CAIJ,uCACE,iBAAA,CAEA,kEACE,cAAA,CACA,KAAA,CACA,MAAA,CACA,OAAA,CACA,QAAA,CACA,WAAA,CAGF,0DACE,iBAAA,CACA,OAAA,CACA,kBAAA,CACA,YAAA,CACA,6BAAA,CACA,0BAAA,CACA,qBAAA,CACA,WAAA,CACA,qBAAA,CACA,qCAAA,CCtGO,gCD2GT,mCAAA,CAEA,yDACE,YAAA,CC9GO,4BDkHT,wBAAA,CACA,2BAAA,CACA,0BAAA,CACA,6DAAA,CAEA,oDACE,YAAA","sourcesContent":["@import \"../../scss/variables\";\n@import \"../../scss/designMixin\";\n\n.topBar {\n // navbar-expand\n flex-wrap: nowrap;\n justify-content: flex-start;\n\n // navbar\n position: relative;\n display: flex;\n align-items: center;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n\n background: white;\n height: 56px;\n\n .container {\n display: flex;\n flex-wrap: inherit;\n align-items: center;\n justify-content: center;\n }\n\n .button {\n &.active {\n cursor: pointer;\n }\n\n display: block;\n padding: 0.5rem 1rem;\n color: #0d3efd; // TODO change color\n text-decoration: none;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;\n\n &.disabled {\n color: #6c757d; // TODO change color\n pointer-events: none;\n cursor: default;\n }\n }\n\n &.transparent {\n opacity: 0.65;\n z-index: 1;\n }\n\n &.drawBehind {\n position: absolute;\n left: 0;\n right: 0;\n }\n\n .titleContainer {\n overflow: hidden;\n\n .title {\n color: rgba(0, 0, 0, 0.55); // TODO Change color\n padding-bottom: 0.5rem;\n padding-top: 0.5rem;\n\n white-space: nowrap;\n width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n }\n\n .buttonContainer {\n white-space: nowrap;\n display: flex;\n flex: 1;\n min-width: -webkit-min-content;\n\n &.right {\n justify-content: flex-end;\n }\n\n &.left {\n justify-content: flex-start;\n }\n }\n\n .hiddenContainer {\n position: relative;\n\n .hiddenCloseCurtain {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 998;\n }\n\n .hiddenMenu {\n position: absolute;\n right: 0;\n white-space: nowrap;\n display: flex;\n min-width: -webkit-min-content;\n justify-content: flex-start;\n flex-direction: column;\n z-index: 999;\n background-color: white;\n border: 1px solid var(--border-strong);\n }\n }\n\n @include design($material) {\n box-shadow: 0 1px 5px rgb(0 0 0 / 30%);\n\n .hiddenActionMenu {\n display: none;\n }\n }\n @include design($flat) {\n background-size: 100% 1px;\n background-repeat: no-repeat;\n background-position: bottom;\n background-image: linear-gradient(0deg, #b2b2b2, #b2b2b2 100%);\n\n .hiddenContainer {\n display: none;\n }\n }\n}\n","@use 'sass:selector';\n\n@mixin design($designName) {\n @if & {\n @at-root #{selector.nest(':global(.'+$designName+\")\", &)} {\n @content\n }\n } @else {\n :global(.#{$designName}) {\n @content\n }\n }\n}\n"],"sourceRoot":""}]);
2623
2619
  // Exports
2624
2620
  ___CSS_LOADER_EXPORT___.locals = {
2625
2621
  "topBar": `topBar__kgza0`,
2626
2622
  "container": `container__Jfy20`,
2627
2623
  "button": `button__mbT9f`,
2624
+ "active": `active__UTNIz`,
2628
2625
  "disabled": `disabled__LCcLl`,
2629
2626
  "transparent": `transparent__wUpRR`,
2630
2627
  "drawBehind": `drawBehind__iJMZU`,
@@ -10014,6 +10011,7 @@ __webpack_require__.d(__webpack_exports__, {
10014
10011
  Grow: () => (/* reexport */ Grow),
10015
10012
  Heading: () => (/* reexport */ HeadingMemo),
10016
10013
  HiddenInput: () => (/* reexport */ HiddenInput_tmp),
10014
+ HookForm: () => (/* reexport */ HookForm),
10017
10015
  HoverMenu: () => (/* reexport */ HoverMenu),
10018
10016
  Icon: () => (/* reexport */ Icon),
10019
10017
  Image: () => (/* reexport */ ImageMemo),
@@ -10021,6 +10019,7 @@ __webpack_require__.d(__webpack_exports__, {
10021
10019
  Inline: () => (/* reexport */ InlineMemo),
10022
10020
  InlineBlock: () => (/* reexport */ InlineBlockMemo),
10023
10021
  Input: () => (/* reexport */ Input),
10022
+ InputController: () => (/* reexport */ InputController),
10024
10023
  List: () => (/* reexport */ List),
10025
10024
  ListItem: () => (/* reexport */ ListItemMemo),
10026
10025
  ListRow: () => (/* reexport */ ListRow),
@@ -10033,10 +10032,15 @@ __webpack_require__.d(__webpack_exports__, {
10033
10032
  MenuItem: () => (/* reexport */ MenuItem),
10034
10033
  MoreButton: () => (/* reexport */ MoreButtonMemo),
10035
10034
  MultipleFileInput: () => (/* reexport */ MultipleFileInput),
10035
+ MultipleFileInputController: () => (/* reexport */ MultipleFileInputController),
10036
10036
  PasswordInput: () => (/* reexport */ PasswordInput),
10037
+ PasswordInputController: () => (/* reexport */ PasswordInputController),
10037
10038
  RESTRICT_CHILDREN: () => (/* reexport */ RESTRICT_CHILDREN),
10038
10039
  SearchSelectInput: () => (/* reexport */ SearchSelectInput),
10039
10040
  Select: () => (/* reexport */ Select),
10041
+ SelectController: () => (/* reexport */ SelectController),
10042
+ SendFormContext: () => (/* reexport */ SendFormContext),
10043
+ Size: () => (/* reexport */ Size),
10040
10044
  SizeCalculator: () => (/* reexport */ SizeCalculatorMemo),
10041
10045
  Slider: () => (/* reexport */ Slider_Slider),
10042
10046
  Spoiler: () => (/* reexport */ SpoilerMemo),
@@ -10051,8 +10055,10 @@ __webpack_require__.d(__webpack_exports__, {
10051
10055
  Table: () => (/* reexport */ Table_tmp),
10052
10056
  Text: () => (/* reexport */ tmp),
10053
10057
  Textarea: () => (/* reexport */ Textarea),
10058
+ TextareaController: () => (/* reexport */ TextareaController),
10054
10059
  Toast: () => (/* reexport */ ToastMemo),
10055
10060
  ToastContainer: () => (/* reexport */ ToastContainerMemo),
10061
+ ToastContext: () => (/* reexport */ ToastContext),
10056
10062
  TopBar: () => (/* reexport */ TopBarMemo),
10057
10063
  TopBarButton: () => (/* reexport */ TopBarButtonMemo),
10058
10064
  View: () => (/* reexport */ View),
@@ -10082,12 +10088,15 @@ __webpack_require__.d(__webpack_exports__, {
10082
10088
  useOnChangeDone: () => (/* reexport */ useOnChangeDone),
10083
10089
  useOnMount: () => (/* reexport */ useOnMount),
10084
10090
  useOnce: () => (/* reexport */ useOnce),
10091
+ useSendFormContext: () => (/* reexport */ useSendFormContext),
10085
10092
  useSharedSelectedColor: () => (/* reexport */ useSharedSelectedColor),
10086
10093
  useSpoilerGroup: () => (/* reexport */ useSpoilerGroup),
10087
10094
  useStrictEnabled: () => (/* reexport */ useStrictEnabled),
10095
+ useToast: () => (/* reexport */ useToast),
10088
10096
  useWindow: () => (/* reexport */ useWindow),
10089
10097
  useWindowDimensions: () => (/* reexport */ useWindowDimensions),
10090
10098
  withForwardRef: () => (/* reexport */ withForwardRef),
10099
+ withHookController: () => (/* reexport */ withHookController),
10091
10100
  withMemo: () => (/* reexport */ withMemo),
10092
10101
  withRenderBrowserOnly: () => (/* reexport */ withRenderBrowserOnly),
10093
10102
  withRestrictedChildren: () => (/* reexport */ withRestrictedChildren)
@@ -10240,18 +10249,18 @@ function withForwardRef(component, styles, defaultAllowChildren) {
10240
10249
  }
10241
10250
  ;// CONCATENATED MODULE: ./src/Components/Hooks/useComposedRef.ts
10242
10251
 
10243
- const useComposedRef = (ref, initialValue = null) => {
10244
- const targetRef = (0,external_react_.useRef)(initialValue);
10245
- (0,external_react_.useEffect)(() => {
10246
- if (!ref) return;
10247
- if (typeof ref === 'function') {
10248
- ref(targetRef.current);
10249
- } else {
10250
- ref.current = targetRef.current;
10252
+ function useComposedRef(...refs) {
10253
+ return (0,external_react_.useCallback)(val => {
10254
+ for (const ref of refs) {
10255
+ if (typeof ref === 'function') {
10256
+ ref(val);
10257
+ } else if (ref) {
10258
+ ref.current = val;
10259
+ }
10251
10260
  }
10252
- }, [ref]);
10253
- return targetRef;
10254
- };
10261
+ // eslint-disable-next-line react-hooks/exhaustive-deps
10262
+ }, refs);
10263
+ }
10255
10264
  ;// CONCATENATED MODULE: ./src/Components/Clickable/Clickable.tsx
10256
10265
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
10257
10266
  var Clickable_rest = undefined && undefined.__rest || function (s, e) {
@@ -10281,12 +10290,15 @@ function Clickable(_a, ref) {
10281
10290
  interactable = true,
10282
10291
  preventDefault = false,
10283
10292
  stopPropagation = true,
10284
- useReactOnMouseLeave = false
10293
+ useReactOnMouseLeave = false,
10294
+ tabIndex,
10295
+ draggable
10285
10296
  } = _a,
10286
- clickData = Clickable_rest(_a, ["className", "children", "style", "href", "target", "id", "interactable", "preventDefault", "stopPropagation", "useReactOnMouseLeave"]);
10297
+ clickData = Clickable_rest(_a, ["className", "children", "style", "href", "target", "id", "interactable", "preventDefault", "stopPropagation", "useReactOnMouseLeave", "tabIndex", "draggable"]);
10287
10298
  // States
10288
10299
  // Refs
10289
- const clickableRef = useComposedRef(ref);
10300
+ const clickableRef = (0,external_react_.useRef)(null);
10301
+ const refSetter = useComposedRef(ref, clickableRef);
10290
10302
  // Callbacks
10291
10303
  const onClickInner = useListener('onClick', clickData);
10292
10304
  const realOnClick = (0,external_react_.useCallback)(e => {
@@ -10372,6 +10384,18 @@ function Clickable(_a, ref) {
10372
10384
  onDragOver(e);
10373
10385
  }
10374
10386
  }, [clickData.onDragOver, onDragOver, preventDefault, stopPropagation]);
10387
+ const onDragStartListener = useListener('onDragStart', clickData);
10388
+ const realOnDragStartListener = (0,external_react_.useCallback)(e => {
10389
+ if (clickData.onDragStart) {
10390
+ if (stopPropagation) {
10391
+ e.stopPropagation();
10392
+ }
10393
+ if (preventDefault) {
10394
+ e.preventDefault();
10395
+ }
10396
+ onDragStartListener(e);
10397
+ }
10398
+ }, [clickData.onDragStart, onDragStartListener, preventDefault, stopPropagation]);
10375
10399
  const onMouseEnter = useListener('onMouseEnter', clickData);
10376
10400
  const realOnMouseEnter = (0,external_react_.useCallback)(e => {
10377
10401
  if (clickData.onMouseEnter) {
@@ -10438,16 +10462,18 @@ function Clickable(_a, ref) {
10438
10462
  onMouseEnter: realOnMouseEnter,
10439
10463
  onMouseLeave: useReactOnMouseLeave ? realOnMouseLeave : undefined,
10440
10464
  onDoubleClick: realOnDoubleClick,
10441
- tabIndex: interactable ? 0 : undefined
10465
+ tabIndex: interactable ? 0 : tabIndex,
10466
+ draggable,
10467
+ onDragStart: realOnDragStartListener
10442
10468
  };
10443
10469
  if (typeof href === 'string') {
10444
10470
  return /*#__PURE__*/external_react_.createElement("a", _extends({}, props, {
10445
10471
  href: href,
10446
- ref: clickableRef
10472
+ ref: refSetter
10447
10473
  }), children);
10448
10474
  }
10449
10475
  return /*#__PURE__*/external_react_.createElement("span", _extends({}, props, {
10450
- ref: clickableRef
10476
+ ref: refSetter
10451
10477
  }), children);
10452
10478
  }
10453
10479
  const ClickableMemo = withForwardRef(Clickable, (clickable_default()));
@@ -11231,7 +11257,10 @@ const DialogBackground = withMemo(function DialogBackground({
11231
11257
  }, (dialogBackground_default()));
11232
11258
  ;// CONCATENATED MODULE: ./src/Components/Dialog/DialogContext.ts
11233
11259
 
11234
- const DialogContext = /*#__PURE__*/external_react_default().createContext(() => Promise.reject());
11260
+ const DialogContext = /*#__PURE__*/external_react_default().createContext(() => {
11261
+ console.error("DialogContext not initialized");
11262
+ return Promise.reject("DialogContext not initialized");
11263
+ });
11235
11264
  const DialogProvider = DialogContext.Provider;
11236
11265
  function useDialog() {
11237
11266
  return (0,external_react_.useContext)(DialogContext);
@@ -11442,6 +11471,17 @@ var ButtonType;
11442
11471
  ButtonType["Primary"] = "primary";
11443
11472
  ButtonType["Secondary"] = "secondary";
11444
11473
  })(ButtonType || (ButtonType = {}));
11474
+ ;// CONCATENATED MODULE: ./src/Size.ts
11475
+ var Size;
11476
+ (function (Size) {
11477
+ Size[Size["xSmall"] = 0] = "xSmall";
11478
+ Size[Size["small"] = 1] = "small";
11479
+ Size[Size["medium"] = 2] = "medium";
11480
+ Size[Size["large"] = 3] = "large";
11481
+ Size[Size["xLarge"] = 4] = "xLarge";
11482
+ Size[Size["xxLarge"] = 5] = "xxLarge";
11483
+ })(Size || (Size = {}));
11484
+ ;
11445
11485
  ;// CONCATENATED MODULE: ./src/Components/FormElements/Button/Button.tsx
11446
11486
  function Button_extends() { return Button_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, Button_extends.apply(null, arguments); }
11447
11487
  var Button_rest = undefined && undefined.__rest || function (s, e) {
@@ -11459,26 +11499,32 @@ var Button_rest = undefined && undefined.__rest || function (s, e) {
11459
11499
 
11460
11500
 
11461
11501
 
11502
+
11462
11503
  const Button = withMemo(function Button(_a) {
11463
11504
  var {
11464
11505
  children,
11465
11506
  className,
11466
11507
  disabled,
11508
+ size,
11509
+ fullWidth = false,
11467
11510
  flavor = Flavor.Accent,
11468
11511
  type = ButtonType.Primary
11469
11512
  } = _a,
11470
- props = Button_rest(_a, ["children", "className", "disabled", "flavor", "type"]);
11513
+ props = Button_rest(_a, ["children", "className", "disabled", "size", "fullWidth", "flavor", "type"]);
11471
11514
  const [onClick, otherProps] = useListenerWithExtractedProps('onClick', props);
11472
11515
  const classes = {
11473
11516
  [(button_default()).primary]: type === ButtonType.Primary,
11474
11517
  [(button_default()).secondary]: type === ButtonType.Secondary,
11475
- [(button_default()).disabled]: disabled
11518
+ [(button_default()).disabled]: disabled,
11519
+ [(button_default()).small]: size === Size.small
11476
11520
  };
11477
11521
  return /*#__PURE__*/external_react_.createElement("button", Button_extends({}, otherProps, {
11478
11522
  disabled: disabled,
11479
11523
  type: "button",
11480
11524
  onClick: onClick,
11481
- className: classnames_default()((button_default()).button, classes, flavor, className)
11525
+ className: classnames_default()((button_default()).button, {
11526
+ [(button_default()).fullWidth]: fullWidth
11527
+ }, classes, flavor, className)
11482
11528
  }), children);
11483
11529
  }, (button_default()));
11484
11530
  // EXTERNAL MODULE: ./src/Components/FormElements/CheckBox/checkbox.scss
@@ -22803,7 +22849,7 @@ const external_react_dom_namespaceObject = require("react-dom");
22803
22849
  function useClientLayoutEffect(...params) {
22804
22850
  if (typeof window !== 'undefined') {
22805
22851
  // eslint-disable-next-line react-hooks/exhaustive-deps,react-hooks/rules-of-hooks
22806
- (0,external_react_.useLayoutEffect)(...params);
22852
+ external_react_default().useLayoutEffect(...params);
22807
22853
  }
22808
22854
  }
22809
22855
  ;// CONCATENATED MODULE: ./src/Components/Menu/Menu.tsx
@@ -23076,49 +23122,97 @@ function ColorInput(_a) {
23076
23122
  // Need ColorInputMemo for autocompletion of phpstorm
23077
23123
  const ColorInputMemo = withMemo(ColorInput, (colorInput_default()));
23078
23124
 
23079
- // EXTERNAL MODULE: ./src/Components/FormElements/Input/FileInput/fileInput.scss
23080
- var fileInput = __webpack_require__(4372);
23081
- var fileInput_default = /*#__PURE__*/__webpack_require__.n(fileInput);
23082
- ;// CONCATENATED MODULE: ./src/Components/Layout/Grow.tsx
23125
+ ;// CONCATENATED MODULE: external "react-hook-form"
23126
+ const external_react_hook_form_namespaceObject = require("react-hook-form");
23127
+ // EXTERNAL MODULE: ./src/Components/LoadingCircle/loadingCircle.scss
23128
+ var loadingCircle = __webpack_require__(5391);
23129
+ var loadingCircle_default = /*#__PURE__*/__webpack_require__.n(loadingCircle);
23130
+ ;// CONCATENATED MODULE: ./src/Components/LoadingCircle/LoadingCircle.tsx
23083
23131
 
23084
23132
 
23085
23133
 
23086
23134
 
23087
- const Grow = withForwardRef(function Grow({
23135
+ function LoadingCircle({
23136
+ size = 32,
23137
+ className,
23138
+ style
23139
+ }) {
23140
+ // Variables
23141
+ // States
23142
+ // Refs
23143
+ // Callbacks
23144
+ // Effects
23145
+ // Other
23146
+ // Render Functions
23147
+ return /*#__PURE__*/external_react_.createElement("svg", {
23148
+ className: classnames_default()((loadingCircle_default()).loadingCircle, className),
23149
+ viewBox: `0 0 ${size} ${size}`,
23150
+ width: size,
23151
+ height: size,
23152
+ style: style
23153
+ }, /*#__PURE__*/external_react_.createElement("circle", {
23154
+ cx: "50%",
23155
+ cy: "50%",
23156
+ r: "40%",
23157
+ fill: "none",
23158
+ className: (loadingCircle_default()).spinner
23159
+ }));
23160
+ }
23161
+ const LoadingCircleMemo = withMemo(LoadingCircle, (loadingCircle_default()));
23162
+
23163
+ // EXTERNAL MODULE: ./src/Components/LoadingArea/loadingArea.scss
23164
+ var loadingArea = __webpack_require__(5455);
23165
+ var loadingArea_default = /*#__PURE__*/__webpack_require__.n(loadingArea);
23166
+ ;// CONCATENATED MODULE: ./src/Components/LoadingArea/LoadingArea.tsx
23167
+
23168
+
23169
+
23170
+
23171
+
23172
+ function LoadingArea({
23173
+ loading,
23174
+ fullWidth = false,
23175
+ fullSize = false,
23176
+ fullHeight = false,
23177
+ opacity = 0.65,
23088
23178
  className,
23089
- children,
23090
- center = false,
23091
23179
  style,
23092
- weight = 1
23093
- }, ref) {
23180
+ children
23181
+ }) {
23094
23182
  // Variables
23183
+ if (fullSize) {
23184
+ fullHeight = true;
23185
+ fullWidth = true;
23186
+ }
23095
23187
  // States
23096
23188
  // Refs
23097
23189
  // Callbacks
23098
23190
  // Effects
23099
23191
  // Other
23100
23192
  // Render Functions
23101
- return /*#__PURE__*/external_react_.createElement("div", {
23102
- ref: ref,
23103
- className: classnames_default()((layout_default()).grow, {
23104
- [(layout_default()).center]: center,
23105
- [(layout_default()).weight0]: weight === 0,
23106
- [(layout_default()).weight1]: weight === 1,
23107
- [(layout_default()).weight2]: weight === 2,
23108
- [(layout_default()).weight3]: weight === 3,
23109
- [(layout_default()).weight4]: weight === 4,
23110
- [(layout_default()).weight5]: weight === 5,
23111
- [(layout_default()).weight6]: weight === 6
23112
- }, className),
23193
+ return /*#__PURE__*/external_react_.createElement("span", {
23194
+ className: classnames_default()((loadingArea_default()).loadingArea, className, {
23195
+ 'full-height': fullHeight,
23196
+ 'full-width': fullWidth
23197
+ }),
23113
23198
  style: style
23114
- }, children);
23115
- }, (layout_default()));
23116
- // EXTERNAL MODULE: ./src/Components/Image/image.scss
23117
- var Image_image = __webpack_require__(6435);
23118
- var image_default = /*#__PURE__*/__webpack_require__.n(Image_image);
23119
- ;// CONCATENATED MODULE: ./src/Components/Image/Image.tsx
23120
- function Image_extends() { return Image_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, Image_extends.apply(null, arguments); }
23121
- var Image_rest = undefined && undefined.__rest || function (s, e) {
23199
+ }, children, loading ? /*#__PURE__*/external_react_.createElement("span", {
23200
+ className: (loadingArea_default()).curtain,
23201
+ style: {
23202
+ opacity
23203
+ }
23204
+ }, /*#__PURE__*/external_react_.createElement(LoadingCircleMemo, null)) : null);
23205
+ }
23206
+ const LoadingAreaMemo = withMemo(LoadingArea, (loadingArea_default()));
23207
+
23208
+ ;// CONCATENATED MODULE: ./src/Components/FormElements/Controller/SendFormContext.ts
23209
+
23210
+ const SendFormContext = /*#__PURE__*/(0,external_react_.createContext)(undefined);
23211
+ function useSendFormContext() {
23212
+ return (0,external_react_.useContext)(SendFormContext);
23213
+ }
23214
+ ;// CONCATENATED MODULE: ./src/Components/FormElements/Controller/HookForm.tsx
23215
+ var HookForm_rest = undefined && undefined.__rest || function (s, e) {
23122
23216
  var t = {};
23123
23217
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
23124
23218
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -23130,62 +23224,49 @@ var Image_rest = undefined && undefined.__rest || function (s, e) {
23130
23224
 
23131
23225
 
23132
23226
 
23133
- function Image(_a) {
23134
- // Variables
23227
+
23228
+ const HookForm = withMemo(function HookForm(_a) {
23229
+ // Refs
23135
23230
  var {
23136
- src,
23137
- alt = '',
23138
- className,
23139
- style
23231
+ children,
23232
+ onSend
23140
23233
  } = _a,
23141
- otherProps = Image_rest(_a, ["src", "alt", "className", "style"]);
23142
- // Refs
23143
- // States
23144
- // Selectors
23234
+ methods = HookForm_rest(_a, ["children", "onSend"]);
23235
+ // States/Variables/Selectors
23236
+ // Create an inner, as the onSend may have other attributes
23237
+ const innerOnSend = (0,external_react_.useCallback)(() => onSend === null || onSend === void 0 ? void 0 : onSend(), [onSend]);
23238
+ // Dispatch
23145
23239
  // Callbacks
23146
23240
  // Effects
23147
23241
  // Other
23148
- // Render Functions
23149
- return /*#__PURE__*/external_react_.createElement("img", Image_extends({
23150
- src: src,
23151
- alt: alt,
23152
- className: classnames_default()((image_default()).image, className),
23153
- style: style
23154
- }, otherProps));
23155
- }
23156
- // Need ImageMemo for autocompletion of phpstorm
23157
- const ImageMemo = withMemo(Image, (image_default()));
23242
+ // RenderFunctions
23243
+ return /*#__PURE__*/external_react_default().createElement(external_react_hook_form_namespaceObject.FormProvider, methods, /*#__PURE__*/external_react_default().createElement(SendFormContext.Provider, {
23244
+ value: innerOnSend
23245
+ }, /*#__PURE__*/external_react_default().createElement(LoadingAreaMemo, {
23246
+ loading: methods.formState.isSubmitting,
23247
+ __allowChildren: "all"
23248
+ }, children)));
23249
+ });
23250
+ // EXTERNAL MODULE: ./src/Components/FormElements/Input/input.scss
23251
+ var input = __webpack_require__(2923);
23252
+ var input_default = /*#__PURE__*/__webpack_require__.n(input);
23253
+ ;// CONCATENATED MODULE: ./src/Components/FormElements/hooks/useOnChangeDone.ts
23158
23254
 
23159
- ;// CONCATENATED MODULE: ./src/Components/FormElements/Input/FileInput/MultipleFileInput.tsx
23160
- function MultipleFileInput_extends() { return MultipleFileInput_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, MultipleFileInput_extends.apply(null, arguments); }
23161
- var __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
23162
- function adopt(value) {
23163
- return value instanceof P ? value : new P(function (resolve) {
23164
- resolve(value);
23165
- });
23166
- }
23167
- return new (P || (P = Promise))(function (resolve, reject) {
23168
- function fulfilled(value) {
23169
- try {
23170
- step(generator.next(value));
23171
- } catch (e) {
23172
- reject(e);
23173
- }
23174
- }
23175
- function rejected(value) {
23176
- try {
23177
- step(generator["throw"](value));
23178
- } catch (e) {
23179
- reject(e);
23180
- }
23181
- }
23182
- function step(result) {
23183
- result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
23184
- }
23185
- step((generator = generator.apply(thisArg, _arguments || [])).next());
23186
- });
23187
- };
23188
- var MultipleFileInput_rest = undefined && undefined.__rest || function (s, e) {
23255
+ function useOnChangeDone(onChangeDone, ref) {
23256
+ const innerRef = (0,external_react_.useRef)(null);
23257
+ const usedRef = ref !== null && ref !== void 0 ? ref : innerRef;
23258
+ (0,external_react_.useEffect)(() => {
23259
+ const elem = usedRef.current;
23260
+ elem === null || elem === void 0 ? void 0 : elem.addEventListener('change', onChangeDone);
23261
+ return () => {
23262
+ elem === null || elem === void 0 ? void 0 : elem.removeEventListener('change', onChangeDone);
23263
+ };
23264
+ }, [onChangeDone, usedRef]);
23265
+ return usedRef;
23266
+ }
23267
+ ;// CONCATENATED MODULE: ./src/Components/FormElements/Input/Input.tsx
23268
+ function Input_extends() { return Input_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, Input_extends.apply(null, arguments); }
23269
+ var Input_rest = undefined && undefined.__rest || function (s, e) {
23189
23270
  var t = {};
23190
23271
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
23191
23272
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -23204,307 +23285,37 @@ var MultipleFileInput_rest = undefined && undefined.__rest || function (s, e) {
23204
23285
 
23205
23286
 
23206
23287
 
23207
-
23208
-
23209
-
23210
-
23211
- const MultipleFileInput = withMemo(function MultipleImageInput(_a) {
23288
+ const Input = withForwardRef(function Input(_a, ref) {
23212
23289
  // Variables
23213
23290
  var {
23291
+ label,
23214
23292
  className,
23215
23293
  style,
23294
+ onKeyDown,
23295
+ inline = false,
23216
23296
  value,
23217
- label,
23218
- mimeTypes = ['image/*'],
23219
- maxFiles = 1,
23220
- maxSizePerFile = 1024 * 1024 * 10,
23221
- allowOverride = maxFiles === 1,
23222
- onError,
23223
- showDeleteButton = true
23297
+ error,
23298
+ onChangeText,
23299
+ onEnter
23224
23300
  } = _a,
23225
- otherProps = MultipleFileInput_rest(_a, ["className", "style", "value", "label", "mimeTypes", "maxFiles", "maxSizePerFile", "allowOverride", "onError", "showDeleteButton"]);
23226
- // Refs
23227
- const inputRef = (0,external_react_.useRef)(null);
23228
- const indexRef = (0,external_react_.useRef)(undefined);
23301
+ otherProps = Input_rest(_a, ["label", "className", "style", "onKeyDown", "inline", "value", "error", "onChangeText", "onEnter"]);
23229
23302
  // States
23230
- // Selectors
23231
- // Callbacks
23232
- const checkMimeType = (0,external_react_.useCallback)(fileType => {
23233
- return mimeTypes.some(type => {
23234
- if (type === '*/*' || type === '*') {
23235
- return true;
23303
+ const usedValue = (0,external_react_.useMemo)(() => {
23304
+ if (otherProps.type !== "number" || typeof value === "number") {
23305
+ return value;
23306
+ }
23307
+ if (typeof value === "string") {
23308
+ if (value === "-") {
23309
+ return value;
23236
23310
  }
23237
- if (type.endsWith('/*')) {
23238
- return fileType.startsWith(type.substring(0, type.length - 2));
23239
- }
23240
- return fileType === type;
23241
- });
23242
- }, [mimeTypes]);
23243
- const [onChangeFiles, ...props] = useListenerWithExtractedProps('onChangeFiles', otherProps);
23244
- const getBase64 = (0,external_react_.useCallback)(inputFiles => {
23245
- const promises = inputFiles.map(file => new Promise((resolve, reject) => {
23246
- const reader = new FileReader();
23247
- reader.onload = () => {
23248
- resolve(reader.result);
23249
- };
23250
- reader.onerror = reject;
23251
- reader.readAsDataURL(file);
23252
- }));
23253
- return Promise.all(promises);
23254
- }, []);
23255
- const onNewFiles = (0,external_react_.useCallback)((newFiles, index) => __awaiter(this, void 0, void 0, function* () {
23256
- if (newFiles.some(file => !checkMimeType(file.type))) {
23257
- onError === null || onError === void 0 ? void 0 : onError('Eine Datei ist im falschen Format');
23258
- return;
23259
- }
23260
- if (newFiles.length + value.length > maxFiles && (!allowOverride || index === undefined || index + newFiles.length > maxFiles)) {
23261
- onError === null || onError === void 0 ? void 0 : onError(`Es sind nur ${maxFiles} Dateien erlaubt.`);
23262
- return;
23263
- }
23264
- if (maxSizePerFile && newFiles.some(file => file.size > maxSizePerFile)) {
23265
- onError === null || onError === void 0 ? void 0 : onError(`Eine Datei ist zu groß. Jede Datei darf nur ${maxSizePerFile / 1024 / 1024}MB groß sein.`);
23266
- return;
23267
- }
23268
- const newUrls = yield getBase64(newFiles);
23269
- const newValue = newFiles.map((file, fileIndex) => ({
23270
- name: file.name,
23271
- data: newUrls[fileIndex],
23272
- mimeType: file.type,
23273
- blob: file
23274
- }));
23275
- if (newFiles.length + value.length > maxFiles && index !== undefined) {
23276
- const onChangeFilesValue = [...value];
23277
- onChangeFilesValue.splice(index, newFiles.length, ...newValue);
23278
- onChangeFiles(onChangeFilesValue);
23279
- } else {
23280
- onChangeFiles([...value, ...newValue]);
23281
- }
23282
- }), [allowOverride, checkMimeType, getBase64, maxFiles, maxSizePerFile, onChangeFiles, onError, value]);
23283
- const onInputChange = (0,external_react_.useCallback)(e => __awaiter(this, void 0, void 0, function* () {
23284
- const index = indexRef.current;
23285
- indexRef.current = undefined;
23286
- if (!e.target.files || e.target.files.length === 0) {
23287
- return;
23288
- }
23289
- const newFiles = Array.from(e.target.files);
23290
- yield onNewFiles(newFiles, index);
23291
- }), [onNewFiles]);
23292
- const removeFile = (0,external_react_.useCallback)((_, index) => {
23293
- if (index >= 0 && index < value.length) {
23294
- const newData = [...value];
23295
- newData.splice(index, 1);
23296
- onChangeFiles(newData);
23297
- }
23298
- }, [onChangeFiles, value]);
23299
- const onDrop = (0,external_react_.useCallback)((event, index) => __awaiter(this, void 0, void 0, function* () {
23300
- event.preventDefault();
23301
- const files = [];
23302
- if (event.dataTransfer.items) {
23303
- for (let i = 0; i < event.dataTransfer.items.length; i++) {
23304
- if (event.dataTransfer.items[i].kind === 'file') {
23305
- const file = event.dataTransfer.items[i].getAsFile();
23306
- if (file) {
23307
- files.push(file);
23308
- }
23309
- }
23310
- }
23311
- } else {
23312
- for (let i = 0; i < event.dataTransfer.files.length; i++) {
23313
- files.push(event.dataTransfer.files[i]);
23314
- }
23315
- }
23316
- yield onNewFiles(files, index);
23317
- }), [onNewFiles]);
23318
- const onDragOver = (0,external_react_.useCallback)(e => e.preventDefault(), []);
23319
- const clickOnFile = (0,external_react_.useCallback)((_, index) => {
23320
- if (index !== undefined && !allowOverride || !inputRef.current) {
23321
- return;
23322
- }
23323
- indexRef.current = index;
23324
- inputRef.current.dispatchEvent(new MouseEvent("click"));
23325
- }, [allowOverride]);
23326
- // Effects
23327
- // Other
23328
- // Render Functions
23329
- const renderFile = file => {
23330
- if (file.mimeType.startsWith('image/')) {
23331
- return /*#__PURE__*/external_react_.createElement(ImageMemo, {
23332
- key: file.data,
23333
- src: file.data,
23334
- alt: file.name,
23335
- className: classnames_default()((fileInput_default()).previewImage, file.data)
23336
- });
23337
- }
23338
- // TODO style
23339
- return /*#__PURE__*/external_react_.createElement(BlockMemo, {
23340
- className: (fileInput_default()).previewText
23341
- }, /*#__PURE__*/external_react_.createElement(Icon, {
23342
- icon: free_solid_svg_icons_namespaceObject.faFile,
23343
- className: (fileInput_default()).previewTextIcon
23344
- }), /*#__PURE__*/external_react_.createElement(tmp, null, file.name));
23345
- };
23346
- return /*#__PURE__*/external_react_.createElement("span", {
23347
- className: classnames_default()((fileInput_default()).fileInput, className),
23348
- style: style
23349
- }, /*#__PURE__*/external_react_.createElement(Flex_tmp, {
23350
- horizontal: true
23351
- }, !!label && /*#__PURE__*/external_react_.createElement(Grow, null, /*#__PURE__*/external_react_.createElement(tmp, null, label)), maxFiles > 1 && /*#__PURE__*/external_react_.createElement(InlineMemo, null, /*#__PURE__*/external_react_.createElement(tmp, null, value.length, "/", maxFiles))), /*#__PURE__*/external_react_.createElement(Flex_tmp, {
23352
- horizontal: true,
23353
- className: (fileInput_default()).previewContainer
23354
- }, value === null || value === void 0 ? void 0 : value.map((file, index) => {
23355
- return /*#__PURE__*/external_react_.createElement(Grow, {
23356
- className: (fileInput_default()).preview,
23357
- center: true,
23358
- key: file.data
23359
- }, /*#__PURE__*/external_react_.createElement(ClickableMemo, {
23360
- onDrop: onDrop,
23361
- onDragOver: onDragOver,
23362
- onDropData: index,
23363
- onClick: clickOnFile,
23364
- onClickData: index
23365
- }, renderFile(file), showDeleteButton && /*#__PURE__*/external_react_.createElement(ClickableMemo, {
23366
- className: (fileInput_default()).previewRemove,
23367
- onClick: removeFile,
23368
- onClickData: index
23369
- }, /*#__PURE__*/external_react_.createElement(Icon, {
23370
- icon: free_solid_svg_icons_namespaceObject.faTimesCircle
23371
- }))));
23372
- }), /*#__PURE__*/external_react_.createElement(Grow, {
23373
- className: classnames_default()((fileInput_default()).addFile, {
23374
- [(fileInput_default()).hidden]: value.length >= maxFiles
23375
- }),
23376
- center: true
23377
- }, /*#__PURE__*/external_react_.createElement(ClickableMemo, {
23378
- className: (fileInput_default()).addFileButton,
23379
- onDrop: onDrop,
23380
- onDragOver: onDragOver,
23381
- onDropData: maxFiles,
23382
- onClick: clickOnFile,
23383
- __allowChildren: "html"
23384
- }, /*#__PURE__*/external_react_.createElement(Icon, {
23385
- icon: free_solid_svg_icons_namespaceObject.faPlus
23386
- }), /*#__PURE__*/external_react_.createElement("input", MultipleFileInput_extends({}, props, {
23387
- ref: inputRef,
23388
- className: (fileInput_default()).value,
23389
- onChange: onInputChange,
23390
- value: "",
23391
- type: "file",
23392
- multiple: maxFiles > 1,
23393
- accept: mimeTypes.join(', ')
23394
- }))))));
23395
- }, (fileInput_default()));
23396
- ;// CONCATENATED MODULE: ./src/Components/FormElements/Input/FileInput/FileInput.tsx
23397
- function FileInput_extends() { return FileInput_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, FileInput_extends.apply(null, arguments); }
23398
- var FileInput_rest = undefined && undefined.__rest || function (s, e) {
23399
- var t = {};
23400
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
23401
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
23402
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
23403
- }
23404
- return t;
23405
- };
23406
-
23407
-
23408
-
23409
-
23410
-
23411
-
23412
- // TODO use MultipleFileInput internal
23413
- const FileInput = withMemo(function FileInput(_a) {
23414
- // Variables
23415
- var {
23416
- value,
23417
- mimeType,
23418
- required = false
23419
- } = _a,
23420
- otherProps = FileInput_rest(_a, ["value", "mimeType", "required"]);
23421
- // Refs
23422
- // States
23423
- const mimeTypes = (0,external_react_.useMemo)(() => mimeType ? [mimeType] : undefined, [mimeType]);
23424
- const innerValue = (0,external_react_.useMemo)(() => value ? [value] : [], [value]);
23425
- // Selectors
23426
- // Callbacks
23427
- const [onChangeFile, multipleFileInputProps] = useListenerWithExtractedProps("onChangeFile", otherProps);
23428
- const onChangeFiles = (0,external_react_.useCallback)(files => {
23429
- if (!required || files[0]) {
23430
- onChangeFile(files[0]);
23431
- }
23432
- }, [onChangeFile, required]);
23433
- // Effects
23434
- // Other
23435
- // Render Functions
23436
- return /*#__PURE__*/external_react_.createElement(MultipleFileInput, FileInput_extends({
23437
- maxFiles: 1,
23438
- value: innerValue,
23439
- onChangeFiles: onChangeFiles,
23440
- mimeTypes: mimeTypes,
23441
- showDeleteButton: !required
23442
- }, multipleFileInputProps));
23443
- }, (fileInput_default()));
23444
- // EXTERNAL MODULE: ./src/Components/FormElements/Input/input.scss
23445
- var input = __webpack_require__(2923);
23446
- var input_default = /*#__PURE__*/__webpack_require__.n(input);
23447
- ;// CONCATENATED MODULE: ./src/Components/FormElements/hooks/useOnChangeDone.ts
23448
-
23449
- function useOnChangeDone(onChangeDone, ref) {
23450
- const innerRef = (0,external_react_.useRef)(null);
23451
- const usedRef = ref !== null && ref !== void 0 ? ref : innerRef;
23452
- (0,external_react_.useEffect)(() => {
23453
- const elem = usedRef.current;
23454
- elem === null || elem === void 0 ? void 0 : elem.addEventListener('change', onChangeDone);
23455
- return () => {
23456
- elem === null || elem === void 0 ? void 0 : elem.removeEventListener('change', onChangeDone);
23457
- };
23458
- }, [ref, onChangeDone, usedRef]);
23459
- return usedRef;
23460
- }
23461
- ;// CONCATENATED MODULE: ./src/Components/FormElements/Input/Input.tsx
23462
- function Input_extends() { return Input_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, Input_extends.apply(null, arguments); }
23463
- var Input_rest = undefined && undefined.__rest || function (s, e) {
23464
- var t = {};
23465
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
23466
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
23467
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
23468
- }
23469
- return t;
23470
- };
23471
-
23472
-
23473
-
23474
-
23475
-
23476
-
23477
-
23478
-
23479
- const Input = withForwardRef(function Input(_a, ref) {
23480
- // Variables
23481
- var {
23482
- label,
23483
- className,
23484
- style,
23485
- onKeyDown,
23486
- inline = false,
23487
- value,
23488
- onChangeText
23489
- } = _a,
23490
- otherProps = Input_rest(_a, ["label", "className", "style", "onKeyDown", "inline", "value", "onChangeText"]);
23491
- // States
23492
- const usedValue = (0,external_react_.useMemo)(() => {
23493
- if (otherProps.type !== "number" || typeof value === "number") {
23494
- return value;
23495
- }
23496
- if (typeof value === "string") {
23497
- if (value === "-") {
23498
- return value;
23499
- }
23500
- const numberValue = parseFloat(value);
23501
- if (!Number.isNaN(numberValue) && Number.isFinite(numberValue)) {
23502
- if (otherProps.max !== undefined && numberValue > Number(otherProps.max)) {
23503
- return otherProps.max;
23504
- }
23505
- if (otherProps.min !== undefined && numberValue < Number(otherProps.min)) {
23506
- return otherProps.min;
23507
- }
23311
+ const numberValue = parseFloat(value);
23312
+ if (!Number.isNaN(numberValue) && Number.isFinite(numberValue)) {
23313
+ if (otherProps.max !== undefined && numberValue > Number(otherProps.max)) {
23314
+ return otherProps.max;
23315
+ }
23316
+ if (otherProps.min !== undefined && numberValue < Number(otherProps.min)) {
23317
+ return otherProps.min;
23318
+ }
23508
23319
  }
23509
23320
  if (!Number.isNaN(Number(value))) {
23510
23321
  // Do not parse to allow ., and so on
@@ -23517,8 +23328,11 @@ const Input = withForwardRef(function Input(_a, ref) {
23517
23328
  return "";
23518
23329
  }, [value, otherProps.max, otherProps.min, otherProps.type]);
23519
23330
  // Refs
23520
- const innerRef = useComposedRef(ref);
23331
+ const innerRef = (0,external_react_.useRef)(null);
23332
+ const refFunction = useComposedRef(ref, innerRef);
23521
23333
  // Callbacks
23334
+ const sendForm = useSendFormContext();
23335
+ onEnter !== null && onEnter !== void 0 ? onEnter : onEnter = sendForm;
23522
23336
  const [onChangeWithData, otherPropsWithoutOnchange] = useListenerWithExtractedProps('onChange', otherProps);
23523
23337
  const onChange = (0,external_react_.useCallback)(e => {
23524
23338
  if (onChangeText) {
@@ -23539,13 +23353,13 @@ const Input = withForwardRef(function Input(_a, ref) {
23539
23353
  const [onChangeDone, otherPropsWithoutData] = useListenerWithExtractedProps('onChangeDone', otherPropsWithoutBlur);
23540
23354
  const realOnKeyDown = (0,external_react_.useCallback)(e => {
23541
23355
  onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
23542
- if (otherProps.onEnter && e.key === 'Enter' && !e.defaultPrevented) {
23356
+ if (onEnter && e.key === 'Enter' && !e.defaultPrevented) {
23543
23357
  if (otherProps.type === "number") {
23544
23358
  const stringValue = e.target.value;
23545
23359
  const val = !Number.isNaN(Number(stringValue)) ? stringValue : !Number.isNaN(parseFloat(stringValue)) ? String(parseFloat(stringValue)) : "";
23546
- otherProps.onEnter(val);
23360
+ onEnter(val);
23547
23361
  } else {
23548
- otherProps.onEnter(e.target.value);
23362
+ onEnter(e.target.value);
23549
23363
  }
23550
23364
  }
23551
23365
  if (otherProps.type === "number") {
@@ -23594,16 +23408,18 @@ const Input = withForwardRef(function Input(_a, ref) {
23594
23408
  }, otherPropsWithoutData, {
23595
23409
  value: usedValue,
23596
23410
  type: otherProps.type === "number" ? "text" : otherProps.type,
23597
- ref: innerRef,
23411
+ ref: refFunction,
23598
23412
  className: (input_default()).text,
23599
23413
  onBlur: onBlur,
23600
23414
  onChange: onChange,
23601
23415
  onKeyDown: realOnKeyDown
23602
- })));
23416
+ })), error && /*#__PURE__*/external_react_.createElement(InlineBlockMemo, {
23417
+ className: (input_default()).error
23418
+ }, /*#__PURE__*/external_react_.createElement(tmp, null, error)));
23603
23419
  }, (input_default()));
23604
- ;// CONCATENATED MODULE: ./src/Components/FormElements/Input/HiddenInput.tsx
23605
- function HiddenInput_extends() { return HiddenInput_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, HiddenInput_extends.apply(null, arguments); }
23606
- var HiddenInput_rest = undefined && undefined.__rest || function (s, e) {
23420
+ ;// CONCATENATED MODULE: ./src/Components/FormElements/Controller/withHookController.tsx
23421
+ function withHookController_extends() { return withHookController_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, withHookController_extends.apply(null, arguments); }
23422
+ var withHookController_rest = undefined && undefined.__rest || function (s, e) {
23607
23423
  var t = {};
23608
23424
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
23609
23425
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -23615,28 +23431,373 @@ var HiddenInput_rest = undefined && undefined.__rest || function (s, e) {
23615
23431
 
23616
23432
 
23617
23433
 
23618
-
23619
- function HiddenInput(_a) {
23620
- // Variables
23621
- var {
23622
- noFocusHint = false,
23623
- className
23624
- } = _a,
23625
- props = HiddenInput_rest(_a, ["noFocusHint", "className"]);
23434
+ function withHookController(Comp, onChangeProp, emptyValue = null) {
23435
+ function WithHookComponent(_a, ref) {
23436
+ var _b, _c;
23437
+ var {
23438
+ name
23439
+ } = _a,
23440
+ otherProps = withHookController_rest(_a, ["name"]);
23441
+ const children = "children" in otherProps ? otherProps.children : undefined;
23442
+ const {
23443
+ field,
23444
+ fieldState
23445
+ } = (0,external_react_hook_form_namespaceObject.useController)({
23446
+ name
23447
+ });
23448
+ const {
23449
+ clearErrors
23450
+ } = (0,external_react_hook_form_namespaceObject.useFormContext)();
23451
+ const composedRef = useComposedRef(ref, field.ref);
23452
+ const errorMessage = (_b = fieldState.error) === null || _b === void 0 ? void 0 : _b.message;
23453
+ const internalOnChange = (0,external_react_.useCallback)(arg => {
23454
+ clearErrors(name);
23455
+ field.onChange(arg);
23456
+ }, [clearErrors, field, name]);
23457
+ const onChangeProps = {
23458
+ [onChangeProp]: internalOnChange
23459
+ };
23460
+ return (
23461
+ /*#__PURE__*/
23462
+ // @ts-expect-error Because of the prop spreading, typescript is really confused here
23463
+ external_react_default().createElement(Comp, withHookController_extends({}, otherProps, field, onChangeProps, {
23464
+ value: (_c = field.value) !== null && _c !== void 0 ? _c : emptyValue,
23465
+ ref: composedRef,
23466
+ error: errorMessage
23467
+ }), children)
23468
+ );
23469
+ }
23470
+ return withForwardRef(WithHookComponent);
23471
+ }
23472
+ ;// CONCATENATED MODULE: ./src/Components/FormElements/Controller/InputController.ts
23473
+
23474
+
23475
+ const InputController = withHookController(Input, "onChangeText");
23476
+ // EXTERNAL MODULE: ./src/Components/FormElements/Input/FileInput/fileInput.scss
23477
+ var fileInput = __webpack_require__(4372);
23478
+ var fileInput_default = /*#__PURE__*/__webpack_require__.n(fileInput);
23479
+ ;// CONCATENATED MODULE: ./src/Components/Layout/Grow.tsx
23480
+
23481
+
23482
+
23483
+
23484
+ const Grow = withForwardRef(function Grow({
23485
+ className,
23486
+ children,
23487
+ center = false,
23488
+ style,
23489
+ weight = 1
23490
+ }, ref) {
23491
+ // Variables
23626
23492
  // States
23627
23493
  // Refs
23628
23494
  // Callbacks
23629
23495
  // Effects
23630
23496
  // Other
23631
23497
  // Render Functions
23632
- return /*#__PURE__*/external_react_.createElement(Input, HiddenInput_extends({
23633
- className: classnames_default()((input_default()).hiddenInput, {
23634
- [(input_default()).noFocusHint]: noFocusHint
23635
- }, className)
23636
- }, props));
23498
+ return /*#__PURE__*/external_react_.createElement("div", {
23499
+ ref: ref,
23500
+ className: classnames_default()((layout_default()).grow, {
23501
+ [(layout_default()).center]: center,
23502
+ [(layout_default()).weight0]: weight === 0,
23503
+ [(layout_default()).weight1]: weight === 1,
23504
+ [(layout_default()).weight2]: weight === 2,
23505
+ [(layout_default()).weight3]: weight === 3,
23506
+ [(layout_default()).weight4]: weight === 4,
23507
+ [(layout_default()).weight5]: weight === 5,
23508
+ [(layout_default()).weight6]: weight === 6
23509
+ }, className),
23510
+ style: style
23511
+ }, children);
23512
+ }, (layout_default()));
23513
+ // EXTERNAL MODULE: ./src/Components/Image/image.scss
23514
+ var Image_image = __webpack_require__(6435);
23515
+ var image_default = /*#__PURE__*/__webpack_require__.n(Image_image);
23516
+ ;// CONCATENATED MODULE: ./src/Components/Image/Image.tsx
23517
+ function Image_extends() { return Image_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, Image_extends.apply(null, arguments); }
23518
+ var Image_rest = undefined && undefined.__rest || function (s, e) {
23519
+ var t = {};
23520
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
23521
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
23522
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
23523
+ }
23524
+ return t;
23525
+ };
23526
+
23527
+
23528
+
23529
+
23530
+ function Image(_a) {
23531
+ // Variables
23532
+ var {
23533
+ src,
23534
+ alt = '',
23535
+ className,
23536
+ style
23537
+ } = _a,
23538
+ otherProps = Image_rest(_a, ["src", "alt", "className", "style"]);
23539
+ // Refs
23540
+ // States
23541
+ // Selectors
23542
+ // Callbacks
23543
+ // Effects
23544
+ // Other
23545
+ // Render Functions
23546
+ return /*#__PURE__*/external_react_.createElement("img", Image_extends({
23547
+ src: src,
23548
+ alt: alt,
23549
+ className: classnames_default()((image_default()).image, className),
23550
+ style: style
23551
+ }, otherProps));
23637
23552
  }
23638
- const HiddenInput_tmp = withMemo(HiddenInput);
23553
+ // Need ImageMemo for autocompletion of phpstorm
23554
+ const ImageMemo = withMemo(Image, (image_default()));
23555
+
23556
+ ;// CONCATENATED MODULE: ./src/Components/FormElements/Input/FileInput/MultipleFileInput.tsx
23557
+ function MultipleFileInput_extends() { return MultipleFileInput_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, MultipleFileInput_extends.apply(null, arguments); }
23558
+ var __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
23559
+ function adopt(value) {
23560
+ return value instanceof P ? value : new P(function (resolve) {
23561
+ resolve(value);
23562
+ });
23563
+ }
23564
+ return new (P || (P = Promise))(function (resolve, reject) {
23565
+ function fulfilled(value) {
23566
+ try {
23567
+ step(generator.next(value));
23568
+ } catch (e) {
23569
+ reject(e);
23570
+ }
23571
+ }
23572
+ function rejected(value) {
23573
+ try {
23574
+ step(generator["throw"](value));
23575
+ } catch (e) {
23576
+ reject(e);
23577
+ }
23578
+ }
23579
+ function step(result) {
23580
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
23581
+ }
23582
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
23583
+ });
23584
+ };
23585
+ var MultipleFileInput_rest = undefined && undefined.__rest || function (s, e) {
23586
+ var t = {};
23587
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
23588
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
23589
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
23590
+ }
23591
+ return t;
23592
+ };
23593
+
23594
+
23595
+
23596
+
23597
+
23598
+
23599
+
23600
+
23601
+
23602
+
23603
+
23604
+
23605
+
23606
+
23607
+
23608
+
23609
+ const MultipleFileInput = withMemo(function MultipleImageInput(_a) {
23610
+ // Variables
23611
+ var {
23612
+ className,
23613
+ style,
23614
+ value,
23615
+ label,
23616
+ mimeTypes = ['image/*'],
23617
+ maxFiles = 1,
23618
+ maxSizePerFile = 1024 * 1024 * 10,
23619
+ allowOverride = maxFiles === 1,
23620
+ onError,
23621
+ showDeleteButton = true,
23622
+ error
23623
+ } = _a,
23624
+ otherProps = MultipleFileInput_rest(_a, ["className", "style", "value", "label", "mimeTypes", "maxFiles", "maxSizePerFile", "allowOverride", "onError", "showDeleteButton", "error"]);
23625
+ // Refs
23626
+ const inputRef = (0,external_react_.useRef)(null);
23627
+ const indexRef = (0,external_react_.useRef)(undefined);
23628
+ // States
23629
+ // Selectors
23630
+ // Callbacks
23631
+ const checkMimeType = (0,external_react_.useCallback)(fileType => {
23632
+ return mimeTypes.some(type => {
23633
+ if (type === '*/*' || type === '*') {
23634
+ return true;
23635
+ }
23636
+ if (type.endsWith('/*')) {
23637
+ return fileType.startsWith(type.substring(0, type.length - 2));
23638
+ }
23639
+ return fileType === type;
23640
+ });
23641
+ }, [mimeTypes]);
23642
+ const [onChangeFiles, ...props] = useListenerWithExtractedProps('onChangeFiles', otherProps);
23643
+ const getBase64 = (0,external_react_.useCallback)(inputFiles => {
23644
+ const promises = inputFiles.map(file => new Promise((resolve, reject) => {
23645
+ const reader = new FileReader();
23646
+ reader.onload = () => {
23647
+ resolve(reader.result);
23648
+ };
23649
+ reader.onerror = reject;
23650
+ reader.readAsDataURL(file);
23651
+ }));
23652
+ return Promise.all(promises);
23653
+ }, []);
23654
+ const onNewFiles = (0,external_react_.useCallback)((newFiles, index) => __awaiter(this, void 0, void 0, function* () {
23655
+ if (newFiles.some(file => !checkMimeType(file.type))) {
23656
+ onError === null || onError === void 0 ? void 0 : onError('Eine Datei ist im falschen Format');
23657
+ return;
23658
+ }
23659
+ if (newFiles.length + value.length > maxFiles && (!allowOverride || index === undefined || index + newFiles.length > maxFiles)) {
23660
+ onError === null || onError === void 0 ? void 0 : onError(`Es sind nur ${maxFiles} Dateien erlaubt.`);
23661
+ return;
23662
+ }
23663
+ if (maxSizePerFile && newFiles.some(file => file.size > maxSizePerFile)) {
23664
+ onError === null || onError === void 0 ? void 0 : onError(`Eine Datei ist zu groß. Jede Datei darf nur ${maxSizePerFile / 1024 / 1024}MB groß sein.`);
23665
+ return;
23666
+ }
23667
+ const newUrls = yield getBase64(newFiles);
23668
+ const newValue = newFiles.map((file, fileIndex) => ({
23669
+ name: file.name,
23670
+ data: newUrls[fileIndex],
23671
+ mimeType: file.type,
23672
+ blob: file
23673
+ }));
23674
+ if (newFiles.length + value.length > maxFiles && index !== undefined) {
23675
+ const onChangeFilesValue = [...value];
23676
+ onChangeFilesValue.splice(index, newFiles.length, ...newValue);
23677
+ onChangeFiles(onChangeFilesValue);
23678
+ } else {
23679
+ onChangeFiles([...value, ...newValue]);
23680
+ }
23681
+ }), [allowOverride, checkMimeType, getBase64, maxFiles, maxSizePerFile, onChangeFiles, onError, value]);
23682
+ const onInputChange = (0,external_react_.useCallback)(e => __awaiter(this, void 0, void 0, function* () {
23683
+ const index = indexRef.current;
23684
+ indexRef.current = undefined;
23685
+ if (!e.target.files || e.target.files.length === 0) {
23686
+ return;
23687
+ }
23688
+ const newFiles = Array.from(e.target.files);
23689
+ yield onNewFiles(newFiles, index);
23690
+ }), [onNewFiles]);
23691
+ const removeFile = (0,external_react_.useCallback)((_, index) => {
23692
+ if (index >= 0 && index < value.length) {
23693
+ const newData = [...value];
23694
+ newData.splice(index, 1);
23695
+ onChangeFiles(newData);
23696
+ }
23697
+ }, [onChangeFiles, value]);
23698
+ const onDrop = (0,external_react_.useCallback)((event, index) => __awaiter(this, void 0, void 0, function* () {
23699
+ event.preventDefault();
23700
+ const files = [];
23701
+ if (event.dataTransfer.items) {
23702
+ for (let i = 0; i < event.dataTransfer.items.length; i++) {
23703
+ if (event.dataTransfer.items[i].kind === 'file') {
23704
+ const file = event.dataTransfer.items[i].getAsFile();
23705
+ if (file) {
23706
+ files.push(file);
23707
+ }
23708
+ }
23709
+ }
23710
+ } else {
23711
+ for (let i = 0; i < event.dataTransfer.files.length; i++) {
23712
+ files.push(event.dataTransfer.files[i]);
23713
+ }
23714
+ }
23715
+ yield onNewFiles(files, index);
23716
+ }), [onNewFiles]);
23717
+ const onDragOver = (0,external_react_.useCallback)(e => e.preventDefault(), []);
23718
+ const clickOnFile = (0,external_react_.useCallback)((_, index) => {
23719
+ if (index !== undefined && !allowOverride || !inputRef.current) {
23720
+ return;
23721
+ }
23722
+ indexRef.current = index;
23723
+ inputRef.current.dispatchEvent(new MouseEvent("click"));
23724
+ }, [allowOverride]);
23725
+ // Effects
23726
+ // Other
23727
+ // Render Functions
23728
+ const renderFile = file => {
23729
+ if (file.mimeType.startsWith('image/')) {
23730
+ return /*#__PURE__*/external_react_.createElement(ImageMemo, {
23731
+ key: file.data,
23732
+ src: file.data,
23733
+ alt: file.name,
23734
+ className: classnames_default()((fileInput_default()).previewImage, file.data)
23735
+ });
23736
+ }
23737
+ // TODO style
23738
+ return /*#__PURE__*/external_react_.createElement(BlockMemo, {
23739
+ className: (fileInput_default()).previewText
23740
+ }, /*#__PURE__*/external_react_.createElement(Icon, {
23741
+ icon: free_solid_svg_icons_namespaceObject.faFile,
23742
+ className: (fileInput_default()).previewTextIcon
23743
+ }), /*#__PURE__*/external_react_.createElement(tmp, null, file.name));
23744
+ };
23745
+ return /*#__PURE__*/external_react_.createElement("span", {
23746
+ className: classnames_default()((fileInput_default()).fileInput, className),
23747
+ style: style
23748
+ }, /*#__PURE__*/external_react_.createElement(Flex_tmp, {
23749
+ horizontal: true
23750
+ }, !!label && /*#__PURE__*/external_react_.createElement(Grow, null, /*#__PURE__*/external_react_.createElement(tmp, null, label)), maxFiles > 1 && /*#__PURE__*/external_react_.createElement(InlineMemo, null, /*#__PURE__*/external_react_.createElement(tmp, null, value.length, "/", maxFiles))), /*#__PURE__*/external_react_.createElement(Flex_tmp, {
23751
+ horizontal: true,
23752
+ className: (fileInput_default()).previewContainer
23753
+ }, value === null || value === void 0 ? void 0 : value.map((file, index) => {
23754
+ return /*#__PURE__*/external_react_.createElement(Grow, {
23755
+ className: (fileInput_default()).preview,
23756
+ center: true,
23757
+ key: file.data
23758
+ }, /*#__PURE__*/external_react_.createElement(ClickableMemo, {
23759
+ onDrop: onDrop,
23760
+ onDragOver: onDragOver,
23761
+ onDropData: index,
23762
+ onClick: clickOnFile,
23763
+ onClickData: index
23764
+ }, renderFile(file), showDeleteButton && /*#__PURE__*/external_react_.createElement(ClickableMemo, {
23765
+ className: (fileInput_default()).previewRemove,
23766
+ onClick: removeFile,
23767
+ onClickData: index
23768
+ }, /*#__PURE__*/external_react_.createElement(Icon, {
23769
+ icon: free_solid_svg_icons_namespaceObject.faTimesCircle
23770
+ }))));
23771
+ }), /*#__PURE__*/external_react_.createElement(Grow, {
23772
+ className: classnames_default()((fileInput_default()).addFile, {
23773
+ [(fileInput_default()).hidden]: value.length >= maxFiles
23774
+ }),
23775
+ center: true
23776
+ }, /*#__PURE__*/external_react_.createElement(ClickableMemo, {
23777
+ className: (fileInput_default()).addFileButton,
23778
+ onDrop: onDrop,
23779
+ onDragOver: onDragOver,
23780
+ onDropData: maxFiles,
23781
+ onClick: clickOnFile,
23782
+ __allowChildren: "html"
23783
+ }, /*#__PURE__*/external_react_.createElement(Icon, {
23784
+ icon: free_solid_svg_icons_namespaceObject.faPlus
23785
+ }), /*#__PURE__*/external_react_.createElement("input", MultipleFileInput_extends({}, props, {
23786
+ ref: inputRef,
23787
+ className: (fileInput_default()).value,
23788
+ onChange: onInputChange,
23789
+ value: "",
23790
+ type: "file",
23791
+ multiple: maxFiles > 1,
23792
+ accept: mimeTypes.join(', ')
23793
+ }))))), error && /*#__PURE__*/external_react_.createElement(InlineBlockMemo, {
23794
+ className: (fileInput_default()).error
23795
+ }, /*#__PURE__*/external_react_.createElement(tmp, null, error)));
23796
+ }, (fileInput_default()));
23797
+ ;// CONCATENATED MODULE: ./src/Components/FormElements/Controller/MultipleFileInputController.ts
23798
+
23639
23799
 
23800
+ const MultipleFileInputController = withHookController(MultipleFileInput, 'onChangeFiles');
23640
23801
  // EXTERNAL MODULE: ./src/Components/FormElements/Input/PasswordInput/passwordInput.scss
23641
23802
  var passwordInput = __webpack_require__(1436);
23642
23803
  var passwordInput_default = /*#__PURE__*/__webpack_require__.n(passwordInput);
@@ -23685,11 +23846,261 @@ const PasswordInput = withForwardRef(function PasswordInput(_a, ref) {
23685
23846
  ref: ref
23686
23847
  }))), /*#__PURE__*/external_react_default().createElement(ClickableMemo, {
23687
23848
  onClick: toggleVisible,
23688
- className: (passwordInput_default()).showButton
23849
+ className: (passwordInput_default()).showButton,
23850
+ interactable: false
23689
23851
  }, /*#__PURE__*/external_react_default().createElement(Icon, {
23690
23852
  icon: isVisible ? free_solid_svg_icons_namespaceObject.faEye : free_solid_svg_icons_namespaceObject.faEyeSlash
23691
23853
  })));
23692
23854
  }, (passwordInput_default()));
23855
+ ;// CONCATENATED MODULE: ./src/Components/FormElements/Controller/PasswordInputController.ts
23856
+
23857
+
23858
+ const PasswordInputController = withHookController(PasswordInput, "onChangeText");
23859
+ // EXTERNAL MODULE: ./src/Components/FormElements/Select/select.scss
23860
+ var Select_select = __webpack_require__(8581);
23861
+ var select_default = /*#__PURE__*/__webpack_require__.n(Select_select);
23862
+ ;// CONCATENATED MODULE: ./src/Components/FormElements/Select/Select.tsx
23863
+ function Select_extends() { return Select_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, Select_extends.apply(null, arguments); }
23864
+ var Select_rest = undefined && undefined.__rest || function (s, e) {
23865
+ var t = {};
23866
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
23867
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
23868
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
23869
+ }
23870
+ return t;
23871
+ };
23872
+
23873
+
23874
+
23875
+
23876
+
23877
+
23878
+
23879
+
23880
+ const Select = withMemo(function Select(_a) {
23881
+ // Variables
23882
+ var {
23883
+ label,
23884
+ options,
23885
+ className,
23886
+ style,
23887
+ onChangeValue,
23888
+ inline = false,
23889
+ small = false,
23890
+ error
23891
+ } = _a,
23892
+ otherProps = Select_rest(_a, ["label", "options", "className", "style", "onChangeValue", "inline", "small", "error"]);
23893
+ // Refs
23894
+ // States
23895
+ // Selectors
23896
+ // Callbacks
23897
+ const [onChangeWithData, propsWithoutData] = useListenerWithExtractedProps('onChange', otherProps);
23898
+ const onChange = (0,external_react_.useCallback)(e => {
23899
+ onChangeValue === null || onChangeValue === void 0 ? void 0 : onChangeValue(e.target.value);
23900
+ onChangeWithData(e);
23901
+ }, [onChangeWithData, onChangeValue]);
23902
+ // Effects
23903
+ // Other
23904
+ // Render Functions
23905
+ return (
23906
+ /*#__PURE__*/
23907
+ // eslint-disable-next-line jsx-a11y/label-has-associated-control
23908
+ external_react_.createElement("label", {
23909
+ className: classnames_default()((select_default()).select, {
23910
+ [(select_default()).inline]: inline,
23911
+ [(select_default()).small]: small
23912
+ }, className),
23913
+ style: style
23914
+ }, label ? /*#__PURE__*/external_react_.createElement("span", {
23915
+ className: (select_default()).label
23916
+ }, label) : null, /*#__PURE__*/external_react_.createElement("select", Select_extends({}, propsWithoutData, {
23917
+ className: (select_default()).input,
23918
+ onChange: onChange
23919
+ }), options.map(option => {
23920
+ var _a;
23921
+ return /*#__PURE__*/external_react_.createElement("option", {
23922
+ value: option.value,
23923
+ key: (_a = option.key) !== null && _a !== void 0 ? _a : option.value
23924
+ }, option.label);
23925
+ })), error && /*#__PURE__*/external_react_.createElement(InlineBlockMemo, {
23926
+ className: (select_default()).error
23927
+ }, /*#__PURE__*/external_react_.createElement(tmp, null, error)))
23928
+ );
23929
+ }, (select_default()));
23930
+ ;// CONCATENATED MODULE: ./src/Components/FormElements/Controller/SelectController.ts
23931
+
23932
+
23933
+ const SelectController = withHookController(Select, "onChangeValue");
23934
+ // EXTERNAL MODULE: ./src/Components/FormElements/Textarea/textarea.scss
23935
+ var Textarea_textarea = __webpack_require__(817);
23936
+ var textarea_default = /*#__PURE__*/__webpack_require__.n(Textarea_textarea);
23937
+ ;// CONCATENATED MODULE: ./src/Components/FormElements/Textarea/Textarea.tsx
23938
+ function Textarea_extends() { return Textarea_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, Textarea_extends.apply(null, arguments); }
23939
+ var Textarea_rest = undefined && undefined.__rest || function (s, e) {
23940
+ var t = {};
23941
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
23942
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
23943
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
23944
+ }
23945
+ return t;
23946
+ };
23947
+
23948
+
23949
+
23950
+
23951
+
23952
+
23953
+
23954
+
23955
+
23956
+
23957
+ const Textarea = withForwardRef(function Textarea(_a, ref) {
23958
+ var {
23959
+ label,
23960
+ className,
23961
+ style,
23962
+ onKeyUp,
23963
+ onChangeText,
23964
+ onEnter,
23965
+ onEscape,
23966
+ textareaStyles,
23967
+ containerRef,
23968
+ error
23969
+ } = _a,
23970
+ otherProps = Textarea_rest(_a, ["label", "className", "style", "onKeyUp", "onChangeText", "onEnter", "onEscape", "textareaStyles", "containerRef", "error"]);
23971
+ // Refs
23972
+ const innerRef = (0,external_react_.useRef)(null);
23973
+ const refSetter = useComposedRef(ref, innerRef);
23974
+ // Variables
23975
+ // States
23976
+ // Callbacks
23977
+ const [onChangeWithData, otherPropsWithoutOnchange] = useListenerWithExtractedProps('onChange', otherProps);
23978
+ const [onChangeDone, otherPropsWithoutData] = useListenerWithExtractedProps('onChangeDone', otherPropsWithoutOnchange);
23979
+ const onChange = (0,external_react_.useCallback)(e => {
23980
+ if (onChangeText) {
23981
+ onChangeText(e.target.value);
23982
+ }
23983
+ onChangeWithData(e);
23984
+ }, [onChangeWithData, onChangeText]);
23985
+ const realOnKeyPress = (0,external_react_.useCallback)(e => {
23986
+ if (onKeyUp) {
23987
+ onKeyUp(e);
23988
+ }
23989
+ if (onEnter && e.key === 'Enter' && !e.defaultPrevented) {
23990
+ onEnter(e.target.value);
23991
+ }
23992
+ if (onEscape && e.key === 'Escape' && !e.defaultPrevented) {
23993
+ onEscape(e.target.value);
23994
+ }
23995
+ }, [onEnter, onEscape, onKeyUp]);
23996
+ // Effects
23997
+ useOnChangeDone(onChangeDone, innerRef);
23998
+ // Other
23999
+ // Render Functions
24000
+ return /*#__PURE__*/external_react_.createElement("label", {
24001
+ className: classnames_default()((textarea_default()).container, className),
24002
+ style: style,
24003
+ ref: containerRef
24004
+ }, label ? /*#__PURE__*/external_react_.createElement("span", {
24005
+ className: (textarea_default()).label
24006
+ }, label) : null, /*#__PURE__*/external_react_.createElement("textarea", Textarea_extends({}, otherPropsWithoutData, {
24007
+ style: textareaStyles,
24008
+ onKeyUp: realOnKeyPress,
24009
+ className: (textarea_default()).textarea,
24010
+ onChange: onChange,
24011
+ ref: refSetter
24012
+ })), error && /*#__PURE__*/external_react_.createElement(InlineBlockMemo, {
24013
+ className: (textarea_default()).error
24014
+ }, /*#__PURE__*/external_react_.createElement(tmp, null, error)));
24015
+ }, (textarea_default()));
24016
+ ;// CONCATENATED MODULE: ./src/Components/FormElements/Controller/TextareaController.ts
24017
+
24018
+
24019
+ const TextareaController = withHookController(Textarea, 'onChangeText');
24020
+ ;// CONCATENATED MODULE: ./src/Components/FormElements/Input/FileInput/FileInput.tsx
24021
+ function FileInput_extends() { return FileInput_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, FileInput_extends.apply(null, arguments); }
24022
+ var FileInput_rest = undefined && undefined.__rest || function (s, e) {
24023
+ var t = {};
24024
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
24025
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
24026
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
24027
+ }
24028
+ return t;
24029
+ };
24030
+
24031
+
24032
+
24033
+
24034
+
24035
+
24036
+ // TODO use MultipleFileInput internal
24037
+ const FileInput = withMemo(function FileInput(_a) {
24038
+ // Variables
24039
+ var {
24040
+ value,
24041
+ mimeType,
24042
+ required = false
24043
+ } = _a,
24044
+ otherProps = FileInput_rest(_a, ["value", "mimeType", "required"]);
24045
+ // Refs
24046
+ // States
24047
+ const mimeTypes = (0,external_react_.useMemo)(() => mimeType ? [mimeType] : undefined, [mimeType]);
24048
+ const innerValue = (0,external_react_.useMemo)(() => value ? [value] : [], [value]);
24049
+ // Selectors
24050
+ // Callbacks
24051
+ const [onChangeFile, multipleFileInputProps] = useListenerWithExtractedProps("onChangeFile", otherProps);
24052
+ const onChangeFiles = (0,external_react_.useCallback)(files => {
24053
+ if (!required || files[0]) {
24054
+ onChangeFile(files[0]);
24055
+ }
24056
+ }, [onChangeFile, required]);
24057
+ // Effects
24058
+ // Other
24059
+ // Render Functions
24060
+ return /*#__PURE__*/external_react_.createElement(MultipleFileInput, FileInput_extends({
24061
+ maxFiles: 1,
24062
+ value: innerValue,
24063
+ onChangeFiles: onChangeFiles,
24064
+ mimeTypes: mimeTypes,
24065
+ showDeleteButton: !required
24066
+ }, multipleFileInputProps));
24067
+ }, (fileInput_default()));
24068
+ ;// CONCATENATED MODULE: ./src/Components/FormElements/Input/HiddenInput.tsx
24069
+ function HiddenInput_extends() { return HiddenInput_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, HiddenInput_extends.apply(null, arguments); }
24070
+ var HiddenInput_rest = undefined && undefined.__rest || function (s, e) {
24071
+ var t = {};
24072
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
24073
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
24074
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
24075
+ }
24076
+ return t;
24077
+ };
24078
+
24079
+
24080
+
24081
+
24082
+
24083
+ function HiddenInput(_a) {
24084
+ // Variables
24085
+ var {
24086
+ noFocusHint = false,
24087
+ className
24088
+ } = _a,
24089
+ props = HiddenInput_rest(_a, ["noFocusHint", "className"]);
24090
+ // States
24091
+ // Refs
24092
+ // Callbacks
24093
+ // Effects
24094
+ // Other
24095
+ // Render Functions
24096
+ return /*#__PURE__*/external_react_.createElement(Input, HiddenInput_extends({
24097
+ className: classnames_default()((input_default()).hiddenInput, {
24098
+ [(input_default()).noFocusHint]: noFocusHint
24099
+ }, className)
24100
+ }, props));
24101
+ }
24102
+ const HiddenInput_tmp = withMemo(HiddenInput);
24103
+
23693
24104
  // EXTERNAL MODULE: ./src/Components/FormElements/SearchSelectInput/seachSelectInput.scss
23694
24105
  var seachSelectInput = __webpack_require__(6245);
23695
24106
  var seachSelectInput_default = /*#__PURE__*/__webpack_require__.n(seachSelectInput);
@@ -23840,72 +24251,6 @@ const SearchSelectInput = withMemo(function SearchSelectInput({
23840
24251
  }, selectableOptions.map(renderSelectableOption)))
23841
24252
  );
23842
24253
  }, (seachSelectInput_default()));
23843
- // EXTERNAL MODULE: ./src/Components/FormElements/Select/select.scss
23844
- var Select_select = __webpack_require__(8581);
23845
- var select_default = /*#__PURE__*/__webpack_require__.n(Select_select);
23846
- ;// CONCATENATED MODULE: ./src/Components/FormElements/Select/Select.tsx
23847
- function Select_extends() { return Select_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, Select_extends.apply(null, arguments); }
23848
- var Select_rest = undefined && undefined.__rest || function (s, e) {
23849
- var t = {};
23850
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
23851
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
23852
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
23853
- }
23854
- return t;
23855
- };
23856
-
23857
-
23858
-
23859
-
23860
-
23861
-
23862
- const Select = withMemo(function Select(_a) {
23863
- // Variables
23864
- var {
23865
- label,
23866
- options,
23867
- className,
23868
- style,
23869
- onChangeValue,
23870
- inline = false,
23871
- small = false
23872
- } = _a,
23873
- otherProps = Select_rest(_a, ["label", "options", "className", "style", "onChangeValue", "inline", "small"]);
23874
- // Refs
23875
- // States
23876
- // Selectors
23877
- // Callbacks
23878
- const [onChangeWithData, propsWithoutData] = useListenerWithExtractedProps('onChange', otherProps);
23879
- const onChange = (0,external_react_.useCallback)(e => {
23880
- onChangeValue === null || onChangeValue === void 0 ? void 0 : onChangeValue(e.target.value);
23881
- onChangeWithData(e);
23882
- }, [onChangeWithData, onChangeValue]);
23883
- // Effects
23884
- // Other
23885
- // Render Functions
23886
- return (
23887
- /*#__PURE__*/
23888
- // eslint-disable-next-line jsx-a11y/label-has-associated-control
23889
- external_react_.createElement("label", {
23890
- className: classnames_default()((select_default()).select, {
23891
- [(select_default()).inline]: inline,
23892
- [(select_default()).small]: small
23893
- }, className),
23894
- style: style
23895
- }, label ? /*#__PURE__*/external_react_.createElement("span", {
23896
- className: (select_default()).label
23897
- }, label) : null, /*#__PURE__*/external_react_.createElement("select", Select_extends({}, propsWithoutData, {
23898
- className: (select_default()).input,
23899
- onChange: onChange
23900
- }), options.map(option => {
23901
- var _a;
23902
- return /*#__PURE__*/external_react_.createElement("option", {
23903
- value: option.value,
23904
- key: (_a = option.key) !== null && _a !== void 0 ? _a : option.value
23905
- }, option.label);
23906
- })))
23907
- );
23908
- }, (select_default()));
23909
24254
  // EXTERNAL MODULE: ./src/Components/FormElements/Slider/slider.scss
23910
24255
  var slider = __webpack_require__(5471);
23911
24256
  var slider_default = /*#__PURE__*/__webpack_require__.n(slider);
@@ -24038,82 +24383,6 @@ const Switch = withMemo(function Switch(_a) {
24038
24383
  className: (switch_default()).label
24039
24384
  }, label)));
24040
24385
  }, (switch_default()));
24041
- // EXTERNAL MODULE: ./src/Components/FormElements/Textarea/textarea.scss
24042
- var Textarea_textarea = __webpack_require__(817);
24043
- var textarea_default = /*#__PURE__*/__webpack_require__.n(Textarea_textarea);
24044
- ;// CONCATENATED MODULE: ./src/Components/FormElements/Textarea/Textarea.tsx
24045
- function Textarea_extends() { return Textarea_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, Textarea_extends.apply(null, arguments); }
24046
- var Textarea_rest = undefined && undefined.__rest || function (s, e) {
24047
- var t = {};
24048
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
24049
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
24050
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
24051
- }
24052
- return t;
24053
- };
24054
-
24055
-
24056
-
24057
-
24058
-
24059
-
24060
-
24061
-
24062
- const Textarea = withForwardRef(function Textarea(_a, ref) {
24063
- var {
24064
- label,
24065
- className,
24066
- style,
24067
- onKeyUp,
24068
- onChangeText,
24069
- onEnter,
24070
- onEscape,
24071
- textareaStyles,
24072
- containerRef
24073
- } = _a,
24074
- otherProps = Textarea_rest(_a, ["label", "className", "style", "onKeyUp", "onChangeText", "onEnter", "onEscape", "textareaStyles", "containerRef"]);
24075
- // Refs
24076
- const innerRef = useComposedRef(ref);
24077
- // Variables
24078
- // States
24079
- // Callbacks
24080
- const [onChangeWithData, otherPropsWithoutOnchange] = useListenerWithExtractedProps('onChange', otherProps);
24081
- const [onChangeDone, otherPropsWithoutData] = useListenerWithExtractedProps('onChangeDone', otherPropsWithoutOnchange);
24082
- const onChange = (0,external_react_.useCallback)(e => {
24083
- if (onChangeText) {
24084
- onChangeText(e.target.value);
24085
- }
24086
- onChangeWithData(e);
24087
- }, [onChangeWithData, onChangeText]);
24088
- const realOnKeyPress = (0,external_react_.useCallback)(e => {
24089
- if (onKeyUp) {
24090
- onKeyUp(e);
24091
- }
24092
- if (onEnter && e.key === 'Enter' && !e.defaultPrevented) {
24093
- onEnter(e.target.value);
24094
- }
24095
- if (onEscape && e.key === 'Escape' && !e.defaultPrevented) {
24096
- onEscape(e.target.value);
24097
- }
24098
- }, [onEnter, onEscape, onKeyUp]);
24099
- // Effects
24100
- useOnChangeDone(onChangeDone, innerRef);
24101
- // Other
24102
- // Render Functions
24103
- return /*#__PURE__*/external_react_.createElement("label", {
24104
- className: classnames_default()((textarea_default()).container, className),
24105
- style: style,
24106
- ref: containerRef
24107
- }, label ? /*#__PURE__*/external_react_.createElement("span", {
24108
- className: (textarea_default()).label
24109
- }, label) : null, /*#__PURE__*/external_react_.createElement("textarea", Textarea_extends({}, otherPropsWithoutData, {
24110
- style: textareaStyles,
24111
- onKeyUp: realOnKeyPress,
24112
- className: (textarea_default()).textarea,
24113
- onChange: onChange,
24114
- ref: innerRef
24115
- })));
24116
- }, (textarea_default()));
24117
24386
  ;// CONCATENATED MODULE: ./src/Components/FullScreen/FullScreen.tsx
24118
24387
  var FullScreen_rest = undefined && undefined.__rest || function (s, e) {
24119
24388
  var t = {};
@@ -27275,87 +27544,6 @@ const List = withMemo(function List({
27275
27544
  }, renderItemInner));
27276
27545
  });
27277
27546
  }, (list_default()));
27278
- // EXTERNAL MODULE: ./src/Components/LoadingCircle/loadingCircle.scss
27279
- var loadingCircle = __webpack_require__(5391);
27280
- var loadingCircle_default = /*#__PURE__*/__webpack_require__.n(loadingCircle);
27281
- ;// CONCATENATED MODULE: ./src/Components/LoadingCircle/LoadingCircle.tsx
27282
-
27283
-
27284
-
27285
-
27286
- function LoadingCircle({
27287
- size = 32,
27288
- className,
27289
- style
27290
- }) {
27291
- // Variables
27292
- // States
27293
- // Refs
27294
- // Callbacks
27295
- // Effects
27296
- // Other
27297
- // Render Functions
27298
- return /*#__PURE__*/external_react_.createElement("svg", {
27299
- className: classnames_default()((loadingCircle_default()).loadingCircle, className),
27300
- viewBox: `0 0 ${size} ${size}`,
27301
- width: size,
27302
- height: size,
27303
- style: style
27304
- }, /*#__PURE__*/external_react_.createElement("circle", {
27305
- cx: "50%",
27306
- cy: "50%",
27307
- r: "40%",
27308
- fill: "none",
27309
- className: (loadingCircle_default()).spinner
27310
- }));
27311
- }
27312
- const LoadingCircleMemo = withMemo(LoadingCircle, (loadingCircle_default()));
27313
-
27314
- // EXTERNAL MODULE: ./src/Components/LoadingArea/loadingArea.scss
27315
- var loadingArea = __webpack_require__(5455);
27316
- var loadingArea_default = /*#__PURE__*/__webpack_require__.n(loadingArea);
27317
- ;// CONCATENATED MODULE: ./src/Components/LoadingArea/LoadingArea.tsx
27318
-
27319
-
27320
-
27321
-
27322
-
27323
- function LoadingArea({
27324
- loading,
27325
- fullWidth = false,
27326
- fullSize = false,
27327
- fullHeight = false,
27328
- opacity = 0.65,
27329
- className,
27330
- style,
27331
- children
27332
- }) {
27333
- // Variables
27334
- if (fullSize) {
27335
- fullHeight = true;
27336
- fullWidth = true;
27337
- }
27338
- // States
27339
- // Refs
27340
- // Callbacks
27341
- // Effects
27342
- // Other
27343
- // Render Functions
27344
- return /*#__PURE__*/external_react_.createElement("span", {
27345
- className: classnames_default()((loadingArea_default()).loadingArea, className, {
27346
- 'full-height': fullHeight,
27347
- 'full-width': fullWidth
27348
- }),
27349
- style: style
27350
- }, children, loading ? /*#__PURE__*/external_react_.createElement("span", {
27351
- className: (loadingArea_default()).curtain,
27352
- style: {
27353
- opacity
27354
- }
27355
- }, /*#__PURE__*/external_react_.createElement(LoadingCircleMemo, null)) : null);
27356
- }
27357
- const LoadingAreaMemo = withMemo(LoadingArea, (loadingArea_default()));
27358
-
27359
27547
  ;// CONCATENATED MODULE: ./src/Components/Menu/HoverMenu.tsx
27360
27548
 
27361
27549
 
@@ -28069,7 +28257,21 @@ function Toast(_a) {
28069
28257
  }
28070
28258
  const ToastMemo = withMemo(Toast, (toast_default()), 'text');
28071
28259
 
28260
+ ;// CONCATENATED MODULE: ./src/Components/Toast/ToastContext.ts
28261
+
28262
+ const ToastContext = /*#__PURE__*/(0,external_react_.createContext)(() => {
28263
+ console.error("ToastContext not initialized");
28264
+ });
28265
+ function useToast() {
28266
+ return (0,external_react_.useContext)(ToastContext);
28267
+ }
28072
28268
  ;// CONCATENATED MODULE: ./src/Components/Toast/ToastContainer.tsx
28269
+ function ToastContainer_extends() { return ToastContainer_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, ToastContainer_extends.apply(null, arguments); }
28270
+
28271
+
28272
+
28273
+
28274
+
28073
28275
 
28074
28276
 
28075
28277
 
@@ -28082,17 +28284,49 @@ function ToastContainer({
28082
28284
  }) {
28083
28285
  // Variables
28084
28286
  // States
28287
+ const lastId = (0,external_react_.useRef)(0);
28288
+ const [toasts, setToasts] = (0,external_react_.useState)({});
28085
28289
  // Refs
28086
28290
  // Callbacks
28291
+ const removeToast = (0,external_react_.useCallback)(id => {
28292
+ setToasts(oldToasts => {
28293
+ const newToasts = Object.assign({}, oldToasts);
28294
+ delete newToasts[id];
28295
+ return newToasts;
28296
+ });
28297
+ }, []);
28298
+ const addToast = (0,external_react_.useCallback)((text, action, duration = 2500) => {
28299
+ lastId.current++;
28300
+ const id = lastId.current;
28301
+ setToasts(oldToasts => {
28302
+ return Object.assign(Object.assign({}, oldToasts), {
28303
+ [id]: {
28304
+ id,
28305
+ text,
28306
+ duration,
28307
+ action
28308
+ }
28309
+ });
28310
+ });
28311
+ }, []);
28087
28312
  // Effects
28088
28313
  // Other
28089
28314
  // Render Functions
28090
- return /*#__PURE__*/external_react_.createElement(Container, {
28315
+ return /*#__PURE__*/external_react_.createElement(ToastContext.Provider, {
28316
+ value: addToast
28317
+ }, children, /*#__PURE__*/external_react_.createElement(Container, {
28091
28318
  className: classnames_default()((toast_default()).toastContainer, className),
28092
28319
  fluid: true,
28093
28320
  __allowChildren: "all",
28094
28321
  style: style
28095
- }, children);
28322
+ }, js_helper.ObjectHelper.values(toasts).map(toast => /*#__PURE__*/external_react_.createElement(ToastMemo, ToastContainer_extends({
28323
+ key: toast.id,
28324
+ timeToShow: toast.duration,
28325
+ onDismissed: removeToast,
28326
+ onDismissedData: toast.id
28327
+ }, toast.action ? Object.assign(Object.assign({}, toast.action), {
28328
+ actionName: toast.action.name
28329
+ }) : {}), /*#__PURE__*/external_react_.createElement(tmp, null, toast.text)))));
28096
28330
  }
28097
28331
  const ToastContainerMemo = withMemo(ToastContainer, (toast_default()));
28098
28332
 
@@ -28113,7 +28347,6 @@ var TopBarButton_rest = undefined && undefined.__rest || function (s, e) {
28113
28347
 
28114
28348
 
28115
28349
 
28116
-
28117
28350
  function TopBarButton(_a) {
28118
28351
  var {
28119
28352
  disabled = false,
@@ -28122,13 +28355,13 @@ function TopBarButton(_a) {
28122
28355
  children
28123
28356
  } = _a,
28124
28357
  rbmProps = TopBarButton_rest(_a, ["disabled", "onClick", "className", "children"]);
28125
- const cb = (0,external_react_.useCallback)(() => onClick ? onClick() : null, [onClick]);
28126
28358
  return /*#__PURE__*/external_react_.createElement("a", TopBarButton_extends({
28127
28359
  role: "button"
28128
28360
  }, rbmProps, {
28129
- onClick: cb,
28361
+ onClick: onClick,
28130
28362
  className: classnames_default()((topBar_default()).button, {
28131
- [(topBar_default()).disabled]: disabled
28363
+ [(topBar_default()).disabled]: disabled,
28364
+ [(topBar_default()).active]: !disabled && onClick
28132
28365
  }, className)
28133
28366
  }), children);
28134
28367
  }
@@ -28441,6 +28674,16 @@ function nonEmptyString(str, other = Characters.NBSP) {
28441
28674
 
28442
28675
 
28443
28676
 
28677
+
28678
+
28679
+
28680
+
28681
+
28682
+
28683
+
28684
+
28685
+
28686
+
28444
28687
 
28445
28688
 
28446
28689
 
@@ -28454,8 +28697,129 @@ function nonEmptyString(str, other = Characters.NBSP) {
28454
28697
 
28455
28698
  })();
28456
28699
 
28457
- /******/ return __webpack_exports__;
28700
+ exports.ActionSheet = __webpack_exports__.ActionSheet;
28701
+ exports.AlertDialog = __webpack_exports__.AlertDialog;
28702
+ exports.Block = __webpack_exports__.Block;
28703
+ exports.BreakpointNames = __webpack_exports__.BreakpointNames;
28704
+ exports.Breakpoints = __webpack_exports__.Breakpoints;
28705
+ exports.BulletList = __webpack_exports__.BulletList;
28706
+ exports.Button = __webpack_exports__.Button;
28707
+ exports.ButtonDialog = __webpack_exports__.ButtonDialog;
28708
+ exports.ButtonType = __webpack_exports__.ButtonType;
28709
+ exports.CONTAINER_CLASSES = __webpack_exports__.CONTAINER_CLASSES;
28710
+ exports.Card = __webpack_exports__.Card;
28711
+ exports.Characters = __webpack_exports__.Characters;
28712
+ exports.Checkbox = __webpack_exports__.Checkbox;
28713
+ exports.Clickable = __webpack_exports__.Clickable;
28714
+ exports.ColorInput = __webpack_exports__.ColorInput;
28715
+ exports.ConfirmDialog = __webpack_exports__.ConfirmDialog;
28716
+ exports.Container = __webpack_exports__.Container;
28717
+ exports.Dialog = __webpack_exports__.Dialog;
28718
+ exports.DialogBackground = __webpack_exports__.DialogBackground;
28719
+ exports.DialogContainer = __webpack_exports__.DialogContainer;
28720
+ exports.DialogProvider = __webpack_exports__.DialogProvider;
28721
+ exports.DoubleIcon = __webpack_exports__.DoubleIcon;
28722
+ exports.DragItem = __webpack_exports__.DragItem;
28723
+ exports.DropArea = __webpack_exports__.DropArea;
28724
+ exports.FileInput = __webpack_exports__.FileInput;
28725
+ exports.Flavor = __webpack_exports__.Flavor;
28726
+ exports.Flex = __webpack_exports__.Flex;
28727
+ exports.FullScreen = __webpack_exports__.FullScreen;
28728
+ exports.Grid = __webpack_exports__.Grid;
28729
+ exports.GridItem = __webpack_exports__.GridItem;
28730
+ exports.Grow = __webpack_exports__.Grow;
28731
+ exports.Heading = __webpack_exports__.Heading;
28732
+ exports.HiddenInput = __webpack_exports__.HiddenInput;
28733
+ exports.HookForm = __webpack_exports__.HookForm;
28734
+ exports.HoverMenu = __webpack_exports__.HoverMenu;
28735
+ exports.Icon = __webpack_exports__.Icon;
28736
+ exports.Image = __webpack_exports__.Image;
28737
+ exports.InViewport = __webpack_exports__.InViewport;
28738
+ exports.Inline = __webpack_exports__.Inline;
28739
+ exports.InlineBlock = __webpack_exports__.InlineBlock;
28740
+ exports.Input = __webpack_exports__.Input;
28741
+ exports.InputController = __webpack_exports__.InputController;
28742
+ exports.List = __webpack_exports__.List;
28743
+ exports.ListItem = __webpack_exports__.ListItem;
28744
+ exports.ListRow = __webpack_exports__.ListRow;
28745
+ exports.LoadingArea = __webpack_exports__.LoadingArea;
28746
+ exports.LoadingCircle = __webpack_exports__.LoadingCircle;
28747
+ exports.MENU_CONTAINER_CLASS = __webpack_exports__.MENU_CONTAINER_CLASS;
28748
+ exports.Menu = __webpack_exports__.Menu;
28749
+ exports.MenuCloseContextProvider = __webpack_exports__.MenuCloseContextProvider;
28750
+ exports.MenuDivider = __webpack_exports__.MenuDivider;
28751
+ exports.MenuItem = __webpack_exports__.MenuItem;
28752
+ exports.MoreButton = __webpack_exports__.MoreButton;
28753
+ exports.MultipleFileInput = __webpack_exports__.MultipleFileInput;
28754
+ exports.MultipleFileInputController = __webpack_exports__.MultipleFileInputController;
28755
+ exports.PasswordInput = __webpack_exports__.PasswordInput;
28756
+ exports.PasswordInputController = __webpack_exports__.PasswordInputController;
28757
+ exports.RESTRICT_CHILDREN = __webpack_exports__.RESTRICT_CHILDREN;
28758
+ exports.SearchSelectInput = __webpack_exports__.SearchSelectInput;
28759
+ exports.Select = __webpack_exports__.Select;
28760
+ exports.SelectController = __webpack_exports__.SelectController;
28761
+ exports.SendFormContext = __webpack_exports__.SendFormContext;
28762
+ exports.Size = __webpack_exports__.Size;
28763
+ exports.SizeCalculator = __webpack_exports__.SizeCalculator;
28764
+ exports.Slider = __webpack_exports__.Slider;
28765
+ exports.Spoiler = __webpack_exports__.Spoiler;
28766
+ exports.SpoilerList = __webpack_exports__.SpoilerList;
28767
+ exports.StyleProvider = __webpack_exports__.StyleProvider;
28768
+ exports.Submenu = __webpack_exports__.Submenu;
28769
+ exports.Switch = __webpack_exports__.Switch;
28770
+ exports.TEXT_PRIO = __webpack_exports__.TEXT_PRIO;
28771
+ exports.TEXT_SIZE = __webpack_exports__.TEXT_SIZE;
28772
+ exports.TabBar = __webpack_exports__.TabBar;
28773
+ exports.TabBarButton = __webpack_exports__.TabBarButton;
28774
+ exports.Table = __webpack_exports__.Table;
28775
+ exports.Text = __webpack_exports__.Text;
28776
+ exports.Textarea = __webpack_exports__.Textarea;
28777
+ exports.TextareaController = __webpack_exports__.TextareaController;
28778
+ exports.Toast = __webpack_exports__.Toast;
28779
+ exports.ToastContainer = __webpack_exports__.ToastContainer;
28780
+ exports.ToastContext = __webpack_exports__.ToastContext;
28781
+ exports.TopBar = __webpack_exports__.TopBar;
28782
+ exports.TopBarButton = __webpack_exports__.TopBarButton;
28783
+ exports.View = __webpack_exports__.View;
28784
+ exports.ViewWithoutListeners = __webpack_exports__.ViewWithoutListeners;
28785
+ exports.WindowContext = __webpack_exports__.WindowContext;
28786
+ exports.WrongChildError = __webpack_exports__.WrongChildError;
28787
+ exports.memoComparator = __webpack_exports__.memoComparator;
28788
+ exports.nonEmptyString = __webpack_exports__.nonEmptyString;
28789
+ exports.useAlertDialog = __webpack_exports__.useAlertDialog;
28790
+ exports.useBreakpoint = __webpack_exports__.useBreakpoint;
28791
+ exports.useBreakpointSelect = __webpack_exports__.useBreakpointSelect;
28792
+ exports.useClientLayoutEffect = __webpack_exports__.useClientLayoutEffect;
28793
+ exports.useComposedRef = __webpack_exports__.useComposedRef;
28794
+ exports.useConfirmDialog = __webpack_exports__.useConfirmDialog;
28795
+ exports.useDebounced = __webpack_exports__.useDebounced;
28796
+ exports.useDelayed = __webpack_exports__.useDelayed;
28797
+ exports.useDialog = __webpack_exports__.useDialog;
28798
+ exports.useInViewport = __webpack_exports__.useInViewport;
28799
+ exports.useKeyListener = __webpack_exports__.useKeyListener;
28800
+ exports.useKeyPressed = __webpack_exports__.useKeyPressed;
28801
+ exports.useKeyUpListener = __webpack_exports__.useKeyUpListener;
28802
+ exports.useListener = __webpack_exports__.useListener;
28803
+ exports.useListenerWithExtractedProps = __webpack_exports__.useListenerWithExtractedProps;
28804
+ exports.useMenu = __webpack_exports__.useMenu;
28805
+ exports.useMenuClose = __webpack_exports__.useMenuClose;
28806
+ exports.useMousePosition = __webpack_exports__.useMousePosition;
28807
+ exports.useOnChangeDone = __webpack_exports__.useOnChangeDone;
28808
+ exports.useOnMount = __webpack_exports__.useOnMount;
28809
+ exports.useOnce = __webpack_exports__.useOnce;
28810
+ exports.useSendFormContext = __webpack_exports__.useSendFormContext;
28811
+ exports.useSharedSelectedColor = __webpack_exports__.useSharedSelectedColor;
28812
+ exports.useSpoilerGroup = __webpack_exports__.useSpoilerGroup;
28813
+ exports.useStrictEnabled = __webpack_exports__.useStrictEnabled;
28814
+ exports.useToast = __webpack_exports__.useToast;
28815
+ exports.useWindow = __webpack_exports__.useWindow;
28816
+ exports.useWindowDimensions = __webpack_exports__.useWindowDimensions;
28817
+ exports.withForwardRef = __webpack_exports__.withForwardRef;
28818
+ exports.withHookController = __webpack_exports__.withHookController;
28819
+ exports.withMemo = __webpack_exports__.withMemo;
28820
+ exports.withRenderBrowserOnly = __webpack_exports__.withRenderBrowserOnly;
28821
+ exports.withRestrictedChildren = __webpack_exports__.withRestrictedChildren;
28822
+ Object.defineProperty(exports, "__esModule", { value: true });
28458
28823
  /******/ })()
28459
28824
  ;
28460
- });
28461
28825
  //# sourceMappingURL=bootstrapReactMobile.js.map