@m4l/components 0.2.26 → 0.2.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/AccountPopover/{index.e31fc908.js → index.3994a80b.js} +1 -1
- package/components/AppBar/{index.4945897e.js → index.23323f96.js} +2 -2
- package/components/CommonActions/components/ActionCancel/{index.33a748be.js → index.bd767c14.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.9a965204.js → index.d737bddc.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.7add0125.js → index.d5b80747.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.ac7cd0ee.js → index.9bd56cd0.js} +2 -2
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.f731d23f.js → index.29cf6542.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.ad82747c.js → index.2c4fd22e.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.64854fdd.js → index.e30c976f.js} +1 -1
- package/components/DataGrid/{index.1c695ed3.js → index.a3792770.js} +3 -3
- package/components/DataGrid/subcomponents/Actions/{index.4a402633.js → index.a317b384.js} +10 -10
- package/components/DragResizeWindow/{index.f84451f8.js → index.bf1a4a47.js} +1 -1
- package/components/DynamicFilter/{index.22ba3195.js → index.cce92677.js} +12 -10
- package/components/FieldLabel/{index.1da2a28d.js → index.8d3d6bb4.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.0fd1b7f8.js → index.d2ec9ddb.js} +1 -0
- package/components/GridLayout/subcomponents/SizeProvider/{index.7669a2cd.js → index.06986ab4.js} +9 -5
- package/components/HamburgerMenu/{index.1663edef.js → index.06905db3.js} +2 -2
- package/components/Icon/{index.8c744412.js → index.58eaf354.js} +8 -48
- package/components/Icon/types.d.ts +0 -5
- package/components/Image/classes/index.d.ts +7 -0
- package/components/Image/{utils/classes → classes}/types.d.ts +0 -5
- package/components/Image/index.fa98eb78.js +203 -0
- package/components/Image/tests/utils.d.ts +1 -1
- package/components/Image/types.d.ts +3 -43
- package/components/LanguagePopover/{index.80896e49.js → index.2740fb8e.js} +2 -3
- package/components/LoadingError/{index.9c64680a.js → index.4f4724c4.js} +2 -2
- package/components/MFLoader/{index.7cd7c372.js → index.f6a46c70.js} +1 -1
- package/components/ModalDialog/{index.ce0f4d16.js → index.86de725b.js} +2 -2
- package/components/NoItemSelected/{index.ffba558b.js → index.aa3679f1.js} +1 -1
- package/components/ObjectLogs/{index.dd6a5009.js → index.0e365006.js} +5 -5
- package/components/PDFViewer/{index.093ddd35.js → index.85d4e010.js} +1 -1
- package/components/Page/{index.1b20a73e.js → index.aa33f20b.js} +1 -1
- package/components/PaperForm/{index.42e78a24.js → index.b6811634.js} +1 -1
- package/components/Period/{index.6e8d92dc.js → index.ba79014c.js} +2 -2
- package/components/PrintingSystem/{index.c2d21657.js → index.b3ed9375.js} +12 -12
- package/components/PrintingSystem/subcomponents/BodyNode/{index.c7b59f3f.js → index.7a5c7bdd.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.263f02f0.js → index.85914c4b.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.f00c44f3.js → index.45284722.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.fb323704.js → index.a83e65dc.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.1ed935be.js → index.cb7d0af9.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.5173c74a.js → index.d67484e5.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.fad64696.js → index.ab17815a.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.3a3e5fd0.js → index.8a2617ae.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.2890fc12.js → index.2c52ee12.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.148708e6.js → index.f0ac0243.js} +1 -1
- package/components/PropertyValue/{index.4ea5af0f.js → index.a3527d10.js} +1 -1
- package/components/SideBar/{index.141dac10.js → index.0d49daff.js} +10 -23
- package/components/SideBar/subcomponents/ContentGroups/index.d.ts +1 -1
- package/components/ToastContainer/{index.98c4873e.js → index.b42aca02.js} +2 -2
- package/components/areas/components/AreasAdmin/{index.debe3e3d.js → index.6d902d47.js} +13 -13
- package/components/areas/components/AreasViewer/{index.82a22acb.js → index.2a286dfa.js} +118 -218
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowHeaderSkeleton/index.d.ts +2 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowHeaderSkeleton/types.d.ts +3 -0
- package/components/areas/contexts/AreasContext/helper.d.ts +2 -2
- package/components/areas/contexts/AreasContext/{index.0dc69929.js → index.3eb6b2a4.js} +5 -5
- package/components/areas/hooks/useAreas/{index.ca15a4b6.js → index.febe901b.js} +1 -1
- package/components/commercial/TopBar/{index.32a332c4.js → index.08853566.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.0703a256.js → index.4bb3d2f9.js} +2 -2
- package/components/formatters/{index.94be7098.js → index.3e9e2305.js} +1 -1
- package/components/hook-form/RHFAutocomplete/classes/types.d.ts +1 -0
- package/components/hook-form/RHFAutocomplete/{index.993794f8.js → index.f9be5465.js} +22 -15
- package/components/hook-form/RHFAutocomplete/types.d.ts +2 -1
- package/components/hook-form/RHFAutocompleteAsync/{index.924c6473.js → index.c01fd38a.js} +1 -1
- package/components/hook-form/RHFCheckbox/classes/types.d.ts +2 -0
- package/components/hook-form/RHFCheckbox/{index.f1fd5789.js → index.4f650b78.js} +20 -3
- package/components/hook-form/RHFCheckbox/types.d.ts +2 -0
- package/components/hook-form/RHFColorPicker/classes/types.d.ts +2 -0
- package/components/hook-form/RHFColorPicker/{index.60b50052.js → index.5be9e237.js} +24 -6
- package/components/hook-form/RHFColorPicker/types.d.ts +2 -0
- package/components/hook-form/RHFDateTime/classes/types.d.ts +1 -0
- package/components/hook-form/RHFDateTime/{index.2396ea4a.js → index.ace3f52e.js} +19 -12
- package/components/hook-form/RHFDateTime/types.d.ts +2 -1
- package/components/hook-form/RHFPeriod/classes/index.d.ts +2 -1
- package/components/hook-form/RHFPeriod/classes/types.d.ts +2 -0
- package/components/hook-form/RHFPeriod/index.88812636.js +112 -0
- package/components/hook-form/RHFPeriod/types.d.ts +4 -0
- package/components/hook-form/RHFTextField/classes/types.d.ts +1 -0
- package/components/hook-form/RHFTextField/{index.fb0d1cac.js → index.d4192912.js} +21 -15
- package/components/hook-form/RHFTextField/types.d.ts +2 -1
- package/components/hook-form/RHFUpload/{index.e5f734b8.js → index.f7efd0e2.js} +2 -2
- package/components/modal/{WindowBase.dd1d2d7b.js → WindowBase.4881da1f.js} +3 -3
- package/components/modal/{WindowConfirm.4501497a.js → WindowConfirm.3b0e842b.js} +6 -6
- package/components/mui_extended/Accordion/{index.4393eca9.js → index.a32a5761.js} +2 -2
- package/components/mui_extended/Button/{index.93389adb.js → index.81367a73.js} +3 -7
- package/components/mui_extended/{CheckBox.840a443f.js → CheckBox.b3c0f2ad.js} +1 -1
- package/components/mui_extended/IconButton/classes/types.d.ts +0 -1
- package/components/mui_extended/IconButton/{index.383f5496.js → index.32fc9419.js} +2 -5
- package/components/mui_extended/IconButton/types.d.ts +1 -1
- package/components/mui_extended/ImageButton/ImageButton.d.ts +1 -1
- package/components/mui_extended/MenuActions/{index.e6e3aac8.js → index.fdea20e7.js} +2 -2
- package/components/mui_extended/Pager/{index.5791276c.js → index.c843dde3.js} +1 -1
- package/components/mui_extended/ToggleButton/{index.4ac1f974.js → index.3d71f374.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.8ca0114f.js → index.1cff26af.js} +1 -1
- package/contexts/ModalContext/{index.dde4e35a.js → index.e748f329.js} +1 -1
- package/hooks/index.d.ts +1 -0
- package/hooks/useFormAddEdit/{index.7fdad61d.js → index.5c3d8e48.js} +2 -2
- package/hooks/useFormFocus/index.d.ts +7 -0
- package/hooks/useFormFocus/types.d.ts +8 -0
- package/hooks/useModal/{index.2f1d6a07.js → index.66a0c82e.js} +1 -1
- package/index.js +79 -78
- package/{node_modules.585eab0e.js → node_modules.47f7709b.js} +1 -1
- package/package.json +1 -1
- package/{vendor.173d0b89.js → vendor.47f1f3d4.js} +80 -61
- package/components/Image/index.39b3b9d9.js +0 -387
- package/components/Image/subcomponents/BasicIntersectComponent/index.d.ts +0 -3
- package/components/Image/subcomponents/LazyLoadComponent/index.d.ts +0 -7
- package/components/Image/subcomponents/Skeleton/index.d.ts +0 -2
- package/components/Image/subcomponents/Skeleton/types.d.ts +0 -6
- package/components/Image/utils/classes/index.d.ts +0 -12
- package/components/Image/utils/isIntersectionObserverAvailable.d.ts +0 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/skeleton.d.ts +0 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowPopUpsList/index.d.ts +0 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowPopUpsList/types.d.ts +0 -2
- package/components/hook-form/RHFPeriod/index.011965ef.js +0 -90
- package/components/CommonActions/components/Actions/{index.389f9b28.js → index.16946bfd.js} +11 -11
- /package/components/Image/{utils/classes → classes}/constant.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./assets/Logo/index.228dcb5a.js";
|
|
2
|
-
import "./components/DataGrid/index.
|
|
2
|
+
import "./components/DataGrid/index.a3792770.js";
|
|
3
3
|
import "./components/DataGrid/subcomponents/editors/TextEditor/index.eac1749c.js";
|
|
4
4
|
import "./components/NavLink/index.b75c91e1.js";
|
|
5
5
|
import "./components/ScrollToTop/index.e06f98f6.js";
|
|
@@ -12,27 +12,27 @@ import "./components/animate/variants/fade.b561c0fc.js";
|
|
|
12
12
|
import "./components/animate/variants/bounce.784aaaaa.js";
|
|
13
13
|
import "./components/animate/variants/container.11f82b76.js";
|
|
14
14
|
import "./components/animate/variants/transition.bd46b9ce.js";
|
|
15
|
-
import "./components/areas/components/AreasAdmin/index.
|
|
16
|
-
import "./components/areas/components/AreasViewer/index.
|
|
15
|
+
import "./components/areas/components/AreasAdmin/index.6d902d47.js";
|
|
16
|
+
import "./components/areas/components/AreasViewer/index.2a286dfa.js";
|
|
17
17
|
import "./components/areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
18
18
|
import "./components/areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
19
|
-
import "./components/areas/contexts/AreasContext/index.
|
|
19
|
+
import "./components/areas/contexts/AreasContext/index.3eb6b2a4.js";
|
|
20
20
|
import "./components/areas/hooks/useDynamicMFParameters/index.e52c5392.js";
|
|
21
21
|
import "./components/areas/hooks/useWindowToolsMF/index.b7afaf88.js";
|
|
22
22
|
import "./components/areas/dictionary.08cfc4c9.js";
|
|
23
|
-
import "./components/hook-form/RHFAutocomplete/index.
|
|
24
|
-
import "./components/hook-form/RHFAutocompleteAsync/index.
|
|
25
|
-
import "./components/hook-form/RHFDateTime/index.
|
|
23
|
+
import "./components/hook-form/RHFAutocomplete/index.f9be5465.js";
|
|
24
|
+
import "./components/hook-form/RHFAutocompleteAsync/index.c01fd38a.js";
|
|
25
|
+
import "./components/hook-form/RHFDateTime/index.ace3f52e.js";
|
|
26
26
|
import "./components/hook-form/RHFMultiCheckbox/index.2680b3b6.js";
|
|
27
27
|
import "./components/hook-form/RHFSelect/index.b6ca8bb2.js";
|
|
28
|
-
import "./components/hook-form/RHFPeriod/index.
|
|
29
|
-
import "./components/Period/index.
|
|
28
|
+
import "./components/hook-form/RHFPeriod/index.88812636.js";
|
|
29
|
+
import "./components/Period/index.ba79014c.js";
|
|
30
30
|
import "./components/hook-form/RHFRadioGroup/index.1ddb3d93.js";
|
|
31
|
-
import "./components/hook-form/RHFColorPicker/index.
|
|
32
|
-
import "./components/hook-form/RHFCheckbox/index.
|
|
33
|
-
import "./components/hook-form/RHFTextField/index.
|
|
34
|
-
import "./components/hook-form/RHFUpload/index.
|
|
35
|
-
import "./components/mui_extended/Accordion/index.
|
|
31
|
+
import "./components/hook-form/RHFColorPicker/index.5be9e237.js";
|
|
32
|
+
import "./components/hook-form/RHFCheckbox/index.4f650b78.js";
|
|
33
|
+
import "./components/hook-form/RHFTextField/index.d4192912.js";
|
|
34
|
+
import "./components/hook-form/RHFUpload/index.f7efd0e2.js";
|
|
35
|
+
import "./components/mui_extended/Accordion/index.a32a5761.js";
|
|
36
36
|
import "./components/mui_extended/Avatar/index.75e6ed57.js";
|
|
37
37
|
import "./components/mui_extended/BoxIcon/index.e638ecc8.js";
|
|
38
38
|
import "./components/mui_extended/Breadcrumbs/index.5e37d903.js";
|
|
@@ -40,82 +40,100 @@ import "./components/mui_extended/CircularProgress/index.ad569afd.js";
|
|
|
40
40
|
import "./components/mui_extended/Badge/index.09f5aee5.js";
|
|
41
41
|
import "./components/mui_extended/LinearProgress/index.c92b9ba9.js";
|
|
42
42
|
import "./components/mui_extended/LinkWithRoute/index.16436ab8.js";
|
|
43
|
-
import "./components/mui_extended/Button/index.
|
|
44
|
-
import "./components/mui_extended/MenuActions/index.
|
|
45
|
-
import "./components/mui_extended/Pager/index.
|
|
43
|
+
import "./components/mui_extended/Button/index.81367a73.js";
|
|
44
|
+
import "./components/mui_extended/MenuActions/index.fdea20e7.js";
|
|
45
|
+
import "./components/mui_extended/Pager/index.c843dde3.js";
|
|
46
46
|
import "./components/mui_extended/Tab/index.2068925d.js";
|
|
47
|
-
import "./components/mui_extended/CheckBox.
|
|
48
|
-
import "./components/mui_extended/IconButton/index.
|
|
47
|
+
import "./components/mui_extended/CheckBox.b3c0f2ad.js";
|
|
48
|
+
import "./components/mui_extended/IconButton/index.32fc9419.js";
|
|
49
49
|
import "./components/mui_extended/Popover/index.d85de73b.js";
|
|
50
50
|
import { S as Stack } from "./components/mui_extended/Stack/index.0e53197c.js";
|
|
51
51
|
import "./components/mui_extended/Tooltip/index.24a2bc3f.js";
|
|
52
52
|
import "./components/mui_extended/Typography/index.379dd374.js";
|
|
53
|
-
import "./components/mui_extended/ToggleButton/index.
|
|
54
|
-
import "./components/mui_extended/ToggleIconButton/index.
|
|
55
|
-
import "./components/formatters/BooleanFormatter/index.
|
|
53
|
+
import "./components/mui_extended/ToggleButton/index.3d71f374.js";
|
|
54
|
+
import "./components/mui_extended/ToggleIconButton/index.1cff26af.js";
|
|
55
|
+
import "./components/formatters/BooleanFormatter/index.4bb3d2f9.js";
|
|
56
56
|
import "./components/formatters/DateFormatter/index.578a9f53.js";
|
|
57
57
|
import "./components/formatters/UncertaintyFormatter/index.08e1b79f.js";
|
|
58
58
|
import "./components/formatters/PointsFormatter/index.8a4fa393.js";
|
|
59
|
-
import "./components/formatters/index.
|
|
59
|
+
import "./components/formatters/index.3e9e2305.js";
|
|
60
60
|
import "./components/formatters/PriceFormatter/index.83cbe7be.js";
|
|
61
61
|
import "./components/DataGrid/formatters/ColumnUncertaintyFormatter/index.aeea65aa.js";
|
|
62
62
|
import "./components/DataGrid/formatters/ColumnPointsFormatter/index.4335c26b.js";
|
|
63
63
|
import "./components/DataGrid/formatters/ColumnNestedValueFormatter/index.925387d2.js";
|
|
64
|
-
import "./components/DataGrid/formatters/ColumnBooleanFormatter/index.
|
|
64
|
+
import "./components/DataGrid/formatters/ColumnBooleanFormatter/index.29cf6542.js";
|
|
65
65
|
import "./components/DataGrid/formatters/ColumnDateFormatter/index.704db1ca.js";
|
|
66
|
-
import "./components/DataGrid/formatters/ColumnConcatenatedValueFormatter/index.
|
|
66
|
+
import "./components/DataGrid/formatters/ColumnConcatenatedValueFormatter/index.2c4fd22e.js";
|
|
67
67
|
import "./components/DataGrid/formatters/ColumnPriceFormatter/index.d717405e.js";
|
|
68
|
-
import "./components/DataGrid/formatters/ColumnInteractiveCheckFormatter/index.
|
|
68
|
+
import "./components/DataGrid/formatters/ColumnInteractiveCheckFormatter/index.e30c976f.js";
|
|
69
69
|
import "./components/DataGrid/formatters/ColumnSetCheckFormatter/index.eb406256.js";
|
|
70
|
-
import "./components/DynamicFilter/index.
|
|
71
|
-
import "./components/FieldLabel/index.
|
|
70
|
+
import "./components/DynamicFilter/index.cce92677.js";
|
|
71
|
+
import "./components/FieldLabel/index.8d3d6bb4.js";
|
|
72
72
|
import "./components/HelperText/index.7d2afdb3.js";
|
|
73
|
-
import "./components/CommonActions/components/Actions/index.
|
|
74
|
-
import "./components/CommonActions/components/ActionCancel/index.
|
|
75
|
-
import "./components/CommonActions/components/ActionIntro/index.
|
|
76
|
-
import "./components/CommonActions/components/ActionFormCancel/index.
|
|
77
|
-
import "./components/CommonActions/components/ActionFormIntro/index.
|
|
78
|
-
import "./components/DragResizeWindow/index.
|
|
73
|
+
import "./components/CommonActions/components/Actions/index.16946bfd.js";
|
|
74
|
+
import "./components/CommonActions/components/ActionCancel/index.bd767c14.js";
|
|
75
|
+
import "./components/CommonActions/components/ActionIntro/index.9bd56cd0.js";
|
|
76
|
+
import "./components/CommonActions/components/ActionFormCancel/index.d737bddc.js";
|
|
77
|
+
import "./components/CommonActions/components/ActionFormIntro/index.d5b80747.js";
|
|
78
|
+
import "./components/DragResizeWindow/index.bf1a4a47.js";
|
|
79
79
|
import "./components/GridLayout/index.0996cd19.js";
|
|
80
|
-
import "./components/GridLayout/subcomponents/Responsive/index.
|
|
81
|
-
import "./components/GridLayout/subcomponents/SizeProvider/index.
|
|
82
|
-
import "./components/PrintingSystem/index.
|
|
83
|
-
import "./components/Icon/index.
|
|
84
|
-
import "./components/LanguagePopover/index.
|
|
80
|
+
import "./components/GridLayout/subcomponents/Responsive/index.d2ec9ddb.js";
|
|
81
|
+
import "./components/GridLayout/subcomponents/SizeProvider/index.06986ab4.js";
|
|
82
|
+
import "./components/PrintingSystem/index.b3ed9375.js";
|
|
83
|
+
import "./components/Icon/index.58eaf354.js";
|
|
84
|
+
import "./components/LanguagePopover/index.2740fb8e.js";
|
|
85
85
|
import "./components/LinearProgressIndeterminate/index.a0ad2d9e.js";
|
|
86
|
-
import "./components/Image/index.
|
|
86
|
+
import "./components/Image/index.fa98eb78.js";
|
|
87
87
|
import "./components/Loadable/index.e994fc3e.js";
|
|
88
|
-
import "./components/ModalDialog/index.
|
|
88
|
+
import "./components/ModalDialog/index.86de725b.js";
|
|
89
89
|
import "./components/modal/index.61389369.js";
|
|
90
|
-
import "./components/modal/WindowConfirm.
|
|
91
|
-
import "./components/modal/WindowBase.
|
|
92
|
-
import "./components/LoadingError/index.
|
|
93
|
-
import "./components/MFLoader/index.
|
|
94
|
-
import "./components/NoItemSelected/index.
|
|
95
|
-
import "./components/ObjectLogs/index.
|
|
96
|
-
import "./components/PaperForm/index.
|
|
97
|
-
import "./components/PDFViewer/index.
|
|
98
|
-
import "./components/Page/index.
|
|
99
|
-
import "./components/PropertyValue/index.
|
|
90
|
+
import "./components/modal/WindowConfirm.3b0e842b.js";
|
|
91
|
+
import "./components/modal/WindowBase.4881da1f.js";
|
|
92
|
+
import "./components/LoadingError/index.4f4724c4.js";
|
|
93
|
+
import "./components/MFLoader/index.f6a46c70.js";
|
|
94
|
+
import "./components/NoItemSelected/index.aa3679f1.js";
|
|
95
|
+
import "./components/ObjectLogs/index.0e365006.js";
|
|
96
|
+
import "./components/PaperForm/index.b6811634.js";
|
|
97
|
+
import "./components/PDFViewer/index.85d4e010.js";
|
|
98
|
+
import "./components/Page/index.aa33f20b.js";
|
|
99
|
+
import "./components/PropertyValue/index.a3527d10.js";
|
|
100
100
|
import "./components/Resizeable/index.8db8f77d.js";
|
|
101
101
|
import "./components/ScrollBar/index.7dfc2f29.js";
|
|
102
102
|
import "./components/SplitLayout/index.3856385c.js";
|
|
103
|
-
import "./components/ToastContainer/index.
|
|
104
|
-
import "./components/SideBar/index.
|
|
105
|
-
import "./components/AppBar/index.
|
|
106
|
-
import "./components/AccountPopover/index.
|
|
103
|
+
import "./components/ToastContainer/index.b42aca02.js";
|
|
104
|
+
import "./components/SideBar/index.0d49daff.js";
|
|
105
|
+
import "./components/AppBar/index.23323f96.js";
|
|
106
|
+
import "./components/AccountPopover/index.3994a80b.js";
|
|
107
107
|
import "./components/commercial/AppBarCommercial/index.c5022fdd.js";
|
|
108
|
-
import "./components/HamburgerMenu/index.
|
|
109
|
-
import "./components/commercial/TopBar/index.
|
|
108
|
+
import "./components/HamburgerMenu/index.06905db3.js";
|
|
109
|
+
import "./components/commercial/TopBar/index.08853566.js";
|
|
110
110
|
import { generateUtilityClasses, styled } from "@mui/material";
|
|
111
111
|
import { unstable_composeClasses } from "@mui/base";
|
|
112
112
|
import { g as getComponentUtilityClass } from "./utils/index.de903261.js";
|
|
113
113
|
import { jsx } from "react/jsx-runtime";
|
|
114
114
|
import "./contexts/RHFormContext/index.7b2a8723.js";
|
|
115
|
-
import "./contexts/ModalContext/index.
|
|
116
|
-
import "./hooks/useFormAddEdit/index.
|
|
117
|
-
import "./hooks/useModal/index.
|
|
115
|
+
import "./contexts/ModalContext/index.e748f329.js";
|
|
116
|
+
import "./hooks/useFormAddEdit/index.5c3d8e48.js";
|
|
117
|
+
import "./hooks/useModal/index.66a0c82e.js";
|
|
118
118
|
import "./hooks/useTab/index.c0564138.js";
|
|
119
|
+
import { useState } from "react";
|
|
120
|
+
const useFormFocus = () => {
|
|
121
|
+
const [isFocus, setIsFocus] = useState(false);
|
|
122
|
+
const [isTabSelected, setIsTabSelected] = useState(false);
|
|
123
|
+
const handlerFocus = () => {
|
|
124
|
+
setIsFocus(true);
|
|
125
|
+
};
|
|
126
|
+
const handlerOnKeyUp = (event) => {
|
|
127
|
+
if (event.key === "Tab") {
|
|
128
|
+
setIsTabSelected(true);
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
const handlerOnBlur = () => {
|
|
132
|
+
setIsFocus(false);
|
|
133
|
+
setIsTabSelected(false);
|
|
134
|
+
};
|
|
135
|
+
return { isFocus, isTabSelected, handlerFocus, handlerOnKeyUp, handlerOnBlur };
|
|
136
|
+
};
|
|
119
137
|
const MAP_ZINDEX_OVER_MAP = 1100;
|
|
120
138
|
const componentName = "M4LSectionCommercial";
|
|
121
139
|
generateUtilityClasses(componentName, [
|
|
@@ -159,5 +177,6 @@ const SectionCommercial = (props) => {
|
|
|
159
177
|
};
|
|
160
178
|
export {
|
|
161
179
|
MAP_ZINDEX_OVER_MAP as M,
|
|
162
|
-
SectionCommercial as S
|
|
180
|
+
SectionCommercial as S,
|
|
181
|
+
useFormFocus as u
|
|
163
182
|
};
|
|
@@ -1,387 +0,0 @@
|
|
|
1
|
-
import { useBase, useModuleSkeleton, BaseProvider, useEnvironment, evaluateWithContext } from "@m4l/core";
|
|
2
|
-
import { forwardRef, useState, useRef, useImperativeHandle, useEffect, useMemo } from "react";
|
|
3
|
-
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
4
|
-
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import { styled, Skeleton as Skeleton$1, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
-
import clsx from "clsx";
|
|
8
|
-
import { c as classes, g as getSize } from "../PrintingSystem/index.c2d21657.js";
|
|
9
|
-
import { Q as QRCode } from "../../node_modules.585eab0e.js";
|
|
10
|
-
function isIntersectionObserverAvailable() {
|
|
11
|
-
return typeof window !== "undefined" && "IntersectionObserver" in window && "IntersectionObserverEntry" in window;
|
|
12
|
-
}
|
|
13
|
-
const IMAGE_PREFIX = "Image";
|
|
14
|
-
const getNameDataTestId = (KEY) => {
|
|
15
|
-
return `${IMAGE_PREFIX}-${KEY}`;
|
|
16
|
-
};
|
|
17
|
-
const checkIntersections = (entries) => {
|
|
18
|
-
entries.forEach((entry) => {
|
|
19
|
-
if (entry.isIntersecting) {
|
|
20
|
-
entry.target?.setIsVisible(true);
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
const LAZY_LOAD_OBSERVERS = {};
|
|
25
|
-
const getObserver = (threshold) => {
|
|
26
|
-
LAZY_LOAD_OBSERVERS[threshold] = LAZY_LOAD_OBSERVERS[threshold] || new IntersectionObserver(checkIntersections, {
|
|
27
|
-
rootMargin: threshold + "px"
|
|
28
|
-
});
|
|
29
|
-
return LAZY_LOAD_OBSERVERS[threshold];
|
|
30
|
-
};
|
|
31
|
-
const BasicIntersectComponent = forwardRef((props, ref) => {
|
|
32
|
-
const {
|
|
33
|
-
height,
|
|
34
|
-
width,
|
|
35
|
-
setIsVisible,
|
|
36
|
-
threshold
|
|
37
|
-
} = props;
|
|
38
|
-
const {
|
|
39
|
-
classes: classes2
|
|
40
|
-
} = useBase();
|
|
41
|
-
const [observer] = useState(getObserver(threshold));
|
|
42
|
-
const intersectComponentRef = useRef(null);
|
|
43
|
-
useImperativeHandle(ref, () => intersectComponentRef.current);
|
|
44
|
-
useEffect(() => {
|
|
45
|
-
if (observer && intersectComponentRef.current) {
|
|
46
|
-
intersectComponentRef.current.setIsVisible = setIsVisible;
|
|
47
|
-
observer.observe(intersectComponentRef.current);
|
|
48
|
-
}
|
|
49
|
-
return () => {
|
|
50
|
-
if (observer && intersectComponentRef.current) {
|
|
51
|
-
observer.unobserve(intersectComponentRef.current);
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
}, []);
|
|
55
|
-
const styleProp = {
|
|
56
|
-
display: "inline-block"
|
|
57
|
-
};
|
|
58
|
-
if (typeof width !== "undefined") {
|
|
59
|
-
styleProp.width = width;
|
|
60
|
-
}
|
|
61
|
-
if (typeof height !== "undefined") {
|
|
62
|
-
styleProp.height = height;
|
|
63
|
-
styleProp.minHeight = height;
|
|
64
|
-
}
|
|
65
|
-
return /* @__PURE__ */ jsx("span", {
|
|
66
|
-
className: classes2.span,
|
|
67
|
-
ref: intersectComponentRef,
|
|
68
|
-
style: styleProp,
|
|
69
|
-
...process.env.NODE_ENV !== "production" ? {
|
|
70
|
-
[TEST_PROP_ID]: getNameDataTestId("span")
|
|
71
|
-
} : {}
|
|
72
|
-
});
|
|
73
|
-
});
|
|
74
|
-
BasicIntersectComponent.displayName = "IntersectComponent";
|
|
75
|
-
function LazyLoadComponent(props) {
|
|
76
|
-
const {
|
|
77
|
-
children,
|
|
78
|
-
useIntersectionObserver,
|
|
79
|
-
testingProps,
|
|
80
|
-
...other
|
|
81
|
-
} = props;
|
|
82
|
-
const [isVisible, setIsVisible] = useState(testingProps?.isVisible || !(useIntersectionObserver && isIntersectionObserverAvailable()));
|
|
83
|
-
const {
|
|
84
|
-
classes: classes2
|
|
85
|
-
} = useBase();
|
|
86
|
-
return /* @__PURE__ */ jsx("div", {
|
|
87
|
-
className: classes2.lazyLoad,
|
|
88
|
-
...process.env.NODE_ENV !== "production" ? {
|
|
89
|
-
[TEST_PROP_ID]: getNameDataTestId("lazyLoad")
|
|
90
|
-
} : {},
|
|
91
|
-
children: isVisible ? /* @__PURE__ */ jsx(Fragment, {
|
|
92
|
-
children
|
|
93
|
-
}) : /* @__PURE__ */ jsx(BasicIntersectComponent, {
|
|
94
|
-
useIntersectionObserver,
|
|
95
|
-
setIsVisible,
|
|
96
|
-
...other
|
|
97
|
-
})
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
const ImageRoot = styled("div")(({
|
|
101
|
-
theme
|
|
102
|
-
}) => ({
|
|
103
|
-
...theme.components?.M4LImage?.styleOverrides
|
|
104
|
-
}));
|
|
105
|
-
const WrapperSkeletonImage = styled("div")(() => ({
|
|
106
|
-
mask: `url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 70 70' style='enable-background:new 0 0 70 70%3B' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M45 8.7c1.4-1.5 3.4-2.3 5.4-2.3s3.9 0.8 5.4 2.3s2.4 3.5 2.5 5.7c0 2.2-0.9 4.2-2.4 5.7s-3.5 2.3-5.5 2.2c-2.1 0.1-4-0.7-5.5-2.2c-1.4-1.5-2.3-3.5-2.4-5.7C42.6 12.2 43.5 10.2 45 8.7z'/%3E%3Cpath d='M68.4 62.1c-0.3 0.5-0.7 0.8-1.2 1.1s-1 0.4-1.6 0.4H4.3c-0.6 0-1.1-0.1-1.6-0.4s-0.9-0.6-1.2-1.1c-0.2-0.5-0.4-1-0.4-1.5s0.1-1.1 0.4-1.5l23-36.4c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l11.5 18.2c0.2 0.3 0.5 0.5 0.8 0.7c0.3 0.2 0.6 0.3 1 0.3c0.3 0 0.7-0.1 1-0.3c0.3-0.2 0.6-0.4 0.8-0.7l3.1-4.9c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l14.6 23.1c0.3 0.5 0.3 1 0.3 1.5S68.7 61.7 68.4 62.1z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain`,
|
|
107
|
-
WebkitMask: `url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 70 70' style='enable-background:new 0 0 70 70%3B' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M45 8.7c1.4-1.5 3.4-2.3 5.4-2.3s3.9 0.8 5.4 2.3s2.4 3.5 2.5 5.7c0 2.2-0.9 4.2-2.4 5.7s-3.5 2.3-5.5 2.2c-2.1 0.1-4-0.7-5.5-2.2c-1.4-1.5-2.3-3.5-2.4-5.7C42.6 12.2 43.5 10.2 45 8.7z'/%3E%3Cpath d='M68.4 62.1c-0.3 0.5-0.7 0.8-1.2 1.1s-1 0.4-1.6 0.4H4.3c-0.6 0-1.1-0.1-1.6-0.4s-0.9-0.6-1.2-1.1c-0.2-0.5-0.4-1-0.4-1.5s0.1-1.1 0.4-1.5l23-36.4c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l11.5 18.2c0.2 0.3 0.5 0.5 0.8 0.7c0.3 0.2 0.6 0.3 1 0.3c0.3 0 0.7-0.1 1-0.3c0.3-0.2 0.6-0.4 0.8-0.7l3.1-4.9c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l14.6 23.1c0.3 0.5 0.3 1 0.3 1.5S68.7 61.7 68.4 62.1z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain`,
|
|
108
|
-
height: "100%",
|
|
109
|
-
width: "100%",
|
|
110
|
-
display: "flex",
|
|
111
|
-
alignItems: "center",
|
|
112
|
-
justifyContent: "center"
|
|
113
|
-
}));
|
|
114
|
-
const Skeleton = (props) => {
|
|
115
|
-
const {
|
|
116
|
-
skeletonVariant,
|
|
117
|
-
width,
|
|
118
|
-
height
|
|
119
|
-
} = props;
|
|
120
|
-
const {
|
|
121
|
-
classes: classes2
|
|
122
|
-
} = useBase();
|
|
123
|
-
return skeletonVariant === "image" ? /* @__PURE__ */ jsx(WrapperSkeletonImage, {
|
|
124
|
-
className: classes2.skeletonImage,
|
|
125
|
-
...process.env.NODE_ENV !== "production" ? {
|
|
126
|
-
[TEST_PROP_ID]: getNameDataTestId("skeletonImage")
|
|
127
|
-
} : {},
|
|
128
|
-
style: {
|
|
129
|
-
width,
|
|
130
|
-
height
|
|
131
|
-
},
|
|
132
|
-
children: /* @__PURE__ */ jsx(Skeleton$1, {
|
|
133
|
-
variant: "rectangular",
|
|
134
|
-
width: "100%",
|
|
135
|
-
height: "100%"
|
|
136
|
-
})
|
|
137
|
-
}) : /* @__PURE__ */ jsx(Skeleton$1, {
|
|
138
|
-
variant: "circular",
|
|
139
|
-
width: "100%",
|
|
140
|
-
height: "100%",
|
|
141
|
-
className: classes2.skeletonCircle,
|
|
142
|
-
...process.env.NODE_ENV !== "production" ? {
|
|
143
|
-
[TEST_PROP_ID]: getNameDataTestId("skeletonCircle")
|
|
144
|
-
} : {}
|
|
145
|
-
});
|
|
146
|
-
};
|
|
147
|
-
const componentName = "M4LImage";
|
|
148
|
-
generateUtilityClasses(componentName, [
|
|
149
|
-
"root",
|
|
150
|
-
"lazyLoad",
|
|
151
|
-
"img",
|
|
152
|
-
"span",
|
|
153
|
-
"skeletonImage",
|
|
154
|
-
"skeletonCircle",
|
|
155
|
-
"loaded"
|
|
156
|
-
]);
|
|
157
|
-
function getImagenClassesUtilityClass(slot) {
|
|
158
|
-
return generateUtilityClass(componentName, slot);
|
|
159
|
-
}
|
|
160
|
-
const useUtilityClasses = (ownerState) => {
|
|
161
|
-
const slots = {
|
|
162
|
-
root: ["root", ownerState.isImageLoaded == true && "loaded"],
|
|
163
|
-
lazyLoad: ["lazyLoad"],
|
|
164
|
-
img: ["img"],
|
|
165
|
-
intersectComponent: ["intersectComponent"],
|
|
166
|
-
skeletonImage: ["skeletonImage"],
|
|
167
|
-
skeletonCircle: ["skeletonCircle"]
|
|
168
|
-
};
|
|
169
|
-
const composedClasses = unstable_composeClasses(slots, getImagenClassesUtilityClass, {});
|
|
170
|
-
return {
|
|
171
|
-
...composedClasses
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
const ratioOptions = {
|
|
175
|
-
"1.168:1": {
|
|
176
|
-
width: 1.168,
|
|
177
|
-
height: 1
|
|
178
|
-
},
|
|
179
|
-
"16:9": {
|
|
180
|
-
width: 16,
|
|
181
|
-
height: 9
|
|
182
|
-
},
|
|
183
|
-
"1:1": {
|
|
184
|
-
width: 1,
|
|
185
|
-
height: 1
|
|
186
|
-
},
|
|
187
|
-
"1:1.168": {
|
|
188
|
-
width: 1,
|
|
189
|
-
height: 1.168
|
|
190
|
-
},
|
|
191
|
-
"2:1": {
|
|
192
|
-
width: 2,
|
|
193
|
-
height: 1
|
|
194
|
-
},
|
|
195
|
-
"2:3": {
|
|
196
|
-
width: 2,
|
|
197
|
-
height: 3
|
|
198
|
-
},
|
|
199
|
-
"3:1": {
|
|
200
|
-
width: 3,
|
|
201
|
-
height: 1
|
|
202
|
-
},
|
|
203
|
-
"3:2": {
|
|
204
|
-
width: 3,
|
|
205
|
-
height: 2
|
|
206
|
-
},
|
|
207
|
-
"3:4": {
|
|
208
|
-
width: 3,
|
|
209
|
-
height: 4
|
|
210
|
-
},
|
|
211
|
-
"4:3": {
|
|
212
|
-
width: 4,
|
|
213
|
-
height: 3
|
|
214
|
-
},
|
|
215
|
-
"5:2": {
|
|
216
|
-
width: 5,
|
|
217
|
-
height: 2
|
|
218
|
-
}
|
|
219
|
-
};
|
|
220
|
-
const getRatioValues = (ratio) => {
|
|
221
|
-
const numType = ratioOptions[ratio];
|
|
222
|
-
const numRef = numType.width / numType.height;
|
|
223
|
-
if (numRef >= 1) {
|
|
224
|
-
return {
|
|
225
|
-
width: "100%",
|
|
226
|
-
height: `${Math.trunc(numRef * 100)}%`
|
|
227
|
-
};
|
|
228
|
-
} else {
|
|
229
|
-
return {
|
|
230
|
-
width: `${Math.trunc(numRef * 100)}%`,
|
|
231
|
-
height: "100%"
|
|
232
|
-
};
|
|
233
|
-
}
|
|
234
|
-
};
|
|
235
|
-
function Image(props) {
|
|
236
|
-
const {
|
|
237
|
-
src,
|
|
238
|
-
alt,
|
|
239
|
-
useIntersectionObserver = true,
|
|
240
|
-
threshold = 100,
|
|
241
|
-
skeletonVariant = "image",
|
|
242
|
-
testingProps,
|
|
243
|
-
width,
|
|
244
|
-
height,
|
|
245
|
-
ratio = "1:1",
|
|
246
|
-
className
|
|
247
|
-
} = props;
|
|
248
|
-
const ratioImage = getRatioValues(ratio);
|
|
249
|
-
const isSKeleton = useModuleSkeleton();
|
|
250
|
-
const [statusLoad, setStatusLoad] = useState(testingProps?.statusLoad || "initial");
|
|
251
|
-
useEffect(() => {
|
|
252
|
-
let timer;
|
|
253
|
-
if (statusLoad === "loaded" && !isSKeleton) {
|
|
254
|
-
timer = setTimeout(() => {
|
|
255
|
-
setStatusLoad("removed");
|
|
256
|
-
}, 3e3);
|
|
257
|
-
}
|
|
258
|
-
return () => {
|
|
259
|
-
if (timer) {
|
|
260
|
-
clearTimeout(timer);
|
|
261
|
-
}
|
|
262
|
-
};
|
|
263
|
-
}, [statusLoad, isSKeleton]);
|
|
264
|
-
const onLoad = () => {
|
|
265
|
-
setStatusLoad("loaded");
|
|
266
|
-
};
|
|
267
|
-
const isImageLoaded = !isSKeleton && statusLoad !== "initial";
|
|
268
|
-
const ownerState = {
|
|
269
|
-
isImageLoaded
|
|
270
|
-
};
|
|
271
|
-
const classes2 = useUtilityClasses(ownerState);
|
|
272
|
-
const lazyLoadComponent = useMemo(() => {
|
|
273
|
-
return /* @__PURE__ */ jsx(ImageRoot, {
|
|
274
|
-
className: clsx(classes2.root, className),
|
|
275
|
-
...process.env.NODE_ENV !== "production" ? {
|
|
276
|
-
[TEST_PROP_ID]: getNameDataTestId("root")
|
|
277
|
-
} : {},
|
|
278
|
-
style: width && height ? {
|
|
279
|
-
minWidth: width,
|
|
280
|
-
minHeight: height,
|
|
281
|
-
width,
|
|
282
|
-
height
|
|
283
|
-
} : {
|
|
284
|
-
width: "100%",
|
|
285
|
-
height: "100%"
|
|
286
|
-
},
|
|
287
|
-
children: /* @__PURE__ */ jsxs(LazyLoadComponent, {
|
|
288
|
-
width: "100%",
|
|
289
|
-
height: "100%",
|
|
290
|
-
useIntersectionObserver,
|
|
291
|
-
threshold,
|
|
292
|
-
testingProps,
|
|
293
|
-
children: [statusLoad !== "removed" ? /* @__PURE__ */ jsx(Skeleton, {
|
|
294
|
-
skeletonVariant,
|
|
295
|
-
width: !width ? "100%" : ratioImage.width,
|
|
296
|
-
height: !height ? "100%" : ratioImage.height
|
|
297
|
-
}) : null, /* @__PURE__ */ jsx("img", {
|
|
298
|
-
alt,
|
|
299
|
-
src,
|
|
300
|
-
onLoad,
|
|
301
|
-
className: classes2.img,
|
|
302
|
-
width: !width ? "100%" : ratioImage.width,
|
|
303
|
-
height: !height ? "100%" : ratioImage.height,
|
|
304
|
-
...process.env.NODE_ENV !== "production" ? {
|
|
305
|
-
[TEST_PROP_ID]: getNameDataTestId("img")
|
|
306
|
-
} : {}
|
|
307
|
-
})]
|
|
308
|
-
})
|
|
309
|
-
});
|
|
310
|
-
}, [statusLoad, isSKeleton, src]);
|
|
311
|
-
return /* @__PURE__ */ jsx(BaseProvider, {
|
|
312
|
-
value: {
|
|
313
|
-
classes: classes2
|
|
314
|
-
},
|
|
315
|
-
children: lazyLoadComponent
|
|
316
|
-
});
|
|
317
|
-
}
|
|
318
|
-
const ImageNode = (props) => {
|
|
319
|
-
const {
|
|
320
|
-
className,
|
|
321
|
-
style,
|
|
322
|
-
src,
|
|
323
|
-
width = "100%",
|
|
324
|
-
height = "100%"
|
|
325
|
-
} = props;
|
|
326
|
-
const {
|
|
327
|
-
unitSize,
|
|
328
|
-
sourceData
|
|
329
|
-
} = useBase();
|
|
330
|
-
const {
|
|
331
|
-
host_static_assets,
|
|
332
|
-
environment_assets
|
|
333
|
-
} = useEnvironment();
|
|
334
|
-
const resourceImg = evaluateWithContext(sourceData, src);
|
|
335
|
-
return /* @__PURE__ */ jsx("img", {
|
|
336
|
-
src: `${host_static_assets}/${environment_assets}/${resourceImg}`,
|
|
337
|
-
className: clsx(classes.imageNodeRoot, className),
|
|
338
|
-
style: {
|
|
339
|
-
width: getSize(width, unitSize),
|
|
340
|
-
height: getSize(height, unitSize),
|
|
341
|
-
...style
|
|
342
|
-
}
|
|
343
|
-
});
|
|
344
|
-
};
|
|
345
|
-
const convertToPx = (size, magnitud) => {
|
|
346
|
-
if (isNaN(size)) {
|
|
347
|
-
return 0;
|
|
348
|
-
}
|
|
349
|
-
if (magnitud === "px") {
|
|
350
|
-
return size;
|
|
351
|
-
}
|
|
352
|
-
switch (magnitud) {
|
|
353
|
-
case "cm":
|
|
354
|
-
return size * 37.8;
|
|
355
|
-
case "mm":
|
|
356
|
-
return size * 3.78;
|
|
357
|
-
case "in":
|
|
358
|
-
return size * 96;
|
|
359
|
-
case "pt":
|
|
360
|
-
return size * 1.33;
|
|
361
|
-
case "pc":
|
|
362
|
-
return size * 16;
|
|
363
|
-
default:
|
|
364
|
-
return 100;
|
|
365
|
-
}
|
|
366
|
-
};
|
|
367
|
-
const QRImageNode = (props) => {
|
|
368
|
-
const {
|
|
369
|
-
url,
|
|
370
|
-
size = 8,
|
|
371
|
-
color
|
|
372
|
-
} = props;
|
|
373
|
-
const {
|
|
374
|
-
unitSize
|
|
375
|
-
} = useBase();
|
|
376
|
-
return /* @__PURE__ */ jsx(QRCode, {
|
|
377
|
-
value: url,
|
|
378
|
-
size: convertToPx(size, unitSize),
|
|
379
|
-
fgColor: color,
|
|
380
|
-
renderAs: "canvas"
|
|
381
|
-
});
|
|
382
|
-
};
|
|
383
|
-
export {
|
|
384
|
-
Image as I,
|
|
385
|
-
QRImageNode as Q,
|
|
386
|
-
ImageNode as a
|
|
387
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { LazyLoadComponentProps } from '../../types';
|
|
2
|
-
/**
|
|
3
|
-
* Sub-componente encargado de validar y condicionar la funcionalidad del intersection observer.
|
|
4
|
-
* @param props
|
|
5
|
-
* @returns
|
|
6
|
-
*/
|
|
7
|
-
export declare function LazyLoadComponent(props: LazyLoadComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ImageClassesType } from './types';
|
|
2
|
-
import { OwnerState } from '../../types';
|
|
3
|
-
export declare const imageClasses: ImageClassesType;
|
|
4
|
-
export declare function getImagenClassesUtilityClass(slot: string): string;
|
|
5
|
-
export declare const useUtilityClasses: (ownerState: OwnerState) => {
|
|
6
|
-
img: string;
|
|
7
|
-
root: string;
|
|
8
|
-
lazyLoad: string;
|
|
9
|
-
intersectComponent: string;
|
|
10
|
-
skeletonImage: string;
|
|
11
|
-
skeletonCircle: string;
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isIntersectionObserverAvailable(): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function SKTModuleHeader(): import("react/jsx-runtime").JSX.Element;
|