@tmf_ciclica/ciclicastorybook 1.1.78 → 1.1.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +170 -174
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._AppliedFiltersContainer_cokx9_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start;flex-wrap:wrap}._AppliedFiltersContainer_cokx9_2 ._AppliedFilterContent_cokx9_11{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_1go6h_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_1go6h_2 ._indicatorNameContainer_1go6h_11{gap:10px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_1go6h_2 ._dot_1go6h_17{border-radius:100px;width:16px;height:16px}._indicatorContainer_1go6h_2 ._indicatorName_1go6h_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_1go6h_28{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37{margin:0;width:100%}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._customRadious_1go6h_62{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._optionText_1go6h_69{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_1q5gf_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative;overflow-y:scroll}._legendContainer_1q5gf_3::-webkit-scrollbar{width:8px}._legendContainer_1q5gf_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_1q5gf_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_1q5gf_3 ._closeButton_1q5gf_31{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_1q5gf_3 ._closeButton_1q5gf_31:before,._legendContainer_1q5gf_3 ._closeButton_1q5gf_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_1q5gf_3 ._closeButton_1q5gf_31:before{transform:rotate(45deg)}._legendContainer_1q5gf_3 ._closeButton_1q5gf_31:after{transform:rotate(-45deg)}._legendContainer_1q5gf_3 ._titleContainer_1q5gf_59{border-bottom:solid 1.5px #605b56}._legendContainer_1q5gf_3 ._titleContainer_1q5gf_59 h2{padding-bottom:16px}._legendContainer_1q5gf_3 ._infoContainer_1q5gf_65{padding-top:20px}._legendContainer_1q5gf_3 ._infoContainer_1q5gf_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_1q5gf_3 ._titleLegendList_1q5gf_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._gridContainer_1q5gf_83{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._gridContainer_1q5gf_83 ._elementLegendContainer_1q5gf_89{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._gridContainer_1q5gf_83 ._elementLegendContainer_1q5gf_89 ._colorDot_1q5gf_95{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._absoluteValueContainer_1q5gf_101{position:relative}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._absoluteValueContainer_1q5gf_101 ._absoluteValueColor_1q5gf_104{height:130px;width:22px;border-radius:20px}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._absoluteValueContainer_1q5gf_101 ._absoluteValueText_1q5gf_109{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_1q5gf_3 ._moreInfoContainer_1q5gf_121{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_mt8l5_2{padding:15px;color:#92898a}._FeaturePopUp_mt8l5_2 p{margin-bottom:10px}._FeaturePopUp_mt8l5_2 ._title_mt8l5_9{font-weight:600;margin-right:5px;color:#92898a}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39{font-size:18px;font-weight:600;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._buttonsContainer_fd7az_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._elementListContainer_fd7az_76{flex:1;width:100%}._elementSelector_fd7az_2 ._newElementButtonContainer_fd7az_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._listElement_1s506_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:5px;width:100%;padding-bottom:30px;padding-top:30px;flex-wrap:wrap}._listElement_1s506_2 ._elementNameDate_1s506_17{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementNameContainer_1s506_27{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementName_1s506_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementDate_1s506_42{flex:.5}._listElement_1s506_2 ._elementButtons_1s506_45{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1s506_2 ._elementButtons_1s506_45 button:disabled{opacity:.5;cursor:default}._listElement_1s506_2 ._elementButtons_1s506_45 img{display:inline}._break_1s506_63{flex-basis:100%;height:0}._moreInfoContainer_1s506_68 ._moreInfo_1s506_68{display:flex;gap:5px;cursor:pointer}._textInputContainer_1o3iy_2{width:100%}._textInputContainer_1o3iy_2 ._labelContainer_1o3iy_5{margin-bottom:25px}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 ._showPasswordButton_1o3iy_14{position:absolute;right:15px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 input{width:100%}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26{margin-top:10px;cursor:pointer}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._formContainer_b071f_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_b071f_2 ._formObjectContainer_b071f_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_b071f_2 ._buttonContainer_b071f_22{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._selectInputContainer_1rj0h_2{width:100%;position:relative}._selectInputContainer_1rj0h_2 ._labelContainer_1rj0h_6{margin-bottom:25px}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9{position:relative}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:100%;padding:9px 40px 9px 9px;border:1.5px solid #605b56;border-radius:4px;cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2 ._option_1rj0h_23{cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._dropdownArrow_1rj0h_26{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none}._radioButtonContainer_3bp8g_2{width:100%}._radioButtonContainer_3bp8g_2 ._wholeInputContainer_3bp8g_5{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;width:100%;flex-wrap:wrap;position:relative;gap:15px}@media (width < 768px){._radioButtonContainer_3bp8g_2 ._wholeInputContainer_3bp8g_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_3bp8g_2 ._questionContainer_3bp8g_27{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;align-self:flex-start;position:relative}@media (width < 768px){._radioButtonContainer_3bp8g_2 ._questionContainer_3bp8g_27{min-width:auto;max-width:215px}}._radioButtonContainer_3bp8g_2 ._errorContainer_3bp8g_44{position:absolute;top:-25px;left:0}._radioButtonContainer_3bp8g_2 ._iconPrivacy_3bp8g_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_3bp8g_2 ._radioQuestion_3bp8g_59{width:100%;flex:1}._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63 label{text-align:left}._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}._required_3bp8g_92:after{position:relative;top:-3px;left:1px;display:inline-block;content:"*"}._requiredWhite_3bp8g_100:after{position:relative;top:-3px;left:1px;display:inline-block;content:"*"}label,._radioInput_3bp8g_109{cursor:pointer}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_pt7g1_2{position:fixed;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_pt7g1_16{border-left:1px solid #ddd}._content_pt7g1_20{position:relative;padding:20px;height:100%}._closeButton_pt7g1_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_pt7g1_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
import { jsxs as
|
|
2
|
+
import { jsxs as h, jsx as s, Fragment as Se } from "react/jsx-runtime";
|
|
3
3
|
import * as te from "react";
|
|
4
4
|
import B, { useState as S, useEffect as T, useMemo as he, useLayoutEffect as yt, useRef as $e } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
@@ -44,15 +44,15 @@ const qt = "_ambitSelector_mcunf_2", zt = "_header_mcunf_13", jt = "_nameDateCon
|
|
|
44
44
|
fontColor: a,
|
|
45
45
|
moreInfo: l
|
|
46
46
|
}) => {
|
|
47
|
-
const { nom: u, created_at:
|
|
48
|
-
return /* @__PURE__ */
|
|
47
|
+
const { nom: u, created_at: m, id: g, isBeingProcessed: y } = n;
|
|
48
|
+
return /* @__PURE__ */ h(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
51
|
className: ne.ambitItem,
|
|
52
52
|
style: { borderBottom: `1px solid ${a}` },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */
|
|
55
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ h("div", { className: ne.ambitNameDate, onClick: () => t(g), children: [
|
|
55
|
+
/* @__PURE__ */ h("div", { className: ne.ambitName, children: [
|
|
56
56
|
/* @__PURE__ */ s(
|
|
57
57
|
"img",
|
|
58
58
|
{
|
|
@@ -62,9 +62,9 @@ const qt = "_ambitSelector_mcunf_2", zt = "_header_mcunf_13", jt = "_nameDateCon
|
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ s("span", { style: { color: r ? c : a }, children: u })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */ s("div", { className: ne.ambitDate, children:
|
|
65
|
+
/* @__PURE__ */ s("div", { className: ne.ambitDate, children: m ? new Date(m).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
|
-
/* @__PURE__ */
|
|
67
|
+
/* @__PURE__ */ h("div", { className: ne.ambitButtons, children: [
|
|
68
68
|
y && /* @__PURE__ */ s("img", { src: i2 }),
|
|
69
69
|
/* @__PURE__ */ s("button", { onClick: () => i(g), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: n2 }) }),
|
|
70
70
|
/* @__PURE__ */ s("button", { onClick: () => d(g), children: /* @__PURE__ */ s("img", { src: t2 }) }),
|
|
@@ -125,7 +125,7 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
125
125
|
buttonContainerStyles: a = {},
|
|
126
126
|
containerStyles: l = {},
|
|
127
127
|
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
128
|
-
onClickCopy:
|
|
128
|
+
onClickCopy: m = (f) => console.log(`Copy ambit: ${f}`),
|
|
129
129
|
onCLickDelete: g = (f) => console.log(`Delete ambit: ${f}`),
|
|
130
130
|
onClickFilters: y = (f) => console.log(`Filters clicked: ${f}`),
|
|
131
131
|
onClickAmbit: C = (f) => console.log(`OnCLickAmbit: ${f}`)
|
|
@@ -140,24 +140,24 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
140
140
|
x.sort((w, N) => w[v].localeCompare(N[v])), p(x);
|
|
141
141
|
}
|
|
142
142
|
};
|
|
143
|
-
return /* @__PURE__ */
|
|
143
|
+
return /* @__PURE__ */ h(
|
|
144
144
|
"div",
|
|
145
145
|
{
|
|
146
146
|
className: j.ambitSelector,
|
|
147
147
|
style: { color: o, ...l },
|
|
148
148
|
children: [
|
|
149
|
-
/* @__PURE__ */
|
|
149
|
+
/* @__PURE__ */ h(
|
|
150
150
|
"div",
|
|
151
151
|
{
|
|
152
152
|
className: j.header,
|
|
153
153
|
style: { borderBottom: `1px solid ${o}` },
|
|
154
154
|
children: [
|
|
155
|
-
/* @__PURE__ */
|
|
156
|
-
/* @__PURE__ */ s("div", { className: j.ambitName, children: /* @__PURE__ */
|
|
155
|
+
/* @__PURE__ */ h("div", { className: j.nameDateContainer, children: [
|
|
156
|
+
/* @__PURE__ */ s("div", { className: j.ambitName, children: /* @__PURE__ */ h("button", { onClick: () => b("name"), children: [
|
|
157
157
|
/* @__PURE__ */ s("span", { children: f(t) }),
|
|
158
158
|
/* @__PURE__ */ s("img", { src: qe })
|
|
159
159
|
] }) }),
|
|
160
|
-
/* @__PURE__ */ s("div", { className: j.ambitDate, children: /* @__PURE__ */
|
|
160
|
+
/* @__PURE__ */ s("div", { className: j.ambitDate, children: /* @__PURE__ */ h("button", { onClick: () => b("date"), children: [
|
|
161
161
|
/* @__PURE__ */ s("span", { children: f(r) }),
|
|
162
162
|
/* @__PURE__ */ s("img", { src: qe })
|
|
163
163
|
] }) })
|
|
@@ -173,7 +173,7 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
173
173
|
ambit: v,
|
|
174
174
|
fontColor: o,
|
|
175
175
|
activeColor: i,
|
|
176
|
-
onClickCopy:
|
|
176
|
+
onClickCopy: m,
|
|
177
177
|
onClickDelete: g,
|
|
178
178
|
onClickFilters: y,
|
|
179
179
|
onClickAmbit: C
|
|
@@ -253,16 +253,16 @@ const _2 = ({
|
|
|
253
253
|
children: n.map((a, l) => {
|
|
254
254
|
const {
|
|
255
255
|
icon: u,
|
|
256
|
-
activeIcon:
|
|
256
|
+
activeIcon: m,
|
|
257
257
|
isActive: g,
|
|
258
258
|
name: y,
|
|
259
259
|
onClick: C
|
|
260
|
-
} = a, f = /* @__PURE__ */
|
|
260
|
+
} = a, f = /* @__PURE__ */ h(Se, { children: [
|
|
261
261
|
o && i === "left" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: c(y) }),
|
|
262
|
-
/* @__PURE__ */ s("img", { src: g ?
|
|
262
|
+
/* @__PURE__ */ s("img", { src: g ? m : u, alt: c(y) }),
|
|
263
263
|
o && i === "right" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: c(y) })
|
|
264
264
|
] });
|
|
265
|
-
return /* @__PURE__ */
|
|
265
|
+
return /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
266
266
|
/* @__PURE__ */ s(
|
|
267
267
|
"button",
|
|
268
268
|
{
|
|
@@ -312,8 +312,8 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", be = {
|
|
|
312
312
|
showBottomBar: l = !0,
|
|
313
313
|
titleMarginChildren: u = 25
|
|
314
314
|
}) => {
|
|
315
|
-
const { t:
|
|
316
|
-
return /* @__PURE__ */
|
|
315
|
+
const { t: m } = k();
|
|
316
|
+
return /* @__PURE__ */ h(
|
|
317
317
|
Ae.div,
|
|
318
318
|
{
|
|
319
319
|
className: be.indicatorsCategory,
|
|
@@ -326,7 +326,7 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", be = {
|
|
|
326
326
|
marginBottom: n ? "20px" : "0px"
|
|
327
327
|
},
|
|
328
328
|
children: [
|
|
329
|
-
/* @__PURE__ */
|
|
329
|
+
/* @__PURE__ */ h(
|
|
330
330
|
"h2",
|
|
331
331
|
{
|
|
332
332
|
style: {
|
|
@@ -337,7 +337,7 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", be = {
|
|
|
337
337
|
onClick: d,
|
|
338
338
|
children: [
|
|
339
339
|
/* @__PURE__ */ s("span", { style: { color: n ? t : i }, children: n ? "-" : "+" }),
|
|
340
|
-
/* @__PURE__ */ s("span", { style: { marginLeft: 12, color: n ? t : i }, children:
|
|
340
|
+
/* @__PURE__ */ s("span", { style: { marginLeft: 12, color: n ? t : i }, children: m(r) })
|
|
341
341
|
]
|
|
342
342
|
}
|
|
343
343
|
),
|
|
@@ -369,8 +369,8 @@ const ni = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), x2 = "data
|
|
|
369
369
|
inputsColor: "#605B56"
|
|
370
370
|
})), tt = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
371
371
|
const { t: c } = k(), { tematicalFiltersSelected: a } = D((u) => u), l = (u) => {
|
|
372
|
-
D.setState((
|
|
373
|
-
tematicalFiltersSelected:
|
|
372
|
+
D.setState((m) => ({
|
|
373
|
+
tematicalFiltersSelected: m.tematicalFiltersSelected.filter(
|
|
374
374
|
(g) => g.code !== u
|
|
375
375
|
)
|
|
376
376
|
}));
|
|
@@ -382,10 +382,10 @@ const ni = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), x2 = "data
|
|
|
382
382
|
onClick: d,
|
|
383
383
|
title: n ? c(n) : "Applied Filters",
|
|
384
384
|
activeColor: r,
|
|
385
|
-
children: /* @__PURE__ */ s("div", { className: ze.AppliedFiltersContainer, children: a == null ? void 0 : a.map((u,
|
|
385
|
+
children: /* @__PURE__ */ s("div", { className: ze.AppliedFiltersContainer, children: a == null ? void 0 : a.map((u, m) => /* @__PURE__ */ h("div", { className: ze.AppliedFilterContent, style: { color: i, background: t }, children: [
|
|
386
386
|
c(u.name),
|
|
387
387
|
/* @__PURE__ */ s("img", { src: x2, alt: "CloseIcon", onClick: () => l(u.code), style: { cursor: "pointer" } })
|
|
388
|
-
] },
|
|
388
|
+
] }, m)) })
|
|
389
389
|
}
|
|
390
390
|
);
|
|
391
391
|
};
|
|
@@ -434,7 +434,7 @@ const B2 = "_checkboxContainer_zld97_2", S2 = {
|
|
|
434
434
|
value: t
|
|
435
435
|
}) => {
|
|
436
436
|
const { t: r } = k(), { title: c } = i || {}, { fontColor: a, inputsColor: l } = D((u) => u);
|
|
437
|
-
return /* @__PURE__ */
|
|
437
|
+
return /* @__PURE__ */ h(
|
|
438
438
|
"div",
|
|
439
439
|
{
|
|
440
440
|
style: { ...d, color: o },
|
|
@@ -517,8 +517,8 @@ let Fe = function(n) {
|
|
|
517
517
|
t.setState({ index: -1 }, t.onEnd(t.getKeyDownEventMap()));
|
|
518
518
|
}, t.onMouseMove = (a) => {
|
|
519
519
|
t.setState({ pending: !0 });
|
|
520
|
-
const l = t.getMousePosition(a), u = t.getDiffPosition(l[0]),
|
|
521
|
-
t.move(
|
|
520
|
+
const l = t.getMousePosition(a), u = t.getDiffPosition(l[0]), m = t.getValueFromPosition(u);
|
|
521
|
+
t.move(m);
|
|
522
522
|
}, t.onTouchMove = (a) => {
|
|
523
523
|
if (a.touches.length > 1) return;
|
|
524
524
|
t.setState({ pending: !0 });
|
|
@@ -528,8 +528,8 @@ let Fe = function(n) {
|
|
|
528
528
|
t.isScrolling = Math.abs(y) > Math.abs(g);
|
|
529
529
|
}
|
|
530
530
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
531
|
-
const u = t.getDiffPosition(l[0]),
|
|
532
|
-
t.move(
|
|
531
|
+
const u = t.getDiffPosition(l[0]), m = t.getValueFromPosition(u);
|
|
532
|
+
t.move(m);
|
|
533
533
|
}, t.onKeyDown = (a) => {
|
|
534
534
|
if (!(a.ctrlKey || a.shiftKey || a.altKey || a.metaKey)) switch (t.setState({ pending: !0 }), a.key) {
|
|
535
535
|
case "ArrowLeft":
|
|
@@ -582,8 +582,8 @@ let Fe = function(n) {
|
|
|
582
582
|
if (t.props.disabled || l.touches.length > 1) return;
|
|
583
583
|
t.setState({ pending: !0 });
|
|
584
584
|
const u = t.getTouchPosition(l);
|
|
585
|
-
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), de(t.getTouchEventMap()), function(
|
|
586
|
-
|
|
585
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), de(t.getTouchEventMap()), function(m) {
|
|
586
|
+
m.stopPropagation && m.stopPropagation();
|
|
587
587
|
}(l);
|
|
588
588
|
}, t.handleResize = () => {
|
|
589
589
|
const a = window.setTimeout(() => {
|
|
@@ -591,13 +591,13 @@ let Fe = function(n) {
|
|
|
591
591
|
}, 0);
|
|
592
592
|
t.pendingResizeTimeouts.push(a);
|
|
593
593
|
}, t.renderThumb = (a, l) => {
|
|
594
|
-
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + l + " " + (t.state.index === l ? t.props.thumbActiveClassName : ""),
|
|
594
|
+
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + l + " " + (t.state.index === l ? t.props.thumbActiveClassName : ""), m = { ref: (y) => {
|
|
595
595
|
t["thumb" + l] = y;
|
|
596
596
|
}, key: t.props.thumbClassName + "-" + l, className: u, style: a, onMouseDown: t.createOnMouseDown(l), onTouchStart: t.createOnTouchStart(l), onFocus: t.createOnKeyDown(l), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[l], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[l] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[l] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, g = { index: l, value: ce(t.state.value), valueNow: t.state.value[l] };
|
|
597
|
-
return t.props.ariaValuetext && (
|
|
597
|
+
return t.props.ariaValuetext && (m["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(g)), t.props.renderThumb(m, g);
|
|
598
598
|
}, t.renderTrack = (a, l, u) => {
|
|
599
|
-
const
|
|
600
|
-
return t.props.renderTrack(
|
|
599
|
+
const m = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(l, t.state.upperBound - u) }, g = { index: a, value: ce(t.state.value) };
|
|
600
|
+
return t.props.renderTrack(m, g);
|
|
601
601
|
};
|
|
602
602
|
let r = _e(i.value);
|
|
603
603
|
r.length || (r = _e(i.defaultValue)), t.pendingResizeTimeouts = [];
|
|
@@ -628,8 +628,8 @@ let Fe = function(n) {
|
|
|
628
628
|
let t = Number.MAX_VALUE, r = -1;
|
|
629
629
|
const { value: c } = this.state, a = c.length;
|
|
630
630
|
for (let l = 0; l < a; l += 1) {
|
|
631
|
-
const u = this.calcOffset(c[l]),
|
|
632
|
-
|
|
631
|
+
const u = this.calcOffset(c[l]), m = Math.abs(i - u);
|
|
632
|
+
m < t && (t = m, r = l);
|
|
633
633
|
}
|
|
634
634
|
return r;
|
|
635
635
|
}, o.getMousePosition = function(i) {
|
|
@@ -652,8 +652,8 @@ let Fe = function(n) {
|
|
|
652
652
|
}, o.resize = function() {
|
|
653
653
|
const { slider: i, thumb0: t } = this;
|
|
654
654
|
if (!i || !t) return;
|
|
655
|
-
const r = this.sizeKey(), c = i.getBoundingClientRect(), a = i[r], l = c[this.posMaxKey()], u = c[this.posMinKey()],
|
|
656
|
-
this.state.upperBound === g && this.state.sliderLength === y && this.state.thumbSize ===
|
|
655
|
+
const r = this.sizeKey(), c = i.getBoundingClientRect(), a = i[r], l = c[this.posMaxKey()], u = c[this.posMinKey()], m = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], g = a - m, y = Math.abs(l - u);
|
|
656
|
+
this.state.upperBound === g && this.state.sliderLength === y && this.state.thumbSize === m || this.setState({ upperBound: g, sliderLength: y, thumbSize: m });
|
|
657
657
|
}, o.calcOffset = function(i) {
|
|
658
658
|
const t = this.props.max - this.props.min;
|
|
659
659
|
return t === 0 ? 0 : (i - this.props.min) / t * this.state.upperBound;
|
|
@@ -692,7 +692,7 @@ let Fe = function(n) {
|
|
|
692
692
|
const t = this.state.value.slice(), { index: r } = this.state, { length: c } = t, a = t[r];
|
|
693
693
|
if (i === a) return;
|
|
694
694
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
695
|
-
const { pearling: l, max: u, min:
|
|
695
|
+
const { pearling: l, max: u, min: m, minDistance: g } = this.props;
|
|
696
696
|
if (!l) {
|
|
697
697
|
if (r > 0) {
|
|
698
698
|
const y = t[r - 1];
|
|
@@ -713,7 +713,7 @@ let Fe = function(n) {
|
|
|
713
713
|
const b = _ + p * f;
|
|
714
714
|
C[p] < b && (C[p] = b);
|
|
715
715
|
}
|
|
716
|
-
}(c, t, g,
|
|
716
|
+
}(c, t, g, m))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
717
717
|
}, o.pushSucceeding = function(i, t, r) {
|
|
718
718
|
let c, a;
|
|
719
719
|
for (c = r, a = i[c] + t; i[c + 1] !== null && a > i[c + 1]; c += 1, a = i[c] + t) i[c + 1] = Le(a, this.props);
|
|
@@ -786,12 +786,12 @@ const F2 = "_container_15vgv_2", D2 = "_unitLabel_15vgv_9", T2 = "_slider_15vgv_
|
|
|
786
786
|
fontColor: c = "#605B56",
|
|
787
787
|
defaultValue: a
|
|
788
788
|
}) => {
|
|
789
|
-
const { t: l } = k(), [u,
|
|
790
|
-
|
|
789
|
+
const { t: l } = k(), [u, m] = S([n, d]), g = (y) => {
|
|
790
|
+
m(y), i == null || i({ min: y[0], max: y[1] });
|
|
791
791
|
};
|
|
792
792
|
return T(() => {
|
|
793
|
-
a ||
|
|
794
|
-
}, [a]), /* @__PURE__ */
|
|
793
|
+
a || m([n, d]);
|
|
794
|
+
}, [a]), /* @__PURE__ */ h(
|
|
795
795
|
"div",
|
|
796
796
|
{
|
|
797
797
|
className: Q.container,
|
|
@@ -814,7 +814,7 @@ const F2 = "_container_15vgv_2", D2 = "_unitLabel_15vgv_9", T2 = "_slider_15vgv_
|
|
|
814
814
|
minDistance: 0.1
|
|
815
815
|
}
|
|
816
816
|
),
|
|
817
|
-
/* @__PURE__ */
|
|
817
|
+
/* @__PURE__ */ h("div", { className: Q.labels, children: [
|
|
818
818
|
/* @__PURE__ */ s("span", { children: u[0] }),
|
|
819
819
|
/* @__PURE__ */ s("span", { children: u[1] })
|
|
820
820
|
] })
|
|
@@ -851,7 +851,7 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
|
|
|
851
851
|
minValue: a,
|
|
852
852
|
maxValue: l,
|
|
853
853
|
unit: u,
|
|
854
|
-
step:
|
|
854
|
+
step: m
|
|
855
855
|
} = n || {}, g = he(
|
|
856
856
|
() => t == "cat" || o == "cat",
|
|
857
857
|
[o, t]
|
|
@@ -931,7 +931,7 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
|
|
|
931
931
|
w.type === "cat" ? x[w.code] = new Set(w.values) : x[w.code] = [w.min, w.max];
|
|
932
932
|
return console.log("mapfilterSelected", x), x;
|
|
933
933
|
}, [C]);
|
|
934
|
-
return /* @__PURE__ */ s("div", { className: ue.tematicalFiltersInputContainer, children: /* @__PURE__ */
|
|
934
|
+
return /* @__PURE__ */ s("div", { className: ue.tematicalFiltersInputContainer, children: /* @__PURE__ */ h(
|
|
935
935
|
W,
|
|
936
936
|
{
|
|
937
937
|
titleFontStyles: { fontSize: 16, fontWeight: 400 },
|
|
@@ -947,13 +947,13 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
|
|
|
947
947
|
color: _,
|
|
948
948
|
activeColor: d,
|
|
949
949
|
children: [
|
|
950
|
-
t == "both" && /* @__PURE__ */
|
|
950
|
+
t == "both" && /* @__PURE__ */ h(
|
|
951
951
|
"div",
|
|
952
952
|
{
|
|
953
953
|
className: ue.inputTypeContainer,
|
|
954
954
|
style: { color: _ },
|
|
955
955
|
children: [
|
|
956
|
-
/* @__PURE__ */
|
|
956
|
+
/* @__PURE__ */ h("label", { children: [
|
|
957
957
|
/* @__PURE__ */ s(
|
|
958
958
|
"input",
|
|
959
959
|
{
|
|
@@ -972,7 +972,7 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
|
|
|
972
972
|
),
|
|
973
973
|
"Absoluto"
|
|
974
974
|
] }),
|
|
975
|
-
/* @__PURE__ */
|
|
975
|
+
/* @__PURE__ */ h("label", { children: [
|
|
976
976
|
/* @__PURE__ */ s(
|
|
977
977
|
"input",
|
|
978
978
|
{
|
|
@@ -1014,7 +1014,7 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
|
|
|
1014
1014
|
max: l,
|
|
1015
1015
|
unit: u,
|
|
1016
1016
|
defaultValue: v[n.code[0]] ? v[n.code[0]] : "",
|
|
1017
|
-
step:
|
|
1017
|
+
step: m
|
|
1018
1018
|
}
|
|
1019
1019
|
) })
|
|
1020
1020
|
]
|
|
@@ -1193,7 +1193,7 @@ const P2 = "_FiltersAmbitContainer_1g9xx_2", q2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1193
1193
|
onChangeAppliedFilters: a,
|
|
1194
1194
|
saveAmbit: l,
|
|
1195
1195
|
namePlaceholder: u,
|
|
1196
|
-
descPlaceholder:
|
|
1196
|
+
descPlaceholder: m,
|
|
1197
1197
|
filtersTypes: g = ["geographical", "tematical"],
|
|
1198
1198
|
nameRequiredText: y,
|
|
1199
1199
|
onlyFilters: C = !1
|
|
@@ -1210,8 +1210,8 @@ const P2 = "_FiltersAmbitContainer_1g9xx_2", q2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1210
1210
|
const L = () => {
|
|
1211
1211
|
p ? l({ name: p, description: v }) : N(!0);
|
|
1212
1212
|
};
|
|
1213
|
-
return /* @__PURE__ */
|
|
1214
|
-
!C && /* @__PURE__ */
|
|
1213
|
+
return /* @__PURE__ */ h("div", { className: J.FiltersAmbitContainer, children: [
|
|
1214
|
+
!C && /* @__PURE__ */ h("div", { className: J.FiltersAmbitHeader, children: [
|
|
1215
1215
|
/* @__PURE__ */ s("div", { className: J.FiltersAmbitTitle, children: /* @__PURE__ */ s(
|
|
1216
1216
|
"input",
|
|
1217
1217
|
{
|
|
@@ -1228,7 +1228,7 @@ const P2 = "_FiltersAmbitContainer_1g9xx_2", q2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1228
1228
|
{
|
|
1229
1229
|
value: v,
|
|
1230
1230
|
onChange: (F) => x(F.target.value),
|
|
1231
|
-
placeholder: f(
|
|
1231
|
+
placeholder: f(m)
|
|
1232
1232
|
}
|
|
1233
1233
|
) }) })
|
|
1234
1234
|
] }),
|
|
@@ -1286,7 +1286,7 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
|
|
|
1286
1286
|
numberOfDivisions: l = 7,
|
|
1287
1287
|
maxValue: u = null
|
|
1288
1288
|
}) => {
|
|
1289
|
-
const { t:
|
|
1289
|
+
const { t: m } = k(), { xScale: g, ticks: y, height: C } = he(() => {
|
|
1290
1290
|
if (n && n.length > 0) {
|
|
1291
1291
|
const f = (n == null ? void 0 : n.length) * (o + i) + r * 2, _ = Pe.max(n, (v) => v.value) || 1, p = Pe.scaleLinear().domain([0, u || _]).range([0, d - a]), b = Array.from({ length: l + 1 }, (v, x) => u ? u / l * x : _ / l * x);
|
|
1292
1292
|
return {
|
|
@@ -1309,10 +1309,10 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
|
|
|
1309
1309
|
r,
|
|
1310
1310
|
u
|
|
1311
1311
|
]);
|
|
1312
|
-
return /* @__PURE__ */ s("div", { className: G2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + c * 2, height: C, children: /* @__PURE__ */
|
|
1312
|
+
return /* @__PURE__ */ s("div", { className: G2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + c * 2, height: C, children: /* @__PURE__ */ h("g", { transform: `translate(0,${i})`, children: [
|
|
1313
1313
|
/* @__PURE__ */ s("g", { transform: `translate(${a + c}, 0)`, children: y.map((f, _) => {
|
|
1314
1314
|
const p = g(f);
|
|
1315
|
-
return /* @__PURE__ */
|
|
1315
|
+
return /* @__PURE__ */ h("g", { transform: `translate(${p}, 0)`, children: [
|
|
1316
1316
|
/* @__PURE__ */ s(
|
|
1317
1317
|
"line",
|
|
1318
1318
|
{
|
|
@@ -1335,7 +1335,7 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
|
|
|
1335
1335
|
}) }),
|
|
1336
1336
|
n && n.length > 0 && (n == null ? void 0 : n.map((f, _) => {
|
|
1337
1337
|
const p = g(f.value), b = _ * (o + i);
|
|
1338
|
-
return /* @__PURE__ */
|
|
1338
|
+
return /* @__PURE__ */ h(
|
|
1339
1339
|
"g",
|
|
1340
1340
|
{
|
|
1341
1341
|
transform: `translate(${a + c}, ${b})`,
|
|
@@ -1347,7 +1347,7 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
|
|
|
1347
1347
|
y: o / 2 + 5,
|
|
1348
1348
|
textAnchor: "end",
|
|
1349
1349
|
fill: t,
|
|
1350
|
-
children:
|
|
1350
|
+
children: m(f.title)
|
|
1351
1351
|
}
|
|
1352
1352
|
),
|
|
1353
1353
|
/* @__PURE__ */ s(
|
|
@@ -1397,7 +1397,7 @@ const Y2 = "_graphicContainer_c9zrg_2", W2 = "_titleContainer_c9zrg_14", je = {
|
|
|
1397
1397
|
leftPadding: l = 200
|
|
1398
1398
|
}) => {
|
|
1399
1399
|
const { t: u } = k();
|
|
1400
|
-
return /* @__PURE__ */
|
|
1400
|
+
return /* @__PURE__ */ h(
|
|
1401
1401
|
"div",
|
|
1402
1402
|
{
|
|
1403
1403
|
className: je.graphicContainer,
|
|
@@ -1465,16 +1465,16 @@ const J2 = "_indicatorsCategory_1cu33_2", X2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1465
1465
|
multiple: a = !1,
|
|
1466
1466
|
onChangeType: l
|
|
1467
1467
|
}) => {
|
|
1468
|
-
const { t: u } = k(), { name:
|
|
1468
|
+
const { t: u } = k(), { name: m, type: g } = n, [y, C] = S(!1);
|
|
1469
1469
|
T(() => {
|
|
1470
1470
|
t && C(
|
|
1471
1471
|
a ? t.some(
|
|
1472
|
-
(p) => p.name == String(
|
|
1473
|
-
) : t.name ==
|
|
1472
|
+
(p) => p.name == String(m)
|
|
1473
|
+
) : t.name == m
|
|
1474
1474
|
);
|
|
1475
1475
|
}, [t]);
|
|
1476
|
-
const f = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */
|
|
1477
|
-
/* @__PURE__ */
|
|
1476
|
+
const f = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ h("div", { className: M.switchTypeOptions, children: [
|
|
1477
|
+
/* @__PURE__ */ h(
|
|
1478
1478
|
"div",
|
|
1479
1479
|
{
|
|
1480
1480
|
className: M.optionContainer,
|
|
@@ -1503,7 +1503,7 @@ const J2 = "_indicatorsCategory_1cu33_2", X2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1503
1503
|
]
|
|
1504
1504
|
}
|
|
1505
1505
|
),
|
|
1506
|
-
/* @__PURE__ */
|
|
1506
|
+
/* @__PURE__ */ h(
|
|
1507
1507
|
"div",
|
|
1508
1508
|
{
|
|
1509
1509
|
className: M.optionContainer,
|
|
@@ -1532,7 +1532,7 @@ const J2 = "_indicatorsCategory_1cu33_2", X2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1532
1532
|
]
|
|
1533
1533
|
}
|
|
1534
1534
|
)
|
|
1535
|
-
] }) }) }), _ = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ s("div", { className: M.switchTypeOptions, children: d.map((p, b) => /* @__PURE__ */
|
|
1535
|
+
] }) }) }), _ = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ s("div", { className: M.switchTypeOptions, children: d.map((p, b) => /* @__PURE__ */ h(
|
|
1536
1536
|
"div",
|
|
1537
1537
|
{
|
|
1538
1538
|
className: M.optionContainer,
|
|
@@ -1548,8 +1548,8 @@ const J2 = "_indicatorsCategory_1cu33_2", X2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1548
1548
|
},
|
|
1549
1549
|
b
|
|
1550
1550
|
)) }) }) });
|
|
1551
|
-
return /* @__PURE__ */
|
|
1552
|
-
/* @__PURE__ */
|
|
1551
|
+
return /* @__PURE__ */ h("div", { className: M.indicatorContainer, children: [
|
|
1552
|
+
/* @__PURE__ */ h(
|
|
1553
1553
|
"div",
|
|
1554
1554
|
{
|
|
1555
1555
|
className: M.indicatorNameContainer,
|
|
@@ -1569,14 +1569,14 @@ const J2 = "_indicatorsCategory_1cu33_2", X2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1569
1569
|
{
|
|
1570
1570
|
className: M.indicatorName,
|
|
1571
1571
|
style: { color: y ? o : i },
|
|
1572
|
-
children: /* @__PURE__ */ s(Ve, { i18nKey:
|
|
1572
|
+
children: /* @__PURE__ */ s(Ve, { i18nKey: m, components: { sup: /* @__PURE__ */ s("sup", {}) } })
|
|
1573
1573
|
}
|
|
1574
1574
|
)
|
|
1575
1575
|
]
|
|
1576
1576
|
}
|
|
1577
1577
|
),
|
|
1578
|
-
(t == null ? void 0 : t.name) ===
|
|
1579
|
-
(t == null ? void 0 : t.name) ===
|
|
1578
|
+
(t == null ? void 0 : t.name) === m && g === "both" && /* @__PURE__ */ s("div", { children: f() }),
|
|
1579
|
+
(t == null ? void 0 : t.name) === m && g === "twoUnits" && /* @__PURE__ */ s("div", { children: _() })
|
|
1580
1580
|
] });
|
|
1581
1581
|
};
|
|
1582
1582
|
Oe.propTypes = {
|
|
@@ -1605,13 +1605,13 @@ const u0 = "_indicatorsSubCategory_1dzsi_2", p0 = "_list_1dzsi_8", Ze = {
|
|
|
1605
1605
|
activeIndicator: a,
|
|
1606
1606
|
onClickIndicator: l,
|
|
1607
1607
|
multiple: u,
|
|
1608
|
-
activeIndicatorType:
|
|
1608
|
+
activeIndicatorType: m,
|
|
1609
1609
|
onChangeType: g
|
|
1610
1610
|
}) => {
|
|
1611
1611
|
const { t: y } = k(), [C, f] = S(!1);
|
|
1612
1612
|
return T(() => {
|
|
1613
1613
|
f(t == c);
|
|
1614
|
-
}, [t, c]), /* @__PURE__ */
|
|
1614
|
+
}, [t, c]), /* @__PURE__ */ h(
|
|
1615
1615
|
Ae.div,
|
|
1616
1616
|
{
|
|
1617
1617
|
className: Ze.indicatorsSubCategory,
|
|
@@ -1619,7 +1619,7 @@ const u0 = "_indicatorsSubCategory_1dzsi_2", p0 = "_list_1dzsi_8", Ze = {
|
|
|
1619
1619
|
animate: { height: C ? "auto" : "43px" },
|
|
1620
1620
|
transition: { duration: 0.4 },
|
|
1621
1621
|
children: [
|
|
1622
|
-
/* @__PURE__ */ s("button", { onClick: () => r(c), children: /* @__PURE__ */
|
|
1622
|
+
/* @__PURE__ */ s("button", { onClick: () => r(c), children: /* @__PURE__ */ h("h3", { style: { color: C ? i : o }, children: [
|
|
1623
1623
|
/* @__PURE__ */ s("span", { style: { color: C ? i : o }, children: C ? "-" : "+" }),
|
|
1624
1624
|
/* @__PURE__ */ s(
|
|
1625
1625
|
"span",
|
|
@@ -1638,7 +1638,7 @@ const u0 = "_indicatorsSubCategory_1dzsi_2", p0 = "_list_1dzsi_8", Ze = {
|
|
|
1638
1638
|
activeIndicator: a,
|
|
1639
1639
|
onClickIndicator: l,
|
|
1640
1640
|
multiple: u,
|
|
1641
|
-
activeIndicatorType:
|
|
1641
|
+
activeIndicatorType: m,
|
|
1642
1642
|
onChangeType: g
|
|
1643
1643
|
},
|
|
1644
1644
|
"indicator" + p
|
|
@@ -1670,7 +1670,7 @@ const dt = ({
|
|
|
1670
1670
|
onClickSubCategory: a,
|
|
1671
1671
|
activeIndicator: l,
|
|
1672
1672
|
onClickIndicator: u,
|
|
1673
|
-
multiple:
|
|
1673
|
+
multiple: m,
|
|
1674
1674
|
activeIndicatorType: g,
|
|
1675
1675
|
onChangeType: y
|
|
1676
1676
|
}) => {
|
|
@@ -1678,7 +1678,7 @@ const dt = ({
|
|
|
1678
1678
|
const { t: C } = k(), [f, _] = S(!1);
|
|
1679
1679
|
return T(() => {
|
|
1680
1680
|
_(r === d);
|
|
1681
|
-
}, [r, d]), /* @__PURE__ */
|
|
1681
|
+
}, [r, d]), /* @__PURE__ */ h(
|
|
1682
1682
|
Ae.div,
|
|
1683
1683
|
{
|
|
1684
1684
|
className: ve.indicatorsCategory,
|
|
@@ -1691,7 +1691,7 @@ const dt = ({
|
|
|
1691
1691
|
marginBottom: f ? "20px" : "0px"
|
|
1692
1692
|
},
|
|
1693
1693
|
children: [
|
|
1694
|
-
/* @__PURE__ */
|
|
1694
|
+
/* @__PURE__ */ h("h2", { className: `${ve.title}`, onClick: () => t(d), children: [
|
|
1695
1695
|
/* @__PURE__ */ s("span", { style: { color: f ? o : i }, children: f ? "-" : "+" }),
|
|
1696
1696
|
/* @__PURE__ */ s(
|
|
1697
1697
|
"span",
|
|
@@ -1711,7 +1711,7 @@ const dt = ({
|
|
|
1711
1711
|
onClickSubCategory: a,
|
|
1712
1712
|
activeIndicator: l,
|
|
1713
1713
|
onClickIndicator: u,
|
|
1714
|
-
multiple:
|
|
1714
|
+
multiple: m,
|
|
1715
1715
|
activeColor: o,
|
|
1716
1716
|
defaultColor: i,
|
|
1717
1717
|
indicators: x,
|
|
@@ -1729,7 +1729,7 @@ const dt = ({
|
|
|
1729
1729
|
defaultColor: i,
|
|
1730
1730
|
activeIndicator: l,
|
|
1731
1731
|
onClickIndicator: u,
|
|
1732
|
-
multiple:
|
|
1732
|
+
multiple: m,
|
|
1733
1733
|
activeIndicatorType: g,
|
|
1734
1734
|
onChangeType: y
|
|
1735
1735
|
},
|
|
@@ -1770,8 +1770,8 @@ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", He = {
|
|
|
1770
1770
|
changeIndType: c,
|
|
1771
1771
|
activeIndicatorType: a
|
|
1772
1772
|
}) => {
|
|
1773
|
-
const { t: l } = k(), [u,
|
|
1774
|
-
|
|
1773
|
+
const { t: l } = k(), [u, m] = S(), [g, y] = S(), [C, f] = S(), _ = (w) => {
|
|
1774
|
+
m(u == w ? null : w);
|
|
1775
1775
|
}, p = (w) => {
|
|
1776
1776
|
y(g == w ? null : w);
|
|
1777
1777
|
}, b = ({ indicator: w }) => {
|
|
@@ -1813,9 +1813,9 @@ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", He = {
|
|
|
1813
1813
|
} else
|
|
1814
1814
|
return L.indicators.some((F) => F.name == w);
|
|
1815
1815
|
});
|
|
1816
|
-
N &&
|
|
1816
|
+
N && m(N.category);
|
|
1817
1817
|
};
|
|
1818
|
-
return /* @__PURE__ */
|
|
1818
|
+
return /* @__PURE__ */ h("div", { className: He.indicatorsList, children: [
|
|
1819
1819
|
/* @__PURE__ */ s("h2", { className: He.title, style: { color: o }, children: l("indicators.indicators") }),
|
|
1820
1820
|
n.map((w, N) => /* @__PURE__ */ s(
|
|
1821
1821
|
dt,
|
|
@@ -1860,8 +1860,8 @@ const C0 = "_langSelector_o9enq_2", f0 = "_currentLang_o9enq_14", b0 = "_arrow_o
|
|
|
1860
1860
|
const [i, t] = S(!1), { i18n: r } = k(), c = n.find((l) => l.code == r.language), a = (l) => {
|
|
1861
1861
|
r.changeLanguage(l), t(!1);
|
|
1862
1862
|
};
|
|
1863
|
-
return /* @__PURE__ */
|
|
1864
|
-
/* @__PURE__ */
|
|
1863
|
+
return /* @__PURE__ */ h("div", { className: X.langSelector, children: [
|
|
1864
|
+
/* @__PURE__ */ h(
|
|
1865
1865
|
"div",
|
|
1866
1866
|
{
|
|
1867
1867
|
className: X.currentLang,
|
|
@@ -1938,7 +1938,7 @@ const w0 = "_legendContainer_1q5gf_3", x0 = "_closeButton_1q5gf_31", k0 = "_titl
|
|
|
1938
1938
|
onClickClose: l
|
|
1939
1939
|
}) => {
|
|
1940
1940
|
const { t: u } = k();
|
|
1941
|
-
return /* @__PURE__ */
|
|
1941
|
+
return /* @__PURE__ */ h(
|
|
1942
1942
|
"div",
|
|
1943
1943
|
{
|
|
1944
1944
|
style: n ? { ...n } : {},
|
|
@@ -1946,43 +1946,38 @@ const w0 = "_legendContainer_1q5gf_3", x0 = "_closeButton_1q5gf_31", k0 = "_titl
|
|
|
1946
1946
|
children: [
|
|
1947
1947
|
/* @__PURE__ */ s("button", { className: V.closeButton, onClick: l }),
|
|
1948
1948
|
d && /* @__PURE__ */ s("div", { className: V.titleContainer, children: /* @__PURE__ */ s("h2", { children: d }) }),
|
|
1949
|
-
o && o.length > 0 && /* @__PURE__ */ s("div", { className: V.infoContainer, children: /* @__PURE__ */ s("ul", { children: o.map(({ title:
|
|
1950
|
-
/* @__PURE__ */ s("h3", { className: V.title, children: `${
|
|
1951
|
-
/* @__PURE__ */
|
|
1949
|
+
o && o.length > 0 && /* @__PURE__ */ s("div", { className: V.infoContainer, children: /* @__PURE__ */ s("ul", { children: o.map(({ title: m, value: g }) => /* @__PURE__ */ h("li", { children: [
|
|
1950
|
+
/* @__PURE__ */ s("h3", { className: V.title, children: `${m}:` }),
|
|
1951
|
+
/* @__PURE__ */ h("span", { className: V.value, children: [
|
|
1952
1952
|
" ",
|
|
1953
1953
|
g
|
|
1954
1954
|
] })
|
|
1955
1955
|
] }, d)) }) }),
|
|
1956
|
-
/* @__PURE__ */ s("h3", { className: V.titleLegendList, children: t ? /* @__PURE__ */ s(Ve, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) }
|
|
1957
|
-
/* @__PURE__ */ s("div", { className: V.legendListContainer, children: r ? /* @__PURE__ */
|
|
1956
|
+
/* @__PURE__ */ s("h3", { className: V.titleLegendList, children: t ? /* @__PURE__ */ s(Ve, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) } }) : u("mainUse") }),
|
|
1957
|
+
/* @__PURE__ */ s("div", { className: V.legendListContainer, children: r ? /* @__PURE__ */ h("div", { className: V.absoluteValueContainer, children: [
|
|
1958
1958
|
/* @__PURE__ */ s(
|
|
1959
1959
|
"div",
|
|
1960
1960
|
{
|
|
1961
1961
|
className: V.absoluteValueColor,
|
|
1962
1962
|
style: {
|
|
1963
|
-
background: `linear-gradient(to bottom, ${r.maxColor} 0%, ${r.
|
|
1963
|
+
background: `linear-gradient(to bottom, ${r.maxColor} 0%, ${r.minColor} 100%)`
|
|
1964
1964
|
}
|
|
1965
1965
|
}
|
|
1966
1966
|
),
|
|
1967
|
-
/* @__PURE__ */
|
|
1968
|
-
/* @__PURE__ */
|
|
1967
|
+
/* @__PURE__ */ h("div", { className: V.absoluteValueText, children: [
|
|
1968
|
+
/* @__PURE__ */ h("span", { children: [
|
|
1969
1969
|
r.maxValue,
|
|
1970
1970
|
" ",
|
|
1971
1971
|
u(r.unit)
|
|
1972
1972
|
] }),
|
|
1973
|
-
|
|
1974
|
-
r.midValue,
|
|
1975
|
-
" ",
|
|
1976
|
-
u(r.unit)
|
|
1977
|
-
] }),
|
|
1978
|
-
/* @__PURE__ */ m("span", { children: [
|
|
1973
|
+
/* @__PURE__ */ h("span", { children: [
|
|
1979
1974
|
r.minValue,
|
|
1980
1975
|
" ",
|
|
1981
1976
|
u(r.unit)
|
|
1982
1977
|
] })
|
|
1983
1978
|
] })
|
|
1984
1979
|
] }) : i && i.length > 0 && /* @__PURE__ */ s("div", { className: V.gridContainer, children: i.map(
|
|
1985
|
-
({ title:
|
|
1980
|
+
({ title: m, color: g }) => /* @__PURE__ */ h("div", { className: V.elementLegendContainer, children: [
|
|
1986
1981
|
/* @__PURE__ */ s(
|
|
1987
1982
|
"div",
|
|
1988
1983
|
{
|
|
@@ -1990,8 +1985,8 @@ const w0 = "_legendContainer_1q5gf_3", x0 = "_closeButton_1q5gf_31", k0 = "_titl
|
|
|
1990
1985
|
style: { backgroundColor: g }
|
|
1991
1986
|
}
|
|
1992
1987
|
),
|
|
1993
|
-
/* @__PURE__ */
|
|
1994
|
-
u(
|
|
1988
|
+
/* @__PURE__ */ h("div", { className: V.titleLegendElement, children: [
|
|
1989
|
+
u(m),
|
|
1995
1990
|
" "
|
|
1996
1991
|
] })
|
|
1997
1992
|
] }, d)
|
|
@@ -2054,7 +2049,7 @@ const P0 = ({
|
|
|
2054
2049
|
interactiveLayers: a = [],
|
|
2055
2050
|
popUp: l = !1,
|
|
2056
2051
|
sources: u = [],
|
|
2057
|
-
layers:
|
|
2052
|
+
layers: m = []
|
|
2058
2053
|
}) => {
|
|
2059
2054
|
const g = $e(), [y, C] = S(null), f = wt((_) => _.mapState.showTexts);
|
|
2060
2055
|
return T(() => {
|
|
@@ -2064,7 +2059,7 @@ const P0 = ({
|
|
|
2064
2059
|
b.type == "symbol" && b.id != "professionals" && (f ? _.setLayoutProperty(b.id, "visibility", "visible") : _.setLayoutProperty(b.id, "visibility", "none"));
|
|
2065
2060
|
});
|
|
2066
2061
|
}
|
|
2067
|
-
}, [f]), /* @__PURE__ */ s("div", { className: `${E0.mapContainer}`, style: r, children: /* @__PURE__ */
|
|
2062
|
+
}, [f]), /* @__PURE__ */ s("div", { className: `${E0.mapContainer}`, style: r, children: /* @__PURE__ */ h(
|
|
2068
2063
|
kt,
|
|
2069
2064
|
{
|
|
2070
2065
|
initialViewState: n,
|
|
@@ -2080,7 +2075,7 @@ const P0 = ({
|
|
|
2080
2075
|
Nt,
|
|
2081
2076
|
{
|
|
2082
2077
|
..._,
|
|
2083
|
-
children:
|
|
2078
|
+
children: m.length && m.map((b, v) => {
|
|
2084
2079
|
if (b.sourceId == _.id) return /* @__PURE__ */ s(
|
|
2085
2080
|
Bt,
|
|
2086
2081
|
{
|
|
@@ -2160,12 +2155,12 @@ const q0 = "_mapContainer_b0pyr_3", z0 = {
|
|
|
2160
2155
|
title: Z0
|
|
2161
2156
|
}, H0 = ({ props: n }) => {
|
|
2162
2157
|
const { t: d } = k();
|
|
2163
|
-
return /* @__PURE__ */ s("div", { className: Ue.FeaturePopUp, children: n.map((o) => /* @__PURE__ */
|
|
2164
|
-
/* @__PURE__ */
|
|
2165
|
-
/* @__PURE__ */ s(Ve, { i18nKey: o.name, components: { sup: /* @__PURE__ */ s("sup", {}) }
|
|
2158
|
+
return /* @__PURE__ */ s("div", { className: Ue.FeaturePopUp, children: n.map((o) => /* @__PURE__ */ h("p", { children: [
|
|
2159
|
+
/* @__PURE__ */ h("span", { className: Ue.title, children: [
|
|
2160
|
+
/* @__PURE__ */ s(Ve, { i18nKey: o.name, components: { sup: /* @__PURE__ */ s("sup", {}) } }),
|
|
2166
2161
|
":"
|
|
2167
2162
|
] }),
|
|
2168
|
-
isNaN(o.value) ? /* @__PURE__ */ s(Se, { children: d(o.value) }) : /* @__PURE__ */
|
|
2163
|
+
isNaN(o.value) ? /* @__PURE__ */ s(Se, { children: d(o.value) }) : /* @__PURE__ */ h(Se, { children: [
|
|
2169
2164
|
o.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
2170
2165
|
" ",
|
|
2171
2166
|
d(o.unit)
|
|
@@ -2182,12 +2177,12 @@ const q0 = "_mapContainer_b0pyr_3", z0 = {
|
|
|
2182
2177
|
interactiveLayers: a = [],
|
|
2183
2178
|
sources: l = [],
|
|
2184
2179
|
layers: u = [],
|
|
2185
|
-
filters:
|
|
2180
|
+
filters: m,
|
|
2186
2181
|
popUpParams: g,
|
|
2187
2182
|
onClosePopUp: y,
|
|
2188
2183
|
showTexts: C
|
|
2189
2184
|
}) => {
|
|
2190
|
-
console.log(
|
|
2185
|
+
console.log(m);
|
|
2191
2186
|
const f = $e();
|
|
2192
2187
|
return T(() => {
|
|
2193
2188
|
if (f.current) {
|
|
@@ -2201,7 +2196,7 @@ const q0 = "_mapContainer_b0pyr_3", z0 = {
|
|
|
2201
2196
|
return fe.addProtocol("pmtiles", _.tile), () => {
|
|
2202
2197
|
fe.removeProtocol("pmtiles");
|
|
2203
2198
|
};
|
|
2204
|
-
}, []), /* @__PURE__ */ s("div", { className: `${z0.mapContainer}`, style: r && r, children: /* @__PURE__ */
|
|
2199
|
+
}, []), /* @__PURE__ */ s("div", { className: `${z0.mapContainer}`, style: r && r, children: /* @__PURE__ */ h(
|
|
2205
2200
|
Ft,
|
|
2206
2201
|
{
|
|
2207
2202
|
mapLib: fe,
|
|
@@ -2224,7 +2219,7 @@ const q0 = "_mapContainer_b0pyr_3", z0 = {
|
|
|
2224
2219
|
{
|
|
2225
2220
|
...b.layer,
|
|
2226
2221
|
beforeId: t,
|
|
2227
|
-
filter:
|
|
2222
|
+
filter: m && m
|
|
2228
2223
|
},
|
|
2229
2224
|
v
|
|
2230
2225
|
);
|
|
@@ -2305,10 +2300,10 @@ const U0 = "_sectionBar_1egwc_2", G0 = "_leftContent_1egwc_14", Y0 = "_textConta
|
|
|
2305
2300
|
width: r
|
|
2306
2301
|
}) => {
|
|
2307
2302
|
const { t: c } = k();
|
|
2308
|
-
return /* @__PURE__ */
|
|
2309
|
-
/* @__PURE__ */
|
|
2303
|
+
return /* @__PURE__ */ h("div", { className: K.sectionBar, style: { width: r && r }, children: [
|
|
2304
|
+
/* @__PURE__ */ h("div", { className: K.leftContent, children: [
|
|
2310
2305
|
n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: K.icon }),
|
|
2311
|
-
/* @__PURE__ */
|
|
2306
|
+
/* @__PURE__ */ h("div", { className: K.textContainer, children: [
|
|
2312
2307
|
/* @__PURE__ */ s("div", { className: K.title, children: c(d) }),
|
|
2313
2308
|
o && /* @__PURE__ */ s("div", { className: K.subtitle, children: o })
|
|
2314
2309
|
] })
|
|
@@ -2349,7 +2344,7 @@ const U0 = "_sectionBar_1egwc_2", G0 = "_leftContent_1egwc_14", Y0 = "_textConta
|
|
|
2349
2344
|
}, an = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: i = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
|
|
2350
2345
|
const [c, a] = S(d), l = xt(), u = (b, v) => {
|
|
2351
2346
|
a(v), l(we(v - 2e3));
|
|
2352
|
-
}, [
|
|
2347
|
+
}, [m, g] = S(!1), y = () => {
|
|
2353
2348
|
g(!0);
|
|
2354
2349
|
}, C = () => {
|
|
2355
2350
|
g(!1);
|
|
@@ -2368,7 +2363,7 @@ const U0 = "_sectionBar_1egwc_2", G0 = "_leftContent_1egwc_14", Y0 = "_textConta
|
|
|
2368
2363
|
}
|
|
2369
2364
|
}, [v]);
|
|
2370
2365
|
})(() => {
|
|
2371
|
-
|
|
2366
|
+
m && (c != 2050 ? (a(c + 1), l(we(c - 2e3 + 1))) : (a(2025), l(we(25))));
|
|
2372
2367
|
}, 1e3);
|
|
2373
2368
|
const _ = Ot({
|
|
2374
2369
|
palette: {
|
|
@@ -2398,7 +2393,7 @@ const U0 = "_sectionBar_1egwc_2", G0 = "_leftContent_1egwc_14", Y0 = "_textConta
|
|
|
2398
2393
|
{ label: "", value: 2041 },
|
|
2399
2394
|
{ label: "", value: 2050 }
|
|
2400
2395
|
];
|
|
2401
|
-
return /* @__PURE__ */ s(Et, { theme: _, children: /* @__PURE__ */
|
|
2396
|
+
return /* @__PURE__ */ s(Et, { theme: _, children: /* @__PURE__ */ h(
|
|
2402
2397
|
Rt,
|
|
2403
2398
|
{
|
|
2404
2399
|
sx: { width: 400 },
|
|
@@ -2422,8 +2417,8 @@ const U0 = "_sectionBar_1egwc_2", G0 = "_leftContent_1egwc_14", Y0 = "_textConta
|
|
|
2422
2417
|
}
|
|
2423
2418
|
),
|
|
2424
2419
|
i,
|
|
2425
|
-
!
|
|
2426
|
-
|
|
2420
|
+
!m && /* @__PURE__ */ s("button", { className: ie.playButton, onClick: y, children: /* @__PURE__ */ s("img", { src: en, alt: "Play" }) }),
|
|
2421
|
+
m && /* @__PURE__ */ s("button", { className: ie.playButton, onClick: C, children: /* @__PURE__ */ s("img", { src: tn, alt: "Pause" }) })
|
|
2427
2422
|
]
|
|
2428
2423
|
}
|
|
2429
2424
|
) });
|
|
@@ -2562,15 +2557,15 @@ const On = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2562
2557
|
processTooltip: l,
|
|
2563
2558
|
defaultTooltip: u
|
|
2564
2559
|
}) => {
|
|
2565
|
-
const { nom:
|
|
2566
|
-
return /* @__PURE__ */
|
|
2560
|
+
const { nom: m, created_at: g, id: y, isBeingProcessed: C } = n, [f, _] = S(!1), { t: p } = k();
|
|
2561
|
+
return /* @__PURE__ */ h(
|
|
2567
2562
|
"div",
|
|
2568
2563
|
{
|
|
2569
2564
|
className: O.listElement,
|
|
2570
2565
|
style: { borderBottom: `1px solid ${t}` },
|
|
2571
2566
|
children: [
|
|
2572
|
-
/* @__PURE__ */
|
|
2573
|
-
c.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */
|
|
2567
|
+
/* @__PURE__ */ h("div", { className: O.elementNameDate, onClick: () => d(y), children: [
|
|
2568
|
+
c.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */ h("div", { className: O.elementName, children: [
|
|
2574
2569
|
o ? /* @__PURE__ */ s(In, { style: { color: i, marginRight: 9 } }) : /* @__PURE__ */ s(
|
|
2575
2570
|
"img",
|
|
2576
2571
|
{
|
|
@@ -2578,37 +2573,37 @@ const On = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2578
2573
|
src: On
|
|
2579
2574
|
}
|
|
2580
2575
|
),
|
|
2581
|
-
/* @__PURE__ */ s("span", { style: { color: o ? i : t }, children:
|
|
2576
|
+
/* @__PURE__ */ s("span", { style: { color: o ? i : t }, children: m })
|
|
2582
2577
|
] }) }),
|
|
2583
2578
|
c.data && /* @__PURE__ */ s("div", { className: O.elementDate, children: g ? new Date(g).toLocaleDateString() : "" }),
|
|
2584
2579
|
c.ambit && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.ambit }),
|
|
2585
2580
|
c.escenari && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.escenari })
|
|
2586
2581
|
] }),
|
|
2587
|
-
/* @__PURE__ */
|
|
2588
|
-
n.processing && /* @__PURE__ */
|
|
2582
|
+
/* @__PURE__ */ h("div", { className: O.elementButtons, children: [
|
|
2583
|
+
n.processing && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2589
2584
|
/* @__PURE__ */ s("img", { src: Vn }),
|
|
2590
2585
|
/* @__PURE__ */ s(Y, { text: l, position: "left" })
|
|
2591
2586
|
] }),
|
|
2592
|
-
a.filter && !n.is_default && /* @__PURE__ */
|
|
2587
|
+
a.filter && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2593
2588
|
/* @__PURE__ */ s("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ s("img", { src: $n }) }),
|
|
2594
2589
|
/* @__PURE__ */ s(Y, { text: a.filter.tooltiptext, position: "left" })
|
|
2595
2590
|
] }),
|
|
2596
|
-
a.copy && /* @__PURE__ */
|
|
2591
|
+
a.copy && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2597
2592
|
/* @__PURE__ */ s("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ s("img", { src: Tn }) }),
|
|
2598
2593
|
/* @__PURE__ */ s(Y, { text: a.copy.tooltiptext, position: "left" })
|
|
2599
2594
|
] }),
|
|
2600
|
-
a.trash && !n.is_default && /* @__PURE__ */
|
|
2595
|
+
a.trash && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2601
2596
|
/* @__PURE__ */ s("button", { onClick: () => a.trash.onclick(n), children: /* @__PURE__ */ s("img", { src: Dn }) }),
|
|
2602
2597
|
/* @__PURE__ */ s(Y, { text: a.trash.tooltiptext, position: "left" })
|
|
2603
2598
|
] }),
|
|
2604
|
-
n.is_default && /* @__PURE__ */
|
|
2599
|
+
n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2605
2600
|
/* @__PURE__ */ s("img", { src: An }),
|
|
2606
2601
|
/* @__PURE__ */ s(Y, { text: u, position: "left" })
|
|
2607
2602
|
] })
|
|
2608
2603
|
] }),
|
|
2609
2604
|
r && /* @__PURE__ */ s("div", { className: O.break }),
|
|
2610
|
-
r && /* @__PURE__ */
|
|
2611
|
-
/* @__PURE__ */
|
|
2605
|
+
r && /* @__PURE__ */ h("div", { className: O.moreInfoContainer, children: [
|
|
2606
|
+
/* @__PURE__ */ h("div", { className: O.moreInfo, onClick: () => _(!f), children: [
|
|
2612
2607
|
/* @__PURE__ */ s("span", { children: f ? "-" : "+" }),
|
|
2613
2608
|
p(r.label)
|
|
2614
2609
|
] }),
|
|
@@ -2667,7 +2662,7 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2667
2662
|
// {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
2668
2663
|
elementButtons: u,
|
|
2669
2664
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
2670
|
-
moreInfo:
|
|
2665
|
+
moreInfo: m = !1,
|
|
2671
2666
|
//{label: 'x'}
|
|
2672
2667
|
processTooltip: g,
|
|
2673
2668
|
//texto para el tooltip del simbolo "En proceso"
|
|
@@ -2684,24 +2679,24 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2684
2679
|
v.sort((x, w) => x[b].localeCompare(w[b])), _(v);
|
|
2685
2680
|
}
|
|
2686
2681
|
};
|
|
2687
|
-
return /* @__PURE__ */
|
|
2682
|
+
return /* @__PURE__ */ h(
|
|
2688
2683
|
"div",
|
|
2689
2684
|
{
|
|
2690
2685
|
className: q.elementSelector,
|
|
2691
2686
|
style: { color: o, ...r },
|
|
2692
2687
|
children: [
|
|
2693
|
-
/* @__PURE__ */
|
|
2688
|
+
/* @__PURE__ */ h(
|
|
2694
2689
|
"div",
|
|
2695
2690
|
{
|
|
2696
2691
|
className: q.header,
|
|
2697
2692
|
style: { borderBottom: `1px solid ${o}` },
|
|
2698
2693
|
children: [
|
|
2699
|
-
/* @__PURE__ */
|
|
2700
|
-
l.nom && /* @__PURE__ */ s("div", { className: q.elementName, children: /* @__PURE__ */
|
|
2694
|
+
/* @__PURE__ */ h("div", { className: q.nameDateContainer, children: [
|
|
2695
|
+
l.nom && /* @__PURE__ */ s("div", { className: q.elementName, children: /* @__PURE__ */ h("button", { onClick: () => p("name"), children: [
|
|
2701
2696
|
/* @__PURE__ */ s("span", { children: C(l.nom) }),
|
|
2702
2697
|
/* @__PURE__ */ s("img", { src: Ye })
|
|
2703
2698
|
] }) }),
|
|
2704
|
-
l.data && /* @__PURE__ */ s("div", { className: q.elementDate, children: /* @__PURE__ */
|
|
2699
|
+
l.data && /* @__PURE__ */ s("div", { className: q.elementDate, children: /* @__PURE__ */ h("button", { onClick: () => p("date"), children: [
|
|
2705
2700
|
/* @__PURE__ */ s("span", { children: C(l.data) }),
|
|
2706
2701
|
/* @__PURE__ */ s("img", { src: Ye })
|
|
2707
2702
|
] }) }),
|
|
@@ -2722,7 +2717,7 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2722
2717
|
onClickElement: a,
|
|
2723
2718
|
columns: l,
|
|
2724
2719
|
elementButtons: u,
|
|
2725
|
-
moreInfo:
|
|
2720
|
+
moreInfo: m,
|
|
2726
2721
|
processTooltip: g,
|
|
2727
2722
|
defaultTooltip: y
|
|
2728
2723
|
},
|
|
@@ -2896,7 +2891,7 @@ function i1(n) {
|
|
|
2896
2891
|
values: !0
|
|
2897
2892
|
},
|
|
2898
2893
|
exact: c,
|
|
2899
|
-
callback: (
|
|
2894
|
+
callback: (m) => !r && u(n1(i, o._names, m.values || o._formValues, !1, a.current))
|
|
2900
2895
|
}), [i, o, r, c]), B.useEffect(() => o._removeUnmounted()), l;
|
|
2901
2896
|
}
|
|
2902
2897
|
function o1(n) {
|
|
@@ -2909,7 +2904,7 @@ function o1(n) {
|
|
|
2909
2904
|
control: t,
|
|
2910
2905
|
name: o,
|
|
2911
2906
|
exact: !0
|
|
2912
|
-
}), u = B.useRef(n),
|
|
2907
|
+
}), u = B.useRef(n), m = B.useRef(t.register(o, {
|
|
2913
2908
|
...n.rules,
|
|
2914
2909
|
value: a,
|
|
2915
2910
|
...ke(n.disabled) ? { disabled: n.disabled } : {}
|
|
@@ -2934,13 +2929,13 @@ function o1(n) {
|
|
|
2934
2929
|
enumerable: !0,
|
|
2935
2930
|
get: () => A(l.errors, o)
|
|
2936
2931
|
}
|
|
2937
|
-
}), [l, o]), y = B.useCallback((p) =>
|
|
2932
|
+
}), [l, o]), y = B.useCallback((p) => m.current.onChange({
|
|
2938
2933
|
target: {
|
|
2939
2934
|
value: Un(p),
|
|
2940
2935
|
name: o
|
|
2941
2936
|
},
|
|
2942
2937
|
type: Qe.CHANGE
|
|
2943
|
-
}), [o]), C = B.useCallback(() =>
|
|
2938
|
+
}), [o]), C = B.useCallback(() => m.current.onBlur({
|
|
2944
2939
|
target: {
|
|
2945
2940
|
value: A(t._formValues, o),
|
|
2946
2941
|
name: o
|
|
@@ -3016,7 +3011,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3016
3011
|
validateFunction: a,
|
|
3017
3012
|
placeholder: l,
|
|
3018
3013
|
errorColor: u = "red",
|
|
3019
|
-
width:
|
|
3014
|
+
width: m = 325,
|
|
3020
3015
|
onClickForgotPass: g = () => {
|
|
3021
3016
|
console.log("Click on forgot password");
|
|
3022
3017
|
},
|
|
@@ -3034,16 +3029,16 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3034
3029
|
},
|
|
3035
3030
|
render: ({ field: b, fieldState: v }) => {
|
|
3036
3031
|
var x;
|
|
3037
|
-
return /* @__PURE__ */
|
|
3038
|
-
/* @__PURE__ */
|
|
3032
|
+
return /* @__PURE__ */ h("div", { className: oe.textInputContainer, children: [
|
|
3033
|
+
/* @__PURE__ */ h("h3", { className: oe.labelContainer, children: [
|
|
3039
3034
|
C(t),
|
|
3040
3035
|
" ",
|
|
3041
3036
|
c && /* @__PURE__ */ s("label", { style: { color: v.error ? u : "" }, children: "*" })
|
|
3042
3037
|
] }),
|
|
3043
|
-
/* @__PURE__ */
|
|
3038
|
+
/* @__PURE__ */ h(
|
|
3044
3039
|
"div",
|
|
3045
3040
|
{
|
|
3046
|
-
style: { position: "relative", width:
|
|
3041
|
+
style: { position: "relative", width: m },
|
|
3047
3042
|
className: oe.inputContainer,
|
|
3048
3043
|
children: [
|
|
3049
3044
|
/* @__PURE__ */ s(
|
|
@@ -3102,7 +3097,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3102
3097
|
validateFunction: a,
|
|
3103
3098
|
placeholder: l,
|
|
3104
3099
|
errorColor: u = "red",
|
|
3105
|
-
width:
|
|
3100
|
+
width: m = 325,
|
|
3106
3101
|
options: g = []
|
|
3107
3102
|
} = n, { t: y } = k();
|
|
3108
3103
|
return console.log("placeholder: ", l), /* @__PURE__ */ s(
|
|
@@ -3116,14 +3111,14 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3116
3111
|
},
|
|
3117
3112
|
render: ({ field: C, fieldState: f }) => {
|
|
3118
3113
|
var _;
|
|
3119
|
-
return /* @__PURE__ */
|
|
3120
|
-
/* @__PURE__ */
|
|
3114
|
+
return /* @__PURE__ */ h("div", { className: ee.selectInputContainer, children: [
|
|
3115
|
+
/* @__PURE__ */ h("h3", { className: ee.labelContainer, children: [
|
|
3121
3116
|
y(t),
|
|
3122
3117
|
" ",
|
|
3123
3118
|
c && /* @__PURE__ */ s("label", { style: { color: f.error ? u : "" }, children: "*" })
|
|
3124
3119
|
] }),
|
|
3125
|
-
/* @__PURE__ */
|
|
3126
|
-
/* @__PURE__ */
|
|
3120
|
+
/* @__PURE__ */ h("div", { className: ee.inputContainer, style: { width: m }, children: [
|
|
3121
|
+
/* @__PURE__ */ h(
|
|
3127
3122
|
"select",
|
|
3128
3123
|
{
|
|
3129
3124
|
...C,
|
|
@@ -3184,7 +3179,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3184
3179
|
validateFunction: a,
|
|
3185
3180
|
placeholder: l,
|
|
3186
3181
|
errorColor: u = "red",
|
|
3187
|
-
width:
|
|
3182
|
+
width: m = 325,
|
|
3188
3183
|
options: g = [],
|
|
3189
3184
|
multi: y = !1
|
|
3190
3185
|
} = n, { t: C } = k(), f = ({ options: p, onChange: b, actualValue: v }) => {
|
|
@@ -3209,7 +3204,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3209
3204
|
fieldState: N
|
|
3210
3205
|
}) => {
|
|
3211
3206
|
var L;
|
|
3212
|
-
return /* @__PURE__ */ s("div", { id: o + "id", className: U.radioButtonContainer, children: /* @__PURE__ */
|
|
3207
|
+
return /* @__PURE__ */ s("div", { id: o + "id", className: U.radioButtonContainer, children: /* @__PURE__ */ h("div", { className: U.wholeInputContainer, children: [
|
|
3213
3208
|
t && /* @__PURE__ */ s("div", { className: U.questionContainer, children: /* @__PURE__ */ s(
|
|
3214
3209
|
"h3",
|
|
3215
3210
|
{
|
|
@@ -3218,7 +3213,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3218
3213
|
children: C(t)
|
|
3219
3214
|
}
|
|
3220
3215
|
) }),
|
|
3221
|
-
/* @__PURE__ */
|
|
3216
|
+
/* @__PURE__ */ h("div", { className: U.inputContainer, children: [
|
|
3222
3217
|
g.map(
|
|
3223
3218
|
({
|
|
3224
3219
|
label: F,
|
|
@@ -3227,7 +3222,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3227
3222
|
italicLabel: le
|
|
3228
3223
|
}, E) => {
|
|
3229
3224
|
const R = x && y ? x.isArray && (x == null ? void 0 : x.length) > 0 && x.some((P) => P === z) : x === z;
|
|
3230
|
-
return console.log("isActiveButton: ", R), /* @__PURE__ */
|
|
3225
|
+
return console.log("isActiveButton: ", R), /* @__PURE__ */ h("label", { children: [
|
|
3231
3226
|
/* @__PURE__ */ s(
|
|
3232
3227
|
"input",
|
|
3233
3228
|
{
|
|
@@ -3268,7 +3263,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3268
3263
|
const { inputType: r } = i;
|
|
3269
3264
|
switch (r) {
|
|
3270
3265
|
case pe.text:
|
|
3271
|
-
const { code: c, type: a, label: l, maxLength: u, required:
|
|
3266
|
+
const { code: c, type: a, label: l, maxLength: u, required: m, validateFunction: g } = i;
|
|
3272
3267
|
return /* @__PURE__ */ s(
|
|
3273
3268
|
"div",
|
|
3274
3269
|
{
|
|
@@ -3321,10 +3316,10 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3321
3316
|
submitButtonStyles: a = { width: 325 },
|
|
3322
3317
|
activeCategory: l = null,
|
|
3323
3318
|
// If provided, only the category with this categoryId will be displayed.
|
|
3324
|
-
onSubmit: u = (
|
|
3319
|
+
onSubmit: u = (m) => console.log("Form submitted with data: ", m)
|
|
3325
3320
|
}) => {
|
|
3326
3321
|
const {
|
|
3327
|
-
register:
|
|
3322
|
+
register: m,
|
|
3328
3323
|
handleSubmit: g,
|
|
3329
3324
|
watch: y,
|
|
3330
3325
|
control: C,
|
|
@@ -3336,7 +3331,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3336
3331
|
const { t: _ } = k();
|
|
3337
3332
|
return (
|
|
3338
3333
|
/* "handleSubmit" will validate your inputs before invoking "onSubmit" */
|
|
3339
|
-
/* @__PURE__ */
|
|
3334
|
+
/* @__PURE__ */ h("form", { className: Ne.formContainer, onSubmit: g(u), children: [
|
|
3340
3335
|
/* @__PURE__ */ s("div", { className: Ne.formObjectContainer, children: d && d.map((p, b) => {
|
|
3341
3336
|
const { inputs: v } = p;
|
|
3342
3337
|
return p.category ? o ? /* @__PURE__ */ s(
|
|
@@ -3363,7 +3358,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3363
3358
|
`${p.category}${b}`
|
|
3364
3359
|
)
|
|
3365
3360
|
}
|
|
3366
|
-
) : /* @__PURE__ */
|
|
3361
|
+
) : /* @__PURE__ */ h(
|
|
3367
3362
|
"div",
|
|
3368
3363
|
{
|
|
3369
3364
|
style: {
|
|
@@ -3395,7 +3390,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3395
3390
|
}
|
|
3396
3391
|
) }, `inputKey${b}`);
|
|
3397
3392
|
}) }),
|
|
3398
|
-
/* @__PURE__ */
|
|
3393
|
+
/* @__PURE__ */ h("div", { className: Ne.buttonContainer, children: [
|
|
3399
3394
|
/* @__PURE__ */ s(ge, { containerStyles: a, type: "submit", children: _(c) }),
|
|
3400
3395
|
/* @__PURE__ */ s(Ce, { errorMessage: t, errorColor: r })
|
|
3401
3396
|
] })
|
|
@@ -3417,7 +3412,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3417
3412
|
backgroundColor: c = "#605B56",
|
|
3418
3413
|
isFooter: a = !1
|
|
3419
3414
|
// If true, it will apply footer styles
|
|
3420
|
-
}) => /* @__PURE__ */
|
|
3415
|
+
}) => /* @__PURE__ */ h(
|
|
3421
3416
|
"div",
|
|
3422
3417
|
{
|
|
3423
3418
|
className: G.header,
|
|
@@ -3465,7 +3460,7 @@ const $1 = "_sidebar_pt7g1_2", V1 = "_open_pt7g1_16", A1 = "_content_pt7g1_20",
|
|
|
3465
3460
|
{
|
|
3466
3461
|
className: `${me.sidebar} ${o ? me.open : ""}`,
|
|
3467
3462
|
style: { width: o ? n : 0 },
|
|
3468
|
-
children: o && /* @__PURE__ */
|
|
3463
|
+
children: o && /* @__PURE__ */ h("div", { className: me.content, children: [
|
|
3469
3464
|
/* @__PURE__ */ s("button", { className: me.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src: O1, alt: "Close Sidebar" }) }),
|
|
3470
3465
|
d
|
|
3471
3466
|
] })
|
|
@@ -3483,6 +3478,7 @@ export {
|
|
|
3483
3478
|
_2 as ButtonsList,
|
|
3484
3479
|
W as DropdownList,
|
|
3485
3480
|
ni as EditAmbit,
|
|
3481
|
+
Ce as ErrorMessage,
|
|
3486
3482
|
K2 as FiltersAmbit,
|
|
3487
3483
|
li as Form,
|
|
3488
3484
|
Q2 as Graphic,
|