@rolster/react-components 18.25.1 → 18.25.2

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 (57) hide show
  1. package/dist/cjs/assets/{index-ItWqNiAF.css → index-B6PshrCZ.css} +137 -5
  2. package/dist/cjs/index.js +69 -17
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/es/assets/{index-ItWqNiAF.css → index-B6PshrCZ.css} +137 -5
  5. package/dist/es/index.js +68 -19
  6. package/dist/es/index.js.map +1 -1
  7. package/dist/esm/components/atoms/Input/Input.js +3 -3
  8. package/dist/esm/components/atoms/Input/Input.js.map +1 -1
  9. package/dist/esm/components/atoms/InputDouble/InputDouble.css +11 -0
  10. package/dist/esm/components/atoms/InputDouble/InputDouble.css.map +1 -0
  11. package/dist/esm/components/atoms/InputDouble/InputDouble.d.ts +9 -0
  12. package/dist/esm/components/atoms/InputDouble/InputDouble.js +21 -0
  13. package/dist/esm/components/atoms/InputDouble/InputDouble.js.map +1 -0
  14. package/dist/esm/components/molecules/FieldDouble/FieldDouble.css +6 -0
  15. package/dist/esm/components/molecules/FieldDouble/FieldDouble.css.map +1 -0
  16. package/dist/esm/components/molecules/FieldDouble/FieldDouble.d.ts +9 -0
  17. package/dist/esm/components/molecules/FieldDouble/FieldDouble.js +24 -0
  18. package/dist/esm/components/molecules/FieldDouble/FieldDouble.js.map +1 -0
  19. package/dist/esm/components/molecules/FieldMoney/FieldMoney.js +1 -1
  20. package/dist/esm/components/molecules/FieldMoney/FieldMoney.js.map +1 -1
  21. package/dist/esm/components/molecules/FieldNumber/FieldNumber.js +1 -1
  22. package/dist/esm/components/molecules/FieldNumber/FieldNumber.js.map +1 -1
  23. package/dist/esm/components/molecules/FieldPassword/FieldPassword.js +1 -1
  24. package/dist/esm/components/molecules/FieldPassword/FieldPassword.js.map +1 -1
  25. package/dist/esm/components/molecules/FieldPercentage/FieldPercentage.js +1 -1
  26. package/dist/esm/components/molecules/FieldPercentage/FieldPercentage.js.map +1 -1
  27. package/dist/esm/components/molecules/FieldReadonly/FieldReadonly.js +1 -1
  28. package/dist/esm/components/molecules/FieldReadonly/FieldReadonly.js.map +1 -1
  29. package/dist/esm/components/molecules/FieldText/FieldText.js +1 -1
  30. package/dist/esm/components/molecules/FieldText/FieldText.js.map +1 -1
  31. package/dist/esm/components/organisms/BottomSheet/BottomSheet.css +9 -2
  32. package/dist/esm/components/organisms/BottomSheet/BottomSheet.css.map +1 -1
  33. package/dist/esm/components/organisms/BottomSheet/BottomSheet.d.ts +2 -1
  34. package/dist/esm/components/organisms/BottomSheet/BottomSheet.js +6 -3
  35. package/dist/esm/components/organisms/BottomSheet/BottomSheet.js.map +1 -1
  36. package/dist/esm/components/organisms/FieldAutocomplete/FieldAutocomplete.js +1 -1
  37. package/dist/esm/components/organisms/FieldAutocomplete/FieldAutocomplete.js.map +1 -1
  38. package/dist/esm/components/organisms/FieldDate/FieldDate.js +1 -1
  39. package/dist/esm/components/organisms/FieldDate/FieldDate.js.map +1 -1
  40. package/dist/esm/components/organisms/FieldDateRange/FieldDateRange.js +1 -1
  41. package/dist/esm/components/organisms/FieldDateRange/FieldDateRange.js.map +1 -1
  42. package/dist/esm/components/organisms/FieldSelect/FieldSelect.js +1 -1
  43. package/dist/esm/components/organisms/FieldSelect/FieldSelect.js.map +1 -1
  44. package/dist/esm/components/organisms/Modal/Modal.css +5 -3
  45. package/dist/esm/components/organisms/Modal/Modal.css.map +1 -1
  46. package/dist/esm/components/organisms/Modal/Modal.d.ts +2 -1
  47. package/dist/esm/components/organisms/Modal/Modal.js +6 -3
  48. package/dist/esm/components/organisms/Modal/Modal.js.map +1 -1
  49. package/dist/esm/components/organisms/ModalSheet/ModalSheet.css +103 -0
  50. package/dist/esm/components/organisms/ModalSheet/ModalSheet.css.map +1 -0
  51. package/dist/esm/components/organisms/ModalSheet/ModalSheet.d.ts +9 -0
  52. package/dist/esm/components/organisms/ModalSheet/ModalSheet.js +15 -0
  53. package/dist/esm/components/organisms/ModalSheet/ModalSheet.js.map +1 -0
  54. package/dist/esm/index.d.ts +3 -0
  55. package/dist/esm/index.js +3 -0
  56. package/dist/esm/index.js.map +1 -1
  57. package/package.json +3 -3
@@ -669,6 +669,18 @@
669
669
  letter-spacing: var(--pvt-letter-spacing);
670
670
  } /*# sourceMappingURL=Input.css.map */
671
671
 
