From 0c4d46fe71901954274521d9c97f4fc62792c57d Mon Sep 17 00:00:00 2001 From: Gutts-n <57202549+Gutts-n@users.noreply.github.com> Date: Mon, 14 Sep 2026 07:40:30 -0300 Subject: [PATCH 1/2] Stop caching locale to localStorage/cookie Co-Authored-By: Claude Sonnet 5 --- ckanext/dataexplorer/fanstatic/js/main.6dcb79ac.chunk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/dataexplorer/fanstatic/js/main.6dcb79ac.chunk.js b/ckanext/dataexplorer/fanstatic/js/main.6dcb79ac.chunk.js index 357c236..7a49ce3 100644 --- a/ckanext/dataexplorer/fanstatic/js/main.6dcb79ac.chunk.js +++ b/ckanext/dataexplorer/fanstatic/js/main.6dcb79ac.chunk.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{119:function(e,a,t){},316:function(e,a){},337:function(e,a,t){e.exports=t(832)},351:function(e){e.exports={"copy share link":"copy share link","copy embed text":"copy embed text","copy API URI":"copy API URI","No share link available":"No share link available","UPDATE CHART":"UPDATE CHART",Next:"Next",Previous:"Previous",Table:"Table",Map:"Map",Chart:"Chart","Total rows":"Total rows","Select chart type, group column (abscissa x-axis) and series (ordinate y-axis) on the right hand side panel.":"Select chart type, group column (abscissa x-axis) and series (ordinate y-axis) on the right hand side panel.","Select geo data column on the right hand side panel.":"Select geo data column on the right hand side panel."}},356:function(e){e.exports={"copy share link":"kopier delingslink","copy embed text":"kopier indlejret tekst","copy API URI":"kopier API URI","No share link available":"Der er ikke noget link tilg\xe6ngeligt","UPDATE CHART":"OPDATER DIAGRAM",Next:"N\xe6ste",Previous:"Tidligere",Table:"Bord",Map:"Kort",Chart:"Diagram","Total rows":"Samlede r\xe6kker"}},361:function(e){e.exports={"copy share link":"Copier lien de partage","copy embed text":"Int\xe9grer code d'int\xe9gration","copy API URI":"Copier API URI","No share link available":"Pas de lien de partage","UPDATE CHART":"Mettre \xe0 jour le graphique",Next:"Suivant",Previous:"Pr\xe9c\xe9dent",Table:"Tableau",Map:"Carte",Chart:"Graphique","Total rows":"Entr\xe9es totales","Select chart type, group column (abscissa x-axis) and series (ordinate y-axis) on the right hand side panel.":"S\xe9lectionner le type de graphe, la colonne de groupement (axe horizontal) et la s\xe9rie (axe vertical) dans le panneau de droite","Select geo data column on the right hand side panel.":"S\xe9lectionner la colonne de type g\xe9ographique dans le panneau de droite"}},366:function(e){e.exports={"copy share link":"copiar link para compartilhar","copy embed text":"copiar c\xf3digo para incorporar","copy API URI":"copiar URI da API","No share link available":"Nenhum link link para compartilhar est\xe1 dispon\xedvel","UPDATE CHART":"ATUALIZAR GR\xc1FICO",Next:"Pr\xf3ximo",Previous:"Anterior",Table:"Tabela",Map:"Mapa",Chart:"Gr\xe1fico","Total rows":"Total de linhas","Select chart type, group column (abscissa x-axis) and series (ordinate y-axis) on the right hand side panel.":"Selecione o tipo de gr\xe1fico, a coluna de agrupamento (eixo x ou abcissa) e s\xe9rie (eixo y ou ordenada) no painel lateral direito.","Select geo data column on the right hand side panel.":"Selecione a coluna de dados geogr\xe1ficos no painel lateral direito."}},440:function(e,a){},441:function(e,a){},516:function(e,a){},518:function(e,a){},550:function(e,a){},551:function(e,a){},735:function(e,a,t){var r={"./geojson.json":295,"./table-schema.json":736,"./topojson.json":296};function n(e){var a=i(e);return t(a)}function i(e){if(!t.o(r,e)){var a=new Error("Cannot find module '"+e+"'");throw a.code="MODULE_NOT_FOUND",a}return r[e]}n.keys=function(){return Object.keys(r)},n.resolve=i,e.exports=n,n.id=735},823:function(e,a){},824:function(e,a){},828:function(e,a){},829:function(e,a){},832:function(e,a,t){"use strict";t.r(a);var r=t(113),n=t(5),i=t.n(n),c=t(26),o=t(58),s=t(59),l=t(10),d=t(1),u=t.n(d),p=t(29),m=t.n(p),g=(t(119),t(112)),f=t(61),v=t(321),h=t(322),b=function(e){var a=k(e);return a.resources&&a.resources.forEach(function(e){delete e.data,delete e._values}),a.views&&a.views.forEach(function(e){e.resources&&e.resources.forEach(function(e){delete e.data,delete e._values})}),a},k=function(e){return JSON.parse(JSON.stringify(e))},w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;switch(a.type){case"DATA_VIEW_CHART_BUILDER_ACTION":var t=k(e);return t=t.map(function(e){return"simple"===e.datapackage.views[0].specType&&(e.datapackage.views[0]=a.payload),e}),Object.assign(k(e),t);case"DATA_VIEW_MAP_BUILDER_ACTION":var r=k(e);return r=r.map(function(e){return"tabularmap"===e.datapackage.views[0].specType&&(e.datapackage.views[0]=a.payload),e}),Object.assign(k(e),r);case"SELECT_TAB":case"FETCH_DATA_BEGIN":case"FETCH_DATA_SUCCESS":case"FETCH_DATA_FAILURE":return a.payload.widgets;default:return e}},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;switch(a.type){case"DATAPACKAGE_LOAD":return a.payload.datapackage;default:return e}},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};switch((arguments.length>1?arguments[1]:void 0).type){case"FILTER_UI_ACTION":default:return e}},E=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0],arguments.length>1&&arguments[1];var e=arguments.length>2?arguments[2]:void 0;try{var a=k(e);delete a.serializedState;var t=b(a.datapackage),r=a.widgets.map(function(e){return e.datapackage=b(e.datapackage),e.loading=!1,e});return JSON.stringify(Object.assign(a,{datapackage:t,widgets:r}))}catch(n){return console.warn(n),{}}},N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;return{widgets:w(e.widgets,a),datapackage:y(e.datapackage,a),datastoreFilters:x(e.datastoreFilters,a),serializedState:E(e.serializedState,a,e)}},T={datastoreFilters:{},datapackage:{},widgets:[],serializedState:{}};function S(e){return Object(f.createStore)(N,Object.assign({},T,e),Object(v.composeWithDevTools)(Object(f.applyMiddleware)(h.a)))}var A=t(323),O=t(329),C=t.n(O),_=t(330),I=function(e){var a,t,r=Object(l.useTranslation)().t,n=e.datapackage.views;return u.a.createElement(C.a,{loaded:!e.loading,style:{position:"relative"}},u.a.createElement("div",null,"simple"!==(t=n[0]).specType||t.spec&&Object.keys(t.spec).length>0?n.map(function(e){return u.a.createElement(_.DataView,{key:Math.random(),datapackage:{views:[e]}})}):(a=n[0].specType,u.a.createElement("div",{className:"dx-guiding-text"},"simple"===a?u.a.createElement("p",null,r("Select chart type, group column (abscissa x-axis) and series (ordinate y-axis) on the right hand side panel.")):"","tabularmap"===a?u.a.createElement("p",null,r("Select geo data column on the right hand side panel.")):""))))},j=["archiver","schema","shareLink","iframeText"],P=function(e){var a=Object(l.useTranslation)().t,t=function(e){if(e.length<=1500)return e;var a=JSON.parse(e);return a.datapackage.resources.forEach(function(e){for(var a in j)e[j[a]]&&delete e[j[a]]}),JSON.stringify(a)}(e.serializedState),r=new URL(window.location.href);r.searchParams.set("explorer",t);var n=r.href,i='