672
+ .rls-input-double {
673
+ --rlc-tabular-text-font-size: var(--rls-input-font-size);
674
+ --rlc-tabular-text-char-width: 5.25rem;
675
+ position: relative;
676
+ width: 100%;
677
+ box-sizing: border-box;
678
+ }
679
+ .rls-input-double .rls-amount {
680
+ height: inherit;
681
+ align-items: center;
682
+ } /*# sourceMappingURL=InputDouble.css.map */
683
+
672
684
  .rls-input-money {
673
685
  --rlc-tabular-text-font-size: var(--rls-input-font-size);
674
686
  --rlc-tabular-text-char-width: 5.25rem;
@@ -1254,6 +1266,13 @@
1254
1266
  color: var(--rls-app-color-900);
1255
1267
  } /*# sourceMappingURL=ButtonToggle.css.map */
1256
1268
 
1269
+ .rls-field-double {
1270
+ --rlc-fieldbox-body-padding: var(--rls-sizing-x4);
1271
+ position: relative;
1272
+ width: 100%;
1273
+ box-sizing: border-box;
1274
+ } /*# sourceMappingURL=FieldDouble.css.map */
1275
+
1257
1276
  .rls-field-money {
1258
1277
  --rlc-fieldbox-body-padding: var(--rls-sizing-x4);
1259
1278
  position: relative;
@@ -1976,10 +1995,12 @@
1976
1995
  --pvt-backdrop-opacity: 0;
1977
1996
  --pvt-backdrop-bottom: initial;
1978
1997
  position: fixed;
1998
+ display: flex;
1979
1999
  top: 0rem;
1980
2000
  left: 0rem;
1981
2001
  width: 100%;
1982
2002
  height: 100%;
2003
+ justify-content: center;
1983
2004
  z-index: var(--rls-z-index-24);
1984
2005
  visibility: hidden;
1985
2006
  }
@@ -2035,12 +2056,17 @@
2035
2056
  }
2036
2057
  @media screen and (max-height: 960px) {
2037
2058
  .rls-bottom-sheet {
2038
- --pvt-component-max-height: calc(100% - 48rem);
2059
+ --pvt-component-max-height: calc(100% - 32rem);
2039
2060
  }
2040
2061
  }
2041
2062
  @media screen and (max-height: 720px) {
2042
2063
  .rls-bottom-sheet {
2043
- --pvt-component-max-height: calc(100% - 32rem);
2064
+ --pvt-component-max-height: calc(100% - 24rem);
2065
+ }
2066
+ }
2067
+ @media screen and (max-height: 560px) {
2068
+ .rls-bottom-sheet {
2069
+ --pvt-component-max-height: calc(100% - 16rem);
2044
2070
  }
2045
2071
  } /*# sourceMappingURL=BottomSheet.css.map */
2046
2072
 
@@ -2311,17 +2337,19 @@
2311
2337
  }
2312
2338
  .rls-modal__component {
2313
2339
  position: absolute;
2340
+ display: flex;
2314
2341
  max-width: var(--rlc-modal-max-width, calc(100% - var(--rls-sizing-x8)));
2315
2342
  height: var(--pvt-component-height);
2343
+ flex-direction: column;
2316
2344
  opacity: var(--pvt-component-opacity);
2317
2345
  visibility: var(--pvt-component-visibility);
2318
2346
  z-index: var(--rls-z-index-2);
2319
2347
  border-radius: var(--rls-sizing-x4);
2320
2348
  background: var(--rlc-modal-background, var(--rls-app-color-050));
2321
2349
  transform: var(--pvt-component-transform);
2322
- transition: opacity 125ms 0ms var(--rls-deceleration-curve),
2323
- transform 125ms 0ms var(--rls-deceleration-curve),
2324
- visibility 125ms 0ms var(--rls-deceleration-curve);
2350
+ transition: opacity 160ms 0ms var(--rls-deceleration-curve),
2351
+ transform 160ms 0ms var(--rls-deceleration-curve),
2352
+ visibility 160ms 0ms var(--rls-deceleration-curve);
2325
2353
  }
2326
2354
  .rls-modal__backdrop {
2327
2355
  position: absolute;
@@ -2820,6 +2848,110 @@
2820
2848
  }
2821
2849
  } /*# sourceMappingURL=ImageChooser.css.map */
2822
2850
 
2851
+ .rls-modal-sheet {
2852
+ --pvt-component-transform: translateY(150px) scale(0.6);
2853
+ --pvt-component-transform-visible: translateY(0) scale(1);
2854
+ --pvt-component-bottom: initial;
2855
+ --pvt-component-max-width: var(
2856
+ --rlc-modal-sheet-max-width,
2857
+ calc(100% - var(--rls-sizing-x8))
2858
+ );
2859
+ --pvt-component-height: 0rem;
2860
+ --pvt-component-max-height: initial;
2861
+ --pvt-component-border-radius: var(--rls-sizing-x4);
2862
+ --pvt-component-opacity: 0;
2863
+ --pvt-component-visibility: hidden;
2864
+ --pvt-backdrop-opacity: 0;
2865
+ --pvt-backdrop-bottom: initial;
2866
+ position: fixed;
2867
+ display: flex;
2868
+ top: 0rem;
2869
+ left: 0rem;
2870
+ width: 100%;
2871
+ height: 100%;
2872
+ z-index: var(--rls-z-index-24);
2873
+ visibility: hidden;
2874
+ align-items: center;
2875
+ justify-content: center;
2876
+ }
2877
+ .rls-modal-sheet--visible {
2878
+ --pvt-component-visibility: visible;
2879
+ --pvt-component-height: auto;
2880
+ --pvt-component-opacity: 1;
2881
+ --pvt-component-transform: var(--pvt-component-transform-visible);
2882
+ --pvt-backdrop-bottom: 0rem;
2883
+ --pvt-backdrop-opacity: 1;
2884
+ visibility: visible;
2885
+ }
2886
+ .rls-modal-sheet__component {
2887
+ position: absolute;
2888
+ display: flex;
2889
+ bottom: var(--pvt-component-bottom);
2890
+ max-width: var(--pvt-component-max-width);
2891
+ height: var(--pvt-component-height);
2892
+ max-height: var(--pvt-component-max-height);
2893
+ flex-direction: column;
2894
+ opacity: var(--pvt-component-opacity);
2895
+ visibility: var(--pvt-component-visibility);
2896
+ z-index: var(--rls-z-index-2);
2897
+ border-radius: var(--pvt-component-border-radius);
2898
+ background: var(--rlc-modal-sheet-background, var(--rls-app-color-050));
2899
+ transform: var(--pvt-component-transform);
2900
+ transition: opacity 125ms 0ms var(--rls-deceleration-curve),
2901
+ transform 125ms 0ms var(--rls-deceleration-curve),
2902
+ visibility 125ms 0ms var(--rls-deceleration-curve);
2903
+ }
2904
+ .rls-modal-sheet__backdrop {
2905
+ position: absolute;
2906
+ display: block;
2907
+ top: 0rem;
2908
+ left: 0rem;
2909
+ right: 0rem;
2910
+ bottom: var(--pvt-backdrop-bottom);
2911
+ opacity: var(--pvt-backdrop-opacity);
2912
+ z-index: 1;
2913
+ background: var(--rls-theme-backdrop-900);
2914
+ backdrop-filter: blur(2px);
2915
+ transition: opacity 120ms 0ms var(--rls-deceleration-curve),
2916
+ bottom 120ms 0ms var(--rls-deceleration-curve);
2917
+ }
2918
+ @media screen and (max-width: 640px) and (max-height: 960px) {
2919
+ .rls-modal-sheet {
2920
+ --pvt-component-max-height: calc(100% - 32rem);
2921
+ }
2922
+ }
2923
+ @media screen and (max-width: 640px) and (max-height: 720px) {
2924
+ .rls-modal-sheet {
2925
+ --pvt-component-max-height: calc(100% - 24rem);
2926
+ }
2927
+ }
2928
+ @media screen and (max-width: 640px) and (max-height: 560px) {
2929
+ .rls-modal-sheet {
2930
+ --pvt-component-max-height: calc(100% - 16rem);
2931
+ }
2932
+ }
2933
+ @media screen and (max-width: 640px) {
2934
+ .rls-modal-sheet {
2935
+ --pvt-component-transform: translateY(100%);
2936
+ --pvt-component-transform-visible: translateY(0);
2937
+ --pvt-component-bottom: 0px;
2938
+ --pvt-component-max-width: 240rem;
2939
+ --pvt-component-max-height: 75%;
2940
+ --pvt-component-border-radius: var(--rls-sizing-x4) var(--rls-sizing-x4)
2941
+ 0rem 0rem;
2942
+ align-items: initial;
2943
+ }
2944
+ .rls-modal-sheet__component::before {
2945
+ display: block;
2946
+ content: '';
2947
+ width: var(--rls-sizing-x24);
2948
+ height: var(--rls-sizing-x2);
2949
+ border-radius: var(--rls-sizing-x2);
2950
+ background: var(--rls-app-color-300);
2951
+ margin: var(--rls-sizing-x3) auto;
2952
+ }
2953
+ } /*# sourceMappingURL=ModalSheet.css.map */
2954
+
2823
2955
  .rls-snackbar {
2824
2956
  position: fixed;
2825
2957
  display: flex;
package/dist/cjs/index.js CHANGED
@@ -1476,9 +1476,9 @@ function RlsInput({ children, decimals, disabled, formControl, identifier, onBlu
1476
1476
  const [focused, setFocused] = require$$0.useState(false);
1477
1477
  const isChangeInternal = require$$0.useRef(false);
1478
1478
  require$$0.useEffect(() => {
1479
- if (!isChangeInternal.current) {
1480
- const control = formControl?.value ? String(formControl.value) : '';
1481
- valueInput !== control && setValueInput(control);
1479
+ if (!isChangeInternal.current && formControl) {
1480
+ const valueControl = formControl.value ? String(formControl.value) : '';
1481
+ valueInput !== valueControl && setValueInput(valueControl);
1482
1482
  }
1483
1483
  isChangeInternal.current = false;
1484
1484
  }, [formControl?.value]);
@@ -1518,6 +1518,21 @@ function RlsInput({ children, decimals, disabled, formControl, identifier, onBlu
1518
1518
  return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, children: [jsxRuntimeExports.jsx("input", { ref: formControl?.elementRef, className: "rls-input__component", autoComplete: "off", type: type ?? 'text', placeholder: placeholder, disabled: formControl?.disabled || disabled, readOnly: readOnly, onFocus: _onFocus, onBlur: _onBlur, onChange: _onChange, onKeyDown: _onKeyDown, onKeyUp: _onKeyUp, value: valueInput }), jsxRuntimeExports.jsx("span", { className: "rls-input__value", children: children })] }));
1519
1519
  }
1520
1520
 
1521
+ function RlsInputDouble(props) {
1522
+ const { decimals, formControl, identifier, onValue, symbol, value } = props;
1523
+ const [valueInput, setValueInput] = require$$0.useState((formControl?.value ?? value ?? commons.Double.zero()).fixed);
1524
+ const amount = require$$0.useMemo(() => {
1525
+ return formControl?.value?.fixed ?? valueInput;
1526
+ }, [formControl?.value, valueInput]);
1527
+ const onValueInput = require$$0.useCallback((value) => {
1528
+ const valueDouble = commons.Double.create(value);
1529
+ formControl ? formControl.setValue(valueDouble) : setValueInput(value);
1530
+ onValue && onValue(valueDouble);
1531
+ }, [formControl, onValue]);
1532
+ const doubleProps = { ...props, formControl: undefined };
1533
+ return (jsxRuntimeExports.jsx("div", { id: identifier, className: "rls-input-double", children: jsxRuntimeExports.jsx(RlsInput, { ...doubleProps, type: "number", value: valueInput, onValue: onValueInput, children: jsxRuntimeExports.jsx(RlsAmount, { value: amount, symbol: symbol, decimals: decimals }) }) }));
1534
+ }
1535
+
1521
1536
  function RlsInputMoney(props) {
1522
1537
  const { decimals, formControl, identifier, onValue, symbol, value } = props;
1523
1538
  const [valueInput, setValueInput] = require$$0.useState(formControl?.value ?? value ?? 0);
@@ -1824,6 +1839,24 @@ function RlsMessageFormError({ className, formControl }) {
1824
1839
  return (jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: formControl?.wrong && (jsxRuntimeExports.jsx("div", { className: className, children: jsxRuntimeExports.jsx(RlsMessageIcon, { icon: "alert-triangle", rlsTheme: "danger", children: msgError }) })) }));
1825
1840
  }
1826
1841
 
1842
+ function RlsFieldDouble(props) {
1843
+ const { children, disabled, formControl, identifier, msgErrorDisabled, rlsTheme } = props;
1844
+ const className = require$$0.useMemo(() => {
1845
+ const _disabled = formControl?.disabled || disabled;
1846
+ return renderClassStatus('rls-field-box', {
1847
+ focused: formControl?.focused && !_disabled,
1848
+ error: formControl?.wrong,
1849
+ disabled: _disabled
1850
+ }, 'rls-field-double');
1851
+ }, [
1852
+ formControl?.focused,
1853
+ formControl?.wrong,
1854
+ formControl?.disabled,
1855
+ disabled
1856
+ ]);
1857
+ return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("span", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsx("div", { className: "rls-field-box__body", children: jsxRuntimeExports.jsx(RlsInputDouble, { ...props }) }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
1858
+ }
1859
+
1827
1860
  function RlsFieldMoney(props) {
1828
1861
  const { children, disabled, formControl, identifier, msgErrorDisabled, rlsTheme } = props;
1829
1862
  const className = require$$0.useMemo(() => {
@@ -1839,7 +1872,7 @@ function RlsFieldMoney(props) {
1839
1872
  formControl?.disabled,
1840
1873
  disabled
1841
1874
  ]);
1842
- return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("label", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsx("div", { className: "rls-field-box__body", children: jsxRuntimeExports.jsx(RlsInputMoney, { ...props }) }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
1875
+ return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("span", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsx("div", { className: "rls-field-box__body", children: jsxRuntimeExports.jsx(RlsInputMoney, { ...props }) }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
1843
1876
  }
1844
1877
 
1845
1878
  function RlsFieldNumber(props) {
@@ -1857,7 +1890,7 @@ function RlsFieldNumber(props) {
1857
1890
  formControl?.disabled,
1858
1891
  disabled
1859
1892
  ]);
1860
- return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("label", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsx("div", { className: "rls-field-box__body", children: jsxRuntimeExports.jsx(RlsInputNumber, { ...props }) }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
1893
+ return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("span", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsx("div", { className: "rls-field-box__body", children: jsxRuntimeExports.jsx(RlsInputNumber, { ...props }) }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
1861
1894
  }
1862
1895
 
1863
1896
  function RlsFieldPassword(props) {
@@ -1879,7 +1912,7 @@ function RlsFieldPassword(props) {
1879
1912
  formControl?.disabled,
1880
1913
  disabled
1881
1914
  ]);
1882
- return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("label", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsxs("div", { className: "rls-field-box__body", children: [jsxRuntimeExports.jsx(RlsInputPassword, { ...props, type: password ? 'password' : 'text' }), jsxRuntimeExports.jsx(RlsButtonAction, { icon: password ? 'eye' : 'eye-off', onClick: onToggleInput })] }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
1915
+ return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("span", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsxs("div", { className: "rls-field-box__body", children: [jsxRuntimeExports.jsx(RlsInputPassword, { ...props, type: password ? 'password' : 'text' }), jsxRuntimeExports.jsx(RlsButtonAction, { icon: password ? 'eye' : 'eye-off', onClick: onToggleInput })] }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
1883
1916
  }
1884
1917
 
1885
1918
  function RlsFieldPercentage(props) {
@@ -1897,11 +1930,11 @@ function RlsFieldPercentage(props) {
1897
1930
  formControl?.disabled,
1898
1931
  disabled
1899
1932
  ]);
1900
- return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("label", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsx("div", { className: "rls-field-box__body", children: jsxRuntimeExports.jsx(RlsInputPercentage, { ...props }) }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
1933
+ return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("span", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsx("div", { className: "rls-field-box__body", children: jsxRuntimeExports.jsx(RlsInputPercentage, { ...props }) }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
1901
1934
  }
1902
1935
 
1903
1936
  function RlsFieldReadonly({ children, identifier, rlsTheme, value }) {
1904
- return (jsxRuntimeExports.jsxs("div", { id: identifier, className: "rls-field-readonly rls-field-box", "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("label", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsx("div", { className: "rls-field-box__body", children: jsxRuntimeExports.jsx("input", { className: "rls-input__component", autoComplete: "off", type: 'text', readOnly: true, value: value }) }) })] }));
1937
+ return (jsxRuntimeExports.jsxs("div", { id: identifier, className: "rls-field-readonly rls-field-box", "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("span", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsx("div", { className: "rls-field-box__body", children: jsxRuntimeExports.jsx("input", { className: "rls-input__component", autoComplete: "off", type: 'text', readOnly: true, value: value }) }) })] }));
1905
1938
  }
1906
1939
 
1907
1940
  function RlsFieldText(props) {
@@ -1919,7 +1952,7 @@ function RlsFieldText(props) {
1919
1952
  formControl?.disabled,
1920
1953
  disabled
1921
1954
  ]);
1922
- return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("label", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsx("div", { className: "rls-field-box__body", children: jsxRuntimeExports.jsx(RlsInputText, { ...props }) }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
1955
+ return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("span", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsx("div", { className: "rls-field-box__body", children: jsxRuntimeExports.jsx(RlsInputText, { ...props }) }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
1923
1956
  }
1924
1957
 
1925
1958
  function RlsLabelCheckBox({ children, disabled, extended, identifier, formControl, reverse, rlsTheme }) {
@@ -2410,11 +2443,14 @@ function RlsToolbar({ actions, children, subtitle }) {
2410
2443
  return (jsxRuntimeExports.jsxs("div", { className: "rls-toolbar", children: [jsxRuntimeExports.jsxs("div", { className: "rls-toolbar__description", children: [children && jsxRuntimeExports.jsx("label", { className: "rls-toolbar__title", children: children }), subtitle && (jsxRuntimeExports.jsx("label", { className: "rls-toolbar__subtitle smalltext-semibold", children: subtitle }))] }), actions && (jsxRuntimeExports.jsx("div", { className: "rls-toolbar__actions", children: actions.map((action, index) => (jsxRuntimeExports.jsx("div", { children: action }, index))) }))] }));
2411
2444
  }
2412
2445
 
2413
- function RlsBottonSheet({ children, className, visible, rlsTheme }) {
2446
+ function RlsBottonSheet({ children, className, onAutoClose, visible, rlsTheme }) {
2414
2447
  const classNameSheet = require$$0.useMemo(() => {
2415
2448
  return renderClassStatus('rls-bottom-sheet', { visible }, className);
2416
2449
  }, [className, visible]);
2417
- return ReactDOM.createPortal(jsxRuntimeExports.jsxs("div", { className: classNameSheet, "rls-theme": rlsTheme, children: [jsxRuntimeExports.jsx("div", { className: "rls-bottom-sheet__component", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-bottom-sheet__backdrop" })] }), document.body);
2450
+ const onClickBackdrop = require$$0.useCallback(() => {
2451
+ onAutoClose && onAutoClose();
2452
+ }, [onAutoClose]);
2453
+ return ReactDOM.createPortal(jsxRuntimeExports.jsxs("div", { className: classNameSheet, "rls-theme": rlsTheme, children: [jsxRuntimeExports.jsx("div", { className: "rls-bottom-sheet__component", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-bottom-sheet__backdrop", onClick: onClickBackdrop })] }), document.body);
2418
2454
  }
2419
2455
 
2420
2456
  function RlsCard({ children, outline, rlsTheme }) {
@@ -2860,18 +2896,21 @@ function RlsFieldAutocompleteTemplate(props) {
2860
2896
  event.key === 'Enter' && onSearch && onSearch(autocomplete.pattern);
2861
2897
  autocomplete.onKeydownInput(event);
2862
2898
  }, [autocomplete.onKeydownInput, onSearch, autocomplete.pattern]);
2863
- return (jsxRuntimeExports.jsxs("div", { id: props.identifier, ref: autocomplete.refContent, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("label", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsxs("div", { className: "rls-field-box__body", children: [jsxRuntimeExports.jsx("input", { className: "rls-field-list__control", readOnly: true, disabled: disabled, placeholder: placeholder, value: autocomplete.value, onClick: autocomplete.onClickControl }), !readOnly && (jsxRuntimeExports.jsx("button", { className: "rls-field-list__action", disabled: disabled, onClick: autocomplete.onClickAction, children: jsxRuntimeExports.jsx(RlsIcon, { value: autocomplete.value ? 'trash-2' : 'arrow-ios-down' }) }))] }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl })), jsxRuntimeExports.jsxs("div", { className: classNameList, children: [jsxRuntimeExports.jsx("div", { className: "rls-field-list__suggestions__body", children: jsxRuntimeExports.jsxs("ul", { ref: autocomplete.refList, className: "rls-field-list__ul", children: [jsxRuntimeExports.jsxs("div", { className: "rls-field-list__ul__search", children: [jsxRuntimeExports.jsx("input", { ref: autocomplete.refInput, className: "rls-field-list__ul__control", type: "text", placeholder: labels.listInputPlaceholder, value: autocomplete.pattern, onChange: onChangePattern, onFocus: autocomplete.onFocusInput, onBlur: autocomplete.onBlurInput, onKeyDown: onKeyDownPattern, disabled: disabled || searching }), onSearch && (jsxRuntimeExports.jsx("button", { disabled: disabled || searching, onClick: onClickPattern, children: jsxRuntimeExports.jsx(RlsIcon, { value: "search" }) }))] }), searching && jsxRuntimeExports.jsx(RlsProgressBar, { indeterminate: true }), autocomplete.coincidences.map((element, index) => (jsxRuntimeExports.jsx("li", { className: "rls-field-list__element", tabIndex: -1, onClick: autocomplete.onClickElement(element), onKeyDown: autocomplete.onKeydownElement(element), children: render(element) }, index))), !autocomplete.coincidences.length && (jsxRuntimeExports.jsx("li", { className: "rls-field-list__empty", children: jsxRuntimeExports.jsxs("div", { className: "rls-field-list__empty__description", children: [jsxRuntimeExports.jsx("label", { className: "rls-label-bold rls-truncate", children: labels.listEmptyTitle }), jsxRuntimeExports.jsx("p", { className: "rls-caption-regular", children: labels.listEmptyDescription })] }) }))] }) }), jsxRuntimeExports.jsx("div", { className: "rls-field-list__backdrop", onClick: autocomplete.onClickBackdrop })] })] }));
2899
+ return (jsxRuntimeExports.jsxs("div", { id: props.identifier, ref: autocomplete.refContent, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("span", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsxs("div", { className: "rls-field-box__body", children: [jsxRuntimeExports.jsx("input", { className: "rls-field-list__control", readOnly: true, disabled: disabled, placeholder: placeholder, value: autocomplete.value, onClick: autocomplete.onClickControl }), !readOnly && (jsxRuntimeExports.jsx("button", { className: "rls-field-list__action", disabled: disabled, onClick: autocomplete.onClickAction, children: jsxRuntimeExports.jsx(RlsIcon, { value: autocomplete.value ? 'trash-2' : 'arrow-ios-down' }) }))] }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl })), jsxRuntimeExports.jsxs("div", { className: classNameList, children: [jsxRuntimeExports.jsx("div", { className: "rls-field-list__suggestions__body", children: jsxRuntimeExports.jsxs("ul", { ref: autocomplete.refList, className: "rls-field-list__ul", children: [jsxRuntimeExports.jsxs("div", { className: "rls-field-list__ul__search", children: [jsxRuntimeExports.jsx("input", { ref: autocomplete.refInput, className: "rls-field-list__ul__control", type: "text", placeholder: labels.listInputPlaceholder, value: autocomplete.pattern, onChange: onChangePattern, onFocus: autocomplete.onFocusInput, onBlur: autocomplete.onBlurInput, onKeyDown: onKeyDownPattern, disabled: disabled || searching }), onSearch && (jsxRuntimeExports.jsx("button", { disabled: disabled || searching, onClick: onClickPattern, children: jsxRuntimeExports.jsx(RlsIcon, { value: "search" }) }))] }), searching && jsxRuntimeExports.jsx(RlsProgressBar, { indeterminate: true }), autocomplete.coincidences.map((element, index) => (jsxRuntimeExports.jsx("li", { className: "rls-field-list__element", tabIndex: -1, onClick: autocomplete.onClickElement(element), onKeyDown: autocomplete.onKeydownElement(element), children: render(element) }, index))), !autocomplete.coincidences.length && (jsxRuntimeExports.jsx("li", { className: "rls-field-list__empty", children: jsxRuntimeExports.jsxs("div", { className: "rls-field-list__empty__description", children: [jsxRuntimeExports.jsx("label", { className: "rls-label-bold rls-truncate", children: labels.listEmptyTitle }), jsxRuntimeExports.jsx("p", { className: "rls-caption-regular", children: labels.listEmptyDescription })] }) }))] }) }), jsxRuntimeExports.jsx("div", { className: "rls-field-list__backdrop", onClick: autocomplete.onClickBackdrop })] })] }));
2864
2900
  }
2865
2901
  function RlsFieldAutocomplete(props) {
2866
2902
  const render = require$$0.useCallback((element) => (jsxRuntimeExports.jsx(RlsBallot, { subtitle: element.subtitle, img: element.img, initials: element.initials, children: jsxRuntimeExports.jsx("span", { children: element.title }) })), []);
2867
2903
  return jsxRuntimeExports.jsx(RlsFieldAutocompleteTemplate, { ...props, render: render });
2868
2904
  }
2869
2905
 
2870
- function RlsModal({ children, className, visible, rlsTheme }) {
2906
+ function RlsModal({ children, className, onAutoClose, visible, rlsTheme }) {
2871
2907
  const classNameModal = require$$0.useMemo(() => {
2872
2908
  return renderClassStatus('rls-modal', { visible }, className);
2873
2909
  }, [className, visible]);
2874
- return ReactDOM.createPortal(jsxRuntimeExports.jsxs("div", { className: classNameModal, "rls-theme": rlsTheme, children: [jsxRuntimeExports.jsx("div", { className: "rls-modal__component", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-modal__backdrop" })] }), document.body);
2910
+ const onClickBackdrop = require$$0.useCallback(() => {
2911
+ onAutoClose && onAutoClose();
2912
+ }, [onAutoClose]);
2913
+ return ReactDOM.createPortal(jsxRuntimeExports.jsxs("div", { className: classNameModal, "rls-theme": rlsTheme, children: [jsxRuntimeExports.jsx("div", { className: "rls-modal__component", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-modal__backdrop", onClick: onClickBackdrop })] }), document.body);
2875
2914
  }
2876
2915
 
2877
2916
  function RlsPickerDate({ automatic, date, disabled, formControl, maxDate, minDate, onListener, rlsTheme }) {
@@ -3003,7 +3042,7 @@ function RlsFieldDate({ children, date, disabled, formControl, format, identifie
3003
3042
  formControl?.touch();
3004
3043
  setModalIsVisible(false);
3005
3044
  }, [formControl, onChange]);
3006
- return (jsxRuntimeExports.jsxs("div", { id: identifier, className: "rls-field-date", "rls-theme": rlsTheme, children: [jsxRuntimeExports.jsxs("div", { className: className, children: [children && jsxRuntimeExports.jsx("label", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsxs("div", { className: "rls-field-box__body", children: [jsxRuntimeExports.jsx("input", { className: "rls-field-date__control", type: "text", value: valueInput, readOnly: true, placeholder: placeholder, onClick: onClickInput, disabled: _disabled }), !readOnly && (jsxRuntimeExports.jsx("button", { className: "rls-field-date__action", onClick: onClickAction, disabled: _disabled, children: jsxRuntimeExports.jsx(RlsIcon, { value: icon }) }))] }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }), jsxRuntimeExports.jsx(RlsModal, { className: "rls-field-date-modal", visible: modalIsVisible, rlsTheme: rlsTheme, children: jsxRuntimeExports.jsx(RlsPickerDate, { formControl: formControl, date: date, disabled: _disabled, maxDate: maxDate, minDate: minDate, onListener: onListener }) })] }));
3045
+ return (jsxRuntimeExports.jsxs("div", { id: identifier, className: "rls-field-date", "rls-theme": rlsTheme, children: [jsxRuntimeExports.jsxs("div", { className: className, children: [children && jsxRuntimeExports.jsx("span", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsxs("div", { className: "rls-field-box__body", children: [jsxRuntimeExports.jsx("input", { className: "rls-field-date__control", type: "text", value: valueInput, readOnly: true, placeholder: placeholder, onClick: onClickInput, disabled: _disabled }), !readOnly && (jsxRuntimeExports.jsx("button", { className: "rls-field-date__action", onClick: onClickAction, disabled: _disabled, children: jsxRuntimeExports.jsx(RlsIcon, { value: icon }) }))] }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }), jsxRuntimeExports.jsx(RlsModal, { className: "rls-field-date-modal", visible: modalIsVisible, rlsTheme: rlsTheme, children: jsxRuntimeExports.jsx(RlsPickerDate, { formControl: formControl, date: date, disabled: _disabled, maxDate: maxDate, minDate: minDate, onListener: onListener }) })] }));
3007
3046
  }
3008
3047
 
3009
3048
  function rangeFormatTemplate({ maxDate, minDate }) {
@@ -3122,7 +3161,7 @@ function RlsFieldDateRange({ children, date: _date, disabled, formControl, ident
3122
3161
  formControl?.touch();
3123
3162
  setModalIsVisible(false);
3124
3163
  }, [formControl, onChange]);
3125
- return (jsxRuntimeExports.jsxs("div", { id: identifier, className: "rls-field-date-range", "rls-theme": rlsTheme, children: [jsxRuntimeExports.jsxs("div", { className: className, children: [children && jsxRuntimeExports.jsx("label", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsxs("div", { className: "rls-field-box__body", children: [jsxRuntimeExports.jsx("input", { className: "rls-field-date-range__control", type: "text", value: valueInput, readOnly: true, placeholder: placeholder, onClick: onClickInput, disabled: _disabled }), !readOnly && (jsxRuntimeExports.jsx("button", { className: "rls-field-date-range__action", onClick: onClickAction, disabled: _disabled, children: jsxRuntimeExports.jsx(RlsIcon, { value: icon }) }))] }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }), jsxRuntimeExports.jsx(RlsModal, { className: "rls-field-date-range-modal", visible: modalIsVisible, rlsTheme: rlsTheme, children: jsxRuntimeExports.jsx(RlsPickerDateRange, { formControl: formControl, date: currentDate, disabled: _disabled, maxDate: maxDate, minDate: minDate, onListener: onListener }) })] }));
3164
+ return (jsxRuntimeExports.jsxs("div", { id: identifier, className: "rls-field-date-range", "rls-theme": rlsTheme, children: [jsxRuntimeExports.jsxs("div", { className: className, children: [children && jsxRuntimeExports.jsx("span", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsxs("div", { className: "rls-field-box__body", children: [jsxRuntimeExports.jsx("input", { className: "rls-field-date-range__control", type: "text", value: valueInput, readOnly: true, placeholder: placeholder, onClick: onClickInput, disabled: _disabled }), !readOnly && (jsxRuntimeExports.jsx("button", { className: "rls-field-date-range__action", onClick: onClickAction, disabled: _disabled, children: jsxRuntimeExports.jsx(RlsIcon, { value: icon }) }))] }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }), jsxRuntimeExports.jsx(RlsModal, { className: "rls-field-date-range-modal", visible: modalIsVisible, rlsTheme: rlsTheme, children: jsxRuntimeExports.jsx(RlsPickerDateRange, { formControl: formControl, date: currentDate, disabled: _disabled, maxDate: maxDate, minDate: minDate, onListener: onListener }) })] }));
3126
3165
  }
3127
3166
 
3128
3167
  function useFieldSelect(props) {
@@ -3259,7 +3298,7 @@ function RlsFieldSelectTemplate(props) {
3259
3298
  visible: select.modalIsVisible
3260
3299
  });
3261
3300
  }, [select.modalIsVisible, select.higher]);
3262
- return (jsxRuntimeExports.jsxs("div", { id: props.identifier, ref: select.refContent, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("label", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsxs("div", { className: "rls-field-box__body", children: [jsxRuntimeExports.jsx("input", { ref: select.refInput, className: "rls-field-list__control", readOnly: true, placeholder: placeholder, value: select.value, onFocus: select.onFocusInput, onBlur: select.onBlurInput, onClick: select.onClickInput, onKeyDown: select.onKeydownInput, disabled: disabled }), !readOnly && (jsxRuntimeExports.jsx("button", { className: 'rls-field-list__action', disabled: disabled, onClick: select.onClickAction, children: jsxRuntimeExports.jsx(RlsIcon, { value: !unremovable && !!select.value ? 'close' : 'arrow-ios-down' }) }))] }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl })), jsxRuntimeExports.jsxs("div", { className: classNameList, children: [jsxRuntimeExports.jsx("div", { className: "rls-field-list__suggestions__body", children: jsxRuntimeExports.jsxs("ul", { ref: select.refList, className: "rls-field-list__ul", children: [suggestions.map((element, index) => (jsxRuntimeExports.jsx("li", { className: "rls-field-list__element", tabIndex: -1, onClick: select.onClickElement(element), onKeyDown: select.onKeydownElement(element), children: render(element) }, index))), !suggestions.length && (jsxRuntimeExports.jsx("li", { className: "rls-field-list__empty", children: jsxRuntimeExports.jsxs("div", { className: "rls-field-list__empty__description", children: [jsxRuntimeExports.jsx("label", { className: "rls-label-bold rls-truncate", children: labels.listEmptyTitle }), jsxRuntimeExports.jsx("p", { className: "rls-caption-regular", children: labels.listEmptyDescription })] }) }))] }) }), jsxRuntimeExports.jsx("div", { className: "rls-field-list__backdrop", onClick: select.onClickBackdrop })] })] }));
3301
+ return (jsxRuntimeExports.jsxs("div", { id: props.identifier, ref: select.refContent, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("span", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsxs("div", { className: "rls-field-box__body", children: [jsxRuntimeExports.jsx("input", { ref: select.refInput, className: "rls-field-list__control", readOnly: true, placeholder: placeholder, value: select.value, onFocus: select.onFocusInput, onBlur: select.onBlurInput, onClick: select.onClickInput, onKeyDown: select.onKeydownInput, disabled: disabled }), !readOnly && (jsxRuntimeExports.jsx("button", { className: 'rls-field-list__action', disabled: disabled, onClick: select.onClickAction, children: jsxRuntimeExports.jsx(RlsIcon, { value: !unremovable && !!select.value ? 'close' : 'arrow-ios-down' }) }))] }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl })), jsxRuntimeExports.jsxs("div", { className: classNameList, children: [jsxRuntimeExports.jsx("div", { className: "rls-field-list__suggestions__body", children: jsxRuntimeExports.jsxs("ul", { ref: select.refList, className: "rls-field-list__ul", children: [suggestions.map((element, index) => (jsxRuntimeExports.jsx("li", { className: "rls-field-list__element", tabIndex: -1, onClick: select.onClickElement(element), onKeyDown: select.onKeydownElement(element), children: render(element) }, index))), !suggestions.length && (jsxRuntimeExports.jsx("li", { className: "rls-field-list__empty", children: jsxRuntimeExports.jsxs("div", { className: "rls-field-list__empty__description", children: [jsxRuntimeExports.jsx("label", { className: "rls-label-bold rls-truncate", children: labels.listEmptyTitle }), jsxRuntimeExports.jsx("p", { className: "rls-caption-regular", children: labels.listEmptyDescription })] }) }))] }) }), jsxRuntimeExports.jsx("div", { className: "rls-field-list__backdrop", onClick: select.onClickBackdrop })] })] }));
3263
3302
  }
3264
3303
  function RlsFieldSelect(props) {
3265
3304
  const render = require$$0.useCallback((element) => (jsxRuntimeExports.jsx(RlsBallot, { subtitle: element.subtitle, img: element.img, initials: element.initials, children: jsxRuntimeExports.jsx("span", { children: element.title }) })), []);
@@ -3698,6 +3737,16 @@ function RlsImageChooser(props) {
3698
3737
  return (jsxRuntimeExports.jsxs("div", { className: "rls-image-chooser", children: [jsxRuntimeExports.jsx("div", { className: "rls-image-chooser__avatar", onClick: controller.onImageChooser, children: src && jsxRuntimeExports.jsx("img", { src: src }) }), controller.RlsImageEditorChooser] }));
3699
3738
  }
3700
3739
 
3740
+ function RlsModalSheet({ children, className, onAutoClose, visible, rlsTheme }) {
3741
+ const classNameModal = require$$0.useMemo(() => {
3742
+ return renderClassStatus('rls-modal-sheet', { visible }, className);
3743
+ }, [className, visible]);
3744
+ const onClickBackdrop = require$$0.useCallback(() => {
3745
+ onAutoClose && onAutoClose();
3746
+ }, [onAutoClose]);
3747
+ return ReactDOM.createPortal(jsxRuntimeExports.jsxs("div", { className: classNameModal, "rls-theme": rlsTheme, children: [jsxRuntimeExports.jsx("div", { className: "rls-modal-sheet__component", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-modal-sheet__backdrop", onClick: onClickBackdrop })] }), document.body);
3748
+ }
3749
+
3701
3750
  const DURATION_ANIMATION = 240;
3702
3751
  const DURATION_CHAR = 75;
3703
3752
  const DURATION_MAX = 9000;
@@ -3846,6 +3895,7 @@ exports.RlsFieldAutocomplete = RlsFieldAutocomplete;
3846
3895
  exports.RlsFieldAutocompleteTemplate = RlsFieldAutocompleteTemplate;
3847
3896
  exports.RlsFieldDate = RlsFieldDate;
3848
3897
  exports.RlsFieldDateRange = RlsFieldDateRange;
3898
+ exports.RlsFieldDouble = RlsFieldDouble;
3849
3899
  exports.RlsFieldMoney = RlsFieldMoney;
3850
3900
  exports.RlsFieldNumber = RlsFieldNumber;
3851
3901
  exports.RlsFieldPassword = RlsFieldPassword;
@@ -3860,6 +3910,7 @@ exports.RlsImage = RlsImage;
3860
3910
  exports.RlsImageChooser = RlsImageChooser;
3861
3911
  exports.RlsImageEditor = RlsImageEditor;
3862
3912
  exports.RlsInput = RlsInput;
3913
+ exports.RlsInputDouble = RlsInputDouble;
3863
3914
  exports.RlsInputMoney = RlsInputMoney;
3864
3915
  exports.RlsInputNumber = RlsInputNumber;
3865
3916
  exports.RlsInputPassword = RlsInputPassword;
@@ -3873,6 +3924,7 @@ exports.RlsLabelSwitch = RlsLabelSwitch;
3873
3924
  exports.RlsMessageFormError = RlsMessageFormError;
3874
3925
  exports.RlsMessageIcon = RlsMessageIcon;
3875
3926
  exports.RlsModal = RlsModal;
3927
+ exports.RlsModalSheet = RlsModalSheet;
3876
3928
  exports.RlsNavbar = RlsNavbar;
3877
3929
  exports.RlsPagination = RlsPagination;
3878
3930
  exports.RlsPickerDate = RlsPickerDate;